From 8a60100235ee4283e024cb00e1402f8ba7906486 Mon Sep 17 00:00:00 2001 From: nwithan8 Date: Fri, 19 Jan 2024 16:52:15 -0700 Subject: [PATCH 1/8] - Re-record JSON responses for docs --- .../addresses-create-and-verify.json | 24 +- .../responses/addresses/addresses-create.json | 6 +- .../responses/addresses/addresses-list.json | 6 +- .../addresses/addresses-retrieve.json | 6 +- .../addresses/addresses-verify-failure.json | 6 +- .../addresses/addresses-verify-param.json | 6 +- .../addresses-verify-strict-param.json | 6 +- .../responses/addresses/addresses-verify.json | 24 +- .../responses/api-keys/api-keys-retrieve.json | 99 ++-- .../batches/batches-add-shipments.json | 10 +- .../docs/responses/batches/batches-buy.json | 8 +- .../batches/batches-create-and-buy.json | 21 - .../responses/batches/batches-create.json | 6 +- .../docs/responses/batches/batches-label.json | 10 +- .../batches/batches-remove-shipments.json | 6 +- .../responses/batches/batches-retrieve.json | 8 +- .../responses/batches/batches-scan-forms.json | 8 +- .../docs/responses/billing/billing-list.json | 4 +- .../docs/responses/brand/brand-update.json | 6 +- .../carbon-offset/carbon-offset-create.json | 282 ---------- .../carbon-offset-one-call-buy.json | 334 ------------ .../carrier-accounts-create.json | 6 +- .../carrier-accounts-list.json | 77 ++- .../carrier-accounts-retrieve.json | 6 +- .../carrier-accounts-update.json | 6 +- .../child-users/child-users-create.json | 15 +- .../child-users/child-users-list.json | 41 ++ .../customs-infos/customs-infos-create.json | 12 +- .../customs-infos/customs-infos-retrieve.json | 12 +- .../customs-items/customs-items-create.json | 6 +- .../customs-items/customs-items-retrieve.json | 6 +- .../responses/endshipper/endshipper-buy.json | 188 ++++--- .../endshipper/endshipper-create.json | 6 +- .../endshipper/endshipper-retrieve.json | 6 +- .../endshipper/endshipper-update.json | 6 +- .../docs/responses/events/events-list.json | 6 +- .../responses/events/events-retrieve.json | 14 +- .../docs/responses/forms/forms-create.json | 210 ++++--- .../responses/insurance/insurance-create.json | 78 ++- .../responses/insurance/insurance-list.json | 80 ++- .../insurance/insurance-retrieve.json | 80 ++- .../options/options-create-with-options.json | 152 ++++-- .../docs/responses/orders/orders-buy.json | 284 ++++++---- .../docs/responses/orders/orders-create.json | 242 +++++---- .../responses/orders/orders-one-call-buy.json | 320 +++++++---- .../responses/orders/orders-retrieve.json | 182 ++++--- .../responses/parcels/parcels-create.json | 6 +- .../responses/parcels/parcels-retrieve.json | 6 +- .../docs/responses/pickups/pickups-buy.json | 26 +- .../responses/pickups/pickups-cancel.json | 26 +- .../responses/pickups/pickups-create.json | 24 +- .../docs/responses/pickups/pickups-list.json | 252 +-------- .../responses/pickups/pickups-retrieve.json | 24 +- .../responses/rates/rates-regenerate.json | 80 ++- .../rates/rates-retrieve-stateless.json | 199 +++---- .../docs/responses/rates/rates-retrieve.json | 8 +- .../referral-customers-create.json | 15 +- .../referral-customers-refund-by-amount.json | 5 +- ...erral-customers-refund-by-payment-log.json | 5 +- .../responses/refunds/refunds-create.json | 10 +- .../docs/responses/refunds/refunds-list.json | 12 +- .../responses/refunds/refunds-retrieve.json | 10 +- .../responses/reports/reports-create.json | 6 +- .../docs/responses/reports/reports-list.json | 6 +- .../responses/reports/reports-retrieve.json | 6 +- .../responses/returns/returns-create.json | 512 ++++++++++++++++-- .../responses/scan-form/scan-form-create.json | 20 +- .../responses/scan-form/scan-form-list.json | 20 +- .../scan-form/scan-form-retrieve.json | 20 +- .../responses/shipments/shipments-buy.json | 178 +++--- .../responses/shipments/shipments-create.json | 138 +++-- .../responses/shipments/shipments-label.json | 190 ++++--- .../responses/shipments/shipments-list.json | 224 ++++---- .../shipments/shipments-one-call-buy.json | 192 ++++--- .../shipments/shipments-retrieve.json | 142 +++-- .../shipping-insurance-insure.json | 216 +++++--- ...rate-retrieve-estimated-delivery-date.json | 170 +++++- ...e-retrieve-time-in-transit-statistics.json | 342 ++++++++---- .../tax-identifiers-create.json | 146 +++-- .../responses/trackers/trackers-create.json | 31 +- .../responses/trackers/trackers-list.json | 26 +- .../responses/trackers/trackers-retrieve.json | 26 +- .../docs/responses/users/users-retrieve.json | 74 ++- .../docs/responses/users/users-update.json | 74 ++- .../responses/webhooks/webhooks-create.json | 4 +- .../responses/webhooks/webhooks-list.json | 4 +- .../responses/webhooks/webhooks-retrieve.json | 4 +- .../responses/webhooks/webhooks-update.json | 4 +- 88 files changed, 3620 insertions(+), 2790 deletions(-) delete mode 100644 official/docs/responses/batches/batches-create-and-buy.json delete mode 100644 official/docs/responses/carbon-offset/carbon-offset-create.json delete mode 100644 official/docs/responses/carbon-offset/carbon-offset-one-call-buy.json create mode 100644 official/docs/responses/child-users/child-users-list.json diff --git a/official/docs/responses/addresses/addresses-create-and-verify.json b/official/docs/responses/addresses/addresses-create-and-verify.json index 9a7353f8..2b993b71 100644 --- a/official/docs/responses/addresses/addresses-create-and-verify.json +++ b/official/docs/responses/addresses/addresses-create-and-verify.json @@ -1,9 +1,9 @@ { "address": { - "id": "adr_5e891acf4e3f11edb1a1ac1f6bc7bdc6", + "id": "adr_3d733da6b71311ee835b3cecef1b359e", "object": "Address", - "created_at": "2022-10-17T17:15:59+00:00", - "updated_at": "2022-10-17T17:15:59+00:00", + "created_at": "2024-01-19T21:39:35+00:00", + "updated_at": "2024-01-19T21:39:35+00:00", "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", @@ -22,26 +22,12 @@ "verifications": { "zip4": { "success": true, - "errors": [ - { - "code": "E.SECONDARY_INFORMATION.INVALID", - "field": "street2", - "message": "Invalid secondary information(Apt/Suite#)", - "suggestion": null - } - ], + "errors": [], "details": null }, "delivery": { "success": true, - "errors": [ - { - "code": "E.SECONDARY_INFORMATION.INVALID", - "field": "street2", - "message": "Invalid secondary information(Apt/Suite#)", - "suggestion": null - } - ], + "errors": [], "details": { "latitude": 37.79342, "longitude": -122.40288, diff --git a/official/docs/responses/addresses/addresses-create.json b/official/docs/responses/addresses/addresses-create.json index 31499b6e..2e483286 100644 --- a/official/docs/responses/addresses/addresses-create.json +++ b/official/docs/responses/addresses/addresses-create.json @@ -1,8 +1,8 @@ { - "id": "adr_5dacbea44e3f11ed90f5ac1f6bc72124", + "id": "adr_3d3815d8b71311ee83453cecef1b359e", "object": "Address", - "created_at": "2022-10-17T17:15:57+00:00", - "updated_at": "2022-10-17T17:15:57+00:00", + "created_at": "2024-01-19T21:39:35+00:00", + "updated_at": "2024-01-19T21:39:35+00:00", "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", diff --git a/official/docs/responses/addresses/addresses-list.json b/official/docs/responses/addresses/addresses-list.json index c02aa2be..92de84c7 100644 --- a/official/docs/responses/addresses/addresses-list.json +++ b/official/docs/responses/addresses/addresses-list.json @@ -1,10 +1,10 @@ { "addresses": [ { - "id": "adr_6039af864e3f11edae1dac1f6b0a0d1e", + "id": "adr_3e80b02eb71311ee83bf3cecef1b359e", "object": "Address", - "created_at": "2022-10-17T17:16:02+00:00", - "updated_at": "2022-10-17T17:16:02+00:00", + "created_at": "2024-01-19T21:39:37+00:00", + "updated_at": "2024-01-19T21:39:37+00:00", "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", diff --git a/official/docs/responses/addresses/addresses-retrieve.json b/official/docs/responses/addresses/addresses-retrieve.json index 699c2817..e178c0ba 100644 --- a/official/docs/responses/addresses/addresses-retrieve.json +++ b/official/docs/responses/addresses/addresses-retrieve.json @@ -1,8 +1,8 @@ { - "id": "adr_6039af864e3f11edae1dac1f6b0a0d1e", + "id": "adr_3e80b02eb71311ee83bf3cecef1b359e", "object": "Address", - "created_at": "2022-10-17T17:16:02+00:00", - "updated_at": "2022-10-17T17:16:02+00:00", + "created_at": "2024-01-19T21:39:37+00:00", + "updated_at": "2024-01-19T21:39:37+00:00", "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", diff --git a/official/docs/responses/addresses/addresses-verify-failure.json b/official/docs/responses/addresses/addresses-verify-failure.json index 76f70d20..e50f8458 100644 --- a/official/docs/responses/addresses/addresses-verify-failure.json +++ b/official/docs/responses/addresses/addresses-verify-failure.json @@ -1,8 +1,8 @@ { - "id": "adr_20a96bfd554911ed9551ac1f6bc72124", + "id": "adr_3e55b5d3b71311ee83a83cecef1b359e", "object": "Address", - "created_at": "2022-10-26T16:13:28+00:00", - "updated_at": "2022-10-26T16:13:28+00:00", + "created_at": "2024-01-19T21:39:37+00:00", + "updated_at": "2024-01-19T21:39:37+00:00", "name": null, "company": "EasyPost", "street1": "UNDELIVERABLE ST", diff --git a/official/docs/responses/addresses/addresses-verify-param.json b/official/docs/responses/addresses/addresses-verify-param.json index f4e732e6..ef07e4c0 100644 --- a/official/docs/responses/addresses/addresses-verify-param.json +++ b/official/docs/responses/addresses/addresses-verify-param.json @@ -1,8 +1,8 @@ { - "id": "adr_5eed63904e3f11eda352ac1f6bc7b362", + "id": "adr_3d9fe04cb71311ee86a0ac1f6bc539ae", "object": "Address", - "created_at": "2022-10-17T17:16:00+00:00", - "updated_at": "2022-10-17T17:16:00+00:00", + "created_at": "2024-01-19T21:39:36+00:00", + "updated_at": "2024-01-19T21:39:36+00:00", "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", diff --git a/official/docs/responses/addresses/addresses-verify-strict-param.json b/official/docs/responses/addresses/addresses-verify-strict-param.json index ce9846c1..ea16bdd0 100644 --- a/official/docs/responses/addresses/addresses-verify-strict-param.json +++ b/official/docs/responses/addresses/addresses-verify-strict-param.json @@ -1,8 +1,8 @@ { - "id": "adr_5f4e008e4e3f11eda36cac1f6bc7b362", + "id": "adr_3dcd27a7b71311ee837b3cecef1b359e", "object": "Address", - "created_at": "2022-10-17T17:16:00+00:00", - "updated_at": "2022-10-17T17:16:00+00:00", + "created_at": "2024-01-19T21:39:36+00:00", + "updated_at": "2024-01-19T21:39:36+00:00", "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", diff --git a/official/docs/responses/addresses/addresses-verify.json b/official/docs/responses/addresses/addresses-verify.json index cd0a4dbe..6367e8fb 100644 --- a/official/docs/responses/addresses/addresses-verify.json +++ b/official/docs/responses/addresses/addresses-verify.json @@ -1,9 +1,9 @@ { "address": { - "id": "adr_5fdd21764e3f11edadebac1f6b0a0d1e", + "id": "adr_3e282aa2b71311ee83973cecef1b359e", "object": "Address", - "created_at": "2022-10-17T17:16:01+00:00", - "updated_at": "2022-10-17T17:16:01+00:00", + "created_at": "2024-01-19T21:39:37+00:00", + "updated_at": "2024-01-19T21:39:37+00:00", "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", @@ -22,26 +22,12 @@ "verifications": { "zip4": { "success": true, - "errors": [ - { - "code": "E.SECONDARY_INFORMATION.INVALID", - "field": "street2", - "message": "Invalid secondary information(Apt/Suite#)", - "suggestion": null - } - ], + "errors": [], "details": null }, "delivery": { "success": true, - "errors": [ - { - "code": "E.SECONDARY_INFORMATION.INVALID", - "field": "street2", - "message": "Invalid secondary information(Apt/Suite#)", - "suggestion": null - } - ], + "errors": [], "details": { "latitude": 37.79342, "longitude": -122.40288, diff --git a/official/docs/responses/api-keys/api-keys-retrieve.json b/official/docs/responses/api-keys/api-keys-retrieve.json index 8fb83ed3..54e7e74f 100644 --- a/official/docs/responses/api-keys/api-keys-retrieve.json +++ b/official/docs/responses/api-keys/api-keys-retrieve.json @@ -1,44 +1,71 @@ { - "id": "user_060ab38db3c04ffaa60f262e5781a9be", - "keys": [ + "id": "user_54356a6b96c940d8913961a3c7b909f2", + "object": "User", + "parent_id": null, + "name": "New Name", + "phone_number": "5555555555", + "verified": true, + "created_at": "2017-03-01T03:01:34Z", + "default_carbon_offset": false, + "has_elevate_access": false, + "balance": "0.00000", + "price_per_shipment": "0.00000", + "recharge_amount": "100.00", + "secondary_recharge_amount": "100.00", + "recharge_threshold": "0.00", + "has_billing_method": false, + "cc_fee_rate": "0.03", + "default_insurance_amount": null, + "insurance_fee_rate": "0.01", + "insurance_fee_minimum": "1.00", + "email": "dev+easypost-python@easypost.com", + "children": [ { - "object": "ApiKey", - "active": true, - "key": "", - "mode": "test", - "created_at": "2022-10-14T17:23:58Z", - "id": "ak_eb495dfd453647749dc6471290b33685" + "id": "user_584be78af2f141e988b6c60dda9dd8fd", + "object": "User", + "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", + "name": "Test User2", + "phone_number": "8005550100", + "verified": true, + "created_at": "2023-12-11T17:13:38Z", + "default_carbon_offset": false, + "has_elevate_access": false, + "children": [] }, { - "object": "ApiKey", - "active": true, - "key": "", - "mode": "production", - "created_at": "2022-10-14T17:23:58Z", - "id": "ak_6f4eae3909464f3f807b3af2a687c85b" - } - ], - "children": [ + "id": "user_437e724f37de412db6df8821968d8d3c", + "object": "User", + "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", + "name": "Test User2", + "phone_number": "8005550100", + "verified": true, + "created_at": "2023-12-11T17:13:43Z", + "default_carbon_offset": false, + "has_elevate_access": false, + "children": [] + }, + { + "id": "user_2553102e90de43dea0b9fa7f8c8d7e33", + "object": "User", + "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", + "name": "Child Account Name22", + "phone_number": "8005550100", + "verified": true, + "created_at": "2024-01-04T19:56:21Z", + "default_carbon_offset": false, + "has_elevate_access": false, + "children": [] + }, { - "id": "user_0ae8cb7000a1438c8598fa5786fdae84", - "keys": [ - { - "object": "ApiKey", - "active": true, - "key": "", - "mode": "test", - "created_at": "2022-10-17T17:28:30Z", - "id": "ak_3b56830ab851496f946c368cb001c3f4" - }, - { - "object": "ApiKey", - "active": true, - "key": "", - "mode": "production", - "created_at": "2022-10-17T17:28:30Z", - "id": "ak_e5020ebb06b84733891c0e0e5ce25b27" - } - ], + "id": "user_31754439d4524fbb8867d138de537e12", + "object": "User", + "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", + "name": "Test User", + "phone_number": "8005550100", + "verified": true, + "created_at": "2024-01-19T21:42:21Z", + "default_carbon_offset": false, + "has_elevate_access": false, "children": [] } ] diff --git a/official/docs/responses/batches/batches-add-shipments.json b/official/docs/responses/batches/batches-add-shipments.json index 0d7cbbfd..39d6231d 100644 --- a/official/docs/responses/batches/batches-add-shipments.json +++ b/official/docs/responses/batches/batches-add-shipments.json @@ -1,20 +1,20 @@ { - "id": "batch_5781439e197447ac850dc0796e9e8e76", + "id": "batch_64a58d60294943d8ae88db0b5094a907", "object": "Batch", "mode": "test", "state": "created", "num_shipments": 1, "reference": null, - "created_at": "2022-10-17T17:16:27Z", - "updated_at": "2022-10-17T17:16:27Z", + "created_at": "2024-01-19T21:40:13Z", + "updated_at": "2024-01-19T21:40:13Z", "scan_form": null, "shipments": [ { "batch_status": "postage_purchased", "batch_message": null, "reference": null, - "tracking_code": "9405500106068143632665", - "id": "shp_d8a3856984f84c78b6b0da741f9fea7d" + "tracking_code": "9405500207552010707504", + "id": "shp_8f16c7d5967b4682ad8596a1475d023d" } ], "status": { diff --git a/official/docs/responses/batches/batches-buy.json b/official/docs/responses/batches/batches-buy.json index 85c3d1ab..da775735 100644 --- a/official/docs/responses/batches/batches-buy.json +++ b/official/docs/responses/batches/batches-buy.json @@ -1,12 +1,12 @@ { - "id": "batch_8323a3f140b543fc90a7acdb01912ae7", + "id": "batch_d6251841e1fc4e29979b04f074d03bf4", "object": "Batch", "mode": "test", "state": "created", "num_shipments": 1, "reference": null, - "created_at": "2022-10-17T17:16:08Z", - "updated_at": "2022-10-17T17:16:08Z", + "created_at": "2024-01-19T21:39:40Z", + "updated_at": "2024-01-19T21:39:40Z", "scan_form": null, "shipments": [ { @@ -14,7 +14,7 @@ "batch_message": null, "reference": null, "tracking_code": null, - "id": "shp_5188f6665c5b41569530ba4698225e3e" + "id": "shp_a90b4c2282e54465817f806f5ecf3943" } ], "status": { diff --git a/official/docs/responses/batches/batches-create-and-buy.json b/official/docs/responses/batches/batches-create-and-buy.json deleted file mode 100644 index 53550057..00000000 --- a/official/docs/responses/batches/batches-create-and-buy.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "id": "batch_f9a0dbef7d664848a0d149f01fd05ec8", - "object": "EasyPost::Entity::Batch", - "mode": "test", - "state": "creating", - "num_shipments": 2, - "reference": null, - "created_at": "2022-10-17T17:16:07Z", - "updated_at": "2022-10-17T17:16:07Z", - "scan_form": null, - "shipments": [], - "status": { - "created": 0, - "queued_for_purchase": 0, - "creation_failed": 0, - "postage_purchased": 0, - "postage_purchase_failed": 0 - }, - "pickup": null, - "label_url": null -} diff --git a/official/docs/responses/batches/batches-create.json b/official/docs/responses/batches/batches-create.json index eb4093a9..8b745748 100644 --- a/official/docs/responses/batches/batches-create.json +++ b/official/docs/responses/batches/batches-create.json @@ -1,12 +1,12 @@ { - "id": "batch_35638a505b00489da8feea4209b66c01", + "id": "batch_ab8e9b4b2f10414085045a1e281e5dc9", "object": "Batch", "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, - "created_at": "2022-10-17T17:16:05Z", - "updated_at": "2022-10-17T17:16:05Z", + "created_at": "2024-01-19T21:39:38Z", + "updated_at": "2024-01-19T21:39:38Z", "scan_form": null, "shipments": [], "status": { diff --git a/official/docs/responses/batches/batches-label.json b/official/docs/responses/batches/batches-label.json index b863ef8b..2b0b53d3 100644 --- a/official/docs/responses/batches/batches-label.json +++ b/official/docs/responses/batches/batches-label.json @@ -1,20 +1,20 @@ { - "id": "batch_6e7c7e6f280b4be396463a49857f5bed", + "id": "batch_df05f9391272462cbd5b0e53e0bcb7e0", "object": "Batch", "mode": "test", "state": "label_generating", "num_shipments": 1, "reference": null, - "created_at": "2022-10-17T17:16:31Z", - "updated_at": "2022-10-17T17:16:41Z", + "created_at": "2024-01-19T22:04:08Z", + "updated_at": "2024-01-19T22:04:49Z", "scan_form": null, "shipments": [ { "batch_status": "postage_purchased", "batch_message": null, "reference": null, - "tracking_code": "9405500106068143632733", - "id": "shp_e2140993b93146b2bc2d9323811947b9" + "tracking_code": "9405500207552010712409", + "id": "shp_140c001c845348caa3f62fe3c0fa15d0" } ], "status": { diff --git a/official/docs/responses/batches/batches-remove-shipments.json b/official/docs/responses/batches/batches-remove-shipments.json index 604bbedf..80f7e29d 100644 --- a/official/docs/responses/batches/batches-remove-shipments.json +++ b/official/docs/responses/batches/batches-remove-shipments.json @@ -1,12 +1,12 @@ { - "id": "batch_1e08a75fe682484caf66f8382d5b6a11", + "id": "batch_254386e6b4314b419bcb0486ca65fc80", "object": "Batch", "mode": "test", "state": "purchased", "num_shipments": 0, "reference": null, - "created_at": "2022-10-17T17:16:29Z", - "updated_at": "2022-10-17T17:16:30Z", + "created_at": "2024-01-19T21:40:15Z", + "updated_at": "2024-01-19T21:40:15Z", "scan_form": null, "shipments": [], "status": { diff --git a/official/docs/responses/batches/batches-retrieve.json b/official/docs/responses/batches/batches-retrieve.json index 7e85a9ea..a8a7e03b 100644 --- a/official/docs/responses/batches/batches-retrieve.json +++ b/official/docs/responses/batches/batches-retrieve.json @@ -1,12 +1,12 @@ { - "id": "batch_00cd10bdbed34d64a1c786bd466fdb11", + "id": "batch_4340577b57e24854a21b76acdc69d878", "object": "Batch", "mode": "test", "state": "created", "num_shipments": 1, "reference": null, - "created_at": "2022-10-17T17:16:06Z", - "updated_at": "2022-10-17T17:16:06Z", + "created_at": "2024-01-19T21:39:39Z", + "updated_at": "2024-01-19T21:39:39Z", "scan_form": null, "shipments": [ { @@ -14,7 +14,7 @@ "batch_message": null, "reference": null, "tracking_code": null, - "id": "shp_63bba7fa949243cbaacdafb01e9b2b63" + "id": "shp_8bee0a902ee34778aa75fb988e46fe1b" } ], "status": { diff --git a/official/docs/responses/batches/batches-scan-forms.json b/official/docs/responses/batches/batches-scan-forms.json index 913e2918..e05eb74f 100644 --- a/official/docs/responses/batches/batches-scan-forms.json +++ b/official/docs/responses/batches/batches-scan-forms.json @@ -1,12 +1,12 @@ { - "id": "batch_15259766d4354aa48f9f60cbd7dbc171", + "id": "batch_6165570832d34965bfe4f0f224fef421", "object": "Batch", "mode": "test", "state": "created", "num_shipments": 1, "reference": null, - "created_at": "2022-10-17T17:16:14Z", - "updated_at": "2022-10-17T17:16:14Z", + "created_at": "2024-01-19T22:03:22Z", + "updated_at": "2024-01-19T22:03:23Z", "scan_form": null, "shipments": [ { @@ -14,7 +14,7 @@ "batch_message": null, "reference": null, "tracking_code": null, - "id": "shp_5029248fb0e0459db2c72414cd193e8f" + "id": "shp_790b9989bd7e478c81d57b9013431bbc" } ], "status": { diff --git a/official/docs/responses/billing/billing-list.json b/official/docs/responses/billing/billing-list.json index a4c3d2ac..49a2251b 100644 --- a/official/docs/responses/billing/billing-list.json +++ b/official/docs/responses/billing/billing-list.json @@ -6,7 +6,7 @@ "disabled_at": null, "object": "CreditCard", "name": null, - "last4": "1234", + "last4": "4242", "exp_month": 1, "exp_year": 2025, "brand": "Visa" @@ -16,7 +16,7 @@ "disabled_at": null, "object": "CreditCard", "name": null, - "last4": "5678", + "last4": "4444", "exp_month": 1, "exp_year": 2025, "brand": "Mastercard" diff --git a/official/docs/responses/brand/brand-update.json b/official/docs/responses/brand/brand-update.json index b420a5bb..e27b33a4 100644 --- a/official/docs/responses/brand/brand-update.json +++ b/official/docs/responses/brand/brand-update.json @@ -1,5 +1,5 @@ { - "id": "brd_aa3f5a1043ca46cf8e2e9b879c9a5895", + "id": "brd_79967d34dc894866850bc8342c84dc41", "color": "#123456", "logo": "https://assets.easypost.com/assets/images/branding/easypost-primary-logo.7324aa54b64b34d6cd70ca5ba4d1842d.svg", "logo_href": "https://www.easypost.com", @@ -7,7 +7,7 @@ "ad": null, "ad_href": null, "object": "Brand", - "user_id": "user_060ab38db3c04ffaa60f262e5781a9be", - "background_color": null, + "user_id": "user_54356a6b96c940d8913961a3c7b909f2", + "background_color": "#123456", "theme": "theme1" } diff --git a/official/docs/responses/carbon-offset/carbon-offset-create.json b/official/docs/responses/carbon-offset/carbon-offset-create.json deleted file mode 100644 index 558989b0..00000000 --- a/official/docs/responses/carbon-offset/carbon-offset-create.json +++ /dev/null @@ -1,282 +0,0 @@ -{ - "created_at": "2023-07-10T17:29:51Z", - "is_return": false, - "messages": [], - "mode": "test", - "options": { - "currency": "USD", - "payment": { - "type": "SENDER" - }, - "date_advance": 0 - }, - "reference": null, - "status": "unknown", - "tracking_code": null, - "updated_at": "2023-07-10T17:29:52Z", - "batch_id": null, - "batch_status": null, - "batch_message": null, - "customs_info": { - "id": "cstinfo_3ced3c21acbe4d7c97d80563426466f4", - "object": "CustomsInfo", - "created_at": "2023-07-10T17:29:51Z", - "updated_at": "2023-07-10T17:29:51Z", - "contents_explanation": "", - "contents_type": "merchandise", - "customs_certify": true, - "customs_signer": "Steve Brule", - "eel_pfc": "NOEEI 30.37(a)", - "non_delivery_option": "return", - "restriction_comments": null, - "restriction_type": "none", - "mode": "test", - "declaration": null, - "customs_items": [ - { - "id": "cstitem_cd3206de7e60412d8a1c5331d0e6260a", - "object": "CustomsItem", - "created_at": "2023-07-10T17:29:51Z", - "updated_at": "2023-07-10T17:29:51Z", - "description": "T-shirt", - "hs_tariff_number": "123456", - "origin_country": "US", - "quantity": 1, - "value": "10.0", - "weight": 5.0, - "code": "123", - "mode": "test", - "manufacturer": null, - "currency": null, - "eccn": null, - "printed_commodity_identifier": null - } - ] - }, - "from_address": { - "id": "adr_609f0edb1f4711ee89653cecef1b359e", - "object": "Address", - "created_at": "2023-07-10T17:29:51+00:00", - "updated_at": "2023-07-10T17:29:51+00:00", - "name": "EasyPost", - "company": null, - "street1": "417 Montgomery Street", - "street2": "5th Floor", - "city": "San Francisco", - "state": "CA", - "zip": "94104", - "country": "US", - "phone": "4153334445", - "email": "support@easypost.com", - "mode": "test", - "carrier_facility": null, - "residential": null, - "federal_tax_id": null, - "state_tax_id": null, - "verifications": {} - }, - "insurance": null, - "order_id": null, - "parcel": { - "id": "prcl_e0b5c177be934e0ea0988747fd972e66", - "object": "Parcel", - "created_at": "2023-07-10T17:29:51Z", - "updated_at": "2023-07-10T17:29:51Z", - "length": 20.2, - "width": 10.9, - "height": 5.0, - "predefined_package": null, - "weight": 65.9, - "mode": "test" - }, - "postage_label": null, - "rates": [ - { - "id": "rate_ef07644f6cfc4e69b7d03cad108773ff", - "object": "Rate", - "created_at": "2023-07-10T17:29:52Z", - "updated_at": "2023-07-10T17:29:52Z", - "mode": "test", - "service": "Priority", - "carrier": "USPS", - "rate": "7.47", - "currency": "USD", - "retail_rate": "14.05", - "retail_currency": "USD", - "list_rate": "10.27", - "list_currency": "USD", - "billing_type": "easypost", - "delivery_days": 2, - "delivery_date": null, - "delivery_date_guaranteed": false, - "est_delivery_days": 2, - "shipment_id": "shp_afd3b386dff940b88a521ef42bb67ef1", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e", - "carbon_offset": { - "object": "CarbonOffset", - "grams": 154, - "price": "0.11", - "currency": "USD" - } - }, - { - "id": "rate_2d1075bb37044e0d85b4c813c620ee65", - "object": "Rate", - "created_at": "2023-07-10T17:29:52Z", - "updated_at": "2023-07-10T17:29:52Z", - "mode": "test", - "service": "GroundAdvantage", - "carrier": "USPS", - "rate": "8.92", - "currency": "USD", - "retail_rate": "8.92", - "retail_currency": "USD", - "list_rate": "8.92", - "list_currency": "USD", - "billing_type": "easypost", - "delivery_days": null, - "delivery_date": null, - "delivery_date_guaranteed": false, - "est_delivery_days": null, - "shipment_id": "shp_afd3b386dff940b88a521ef42bb67ef1", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e", - "carbon_offset": { - "object": "CarbonOffset", - "grams": 154, - "price": "0.11", - "currency": "USD" - } - }, - { - "id": "rate_992b27e562594bdd968b1d951073e1b0", - "object": "Rate", - "created_at": "2023-07-10T17:29:52Z", - "updated_at": "2023-07-10T17:29:52Z", - "mode": "test", - "service": "First", - "carrier": "USPS", - "rate": "8.92", - "currency": "USD", - "retail_rate": "8.92", - "retail_currency": "USD", - "list_rate": "8.92", - "list_currency": "USD", - "billing_type": "easypost", - "delivery_days": 3, - "delivery_date": null, - "delivery_date_guaranteed": false, - "est_delivery_days": 3, - "shipment_id": "shp_afd3b386dff940b88a521ef42bb67ef1", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e", - "carbon_offset": { - "object": "CarbonOffset", - "grams": 154, - "price": "0.11", - "currency": "USD" - } - }, - { - "id": "rate_1f38a0d7777f4a13a610c6684179ab13", - "object": "Rate", - "created_at": "2023-07-10T17:29:52Z", - "updated_at": "2023-07-10T17:29:52Z", - "mode": "test", - "service": "Express", - "carrier": "USPS", - "rate": "46.85", - "currency": "USD", - "retail_rate": "54.20", - "retail_currency": "USD", - "list_rate": "46.85", - "list_currency": "USD", - "billing_type": "easypost", - "delivery_days": null, - "delivery_date": null, - "delivery_date_guaranteed": false, - "est_delivery_days": null, - "shipment_id": "shp_afd3b386dff940b88a521ef42bb67ef1", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e", - "carbon_offset": { - "object": "CarbonOffset", - "grams": 154, - "price": "0.11", - "currency": "USD" - } - } - ], - "refund_status": null, - "scan_form": null, - "selected_rate": null, - "tracker": null, - "to_address": { - "id": "adr_609d2c911f4711ee9971ac1f6bc53342", - "object": "Address", - "created_at": "2023-07-10T17:29:51+00:00", - "updated_at": "2023-07-10T17:29:51+00:00", - "name": "Dr. Steve Brule", - "company": null, - "street1": "179 N Harbor Dr", - "street2": null, - "city": "Redondo Beach", - "state": "CA", - "zip": "90277", - "country": "US", - "phone": "8573875756", - "email": "dr_steve_brule@gmail.com", - "mode": "test", - "carrier_facility": null, - "residential": null, - "federal_tax_id": null, - "state_tax_id": null, - "verifications": {} - }, - "usps_zone": 4, - "return_address": { - "id": "adr_609f0edb1f4711ee89653cecef1b359e", - "object": "Address", - "created_at": "2023-07-10T17:29:51+00:00", - "updated_at": "2023-07-10T17:29:51+00:00", - "name": "EasyPost", - "company": null, - "street1": "417 Montgomery Street", - "street2": "5th Floor", - "city": "San Francisco", - "state": "CA", - "zip": "94104", - "country": "US", - "phone": "4153334445", - "email": "support@easypost.com", - "mode": "test", - "carrier_facility": null, - "residential": null, - "federal_tax_id": null, - "state_tax_id": null, - "verifications": {} - }, - "buyer_address": { - "id": "adr_609d2c911f4711ee9971ac1f6bc53342", - "object": "Address", - "created_at": "2023-07-10T17:29:51+00:00", - "updated_at": "2023-07-10T17:29:51+00:00", - "name": "Dr. Steve Brule", - "company": null, - "street1": "179 N Harbor Dr", - "street2": null, - "city": "Redondo Beach", - "state": "CA", - "zip": "90277", - "country": "US", - "phone": "8573875756", - "email": "dr_steve_brule@gmail.com", - "mode": "test", - "carrier_facility": null, - "residential": null, - "federal_tax_id": null, - "state_tax_id": null, - "verifications": {} - }, - "forms": [], - "fees": [], - "id": "shp_afd3b386dff940b88a521ef42bb67ef1", - "object": "Shipment" -} diff --git a/official/docs/responses/carbon-offset/carbon-offset-one-call-buy.json b/official/docs/responses/carbon-offset/carbon-offset-one-call-buy.json deleted file mode 100644 index cfc016b9..00000000 --- a/official/docs/responses/carbon-offset/carbon-offset-one-call-buy.json +++ /dev/null @@ -1,334 +0,0 @@ -{ - "created_at": "2022-10-17T17:18:04Z", - "is_return": false, - "messages": [], - "mode": "test", - "options": { - "currency": "USD", - "payment": { - "type": "SENDER" - }, - "date_advance": 0 - }, - "reference": null, - "status": "unknown", - "tracking_code": "9405500106068143633105", - "updated_at": "2022-10-17T17:18:05Z", - "batch_id": null, - "batch_status": null, - "batch_message": null, - "customs_info": { - "id": "cstinfo_8adecb9fa4ca4e90adb5d960c9579fcf", - "object": "CustomsInfo", - "created_at": "2022-10-17T17:18:04Z", - "updated_at": "2022-10-17T17:18:04Z", - "contents_explanation": "", - "contents_type": "merchandise", - "customs_certify": true, - "customs_signer": "Steve Brule", - "eel_pfc": "NOEEI 30.37(a)", - "non_delivery_option": "return", - "restriction_comments": null, - "restriction_type": "none", - "mode": "test", - "declaration": null, - "customs_items": [ - { - "id": "cstitem_5f5a69a313384b13835dea9b3a7b1494", - "object": "CustomsItem", - "created_at": "2022-10-17T17:18:04Z", - "updated_at": "2022-10-17T17:18:04Z", - "description": "T-shirt", - "hs_tariff_number": "123456", - "origin_country": "US", - "quantity": 1, - "value": "10.0", - "weight": 5.0, - "code": "123", - "mode": "test", - "manufacturer": null, - "currency": null, - "eccn": null, - "printed_commodity_identifier": null - } - ] - }, - "from_address": { - "id": "adr_a92c9a7a4e3f11edadb4ac1f6bc72124", - "object": "Address", - "created_at": "2022-10-17T17:18:04+00:00", - "updated_at": "2022-10-17T17:18:04+00:00", - "name": "EasyPost", - "company": null, - "street1": "417 Montgomery Street", - "street2": "5th Floor", - "city": "San Francisco", - "state": "CA", - "zip": "94104", - "country": "US", - "phone": "4153334445", - "email": "support@easypost.com", - "mode": "test", - "carrier_facility": null, - "residential": null, - "federal_tax_id": null, - "state_tax_id": null, - "verifications": {} - }, - "insurance": null, - "order_id": null, - "parcel": { - "id": "prcl_9a394d9a6af943cbb97ccc549e547326", - "object": "Parcel", - "created_at": "2022-10-17T17:18:04Z", - "updated_at": "2022-10-17T17:18:04Z", - "length": 20.2, - "width": 10.9, - "height": 5.0, - "predefined_package": null, - "weight": 65.9, - "mode": "test" - }, - "postage_label": { - "object": "PostageLabel", - "id": "pl_1071c07faffe4010a5cb060e25ac837a", - "created_at": "2022-10-17T17:18:05Z", - "updated_at": "2022-10-17T17:18:05Z", - "date_advance": 0, - "integrated_form": "none", - "label_date": "2022-10-17T17:18:05Z", - "label_resolution": 300, - "label_size": "4x6", - "label_type": "default", - "label_file_type": "image/png", - "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20221017/b0d07ac387e24d8db90a48416c088876.png", - "label_pdf_url": null, - "label_zpl_url": null, - "label_epl2_url": null, - "label_file": null - }, - "rates": [ - { - "id": "rate_f1ce8a63c0b54575b84618894cb214bb", - "object": "Rate", - "created_at": "2022-10-17T17:18:04Z", - "updated_at": "2022-10-17T17:18:04Z", - "mode": "test", - "service": "Express", - "carrier": "USPS", - "rate": "44.55", - "currency": "USD", - "retail_rate": "51.30", - "retail_currency": "USD", - "list_rate": "44.55", - "list_currency": "USD", - "billing_type": "easypost", - "delivery_days": null, - "delivery_date": null, - "delivery_date_guaranteed": false, - "est_delivery_days": null, - "shipment_id": "shp_15deb4bde7ad49ba9cde52f7e48c5c22", - "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac", - "carbon_offset": { - "object": "CarbonOffset", - "grams": 154, - "price": "0.11", - "currency": "USD" - } - }, - { - "id": "rate_bc13f11026f244a8924ff6e0081e5d58", - "object": "Rate", - "created_at": "2022-10-17T17:18:04Z", - "updated_at": "2022-10-17T17:18:04Z", - "mode": "test", - "service": "Priority", - "carrier": "USPS", - "rate": "10.07", - "currency": "USD", - "retail_rate": "13.45", - "retail_currency": "USD", - "list_rate": "10.07", - "list_currency": "USD", - "billing_type": "easypost", - "delivery_days": 2, - "delivery_date": null, - "delivery_date_guaranteed": false, - "est_delivery_days": 2, - "shipment_id": "shp_15deb4bde7ad49ba9cde52f7e48c5c22", - "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac", - "carbon_offset": { - "object": "CarbonOffset", - "grams": 154, - "price": "0.11", - "currency": "USD" - } - } - ], - "refund_status": null, - "scan_form": null, - "selected_rate": { - "id": "rate_bc13f11026f244a8924ff6e0081e5d58", - "object": "Rate", - "created_at": "2022-10-17T17:18:05Z", - "updated_at": "2022-10-17T17:18:05Z", - "mode": "test", - "service": "Priority", - "carrier": "USPS", - "rate": "10.07", - "currency": "USD", - "retail_rate": "13.45", - "retail_currency": "USD", - "list_rate": "10.07", - "list_currency": "USD", - "billing_type": "easypost", - "delivery_days": 2, - "delivery_date": null, - "delivery_date_guaranteed": false, - "est_delivery_days": 2, - "shipment_id": "shp_15deb4bde7ad49ba9cde52f7e48c5c22", - "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" - }, - "tracker": { - "id": "trk_d79bf6d00fff4da880ea4d0ac57c041f", - "object": "Tracker", - "mode": "test", - "tracking_code": "9405500106068143633105", - "status": "unknown", - "status_detail": "unknown", - "created_at": "2022-10-17T17:18:05Z", - "updated_at": "2022-10-17T17:18:05Z", - "signed_by": null, - "weight": null, - "est_delivery_date": null, - "shipment_id": "shp_15deb4bde7ad49ba9cde52f7e48c5c22", - "carrier": "USPS", - "tracking_details": [], - "fees": [], - "carrier_detail": null, - "public_url": "https://track.easypost.com/djE6dHJrX2Q3OWJmNmQwMGZmZjRkYTg4MGVhNGQwYWM1N2MwNDFm" - }, - "to_address": { - "id": "adr_a9297b274e3f11ed82f5ac1f6bc7bdc6", - "object": "Address", - "created_at": "2022-10-17T17:18:04+00:00", - "updated_at": "2022-10-17T17:18:05+00:00", - "name": "DR. STEVE BRULE", - "company": null, - "street1": "179 N HARBOR DR", - "street2": null, - "city": "REDONDO BEACH", - "state": "CA", - "zip": "90277-2506", - "country": "US", - "phone": "8573875756", - "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", - "carrier_facility": null, - "residential": false, - "federal_tax_id": null, - "state_tax_id": null, - "verifications": { - "zip4": { - "success": true, - "errors": [], - "details": null - }, - "delivery": { - "success": true, - "errors": [], - "details": { - "latitude": 33.8436, - "longitude": -118.39177, - "time_zone": "America/Los_Angeles" - } - } - } - }, - "usps_zone": 4, - "return_address": { - "id": "adr_a92c9a7a4e3f11edadb4ac1f6bc72124", - "object": "Address", - "created_at": "2022-10-17T17:18:04+00:00", - "updated_at": "2022-10-17T17:18:04+00:00", - "name": "EasyPost", - "company": null, - "street1": "417 Montgomery Street", - "street2": "5th Floor", - "city": "San Francisco", - "state": "CA", - "zip": "94104", - "country": "US", - "phone": "4153334445", - "email": "support@easypost.com", - "mode": "test", - "carrier_facility": null, - "residential": null, - "federal_tax_id": null, - "state_tax_id": null, - "verifications": {} - }, - "buyer_address": { - "id": "adr_a9297b274e3f11ed82f5ac1f6bc7bdc6", - "object": "Address", - "created_at": "2022-10-17T17:18:04+00:00", - "updated_at": "2022-10-17T17:18:05+00:00", - "name": "DR. STEVE BRULE", - "company": null, - "street1": "179 N HARBOR DR", - "street2": null, - "city": "REDONDO BEACH", - "state": "CA", - "zip": "90277-2506", - "country": "US", - "phone": "8573875756", - "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", - "carrier_facility": null, - "residential": false, - "federal_tax_id": null, - "state_tax_id": null, - "verifications": { - "zip4": { - "success": true, - "errors": [], - "details": null - }, - "delivery": { - "success": true, - "errors": [], - "details": { - "latitude": 33.8436, - "longitude": -118.39177, - "time_zone": "America/Los_Angeles" - } - } - } - }, - "forms": [], - "fees": [ - { - "object": "Fee", - "type": "LabelFee", - "amount": "0.00000", - "charged": true, - "refunded": false - }, - { - "object": "Fee", - "type": "PostageFee", - "amount": "10.07000", - "charged": true, - "refunded": false - }, - { - "object": "Fee", - "type": "CarbonOffsetFee", - "amount": "0.11000", - "charged": true, - "refunded": false - } - ], - "id": "shp_15deb4bde7ad49ba9cde52f7e48c5c22", - "object": "Shipment" -} diff --git a/official/docs/responses/carrier-accounts/carrier-accounts-create.json b/official/docs/responses/carrier-accounts/carrier-accounts-create.json index 0f9ec422..5224ae6a 100644 --- a/official/docs/responses/carrier-accounts/carrier-accounts-create.json +++ b/official/docs/responses/carrier-accounts/carrier-accounts-create.json @@ -1,10 +1,10 @@ { - "id": "ca_2e0ee760dba9470a93176ef3bb84fcff", + "id": "ca_65b36650ca424c4192f3042b7c5f5df6", "object": "CarrierAccount", "type": "DhlEcsAccount", "clone": false, - "created_at": "2022-10-17T17:16:43Z", - "updated_at": "2022-10-17T17:16:43Z", + "created_at": "2024-01-19T21:40:38Z", + "updated_at": "2024-01-19T21:40:38Z", "description": "CA Location DHL eCommerce Solutions Account", "reference": null, "billing_type": "carrier", diff --git a/official/docs/responses/carrier-accounts/carrier-accounts-list.json b/official/docs/responses/carrier-accounts/carrier-accounts-list.json index bd377d1f..ed757ff8 100644 --- a/official/docs/responses/carrier-accounts/carrier-accounts-list.json +++ b/official/docs/responses/carrier-accounts/carrier-accounts-list.json @@ -1,11 +1,11 @@ [ { - "id": "ca_9685a1198a75477885a3cdca37559bac", + "id": "ca_b25657e9896e4d63ac8151ac346ac41e", "object": "CarrierAccount", "type": "UspsAccount", "clone": false, - "created_at": "2022-10-14T17:23:58Z", - "updated_at": "2022-10-14T17:34:05Z", + "created_at": "2017-03-01T03:01:34Z", + "updated_at": "2018-08-09T02:45:22Z", "description": "USPS Account", "reference": null, "billing_type": "easypost", @@ -66,5 +66,76 @@ "shipper_id": "" }, "test_credentials": null + }, + { + "id": "ca_c7b4cfaf671b4984b84023d77561394a", + "object": "CarrierAccount", + "type": "DhlEcsAccount", + "clone": false, + "created_at": "2023-05-12T21:18:18Z", + "updated_at": "2023-05-12T21:18:18Z", + "description": "DHL eCommerce Solutions Account", + "reference": null, + "billing_type": "carrier", + "readable": "DHL eCommerce Solutions", + "logo": null, + "fields": { + "credentials": { + "client_id": { + "visibility": "visible", + "label": "DHL eCommerce Solutions client ID", + "value": "123456" + }, + "client_secret": { + "visibility": "password", + "label": "DHL eCommerce Solutions client secret", + "value": "********" + }, + "pickup_id": { + "visibility": "visible", + "label": "DHL eCommerce Solutions pickup ID", + "value": "123456" + }, + "distribution_center": { + "visibility": "visible", + "label": "DHL eCommerce Solutions distribution center", + "value": "USLAX1" + } + }, + "test_credentials": { + "client_id": { + "visibility": "visible", + "label": "Test DHL eCommerce Solutions client ID", + "value": "123456" + }, + "client_secret": { + "visibility": "password", + "label": "Test DHL eCommerce Solutions client secret", + "value": "********" + }, + "pickup_id": { + "visibility": "visible", + "label": "Test DHL eCommerce Solutions pickup ID", + "value": "123456" + }, + "distribution_center": { + "visibility": "visible", + "label": "Test DHL eCommerce Solutions distribution center", + "value": "USLAX1" + } + } + }, + "credentials": { + "client_id": "123456", + "client_secret": "********", + "pickup_id": "123456", + "distribution_center": "USLAX1" + }, + "test_credentials": { + "client_id": "123456", + "client_secret": "********", + "pickup_id": "123456", + "distribution_center": "USLAX1" + } } ] diff --git a/official/docs/responses/carrier-accounts/carrier-accounts-retrieve.json b/official/docs/responses/carrier-accounts/carrier-accounts-retrieve.json index bc89b8f0..7c186ad6 100644 --- a/official/docs/responses/carrier-accounts/carrier-accounts-retrieve.json +++ b/official/docs/responses/carrier-accounts/carrier-accounts-retrieve.json @@ -1,10 +1,10 @@ { - "id": "ca_d154739695ea4d7794f31be91aef2515", + "id": "ca_4bced7adc4364f35b177e9de0b953c6f", "object": "CarrierAccount", "type": "DhlEcsAccount", "clone": false, - "created_at": "2022-10-17T17:16:44Z", - "updated_at": "2022-10-17T17:16:44Z", + "created_at": "2024-01-19T21:40:39Z", + "updated_at": "2024-01-19T21:40:39Z", "description": "CA Location DHL eCommerce Solutions Account", "reference": null, "billing_type": "carrier", diff --git a/official/docs/responses/carrier-accounts/carrier-accounts-update.json b/official/docs/responses/carrier-accounts/carrier-accounts-update.json index daceedf0..abe885aa 100644 --- a/official/docs/responses/carrier-accounts/carrier-accounts-update.json +++ b/official/docs/responses/carrier-accounts/carrier-accounts-update.json @@ -1,10 +1,10 @@ { - "id": "ca_beb493ce1a8248c595e10426317cae4e", + "id": "ca_49661b5fd3e441b48514efaeb722c886", "object": "CarrierAccount", "type": "DhlEcsAccount", "clone": false, - "created_at": "2022-10-17T17:16:46Z", - "updated_at": "2022-10-17T17:16:47Z", + "created_at": "2024-01-19T21:40:40Z", + "updated_at": "2024-01-19T21:40:41Z", "description": "My custom description", "reference": null, "billing_type": "carrier", diff --git a/official/docs/responses/child-users/child-users-create.json b/official/docs/responses/child-users/child-users-create.json index dd7ae363..054eff31 100644 --- a/official/docs/responses/child-users/child-users-create.json +++ b/official/docs/responses/child-users/child-users-create.json @@ -1,29 +1,30 @@ { - "id": "user_34bb39e579d14d6b9a39d6fa289ed468", + "id": "user_31754439d4524fbb8867d138de537e12", "object": "User", - "parent_id": "user_060ab38db3c04ffaa60f262e5781a9be", + "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test User", "phone_number": "8005550100", "verified": true, - "created_at": "2022-10-17T17:29:09Z", + "created_at": "2024-01-19T21:42:21Z", "default_carbon_offset": false, + "has_elevate_access": false, "children": [], "api_keys": [ { "object": "ApiKey", "key": "", "mode": "test", - "created_at": "2022-10-17T17:29:09Z", + "created_at": "2024-01-19T21:42:21Z", "active": true, - "id": "ak_b983d6ad6cad4377a6c187d9c4a06ffa" + "id": "ak_dffa08301f7d4a54895f7840d54d05e0" }, { "object": "ApiKey", "key": "", "mode": "production", - "created_at": "2022-10-17T17:29:09Z", + "created_at": "2024-01-19T21:42:21Z", "active": true, - "id": "ak_d29ca57fdac04ebd816caab7b9e6ea48" + "id": "ak_d386ae3ceee04b0880002cd39dca2587" } ] } diff --git a/official/docs/responses/child-users/child-users-list.json b/official/docs/responses/child-users/child-users-list.json new file mode 100644 index 00000000..10c84a8e --- /dev/null +++ b/official/docs/responses/child-users/child-users-list.json @@ -0,0 +1,41 @@ +{ + "children": [ + { + "id": "user_584be78af2f141e988b6c60dda9dd8fd", + "object": "User", + "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", + "name": "Test User2", + "phone_number": "8005550100", + "verified": true, + "created_at": "2023-12-11T17:13:38Z" + }, + { + "id": "user_437e724f37de412db6df8821968d8d3c", + "object": "User", + "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", + "name": "Test User2", + "phone_number": "8005550100", + "verified": true, + "created_at": "2023-12-11T17:13:43Z" + }, + { + "id": "user_2553102e90de43dea0b9fa7f8c8d7e33", + "object": "User", + "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", + "name": "Child Account Name22", + "phone_number": "8005550100", + "verified": true, + "created_at": "2024-01-04T19:56:21Z" + }, + { + "id": "user_31754439d4524fbb8867d138de537e12", + "object": "User", + "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", + "name": "Test User", + "phone_number": "8005550100", + "verified": true, + "created_at": "2024-01-19T21:42:21Z" + } + ], + "has_more": false +} diff --git a/official/docs/responses/customs-infos/customs-infos-create.json b/official/docs/responses/customs-infos/customs-infos-create.json index cb8542f9..162daaf2 100644 --- a/official/docs/responses/customs-infos/customs-infos-create.json +++ b/official/docs/responses/customs-infos/customs-infos-create.json @@ -1,8 +1,8 @@ { - "id": "cstinfo_8895125547844a35854b7a5720087f95", + "id": "cstinfo_831ded88bcd742708daf7cd54cae8c1e", "object": "CustomsInfo", - "created_at": "2022-10-17T17:16:50Z", - "updated_at": "2022-10-17T17:16:50Z", + "created_at": "2024-01-19T21:40:43Z", + "updated_at": "2024-01-19T21:40:43Z", "contents_explanation": "", "contents_type": "merchandise", "customs_certify": true, @@ -15,10 +15,10 @@ "declaration": null, "customs_items": [ { - "id": "cstitem_53a1f4a1a4e8464abad85782e064257b", + "id": "cstitem_a2676810f53244c1a329c3a4e48c0a34", "object": "CustomsItem", - "created_at": "2022-10-17T17:16:50Z", - "updated_at": "2022-10-17T17:16:50Z", + "created_at": "2024-01-19T21:40:43Z", + "updated_at": "2024-01-19T21:40:43Z", "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": "US", diff --git a/official/docs/responses/customs-infos/customs-infos-retrieve.json b/official/docs/responses/customs-infos/customs-infos-retrieve.json index 1c676b98..42a78a34 100644 --- a/official/docs/responses/customs-infos/customs-infos-retrieve.json +++ b/official/docs/responses/customs-infos/customs-infos-retrieve.json @@ -1,8 +1,8 @@ { - "id": "cstinfo_06990d04ea0e46ae8a41d1eb14f05ed7", + "id": "cstinfo_5407d9771090494a8ef46d89d5994230", "object": "CustomsInfo", - "created_at": "2022-10-17T17:16:51Z", - "updated_at": "2022-10-17T17:16:51Z", + "created_at": "2024-01-19T21:40:43Z", + "updated_at": "2024-01-19T21:40:43Z", "contents_explanation": "", "contents_type": "merchandise", "customs_certify": true, @@ -15,10 +15,10 @@ "declaration": null, "customs_items": [ { - "id": "cstitem_6efc501385694fa4a24b4330a3d46bb6", + "id": "cstitem_a75fa158444145deaf5287b2ab3bf6d7", "object": "CustomsItem", - "created_at": "2022-10-17T17:16:51Z", - "updated_at": "2022-10-17T17:16:51Z", + "created_at": "2024-01-19T21:40:43Z", + "updated_at": "2024-01-19T21:40:43Z", "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": "US", diff --git a/official/docs/responses/customs-items/customs-items-create.json b/official/docs/responses/customs-items/customs-items-create.json index 7a589372..b73f9682 100644 --- a/official/docs/responses/customs-items/customs-items-create.json +++ b/official/docs/responses/customs-items/customs-items-create.json @@ -1,8 +1,8 @@ { - "id": "cstitem_77eacfac02e1424f8781128563f1a4e2", + "id": "cstitem_dc3bfcb1a9b248d9b460d670fde2ca6f", "object": "CustomsItem", - "created_at": "2022-10-17T17:16:51Z", - "updated_at": "2022-10-17T17:16:51Z", + "created_at": "2024-01-19T21:40:43Z", + "updated_at": "2024-01-19T21:40:43Z", "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": "US", diff --git a/official/docs/responses/customs-items/customs-items-retrieve.json b/official/docs/responses/customs-items/customs-items-retrieve.json index b485d459..e26f9039 100644 --- a/official/docs/responses/customs-items/customs-items-retrieve.json +++ b/official/docs/responses/customs-items/customs-items-retrieve.json @@ -1,8 +1,8 @@ { - "id": "cstitem_6a92a92758bf448d891daaea0312d2b0", + "id": "cstitem_beb82d4ae2a745bbbc769caf1d234a34", "object": "CustomsItem", - "created_at": "2022-10-17T17:16:52Z", - "updated_at": "2022-10-17T17:16:52Z", + "created_at": "2024-01-19T21:40:44Z", + "updated_at": "2024-01-19T21:40:44Z", "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": "US", diff --git a/official/docs/responses/endshipper/endshipper-buy.json b/official/docs/responses/endshipper/endshipper-buy.json index 4f772504..572a13d9 100644 --- a/official/docs/responses/endshipper/endshipper-buy.json +++ b/official/docs/responses/endshipper/endshipper-buy.json @@ -1,5 +1,5 @@ { - "created_at": "2023-07-10T17:30:05Z", + "created_at": "2024-01-19T21:40:47Z", "is_return": false, "messages": [], "mode": "test", @@ -12,16 +12,16 @@ }, "reference": null, "status": "unknown", - "tracking_code": "9405500105440232838737", - "updated_at": "2023-07-10T17:30:07Z", + "tracking_code": "9434600207552010707589", + "updated_at": "2024-01-19T21:40:49Z", "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": { - "id": "cstinfo_494fde20247845529ba2b7646772f25a", + "id": "cstinfo_f5ae2b124dfa422bbce11d7dd7766749", "object": "CustomsInfo", - "created_at": "2023-07-10T17:30:05Z", - "updated_at": "2023-07-10T17:30:05Z", + "created_at": "2024-01-19T21:40:47Z", + "updated_at": "2024-01-19T21:40:47Z", "contents_explanation": "", "contents_type": "merchandise", "customs_certify": true, @@ -34,10 +34,10 @@ "declaration": null, "customs_items": [ { - "id": "cstitem_b91fe7555aae402a86413f14d8f10fe1", + "id": "cstitem_e38f63f10ba845b2affb9b83f6bd5fae", "object": "CustomsItem", - "created_at": "2023-07-10T17:30:05Z", - "updated_at": "2023-07-10T17:30:05Z", + "created_at": "2024-01-19T21:40:47Z", + "updated_at": "2024-01-19T21:40:47Z", "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": "US", @@ -54,10 +54,10 @@ ] }, "from_address": { - "id": "adr_68a9a15b1f4711eea9c1ac1f6bc539ae", + "id": "adr_6857ed0cb71311ee92ba3cecef1b359e", "object": "Address", - "created_at": "2023-07-10T17:30:05+00:00", - "updated_at": "2023-07-10T17:30:05+00:00", + "created_at": "2024-01-19T21:40:47+00:00", + "updated_at": "2024-01-19T21:40:47+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -78,10 +78,10 @@ "insurance": null, "order_id": null, "parcel": { - "id": "prcl_63c2f70ee74843a28280d4f2a91db895", + "id": "prcl_37698469493d42fc9414475e42e06cf4", "object": "Parcel", - "created_at": "2023-07-10T17:30:05Z", - "updated_at": "2023-07-10T17:30:05Z", + "created_at": "2024-01-19T21:40:47Z", + "updated_at": "2024-01-19T21:40:47Z", "length": 20.2, "width": 10.9, "height": 5.0, @@ -91,17 +91,17 @@ }, "postage_label": { "object": "PostageLabel", - "id": "pl_cdd107f7aff44902a9076e856e5fe3cc", - "created_at": "2023-07-10T17:30:06Z", - "updated_at": "2023-07-10T17:30:06Z", + "id": "pl_18386a07b4bc4c27b181b0be7f8fa6b6", + "created_at": "2024-01-19T21:40:49Z", + "updated_at": "2024-01-19T21:40:49Z", "date_advance": 0, "integrated_form": "none", - "label_date": "2023-07-10T17:30:06Z", + "label_date": "2024-01-19T21:40:49Z", "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": "image/png", - "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20230710/e6fa97c25d535e42a699ab088d148f5c76.png", + "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8e1ee4970791240f99f95534289623efe.png", "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, @@ -109,38 +109,60 @@ }, "rates": [ { - "id": "rate_d61aa398bdbe43139ffdf5796e192e71", + "id": "rate_5257dd59081340f9b832d5e6109d5784", "object": "Rate", - "created_at": "2023-07-10T17:30:06Z", - "updated_at": "2023-07-10T17:30:06Z", + "created_at": "2024-01-19T21:40:48Z", + "updated_at": "2024-01-19T21:40:48Z", + "mode": "test", + "service": "Priority", + "carrier": "USPS", + "rate": "7.99", + "currency": "USD", + "retail_rate": "14.05", + "retail_currency": "USD", + "list_rate": "10.27", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": 2, + "delivery_date": null, + "delivery_date_guaranteed": false, + "est_delivery_days": 2, + "shipment_id": "shp_dcf8c9e3a01d4e08b25b5f88f39b0b1a", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + }, + { + "id": "rate_e14159fbc6684d88bbba290cebd97bdb", + "object": "Rate", + "created_at": "2024-01-19T21:40:48Z", + "updated_at": "2024-01-19T21:40:48Z", "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", - "rate": "8.92", + "rate": "6.79", "currency": "USD", - "retail_rate": "8.92", + "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": null, - "shipment_id": "shp_ea0d0da0b7a146edb4eb2cf0c9ca7e60", + "est_delivery_days": 3, + "shipment_id": "shp_dcf8c9e3a01d4e08b25b5f88f39b0b1a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, { - "id": "rate_04f2b79798904f8cb604f8ed7a6865bb", + "id": "rate_00cd9ffabed94a20a0112ffb19bfbbe2", "object": "Rate", - "created_at": "2023-07-10T17:30:06Z", - "updated_at": "2023-07-10T17:30:06Z", + "created_at": "2024-01-19T21:40:48Z", + "updated_at": "2024-01-19T21:40:48Z", "mode": "test", "service": "First", "carrier": "USPS", - "rate": "8.92", + "rate": "6.79", "currency": "USD", - "retail_rate": "8.92", + "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", "list_currency": "USD", @@ -149,106 +171,106 @@ "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_ea0d0da0b7a146edb4eb2cf0c9ca7e60", + "shipment_id": "shp_dcf8c9e3a01d4e08b25b5f88f39b0b1a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, { - "id": "rate_23e25315c70e45ccb5d5db7e28f1d1a0", + "id": "rate_332d0a9355db4590bb0c596692ff48fa", "object": "Rate", - "created_at": "2023-07-10T17:30:06Z", - "updated_at": "2023-07-10T17:30:06Z", + "created_at": "2024-01-19T21:40:48Z", + "updated_at": "2024-01-19T21:40:48Z", "mode": "test", - "service": "Express", + "service": "ParcelSelect", "carrier": "USPS", - "rate": "46.85", + "rate": "6.79", "currency": "USD", - "retail_rate": "54.20", + "retail_rate": "12.45", "retail_currency": "USD", - "list_rate": "46.85", + "list_rate": "8.92", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": null, - "shipment_id": "shp_ea0d0da0b7a146edb4eb2cf0c9ca7e60", + "est_delivery_days": 3, + "shipment_id": "shp_dcf8c9e3a01d4e08b25b5f88f39b0b1a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, { - "id": "rate_e0e45dc9569b4adbb2196a8fa65ada92", + "id": "rate_a16bc33d77bc434ab559383ea26c8016", "object": "Rate", - "created_at": "2023-07-10T17:30:06Z", - "updated_at": "2023-07-10T17:30:06Z", + "created_at": "2024-01-19T21:40:48Z", + "updated_at": "2024-01-19T21:40:48Z", "mode": "test", - "service": "Priority", + "service": "Express", "carrier": "USPS", - "rate": "7.47", + "rate": "46.85", "currency": "USD", - "retail_rate": "14.05", + "retail_rate": "54.20", "retail_currency": "USD", - "list_rate": "10.27", + "list_rate": "46.85", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 2, + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 2, - "shipment_id": "shp_ea0d0da0b7a146edb4eb2cf0c9ca7e60", + "est_delivery_days": null, + "shipment_id": "shp_dcf8c9e3a01d4e08b25b5f88f39b0b1a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" } ], "refund_status": null, "scan_form": null, "selected_rate": { - "id": "rate_e0e45dc9569b4adbb2196a8fa65ada92", + "id": "rate_e14159fbc6684d88bbba290cebd97bdb", "object": "Rate", - "created_at": "2023-07-10T17:30:06Z", - "updated_at": "2023-07-10T17:30:06Z", + "created_at": "2024-01-19T21:40:49Z", + "updated_at": "2024-01-19T21:40:49Z", "mode": "test", - "service": "Priority", + "service": "GroundAdvantage", "carrier": "USPS", - "rate": "7.47", + "rate": "6.79", "currency": "USD", - "retail_rate": "14.05", + "retail_rate": "12.45", "retail_currency": "USD", - "list_rate": "10.27", + "list_rate": "8.92", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 2, + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 2, - "shipment_id": "shp_ea0d0da0b7a146edb4eb2cf0c9ca7e60", + "est_delivery_days": 3, + "shipment_id": "shp_dcf8c9e3a01d4e08b25b5f88f39b0b1a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, "tracker": { - "id": "trk_3141f86e0a4c4fdabb5930e4a774b7bf", + "id": "trk_83f8ab2e8b7249898ca784087db0f055", "object": "Tracker", "mode": "test", - "tracking_code": "9405500105440232838737", + "tracking_code": "9434600207552010707589", "status": "unknown", "status_detail": "unknown", - "created_at": "2023-07-10T17:30:07Z", - "updated_at": "2023-07-10T17:30:07Z", + "created_at": "2024-01-19T21:40:49Z", + "updated_at": "2024-01-19T21:40:49Z", "signed_by": null, "weight": null, "est_delivery_date": null, - "shipment_id": "shp_ea0d0da0b7a146edb4eb2cf0c9ca7e60", + "shipment_id": "shp_dcf8c9e3a01d4e08b25b5f88f39b0b1a", "carrier": "USPS", "tracking_details": [], "fees": [], "carrier_detail": null, - "public_url": "https://track.easypost.com/djE6dHJrXzMxNDFmODZlMGE0YzRmZGFiYjU5MzBlNGE3NzRiN2Jm" + "public_url": "https://track.easypost.com/djE6dHJrXzgzZjhhYjJlOGI3MjQ5ODk4Y2E3ODQwODdkYjBmMDU1" }, "to_address": { - "id": "adr_68a7ac681f4711ee8db23cecef1b359e", + "id": "adr_68550af9b71311ee92b93cecef1b359e", "object": "Address", - "created_at": "2023-07-10T17:30:05+00:00", - "updated_at": "2023-07-10T17:30:06+00:00", + "created_at": "2024-01-19T21:40:47+00:00", + "updated_at": "2024-01-19T21:40:49+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", @@ -279,10 +301,10 @@ }, "usps_zone": 4, "return_address": { - "id": "adr_68a9a15b1f4711eea9c1ac1f6bc539ae", + "id": "adr_6857ed0cb71311ee92ba3cecef1b359e", "object": "Address", - "created_at": "2023-07-10T17:30:05+00:00", - "updated_at": "2023-07-10T17:30:05+00:00", + "created_at": "2024-01-19T21:40:47+00:00", + "updated_at": "2024-01-19T21:40:47+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -301,14 +323,14 @@ "verifications": {} }, "buyer_address": { - "id": "adr_68a7ac681f4711ee8db23cecef1b359e", + "id": "adr_68550af9b71311ee92b93cecef1b359e", "object": "Address", - "created_at": "2023-07-10T17:30:05+00:00", - "updated_at": "2023-07-10T17:30:06+00:00", + "created_at": "2024-01-19T21:40:47+00:00", + "updated_at": "2024-01-19T21:40:49+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", @@ -349,11 +371,11 @@ { "object": "Fee", "type": "PostageFee", - "amount": "7.47000", + "amount": "6.79000", "charged": true, "refunded": false } ], - "id": "shp_ea0d0da0b7a146edb4eb2cf0c9ca7e60", + "id": "shp_dcf8c9e3a01d4e08b25b5f88f39b0b1a", "object": "Shipment" } diff --git a/official/docs/responses/endshipper/endshipper-create.json b/official/docs/responses/endshipper/endshipper-create.json index 36f0597f..3283116c 100644 --- a/official/docs/responses/endshipper/endshipper-create.json +++ b/official/docs/responses/endshipper/endshipper-create.json @@ -1,9 +1,9 @@ { - "id": "es_c3e2125aae11417180908ab79e72f0e1", + "id": "es_4c83da873476490ba46e9347783e21fe", "object": "EndShipper", "mode": "test", - "created_at": "2023-07-10T17:30:02+00:00", - "updated_at": "2023-07-10T17:30:02+00:00", + "created_at": "2024-01-19T21:40:44+00:00", + "updated_at": "2024-01-19T21:40:44+00:00", "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", diff --git a/official/docs/responses/endshipper/endshipper-retrieve.json b/official/docs/responses/endshipper/endshipper-retrieve.json index 14970a67..f1ebb60c 100644 --- a/official/docs/responses/endshipper/endshipper-retrieve.json +++ b/official/docs/responses/endshipper/endshipper-retrieve.json @@ -1,9 +1,9 @@ { - "id": "es_ccf89686d73748ada6aac54c382d7328", + "id": "es_731fce1430ab46daa9b237d1ddbe7e81", "object": "EndShipper", "mode": "test", - "created_at": "2023-07-10T17:30:03+00:00", - "updated_at": "2023-07-10T17:30:03+00:00", + "created_at": "2024-01-19T21:40:45+00:00", + "updated_at": "2024-01-19T21:40:45+00:00", "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", diff --git a/official/docs/responses/endshipper/endshipper-update.json b/official/docs/responses/endshipper/endshipper-update.json index 77ad2adf..aa5b69b0 100644 --- a/official/docs/responses/endshipper/endshipper-update.json +++ b/official/docs/responses/endshipper/endshipper-update.json @@ -1,9 +1,9 @@ { - "id": "es_a12b7ec3008f450eb7103a08d91dca3c", + "id": "es_31c5fb3d5ac34efb898a113afd0bb2c6", "object": "EndShipper", "mode": "test", - "created_at": "2023-07-10T17:30:04+00:00", - "updated_at": "2023-07-10T17:30:04+00:00", + "created_at": "2024-01-19T21:40:46+00:00", + "updated_at": "2024-01-19T21:40:47+00:00", "name": "NEW NAME", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", diff --git a/official/docs/responses/events/events-list.json b/official/docs/responses/events/events-list.json index a90a0b83..4ea477ba 100644 --- a/official/docs/responses/events/events-list.json +++ b/official/docs/responses/events/events-list.json @@ -2,10 +2,10 @@ "events": [ { "description": "tracker.created", - "id": "evt_7d6e3d1e4e3f11edb506634ecda43b4f", - "user_id": "user_060ab38db3c04ffaa60f262e5781a9be", + "id": "evt_66b02f04b71311ee8835730b68571ca4", + "user_id": "user_54356a6b96c940d8913961a3c7b909f2", "status": "pending", - "created_at": "2022-10-17T17:16:51.263Z", + "created_at": "2024-01-19T21:40:45.014Z", "mode": "test", "object": "Event" } diff --git a/official/docs/responses/events/events-retrieve.json b/official/docs/responses/events/events-retrieve.json index f0e2ca34..142954a9 100644 --- a/official/docs/responses/events/events-retrieve.json +++ b/official/docs/responses/events/events-retrieve.json @@ -1,15 +1,13 @@ { - "description": "tracker.updated", + "description": "tracker.created", "mode": "test", - "previous_attributes": { - "status": "pre_transit" - }, - "created_at": "2022-10-26T20:18:21.000Z", + "previous_attributes": {}, + "created_at": "2024-01-19T21:40:45.000Z", "pending_urls": [], "completed_urls": [], - "updated_at": "2022-10-26T20:18:21.000Z", - "id": "evt_55a53eb2556b11ed8945059f515d2b6d", - "user_id": "user_060ab38db3c04ffaa60f262e5781a9be", + "updated_at": "2024-01-19T21:40:45.000Z", + "id": "evt_66b02f04b71311ee8835730b68571ca4", + "user_id": "user_54356a6b96c940d8913961a3c7b909f2", "status": "pending", "object": "Event" } diff --git a/official/docs/responses/forms/forms-create.json b/official/docs/responses/forms/forms-create.json index ede1b340..48b72c9d 100644 --- a/official/docs/responses/forms/forms-create.json +++ b/official/docs/responses/forms/forms-create.json @@ -1,5 +1,5 @@ { - "created_at": "2022-10-17T17:17:57Z", + "created_at": "2024-01-19T21:40:51Z", "is_return": false, "messages": [], "mode": "test", @@ -12,16 +12,16 @@ }, "reference": null, "status": "unknown", - "tracking_code": "9405500106068143633075", - "updated_at": "2022-10-17T17:17:58Z", + "tracking_code": "9405500207552010707603", + "updated_at": "2024-01-19T21:40:52Z", "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": { - "id": "cstinfo_381a27daba534502889be3acd5589e68", + "id": "cstinfo_38ecc3f3705e49c991c0dc6291dc784d", "object": "CustomsInfo", - "created_at": "2022-10-17T17:17:57Z", - "updated_at": "2022-10-17T17:17:57Z", + "created_at": "2024-01-19T21:40:51Z", + "updated_at": "2024-01-19T21:40:51Z", "contents_explanation": "", "contents_type": "merchandise", "customs_certify": true, @@ -34,10 +34,10 @@ "declaration": null, "customs_items": [ { - "id": "cstitem_01bdeca5ba3d4057bce062cbe9eac7e5", + "id": "cstitem_0aae18e08ec34a51b6c4075698eba8ef", "object": "CustomsItem", - "created_at": "2022-10-17T17:17:57Z", - "updated_at": "2022-10-17T17:17:57Z", + "created_at": "2024-01-19T21:40:51Z", + "updated_at": "2024-01-19T21:40:51Z", "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": "US", @@ -54,10 +54,10 @@ ] }, "from_address": { - "id": "adr_a525bec24e3f11ed8908ac1f6b0a0d1e", + "id": "adr_6a6af012b71311ee93943cecef1b359e", "object": "Address", - "created_at": "2022-10-17T17:17:57+00:00", - "updated_at": "2022-10-17T17:17:57+00:00", + "created_at": "2024-01-19T21:40:51+00:00", + "updated_at": "2024-01-19T21:40:51+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -78,10 +78,10 @@ "insurance": null, "order_id": null, "parcel": { - "id": "prcl_4d110a16daf04c09ba4d8b0a52e74e9e", + "id": "prcl_219d7ac310664dfa97e2982c4fac0238", "object": "Parcel", - "created_at": "2022-10-17T17:17:57Z", - "updated_at": "2022-10-17T17:17:57Z", + "created_at": "2024-01-19T21:40:51Z", + "updated_at": "2024-01-19T21:40:51Z", "length": 20.2, "width": 10.9, "height": 5.0, @@ -91,17 +91,17 @@ }, "postage_label": { "object": "PostageLabel", - "id": "pl_bed6e3f2e31447829e082b9d2b3c9c14", - "created_at": "2022-10-17T17:17:58Z", - "updated_at": "2022-10-17T17:17:58Z", + "id": "pl_3d83fe2e299342768fa5f28bedf21afd", + "created_at": "2024-01-19T21:40:51Z", + "updated_at": "2024-01-19T21:40:52Z", "date_advance": 0, "integrated_form": "none", - "label_date": "2022-10-17T17:17:58Z", + "label_date": "2024-01-19T21:40:51Z", "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": "image/png", - "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20221017/8a47d9778c1047eb82d009dfeddb72e1.png", + "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e81fb54b2c23e84e9ea9b447fee1f9247d.png", "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, @@ -109,98 +109,164 @@ }, "rates": [ { - "id": "rate_5e25b0cdcea64e00b2c48a5d51d0f78d", + "id": "rate_0278b6d89b0243d1841f570619840fe3", "object": "Rate", - "created_at": "2022-10-17T17:17:58Z", - "updated_at": "2022-10-17T17:17:58Z", + "created_at": "2024-01-19T21:40:51Z", + "updated_at": "2024-01-19T21:40:51Z", "mode": "test", "service": "Express", "carrier": "USPS", - "rate": "44.55", + "rate": "46.85", "currency": "USD", - "retail_rate": "51.30", + "retail_rate": "54.20", "retail_currency": "USD", - "list_rate": "44.55", + "list_rate": "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": null, - "shipment_id": "shp_d552fce238914554944a7432d3b7c662", - "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" + "shipment_id": "shp_5d6acc1b88f44743955ee35c7ca4e611", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, { - "id": "rate_34003fbd76c148beaac91b51984ef7ef", + "id": "rate_939f7dc9c1714ec7b89955cd7f10edd1", "object": "Rate", - "created_at": "2022-10-17T17:17:58Z", - "updated_at": "2022-10-17T17:17:58Z", + "created_at": "2024-01-19T21:40:51Z", + "updated_at": "2024-01-19T21:40:51Z", "mode": "test", "service": "Priority", "carrier": "USPS", - "rate": "10.07", + "rate": "7.99", "currency": "USD", - "retail_rate": "13.45", + "retail_rate": "14.05", "retail_currency": "USD", - "list_rate": "10.07", + "list_rate": "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 2, - "shipment_id": "shp_d552fce238914554944a7432d3b7c662", - "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" + "shipment_id": "shp_5d6acc1b88f44743955ee35c7ca4e611", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + }, + { + "id": "rate_ecf947499c164960a9f247cd1f889da4", + "object": "Rate", + "created_at": "2024-01-19T21:40:51Z", + "updated_at": "2024-01-19T21:40:51Z", + "mode": "test", + "service": "GroundAdvantage", + "carrier": "USPS", + "rate": "6.79", + "currency": "USD", + "retail_rate": "12.45", + "retail_currency": "USD", + "list_rate": "8.92", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": 3, + "delivery_date": null, + "delivery_date_guaranteed": false, + "est_delivery_days": 3, + "shipment_id": "shp_5d6acc1b88f44743955ee35c7ca4e611", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + }, + { + "id": "rate_06bf3189ade6419baa087a4d3c90c020", + "object": "Rate", + "created_at": "2024-01-19T21:40:51Z", + "updated_at": "2024-01-19T21:40:51Z", + "mode": "test", + "service": "First", + "carrier": "USPS", + "rate": "6.79", + "currency": "USD", + "retail_rate": "12.45", + "retail_currency": "USD", + "list_rate": "8.92", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": 3, + "delivery_date": null, + "delivery_date_guaranteed": false, + "est_delivery_days": 3, + "shipment_id": "shp_5d6acc1b88f44743955ee35c7ca4e611", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + }, + { + "id": "rate_a74f0eec9b934571a791053f4ab68612", + "object": "Rate", + "created_at": "2024-01-19T21:40:51Z", + "updated_at": "2024-01-19T21:40:51Z", + "mode": "test", + "service": "ParcelSelect", + "carrier": "USPS", + "rate": "6.79", + "currency": "USD", + "retail_rate": "12.45", + "retail_currency": "USD", + "list_rate": "8.92", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": 3, + "delivery_date": null, + "delivery_date_guaranteed": false, + "est_delivery_days": 3, + "shipment_id": "shp_5d6acc1b88f44743955ee35c7ca4e611", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" } ], "refund_status": null, "scan_form": null, "selected_rate": { - "id": "rate_34003fbd76c148beaac91b51984ef7ef", + "id": "rate_939f7dc9c1714ec7b89955cd7f10edd1", "object": "Rate", - "created_at": "2022-10-17T17:17:58Z", - "updated_at": "2022-10-17T17:17:58Z", + "created_at": "2024-01-19T21:40:51Z", + "updated_at": "2024-01-19T21:40:51Z", "mode": "test", "service": "Priority", "carrier": "USPS", - "rate": "10.07", + "rate": "7.99", "currency": "USD", - "retail_rate": "13.45", + "retail_rate": "14.05", "retail_currency": "USD", - "list_rate": "10.07", + "list_rate": "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 2, - "shipment_id": "shp_d552fce238914554944a7432d3b7c662", - "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" + "shipment_id": "shp_5d6acc1b88f44743955ee35c7ca4e611", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, "tracker": { - "id": "trk_797b64e929774dbc83369cbd033888c3", + "id": "trk_0d39ddeae6034088b1fcd67766019d55", "object": "Tracker", "mode": "test", - "tracking_code": "9405500106068143633075", + "tracking_code": "9405500207552010707603", "status": "pre_transit", "status_detail": "status_update", - "created_at": "2022-10-17T17:17:58Z", - "updated_at": "2022-10-17T17:17:58Z", + "created_at": "2024-01-19T21:40:52Z", + "updated_at": "2024-01-19T21:40:52Z", "signed_by": null, "weight": null, - "est_delivery_date": "2022-10-17T17:17:58Z", - "shipment_id": "shp_d552fce238914554944a7432d3b7c662", + "est_delivery_date": "2024-01-19T21:40:52Z", + "shipment_id": "shp_5d6acc1b88f44743955ee35c7ca4e611", "carrier": "USPS", "tracking_details": [ { "object": "TrackingDetail", "message": "Pre-Shipment Info Sent to USPS", - "description": null, + "description": "", "status": "pre_transit", "status_detail": "status_update", - "datetime": "2022-09-17T17:17:58Z", + "datetime": "2023-12-19T21:40:52Z", "source": "USPS", - "carrier_code": null, + "carrier_code": "", "tracking_location": { "object": "TrackingLocation", "city": null, @@ -212,12 +278,12 @@ { "object": "TrackingDetail", "message": "Shipping Label Created", - "description": null, + "description": "", "status": "pre_transit", "status_detail": "status_update", - "datetime": "2022-09-18T05:54:58Z", + "datetime": "2023-12-20T10:17:52Z", "source": "USPS", - "carrier_code": null, + "carrier_code": "", "tracking_location": { "object": "TrackingLocation", "city": "HOUSTON", @@ -248,13 +314,13 @@ "alternate_identifier": null, "initial_delivery_attempt": null }, - "public_url": "https://track.easypost.com/djE6dHJrXzc5N2I2NGU5Mjk3NzRkYmM4MzM2OWNiZDAzMzg4OGMz" + "public_url": "https://track.easypost.com/djE6dHJrXzBkMzlkZGVhZTYwMzQwODhiMWZjZDY3NzY2MDE5ZDU1" }, "to_address": { - "id": "adr_a5240b3e4e3f11edbe9fac1f6bc7b362", + "id": "adr_6a67a697b71311ee9536ac1f6bc53342", "object": "Address", - "created_at": "2022-10-17T17:17:57+00:00", - "updated_at": "2022-10-17T17:17:58+00:00", + "created_at": "2024-01-19T21:40:51+00:00", + "updated_at": "2024-01-19T21:40:51+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", @@ -289,10 +355,10 @@ }, "usps_zone": 4, "return_address": { - "id": "adr_a525bec24e3f11ed8908ac1f6b0a0d1e", + "id": "adr_6a6af012b71311ee93943cecef1b359e", "object": "Address", - "created_at": "2022-10-17T17:17:57+00:00", - "updated_at": "2022-10-17T17:17:57+00:00", + "created_at": "2024-01-19T21:40:51+00:00", + "updated_at": "2024-01-19T21:40:51+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -311,10 +377,10 @@ "verifications": {} }, "buyer_address": { - "id": "adr_a5240b3e4e3f11edbe9fac1f6bc7b362", + "id": "adr_6a67a697b71311ee9536ac1f6bc53342", "object": "Address", - "created_at": "2022-10-17T17:17:57+00:00", - "updated_at": "2022-10-17T17:17:58+00:00", + "created_at": "2024-01-19T21:40:51+00:00", + "updated_at": "2024-01-19T21:40:51+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", @@ -350,12 +416,12 @@ "forms": [ { "object": "Form", - "id": "form_7c2a0231740e457887e6a6b893967250", - "created_at": "2022-10-17T17:18:00Z", - "updated_at": "2022-10-17T17:18:00Z", + "id": "form_4294f2d334234c8a80738948c33832c3", + "created_at": "2024-01-19T21:40:53Z", + "updated_at": "2024-01-19T21:40:53Z", "mode": "test", "form_type": "return_packing_slip", - "form_url": "https://easypost-files.s3-us-west-2.amazonaws.com/files/form/20221017/ae040a1c44144ef197119771de234b54.pdf", + "form_url": "https://easypost-files.s3-us-west-2.amazonaws.com/files/form/20240119/14aa86aa8235479fab4e14069ae0e4dd.pdf", "submitted_electronically": null } ], @@ -370,11 +436,11 @@ { "object": "Fee", "type": "PostageFee", - "amount": "10.07000", + "amount": "7.99000", "charged": true, "refunded": false } ], - "id": "shp_d552fce238914554944a7432d3b7c662", + "id": "shp_5d6acc1b88f44743955ee35c7ca4e611", "object": "Shipment" } diff --git a/official/docs/responses/insurance/insurance-create.json b/official/docs/responses/insurance/insurance-create.json index deb8efeb..d26b84b5 100644 --- a/official/docs/responses/insurance/insurance-create.json +++ b/official/docs/responses/insurance/insurance-create.json @@ -1,5 +1,5 @@ { - "id": "ins_7609b3212565474389a311ce8ff70c78", + "id": "ins_0c65f26dcda8479c865bef2e4cb90af3", "object": "Insurance", "mode": "test", "reference": null, @@ -8,10 +8,10 @@ "provider": "easypost", "provider_id": null, "to_address": { - "id": "adr_e0e4047f4e4311ed9b74ac1f6bc7b362", + "id": "adr_6beb8718b71311eea58dac1f6bc539aa", "object": "Address", - "created_at": "2022-10-17T17:48:16+00:00", - "updated_at": "2022-10-17T17:48:16+00:00", + "created_at": "2024-01-19T21:40:53+00:00", + "updated_at": "2024-01-19T21:40:53+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", @@ -45,10 +45,10 @@ } }, "from_address": { - "id": "adr_e0e89e564e4311eda48eac1f6b0a0d1e", + "id": "adr_6bf0bbe4b71311ee96f5ac1f6bc539ae", "object": "Address", - "created_at": "2022-10-17T17:48:16+00:00", - "updated_at": "2022-10-17T17:48:16+00:00", + "created_at": "2024-01-19T21:40:53+00:00", + "updated_at": "2024-01-19T21:40:53+00:00", "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", @@ -67,26 +67,12 @@ "verifications": { "zip4": { "success": true, - "errors": [ - { - "code": "E.SECONDARY_INFORMATION.INVALID", - "field": "street2", - "message": "Invalid secondary information(Apt/Suite#)", - "suggestion": null - } - ], + "errors": [], "details": null }, "delivery": { "success": true, - "errors": [ - { - "code": "E.SECONDARY_INFORMATION.INVALID", - "field": "street2", - "message": "Invalid secondary information(Apt/Suite#)", - "suggestion": null - } - ], + "errors": [], "details": { "latitude": 37.79342, "longitude": -122.40288, @@ -96,16 +82,54 @@ } }, "shipment_id": null, - "tracker": null, + "tracker": { + "id": "trk_6479b5feac8244899897f8b474148608", + "object": "Tracker", + "mode": "test", + "tracking_code": "9400110898825022579493", + "status": "error", + "status_detail": null, + "created_at": "2024-01-19T21:32:23Z", + "updated_at": "2024-01-19T21:32:23Z", + "signed_by": null, + "weight": null, + "est_delivery_date": null, + "shipment_id": null, + "carrier": "USPS", + "tracking_details": [ + { + "object": "TrackingDetail", + "message": "In test mode, only test tracking numbers are valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", + "description": "", + "status": "error", + "status_detail": null, + "datetime": "2024-01-19T21:32:23Z", + "source": "ProcessingError", + "carrier_code": "", + "tracking_location": { + "object": "TrackingLocation", + "city": null, + "state": null, + "country": null, + "zip": null + } + } + ], + "carrier_detail": null, + "finalized": true, + "is_return": false, + "public_url": "https://track.easypost.com/djE6dHJrXzY0NzliNWZlYWM4MjQ0ODk5ODk3ZjhiNDc0MTQ4NjA4", + "fees": [] + }, "tracking_code": "9400110898825022579493", "fee": { "object": "Fee", "type": "InsuranceFee", - "amount": "0.50000", + "amount": "1.00000", "charged": true, "refunded": false }, "messages": [], - "created_at": "2022-10-17T17:48:16Z", - "updated_at": "2022-10-17T17:48:16Z" + "created_at": "2024-01-19T21:40:53Z", + "updated_at": "2024-01-19T21:40:53Z" } diff --git a/official/docs/responses/insurance/insurance-list.json b/official/docs/responses/insurance/insurance-list.json index b5380961..7750c599 100644 --- a/official/docs/responses/insurance/insurance-list.json +++ b/official/docs/responses/insurance/insurance-list.json @@ -1,7 +1,7 @@ { "insurances": [ { - "id": "ins_eb937fd125c4495986d33ab14d175952", + "id": "ins_0c65f26dcda8479c865bef2e4cb90af3", "object": "Insurance", "mode": "test", "reference": "insuranceRef1", @@ -10,10 +10,10 @@ "provider": "easypost", "provider_id": null, "to_address": { - "id": "adr_91a042464be811ed9d0fac1f6b0a0d1e", + "id": "adr_6beb8718b71311eea58dac1f6bc539aa", "object": "Address", - "created_at": "2022-10-14T17:49:36+00:00", - "updated_at": "2022-10-14T17:49:36+00:00", + "created_at": "2024-01-19T21:40:53+00:00", + "updated_at": "2024-01-19T21:40:53+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", @@ -47,10 +47,10 @@ } }, "from_address": { - "id": "adr_91a4575b4be811edab5aac1f6bc7b362", + "id": "adr_6bf0bbe4b71311ee96f5ac1f6bc539ae", "object": "Address", - "created_at": "2022-10-14T17:49:36+00:00", - "updated_at": "2022-10-14T17:49:36+00:00", + "created_at": "2024-01-19T21:40:53+00:00", + "updated_at": "2024-01-19T21:40:53+00:00", "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", @@ -69,26 +69,12 @@ "verifications": { "zip4": { "success": true, - "errors": [ - { - "code": "E.SECONDARY_INFORMATION.INVALID", - "field": "street2", - "message": "Invalid secondary information(Apt/Suite#)", - "suggestion": null - } - ], + "errors": [], "details": null }, "delivery": { "success": true, - "errors": [ - { - "code": "E.SECONDARY_INFORMATION.INVALID", - "field": "street2", - "message": "Invalid secondary information(Apt/Suite#)", - "suggestion": null - } - ], + "errors": [], "details": { "latitude": 37.79342, "longitude": -122.40288, @@ -98,19 +84,57 @@ } }, "shipment_id": null, - "tracker": null, + "tracker": { + "id": "trk_0d317281c8314376810372b729bd9a05", + "object": "Tracker", + "mode": "test", + "tracking_code": "9400110898825022579493", + "status": "error", + "status_detail": null, + "created_at": "2024-01-19T21:40:53Z", + "updated_at": "2024-01-19T21:40:53Z", + "signed_by": null, + "weight": null, + "est_delivery_date": null, + "shipment_id": null, + "carrier": "USPS", + "tracking_details": [ + { + "object": "TrackingDetail", + "message": "In test mode, only test tracking numbers are valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", + "description": "", + "status": "error", + "status_detail": null, + "datetime": "2024-01-19T21:40:53Z", + "source": "ProcessingError", + "carrier_code": "", + "tracking_location": { + "object": "TrackingLocation", + "city": null, + "state": null, + "country": null, + "zip": null + } + } + ], + "carrier_detail": null, + "finalized": true, + "is_return": false, + "public_url": "https://track.easypost.com/djE6dHJrXzBkMzE3MjgxYzgzMTQzNzY4MTAzNzJiNzI5YmQ5YTA1", + "fees": [] + }, "tracking_code": "9400110898825022579493", "fee": { "object": "Fee", "type": "InsuranceFee", - "amount": "0.50000", + "amount": "1.00000", "charged": true, "refunded": false }, "messages": [], - "created_at": "2022-10-14T17:49:36Z", - "updated_at": "2022-10-14T17:49:36Z" + "created_at": "2024-01-19T21:40:53Z", + "updated_at": "2024-01-19T21:40:53Z" } ], - "has_more": false + "has_more": true } diff --git a/official/docs/responses/insurance/insurance-retrieve.json b/official/docs/responses/insurance/insurance-retrieve.json index f4b145f6..4ca2a5bf 100644 --- a/official/docs/responses/insurance/insurance-retrieve.json +++ b/official/docs/responses/insurance/insurance-retrieve.json @@ -1,17 +1,17 @@ { - "id": "ins_eb937fd125c4495986d33ab14d175952", + "id": "ins_0c65f26dcda8479c865bef2e4cb90af3", "object": "Insurance", "mode": "test", - "reference": "insuranceRef1", + "reference": null, "status": "pending", "amount": "100.00000", "provider": "easypost", "provider_id": null, "to_address": { - "id": "adr_91a042464be811ed9d0fac1f6b0a0d1e", + "id": "adr_6beb8718b71311eea58dac1f6bc539aa", "object": "Address", - "created_at": "2022-10-14T17:49:36+00:00", - "updated_at": "2022-10-14T17:49:36+00:00", + "created_at": "2024-01-19T21:40:53+00:00", + "updated_at": "2024-01-19T21:40:53+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", @@ -45,10 +45,10 @@ } }, "from_address": { - "id": "adr_91a4575b4be811edab5aac1f6bc7b362", + "id": "adr_6bf0bbe4b71311ee96f5ac1f6bc539ae", "object": "Address", - "created_at": "2022-10-14T17:49:36+00:00", - "updated_at": "2022-10-14T17:49:36+00:00", + "created_at": "2024-01-19T21:40:53+00:00", + "updated_at": "2024-01-19T21:40:53+00:00", "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", @@ -67,26 +67,12 @@ "verifications": { "zip4": { "success": true, - "errors": [ - { - "code": "E.SECONDARY_INFORMATION.INVALID", - "field": "street2", - "message": "Invalid secondary information(Apt/Suite#)", - "suggestion": null - } - ], + "errors": [], "details": null }, "delivery": { "success": true, - "errors": [ - { - "code": "E.SECONDARY_INFORMATION.INVALID", - "field": "street2", - "message": "Invalid secondary information(Apt/Suite#)", - "suggestion": null - } - ], + "errors": [], "details": { "latitude": 37.79342, "longitude": -122.40288, @@ -96,16 +82,54 @@ } }, "shipment_id": null, - "tracker": null, + "tracker": { + "id": "trk_0d317281c8314376810372b729bd9a05", + "object": "Tracker", + "mode": "test", + "tracking_code": "9400110898825022579493", + "status": "error", + "status_detail": null, + "created_at": "2024-01-19T21:40:53Z", + "updated_at": "2024-01-19T21:40:53Z", + "signed_by": null, + "weight": null, + "est_delivery_date": null, + "shipment_id": null, + "carrier": "USPS", + "tracking_details": [ + { + "object": "TrackingDetail", + "message": "In test mode, only test tracking numbers are valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", + "description": "", + "status": "error", + "status_detail": null, + "datetime": "2024-01-19T21:40:53Z", + "source": "ProcessingError", + "carrier_code": "", + "tracking_location": { + "object": "TrackingLocation", + "city": null, + "state": null, + "country": null, + "zip": null + } + } + ], + "carrier_detail": null, + "finalized": true, + "is_return": false, + "public_url": "https://track.easypost.com/djE6dHJrXzBkMzE3MjgxYzgzMTQzNzY4MTAzNzJiNzI5YmQ5YTA1", + "fees": [] + }, "tracking_code": "9400110898825022579493", "fee": { "object": "Fee", "type": "InsuranceFee", - "amount": "0.50000", + "amount": "1.00000", "charged": true, "refunded": false }, "messages": [], - "created_at": "2022-10-14T17:49:36Z", - "updated_at": "2022-10-14T17:49:36Z" + "created_at": "2024-01-19T21:40:53Z", + "updated_at": "2024-01-19T21:40:53Z" } diff --git a/official/docs/responses/options/options-create-with-options.json b/official/docs/responses/options/options-create-with-options.json index 0271fdc5..04d07c17 100644 --- a/official/docs/responses/options/options-create-with-options.json +++ b/official/docs/responses/options/options-create-with-options.json @@ -1,5 +1,5 @@ { - "created_at": "2022-10-17T17:18:10Z", + "created_at": "2024-01-19T21:40:55Z", "is_return": false, "messages": [], "mode": "test", @@ -19,15 +19,15 @@ "reference": null, "status": "unknown", "tracking_code": null, - "updated_at": "2022-10-17T17:18:10Z", + "updated_at": "2024-01-19T21:40:56Z", "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": { - "id": "cstinfo_455727877713441eae37d0cf3e49b078", + "id": "cstinfo_7c83f1010fb34baf9918aa9e67cdebc0", "object": "CustomsInfo", - "created_at": "2022-10-17T17:18:10Z", - "updated_at": "2022-10-17T17:18:10Z", + "created_at": "2024-01-19T21:40:55Z", + "updated_at": "2024-01-19T21:40:55Z", "contents_explanation": "", "contents_type": "merchandise", "customs_certify": true, @@ -40,10 +40,10 @@ "declaration": null, "customs_items": [ { - "id": "cstitem_748a5250e6a043dd9fa49719d3378062", + "id": "cstitem_897e45137fe5445b8fd25b531fc37493", "object": "CustomsItem", - "created_at": "2022-10-17T17:18:10Z", - "updated_at": "2022-10-17T17:18:10Z", + "created_at": "2024-01-19T21:40:55Z", + "updated_at": "2024-01-19T21:40:55Z", "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": "US", @@ -60,10 +60,10 @@ ] }, "from_address": { - "id": "adr_acae73684e3f11ed83acac1f6bc7bdc6", + "id": "adr_6ccfb677b71311ee974bac1f6bc539ae", "object": "Address", - "created_at": "2022-10-17T17:18:10+00:00", - "updated_at": "2022-10-17T17:18:10+00:00", + "created_at": "2024-01-19T21:40:55+00:00", + "updated_at": "2024-01-19T21:40:55+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -84,10 +84,10 @@ "insurance": null, "order_id": null, "parcel": { - "id": "prcl_1bbb7ebc269f4f1f815ba3abb0381d89", + "id": "prcl_ae2d7d66d6c94f63b588d552a7abe104", "object": "Parcel", - "created_at": "2022-10-17T17:18:10Z", - "updated_at": "2022-10-17T17:18:10Z", + "created_at": "2024-01-19T21:40:55Z", + "updated_at": "2024-01-19T21:40:55Z", "length": 20.2, "width": 10.9, "height": 5.0, @@ -98,48 +98,114 @@ "postage_label": null, "rates": [ { - "id": "rate_75183f00ed5048379b293997cab050e4", + "id": "rate_caad818c21154e50b502f50656955b9a", "object": "Rate", - "created_at": "2022-10-17T17:18:10Z", - "updated_at": "2022-10-17T17:18:10Z", + "created_at": "2024-01-19T21:40:56Z", + "updated_at": "2024-01-19T21:40:56Z", + "mode": "test", + "service": "Express", + "carrier": "USPS", + "rate": "46.85", + "currency": "USD", + "retail_rate": "54.20", + "retail_currency": "USD", + "list_rate": "46.85", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": null, + "delivery_date": null, + "delivery_date_guaranteed": false, + "est_delivery_days": null, + "shipment_id": "shp_6602fa67597a43a3abdc4b044cef3fe0", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + }, + { + "id": "rate_77f385ab06f64e2caf8a0b8c29390eee", + "object": "Rate", + "created_at": "2024-01-19T21:40:56Z", + "updated_at": "2024-01-19T21:40:56Z", "mode": "test", "service": "Priority", "carrier": "USPS", - "rate": "10.07", + "rate": "7.99", "currency": "USD", - "retail_rate": "13.45", + "retail_rate": "14.05", "retail_currency": "USD", - "list_rate": "10.07", + "list_rate": "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 2, - "shipment_id": "shp_c40aadc091ac456a8d611bb978aaa323", - "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" + "shipment_id": "shp_6602fa67597a43a3abdc4b044cef3fe0", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, { - "id": "rate_595855c1c20b4675ac0dd3ad6fa6b9bc", + "id": "rate_47009bdbca044be1b9effe5ef8abb17f", "object": "Rate", - "created_at": "2022-10-17T17:18:10Z", - "updated_at": "2022-10-17T17:18:10Z", + "created_at": "2024-01-19T21:40:56Z", + "updated_at": "2024-01-19T21:40:56Z", "mode": "test", - "service": "Express", + "service": "GroundAdvantage", "carrier": "USPS", - "rate": "44.55", + "rate": "6.79", "currency": "USD", - "retail_rate": "51.30", + "retail_rate": "12.45", "retail_currency": "USD", - "list_rate": "44.55", + "list_rate": "8.92", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": null, - "shipment_id": "shp_c40aadc091ac456a8d611bb978aaa323", - "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" + "est_delivery_days": 3, + "shipment_id": "shp_6602fa67597a43a3abdc4b044cef3fe0", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + }, + { + "id": "rate_f7a4973a87f646fe9c3ff93cfdff1de4", + "object": "Rate", + "created_at": "2024-01-19T21:40:56Z", + "updated_at": "2024-01-19T21:40:56Z", + "mode": "test", + "service": "First", + "carrier": "USPS", + "rate": "6.79", + "currency": "USD", + "retail_rate": "12.45", + "retail_currency": "USD", + "list_rate": "8.92", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": 3, + "delivery_date": null, + "delivery_date_guaranteed": false, + "est_delivery_days": 3, + "shipment_id": "shp_6602fa67597a43a3abdc4b044cef3fe0", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + }, + { + "id": "rate_5e08b7a12bf040d690cd045d878beb67", + "object": "Rate", + "created_at": "2024-01-19T21:40:56Z", + "updated_at": "2024-01-19T21:40:56Z", + "mode": "test", + "service": "ParcelSelect", + "carrier": "USPS", + "rate": "6.79", + "currency": "USD", + "retail_rate": "12.45", + "retail_currency": "USD", + "list_rate": "8.92", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": 3, + "delivery_date": null, + "delivery_date_guaranteed": false, + "est_delivery_days": 3, + "shipment_id": "shp_6602fa67597a43a3abdc4b044cef3fe0", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" } ], "refund_status": null, @@ -147,10 +213,10 @@ "selected_rate": null, "tracker": null, "to_address": { - "id": "adr_acabfe634e3f11edaee3ac1f6bc72124", + "id": "adr_6cccdebbb71311ee9631ac1f6bc53342", "object": "Address", - "created_at": "2022-10-17T17:18:10+00:00", - "updated_at": "2022-10-17T17:18:10+00:00", + "created_at": "2024-01-19T21:40:55+00:00", + "updated_at": "2024-01-19T21:40:55+00:00", "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", @@ -170,10 +236,10 @@ }, "usps_zone": 4, "return_address": { - "id": "adr_acae73684e3f11ed83acac1f6bc7bdc6", + "id": "adr_6ccfb677b71311ee974bac1f6bc539ae", "object": "Address", - "created_at": "2022-10-17T17:18:10+00:00", - "updated_at": "2022-10-17T17:18:10+00:00", + "created_at": "2024-01-19T21:40:55+00:00", + "updated_at": "2024-01-19T21:40:55+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -192,10 +258,10 @@ "verifications": {} }, "buyer_address": { - "id": "adr_acabfe634e3f11edaee3ac1f6bc72124", + "id": "adr_6cccdebbb71311ee9631ac1f6bc53342", "object": "Address", - "created_at": "2022-10-17T17:18:10+00:00", - "updated_at": "2022-10-17T17:18:10+00:00", + "created_at": "2024-01-19T21:40:55+00:00", + "updated_at": "2024-01-19T21:40:55+00:00", "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", @@ -215,6 +281,6 @@ }, "forms": [], "fees": [], - "id": "shp_c40aadc091ac456a8d611bb978aaa323", + "id": "shp_6602fa67597a43a3abdc4b044cef3fe0", "object": "Shipment" } diff --git a/official/docs/responses/orders/orders-buy.json b/official/docs/responses/orders/orders-buy.json index ad73b91c..3ba91d4b 100644 --- a/official/docs/responses/orders/orders-buy.json +++ b/official/docs/responses/orders/orders-buy.json @@ -1,6 +1,6 @@ { "mode": "test", - "reference": null, + "reference": "", "is_return": false, "options": { "currency": "USD", @@ -9,14 +9,14 @@ } }, "messages": [], - "created_at": "2022-10-17T17:17:04Z", - "updated_at": "2022-10-17T17:17:04Z", + "created_at": "2024-01-19T21:40:57Z", + "updated_at": "2024-01-19T21:40:58Z", "customs_info": null, "from_address": { - "id": "adr_6e0ac14a1f4711eeacd5ac1f6bc539ae", + "id": "adr_6e41e4a5b71311ee97ceac1f6bc539ae", "object": "Address", - "created_at": "2023-07-10T17:30:14+00:00", - "updated_at": "2023-07-10T17:30:14+00:00", + "created_at": "2024-01-19T21:40:57+00:00", + "updated_at": "2024-01-19T21:40:57+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -35,14 +35,14 @@ "verifications": {} }, "to_address": { - "id": "adr_6e09528d1f4711ee9deaac1f6bc53342", + "id": "adr_6e3fba44b71311ee96afac1f6bc53342", "object": "Address", - "created_at": "2023-07-10T17:30:14+00:00", - "updated_at": "2023-07-10T17:30:15+00:00", + "created_at": "2024-01-19T21:40:57+00:00", + "updated_at": "2024-01-19T21:40:59+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", @@ -72,14 +72,14 @@ } }, "buyer_address": { - "id": "adr_6e09528d1f4711ee9deaac1f6bc53342", + "id": "adr_6e3fba44b71311ee96afac1f6bc53342", "object": "Address", - "created_at": "2023-07-10T17:30:14+00:00", - "updated_at": "2023-07-10T17:30:15+00:00", + "created_at": "2024-01-19T21:40:57+00:00", + "updated_at": "2024-01-19T21:40:59+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", @@ -109,10 +109,10 @@ } }, "return_address": { - "id": "adr_6e0ac14a1f4711eeacd5ac1f6bc539ae", + "id": "adr_6e41e4a5b71311ee97ceac1f6bc539ae", "object": "Address", - "created_at": "2023-07-10T17:30:14+00:00", - "updated_at": "2023-07-10T17:30:14+00:00", + "created_at": "2024-01-19T21:40:57+00:00", + "updated_at": "2024-01-19T21:40:57+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -132,7 +132,7 @@ }, "shipments": [ { - "created_at": "2023-07-10T17:30:14Z", + "created_at": "2024-01-19T21:40:57Z", "is_return": false, "messages": [], "mode": "test", @@ -145,17 +145,17 @@ }, "reference": null, "status": "unknown", - "tracking_code": "9400100105440232838888", - "updated_at": "2023-07-10T17:30:16Z", + "tracking_code": "9400100207552010707617", + "updated_at": "2024-01-19T21:40:59Z", "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": null, "from_address": { - "id": "adr_6e0ac14a1f4711eeacd5ac1f6bc539ae", + "id": "adr_6e41e4a5b71311ee97ceac1f6bc539ae", "object": "Address", - "created_at": "2023-07-10T17:30:14+00:00", - "updated_at": "2023-07-10T17:30:14+00:00", + "created_at": "2024-01-19T21:40:57+00:00", + "updated_at": "2024-01-19T21:40:57+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -174,12 +174,12 @@ "verifications": {} }, "insurance": null, - "order_id": "order_2666c9282ad54765b74b9be1c0cccf09", + "order_id": "order_c9ac9440c9b14226baf7e2de4e9b43b8", "parcel": { - "id": "prcl_2498d756b1c740b484f5665e5fdd697f", + "id": "prcl_fa3d9b3650e6497a96aaa24aae987560", "object": "Parcel", - "created_at": "2023-07-10T17:30:14Z", - "updated_at": "2023-07-10T17:30:14Z", + "created_at": "2024-01-19T21:40:57Z", + "updated_at": "2024-01-19T21:40:57Z", "length": null, "width": null, "height": null, @@ -189,17 +189,17 @@ }, "postage_label": { "object": "PostageLabel", - "id": "pl_ce7b1a9249794cd697c87395d660d8f6", - "created_at": "2023-07-10T17:30:15Z", - "updated_at": "2023-07-10T17:30:16Z", + "id": "pl_0fc65726a88e422c8dd01e6b33a7d89d", + "created_at": "2024-01-19T21:40:59Z", + "updated_at": "2024-01-19T21:40:59Z", "date_advance": 0, "integrated_form": "none", - "label_date": "2023-07-10T17:30:15Z", + "label_date": "2024-01-19T21:40:59Z", "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": "image/png", - "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20230710/e657608f44b6ec482c86742b7b8ea5d74d.png", + "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8e7c19abb9fdd42719607060930ad4eaf.png", "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, @@ -207,107 +207,129 @@ }, "rates": [ { - "id": "rate_d669ba48a22b4f7f9a07939bf509de2a", + "id": "rate_a0ccacd39a7d477f8bb62010398efd61", "object": "Rate", - "created_at": "2023-07-10T17:30:15Z", - "updated_at": "2023-07-10T17:30:15Z", + "created_at": "2024-01-19T21:40:58Z", + "updated_at": "2024-01-19T21:40:58Z", "mode": "test", - "service": "Express", + "service": "GroundAdvantage", "carrier": "USPS", - "rate": "31.25", + "rate": "4.81", "currency": "USD", - "retail_rate": "35.80", + "retail_rate": "6.35", "retail_currency": "USD", - "list_rate": "31.25", + "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": null, - "shipment_id": "shp_06a2ad37dc1c425c88c593f3e9cf5ea4", + "est_delivery_days": 3, + "shipment_id": "shp_4247b1c0069e44ca9562013f148896da", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, { - "id": "rate_ee0ba720bd6a4338b2945db6e450baba", + "id": "rate_5a9f414cda3946248ebbfa1d5df9f9e8", "object": "Rate", - "created_at": "2023-07-10T17:30:15Z", - "updated_at": "2023-07-10T17:30:15Z", + "created_at": "2024-01-19T21:40:58Z", + "updated_at": "2024-01-19T21:40:58Z", "mode": "test", - "service": "Priority", + "service": "First", "carrier": "USPS", - "rate": "7.15", + "rate": "4.81", "currency": "USD", - "retail_rate": "10.20", + "retail_rate": "6.35", "retail_currency": "USD", - "list_rate": "8.24", + "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 2, + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 2, - "shipment_id": "shp_06a2ad37dc1c425c88c593f3e9cf5ea4", + "est_delivery_days": 3, + "shipment_id": "shp_4247b1c0069e44ca9562013f148896da", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, { - "id": "rate_fd2144b885dd4725bfdf4ece351e9231", + "id": "rate_f46e6837bc104d58b1b36d247664204a", "object": "Rate", - "created_at": "2023-07-10T17:30:15Z", - "updated_at": "2023-07-10T17:30:15Z", + "created_at": "2024-01-19T21:40:58Z", + "updated_at": "2024-01-19T21:40:58Z", "mode": "test", - "service": "GroundAdvantage", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": "USD", - "retail_rate": "4.81", + "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, + "delivery_date": null, + "delivery_date_guaranteed": false, + "est_delivery_days": 3, + "shipment_id": "shp_4247b1c0069e44ca9562013f148896da", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + }, + { + "id": "rate_878b7574c72845528abe04f2316a255c", + "object": "Rate", + "created_at": "2024-01-19T21:40:58Z", + "updated_at": "2024-01-19T21:40:58Z", + "mode": "test", + "service": "Express", + "carrier": "USPS", + "rate": "31.25", + "currency": "USD", + "retail_rate": "35.80", + "retail_currency": "USD", + "list_rate": "31.25", + "list_currency": "USD", + "billing_type": "easypost", "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": null, - "shipment_id": "shp_06a2ad37dc1c425c88c593f3e9cf5ea4", + "shipment_id": "shp_4247b1c0069e44ca9562013f148896da", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, { - "id": "rate_5dff1ed420df4a58833d9b47563565f6", + "id": "rate_a370ea5586c8487b995e0c5e0eea92ae", "object": "Rate", - "created_at": "2023-07-10T17:30:15Z", - "updated_at": "2023-07-10T17:30:15Z", + "created_at": "2024-01-19T21:40:58Z", + "updated_at": "2024-01-19T21:40:58Z", "mode": "test", - "service": "First", + "service": "Priority", "carrier": "USPS", - "rate": "4.81", + "rate": "6.95", "currency": "USD", - "retail_rate": "4.81", + "retail_rate": "10.20", "retail_currency": "USD", - "list_rate": "4.81", + "list_rate": "8.24", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, + "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, - "shipment_id": "shp_06a2ad37dc1c425c88c593f3e9cf5ea4", + "est_delivery_days": 2, + "shipment_id": "shp_4247b1c0069e44ca9562013f148896da", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" } ], "refund_status": null, "scan_form": null, "selected_rate": { - "id": "rate_5dff1ed420df4a58833d9b47563565f6", + "id": "rate_5a9f414cda3946248ebbfa1d5df9f9e8", "object": "Rate", - "created_at": "2023-07-10T17:30:15Z", - "updated_at": "2023-07-10T17:30:15Z", + "created_at": "2024-01-19T21:40:59Z", + "updated_at": "2024-01-19T21:40:59Z", "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": "USD", - "retail_rate": "4.81", + "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", "list_currency": "USD", @@ -316,37 +338,37 @@ "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_06a2ad37dc1c425c88c593f3e9cf5ea4", + "shipment_id": "shp_4247b1c0069e44ca9562013f148896da", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, "tracker": { - "id": "trk_1c56526a89e04c4c80013fd763f91228", + "id": "trk_96c00f083f8b402cb0d735b68cf121bc", "object": "Tracker", "mode": "test", - "tracking_code": "9400100105440232838888", + "tracking_code": "9400100207552010707617", "status": "unknown", "status_detail": "unknown", - "created_at": "2023-07-10T17:30:16Z", - "updated_at": "2023-07-10T17:30:16Z", + "created_at": "2024-01-19T21:41:00Z", + "updated_at": "2024-01-19T21:41:00Z", "signed_by": null, "weight": null, "est_delivery_date": null, - "shipment_id": "shp_06a2ad37dc1c425c88c593f3e9cf5ea4", + "shipment_id": "shp_4247b1c0069e44ca9562013f148896da", "carrier": "USPS", "tracking_details": [], "fees": [], "carrier_detail": null, - "public_url": "https://track.easypost.com/djE6dHJrXzFjNTY1MjZhODllMDRjNGM4MDAxM2ZkNzYzZjkxMjI4" + "public_url": "https://track.easypost.com/djE6dHJrXzk2YzAwZjA4M2Y4YjQwMmNiMGQ3MzViNjhjZjEyMWJj" }, "to_address": { - "id": "adr_6e09528d1f4711ee9deaac1f6bc53342", + "id": "adr_6e3fba44b71311ee96afac1f6bc53342", "object": "Address", - "created_at": "2023-07-10T17:30:14+00:00", - "updated_at": "2023-07-10T17:30:15+00:00", + "created_at": "2024-01-19T21:40:57+00:00", + "updated_at": "2024-01-19T21:40:59+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", @@ -377,10 +399,10 @@ }, "usps_zone": 4, "return_address": { - "id": "adr_6e0ac14a1f4711eeacd5ac1f6bc539ae", + "id": "adr_6e41e4a5b71311ee97ceac1f6bc539ae", "object": "Address", - "created_at": "2023-07-10T17:30:14+00:00", - "updated_at": "2023-07-10T17:30:14+00:00", + "created_at": "2024-01-19T21:40:57+00:00", + "updated_at": "2024-01-19T21:40:57+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -399,14 +421,14 @@ "verifications": {} }, "buyer_address": { - "id": "adr_6e09528d1f4711ee9deaac1f6bc53342", + "id": "adr_6e3fba44b71311ee96afac1f6bc53342", "object": "Address", - "created_at": "2023-07-10T17:30:14+00:00", - "updated_at": "2023-07-10T17:30:15+00:00", + "created_at": "2024-01-19T21:40:57+00:00", + "updated_at": "2024-01-19T21:40:59+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", @@ -452,100 +474,122 @@ "refunded": false } ], - "id": "shp_06a2ad37dc1c425c88c593f3e9cf5ea4", + "id": "shp_4247b1c0069e44ca9562013f148896da", "object": "Shipment" } ], "rates": [ { - "id": "rate_d669ba48a22b4f7f9a07939bf509de2a", + "id": "rate_a0ccacd39a7d477f8bb62010398efd61", "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "Express", + "service": "GroundAdvantage", "carrier": "USPS", - "rate": "31.25", + "rate": "4.81", "currency": "USD", - "retail_rate": "35.80", + "retail_rate": "6.35", "retail_currency": "USD", - "list_rate": "31.25", + "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": null, - "shipment_id": "shp_06a2ad37dc1c425c88c593f3e9cf5ea4", + "est_delivery_days": 3, + "shipment_id": "shp_4247b1c0069e44ca9562013f148896da", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, { - "id": "rate_ee0ba720bd6a4338b2945db6e450baba", + "id": "rate_5a9f414cda3946248ebbfa1d5df9f9e8", "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "Priority", + "service": "First", "carrier": "USPS", - "rate": "7.15", + "rate": "4.81", "currency": "USD", - "retail_rate": "10.20", + "retail_rate": "6.35", "retail_currency": "USD", - "list_rate": "8.24", + "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 2, + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 2, - "shipment_id": "shp_06a2ad37dc1c425c88c593f3e9cf5ea4", + "est_delivery_days": 3, + "shipment_id": "shp_4247b1c0069e44ca9562013f148896da", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, { - "id": "rate_fd2144b885dd4725bfdf4ece351e9231", + "id": "rate_f46e6837bc104d58b1b36d247664204a", "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "GroundAdvantage", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": "USD", - "retail_rate": "4.81", + "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, + "delivery_date": null, + "delivery_date_guaranteed": false, + "est_delivery_days": 3, + "shipment_id": "shp_4247b1c0069e44ca9562013f148896da", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + }, + { + "id": "rate_878b7574c72845528abe04f2316a255c", + "object": "Rate", + "created_at": null, + "updated_at": null, + "mode": "test", + "service": "Express", + "carrier": "USPS", + "rate": "31.25", + "currency": "USD", + "retail_rate": "35.80", + "retail_currency": "USD", + "list_rate": "31.25", + "list_currency": "USD", + "billing_type": "easypost", "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": null, - "shipment_id": "shp_06a2ad37dc1c425c88c593f3e9cf5ea4", + "shipment_id": "shp_4247b1c0069e44ca9562013f148896da", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, { - "id": "rate_5dff1ed420df4a58833d9b47563565f6", + "id": "rate_a370ea5586c8487b995e0c5e0eea92ae", "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "First", + "service": "Priority", "carrier": "USPS", - "rate": "4.81", + "rate": "6.95", "currency": "USD", - "retail_rate": "4.81", + "retail_rate": "10.20", "retail_currency": "USD", - "list_rate": "4.81", + "list_rate": "8.24", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, + "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, - "shipment_id": "shp_06a2ad37dc1c425c88c593f3e9cf5ea4", + "est_delivery_days": 2, + "shipment_id": "shp_4247b1c0069e44ca9562013f148896da", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" } ], - "id": "order_2666c9282ad54765b74b9be1c0cccf09", + "id": "order_c9ac9440c9b14226baf7e2de4e9b43b8", "object": "Order" } diff --git a/official/docs/responses/orders/orders-create.json b/official/docs/responses/orders/orders-create.json index 1c8a1b95..839baaf7 100644 --- a/official/docs/responses/orders/orders-create.json +++ b/official/docs/responses/orders/orders-create.json @@ -1,6 +1,6 @@ { "mode": "test", - "reference": null, + "reference": "", "is_return": false, "options": { "currency": "USD", @@ -9,14 +9,14 @@ } }, "messages": [], - "created_at": "2022-10-17T17:17:01Z", - "updated_at": "2022-10-17T17:17:01Z", + "created_at": "2024-01-19T21:47:15Z", + "updated_at": "2024-01-19T21:47:16Z", "customs_info": null, "from_address": { - "id": "adr_6c6d8d251f4711eeabedac1f6bc539ae", + "id": "adr_4f938043b71411eea2f2ac1f6bc53342", "object": "Address", - "created_at": "2023-07-10T17:30:11+00:00", - "updated_at": "2023-07-10T17:30:11+00:00", + "created_at": "2024-01-19T21:47:15+00:00", + "updated_at": "2024-01-19T21:47:15+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -35,10 +35,10 @@ "verifications": {} }, "to_address": { - "id": "adr_6c6c48991f4711eeabeaac1f6bc539ae", + "id": "adr_4f91cfcfb71411eea2f1ac1f6bc53342", "object": "Address", - "created_at": "2023-07-10T17:30:11+00:00", - "updated_at": "2023-07-10T17:30:11+00:00", + "created_at": "2024-01-19T21:47:15+00:00", + "updated_at": "2024-01-19T21:47:15+00:00", "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", @@ -57,10 +57,10 @@ "verifications": {} }, "buyer_address": { - "id": "adr_6c6c48991f4711eeabeaac1f6bc539ae", + "id": "adr_4f91cfcfb71411eea2f1ac1f6bc53342", "object": "Address", - "created_at": "2023-07-10T17:30:11+00:00", - "updated_at": "2023-07-10T17:30:11+00:00", + "created_at": "2024-01-19T21:47:15+00:00", + "updated_at": "2024-01-19T21:47:15+00:00", "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", @@ -79,10 +79,10 @@ "verifications": {} }, "return_address": { - "id": "adr_6c6d8d251f4711eeabedac1f6bc539ae", + "id": "adr_4f938043b71411eea2f2ac1f6bc53342", "object": "Address", - "created_at": "2023-07-10T17:30:11+00:00", - "updated_at": "2023-07-10T17:30:11+00:00", + "created_at": "2024-01-19T21:47:15+00:00", + "updated_at": "2024-01-19T21:47:15+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -102,24 +102,24 @@ }, "shipments": [ { - "created_at": "2023-07-10T17:30:11Z", + "created_at": "2024-01-19T21:47:15Z", "is_return": false, "messages": [ { "carrier": "DhlEcs", - "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", "message": "Unauthorized. Please check credentials and try again" }, { "carrier": "DhlEcs", - "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", "message": "Unauthorized. Please check credentials and try again" }, { "carrier": "DhlEcs", - "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", "type": "rate_error", "message": "Unauthorized. Please check credentials and try again" }, @@ -137,7 +137,7 @@ }, { "carrier": "DhlEcs", - "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", "type": "rate_error", "message": "Unauthorized. Please check credentials and try again" } @@ -153,16 +153,16 @@ "reference": null, "status": "unknown", "tracking_code": null, - "updated_at": "2023-07-10T17:30:11Z", + "updated_at": "2024-01-19T21:47:15Z", "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": null, "from_address": { - "id": "adr_6c6d8d251f4711eeabedac1f6bc539ae", + "id": "adr_4f938043b71411eea2f2ac1f6bc53342", "object": "Address", - "created_at": "2023-07-10T17:30:11+00:00", - "updated_at": "2023-07-10T17:30:11+00:00", + "created_at": "2024-01-19T21:47:15+00:00", + "updated_at": "2024-01-19T21:47:15+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -181,12 +181,12 @@ "verifications": {} }, "insurance": null, - "order_id": "order_54ec94ea2a7a43a2aa078db791a2358a", + "order_id": "order_fd0d98639ea047f0a48d8ff737f317b2", "parcel": { - "id": "prcl_f767a01befa246b487a99ee646babafd", + "id": "prcl_c8daca0797224644b22bc238a250ff0e", "object": "Parcel", - "created_at": "2023-07-10T17:30:11Z", - "updated_at": "2023-07-10T17:30:11Z", + "created_at": "2024-01-19T21:47:15Z", + "updated_at": "2024-01-19T21:47:15Z", "length": null, "width": null, "height": null, @@ -197,82 +197,82 @@ "postage_label": null, "rates": [ { - "id": "rate_8792de9e2c8c4b61a5cc48eaf30215e0", + "id": "rate_0dcd85915704404989569b945799b52f", "object": "Rate", - "created_at": "2023-07-10T17:30:12Z", - "updated_at": "2023-07-10T17:30:12Z", + "created_at": "2024-01-19T21:47:16Z", + "updated_at": "2024-01-19T21:47:16Z", "mode": "test", - "service": "Express", + "service": "Priority", "carrier": "USPS", - "rate": "31.25", + "rate": "6.95", "currency": "USD", - "retail_rate": "35.80", + "retail_rate": "10.20", "retail_currency": "USD", - "list_rate": "31.25", + "list_rate": "8.24", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, + "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": null, - "shipment_id": "shp_c2ae47f831e74c518df3ee5f3cc379fd", + "est_delivery_days": 2, + "shipment_id": "shp_8b0c0f5ead074e8fb9cf3b840c22454d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, { - "id": "rate_77b150e652fa4f8b8a1457096f3fe4f6", + "id": "rate_7e59c26baccf40b7b23ccc045b248ebf", "object": "Rate", - "created_at": "2023-07-10T17:30:12Z", - "updated_at": "2023-07-10T17:30:12Z", + "created_at": "2024-01-19T21:47:16Z", + "updated_at": "2024-01-19T21:47:16Z", "mode": "test", - "service": "Priority", + "service": "GroundAdvantage", "carrier": "USPS", - "rate": "7.15", + "rate": "4.81", "currency": "USD", - "retail_rate": "10.20", + "retail_rate": "6.35", "retail_currency": "USD", - "list_rate": "8.24", + "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 2, + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 2, - "shipment_id": "shp_c2ae47f831e74c518df3ee5f3cc379fd", + "est_delivery_days": 3, + "shipment_id": "shp_8b0c0f5ead074e8fb9cf3b840c22454d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, { - "id": "rate_1249107f4b3045d9b214445a2bf257cf", + "id": "rate_b231b564a8234095b5b8aef24aa765e6", "object": "Rate", - "created_at": "2023-07-10T17:30:12Z", - "updated_at": "2023-07-10T17:30:12Z", + "created_at": "2024-01-19T21:47:16Z", + "updated_at": "2024-01-19T21:47:16Z", "mode": "test", - "service": "GroundAdvantage", + "service": "First", "carrier": "USPS", "rate": "4.81", "currency": "USD", - "retail_rate": "4.81", + "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": null, - "shipment_id": "shp_c2ae47f831e74c518df3ee5f3cc379fd", + "est_delivery_days": 3, + "shipment_id": "shp_8b0c0f5ead074e8fb9cf3b840c22454d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, { - "id": "rate_a4eaa0ee1fb94d768b7544b3663779f3", + "id": "rate_7591b10c8e6e46cb9faa1eb63e636679", "object": "Rate", - "created_at": "2023-07-10T17:30:12Z", - "updated_at": "2023-07-10T17:30:12Z", + "created_at": "2024-01-19T21:47:16Z", + "updated_at": "2024-01-19T21:47:16Z", "mode": "test", - "service": "First", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": "USD", - "retail_rate": "4.81", + "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", "list_currency": "USD", @@ -281,7 +281,29 @@ "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_c2ae47f831e74c518df3ee5f3cc379fd", + "shipment_id": "shp_8b0c0f5ead074e8fb9cf3b840c22454d", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + }, + { + "id": "rate_5290a94545ac426c9a2107026b7844da", + "object": "Rate", + "created_at": "2024-01-19T21:47:16Z", + "updated_at": "2024-01-19T21:47:16Z", + "mode": "test", + "service": "Express", + "carrier": "USPS", + "rate": "31.25", + "currency": "USD", + "retail_rate": "35.80", + "retail_currency": "USD", + "list_rate": "31.25", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": null, + "delivery_date": null, + "delivery_date_guaranteed": false, + "est_delivery_days": null, + "shipment_id": "shp_8b0c0f5ead074e8fb9cf3b840c22454d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" } ], @@ -290,10 +312,10 @@ "selected_rate": null, "tracker": null, "to_address": { - "id": "adr_6c6c48991f4711eeabeaac1f6bc539ae", + "id": "adr_4f91cfcfb71411eea2f1ac1f6bc53342", "object": "Address", - "created_at": "2023-07-10T17:30:11+00:00", - "updated_at": "2023-07-10T17:30:11+00:00", + "created_at": "2024-01-19T21:47:15+00:00", + "updated_at": "2024-01-19T21:47:15+00:00", "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", @@ -313,10 +335,10 @@ }, "usps_zone": 4, "return_address": { - "id": "adr_6c6d8d251f4711eeabedac1f6bc539ae", + "id": "adr_4f938043b71411eea2f2ac1f6bc53342", "object": "Address", - "created_at": "2023-07-10T17:30:11+00:00", - "updated_at": "2023-07-10T17:30:11+00:00", + "created_at": "2024-01-19T21:47:15+00:00", + "updated_at": "2024-01-19T21:47:15+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -335,10 +357,10 @@ "verifications": {} }, "buyer_address": { - "id": "adr_6c6c48991f4711eeabeaac1f6bc539ae", + "id": "adr_4f91cfcfb71411eea2f1ac1f6bc53342", "object": "Address", - "created_at": "2023-07-10T17:30:11+00:00", - "updated_at": "2023-07-10T17:30:11+00:00", + "created_at": "2024-01-19T21:47:15+00:00", + "updated_at": "2024-01-19T21:47:15+00:00", "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", @@ -358,88 +380,88 @@ }, "forms": [], "fees": [], - "id": "shp_c2ae47f831e74c518df3ee5f3cc379fd", + "id": "shp_8b0c0f5ead074e8fb9cf3b840c22454d", "object": "Shipment" } ], "rates": [ { - "id": "rate_8792de9e2c8c4b61a5cc48eaf30215e0", + "id": "rate_0dcd85915704404989569b945799b52f", "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "Express", + "service": "Priority", "carrier": "USPS", - "rate": "31.25", + "rate": "6.95", "currency": "USD", - "retail_rate": "35.80", + "retail_rate": "10.20", "retail_currency": "USD", - "list_rate": "31.25", + "list_rate": "8.24", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, + "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": null, - "shipment_id": "shp_c2ae47f831e74c518df3ee5f3cc379fd", + "est_delivery_days": 2, + "shipment_id": "shp_8b0c0f5ead074e8fb9cf3b840c22454d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, { - "id": "rate_77b150e652fa4f8b8a1457096f3fe4f6", + "id": "rate_7e59c26baccf40b7b23ccc045b248ebf", "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "Priority", + "service": "GroundAdvantage", "carrier": "USPS", - "rate": "7.15", + "rate": "4.81", "currency": "USD", - "retail_rate": "10.20", + "retail_rate": "6.35", "retail_currency": "USD", - "list_rate": "8.24", + "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 2, + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 2, - "shipment_id": "shp_c2ae47f831e74c518df3ee5f3cc379fd", + "est_delivery_days": 3, + "shipment_id": "shp_8b0c0f5ead074e8fb9cf3b840c22454d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, { - "id": "rate_1249107f4b3045d9b214445a2bf257cf", + "id": "rate_b231b564a8234095b5b8aef24aa765e6", "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "GroundAdvantage", + "service": "First", "carrier": "USPS", "rate": "4.81", "currency": "USD", - "retail_rate": "4.81", + "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": null, - "shipment_id": "shp_c2ae47f831e74c518df3ee5f3cc379fd", + "est_delivery_days": 3, + "shipment_id": "shp_8b0c0f5ead074e8fb9cf3b840c22454d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, { - "id": "rate_a4eaa0ee1fb94d768b7544b3663779f3", + "id": "rate_7591b10c8e6e46cb9faa1eb63e636679", "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "First", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": "USD", - "retail_rate": "4.81", + "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", "list_currency": "USD", @@ -448,10 +470,32 @@ "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_c2ae47f831e74c518df3ee5f3cc379fd", + "shipment_id": "shp_8b0c0f5ead074e8fb9cf3b840c22454d", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + }, + { + "id": "rate_5290a94545ac426c9a2107026b7844da", + "object": "Rate", + "created_at": null, + "updated_at": null, + "mode": "test", + "service": "Express", + "carrier": "USPS", + "rate": "31.25", + "currency": "USD", + "retail_rate": "35.80", + "retail_currency": "USD", + "list_rate": "31.25", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": null, + "delivery_date": null, + "delivery_date_guaranteed": false, + "est_delivery_days": null, + "shipment_id": "shp_8b0c0f5ead074e8fb9cf3b840c22454d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" } ], - "id": "order_54ec94ea2a7a43a2aa078db791a2358a", + "id": "order_fd0d98639ea047f0a48d8ff737f317b2", "object": "Order" } diff --git a/official/docs/responses/orders/orders-one-call-buy.json b/official/docs/responses/orders/orders-one-call-buy.json index a6151309..e8d8f999 100644 --- a/official/docs/responses/orders/orders-one-call-buy.json +++ b/official/docs/responses/orders/orders-one-call-buy.json @@ -1,7 +1,7 @@ { "messages": [], "mode": "test", - "reference": null, + "reference": "", "is_return": false, "options": { "currency": "USD", @@ -9,14 +9,14 @@ "type": "SENDER" } }, - "created_at": "2022-10-17T17:17:06Z", - "updated_at": "2022-10-17T17:17:06Z", + "created_at": "2024-01-19T21:41:00Z", + "updated_at": "2024-01-19T21:41:00Z", "customs_info": null, "from_address": { - "id": "adr_868dc1cf4e3f11edb2afac1f6bc7b362", + "id": "adr_6ffbd0f5b71311ee975cac1f6bc53342", "object": "Address", - "created_at": "2022-10-17T17:17:06+00:00", - "updated_at": "2022-10-17T17:17:06+00:00", + "created_at": "2024-01-19T21:41:00+00:00", + "updated_at": "2024-01-19T21:41:00+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -35,14 +35,14 @@ "verifications": {} }, "to_address": { - "id": "adr_868c6c224e3f11eda0cfac1f6bc72124", + "id": "adr_6ffa7cc8b71311ee9870ac1f6bc539ae", "object": "Address", - "created_at": "2022-10-17T17:17:06+00:00", - "updated_at": "2022-10-17T17:17:06+00:00", + "created_at": "2024-01-19T21:41:00+00:00", + "updated_at": "2024-01-19T21:41:00+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", @@ -72,14 +72,14 @@ } }, "buyer_address": { - "id": "adr_868c6c224e3f11eda0cfac1f6bc72124", + "id": "adr_6ffa7cc8b71311ee9870ac1f6bc539ae", "object": "Address", - "created_at": "2022-10-17T17:17:06+00:00", - "updated_at": "2022-10-17T17:17:06+00:00", + "created_at": "2024-01-19T21:41:00+00:00", + "updated_at": "2024-01-19T21:41:00+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", @@ -109,10 +109,10 @@ } }, "return_address": { - "id": "adr_868dc1cf4e3f11edb2afac1f6bc7b362", + "id": "adr_6ffbd0f5b71311ee975cac1f6bc53342", "object": "Address", - "created_at": "2022-10-17T17:17:06+00:00", - "updated_at": "2022-10-17T17:17:06+00:00", + "created_at": "2024-01-19T21:41:00+00:00", + "updated_at": "2024-01-19T21:41:00+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -132,7 +132,7 @@ }, "shipments": [ { - "created_at": "2022-10-17T17:17:06Z", + "created_at": "2024-01-19T21:41:00Z", "is_return": false, "messages": [], "mode": "test", @@ -145,17 +145,17 @@ }, "reference": null, "status": "unknown", - "tracking_code": "9400100106068143632839", - "updated_at": "2022-10-17T17:17:07Z", + "tracking_code": "9400100207552010707624", + "updated_at": "2024-01-19T21:41:01Z", "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": null, "from_address": { - "id": "adr_868dc1cf4e3f11edb2afac1f6bc7b362", + "id": "adr_6ffbd0f5b71311ee975cac1f6bc53342", "object": "Address", - "created_at": "2022-10-17T17:17:06+00:00", - "updated_at": "2022-10-17T17:17:06+00:00", + "created_at": "2024-01-19T21:41:00+00:00", + "updated_at": "2024-01-19T21:41:00+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -174,12 +174,12 @@ "verifications": {} }, "insurance": null, - "order_id": "order_5daae00ccbcd405e8a223d468037c72a", + "order_id": "order_19252a72d5e842a988e3a776cc3825df", "parcel": { - "id": "prcl_679beb967f964ceeb898341129056d67", + "id": "prcl_d2fa368783e34a63984048f7e4195f97", "object": "Parcel", - "created_at": "2022-10-17T17:17:06Z", - "updated_at": "2022-10-17T17:17:06Z", + "created_at": "2024-01-19T21:41:00Z", + "updated_at": "2024-01-19T21:41:00Z", "length": null, "width": null, "height": null, @@ -189,17 +189,17 @@ }, "postage_label": { "object": "PostageLabel", - "id": "pl_267e418d979f4f1fae694ff872457a3d", - "created_at": "2022-10-17T17:17:07Z", - "updated_at": "2022-10-17T17:17:07Z", + "id": "pl_8dea8cf6e5624d149b8ec5eede8fe324", + "created_at": "2024-01-19T21:41:01Z", + "updated_at": "2024-01-19T21:41:01Z", "date_advance": 0, "integrated_form": "none", - "label_date": "2022-10-17T17:17:07Z", + "label_date": "2024-01-19T21:41:01Z", "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": "image/png", - "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20221017/2ec888ff1b6841b6a3efbfc790c4ff28.png", + "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e84cb1f227b69f47e098494d9950a28d37.png", "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, @@ -207,124 +207,168 @@ }, "rates": [ { - "id": "rate_478c9c274e684122b50e2613638e8aad", + "id": "rate_104fbc9045af4099a0b6d679aad9e96d", "object": "Rate", - "created_at": "2022-10-17T17:17:06Z", - "updated_at": "2022-10-17T17:17:06Z", + "created_at": "2024-01-19T21:41:00Z", + "updated_at": "2024-01-19T21:41:00Z", "mode": "test", - "service": "First", + "service": "Express", + "carrier": "USPS", + "rate": "31.25", + "currency": "USD", + "retail_rate": "35.80", + "retail_currency": "USD", + "list_rate": "31.25", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": null, + "delivery_date": null, + "delivery_date_guaranteed": false, + "est_delivery_days": null, + "shipment_id": "shp_52ca0171eee7472186bb4e287b79cd0c", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + }, + { + "id": "rate_330b37e88e5241fba2f83133a2c74cc9", + "object": "Rate", + "created_at": "2024-01-19T21:41:00Z", + "updated_at": "2024-01-19T21:41:00Z", + "mode": "test", + "service": "Priority", + "carrier": "USPS", + "rate": "6.95", + "currency": "USD", + "retail_rate": "10.20", + "retail_currency": "USD", + "list_rate": "8.24", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": 2, + "delivery_date": null, + "delivery_date_guaranteed": false, + "est_delivery_days": 2, + "shipment_id": "shp_52ca0171eee7472186bb4e287b79cd0c", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + }, + { + "id": "rate_9ab5c8c508504dbb9b3750e1465a8ad4", + "object": "Rate", + "created_at": "2024-01-19T21:41:00Z", + "updated_at": "2024-01-19T21:41:00Z", + "mode": "test", + "service": "GroundAdvantage", "carrier": "USPS", - "rate": "4.67", + "rate": "4.81", "currency": "USD", - "retail_rate": "6.20", + "retail_rate": "6.35", "retail_currency": "USD", - "list_rate": "4.67", + "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_e331a0a718ef417ca220dc4075260942", - "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" + "shipment_id": "shp_52ca0171eee7472186bb4e287b79cd0c", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, { - "id": "rate_81638624c1b5419b9cbe1c7b685d3340", + "id": "rate_ebd4a1a455e54eecb92f42250768eb59", "object": "Rate", - "created_at": "2022-10-17T17:17:06Z", - "updated_at": "2022-10-17T17:17:06Z", + "created_at": "2024-01-19T21:41:00Z", + "updated_at": "2024-01-19T21:41:00Z", "mode": "test", - "service": "Express", + "service": "First", "carrier": "USPS", - "rate": "29.75", + "rate": "4.81", "currency": "USD", - "retail_rate": "33.85", + "retail_rate": "6.35", "retail_currency": "USD", - "list_rate": "29.75", + "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": null, - "shipment_id": "shp_e331a0a718ef417ca220dc4075260942", - "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" + "est_delivery_days": 3, + "shipment_id": "shp_52ca0171eee7472186bb4e287b79cd0c", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, { - "id": "rate_51a7f5b7cb5742c1a4fdce3cb4332191", + "id": "rate_dad332e765dc47b3a4fc03d4f072c964", "object": "Rate", - "created_at": "2022-10-17T17:17:06Z", - "updated_at": "2022-10-17T17:17:06Z", + "created_at": "2024-01-19T21:41:00Z", + "updated_at": "2024-01-19T21:41:00Z", "mode": "test", - "service": "Priority", + "service": "ParcelSelect", "carrier": "USPS", - "rate": "8.15", + "rate": "4.81", "currency": "USD", - "retail_rate": "9.75", + "retail_rate": "6.35", "retail_currency": "USD", - "list_rate": "8.15", + "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 2, + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 2, - "shipment_id": "shp_e331a0a718ef417ca220dc4075260942", - "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" + "est_delivery_days": 3, + "shipment_id": "shp_52ca0171eee7472186bb4e287b79cd0c", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" } ], "refund_status": null, "scan_form": null, "selected_rate": { - "id": "rate_478c9c274e684122b50e2613638e8aad", + "id": "rate_ebd4a1a455e54eecb92f42250768eb59", "object": "Rate", - "created_at": "2022-10-17T17:17:07Z", - "updated_at": "2022-10-17T17:17:07Z", + "created_at": "2024-01-19T21:41:01Z", + "updated_at": "2024-01-19T21:41:01Z", "mode": "test", "service": "First", "carrier": "USPS", - "rate": "4.67", + "rate": "4.81", "currency": "USD", - "retail_rate": "6.20", + "retail_rate": "6.35", "retail_currency": "USD", - "list_rate": "4.67", + "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_e331a0a718ef417ca220dc4075260942", - "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" + "shipment_id": "shp_52ca0171eee7472186bb4e287b79cd0c", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, "tracker": { - "id": "trk_d948d176d7284367ab07eef7ac4c823a", + "id": "trk_1283fa3ec9374b4f939ca13020bd4b83", "object": "Tracker", "mode": "test", - "tracking_code": "9400100106068143632839", + "tracking_code": "9400100207552010707624", "status": "unknown", "status_detail": "unknown", - "created_at": "2022-10-17T17:17:07Z", - "updated_at": "2022-10-17T17:17:07Z", + "created_at": "2024-01-19T21:41:01Z", + "updated_at": "2024-01-19T21:41:01Z", "signed_by": null, "weight": null, "est_delivery_date": null, - "shipment_id": "shp_e331a0a718ef417ca220dc4075260942", + "shipment_id": "shp_52ca0171eee7472186bb4e287b79cd0c", "carrier": "USPS", "tracking_details": [], "fees": [], "carrier_detail": null, - "public_url": "https://track.easypost.com/djE6dHJrX2Q5NDhkMTc2ZDcyODQzNjdhYjA3ZWVmN2FjNGM4MjNh" + "public_url": "https://track.easypost.com/djE6dHJrXzEyODNmYTNlYzkzNzRiNGY5MzljYTEzMDIwYmQ0Yjgz" }, "to_address": { - "id": "adr_868c6c224e3f11eda0cfac1f6bc72124", + "id": "adr_6ffa7cc8b71311ee9870ac1f6bc539ae", "object": "Address", - "created_at": "2022-10-17T17:17:06+00:00", - "updated_at": "2022-10-17T17:17:06+00:00", + "created_at": "2024-01-19T21:41:00+00:00", + "updated_at": "2024-01-19T21:41:00+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", @@ -355,10 +399,10 @@ }, "usps_zone": 4, "return_address": { - "id": "adr_868dc1cf4e3f11edb2afac1f6bc7b362", + "id": "adr_6ffbd0f5b71311ee975cac1f6bc53342", "object": "Address", - "created_at": "2022-10-17T17:17:06+00:00", - "updated_at": "2022-10-17T17:17:06+00:00", + "created_at": "2024-01-19T21:41:00+00:00", + "updated_at": "2024-01-19T21:41:00+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -377,14 +421,14 @@ "verifications": {} }, "buyer_address": { - "id": "adr_868c6c224e3f11eda0cfac1f6bc72124", + "id": "adr_6ffa7cc8b71311ee9870ac1f6bc539ae", "object": "Address", - "created_at": "2022-10-17T17:17:06+00:00", - "updated_at": "2022-10-17T17:17:06+00:00", + "created_at": "2024-01-19T21:41:00+00:00", + "updated_at": "2024-01-19T21:41:00+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", @@ -425,83 +469,127 @@ { "object": "Fee", "type": "PostageFee", - "amount": "4.67000", + "amount": "4.81000", "charged": true, "refunded": false } ], - "id": "shp_e331a0a718ef417ca220dc4075260942", + "id": "shp_52ca0171eee7472186bb4e287b79cd0c", "object": "Shipment" } ], "rates": [ { - "id": "rate_478c9c274e684122b50e2613638e8aad", + "id": "rate_104fbc9045af4099a0b6d679aad9e96d", "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "First", + "service": "Express", "carrier": "USPS", - "rate": "4.67", + "rate": "31.25", "currency": "USD", - "retail_rate": "6.20", + "retail_rate": "35.80", "retail_currency": "USD", - "list_rate": "4.67", + "list_rate": "31.25", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": null, + "delivery_date": null, + "delivery_date_guaranteed": false, + "est_delivery_days": null, + "shipment_id": "shp_52ca0171eee7472186bb4e287b79cd0c", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + }, + { + "id": "rate_330b37e88e5241fba2f83133a2c74cc9", + "object": "Rate", + "created_at": null, + "updated_at": null, + "mode": "test", + "service": "Priority", + "carrier": "USPS", + "rate": "6.95", + "currency": "USD", + "retail_rate": "10.20", + "retail_currency": "USD", + "list_rate": "8.24", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": 2, + "delivery_date": null, + "delivery_date_guaranteed": false, + "est_delivery_days": 2, + "shipment_id": "shp_52ca0171eee7472186bb4e287b79cd0c", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + }, + { + "id": "rate_9ab5c8c508504dbb9b3750e1465a8ad4", + "object": "Rate", + "created_at": null, + "updated_at": null, + "mode": "test", + "service": "GroundAdvantage", + "carrier": "USPS", + "rate": "4.81", + "currency": "USD", + "retail_rate": "6.35", + "retail_currency": "USD", + "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_e331a0a718ef417ca220dc4075260942", - "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" + "shipment_id": "shp_52ca0171eee7472186bb4e287b79cd0c", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, { - "id": "rate_81638624c1b5419b9cbe1c7b685d3340", + "id": "rate_ebd4a1a455e54eecb92f42250768eb59", "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "Express", + "service": "First", "carrier": "USPS", - "rate": "29.75", + "rate": "4.81", "currency": "USD", - "retail_rate": "33.85", + "retail_rate": "6.35", "retail_currency": "USD", - "list_rate": "29.75", + "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": null, - "shipment_id": "shp_e331a0a718ef417ca220dc4075260942", - "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" + "est_delivery_days": 3, + "shipment_id": "shp_52ca0171eee7472186bb4e287b79cd0c", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, { - "id": "rate_51a7f5b7cb5742c1a4fdce3cb4332191", + "id": "rate_dad332e765dc47b3a4fc03d4f072c964", "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "Priority", + "service": "ParcelSelect", "carrier": "USPS", - "rate": "8.15", + "rate": "4.81", "currency": "USD", - "retail_rate": "9.75", + "retail_rate": "6.35", "retail_currency": "USD", - "list_rate": "8.15", + "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 2, + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 2, - "shipment_id": "shp_e331a0a718ef417ca220dc4075260942", - "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" + "est_delivery_days": 3, + "shipment_id": "shp_52ca0171eee7472186bb4e287b79cd0c", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" } ], - "id": "order_5daae00ccbcd405e8a223d468037c72a", + "id": "order_19252a72d5e842a988e3a776cc3825df", "object": "Order" } diff --git a/official/docs/responses/orders/orders-retrieve.json b/official/docs/responses/orders/orders-retrieve.json index 42f7fd88..50b491aa 100644 --- a/official/docs/responses/orders/orders-retrieve.json +++ b/official/docs/responses/orders/orders-retrieve.json @@ -1,6 +1,6 @@ { "mode": "test", - "reference": null, + "reference": "", "is_return": false, "options": { "currency": "USD", @@ -9,14 +9,14 @@ } }, "messages": [], - "created_at": "2022-10-17T17:17:03Z", - "updated_at": "2022-10-17T17:17:03Z", + "created_at": "2024-01-19T21:40:56Z", + "updated_at": "2024-01-19T21:40:56Z", "customs_info": null, "from_address": { - "id": "adr_6d0d2fc11f4711ee9d90ac1f6bc53342", + "id": "adr_6d758732b71311ee94bf3cecef1b359e", "object": "Address", - "created_at": "2023-07-10T17:30:12+00:00", - "updated_at": "2023-07-10T17:30:12+00:00", + "created_at": "2024-01-19T21:40:56+00:00", + "updated_at": "2024-01-19T21:40:56+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -35,10 +35,10 @@ "verifications": {} }, "to_address": { - "id": "adr_6d09dbc41f4711ee92e3ac1f6bc539aa", + "id": "adr_6d74014ab71311ee9785ac1f6bc539ae", "object": "Address", - "created_at": "2023-07-10T17:30:12+00:00", - "updated_at": "2023-07-10T17:30:12+00:00", + "created_at": "2024-01-19T21:40:56+00:00", + "updated_at": "2024-01-19T21:40:56+00:00", "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", @@ -57,10 +57,10 @@ "verifications": {} }, "buyer_address": { - "id": "adr_6d09dbc41f4711ee92e3ac1f6bc539aa", + "id": "adr_6d74014ab71311ee9785ac1f6bc539ae", "object": "Address", - "created_at": "2023-07-10T17:30:12+00:00", - "updated_at": "2023-07-10T17:30:12+00:00", + "created_at": "2024-01-19T21:40:56+00:00", + "updated_at": "2024-01-19T21:40:56+00:00", "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", @@ -79,10 +79,10 @@ "verifications": {} }, "return_address": { - "id": "adr_6d0d2fc11f4711ee9d90ac1f6bc53342", + "id": "adr_6d758732b71311ee94bf3cecef1b359e", "object": "Address", - "created_at": "2023-07-10T17:30:12+00:00", - "updated_at": "2023-07-10T17:30:12+00:00", + "created_at": "2024-01-19T21:40:56+00:00", + "updated_at": "2024-01-19T21:40:56+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -102,7 +102,7 @@ }, "shipments": [ { - "created_at": "2023-07-10T17:30:12Z", + "created_at": "2024-01-19T21:40:56Z", "is_return": false, "messages": [], "mode": "test", @@ -116,16 +116,16 @@ "reference": null, "status": "unknown", "tracking_code": null, - "updated_at": "2023-07-10T17:30:12Z", + "updated_at": "2024-01-19T21:40:56Z", "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": null, "from_address": { - "id": "adr_6d0d2fc11f4711ee9d90ac1f6bc53342", + "id": "adr_6d758732b71311ee94bf3cecef1b359e", "object": "Address", - "created_at": "2023-07-10T17:30:12+00:00", - "updated_at": "2023-07-10T17:30:12+00:00", + "created_at": "2024-01-19T21:40:56+00:00", + "updated_at": "2024-01-19T21:40:56+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -144,12 +144,12 @@ "verifications": {} }, "insurance": null, - "order_id": "order_e23ec82e704f4e4fa15a44d21b49c627", + "order_id": "order_fcf81fc26e43489899a6112bd0061467", "parcel": { - "id": "prcl_1067a78dfbfc4fa089cc2b0f18225898", + "id": "prcl_274f07bdf22e4013b41eee914f26e18e", "object": "Parcel", - "created_at": "2023-07-10T17:30:12Z", - "updated_at": "2023-07-10T17:30:12Z", + "created_at": "2024-01-19T21:40:56Z", + "updated_at": "2024-01-19T21:40:56Z", "length": null, "width": null, "height": null, @@ -160,10 +160,10 @@ "postage_label": null, "rates": [ { - "id": "rate_df53c9be9c5246089b2073f44441561c", + "id": "rate_210feb28a8c8473db2399ab959b97f2e", "object": "Rate", - "created_at": "2023-07-10T17:30:13Z", - "updated_at": "2023-07-10T17:30:13Z", + "created_at": "2024-01-19T21:40:56Z", + "updated_at": "2024-01-19T21:40:56Z", "mode": "test", "service": "Express", "carrier": "USPS", @@ -178,18 +178,18 @@ "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": null, - "shipment_id": "shp_3e4b922e2e0d490087ceedea95249ef2", + "shipment_id": "shp_138b2b99e6d74814a2db9ea63727b982", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, { - "id": "rate_8e8430d2d3f144619a65e6d06fa7ad1f", + "id": "rate_247a0fdc8cc1480fb6247339f80c3221", "object": "Rate", - "created_at": "2023-07-10T17:30:13Z", - "updated_at": "2023-07-10T17:30:13Z", + "created_at": "2024-01-19T21:40:56Z", + "updated_at": "2024-01-19T21:40:56Z", "mode": "test", "service": "Priority", "carrier": "USPS", - "rate": "7.15", + "rate": "6.95", "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", @@ -200,42 +200,42 @@ "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 2, - "shipment_id": "shp_3e4b922e2e0d490087ceedea95249ef2", + "shipment_id": "shp_138b2b99e6d74814a2db9ea63727b982", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, { - "id": "rate_6258e8ca59d24edfb1cc1ae9d932b308", + "id": "rate_df42cf300fa64b5eb3ff715c51bb2083", "object": "Rate", - "created_at": "2023-07-10T17:30:13Z", - "updated_at": "2023-07-10T17:30:13Z", + "created_at": "2024-01-19T21:40:56Z", + "updated_at": "2024-01-19T21:40:56Z", "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", "currency": "USD", - "retail_rate": "4.81", + "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": null, - "shipment_id": "shp_3e4b922e2e0d490087ceedea95249ef2", + "est_delivery_days": 3, + "shipment_id": "shp_138b2b99e6d74814a2db9ea63727b982", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, { - "id": "rate_9968b6c0be7c45b9a4556192b4f780c7", + "id": "rate_0fee866b3cb1468d9a2624bd83eb1ebb", "object": "Rate", - "created_at": "2023-07-10T17:30:13Z", - "updated_at": "2023-07-10T17:30:13Z", + "created_at": "2024-01-19T21:40:56Z", + "updated_at": "2024-01-19T21:40:56Z", "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": "USD", - "retail_rate": "4.81", + "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", "list_currency": "USD", @@ -244,7 +244,29 @@ "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_3e4b922e2e0d490087ceedea95249ef2", + "shipment_id": "shp_138b2b99e6d74814a2db9ea63727b982", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + }, + { + "id": "rate_24fda70f7e1645cc8e18efb7107ba3a4", + "object": "Rate", + "created_at": "2024-01-19T21:40:56Z", + "updated_at": "2024-01-19T21:40:56Z", + "mode": "test", + "service": "ParcelSelect", + "carrier": "USPS", + "rate": "4.81", + "currency": "USD", + "retail_rate": "6.35", + "retail_currency": "USD", + "list_rate": "4.81", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": 3, + "delivery_date": null, + "delivery_date_guaranteed": false, + "est_delivery_days": 3, + "shipment_id": "shp_138b2b99e6d74814a2db9ea63727b982", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" } ], @@ -253,10 +275,10 @@ "selected_rate": null, "tracker": null, "to_address": { - "id": "adr_6d09dbc41f4711ee92e3ac1f6bc539aa", + "id": "adr_6d74014ab71311ee9785ac1f6bc539ae", "object": "Address", - "created_at": "2023-07-10T17:30:12+00:00", - "updated_at": "2023-07-10T17:30:12+00:00", + "created_at": "2024-01-19T21:40:56+00:00", + "updated_at": "2024-01-19T21:40:56+00:00", "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", @@ -276,10 +298,10 @@ }, "usps_zone": 4, "return_address": { - "id": "adr_6d0d2fc11f4711ee9d90ac1f6bc53342", + "id": "adr_6d758732b71311ee94bf3cecef1b359e", "object": "Address", - "created_at": "2023-07-10T17:30:12+00:00", - "updated_at": "2023-07-10T17:30:12+00:00", + "created_at": "2024-01-19T21:40:56+00:00", + "updated_at": "2024-01-19T21:40:56+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -298,10 +320,10 @@ "verifications": {} }, "buyer_address": { - "id": "adr_6d09dbc41f4711ee92e3ac1f6bc539aa", + "id": "adr_6d74014ab71311ee9785ac1f6bc539ae", "object": "Address", - "created_at": "2023-07-10T17:30:12+00:00", - "updated_at": "2023-07-10T17:30:12+00:00", + "created_at": "2024-01-19T21:40:56+00:00", + "updated_at": "2024-01-19T21:40:56+00:00", "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", @@ -321,13 +343,13 @@ }, "forms": [], "fees": [], - "id": "shp_3e4b922e2e0d490087ceedea95249ef2", + "id": "shp_138b2b99e6d74814a2db9ea63727b982", "object": "Shipment" } ], "rates": [ { - "id": "rate_df53c9be9c5246089b2073f44441561c", + "id": "rate_210feb28a8c8473db2399ab959b97f2e", "object": "Rate", "created_at": null, "updated_at": null, @@ -345,18 +367,18 @@ "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": null, - "shipment_id": "shp_3e4b922e2e0d490087ceedea95249ef2", + "shipment_id": "shp_138b2b99e6d74814a2db9ea63727b982", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, { - "id": "rate_8e8430d2d3f144619a65e6d06fa7ad1f", + "id": "rate_247a0fdc8cc1480fb6247339f80c3221", "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", "service": "Priority", "carrier": "USPS", - "rate": "7.15", + "rate": "6.95", "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", @@ -367,11 +389,11 @@ "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 2, - "shipment_id": "shp_3e4b922e2e0d490087ceedea95249ef2", + "shipment_id": "shp_138b2b99e6d74814a2db9ea63727b982", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, { - "id": "rate_6258e8ca59d24edfb1cc1ae9d932b308", + "id": "rate_df42cf300fa64b5eb3ff715c51bb2083", "object": "Rate", "created_at": null, "updated_at": null, @@ -380,20 +402,20 @@ "carrier": "USPS", "rate": "4.81", "currency": "USD", - "retail_rate": "4.81", + "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": null, - "shipment_id": "shp_3e4b922e2e0d490087ceedea95249ef2", + "est_delivery_days": 3, + "shipment_id": "shp_138b2b99e6d74814a2db9ea63727b982", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, { - "id": "rate_9968b6c0be7c45b9a4556192b4f780c7", + "id": "rate_0fee866b3cb1468d9a2624bd83eb1ebb", "object": "Rate", "created_at": null, "updated_at": null, @@ -402,7 +424,29 @@ "carrier": "USPS", "rate": "4.81", "currency": "USD", - "retail_rate": "4.81", + "retail_rate": "6.35", + "retail_currency": "USD", + "list_rate": "4.81", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": 3, + "delivery_date": null, + "delivery_date_guaranteed": false, + "est_delivery_days": 3, + "shipment_id": "shp_138b2b99e6d74814a2db9ea63727b982", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + }, + { + "id": "rate_24fda70f7e1645cc8e18efb7107ba3a4", + "object": "Rate", + "created_at": null, + "updated_at": null, + "mode": "test", + "service": "ParcelSelect", + "carrier": "USPS", + "rate": "4.81", + "currency": "USD", + "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", "list_currency": "USD", @@ -411,10 +455,10 @@ "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_3e4b922e2e0d490087ceedea95249ef2", + "shipment_id": "shp_138b2b99e6d74814a2db9ea63727b982", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" } ], - "id": "order_e23ec82e704f4e4fa15a44d21b49c627", + "id": "order_fcf81fc26e43489899a6112bd0061467", "object": "Order" } diff --git a/official/docs/responses/parcels/parcels-create.json b/official/docs/responses/parcels/parcels-create.json index 857e8ab3..f5bda95f 100644 --- a/official/docs/responses/parcels/parcels-create.json +++ b/official/docs/responses/parcels/parcels-create.json @@ -1,8 +1,8 @@ { - "id": "prcl_f1e15ba5892749e2a039a70b4d83d5d1", + "id": "prcl_58f88a512a02497e8137327927906c04", "object": "Parcel", - "created_at": "2022-10-17T17:17:08Z", - "updated_at": "2022-10-17T17:17:08Z", + "created_at": "2024-01-19T21:41:01Z", + "updated_at": "2024-01-19T21:41:01Z", "length": 20.2, "width": 10.9, "height": 5.0, diff --git a/official/docs/responses/parcels/parcels-retrieve.json b/official/docs/responses/parcels/parcels-retrieve.json index 9a573967..f8ca9a75 100644 --- a/official/docs/responses/parcels/parcels-retrieve.json +++ b/official/docs/responses/parcels/parcels-retrieve.json @@ -1,8 +1,8 @@ { - "id": "prcl_76ca5e21f413474bad2ae2086ba902ae", + "id": "prcl_723c9187b4894dc187a748ab429e9cf6", "object": "Parcel", - "created_at": "2022-10-17T17:17:08Z", - "updated_at": "2022-10-17T17:17:08Z", + "created_at": "2024-01-19T21:41:02Z", + "updated_at": "2024-01-19T21:41:02Z", "length": 20.2, "width": 10.9, "height": 5.0, diff --git a/official/docs/responses/pickups/pickups-buy.json b/official/docs/responses/pickups/pickups-buy.json index c9bb36fd..fbba54df 100644 --- a/official/docs/responses/pickups/pickups-buy.json +++ b/official/docs/responses/pickups/pickups-buy.json @@ -1,22 +1,22 @@ { - "id": "pickup_bcdd221aa9cb4849ae4047d44b096180", + "id": "pickup_db5cb87e14e94e159a444af91d8fcdc2", "object": "Pickup", - "created_at": "2022-10-17T17:17:17Z", - "updated_at": "2022-10-17T17:17:19Z", + "created_at": "2024-01-19T21:41:10Z", + "updated_at": "2024-01-19T21:41:22Z", "mode": "test", "status": "scheduled", "reference": "my-first-pickup", - "min_datetime": "2022-10-18T00:00:00Z", - "max_datetime": "2022-10-18T00:00:00Z", + "min_datetime": "2024-01-22T00:00:00Z", + "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": false, "instructions": "Special pickup instructions", "messages": [], - "confirmation": "WTC62300486", + "confirmation": "WTC64043474", "address": { - "id": "adr_8d1502534e3f11edbf8fac1f6b0a0d1e", + "id": "adr_75f030e9b71311eea934ac1f6bc539aa", "object": "Address", - "created_at": "2022-10-17T17:17:17+00:00", - "updated_at": "2022-10-17T17:17:17+00:00", + "created_at": "2024-01-19T21:41:10+00:00", + "updated_at": "2024-01-19T21:41:10+00:00", "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", @@ -41,11 +41,11 @@ "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2022-10-17T17:17:18Z", - "updated_at": "2022-10-17T17:17:18Z", + "created_at": "2024-01-19T21:41:11Z", + "updated_at": "2024-01-19T21:41:11Z", "carrier": "USPS", - "pickup_id": "pickup_bcdd221aa9cb4849ae4047d44b096180", - "id": "pickuprate_d2ba1e6bb204435b907c3c454a06005d", + "pickup_id": "pickup_db5cb87e14e94e159a444af91d8fcdc2", + "id": "pickuprate_b74039cec56944a8a21d28dce270a31b", "object": "PickupRate" } ] diff --git a/official/docs/responses/pickups/pickups-cancel.json b/official/docs/responses/pickups/pickups-cancel.json index 7499944c..d19fb96a 100644 --- a/official/docs/responses/pickups/pickups-cancel.json +++ b/official/docs/responses/pickups/pickups-cancel.json @@ -1,22 +1,22 @@ { - "id": "pickup_1c6e2cfce9f44b3186b06d6ea73299f1", + "id": "pickup_d5d09755c5144ed0b37d82bfb85e64a1", "object": "Pickup", - "created_at": "2022-10-17T17:17:21Z", - "updated_at": "2022-10-17T17:17:24Z", + "created_at": "2024-01-19T21:41:24Z", + "updated_at": "2024-01-19T21:41:47Z", "mode": "test", "status": "canceled", "reference": "my-first-pickup", - "min_datetime": "2022-10-18T00:00:00Z", - "max_datetime": "2022-10-18T00:00:00Z", + "min_datetime": "2024-01-22T00:00:00Z", + "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": false, "instructions": "Special pickup instructions", "messages": [], - "confirmation": "WTC62300488", + "confirmation": "WTC64043432", "address": { - "id": "adr_8f4ebfe14e3f11edbd20ac1f6bc7bdc6", + "id": "adr_7e05555db71311eeac0dac1f6bc539aa", "object": "Address", - "created_at": "2022-10-17T17:17:21+00:00", - "updated_at": "2022-10-17T17:17:21+00:00", + "created_at": "2024-01-19T21:41:24+00:00", + "updated_at": "2024-01-19T21:41:24+00:00", "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", @@ -41,11 +41,11 @@ "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2022-10-17T17:17:21Z", - "updated_at": "2022-10-17T17:17:21Z", + "created_at": "2024-01-19T21:41:24Z", + "updated_at": "2024-01-19T21:41:24Z", "carrier": "USPS", - "pickup_id": "pickup_1c6e2cfce9f44b3186b06d6ea73299f1", - "id": "pickuprate_3d4df69db64c40c9af404139a5a49620", + "pickup_id": "pickup_d5d09755c5144ed0b37d82bfb85e64a1", + "id": "pickuprate_0abf056bc3b7484eab8179368a2dbf02", "object": "PickupRate" } ] diff --git a/official/docs/responses/pickups/pickups-create.json b/official/docs/responses/pickups/pickups-create.json index 0719de7e..ac7f2ba3 100644 --- a/official/docs/responses/pickups/pickups-create.json +++ b/official/docs/responses/pickups/pickups-create.json @@ -1,22 +1,22 @@ { - "id": "pickup_39f7788840f34f63b8a3b04ca94d05cb", + "id": "pickup_2c46d329efad4c5cab02c9a03ff96a2b", "object": "Pickup", - "created_at": "2022-10-17T17:17:11Z", - "updated_at": "2022-10-17T17:17:11Z", + "created_at": "2024-01-19T21:41:04Z", + "updated_at": "2024-01-19T21:41:04Z", "mode": "test", "status": "unknown", "reference": "my-first-pickup", - "min_datetime": "2022-10-18T00:00:00Z", - "max_datetime": "2022-10-18T00:00:00Z", + "min_datetime": "2024-01-22T00:00:00Z", + "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": false, "instructions": "Special pickup instructions", "messages": [], "confirmation": null, "address": { - "id": "adr_893c65184e3f11eda1edac1f6bc72124", + "id": "adr_72442a6eb71311ee984aac1f6bc53342", "object": "Address", - "created_at": "2022-10-17T17:17:11+00:00", - "updated_at": "2022-10-17T17:17:11+00:00", + "created_at": "2024-01-19T21:41:04+00:00", + "updated_at": "2024-01-19T21:41:04+00:00", "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", @@ -41,11 +41,11 @@ "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2022-10-17T17:17:12Z", - "updated_at": "2022-10-17T17:17:12Z", + "created_at": "2024-01-19T21:41:05Z", + "updated_at": "2024-01-19T21:41:05Z", "carrier": "USPS", - "pickup_id": "pickup_39f7788840f34f63b8a3b04ca94d05cb", - "id": "pickuprate_9fd2eb83ce624609888d0a44dad5ad92", + "pickup_id": "pickup_2c46d329efad4c5cab02c9a03ff96a2b", + "id": "pickuprate_0633e96b11f24a2ebe689ce23b248412", "object": "PickupRate" } ] diff --git a/official/docs/responses/pickups/pickups-list.json b/official/docs/responses/pickups/pickups-list.json index e51b8c4b..418bd4ad 100644 --- a/official/docs/responses/pickups/pickups-list.json +++ b/official/docs/responses/pickups/pickups-list.json @@ -1,242 +1,34 @@ { "pickups": [ { - "id": "pickup_568d64c702194c0883276fedc830610b", + "id": "pickup_283f2915cc7b42c1889195ddb6519ef7", "object": "Pickup", - "created_at": "2022-09-21T18:22:42Z", - "updated_at": "2022-09-21T18:22:42Z", - "mode": "test", - "status": "unknown", - "reference": null, - "min_datetime": "2022-09-22T00:00:00Z", - "max_datetime": "2022-09-22T00:00:00Z", - "is_account_address": false, - "instructions": "Pickup at front door", - "messages": [], - "confirmation": null, - "address": { - "id": "adr_61a4409339da11edaf46ac1f6b0a0d1e", - "object": "Address", - "created_at": "2022-09-21T18:22:42+00:00", - "updated_at": "2022-09-21T18:22:42+00:00", - "name": "Jack Sparrow", - "company": null, - "street1": "388 Townsend St", - "street2": "Apt 20", - "city": "San Francisco", - "state": "CA", - "zip": "94107", - "country": "US", - "phone": "", - "email": "", - "mode": "test", - "carrier_facility": null, - "residential": null, - "federal_tax_id": null, - "state_tax_id": null, - "verifications": {} - }, - "carrier_accounts": [], - "pickup_rates": [ - { - "mode": "test", - "service": "NextDay", - "rate": "0.00", - "currency": "USD", - "created_at": "2022-09-21T18:22:42Z", - "updated_at": "2022-09-21T18:22:42Z", - "carrier": "USPS", - "pickup_id": "pickup_568d64c702194c0883276fedc830610b", - "id": "pickuprate_aef60c3ec45a4cca8d742311f691d0e3", - "object": "PickupRate" - } - ] - }, - { - "id": "pickup_74e729209e6d4269baa4bb4d5b71aaf2", - "object": "Pickup", - "created_at": "2022-09-21T18:22:39Z", - "updated_at": "2022-09-21T18:22:39Z", - "mode": "test", - "status": "unknown", - "reference": null, - "min_datetime": "2022-09-22T00:00:00Z", - "max_datetime": "2022-09-22T00:00:00Z", - "is_account_address": false, - "instructions": "Pickup at front door", - "messages": [], - "confirmation": null, - "address": { - "id": "adr_60419d5b39da11edb982ac1f6bc7b362", - "object": "Address", - "created_at": "2022-09-21T18:22:39+00:00", - "updated_at": "2022-09-21T18:22:39+00:00", - "name": "Jack Sparrow", - "company": null, - "street1": "388 Townsend St", - "street2": "Apt 20", - "city": "San Francisco", - "state": "CA", - "zip": "94107", - "country": "US", - "phone": "", - "email": "", - "mode": "test", - "carrier_facility": null, - "residential": null, - "federal_tax_id": null, - "state_tax_id": null, - "verifications": {} - }, - "carrier_accounts": [], - "pickup_rates": [ - { - "mode": "test", - "service": "NextDay", - "rate": "0.00", - "currency": "USD", - "created_at": "2022-09-21T18:22:40Z", - "updated_at": "2022-09-21T18:22:40Z", - "carrier": "USPS", - "pickup_id": "pickup_74e729209e6d4269baa4bb4d5b71aaf2", - "id": "pickuprate_4d9894f2087342099d92678cfe8d86ef", - "object": "PickupRate" - } - ] - }, - { - "id": "pickup_ca0e15ae5f954c9db97daa844f22383a", - "object": "Pickup", - "created_at": "2022-09-21T18:22:37Z", - "updated_at": "2022-09-21T18:22:37Z", - "mode": "test", - "status": "unknown", - "reference": null, - "min_datetime": "2022-09-22T00:00:00Z", - "max_datetime": "2022-09-22T00:00:00Z", - "is_account_address": false, - "instructions": "Pickup at front door", - "messages": [], - "confirmation": null, - "address": { - "id": "adr_5ed9bc4f39da11edb906ac1f6bc7b362", - "object": "Address", - "created_at": "2022-09-21T18:22:37+00:00", - "updated_at": "2022-09-21T18:22:37+00:00", - "name": "Jack Sparrow", - "company": null, - "street1": "388 Townsend St", - "street2": "Apt 20", - "city": "San Francisco", - "state": "CA", - "zip": "94107", - "country": "US", - "phone": "", - "email": "", - "mode": "test", - "carrier_facility": null, - "residential": null, - "federal_tax_id": null, - "state_tax_id": null, - "verifications": {} - }, - "carrier_accounts": [], - "pickup_rates": [ - { - "mode": "test", - "service": "NextDay", - "rate": "0.00", - "currency": "USD", - "created_at": "2022-09-21T18:22:38Z", - "updated_at": "2022-09-21T18:22:38Z", - "carrier": "USPS", - "pickup_id": "pickup_ca0e15ae5f954c9db97daa844f22383a", - "id": "pickuprate_809b3c4dabf248178c4a7ef45672e6fb", - "object": "PickupRate" - } - ] - }, - { - "id": "pickup_4c4cd34927704b8db845b0eef3abc3ba", - "object": "Pickup", - "created_at": "2022-09-21T18:22:32Z", - "updated_at": "2022-09-21T18:22:36Z", + "created_at": "2024-01-19T22:05:27Z", + "updated_at": "2024-01-19T22:05:30Z", "mode": "test", "status": "canceled", - "reference": null, - "min_datetime": "2022-09-22T00:00:00Z", - "max_datetime": "2022-09-22T00:00:00Z", - "is_account_address": false, - "instructions": "Pickup at front door", - "messages": [], - "confirmation": "WTC62219452", - "address": { - "id": "adr_5c0d392739da11edad1aac1f6b0a0d1e", - "object": "Address", - "created_at": "2022-09-21T18:22:32+00:00", - "updated_at": "2022-09-21T18:22:32+00:00", - "name": "Jack Sparrow", - "company": null, - "street1": "388 Townsend St", - "street2": "Apt 20", - "city": "San Francisco", - "state": "CA", - "zip": "94107", - "country": "US", - "phone": "", - "email": "", - "mode": "test", - "carrier_facility": null, - "residential": null, - "federal_tax_id": null, - "state_tax_id": null, - "verifications": {} - }, - "carrier_accounts": [], - "pickup_rates": [ - { - "mode": "test", - "service": "NextDay", - "rate": "0.00", - "currency": "USD", - "created_at": "2022-09-21T18:22:33Z", - "updated_at": "2022-09-21T18:22:33Z", - "carrier": "USPS", - "pickup_id": "pickup_4c4cd34927704b8db845b0eef3abc3ba", - "id": "pickuprate_6fe0c79d39844b40a39251d55b02e63b", - "object": "PickupRate" - } - ] - }, - { - "id": "pickup_65320a8606854bd0b1da50413f6f96aa", - "object": "Pickup", - "created_at": "2022-09-21T18:22:29Z", - "updated_at": "2022-09-21T18:22:31Z", - "mode": "test", - "status": "scheduled", - "reference": null, - "min_datetime": "2022-09-22T00:00:00Z", - "max_datetime": "2022-09-22T00:00:00Z", + "reference": "my-first-pickup", + "min_datetime": "2024-01-22T00:00:00Z", + "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": false, - "instructions": "Pickup at front door", + "instructions": "Special pickup instructions", "messages": [], - "confirmation": "WTC62219494", + "confirmation": "WTC64043622", "address": { - "id": "adr_59e9012939da11edac48ac1f6b0a0d1e", + "id": "adr_da725a65b71611ee878dac1f6bc539aa", "object": "Address", - "created_at": "2022-09-21T18:22:29+00:00", - "updated_at": "2022-09-21T18:22:29+00:00", - "name": "Jack Sparrow", + "created_at": "2024-01-19T22:05:27+00:00", + "updated_at": "2024-01-19T22:05:27+00:00", + "name": "Dr. Steve Brule", "company": null, - "street1": "388 Townsend St", - "street2": "Apt 20", - "city": "San Francisco", + "street1": "179 N Harbor Dr", + "street2": null, + "city": "Redondo Beach", "state": "CA", - "zip": "94107", + "zip": "90277", "country": "US", - "phone": "", - "email": "", + "phone": "8573875756", + "email": "dr_steve_brule@gmail.com", "mode": "test", "carrier_facility": null, "residential": null, @@ -251,11 +43,11 @@ "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2022-09-21T18:22:30Z", - "updated_at": "2022-09-21T18:22:30Z", + "created_at": "2024-01-19T22:05:28Z", + "updated_at": "2024-01-19T22:05:28Z", "carrier": "USPS", - "pickup_id": "pickup_65320a8606854bd0b1da50413f6f96aa", - "id": "pickuprate_060e9c7a799241eb98e8b13223b65468", + "pickup_id": "pickup_283f2915cc7b42c1889195ddb6519ef7", + "id": "pickuprate_ca16cbcc4c4e4ad3b2be59e9f79505ca", "object": "PickupRate" } ] diff --git a/official/docs/responses/pickups/pickups-retrieve.json b/official/docs/responses/pickups/pickups-retrieve.json index 77637142..653a7df1 100644 --- a/official/docs/responses/pickups/pickups-retrieve.json +++ b/official/docs/responses/pickups/pickups-retrieve.json @@ -1,22 +1,22 @@ { - "id": "pickup_806802a3114d4f97896706926e785e14", + "id": "pickup_f0a1d91dca5b4c42b6af1ae4b48730c4", "object": "Pickup", - "created_at": "2022-10-17T17:17:14Z", - "updated_at": "2022-10-17T17:17:14Z", + "created_at": "2024-01-19T21:41:07Z", + "updated_at": "2024-01-19T21:41:07Z", "mode": "test", "status": "unknown", "reference": "my-first-pickup", - "min_datetime": "2022-10-18T00:00:00Z", - "max_datetime": "2022-10-18T00:00:00Z", + "min_datetime": "2024-01-22T00:00:00Z", + "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": false, "instructions": "Special pickup instructions", "messages": [], "confirmation": null, "address": { - "id": "adr_8b29085a4e3f11eda2a3ac1f6bc72124", + "id": "adr_7406e78cb71311ee99cfac1f6bc539ae", "object": "Address", - "created_at": "2022-10-17T17:17:14+00:00", - "updated_at": "2022-10-17T17:17:14+00:00", + "created_at": "2024-01-19T21:41:07+00:00", + "updated_at": "2024-01-19T21:41:07+00:00", "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", @@ -41,11 +41,11 @@ "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2022-10-17T17:17:14Z", - "updated_at": "2022-10-17T17:17:14Z", + "created_at": "2024-01-19T21:41:08Z", + "updated_at": "2024-01-19T21:41:08Z", "carrier": "USPS", - "pickup_id": "pickup_806802a3114d4f97896706926e785e14", - "id": "pickuprate_3d4c17e2014e40308a4ad0f364db5b19", + "pickup_id": "pickup_f0a1d91dca5b4c42b6af1ae4b48730c4", + "id": "pickuprate_906a807395f749df9671bdc5d2f800b2", "object": "PickupRate" } ] diff --git a/official/docs/responses/rates/rates-regenerate.json b/official/docs/responses/rates/rates-regenerate.json index c4a5afde..785e028a 100644 --- a/official/docs/responses/rates/rates-regenerate.json +++ b/official/docs/responses/rates/rates-regenerate.json @@ -1,14 +1,36 @@ { "rates": [ { - "id": "rate_c17bcb97fa114275844eadf830bd50fc", + "id": "rate_57e05c91db824b22822b07b4587725b6", "object": "Rate", - "created_at": "2023-07-10T17:30:24Z", - "updated_at": "2023-07-10T17:30:24Z", + "created_at": "2024-01-19T21:41:50Z", + "updated_at": "2024-01-19T21:41:50Z", + "mode": "test", + "service": "Express", + "carrier": "USPS", + "rate": "46.85", + "currency": "USD", + "retail_rate": "54.20", + "retail_currency": "USD", + "list_rate": "46.85", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": null, + "delivery_date": null, + "delivery_date_guaranteed": false, + "est_delivery_days": null, + "shipment_id": "shp_ba77a6f86ef7491583fee193dedb2d6f", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + }, + { + "id": "rate_9956a5e475cb4b8187e1ccea9d4d13ac", + "object": "Rate", + "created_at": "2024-01-19T21:41:50Z", + "updated_at": "2024-01-19T21:41:50Z", "mode": "test", "service": "Priority", "carrier": "USPS", - "rate": "7.47", + "rate": "7.99", "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", @@ -19,42 +41,42 @@ "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 2, - "shipment_id": "shp_29f408c3cd5b4ab18ab811efede7f7a8", + "shipment_id": "shp_ba77a6f86ef7491583fee193dedb2d6f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, { - "id": "rate_d0d34bcbfe874eb1ba9b9cc3f97e7b63", + "id": "rate_d4ca50d77d484dc282c9a000ace540a9", "object": "Rate", - "created_at": "2023-07-10T17:30:24Z", - "updated_at": "2023-07-10T17:30:24Z", + "created_at": "2024-01-19T21:41:50Z", + "updated_at": "2024-01-19T21:41:50Z", "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", - "rate": "8.92", + "rate": "6.79", "currency": "USD", - "retail_rate": "8.92", + "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": null, - "shipment_id": "shp_29f408c3cd5b4ab18ab811efede7f7a8", + "est_delivery_days": 3, + "shipment_id": "shp_ba77a6f86ef7491583fee193dedb2d6f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, { - "id": "rate_3436b225ef4746c4b532232d5e36285f", + "id": "rate_fde79e357e8f4f80baf0f1f73dd88fc4", "object": "Rate", - "created_at": "2023-07-10T17:30:24Z", - "updated_at": "2023-07-10T17:30:24Z", + "created_at": "2024-01-19T21:41:50Z", + "updated_at": "2024-01-19T21:41:50Z", "mode": "test", "service": "First", "carrier": "USPS", - "rate": "8.92", + "rate": "6.79", "currency": "USD", - "retail_rate": "8.92", + "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", "list_currency": "USD", @@ -63,29 +85,29 @@ "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_29f408c3cd5b4ab18ab811efede7f7a8", + "shipment_id": "shp_ba77a6f86ef7491583fee193dedb2d6f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, { - "id": "rate_9d845af5e6a34a42a3cb09de338cb833", + "id": "rate_538437c6d7424537bb6936d3bdec7339", "object": "Rate", - "created_at": "2023-07-10T17:30:24Z", - "updated_at": "2023-07-10T17:30:24Z", + "created_at": "2024-01-19T21:41:50Z", + "updated_at": "2024-01-19T21:41:50Z", "mode": "test", - "service": "Express", + "service": "ParcelSelect", "carrier": "USPS", - "rate": "46.85", + "rate": "6.79", "currency": "USD", - "retail_rate": "54.20", + "retail_rate": "12.45", "retail_currency": "USD", - "list_rate": "46.85", + "list_rate": "8.92", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": null, - "shipment_id": "shp_29f408c3cd5b4ab18ab811efede7f7a8", + "est_delivery_days": 3, + "shipment_id": "shp_ba77a6f86ef7491583fee193dedb2d6f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" } ] diff --git a/official/docs/responses/rates/rates-retrieve-stateless.json b/official/docs/responses/rates/rates-retrieve-stateless.json index a0b84665..b983230f 100644 --- a/official/docs/responses/rates/rates-retrieve-stateless.json +++ b/official/docs/responses/rates/rates-retrieve-stateless.json @@ -25,165 +25,93 @@ "rates": [ { "object": "Rate", - "mode": "production", - "service": "Express", + "mode": "test", + "service": "GroundAdvantage", "carrier": "USPS", - "rate": "44.55", + "rate": "6.79", "currency": "USD", - "retail_rate": "51.30", + "retail_rate": "12.45", "retail_currency": "USD", - "list_rate": "44.55", + "list_rate": "8.92", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": null, - "carrier_account_id": "ca_fe6c4f1489b545d49b698d4712fd4b95" + "est_delivery_days": 3, + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, { "object": "Rate", - "mode": "production", - "service": "Priority", + "mode": "test", + "service": "First", "carrier": "USPS", - "rate": "10.07", + "rate": "6.79", "currency": "USD", - "retail_rate": "13.45", + "retail_rate": "12.45", "retail_currency": "USD", - "list_rate": "10.07", + "list_rate": "8.92", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 2, + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 2, - "carrier_account_id": "ca_fe6c4f1489b545d49b698d4712fd4b95" + "est_delivery_days": 3, + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, { "object": "Rate", - "mode": "production", - "service": "3DaySelect", - "carrier": "UPSDAP", - "rate": "11.38", + "mode": "test", + "service": "ParcelSelect", + "carrier": "USPS", + "rate": "6.79", "currency": "USD", - "retail_rate": "30.21", + "retail_rate": "12.45", "retail_currency": "USD", - "list_rate": "31.89", + "list_rate": "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, - "delivery_date": "2022-11-28T23:00:00Z", + "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "carrier_account_id": "ca_8f1074ead87444788a1664b90399bc0a" + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, { "object": "Rate", - "mode": "production", - "service": "NextDayAirEarlyAM", - "carrier": "UPSDAP", - "rate": "78.35", - "currency": "USD", - "retail_rate": "154.49", - "retail_currency": "USD", - "list_rate": "161.74", - "list_currency": "USD", - "billing_type": "easypost", - "delivery_days": 1, - "delivery_date": "2022-11-23T08:00:00Z", - "delivery_date_guaranteed": true, - "est_delivery_days": 1, - "carrier_account_id": "ca_8f1074ead87444788a1664b90399bc0a" - }, - { - "object": "Rate", - "mode": "production", - "service": "2ndDayAirAM", - "carrier": "UPSDAP", - "rate": "17.00", - "currency": "USD", - "retail_rate": "43.99", - "retail_currency": "USD", - "list_rate": "47.57", - "list_currency": "USD", - "billing_type": "easypost", - "delivery_days": 2, - "delivery_date": "2022-11-25T23:00:00Z", - "delivery_date_guaranteed": false, - "est_delivery_days": 2, - "carrier_account_id": "ca_8f1074ead87444788a1664b90399bc0a" - }, - { - "object": "Rate", - "mode": "production", - "service": "Ground", - "carrier": "UPSDAP", - "rate": "9.25", + "mode": "test", + "service": "Express", + "carrier": "USPS", + "rate": "46.85", "currency": "USD", - "retail_rate": "15.05", + "retail_rate": "54.20", "retail_currency": "USD", - "list_rate": "16.04", + "list_rate": "46.85", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 2, - "delivery_date": "2022-11-25T23:00:00Z", + "delivery_days": null, + "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 2, - "carrier_account_id": "ca_8f1074ead87444788a1664b90399bc0a" - }, - { - "object": "Rate", - "mode": "production", - "service": "NextDayAirSaver", - "carrier": "UPSDAP", - "rate": "42.79", - "currency": "USD", - "retail_rate": "115.11", - "retail_currency": "USD", - "list_rate": "120.97", - "list_currency": "USD", - "billing_type": "easypost", - "delivery_days": 1, - "delivery_date": "2022-11-23T23:00:00Z", - "delivery_date_guaranteed": true, - "est_delivery_days": 1, - "carrier_account_id": "ca_8f1074ead87444788a1664b90399bc0a" - }, - { - "object": "Rate", - "mode": "production", - "service": "NextDayAir", - "carrier": "UPSDAP", - "rate": "48.35", - "currency": "USD", - "retail_rate": "118.71", - "retail_currency": "USD", - "list_rate": "125.96", - "list_currency": "USD", - "billing_type": "easypost", - "delivery_days": 1, - "delivery_date": "2022-11-23T10:30:00Z", - "delivery_date_guaranteed": true, - "est_delivery_days": 1, - "carrier_account_id": "ca_8f1074ead87444788a1664b90399bc0a" + "est_delivery_days": null, + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, { "object": "Rate", - "mode": "production", - "service": "2ndDayAir", - "carrier": "UPSDAP", - "rate": "15.49", + "mode": "test", + "service": "Priority", + "carrier": "USPS", + "rate": "7.99", "currency": "USD", - "retail_rate": "39.28", + "retail_rate": "14.05", "retail_currency": "USD", - "list_rate": "42.92", + "list_rate": "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 2, - "delivery_date": "2022-11-25T23:00:00Z", + "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 2, - "carrier_account_id": "ca_8f1074ead87444788a1664b90399bc0a" + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" } ], "options": { @@ -197,8 +125,45 @@ "object": "Parcel", "length": 20.2, "width": 10.9, - "height": 5, - "weight": 65 + "height": 5.0, + "weight": 65.9 }, - "messages": [] + "messages": [ + { + "carrier": "DhlEcs", + "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", + "message": "Unauthorized. Please check credentials and try again" + }, + { + "carrier": "DhlEcs", + "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", + "message": "Unauthorized. Please check credentials and try again" + }, + { + "carrier": "DhlEcs", + "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", + "message": "Unauthorized. Please check credentials and try again" + }, + { + "carrier": "DhlEcs", + "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", + "message": "Unauthorized. Please check credentials and try again" + }, + { + "carrier": "DhlEcs", + "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", + "message": "Unauthorized. Please check credentials and try again" + }, + { + "carrier": "DhlEcs", + "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", + "message": "Unauthorized. Please check credentials and try again" + } + ] } diff --git a/official/docs/responses/rates/rates-retrieve.json b/official/docs/responses/rates/rates-retrieve.json index 6b4ab5b0..1aac1df5 100644 --- a/official/docs/responses/rates/rates-retrieve.json +++ b/official/docs/responses/rates/rates-retrieve.json @@ -1,8 +1,8 @@ { - "id": "rate_e3c2b6a50b6a4fcbaaff11975cd65fea", + "id": "rate_c687bf16e5ca4546975a7592c4f98601", "object": "Rate", - "created_at": "2023-07-10T17:30:21Z", - "updated_at": "2023-07-10T17:30:21Z", + "created_at": "2024-01-19T21:41:48Z", + "updated_at": "2024-01-19T21:41:48Z", "mode": "test", "service": "Express", "carrier": "USPS", @@ -17,6 +17,6 @@ "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": null, - "shipment_id": "shp_b1e94a12509745ac8417e9a5afc0d4df", + "shipment_id": "shp_1be229ae6e724ace9b3f7147bb186ff8", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" } diff --git a/official/docs/responses/referral-customers/referral-customers-create.json b/official/docs/responses/referral-customers/referral-customers-create.json index 9ee9ceae..78bb6b6e 100644 --- a/official/docs/responses/referral-customers/referral-customers-create.json +++ b/official/docs/responses/referral-customers/referral-customers-create.json @@ -1,12 +1,13 @@ { - "id": "user_b60d02fc8b76445995690db5798a08bd", + "id": "user_98f23364261c476ab4ff9e9826c39e27", "object": "User", "parent_id": null, "name": "test test", "phone_number": "8888888888", "verified": true, - "created_at": "2022-10-17T17:17:25Z", + "created_at": "2024-01-19T21:41:50Z", "default_carbon_offset": false, + "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": null, @@ -17,24 +18,24 @@ "default_insurance_amount": "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", - "email": "referral_customer_820f2c4425b544a990eadc9855d8ad82@donotemail.easypost.com", + "email": "referral_customer_798ade56147e4ea0ab12872b7b08edf7@donotemail.easypost.com", "children": [], "api_keys": [ { "object": "ApiKey", "key": "", "mode": "test", - "created_at": "2022-10-17T17:17:26Z", + "created_at": "2024-01-19T21:41:51Z", "active": true, - "id": "ak_f8ca6076260c4b87932cd8dc6bf98454" + "id": "ak_8f075522f4524af5998e9f1d96b56dc9" }, { "object": "ApiKey", "key": "", "mode": "production", - "created_at": "2022-10-17T17:17:26Z", + "created_at": "2024-01-19T21:41:51Z", "active": true, - "id": "ak_902aa3c89bc04daea3f8995754f78140" + "id": "ak_e8cb2d17f4184e80a1145646b331ae10" } ] } diff --git a/official/docs/responses/referral-customers/referral-customers-refund-by-amount.json b/official/docs/responses/referral-customers/referral-customers-refund-by-amount.json index 50dd7a69..ba81253e 100644 --- a/official/docs/responses/referral-customers/referral-customers-refund-by-amount.json +++ b/official/docs/responses/referral-customers/referral-customers-refund-by-amount.json @@ -1,6 +1,9 @@ { "refunded_amount": 2000, "payment_log_id": "paylog_...", - "refunded_payment_logs": ["paylog...", "paylog..."], + "refunded_payment_logs": [ + "paylog...", + "paylog..." + ], "errors": [] } diff --git a/official/docs/responses/referral-customers/referral-customers-refund-by-payment-log.json b/official/docs/responses/referral-customers/referral-customers-refund-by-payment-log.json index 50dd7a69..ba81253e 100644 --- a/official/docs/responses/referral-customers/referral-customers-refund-by-payment-log.json +++ b/official/docs/responses/referral-customers/referral-customers-refund-by-payment-log.json @@ -1,6 +1,9 @@ { "refunded_amount": 2000, "payment_log_id": "paylog_...", - "refunded_payment_logs": ["paylog...", "paylog..."], + "refunded_payment_logs": [ + "paylog...", + "paylog..." + ], "errors": [] } diff --git a/official/docs/responses/refunds/refunds-create.json b/official/docs/responses/refunds/refunds-create.json index 8a6c187c..810b1b75 100644 --- a/official/docs/responses/refunds/refunds-create.json +++ b/official/docs/responses/refunds/refunds-create.json @@ -1,13 +1,13 @@ [ { - "id": "rfnd_46ccd1ba6470458595a0beacdf151058", + "id": "rfnd_bcb3fa1dfbfe4706bd524ee81fd249ab", "object": "Refund", - "created_at": "2022-10-17T17:17:32Z", - "updated_at": "2022-10-17T17:17:32Z", - "tracking_code": "9405500106068143632948", + "created_at": "2024-01-19T21:41:55Z", + "updated_at": "2024-01-19T21:41:55Z", + "tracking_code": "9405500207552010707757", "confirmation_number": null, "status": "submitted", "carrier": "USPS", - "shipment_id": "shp_fd5987292f40494ca9659410ef1efc01" + "shipment_id": "shp_31826ec4b32847c9943a27371cc43b28" } ] diff --git a/official/docs/responses/refunds/refunds-list.json b/official/docs/responses/refunds/refunds-list.json index 7827dcdc..0598649b 100644 --- a/official/docs/responses/refunds/refunds-list.json +++ b/official/docs/responses/refunds/refunds-list.json @@ -1,16 +1,16 @@ { "refunds": [ { - "id": "rfnd_46ccd1ba6470458595a0beacdf151058", + "id": "rfnd_bcb3fa1dfbfe4706bd524ee81fd249ab", "object": "Refund", - "created_at": "2022-10-17T17:17:32Z", - "updated_at": "2022-10-17T17:17:32Z", - "tracking_code": "9405500106068143632948", + "created_at": "2024-01-19T21:41:55Z", + "updated_at": "2024-01-19T21:41:55Z", + "tracking_code": "9405500207552010707757", "confirmation_number": null, "status": "submitted", "carrier": "USPS", - "shipment_id": "shp_fd5987292f40494ca9659410ef1efc01" + "shipment_id": "shp_31826ec4b32847c9943a27371cc43b28" } ], - "has_more": false + "has_more": true } diff --git a/official/docs/responses/refunds/refunds-retrieve.json b/official/docs/responses/refunds/refunds-retrieve.json index 44ed30e7..5b05d90c 100644 --- a/official/docs/responses/refunds/refunds-retrieve.json +++ b/official/docs/responses/refunds/refunds-retrieve.json @@ -1,11 +1,11 @@ { - "id": "rfnd_46ccd1ba6470458595a0beacdf151058", + "id": "rfnd_bcb3fa1dfbfe4706bd524ee81fd249ab", "object": "Refund", - "created_at": "2022-10-17T17:17:32Z", - "updated_at": "2022-10-17T17:17:32Z", - "tracking_code": "9405500106068143632948", + "created_at": "2024-01-19T21:41:55Z", + "updated_at": "2024-01-19T21:41:55Z", + "tracking_code": "9405500207552010707757", "confirmation_number": null, "status": "submitted", "carrier": "USPS", - "shipment_id": "shp_fd5987292f40494ca9659410ef1efc01" + "shipment_id": "shp_31826ec4b32847c9943a27371cc43b28" } diff --git a/official/docs/responses/reports/reports-create.json b/official/docs/responses/reports/reports-create.json index 8f1a3ec6..1bec0d71 100644 --- a/official/docs/responses/reports/reports-create.json +++ b/official/docs/responses/reports/reports-create.json @@ -1,8 +1,8 @@ { - "id": "shprep_d581277a0438499fb468e26f296c3619", + "id": "shprep_1a2add2499724affb3392a13f2ccb9f7", "object": "ShipmentReport", - "created_at": "2022-10-17T17:17:34Z", - "updated_at": "2022-10-17T17:17:34Z", + "created_at": "2024-01-19T21:41:56Z", + "updated_at": "2024-01-19T21:41:56Z", "start_date": "2022-10-01", "end_date": "2022-10-01", "mode": "test", diff --git a/official/docs/responses/reports/reports-list.json b/official/docs/responses/reports/reports-list.json index 58fd446a..e007692a 100644 --- a/official/docs/responses/reports/reports-list.json +++ b/official/docs/responses/reports/reports-list.json @@ -1,10 +1,10 @@ { "reports": [ { - "id": "shprep_9165b8bb411046ca9a42c7a31263c98b", + "id": "shprep_b849ea9c3a0d4f248255f0dca4f28040", "object": "ShipmentReport", - "created_at": "2022-10-17T17:17:34Z", - "updated_at": "2022-10-17T17:17:35Z", + "created_at": "2024-01-19T21:41:56Z", + "updated_at": "2024-01-19T21:41:57Z", "start_date": "2022-10-01", "end_date": "2022-10-01", "mode": "test", diff --git a/official/docs/responses/reports/reports-retrieve.json b/official/docs/responses/reports/reports-retrieve.json index dfdabf1e..394e0dcf 100644 --- a/official/docs/responses/reports/reports-retrieve.json +++ b/official/docs/responses/reports/reports-retrieve.json @@ -1,8 +1,8 @@ { - "id": "shprep_9165b8bb411046ca9a42c7a31263c98b", + "id": "shprep_b849ea9c3a0d4f248255f0dca4f28040", "object": "ShipmentReport", - "created_at": "2022-10-17T17:17:34Z", - "updated_at": "2022-10-17T17:17:34Z", + "created_at": "2024-01-19T21:41:56Z", + "updated_at": "2024-01-19T21:41:56Z", "start_date": "2022-10-01", "end_date": "2022-10-01", "mode": "test", diff --git a/official/docs/responses/returns/returns-create.json b/official/docs/responses/returns/returns-create.json index cb8e7f45..7ca7a379 100644 --- a/official/docs/responses/returns/returns-create.json +++ b/official/docs/responses/returns/returns-create.json @@ -1,5 +1,5 @@ { - "created_at": "2023-07-10T17:30:27Z", + "created_at": "2024-01-19T21:41:57Z", "is_return": true, "messages": [], "mode": "test", @@ -13,15 +13,15 @@ "reference": null, "status": "unknown", "tracking_code": null, - "updated_at": "2023-07-10T17:30:27Z", + "updated_at": "2024-01-19T21:41:57Z", "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": { - "id": "cstinfo_b0ed4260200f4150b6da7aadce6688c5", + "id": "cstinfo_e10a9748677e40aaa2bcd72f16b7e305", "object": "CustomsInfo", - "created_at": "2023-07-10T17:30:27Z", - "updated_at": "2023-07-10T17:30:27Z", + "created_at": "2024-01-19T21:41:57Z", + "updated_at": "2024-01-19T21:41:57Z", "contents_explanation": "", "contents_type": "merchandise", "customs_certify": true, @@ -34,10 +34,10 @@ "declaration": null, "customs_items": [ { - "id": "cstitem_8fe36f406d3c4a6885d4145614869491", + "id": "cstitem_3aa772839a134304b1eb2ae01a8a17f9", "object": "CustomsItem", - "created_at": "2023-07-10T17:30:27Z", - "updated_at": "2023-07-10T17:30:27Z", + "created_at": "2024-01-19T21:41:57Z", + "updated_at": "2024-01-19T21:41:57Z", "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": "US", @@ -54,10 +54,10 @@ ] }, "from_address": { - "id": "adr_758a4c0e1f4711eeb188ac1f6bc539ae", + "id": "adr_91fe73f7b71311eeb2deac1f6bc539aa", "object": "Address", - "created_at": "2023-07-10T17:30:27+00:00", - "updated_at": "2023-07-10T17:30:27+00:00", + "created_at": "2024-01-19T21:41:57+00:00", + "updated_at": "2024-01-19T21:41:57+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -78,10 +78,10 @@ "insurance": null, "order_id": null, "parcel": { - "id": "prcl_e6b6a868f4964930b2ede48ed1d1a7ee", + "id": "prcl_fc22ab275ab14dc88a49b502ad0b3908", "object": "Parcel", - "created_at": "2023-07-10T17:30:27Z", - "updated_at": "2023-07-10T17:30:27Z", + "created_at": "2024-01-19T21:41:57Z", + "updated_at": "2024-01-19T21:41:57Z", "length": 20.2, "width": 10.9, "height": 5.0, @@ -92,10 +92,406 @@ "postage_label": null, "rates": [ { - "id": "rate_5ebb3af8b72c45809517f7173f4aa4f8", + "id": "rate_5df3c128204346d48fa33e244add15bd", "object": "Rate", - "created_at": "2023-07-10T17:30:28Z", - "updated_at": "2023-07-10T17:30:28Z", + "created_at": "2024-01-19T21:41:57Z", + "updated_at": "2024-01-19T21:41:57Z", + "mode": "test", + "service": "DHLSmartMailParcelReturnGround", + "carrier": "DhlEcs", + "rate": "0.01", + "currency": "USD", + "retail_rate": null, + "retail_currency": null, + "list_rate": null, + "list_currency": null, + "billing_type": "carrier", + "delivery_days": null, + "delivery_date": null, + "delivery_date_guaranteed": null, + "est_delivery_days": null, + "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", + "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a" + }, + { + "id": "rate_d3e81642d3a34c55a226b5193dcb1180", + "object": "Rate", + "created_at": "2024-01-19T21:41:58Z", + "updated_at": "2024-01-19T21:41:58Z", + "mode": "test", + "service": "DHLSmartMailParcelReturnPlus", + "carrier": "DhlEcs", + "rate": "0.01", + "currency": "USD", + "retail_rate": null, + "retail_currency": null, + "list_rate": null, + "list_currency": null, + "billing_type": "carrier", + "delivery_days": null, + "delivery_date": null, + "delivery_date_guaranteed": null, + "est_delivery_days": null, + "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", + "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a" + }, + { + "id": "rate_65af060a811b4ae9a7eaf4defbd02628", + "object": "Rate", + "created_at": "2024-01-19T21:41:58Z", + "updated_at": "2024-01-19T21:41:58Z", + "mode": "test", + "service": "DHLSmartMailParcelReturnLight", + "carrier": "DhlEcs", + "rate": "0.01", + "currency": "USD", + "retail_rate": null, + "retail_currency": null, + "list_rate": null, + "list_currency": null, + "billing_type": "carrier", + "delivery_days": null, + "delivery_date": null, + "delivery_date_guaranteed": null, + "est_delivery_days": null, + "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", + "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a" + }, + { + "id": "rate_84ee3422fe46495ba7165910cdc6d8f1", + "object": "Rate", + "created_at": "2024-01-19T21:41:58Z", + "updated_at": "2024-01-19T21:41:58Z", + "mode": "test", + "service": "DHLSmartMailParcelReturnGround", + "carrier": "DhlEcs", + "rate": "0.01", + "currency": "USD", + "retail_rate": null, + "retail_currency": null, + "list_rate": null, + "list_currency": null, + "billing_type": "carrier", + "delivery_days": null, + "delivery_date": null, + "delivery_date_guaranteed": null, + "est_delivery_days": null, + "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", + "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476" + }, + { + "id": "rate_701a5283adef4f93bc34aff9e0a884b1", + "object": "Rate", + "created_at": "2024-01-19T21:41:58Z", + "updated_at": "2024-01-19T21:41:58Z", + "mode": "test", + "service": "DHLSmartMailParcelReturnPlus", + "carrier": "DhlEcs", + "rate": "0.01", + "currency": "USD", + "retail_rate": null, + "retail_currency": null, + "list_rate": null, + "list_currency": null, + "billing_type": "carrier", + "delivery_days": null, + "delivery_date": null, + "delivery_date_guaranteed": null, + "est_delivery_days": null, + "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", + "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476" + }, + { + "id": "rate_32baf56d59354437858314caf9926737", + "object": "Rate", + "created_at": "2024-01-19T21:41:58Z", + "updated_at": "2024-01-19T21:41:58Z", + "mode": "test", + "service": "DHLSmartMailParcelReturnLight", + "carrier": "DhlEcs", + "rate": "0.01", + "currency": "USD", + "retail_rate": null, + "retail_currency": null, + "list_rate": null, + "list_currency": null, + "billing_type": "carrier", + "delivery_days": null, + "delivery_date": null, + "delivery_date_guaranteed": null, + "est_delivery_days": null, + "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", + "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476" + }, + { + "id": "rate_fe4e42565abe45588ce6a155f3bb0446", + "object": "Rate", + "created_at": "2024-01-19T21:41:58Z", + "updated_at": "2024-01-19T21:41:58Z", + "mode": "test", + "service": "DHLSmartMailParcelReturnGround", + "carrier": "DhlEcs", + "rate": "0.01", + "currency": "USD", + "retail_rate": null, + "retail_currency": null, + "list_rate": null, + "list_currency": null, + "billing_type": "carrier", + "delivery_days": null, + "delivery_date": null, + "delivery_date_guaranteed": null, + "est_delivery_days": null, + "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", + "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f" + }, + { + "id": "rate_03e67a382fba4e9780cf77b937d65103", + "object": "Rate", + "created_at": "2024-01-19T21:41:58Z", + "updated_at": "2024-01-19T21:41:58Z", + "mode": "test", + "service": "DHLSmartMailParcelReturnPlus", + "carrier": "DhlEcs", + "rate": "0.01", + "currency": "USD", + "retail_rate": null, + "retail_currency": null, + "list_rate": null, + "list_currency": null, + "billing_type": "carrier", + "delivery_days": null, + "delivery_date": null, + "delivery_date_guaranteed": null, + "est_delivery_days": null, + "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", + "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f" + }, + { + "id": "rate_65f2769a110a46b593d243166308c826", + "object": "Rate", + "created_at": "2024-01-19T21:41:58Z", + "updated_at": "2024-01-19T21:41:58Z", + "mode": "test", + "service": "DHLSmartMailParcelReturnLight", + "carrier": "DhlEcs", + "rate": "0.01", + "currency": "USD", + "retail_rate": null, + "retail_currency": null, + "list_rate": null, + "list_currency": null, + "billing_type": "carrier", + "delivery_days": null, + "delivery_date": null, + "delivery_date_guaranteed": null, + "est_delivery_days": null, + "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", + "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f" + }, + { + "id": "rate_48e162777cbd4a228b04b966b993ad6c", + "object": "Rate", + "created_at": "2024-01-19T21:41:58Z", + "updated_at": "2024-01-19T21:41:58Z", + "mode": "test", + "service": "DHLSmartMailParcelReturnGround", + "carrier": "DhlEcs", + "rate": "0.01", + "currency": "USD", + "retail_rate": null, + "retail_currency": null, + "list_rate": null, + "list_currency": null, + "billing_type": "carrier", + "delivery_days": null, + "delivery_date": null, + "delivery_date_guaranteed": null, + "est_delivery_days": null, + "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", + "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e" + }, + { + "id": "rate_c683693f5e594a85a0956127de14f949", + "object": "Rate", + "created_at": "2024-01-19T21:41:58Z", + "updated_at": "2024-01-19T21:41:58Z", + "mode": "test", + "service": "DHLSmartMailParcelReturnPlus", + "carrier": "DhlEcs", + "rate": "0.01", + "currency": "USD", + "retail_rate": null, + "retail_currency": null, + "list_rate": null, + "list_currency": null, + "billing_type": "carrier", + "delivery_days": null, + "delivery_date": null, + "delivery_date_guaranteed": null, + "est_delivery_days": null, + "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", + "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e" + }, + { + "id": "rate_421496aaa91642e589ff2b8d20902302", + "object": "Rate", + "created_at": "2024-01-19T21:41:58Z", + "updated_at": "2024-01-19T21:41:58Z", + "mode": "test", + "service": "DHLSmartMailParcelReturnLight", + "carrier": "DhlEcs", + "rate": "0.01", + "currency": "USD", + "retail_rate": null, + "retail_currency": null, + "list_rate": null, + "list_currency": null, + "billing_type": "carrier", + "delivery_days": null, + "delivery_date": null, + "delivery_date_guaranteed": null, + "est_delivery_days": null, + "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", + "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e" + }, + { + "id": "rate_c8a3dc316ab744dba19feb306860132b", + "object": "Rate", + "created_at": "2024-01-19T21:41:58Z", + "updated_at": "2024-01-19T21:41:58Z", + "mode": "test", + "service": "DHLSmartMailParcelReturnGround", + "carrier": "DhlEcs", + "rate": "0.01", + "currency": "USD", + "retail_rate": null, + "retail_currency": null, + "list_rate": null, + "list_currency": null, + "billing_type": "carrier", + "delivery_days": null, + "delivery_date": null, + "delivery_date_guaranteed": null, + "est_delivery_days": null, + "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", + "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c" + }, + { + "id": "rate_d45828f275a540438136b9a5953e4d51", + "object": "Rate", + "created_at": "2024-01-19T21:41:58Z", + "updated_at": "2024-01-19T21:41:58Z", + "mode": "test", + "service": "DHLSmartMailParcelReturnPlus", + "carrier": "DhlEcs", + "rate": "0.01", + "currency": "USD", + "retail_rate": null, + "retail_currency": null, + "list_rate": null, + "list_currency": null, + "billing_type": "carrier", + "delivery_days": null, + "delivery_date": null, + "delivery_date_guaranteed": null, + "est_delivery_days": null, + "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", + "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c" + }, + { + "id": "rate_e2a7e4b0ea114adbaba0aeb4c370e3bd", + "object": "Rate", + "created_at": "2024-01-19T21:41:58Z", + "updated_at": "2024-01-19T21:41:58Z", + "mode": "test", + "service": "DHLSmartMailParcelReturnLight", + "carrier": "DhlEcs", + "rate": "0.01", + "currency": "USD", + "retail_rate": null, + "retail_currency": null, + "list_rate": null, + "list_currency": null, + "billing_type": "carrier", + "delivery_days": null, + "delivery_date": null, + "delivery_date_guaranteed": null, + "est_delivery_days": null, + "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", + "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c" + }, + { + "id": "rate_dea216f6c3d64d109cb0fa8f58c87c8a", + "object": "Rate", + "created_at": "2024-01-19T21:41:58Z", + "updated_at": "2024-01-19T21:41:58Z", + "mode": "test", + "service": "DHLSmartMailParcelReturnGround", + "carrier": "DhlEcs", + "rate": "0.01", + "currency": "USD", + "retail_rate": null, + "retail_currency": null, + "list_rate": null, + "list_currency": null, + "billing_type": "carrier", + "delivery_days": null, + "delivery_date": null, + "delivery_date_guaranteed": null, + "est_delivery_days": null, + "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", + "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea" + }, + { + "id": "rate_af513e3d12b24c33b420f93784b9f80e", + "object": "Rate", + "created_at": "2024-01-19T21:41:58Z", + "updated_at": "2024-01-19T21:41:58Z", + "mode": "test", + "service": "DHLSmartMailParcelReturnPlus", + "carrier": "DhlEcs", + "rate": "0.01", + "currency": "USD", + "retail_rate": null, + "retail_currency": null, + "list_rate": null, + "list_currency": null, + "billing_type": "carrier", + "delivery_days": null, + "delivery_date": null, + "delivery_date_guaranteed": null, + "est_delivery_days": null, + "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", + "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea" + }, + { + "id": "rate_e152337fde8c46b2a39c61772dd90da3", + "object": "Rate", + "created_at": "2024-01-19T21:41:58Z", + "updated_at": "2024-01-19T21:41:58Z", + "mode": "test", + "service": "DHLSmartMailParcelReturnLight", + "carrier": "DhlEcs", + "rate": "0.01", + "currency": "USD", + "retail_rate": null, + "retail_currency": null, + "list_rate": null, + "list_currency": null, + "billing_type": "carrier", + "delivery_days": null, + "delivery_date": null, + "delivery_date_guaranteed": null, + "est_delivery_days": null, + "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", + "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea" + }, + { + "id": "rate_697921bd11cb478f9a2642ad2b75cdc4", + "object": "Rate", + "created_at": "2024-01-19T21:41:58Z", + "updated_at": "2024-01-19T21:41:58Z", "mode": "test", "service": "Express", "carrier": "USPS", @@ -110,18 +506,18 @@ "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": null, - "shipment_id": "shp_30a5c86b7e7c418e888e61cac1a693a4", + "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, { - "id": "rate_072fd0f4517f4d2a97b36cc1afa19be8", + "id": "rate_fd925e2a3bf8413e9672b1da8befea1c", "object": "Rate", - "created_at": "2023-07-10T17:30:28Z", - "updated_at": "2023-07-10T17:30:28Z", + "created_at": "2024-01-19T21:41:58Z", + "updated_at": "2024-01-19T21:41:58Z", "mode": "test", "service": "Priority", "carrier": "USPS", - "rate": "7.47", + "rate": "7.99", "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", @@ -132,42 +528,64 @@ "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 2, - "shipment_id": "shp_30a5c86b7e7c418e888e61cac1a693a4", + "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, { - "id": "rate_f6f26b0e99304ee8bce18895f59300a7", + "id": "rate_d9a4833b94fb4d269bcdd0723516faa4", "object": "Rate", - "created_at": "2023-07-10T17:30:28Z", - "updated_at": "2023-07-10T17:30:28Z", + "created_at": "2024-01-19T21:41:58Z", + "updated_at": "2024-01-19T21:41:58Z", "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", - "rate": "8.92", + "rate": "6.79", "currency": "USD", - "retail_rate": "8.92", + "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": null, - "shipment_id": "shp_30a5c86b7e7c418e888e61cac1a693a4", + "est_delivery_days": 3, + "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, { - "id": "rate_ea24fcae31e74731b833d6a3ab53c204", + "id": "rate_f39b6a2bd5734541b6695e54d12ad33f", "object": "Rate", - "created_at": "2023-07-10T17:30:28Z", - "updated_at": "2023-07-10T17:30:28Z", + "created_at": "2024-01-19T21:41:58Z", + "updated_at": "2024-01-19T21:41:58Z", "mode": "test", "service": "First", "carrier": "USPS", - "rate": "8.92", + "rate": "6.79", + "currency": "USD", + "retail_rate": "12.45", + "retail_currency": "USD", + "list_rate": "8.92", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": 3, + "delivery_date": null, + "delivery_date_guaranteed": false, + "est_delivery_days": 3, + "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + }, + { + "id": "rate_67f84592ad1145e58e8651b177e9c779", + "object": "Rate", + "created_at": "2024-01-19T21:41:58Z", + "updated_at": "2024-01-19T21:41:58Z", + "mode": "test", + "service": "ParcelSelect", + "carrier": "USPS", + "rate": "6.79", "currency": "USD", - "retail_rate": "8.92", + "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", "list_currency": "USD", @@ -176,7 +594,7 @@ "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_30a5c86b7e7c418e888e61cac1a693a4", + "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" } ], @@ -185,10 +603,10 @@ "selected_rate": null, "tracker": null, "to_address": { - "id": "adr_7587f2911f4711ee953d3cecef1b359e", + "id": "adr_91fc400fb71311eea1533cecef1b359e", "object": "Address", - "created_at": "2023-07-10T17:30:27+00:00", - "updated_at": "2023-07-10T17:30:27+00:00", + "created_at": "2024-01-19T21:41:57+00:00", + "updated_at": "2024-01-19T21:41:57+00:00", "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", @@ -208,10 +626,10 @@ }, "usps_zone": 4, "return_address": { - "id": "adr_758a4c0e1f4711eeb188ac1f6bc539ae", + "id": "adr_91fe73f7b71311eeb2deac1f6bc539aa", "object": "Address", - "created_at": "2023-07-10T17:30:27+00:00", - "updated_at": "2023-07-10T17:30:27+00:00", + "created_at": "2024-01-19T21:41:57+00:00", + "updated_at": "2024-01-19T21:41:57+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -230,10 +648,10 @@ "verifications": {} }, "buyer_address": { - "id": "adr_7587f2911f4711ee953d3cecef1b359e", + "id": "adr_91fc400fb71311eea1533cecef1b359e", "object": "Address", - "created_at": "2023-07-10T17:30:27+00:00", - "updated_at": "2023-07-10T17:30:27+00:00", + "created_at": "2024-01-19T21:41:57+00:00", + "updated_at": "2024-01-19T21:41:57+00:00", "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", @@ -253,6 +671,6 @@ }, "forms": [], "fees": [], - "id": "shp_30a5c86b7e7c418e888e61cac1a693a4", + "id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", "object": "Shipment" } diff --git a/official/docs/responses/scan-form/scan-form-create.json b/official/docs/responses/scan-form/scan-form-create.json index 42c1cee2..2ec0071a 100644 --- a/official/docs/responses/scan-form/scan-form-create.json +++ b/official/docs/responses/scan-form/scan-form-create.json @@ -1,14 +1,16 @@ { - "id": "sf_cc2ae5bd5aa54c77b95da41d09ce66b7", + "id": "sf_528ce3f9e7514f3e913981b96b31f43f", "object": "ScanForm", - "created_at": "2022-10-17T17:17:37Z", - "updated_at": "2022-10-17T17:17:37Z", - "tracking_codes": ["9405500106068143632979"], + "created_at": "2024-01-19T21:41:59Z", + "updated_at": "2024-01-19T21:42:00Z", + "tracking_codes": [ + "9405500207552010707764" + ], "address": { - "id": "adr_98589d044e3f11edbf5dac1f6bc7bdc6", + "id": "adr_9284d509b71311eea334ac1f6bc53342", "object": "Address", - "created_at": "2022-10-17T17:17:36+00:00", - "updated_at": "2022-10-17T17:17:36+00:00", + "created_at": "2024-01-19T21:41:58+00:00", + "updated_at": "2024-01-19T21:41:58+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -28,8 +30,8 @@ }, "status": "created", "message": null, - "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20221017/b1d3be3965e846dd866854e0ac6f6ef6.pdf", + "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e854ab77cf96b1465ebf32276ca4fc78d1.pdf", "form_file_type": null, - "batch_id": "batch_5dd34c4b69764f8c8e6d77d72d28e8d7", + "batch_id": "batch_ebb3185b929f4500afa690677d49ff33", "confirmation": null } diff --git a/official/docs/responses/scan-form/scan-form-list.json b/official/docs/responses/scan-form/scan-form-list.json index ef3cb3a4..f969ed46 100644 --- a/official/docs/responses/scan-form/scan-form-list.json +++ b/official/docs/responses/scan-form/scan-form-list.json @@ -1,16 +1,18 @@ { "scan_forms": [ { - "id": "sf_3684195c590740a88bc2c2cf5f25acb1", + "id": "sf_7da5cfcbb18448a1b8557d6f46dcfd63", "object": "ScanForm", - "created_at": "2022-10-17T17:17:39Z", - "updated_at": "2022-10-17T17:17:40Z", - "tracking_codes": ["9405500106068143632993"], + "created_at": "2024-01-19T21:42:01Z", + "updated_at": "2024-01-19T21:42:02Z", + "tracking_codes": [ + "9405500207552010707771" + ], "address": { - "id": "adr_99962d534e3f11ed846dac1f6b0a0d1e", + "id": "adr_939e948eb71311eeb35fac1f6bc539aa", "object": "Address", - "created_at": "2022-10-17T17:17:38+00:00", - "updated_at": "2022-10-17T17:17:38+00:00", + "created_at": "2024-01-19T21:42:00+00:00", + "updated_at": "2024-01-19T21:42:00+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -30,9 +32,9 @@ }, "status": "created", "message": null, - "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20221017/58d6eef422424d02bd4105029666d614.pdf", + "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e88e3aaa0500a342a6ba20d2fe6c3cd189.pdf", "form_file_type": null, - "batch_id": "batch_879633ae98a847409f0ca5b22c9872f4", + "batch_id": "batch_20ed0a5f5e4f4e5c8cf2b4f966ceb924", "confirmation": null } ], diff --git a/official/docs/responses/scan-form/scan-form-retrieve.json b/official/docs/responses/scan-form/scan-form-retrieve.json index c98a28d7..c2618ccb 100644 --- a/official/docs/responses/scan-form/scan-form-retrieve.json +++ b/official/docs/responses/scan-form/scan-form-retrieve.json @@ -1,14 +1,16 @@ { - "id": "sf_3684195c590740a88bc2c2cf5f25acb1", + "id": "sf_7da5cfcbb18448a1b8557d6f46dcfd63", "object": "ScanForm", - "created_at": "2022-10-17T17:17:39Z", - "updated_at": "2022-10-17T17:17:40Z", - "tracking_codes": ["9405500106068143632993"], + "created_at": "2024-01-19T21:42:01Z", + "updated_at": "2024-01-19T21:42:02Z", + "tracking_codes": [ + "9405500207552010707771" + ], "address": { - "id": "adr_99962d534e3f11ed846dac1f6b0a0d1e", + "id": "adr_939e948eb71311eeb35fac1f6bc539aa", "object": "Address", - "created_at": "2022-10-17T17:17:38+00:00", - "updated_at": "2022-10-17T17:17:38+00:00", + "created_at": "2024-01-19T21:42:00+00:00", + "updated_at": "2024-01-19T21:42:00+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -28,8 +30,8 @@ }, "status": "created", "message": null, - "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20221017/58d6eef422424d02bd4105029666d614.pdf", + "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e88e3aaa0500a342a6ba20d2fe6c3cd189.pdf", "form_file_type": null, - "batch_id": "batch_879633ae98a847409f0ca5b22c9872f4", + "batch_id": "batch_20ed0a5f5e4f4e5c8cf2b4f966ceb924", "confirmation": null } diff --git a/official/docs/responses/shipments/shipments-buy.json b/official/docs/responses/shipments/shipments-buy.json index c942314d..c081d4c9 100644 --- a/official/docs/responses/shipments/shipments-buy.json +++ b/official/docs/responses/shipments/shipments-buy.json @@ -1,5 +1,5 @@ { - "created_at": "2023-07-10T17:30:32Z", + "created_at": "2024-01-19T21:42:06Z", "is_return": false, "messages": [], "mode": "test", @@ -12,16 +12,16 @@ }, "reference": null, "status": "unknown", - "tracking_code": "9405500105440232839154", - "updated_at": "2023-07-10T17:30:34Z", + "tracking_code": "9434600207552010707787", + "updated_at": "2024-01-19T21:42:07Z", "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": { - "id": "cstinfo_966c3d97171348d58a521331a78e787d", + "id": "cstinfo_6a9c8f8d8644416e90257311e88134ea", "object": "CustomsInfo", - "created_at": "2023-07-10T17:30:32Z", - "updated_at": "2023-07-10T17:30:32Z", + "created_at": "2024-01-19T21:42:06Z", + "updated_at": "2024-01-19T21:42:06Z", "contents_explanation": "", "contents_type": "merchandise", "customs_certify": true, @@ -34,10 +34,10 @@ "declaration": null, "customs_items": [ { - "id": "cstitem_fc1e3c91391a4fada67cdde755cc1084", + "id": "cstitem_0bda13f0ee274bd2be030ea42a1ca15f", "object": "CustomsItem", - "created_at": "2023-07-10T17:30:32Z", - "updated_at": "2023-07-10T17:30:32Z", + "created_at": "2024-01-19T21:42:06Z", + "updated_at": "2024-01-19T21:42:06Z", "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": "US", @@ -54,10 +54,10 @@ ] }, "from_address": { - "id": "adr_790830351f4711ee972c3cecef1b359e", + "id": "adr_96fda460b71311eea4b6ac1f6bc53342", "object": "Address", - "created_at": "2023-07-10T17:30:32+00:00", - "updated_at": "2023-07-10T17:30:32+00:00", + "created_at": "2024-01-19T21:42:06+00:00", + "updated_at": "2024-01-19T21:42:06+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -78,10 +78,10 @@ "insurance": "249.99", "order_id": null, "parcel": { - "id": "prcl_013b6187c18d44b5bfdc05e0e795f033", + "id": "prcl_a1e7f4d767864957a19eb953a404bcb6", "object": "Parcel", - "created_at": "2023-07-10T17:30:32Z", - "updated_at": "2023-07-10T17:30:32Z", + "created_at": "2024-01-19T21:42:06Z", + "updated_at": "2024-01-19T21:42:06Z", "length": 20.2, "width": 10.9, "height": 5.0, @@ -91,17 +91,17 @@ }, "postage_label": { "object": "PostageLabel", - "id": "pl_ed73e71d2910440bac0eae34a6e4c9fa", - "created_at": "2023-07-10T17:30:34Z", - "updated_at": "2023-07-10T17:30:34Z", + "id": "pl_d2c812bc95d14f3e96a93051499ae90e", + "created_at": "2024-01-19T21:42:07Z", + "updated_at": "2024-01-19T21:42:07Z", "date_advance": 0, "integrated_form": "none", - "label_date": "2023-07-10T17:30:34Z", + "label_date": "2024-01-19T21:42:07Z", "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": "image/png", - "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20230710/e6ad0a33bff1634f128c21d0e75e066491.png", + "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8d198c6ae2d2241c59205f9b21e7614f6.png", "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, @@ -109,14 +109,36 @@ }, "rates": [ { - "id": "rate_22ca9cdf88be4b5da8e91b051e673534", + "id": "rate_d8cf4f2661cf4ba98eb89b2c27dd4ea3", "object": "Rate", - "created_at": "2023-07-10T17:30:33Z", - "updated_at": "2023-07-10T17:30:33Z", + "created_at": "2024-01-19T21:42:06Z", + "updated_at": "2024-01-19T21:42:06Z", + "mode": "test", + "service": "Express", + "carrier": "USPS", + "rate": "46.85", + "currency": "USD", + "retail_rate": "54.20", + "retail_currency": "USD", + "list_rate": "46.85", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": null, + "delivery_date": null, + "delivery_date_guaranteed": false, + "est_delivery_days": null, + "shipment_id": "shp_a1265a904613406189a1767d5474c0d8", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + }, + { + "id": "rate_c744918e951445308a1727502bd58aee", + "object": "Rate", + "created_at": "2024-01-19T21:42:06Z", + "updated_at": "2024-01-19T21:42:06Z", "mode": "test", "service": "Priority", "carrier": "USPS", - "rate": "7.47", + "rate": "7.99", "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", @@ -127,42 +149,42 @@ "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 2, - "shipment_id": "shp_5948db965e944950b6acc052af7f79a1", + "shipment_id": "shp_a1265a904613406189a1767d5474c0d8", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, { - "id": "rate_e4df015173864a1a8c4e2144e2eeb055", + "id": "rate_5c4a4598c6bc4651b729ff6c728c46d5", "object": "Rate", - "created_at": "2023-07-10T17:30:33Z", - "updated_at": "2023-07-10T17:30:33Z", + "created_at": "2024-01-19T21:42:06Z", + "updated_at": "2024-01-19T21:42:06Z", "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", - "rate": "8.92", + "rate": "6.79", "currency": "USD", - "retail_rate": "8.92", + "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": null, - "shipment_id": "shp_5948db965e944950b6acc052af7f79a1", + "est_delivery_days": 3, + "shipment_id": "shp_a1265a904613406189a1767d5474c0d8", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, { - "id": "rate_2e03d36753184d18aa4bd1beaea4f225", + "id": "rate_11985f5cf9ad497c8b3bccbbbb308179", "object": "Rate", - "created_at": "2023-07-10T17:30:33Z", - "updated_at": "2023-07-10T17:30:33Z", + "created_at": "2024-01-19T21:42:06Z", + "updated_at": "2024-01-19T21:42:06Z", "mode": "test", "service": "First", "carrier": "USPS", - "rate": "8.92", + "rate": "6.79", "currency": "USD", - "retail_rate": "8.92", + "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", "list_currency": "USD", @@ -171,84 +193,84 @@ "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_5948db965e944950b6acc052af7f79a1", + "shipment_id": "shp_a1265a904613406189a1767d5474c0d8", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, { - "id": "rate_58096b68cfdc472abc792957917ab92f", + "id": "rate_f60ea310cb7b4c68a6964dc1aa7c42c8", "object": "Rate", - "created_at": "2023-07-10T17:30:33Z", - "updated_at": "2023-07-10T17:30:33Z", + "created_at": "2024-01-19T21:42:06Z", + "updated_at": "2024-01-19T21:42:06Z", "mode": "test", - "service": "Express", + "service": "ParcelSelect", "carrier": "USPS", - "rate": "46.85", + "rate": "6.79", "currency": "USD", - "retail_rate": "54.20", + "retail_rate": "12.45", "retail_currency": "USD", - "list_rate": "46.85", + "list_rate": "8.92", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": null, - "shipment_id": "shp_5948db965e944950b6acc052af7f79a1", + "est_delivery_days": 3, + "shipment_id": "shp_a1265a904613406189a1767d5474c0d8", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" } ], "refund_status": null, "scan_form": null, "selected_rate": { - "id": "rate_22ca9cdf88be4b5da8e91b051e673534", + "id": "rate_5c4a4598c6bc4651b729ff6c728c46d5", "object": "Rate", - "created_at": "2023-07-10T17:30:34Z", - "updated_at": "2023-07-10T17:30:34Z", + "created_at": "2024-01-19T21:42:07Z", + "updated_at": "2024-01-19T21:42:07Z", "mode": "test", - "service": "Priority", + "service": "GroundAdvantage", "carrier": "USPS", - "rate": "7.47", + "rate": "6.79", "currency": "USD", - "retail_rate": "14.05", + "retail_rate": "12.45", "retail_currency": "USD", - "list_rate": "10.27", + "list_rate": "8.92", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 2, + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 2, - "shipment_id": "shp_5948db965e944950b6acc052af7f79a1", + "est_delivery_days": 3, + "shipment_id": "shp_a1265a904613406189a1767d5474c0d8", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, "tracker": { - "id": "trk_618b31761819423cbd5820c11949ce41", + "id": "trk_2f0d6a4d8ece4058afcf3e04e9473bcb", "object": "Tracker", "mode": "test", - "tracking_code": "9405500105440232839154", + "tracking_code": "9434600207552010707787", "status": "unknown", "status_detail": "unknown", - "created_at": "2023-07-10T17:30:34Z", - "updated_at": "2023-07-10T17:30:34Z", + "created_at": "2024-01-19T21:42:07Z", + "updated_at": "2024-01-19T21:42:07Z", "signed_by": null, "weight": null, "est_delivery_date": null, - "shipment_id": "shp_5948db965e944950b6acc052af7f79a1", + "shipment_id": "shp_a1265a904613406189a1767d5474c0d8", "carrier": "USPS", "tracking_details": [], "fees": [], "carrier_detail": null, - "public_url": "https://track.easypost.com/djE6dHJrXzYxOGIzMTc2MTgxOTQyM2NiZDU4MjBjMTE5NDljZTQx" + "public_url": "https://track.easypost.com/djE6dHJrXzJmMGQ2YTRkOGVjZTQwNThhZmNmM2UwNGU5NDczYmNi" }, "to_address": { - "id": "adr_79050fa31f4711eea1a1ac1f6bc53342", + "id": "adr_96f92c09b71311eea4b4ac1f6bc53342", "object": "Address", - "created_at": "2023-07-10T17:30:32+00:00", - "updated_at": "2023-07-10T17:30:33+00:00", + "created_at": "2024-01-19T21:42:06+00:00", + "updated_at": "2024-01-19T21:42:07+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", @@ -279,10 +301,10 @@ }, "usps_zone": 4, "return_address": { - "id": "adr_790830351f4711ee972c3cecef1b359e", + "id": "adr_96fda460b71311eea4b6ac1f6bc53342", "object": "Address", - "created_at": "2023-07-10T17:30:32+00:00", - "updated_at": "2023-07-10T17:30:32+00:00", + "created_at": "2024-01-19T21:42:06+00:00", + "updated_at": "2024-01-19T21:42:06+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -301,14 +323,14 @@ "verifications": {} }, "buyer_address": { - "id": "adr_79050fa31f4711eea1a1ac1f6bc53342", + "id": "adr_96f92c09b71311eea4b4ac1f6bc53342", "object": "Address", - "created_at": "2023-07-10T17:30:32+00:00", - "updated_at": "2023-07-10T17:30:33+00:00", + "created_at": "2024-01-19T21:42:06+00:00", + "updated_at": "2024-01-19T21:42:07+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", @@ -349,7 +371,7 @@ { "object": "Fee", "type": "PostageFee", - "amount": "7.47000", + "amount": "6.79000", "charged": true, "refunded": false }, @@ -361,6 +383,6 @@ "refunded": false } ], - "id": "shp_5948db965e944950b6acc052af7f79a1", + "id": "shp_a1265a904613406189a1767d5474c0d8", "object": "Shipment" } diff --git a/official/docs/responses/shipments/shipments-create.json b/official/docs/responses/shipments/shipments-create.json index 28ae9160..0a7d9257 100644 --- a/official/docs/responses/shipments/shipments-create.json +++ b/official/docs/responses/shipments/shipments-create.json @@ -1,5 +1,5 @@ { - "created_at": "2023-07-10T17:30:30Z", + "created_at": "2024-01-19T21:42:03Z", "is_return": false, "messages": [], "mode": "test", @@ -13,15 +13,15 @@ "reference": null, "status": "unknown", "tracking_code": null, - "updated_at": "2023-07-10T17:30:30Z", + "updated_at": "2024-01-19T21:42:03Z", "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": { - "id": "cstinfo_00b8fbbef7364b709141adfaab1a12a3", + "id": "cstinfo_11122b6cc41745de9ceeae6871c4a4e0", "object": "CustomsInfo", - "created_at": "2023-07-10T17:30:30Z", - "updated_at": "2023-07-10T17:30:30Z", + "created_at": "2024-01-19T21:42:03Z", + "updated_at": "2024-01-19T21:42:03Z", "contents_explanation": "", "contents_type": "merchandise", "customs_certify": true, @@ -34,10 +34,10 @@ "declaration": null, "customs_items": [ { - "id": "cstitem_a4d546e735c54fae9fd3c22b135a231d", + "id": "cstitem_86244994467243c48ed055ecd767169c", "object": "CustomsItem", - "created_at": "2023-07-10T17:30:30Z", - "updated_at": "2023-07-10T17:30:30Z", + "created_at": "2024-01-19T21:42:03Z", + "updated_at": "2024-01-19T21:42:03Z", "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": "US", @@ -54,10 +54,10 @@ ] }, "from_address": { - "id": "adr_775211ea1f4711ee991cac1f6bc539aa", + "id": "adr_95381083b71311eea40dac1f6bc53342", "object": "Address", - "created_at": "2023-07-10T17:30:30+00:00", - "updated_at": "2023-07-10T17:30:30+00:00", + "created_at": "2024-01-19T21:42:03+00:00", + "updated_at": "2024-01-19T21:42:03+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -78,10 +78,10 @@ "insurance": null, "order_id": null, "parcel": { - "id": "prcl_299db961ed944c2bbab8f1a6c9223611", + "id": "prcl_56e1850524074d4c98d2ce839c82af4c", "object": "Parcel", - "created_at": "2023-07-10T17:30:30Z", - "updated_at": "2023-07-10T17:30:30Z", + "created_at": "2024-01-19T21:42:03Z", + "updated_at": "2024-01-19T21:42:03Z", "length": 20.2, "width": 10.9, "height": 5.0, @@ -92,38 +92,60 @@ "postage_label": null, "rates": [ { - "id": "rate_d13862f2010b455f8c8335c515da71ba", + "id": "rate_0b606acebf8548ff9337aa026999df2a", "object": "Rate", - "created_at": "2023-07-10T17:30:30Z", - "updated_at": "2023-07-10T17:30:30Z", + "created_at": "2024-01-19T21:42:03Z", + "updated_at": "2024-01-19T21:42:03Z", + "mode": "test", + "service": "Priority", + "carrier": "USPS", + "rate": "7.99", + "currency": "USD", + "retail_rate": "14.05", + "retail_currency": "USD", + "list_rate": "10.27", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": 2, + "delivery_date": null, + "delivery_date_guaranteed": false, + "est_delivery_days": 2, + "shipment_id": "shp_36544f6aeef5499bbab96a44d8ddcc18", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + }, + { + "id": "rate_c0c41a55e4b94e388ad9c1417dacea2e", + "object": "Rate", + "created_at": "2024-01-19T21:42:03Z", + "updated_at": "2024-01-19T21:42:03Z", "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", - "rate": "8.92", + "rate": "6.79", "currency": "USD", - "retail_rate": "8.92", + "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": null, - "shipment_id": "shp_8a97fc2dc4264da78361fbe30edb3b08", + "est_delivery_days": 3, + "shipment_id": "shp_36544f6aeef5499bbab96a44d8ddcc18", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, { - "id": "rate_ccdf9a0705ce44c6a5e449a62f5d7c13", + "id": "rate_982018ad485b4040a059a0745db589a8", "object": "Rate", - "created_at": "2023-07-10T17:30:30Z", - "updated_at": "2023-07-10T17:30:30Z", + "created_at": "2024-01-19T21:42:03Z", + "updated_at": "2024-01-19T21:42:03Z", "mode": "test", "service": "First", "carrier": "USPS", - "rate": "8.92", + "rate": "6.79", "currency": "USD", - "retail_rate": "8.92", + "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", "list_currency": "USD", @@ -132,51 +154,51 @@ "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_8a97fc2dc4264da78361fbe30edb3b08", + "shipment_id": "shp_36544f6aeef5499bbab96a44d8ddcc18", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, { - "id": "rate_1d1657be86214c5fba29a70916bc92dc", + "id": "rate_9396adbe660840caa7792b1caf8a6711", "object": "Rate", - "created_at": "2023-07-10T17:30:30Z", - "updated_at": "2023-07-10T17:30:30Z", + "created_at": "2024-01-19T21:42:03Z", + "updated_at": "2024-01-19T21:42:03Z", "mode": "test", - "service": "Express", + "service": "ParcelSelect", "carrier": "USPS", - "rate": "46.85", + "rate": "6.79", "currency": "USD", - "retail_rate": "54.20", + "retail_rate": "12.45", "retail_currency": "USD", - "list_rate": "46.85", + "list_rate": "8.92", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": null, - "shipment_id": "shp_8a97fc2dc4264da78361fbe30edb3b08", + "est_delivery_days": 3, + "shipment_id": "shp_36544f6aeef5499bbab96a44d8ddcc18", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, { - "id": "rate_3871229b5b064f36a10452eaa442df3d", + "id": "rate_d7ad9bf50ba04c57910451241ace59a9", "object": "Rate", - "created_at": "2023-07-10T17:30:30Z", - "updated_at": "2023-07-10T17:30:30Z", + "created_at": "2024-01-19T21:42:03Z", + "updated_at": "2024-01-19T21:42:03Z", "mode": "test", - "service": "Priority", + "service": "Express", "carrier": "USPS", - "rate": "7.47", + "rate": "46.85", "currency": "USD", - "retail_rate": "14.05", + "retail_rate": "54.20", "retail_currency": "USD", - "list_rate": "10.27", + "list_rate": "46.85", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 2, + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 2, - "shipment_id": "shp_8a97fc2dc4264da78361fbe30edb3b08", + "est_delivery_days": null, + "shipment_id": "shp_36544f6aeef5499bbab96a44d8ddcc18", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" } ], @@ -185,10 +207,10 @@ "selected_rate": null, "tracker": null, "to_address": { - "id": "adr_774f94ae1f4711ee9919ac1f6bc539aa", + "id": "adr_95365731b71311eea25c3cecef1b359e", "object": "Address", - "created_at": "2023-07-10T17:30:29+00:00", - "updated_at": "2023-07-10T17:30:29+00:00", + "created_at": "2024-01-19T21:42:03+00:00", + "updated_at": "2024-01-19T21:42:03+00:00", "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", @@ -208,10 +230,10 @@ }, "usps_zone": 4, "return_address": { - "id": "adr_775211ea1f4711ee991cac1f6bc539aa", + "id": "adr_95381083b71311eea40dac1f6bc53342", "object": "Address", - "created_at": "2023-07-10T17:30:30+00:00", - "updated_at": "2023-07-10T17:30:30+00:00", + "created_at": "2024-01-19T21:42:03+00:00", + "updated_at": "2024-01-19T21:42:03+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -230,10 +252,10 @@ "verifications": {} }, "buyer_address": { - "id": "adr_774f94ae1f4711ee9919ac1f6bc539aa", + "id": "adr_95365731b71311eea25c3cecef1b359e", "object": "Address", - "created_at": "2023-07-10T17:30:29+00:00", - "updated_at": "2023-07-10T17:30:29+00:00", + "created_at": "2024-01-19T21:42:03+00:00", + "updated_at": "2024-01-19T21:42:03+00:00", "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", @@ -253,6 +275,6 @@ }, "forms": [], "fees": [], - "id": "shp_8a97fc2dc4264da78361fbe30edb3b08", + "id": "shp_36544f6aeef5499bbab96a44d8ddcc18", "object": "Shipment" } diff --git a/official/docs/responses/shipments/shipments-label.json b/official/docs/responses/shipments/shipments-label.json index 534bef26..39a2125c 100644 --- a/official/docs/responses/shipments/shipments-label.json +++ b/official/docs/responses/shipments/shipments-label.json @@ -1,5 +1,5 @@ { - "created_at": "2023-07-10T17:30:35Z", + "created_at": "2024-01-19T21:42:09Z", "is_return": false, "messages": [], "mode": "test", @@ -12,16 +12,16 @@ }, "reference": null, "status": "unknown", - "tracking_code": "9405500105440232839178", - "updated_at": "2023-07-10T17:30:37Z", + "tracking_code": "9434600207552010707817", + "updated_at": "2024-01-19T21:42:11Z", "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": { - "id": "cstinfo_8a7a128a4d484e629d1df17c6574d465", + "id": "cstinfo_924e5a2d39ec4e20a10c1a9c0cf5ed03", "object": "CustomsInfo", - "created_at": "2023-07-10T17:30:35Z", - "updated_at": "2023-07-10T17:30:35Z", + "created_at": "2024-01-19T21:42:09Z", + "updated_at": "2024-01-19T21:42:09Z", "contents_explanation": "", "contents_type": "merchandise", "customs_certify": true, @@ -34,10 +34,10 @@ "declaration": null, "customs_items": [ { - "id": "cstitem_27cfd5bf8f644a7e931a41fcf06330a2", + "id": "cstitem_65b7e99f51b046258c2a02912014a961", "object": "CustomsItem", - "created_at": "2023-07-10T17:30:35Z", - "updated_at": "2023-07-10T17:30:35Z", + "created_at": "2024-01-19T21:42:09Z", + "updated_at": "2024-01-19T21:42:09Z", "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": "US", @@ -54,10 +54,10 @@ ] }, "from_address": { - "id": "adr_7aba54831f4711ee98223cecef1b359e", + "id": "adr_991b73c1b71311eea632ac1f6bc539ae", "object": "Address", - "created_at": "2023-07-10T17:30:35+00:00", - "updated_at": "2023-07-10T17:30:35+00:00", + "created_at": "2024-01-19T21:42:09+00:00", + "updated_at": "2024-01-19T21:42:09+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -78,10 +78,10 @@ "insurance": null, "order_id": null, "parcel": { - "id": "prcl_8dabc97f439e403eac391487526d0d35", + "id": "prcl_49de61bb82754f769959c0b8ac8ecf6d", "object": "Parcel", - "created_at": "2023-07-10T17:30:35Z", - "updated_at": "2023-07-10T17:30:35Z", + "created_at": "2024-01-19T21:42:09Z", + "updated_at": "2024-01-19T21:42:09Z", "length": 20.2, "width": 10.9, "height": 5.0, @@ -91,32 +91,54 @@ }, "postage_label": { "object": "PostageLabel", - "id": "pl_a715f79f92b84a459983bd7948e0aa46", - "created_at": "2023-07-10T17:30:37Z", - "updated_at": "2023-07-10T17:30:39Z", + "id": "pl_db98b785798a4ed8a6694df8754b19e8", + "created_at": "2024-01-19T21:42:11Z", + "updated_at": "2024-01-19T21:42:13Z", "date_advance": 0, "integrated_form": "none", - "label_date": "2023-07-10T17:30:37Z", + "label_date": "2024-01-19T21:42:11Z", "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": "image/png", - "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20230710/e6cd61789cbe534ad7a16c2ac479c747d5.png", + "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8f1d17ec0c7734896b81e822af9eaa6bb.png", "label_pdf_url": null, - "label_zpl_url": "https://easypost-files.s3-us-west-2.amazonaws.com/files/postage_label/20230710/d649677a74d247f6929f97ab37fd9036.zpl", + "label_zpl_url": "https://easypost-files.s3-us-west-2.amazonaws.com/files/postage_label/20240119/d0f80b7d5b9d4c9c9beca9963d89896a.zpl", "label_epl2_url": null, "label_file": null }, "rates": [ { - "id": "rate_7fff965d5e6f42bbb53151764d47323a", + "id": "rate_f0dd36cb952d47ccb62bccfce70bd175", "object": "Rate", - "created_at": "2023-07-10T17:30:36Z", - "updated_at": "2023-07-10T17:30:36Z", + "created_at": "2024-01-19T21:42:10Z", + "updated_at": "2024-01-19T21:42:10Z", + "mode": "test", + "service": "Express", + "carrier": "USPS", + "rate": "46.85", + "currency": "USD", + "retail_rate": "54.20", + "retail_currency": "USD", + "list_rate": "46.85", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": null, + "delivery_date": null, + "delivery_date_guaranteed": false, + "est_delivery_days": null, + "shipment_id": "shp_cfb4323eb62f490b88dc6fedb8394554", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + }, + { + "id": "rate_1da2e438d64f42989aa24ac9fb9c5120", + "object": "Rate", + "created_at": "2024-01-19T21:42:10Z", + "updated_at": "2024-01-19T21:42:10Z", "mode": "test", "service": "Priority", "carrier": "USPS", - "rate": "7.47", + "rate": "7.99", "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", @@ -127,42 +149,42 @@ "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 2, - "shipment_id": "shp_876e40a52920430fbcb5bc6dde09d804", + "shipment_id": "shp_cfb4323eb62f490b88dc6fedb8394554", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, { - "id": "rate_d88c3fdef34840af904295a80ec50e66", + "id": "rate_b2f811cfbef64a90916a3a673470236b", "object": "Rate", - "created_at": "2023-07-10T17:30:36Z", - "updated_at": "2023-07-10T17:30:36Z", + "created_at": "2024-01-19T21:42:10Z", + "updated_at": "2024-01-19T21:42:10Z", "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", - "rate": "8.92", + "rate": "6.79", "currency": "USD", - "retail_rate": "8.92", + "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": null, - "shipment_id": "shp_876e40a52920430fbcb5bc6dde09d804", + "est_delivery_days": 3, + "shipment_id": "shp_cfb4323eb62f490b88dc6fedb8394554", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, { - "id": "rate_a4f782c90e244d1388bdb4a2f2c2075d", + "id": "rate_431e683d4bb041799a7a7be66e0368c3", "object": "Rate", - "created_at": "2023-07-10T17:30:36Z", - "updated_at": "2023-07-10T17:30:36Z", + "created_at": "2024-01-19T21:42:10Z", + "updated_at": "2024-01-19T21:42:10Z", "mode": "test", "service": "First", "carrier": "USPS", - "rate": "8.92", + "rate": "6.79", "currency": "USD", - "retail_rate": "8.92", + "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", "list_currency": "USD", @@ -171,80 +193,80 @@ "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_876e40a52920430fbcb5bc6dde09d804", + "shipment_id": "shp_cfb4323eb62f490b88dc6fedb8394554", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, { - "id": "rate_0fdf58026db749fbb61435b5cfaa609b", + "id": "rate_af463d53cc294363aed099dd4454a8c4", "object": "Rate", - "created_at": "2023-07-10T17:30:36Z", - "updated_at": "2023-07-10T17:30:36Z", + "created_at": "2024-01-19T21:42:10Z", + "updated_at": "2024-01-19T21:42:10Z", "mode": "test", - "service": "Express", + "service": "ParcelSelect", "carrier": "USPS", - "rate": "46.85", + "rate": "6.79", "currency": "USD", - "retail_rate": "54.20", + "retail_rate": "12.45", "retail_currency": "USD", - "list_rate": "46.85", + "list_rate": "8.92", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": null, - "shipment_id": "shp_876e40a52920430fbcb5bc6dde09d804", + "est_delivery_days": 3, + "shipment_id": "shp_cfb4323eb62f490b88dc6fedb8394554", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" } ], "refund_status": null, "scan_form": null, "selected_rate": { - "id": "rate_7fff965d5e6f42bbb53151764d47323a", + "id": "rate_b2f811cfbef64a90916a3a673470236b", "object": "Rate", - "created_at": "2023-07-10T17:30:37Z", - "updated_at": "2023-07-10T17:30:37Z", + "created_at": "2024-01-19T21:42:11Z", + "updated_at": "2024-01-19T21:42:11Z", "mode": "test", - "service": "Priority", + "service": "GroundAdvantage", "carrier": "USPS", - "rate": "7.47", + "rate": "6.79", "currency": "USD", - "retail_rate": "14.05", + "retail_rate": "12.45", "retail_currency": "USD", - "list_rate": "10.27", + "list_rate": "8.92", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 2, + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 2, - "shipment_id": "shp_876e40a52920430fbcb5bc6dde09d804", + "est_delivery_days": 3, + "shipment_id": "shp_cfb4323eb62f490b88dc6fedb8394554", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, "tracker": { - "id": "trk_d4a96654a82d4b22aefbd0f7205f3e09", + "id": "trk_cf7cbc52e6bd47be912299713e8809b3", "object": "Tracker", "mode": "test", - "tracking_code": "9405500105440232839178", + "tracking_code": "9434600207552010707817", "status": "pre_transit", "status_detail": "status_update", - "created_at": "2023-07-10T17:30:37Z", - "updated_at": "2023-07-10T17:30:37Z", + "created_at": "2024-01-19T21:42:11Z", + "updated_at": "2024-01-19T21:42:11Z", "signed_by": null, "weight": null, - "est_delivery_date": "2023-07-10T17:30:37Z", - "shipment_id": "shp_876e40a52920430fbcb5bc6dde09d804", + "est_delivery_date": "2024-01-19T21:42:11Z", + "shipment_id": "shp_cfb4323eb62f490b88dc6fedb8394554", "carrier": "USPS", "tracking_details": [ { "object": "TrackingDetail", "message": "Pre-Shipment Info Sent to USPS", - "description": null, + "description": "", "status": "pre_transit", "status_detail": "status_update", - "datetime": "2023-06-10T17:30:37Z", + "datetime": "2023-12-19T21:42:11Z", "source": "USPS", - "carrier_code": null, + "carrier_code": "", "tracking_location": { "object": "TrackingLocation", "city": null, @@ -256,12 +278,12 @@ { "object": "TrackingDetail", "message": "Shipping Label Created", - "description": null, + "description": "", "status": "pre_transit", "status_detail": "status_update", - "datetime": "2023-06-11T06:07:37Z", + "datetime": "2023-12-20T10:19:11Z", "source": "USPS", - "carrier_code": null, + "carrier_code": "", "tracking_location": { "object": "TrackingLocation", "city": "HOUSTON", @@ -292,13 +314,13 @@ "alternate_identifier": null, "initial_delivery_attempt": null }, - "public_url": "https://track.easypost.com/djE6dHJrX2Q0YTk2NjU0YTgyZDRiMjJhZWZiZDBmNzIwNWYzZTA5" + "public_url": "https://track.easypost.com/djE6dHJrX2NmN2NiYzUyZTZiZDQ3YmU5MTIyOTk3MTNlODgwOWIz" }, "to_address": { - "id": "adr_7ab7b7ef1f4711ee981f3cecef1b359e", + "id": "adr_9918f44fb71311eea552ac1f6bc53342", "object": "Address", - "created_at": "2023-07-10T17:30:35+00:00", - "updated_at": "2023-07-10T17:30:36+00:00", + "created_at": "2024-01-19T21:42:09+00:00", + "updated_at": "2024-01-19T21:42:10+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", @@ -333,10 +355,10 @@ }, "usps_zone": 4, "return_address": { - "id": "adr_7aba54831f4711ee98223cecef1b359e", + "id": "adr_991b73c1b71311eea632ac1f6bc539ae", "object": "Address", - "created_at": "2023-07-10T17:30:35+00:00", - "updated_at": "2023-07-10T17:30:35+00:00", + "created_at": "2024-01-19T21:42:09+00:00", + "updated_at": "2024-01-19T21:42:09+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -355,10 +377,10 @@ "verifications": {} }, "buyer_address": { - "id": "adr_7ab7b7ef1f4711ee981f3cecef1b359e", + "id": "adr_9918f44fb71311eea552ac1f6bc53342", "object": "Address", - "created_at": "2023-07-10T17:30:35+00:00", - "updated_at": "2023-07-10T17:30:36+00:00", + "created_at": "2024-01-19T21:42:09+00:00", + "updated_at": "2024-01-19T21:42:10+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", @@ -403,11 +425,11 @@ { "object": "Fee", "type": "PostageFee", - "amount": "7.47000", + "amount": "6.79000", "charged": true, "refunded": false } ], - "id": "shp_876e40a52920430fbcb5bc6dde09d804", + "id": "shp_cfb4323eb62f490b88dc6fedb8394554", "object": "Shipment" } diff --git a/official/docs/responses/shipments/shipments-list.json b/official/docs/responses/shipments/shipments-list.json index 93c6e976..d83650dd 100644 --- a/official/docs/responses/shipments/shipments-list.json +++ b/official/docs/responses/shipments/shipments-list.json @@ -1,7 +1,7 @@ { "shipments": [ { - "created_at": "2023-07-10T17:30:14Z", + "created_at": "2024-01-19T21:42:00Z", "is_return": false, "messages": [], "mode": "test", @@ -14,16 +14,16 @@ }, "reference": null, "status": "unknown", - "tracking_code": "9400100105440232838888", - "updated_at": "2023-07-10T17:30:16Z", - "batch_id": null, - "batch_status": null, + "tracking_code": "9405500207552010707771", + "updated_at": "2024-01-19T21:42:01Z", + "batch_id": "batch_20ed0a5f5e4f4e5c8cf2b4f966ceb924", + "batch_status": "postage_purchased", "batch_message": null, "customs_info": { - "id": "cstinfo_f85189b578ec4706ac387b76cec7ff01", + "id": "cstinfo_b8df8ab18426437884d0bdbcc8cd7a38", "object": "CustomsInfo", - "created_at": "2022-10-17T17:17:38Z", - "updated_at": "2022-10-17T17:17:38Z", + "created_at": "2024-01-19T21:42:00Z", + "updated_at": "2024-01-19T21:42:00Z", "contents_explanation": "", "contents_type": "merchandise", "customs_certify": true, @@ -36,10 +36,10 @@ "declaration": null, "customs_items": [ { - "id": "cstitem_fa0aa9aa3a8f41639295c10aa7469480", + "id": "cstitem_70b1522825c645659169b66fed6c5ff8", "object": "CustomsItem", - "created_at": "2022-10-17T17:17:38Z", - "updated_at": "2022-10-17T17:17:38Z", + "created_at": "2024-01-19T21:42:00Z", + "updated_at": "2024-01-19T21:42:00Z", "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": "US", @@ -56,10 +56,10 @@ ] }, "from_address": { - "id": "adr_6e0ac14a1f4711eeacd5ac1f6bc539ae", + "id": "adr_939e948eb71311eeb35fac1f6bc539aa", "object": "Address", - "created_at": "2023-07-10T17:30:14+00:00", - "updated_at": "2023-07-10T17:30:14+00:00", + "created_at": "2024-01-19T21:42:00+00:00", + "updated_at": "2024-01-19T21:42:00+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -78,32 +78,32 @@ "verifications": {} }, "insurance": null, - "order_id": "order_2666c9282ad54765b74b9be1c0cccf09", + "order_id": null, "parcel": { - "id": "prcl_2498d756b1c740b484f5665e5fdd697f", + "id": "prcl_3ae2306725f2419cb812702fab0e8879", "object": "Parcel", - "created_at": "2023-07-10T17:30:14Z", - "updated_at": "2023-07-10T17:30:14Z", - "length": null, - "width": null, - "height": null, + "created_at": "2024-01-19T21:42:00Z", + "updated_at": "2024-01-19T21:42:00Z", + "length": 20.2, + "width": 10.9, + "height": 5.0, "predefined_package": null, - "weight": 10.2, + "weight": 65.9, "mode": "test" }, "postage_label": { "object": "PostageLabel", - "id": "pl_ce7b1a9249794cd697c87395d660d8f6", - "created_at": "2023-07-10T17:30:15Z", - "updated_at": "2023-07-10T17:30:16Z", + "id": "pl_7123fce93f754da197413633321ea20f", + "created_at": "2024-01-19T21:42:01Z", + "updated_at": "2024-01-19T21:42:01Z", "date_advance": 0, "integrated_form": "none", - "label_date": "2023-07-10T17:30:15Z", + "label_date": "2024-01-19T21:42:01Z", "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": "image/png", - "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20230710/e657608f44b6ec482c86742b7b8ea5d74d.png", + "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8d34f289678574f3fa795bbf64a495e47.png", "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, @@ -111,106 +111,130 @@ }, "rates": [ { - "id": "rate_d669ba48a22b4f7f9a07939bf509de2a", + "id": "rate_e2a94cdc60d2464aa89a69d29cf12f7a", "object": "Rate", - "created_at": "2023-07-10T17:30:15Z", - "updated_at": "2023-07-10T17:30:15Z", + "created_at": "2024-01-19T21:42:00Z", + "updated_at": "2024-01-19T21:42:00Z", "mode": "test", "service": "Express", "carrier": "USPS", - "rate": "31.25", + "rate": "46.85", "currency": "USD", - "retail_rate": "35.80", + "retail_rate": "54.20", "retail_currency": "USD", - "list_rate": "31.25", + "list_rate": "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": null, - "shipment_id": "shp_06a2ad37dc1c425c88c593f3e9cf5ea4", + "shipment_id": "shp_cf8e56cf20974b3da7c68ef7da9c1718", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, { - "id": "rate_ee0ba720bd6a4338b2945db6e450baba", + "id": "rate_e68bd3f50b7d499a99ce5936e5376154", "object": "Rate", - "created_at": "2023-07-10T17:30:15Z", - "updated_at": "2023-07-10T17:30:15Z", + "created_at": "2024-01-19T21:42:00Z", + "updated_at": "2024-01-19T21:42:00Z", "mode": "test", "service": "Priority", "carrier": "USPS", - "rate": "7.15", + "rate": "7.99", "currency": "USD", - "retail_rate": "10.20", + "retail_rate": "14.05", "retail_currency": "USD", - "list_rate": "8.24", + "list_rate": "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 2, - "shipment_id": "shp_06a2ad37dc1c425c88c593f3e9cf5ea4", + "shipment_id": "shp_cf8e56cf20974b3da7c68ef7da9c1718", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, { - "id": "rate_fd2144b885dd4725bfdf4ece351e9231", + "id": "rate_233e3d437e8c4c1a969f94b4c751d1f9", "object": "Rate", - "created_at": "2023-07-10T17:30:15Z", - "updated_at": "2023-07-10T17:30:15Z", + "created_at": "2024-01-19T21:42:00Z", + "updated_at": "2024-01-19T21:42:00Z", "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", - "rate": "4.81", + "rate": "6.79", "currency": "USD", - "retail_rate": "4.81", + "retail_rate": "12.45", "retail_currency": "USD", - "list_rate": "4.81", + "list_rate": "8.92", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": null, - "shipment_id": "shp_06a2ad37dc1c425c88c593f3e9cf5ea4", + "est_delivery_days": 3, + "shipment_id": "shp_cf8e56cf20974b3da7c68ef7da9c1718", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, { - "id": "rate_5dff1ed420df4a58833d9b47563565f6", + "id": "rate_05ca078c91cb4f90a7544b18ece7c135", "object": "Rate", - "created_at": "2023-07-10T17:30:15Z", - "updated_at": "2023-07-10T17:30:15Z", + "created_at": "2024-01-19T21:42:00Z", + "updated_at": "2024-01-19T21:42:00Z", "mode": "test", "service": "First", "carrier": "USPS", - "rate": "4.81", + "rate": "6.79", "currency": "USD", - "retail_rate": "4.81", + "retail_rate": "12.45", "retail_currency": "USD", - "list_rate": "4.81", + "list_rate": "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_06a2ad37dc1c425c88c593f3e9cf5ea4", + "shipment_id": "shp_cf8e56cf20974b3da7c68ef7da9c1718", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + }, + { + "id": "rate_afc77f652bbb4f94a8b679a1afdf9547", + "object": "Rate", + "created_at": "2024-01-19T21:42:00Z", + "updated_at": "2024-01-19T21:42:00Z", + "mode": "test", + "service": "ParcelSelect", + "carrier": "USPS", + "rate": "6.79", + "currency": "USD", + "retail_rate": "12.45", + "retail_currency": "USD", + "list_rate": "8.92", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": 3, + "delivery_date": null, + "delivery_date_guaranteed": false, + "est_delivery_days": 3, + "shipment_id": "shp_cf8e56cf20974b3da7c68ef7da9c1718", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" } ], "refund_status": null, "scan_form": { - "id": "sf_3684195c590740a88bc2c2cf5f25acb1", + "id": "sf_7da5cfcbb18448a1b8557d6f46dcfd63", "object": "ScanForm", - "created_at": "2022-10-17T17:17:39Z", - "updated_at": "2022-10-17T17:17:40Z", - "tracking_codes": ["9405500106068143632993"], + "created_at": "2024-01-19T21:42:01Z", + "updated_at": "2024-01-19T21:42:02Z", + "tracking_codes": [ + "9405500207552010707771" + ], "address": { - "id": "adr_99962d534e3f11ed846dac1f6b0a0d1e", + "id": "adr_939e948eb71311eeb35fac1f6bc539aa", "object": "Address", - "created_at": "2022-10-17T17:17:38+00:00", - "updated_at": "2022-10-17T17:17:38+00:00", + "created_at": "2024-01-19T21:42:00+00:00", + "updated_at": "2024-01-19T21:42:00+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -230,57 +254,57 @@ }, "status": "created", "message": null, - "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20221017/58d6eef422424d02bd4105029666d614.pdf", + "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e88e3aaa0500a342a6ba20d2fe6c3cd189.pdf", "form_file_type": null, - "batch_id": "batch_879633ae98a847409f0ca5b22c9872f4", + "batch_id": "batch_20ed0a5f5e4f4e5c8cf2b4f966ceb924", "confirmation": null }, "selected_rate": { - "id": "rate_5dff1ed420df4a58833d9b47563565f6", + "id": "rate_e68bd3f50b7d499a99ce5936e5376154", "object": "Rate", - "created_at": "2023-07-10T17:30:15Z", - "updated_at": "2023-07-10T17:30:15Z", + "created_at": "2024-01-19T21:42:01Z", + "updated_at": "2024-01-19T21:42:01Z", "mode": "test", - "service": "First", + "service": "Priority", "carrier": "USPS", - "rate": "4.81", + "rate": "7.99", "currency": "USD", - "retail_rate": "4.81", + "retail_rate": "14.05", "retail_currency": "USD", - "list_rate": "4.81", + "list_rate": "10.27", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, + "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, - "shipment_id": "shp_06a2ad37dc1c425c88c593f3e9cf5ea4", + "est_delivery_days": 2, + "shipment_id": "shp_cf8e56cf20974b3da7c68ef7da9c1718", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, "tracker": { - "id": "trk_1c56526a89e04c4c80013fd763f91228", + "id": "trk_73461d4218344b6198a1736e508a8cbf", "object": "Tracker", "mode": "test", - "tracking_code": "9400100105440232838888", + "tracking_code": "9405500207552010707771", "status": "pre_transit", "status_detail": "status_update", - "created_at": "2023-07-10T17:30:16Z", - "updated_at": "2023-07-10T17:30:16Z", + "created_at": "2024-01-19T21:42:01Z", + "updated_at": "2024-01-19T21:42:01Z", "signed_by": null, "weight": null, - "est_delivery_date": "2023-07-10T17:30:16Z", - "shipment_id": "shp_06a2ad37dc1c425c88c593f3e9cf5ea4", + "est_delivery_date": "2024-01-19T21:42:01Z", + "shipment_id": "shp_cf8e56cf20974b3da7c68ef7da9c1718", "carrier": "USPS", "tracking_details": [ { "object": "TrackingDetail", "message": "Pre-Shipment Info Sent to USPS", - "description": null, + "description": "", "status": "pre_transit", "status_detail": "status_update", - "datetime": "2023-06-10T17:30:16Z", + "datetime": "2023-12-19T21:42:01Z", "source": "USPS", - "carrier_code": null, + "carrier_code": "", "tracking_location": { "object": "TrackingLocation", "city": null, @@ -292,12 +316,12 @@ { "object": "TrackingDetail", "message": "Shipping Label Created", - "description": null, + "description": "", "status": "pre_transit", "status_detail": "status_update", - "datetime": "2023-06-11T06:07:16Z", + "datetime": "2023-12-20T10:19:01Z", "source": "USPS", - "carrier_code": null, + "carrier_code": "", "tracking_location": { "object": "TrackingLocation", "city": "HOUSTON", @@ -328,13 +352,13 @@ "alternate_identifier": null, "initial_delivery_attempt": null }, - "public_url": "https://track.easypost.com/djE6dHJrXzFjNTY1MjZhODllMDRjNGM4MDAxM2ZkNzYzZjkxMjI4" + "public_url": "https://track.easypost.com/djE6dHJrXzczNDYxZDQyMTgzNDRiNjE5OGExNzM2ZTUwOGE4Y2Jm" }, "to_address": { - "id": "adr_6e09528d1f4711ee9deaac1f6bc53342", + "id": "adr_939be8d4b71311eea487ac1f6bc539ae", "object": "Address", - "created_at": "2023-07-10T17:30:14+00:00", - "updated_at": "2023-07-10T17:30:15+00:00", + "created_at": "2024-01-19T21:42:00+00:00", + "updated_at": "2024-01-19T21:42:00+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", @@ -369,10 +393,10 @@ }, "usps_zone": 4, "return_address": { - "id": "adr_6e0ac14a1f4711eeacd5ac1f6bc539ae", + "id": "adr_939e948eb71311eeb35fac1f6bc539aa", "object": "Address", - "created_at": "2023-07-10T17:30:14+00:00", - "updated_at": "2023-07-10T17:30:14+00:00", + "created_at": "2024-01-19T21:42:00+00:00", + "updated_at": "2024-01-19T21:42:00+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -391,10 +415,10 @@ "verifications": {} }, "buyer_address": { - "id": "adr_6e09528d1f4711ee9deaac1f6bc53342", + "id": "adr_939be8d4b71311eea487ac1f6bc539ae", "object": "Address", - "created_at": "2023-07-10T17:30:14+00:00", - "updated_at": "2023-07-10T17:30:15+00:00", + "created_at": "2024-01-19T21:42:00+00:00", + "updated_at": "2024-01-19T21:42:00+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", @@ -439,12 +463,12 @@ { "object": "Fee", "type": "PostageFee", - "amount": "4.81000", + "amount": "7.99000", "charged": true, "refunded": false } ], - "id": "shp_06a2ad37dc1c425c88c593f3e9cf5ea4", + "id": "shp_cf8e56cf20974b3da7c68ef7da9c1718", "object": "Shipment" } ], diff --git a/official/docs/responses/shipments/shipments-one-call-buy.json b/official/docs/responses/shipments/shipments-one-call-buy.json index a45808c5..e215fdd2 100644 --- a/official/docs/responses/shipments/shipments-one-call-buy.json +++ b/official/docs/responses/shipments/shipments-one-call-buy.json @@ -1,5 +1,5 @@ { - "created_at": "2022-10-27T16:55:16Z", + "created_at": "2024-01-19T21:42:08Z", "is_return": false, "messages": [], "mode": "test", @@ -12,16 +12,16 @@ }, "reference": null, "status": "unknown", - "tracking_code": "9405500106068145794057", - "updated_at": "2022-10-27T16:55:17Z", + "tracking_code": "9405500207552010707795", + "updated_at": "2024-01-19T21:42:09Z", "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": { - "id": "cstinfo_cd38807b69ff417d849d3b014833b521", + "id": "cstinfo_e5045977834449439af2bc256f3b29dd", "object": "CustomsInfo", - "created_at": "2022-10-27T16:55:16Z", - "updated_at": "2022-10-27T16:55:16Z", + "created_at": "2024-01-19T21:42:08Z", + "updated_at": "2024-01-19T21:42:08Z", "contents_explanation": "", "contents_type": "merchandise", "customs_certify": true, @@ -34,10 +34,10 @@ "declaration": null, "customs_items": [ { - "id": "cstitem_2b2060940fc24c01b728f39d8fcf8dac", + "id": "cstitem_b506205ca9e4423b8197cee9805292af", "object": "CustomsItem", - "created_at": "2022-10-27T16:55:16Z", - "updated_at": "2022-10-27T16:55:16Z", + "created_at": "2024-01-19T21:42:08Z", + "updated_at": "2024-01-19T21:42:08Z", "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": "US", @@ -54,10 +54,10 @@ ] }, "from_address": { - "id": "adr_21a919c7561811ed9652ac1f6bc72124", + "id": "adr_985c0698b71311eea3613cecef1b359e", "object": "Address", - "created_at": "2022-10-27T16:55:16+00:00", - "updated_at": "2022-10-27T16:55:16+00:00", + "created_at": "2024-01-19T21:42:08+00:00", + "updated_at": "2024-01-19T21:42:08+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -78,10 +78,10 @@ "insurance": null, "order_id": null, "parcel": { - "id": "prcl_a07f51976f1148948fd13dbc06da8e2c", + "id": "prcl_a78e336299be4f9d998d25b48819b7c6", "object": "Parcel", - "created_at": "2022-10-27T16:55:16Z", - "updated_at": "2022-10-27T16:55:16Z", + "created_at": "2024-01-19T21:42:08Z", + "updated_at": "2024-01-19T21:42:08Z", "length": 20.2, "width": 10.9, "height": 5.0, @@ -91,17 +91,17 @@ }, "postage_label": { "object": "PostageLabel", - "id": "pl_0422d418ba554cdbb71aa4155654c5bb", - "created_at": "2022-10-27T16:55:16Z", - "updated_at": "2022-10-27T16:55:17Z", + "id": "pl_42d3205dae954aa5a47afeca04ef903e", + "created_at": "2024-01-19T21:42:08Z", + "updated_at": "2024-01-19T21:42:09Z", "date_advance": 0, "integrated_form": "none", - "label_date": "2022-10-27T16:55:16Z", + "label_date": "2024-01-19T21:42:08Z", "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": "image/png", - "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20221027/960bbdc30bc844479d7516b87afea21f.png", + "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8dc5afd52a1744a20a12e40c596d2f190.png", "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, @@ -109,102 +109,168 @@ }, "rates": [ { - "id": "rate_2385958e1961451f88bd19742d3d40fd", + "id": "rate_924fc99778f945c58a4224fde3226faf", "object": "Rate", - "created_at": "2022-10-27T16:55:16Z", - "updated_at": "2022-10-27T16:55:16Z", + "created_at": "2024-01-19T21:42:08Z", + "updated_at": "2024-01-19T21:42:08Z", "mode": "test", "service": "Express", "carrier": "USPS", - "rate": "44.55", + "rate": "46.85", "currency": "USD", - "retail_rate": "51.30", + "retail_rate": "54.20", "retail_currency": "USD", - "list_rate": "44.55", + "list_rate": "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": null, - "shipment_id": "shp_c2aab812a68549cc99a710053da0b063", - "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" + "shipment_id": "shp_a1d84f486e0e44e5b7ebfb3c15f2c83e", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, { - "id": "rate_c9a4291540bb4d71a34817bea9403d6e", + "id": "rate_0510ffa721334e889df0b4fa8deb3080", "object": "Rate", - "created_at": "2022-10-27T16:55:16Z", - "updated_at": "2022-10-27T16:55:16Z", + "created_at": "2024-01-19T21:42:08Z", + "updated_at": "2024-01-19T21:42:08Z", "mode": "test", "service": "Priority", "carrier": "USPS", - "rate": "10.07", + "rate": "7.99", "currency": "USD", - "retail_rate": "13.45", + "retail_rate": "14.05", "retail_currency": "USD", - "list_rate": "10.07", + "list_rate": "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 2, - "shipment_id": "shp_c2aab812a68549cc99a710053da0b063", - "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" + "shipment_id": "shp_a1d84f486e0e44e5b7ebfb3c15f2c83e", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + }, + { + "id": "rate_ae58202b37264ec8a9ce3350191ac3b0", + "object": "Rate", + "created_at": "2024-01-19T21:42:08Z", + "updated_at": "2024-01-19T21:42:08Z", + "mode": "test", + "service": "GroundAdvantage", + "carrier": "USPS", + "rate": "6.79", + "currency": "USD", + "retail_rate": "12.45", + "retail_currency": "USD", + "list_rate": "8.92", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": 3, + "delivery_date": null, + "delivery_date_guaranteed": false, + "est_delivery_days": 3, + "shipment_id": "shp_a1d84f486e0e44e5b7ebfb3c15f2c83e", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + }, + { + "id": "rate_f1a40a5d2a374c91997fe0578c5255e5", + "object": "Rate", + "created_at": "2024-01-19T21:42:08Z", + "updated_at": "2024-01-19T21:42:08Z", + "mode": "test", + "service": "First", + "carrier": "USPS", + "rate": "6.79", + "currency": "USD", + "retail_rate": "12.45", + "retail_currency": "USD", + "list_rate": "8.92", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": 3, + "delivery_date": null, + "delivery_date_guaranteed": false, + "est_delivery_days": 3, + "shipment_id": "shp_a1d84f486e0e44e5b7ebfb3c15f2c83e", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + }, + { + "id": "rate_986a9d1153f6425cb459c252450c6c70", + "object": "Rate", + "created_at": "2024-01-19T21:42:08Z", + "updated_at": "2024-01-19T21:42:08Z", + "mode": "test", + "service": "ParcelSelect", + "carrier": "USPS", + "rate": "6.79", + "currency": "USD", + "retail_rate": "12.45", + "retail_currency": "USD", + "list_rate": "8.92", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": 3, + "delivery_date": null, + "delivery_date_guaranteed": false, + "est_delivery_days": 3, + "shipment_id": "shp_a1d84f486e0e44e5b7ebfb3c15f2c83e", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" } ], "refund_status": null, "scan_form": null, "selected_rate": { - "id": "rate_c9a4291540bb4d71a34817bea9403d6e", + "id": "rate_0510ffa721334e889df0b4fa8deb3080", "object": "Rate", - "created_at": "2022-10-27T16:55:16Z", - "updated_at": "2022-10-27T16:55:16Z", + "created_at": "2024-01-19T21:42:08Z", + "updated_at": "2024-01-19T21:42:08Z", "mode": "test", "service": "Priority", "carrier": "USPS", - "rate": "10.07", + "rate": "7.99", "currency": "USD", - "retail_rate": "13.45", + "retail_rate": "14.05", "retail_currency": "USD", - "list_rate": "10.07", + "list_rate": "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 2, - "shipment_id": "shp_c2aab812a68549cc99a710053da0b063", - "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" + "shipment_id": "shp_a1d84f486e0e44e5b7ebfb3c15f2c83e", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, "tracker": { - "id": "trk_cabd8faadb134c81bf7cc5e20dc74077", + "id": "trk_324c76c1cc5b4ddd8aae2e4571ca35e8", "object": "Tracker", "mode": "test", - "tracking_code": "9405500106068145794057", + "tracking_code": "9405500207552010707795", "status": "unknown", "status_detail": "unknown", - "created_at": "2022-10-27T16:55:17Z", - "updated_at": "2022-10-27T16:55:17Z", + "created_at": "2024-01-19T21:42:09Z", + "updated_at": "2024-01-19T21:42:09Z", "signed_by": null, "weight": null, "est_delivery_date": null, - "shipment_id": "shp_c2aab812a68549cc99a710053da0b063", + "shipment_id": "shp_a1d84f486e0e44e5b7ebfb3c15f2c83e", "carrier": "USPS", "tracking_details": [], "fees": [], "carrier_detail": null, - "public_url": "https://track.easypost.com/djE6dHJrX2NhYmQ4ZmFhZGIxMzRjODFiZjdjYzVlMjBkYzc0MDc3" + "public_url": "https://track.easypost.com/djE6dHJrXzMyNGM3NmMxY2M1YjRkZGQ4YWFlMmU0NTcxY2EzNWU4" }, "to_address": { - "id": "adr_21a73c5d561811ed9651ac1f6bc72124", + "id": "adr_9859cca6b71311eea5fbac1f6bc539ae", "object": "Address", - "created_at": "2022-10-27T16:55:16+00:00", - "updated_at": "2022-10-27T16:55:16+00:00", + "created_at": "2024-01-19T21:42:08+00:00", + "updated_at": "2024-01-19T21:42:08+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", @@ -235,10 +301,10 @@ }, "usps_zone": 4, "return_address": { - "id": "adr_21a919c7561811ed9652ac1f6bc72124", + "id": "adr_985c0698b71311eea3613cecef1b359e", "object": "Address", - "created_at": "2022-10-27T16:55:16+00:00", - "updated_at": "2022-10-27T16:55:16+00:00", + "created_at": "2024-01-19T21:42:08+00:00", + "updated_at": "2024-01-19T21:42:08+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -257,14 +323,14 @@ "verifications": {} }, "buyer_address": { - "id": "adr_21a73c5d561811ed9651ac1f6bc72124", + "id": "adr_9859cca6b71311eea5fbac1f6bc539ae", "object": "Address", - "created_at": "2022-10-27T16:55:16+00:00", - "updated_at": "2022-10-27T16:55:16+00:00", + "created_at": "2024-01-19T21:42:08+00:00", + "updated_at": "2024-01-19T21:42:08+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", @@ -305,11 +371,11 @@ { "object": "Fee", "type": "PostageFee", - "amount": "10.07000", + "amount": "7.99000", "charged": true, "refunded": false } ], - "id": "shp_c2aab812a68549cc99a710053da0b063", + "id": "shp_a1d84f486e0e44e5b7ebfb3c15f2c83e", "object": "Shipment" } diff --git a/official/docs/responses/shipments/shipments-retrieve.json b/official/docs/responses/shipments/shipments-retrieve.json index 0264b615..d7e1e24a 100644 --- a/official/docs/responses/shipments/shipments-retrieve.json +++ b/official/docs/responses/shipments/shipments-retrieve.json @@ -1,5 +1,5 @@ { - "created_at": "2023-07-10T17:30:31Z", + "created_at": "2024-01-19T21:42:04Z", "is_return": false, "messages": [], "mode": "test", @@ -13,15 +13,15 @@ "reference": null, "status": "unknown", "tracking_code": null, - "updated_at": "2023-07-10T17:30:31Z", + "updated_at": "2024-01-19T21:42:04Z", "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": { - "id": "cstinfo_4afc2245f2d5457c85d01d25f7c6af16", + "id": "cstinfo_41b7eeaa9b4f4e3c8b5b56cb4f20259e", "object": "CustomsInfo", - "created_at": "2023-07-10T17:30:31Z", - "updated_at": "2023-07-10T17:30:31Z", + "created_at": "2024-01-19T21:42:04Z", + "updated_at": "2024-01-19T21:42:04Z", "contents_explanation": "", "contents_type": "merchandise", "customs_certify": true, @@ -34,10 +34,10 @@ "declaration": null, "customs_items": [ { - "id": "cstitem_c989133bfaa54249b7c811162e737878", + "id": "cstitem_f427d952cec54b1096206a16e10c886d", "object": "CustomsItem", - "created_at": "2023-07-10T17:30:31Z", - "updated_at": "2023-07-10T17:30:31Z", + "created_at": "2024-01-19T21:42:04Z", + "updated_at": "2024-01-19T21:42:04Z", "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": "US", @@ -54,10 +54,10 @@ ] }, "from_address": { - "id": "adr_77eb19ac1f4711eea161ac1f6bc53342", + "id": "adr_95e5d4c8b71311eea2923cecef1b359e", "object": "Address", - "created_at": "2023-07-10T17:30:31+00:00", - "updated_at": "2023-07-10T17:30:31+00:00", + "created_at": "2024-01-19T21:42:04+00:00", + "updated_at": "2024-01-19T21:42:04+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -78,10 +78,10 @@ "insurance": null, "order_id": null, "parcel": { - "id": "prcl_58211c2b2ec34ccb963f563af84465ef", + "id": "prcl_fc31f68d7c4647578e58e806ca008009", "object": "Parcel", - "created_at": "2023-07-10T17:30:31Z", - "updated_at": "2023-07-10T17:30:31Z", + "created_at": "2024-01-19T21:42:04Z", + "updated_at": "2024-01-19T21:42:04Z", "length": 20.2, "width": 10.9, "height": 5.0, @@ -92,82 +92,82 @@ "postage_label": null, "rates": [ { - "id": "rate_edd39ae11117495f9337cc6082b92d6b", + "id": "rate_d723cc2fe4c54949a4b903afd2044083", "object": "Rate", - "created_at": "2023-07-10T17:30:31Z", - "updated_at": "2023-07-10T17:30:31Z", + "created_at": "2024-01-19T21:42:04Z", + "updated_at": "2024-01-19T21:42:04Z", "mode": "test", - "service": "Express", + "service": "Priority", "carrier": "USPS", - "rate": "46.85", + "rate": "7.99", "currency": "USD", - "retail_rate": "54.20", + "retail_rate": "14.05", "retail_currency": "USD", - "list_rate": "46.85", + "list_rate": "10.27", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, + "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": null, - "shipment_id": "shp_f18f9517691a4a5bba27db1c477bc33a", + "est_delivery_days": 2, + "shipment_id": "shp_6f93e11081a943eea73a615b1f823b04", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, { - "id": "rate_d6fc4aacf0694055aa8fc660d32237bc", + "id": "rate_95e975f7818f4b98922055a3e0d4e79b", "object": "Rate", - "created_at": "2023-07-10T17:30:31Z", - "updated_at": "2023-07-10T17:30:31Z", + "created_at": "2024-01-19T21:42:04Z", + "updated_at": "2024-01-19T21:42:04Z", "mode": "test", - "service": "Priority", + "service": "GroundAdvantage", "carrier": "USPS", - "rate": "7.47", + "rate": "6.79", "currency": "USD", - "retail_rate": "14.05", + "retail_rate": "12.45", "retail_currency": "USD", - "list_rate": "10.27", + "list_rate": "8.92", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 2, + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 2, - "shipment_id": "shp_f18f9517691a4a5bba27db1c477bc33a", + "est_delivery_days": 3, + "shipment_id": "shp_6f93e11081a943eea73a615b1f823b04", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, { - "id": "rate_708f651251a14e82bc6c4d3d2f97b442", + "id": "rate_fe69ed3e44f144b49a593ba9dc86b162", "object": "Rate", - "created_at": "2023-07-10T17:30:31Z", - "updated_at": "2023-07-10T17:30:31Z", + "created_at": "2024-01-19T21:42:04Z", + "updated_at": "2024-01-19T21:42:04Z", "mode": "test", - "service": "GroundAdvantage", + "service": "First", "carrier": "USPS", - "rate": "8.92", + "rate": "6.79", "currency": "USD", - "retail_rate": "8.92", + "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": null, - "shipment_id": "shp_f18f9517691a4a5bba27db1c477bc33a", + "est_delivery_days": 3, + "shipment_id": "shp_6f93e11081a943eea73a615b1f823b04", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, { - "id": "rate_56268a3e3e4349a1bb8c3d371c7702ba", + "id": "rate_f959108c87eb44c7a03d77f99ac88d2a", "object": "Rate", - "created_at": "2023-07-10T17:30:31Z", - "updated_at": "2023-07-10T17:30:31Z", + "created_at": "2024-01-19T21:42:04Z", + "updated_at": "2024-01-19T21:42:04Z", "mode": "test", - "service": "First", + "service": "ParcelSelect", "carrier": "USPS", - "rate": "8.92", + "rate": "6.79", "currency": "USD", - "retail_rate": "8.92", + "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", "list_currency": "USD", @@ -176,7 +176,29 @@ "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_f18f9517691a4a5bba27db1c477bc33a", + "shipment_id": "shp_6f93e11081a943eea73a615b1f823b04", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + }, + { + "id": "rate_0059b8bf151943bc8960585425e07c33", + "object": "Rate", + "created_at": "2024-01-19T21:42:04Z", + "updated_at": "2024-01-19T21:42:04Z", + "mode": "test", + "service": "Express", + "carrier": "USPS", + "rate": "46.85", + "currency": "USD", + "retail_rate": "54.20", + "retail_currency": "USD", + "list_rate": "46.85", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": null, + "delivery_date": null, + "delivery_date_guaranteed": false, + "est_delivery_days": null, + "shipment_id": "shp_6f93e11081a943eea73a615b1f823b04", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" } ], @@ -185,10 +207,10 @@ "selected_rate": null, "tracker": null, "to_address": { - "id": "adr_77e8ae4e1f4711ee997aac1f6bc539aa", + "id": "adr_95e3b26bb71311eeb411ac1f6bc539aa", "object": "Address", - "created_at": "2023-07-10T17:30:30+00:00", - "updated_at": "2023-07-10T17:30:30+00:00", + "created_at": "2024-01-19T21:42:04+00:00", + "updated_at": "2024-01-19T21:42:04+00:00", "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", @@ -208,10 +230,10 @@ }, "usps_zone": 4, "return_address": { - "id": "adr_77eb19ac1f4711eea161ac1f6bc53342", + "id": "adr_95e5d4c8b71311eea2923cecef1b359e", "object": "Address", - "created_at": "2023-07-10T17:30:31+00:00", - "updated_at": "2023-07-10T17:30:31+00:00", + "created_at": "2024-01-19T21:42:04+00:00", + "updated_at": "2024-01-19T21:42:04+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -230,10 +252,10 @@ "verifications": {} }, "buyer_address": { - "id": "adr_77e8ae4e1f4711ee997aac1f6bc539aa", + "id": "adr_95e3b26bb71311eeb411ac1f6bc539aa", "object": "Address", - "created_at": "2023-07-10T17:30:30+00:00", - "updated_at": "2023-07-10T17:30:30+00:00", + "created_at": "2024-01-19T21:42:04+00:00", + "updated_at": "2024-01-19T21:42:04+00:00", "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", @@ -253,6 +275,6 @@ }, "forms": [], "fees": [], - "id": "shp_f18f9517691a4a5bba27db1c477bc33a", + "id": "shp_6f93e11081a943eea73a615b1f823b04", "object": "Shipment" } diff --git a/official/docs/responses/shipping-insurance/shipping-insurance-insure.json b/official/docs/responses/shipping-insurance/shipping-insurance-insure.json index 020a2b27..25abce1e 100644 --- a/official/docs/responses/shipping-insurance/shipping-insurance-insure.json +++ b/official/docs/responses/shipping-insurance/shipping-insurance-insure.json @@ -1,5 +1,5 @@ { - "created_at": "2022-10-17T17:17:51Z", + "created_at": "2024-01-19T21:42:15Z", "is_return": false, "messages": [], "mode": "test", @@ -12,16 +12,16 @@ }, "reference": null, "status": "unknown", - "tracking_code": "9405500106068143633037", - "updated_at": "2022-10-17T17:17:52Z", + "tracking_code": "9405500207552010707832", + "updated_at": "2024-01-19T21:42:16Z", "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": { - "id": "cstinfo_0f04d9d807d947469963c7736f83d20c", + "id": "cstinfo_b61da81f3f754df591a18d03da8a92f1", "object": "CustomsInfo", - "created_at": "2022-10-17T17:17:51Z", - "updated_at": "2022-10-17T17:17:51Z", + "created_at": "2024-01-19T21:42:15Z", + "updated_at": "2024-01-19T21:42:15Z", "contents_explanation": "", "contents_type": "merchandise", "customs_certify": true, @@ -34,10 +34,10 @@ "declaration": null, "customs_items": [ { - "id": "cstitem_0b24c580be42449eae7d829bc97f1595", + "id": "cstitem_f1b7d8c06ec44590b739cae12a9a05ed", "object": "CustomsItem", - "created_at": "2022-10-17T17:17:51Z", - "updated_at": "2022-10-17T17:17:51Z", + "created_at": "2024-01-19T21:42:15Z", + "updated_at": "2024-01-19T21:42:15Z", "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": "US", @@ -54,10 +54,10 @@ ] }, "from_address": { - "id": "adr_a187bac64e3f11ed878cac1f6b0a0d1e", + "id": "adr_9cababedb71311eeb632ac1f6bc539aa", "object": "Address", - "created_at": "2022-10-17T17:17:51+00:00", - "updated_at": "2022-10-17T17:17:51+00:00", + "created_at": "2024-01-19T21:42:15+00:00", + "updated_at": "2024-01-19T21:42:15+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -78,10 +78,10 @@ "insurance": "100.00", "order_id": null, "parcel": { - "id": "prcl_8fddeed324d74077ac053c064a9948bc", + "id": "prcl_99b14a8ae7a2443fbc6ba0955ca25c5d", "object": "Parcel", - "created_at": "2022-10-17T17:17:51Z", - "updated_at": "2022-10-17T17:17:51Z", + "created_at": "2024-01-19T21:42:15Z", + "updated_at": "2024-01-19T21:42:15Z", "length": 20.2, "width": 10.9, "height": 5.0, @@ -91,17 +91,17 @@ }, "postage_label": { "object": "PostageLabel", - "id": "pl_9eb27c6359d44c1b9231a7222128611c", - "created_at": "2022-10-17T17:17:52Z", - "updated_at": "2022-10-17T17:17:52Z", + "id": "pl_9372da71bf814abebcfc9d7adfda4a24", + "created_at": "2024-01-19T21:42:16Z", + "updated_at": "2024-01-19T21:42:16Z", "date_advance": 0, "integrated_form": "none", - "label_date": "2022-10-17T17:17:52Z", + "label_date": "2024-01-19T21:42:16Z", "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": "image/png", - "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20221017/ad88313e07e24f9381adc20863f7d658.png", + "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e848d6cdabca4f4478a94ec9db35060a45.png", "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, @@ -109,98 +109,164 @@ }, "rates": [ { - "id": "rate_f41c223a424245a2904a2a9b0554f22a", + "id": "rate_e6f5e02692d04c5aa98fd2c1504c6fa6", "object": "Rate", - "created_at": "2022-10-17T17:17:51Z", - "updated_at": "2022-10-17T17:17:51Z", + "created_at": "2024-01-19T21:42:15Z", + "updated_at": "2024-01-19T21:42:15Z", "mode": "test", - "service": "Express", + "service": "Priority", "carrier": "USPS", - "rate": "44.55", + "rate": "7.99", "currency": "USD", - "retail_rate": "51.30", + "retail_rate": "14.05", "retail_currency": "USD", - "list_rate": "44.55", + "list_rate": "10.27", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, + "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": null, - "shipment_id": "shp_520cd2ca0ca347bf94572e3e99ddc92e", - "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" + "est_delivery_days": 2, + "shipment_id": "shp_1b88cbe26946440d8d1afca25750e9ac", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, { - "id": "rate_2c834529a62a4527b0ac63d7d10fc875", + "id": "rate_91cefc3a1bb14cde8bb802596874569a", "object": "Rate", - "created_at": "2022-10-17T17:17:51Z", - "updated_at": "2022-10-17T17:17:51Z", + "created_at": "2024-01-19T21:42:15Z", + "updated_at": "2024-01-19T21:42:15Z", "mode": "test", - "service": "Priority", + "service": "GroundAdvantage", "carrier": "USPS", - "rate": "10.07", + "rate": "6.79", "currency": "USD", - "retail_rate": "13.45", + "retail_rate": "12.45", "retail_currency": "USD", - "list_rate": "10.07", + "list_rate": "8.92", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 2, + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 2, - "shipment_id": "shp_520cd2ca0ca347bf94572e3e99ddc92e", - "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" + "est_delivery_days": 3, + "shipment_id": "shp_1b88cbe26946440d8d1afca25750e9ac", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + }, + { + "id": "rate_10b5dd00cb2d480cb9c002a247364804", + "object": "Rate", + "created_at": "2024-01-19T21:42:15Z", + "updated_at": "2024-01-19T21:42:15Z", + "mode": "test", + "service": "First", + "carrier": "USPS", + "rate": "6.79", + "currency": "USD", + "retail_rate": "12.45", + "retail_currency": "USD", + "list_rate": "8.92", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": 3, + "delivery_date": null, + "delivery_date_guaranteed": false, + "est_delivery_days": 3, + "shipment_id": "shp_1b88cbe26946440d8d1afca25750e9ac", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + }, + { + "id": "rate_990668e782fd40a39592ea64a5fe9e17", + "object": "Rate", + "created_at": "2024-01-19T21:42:15Z", + "updated_at": "2024-01-19T21:42:15Z", + "mode": "test", + "service": "ParcelSelect", + "carrier": "USPS", + "rate": "6.79", + "currency": "USD", + "retail_rate": "12.45", + "retail_currency": "USD", + "list_rate": "8.92", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": 3, + "delivery_date": null, + "delivery_date_guaranteed": false, + "est_delivery_days": 3, + "shipment_id": "shp_1b88cbe26946440d8d1afca25750e9ac", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + }, + { + "id": "rate_93b8f4328b794587b6289577e4a1110c", + "object": "Rate", + "created_at": "2024-01-19T21:42:15Z", + "updated_at": "2024-01-19T21:42:15Z", + "mode": "test", + "service": "Express", + "carrier": "USPS", + "rate": "46.85", + "currency": "USD", + "retail_rate": "54.20", + "retail_currency": "USD", + "list_rate": "46.85", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": null, + "delivery_date": null, + "delivery_date_guaranteed": false, + "est_delivery_days": null, + "shipment_id": "shp_1b88cbe26946440d8d1afca25750e9ac", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" } ], "refund_status": null, "scan_form": null, "selected_rate": { - "id": "rate_2c834529a62a4527b0ac63d7d10fc875", + "id": "rate_e6f5e02692d04c5aa98fd2c1504c6fa6", "object": "Rate", - "created_at": "2022-10-17T17:17:52Z", - "updated_at": "2022-10-17T17:17:52Z", + "created_at": "2024-01-19T21:42:16Z", + "updated_at": "2024-01-19T21:42:16Z", "mode": "test", "service": "Priority", "carrier": "USPS", - "rate": "10.07", + "rate": "7.99", "currency": "USD", - "retail_rate": "13.45", + "retail_rate": "14.05", "retail_currency": "USD", - "list_rate": "10.07", + "list_rate": "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 2, - "shipment_id": "shp_520cd2ca0ca347bf94572e3e99ddc92e", - "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" + "shipment_id": "shp_1b88cbe26946440d8d1afca25750e9ac", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, "tracker": { - "id": "trk_88f6d7f440d34317a46d67c837d172f3", + "id": "trk_783fdb3f049b43c9a1092ed41513055e", "object": "Tracker", "mode": "test", - "tracking_code": "9405500106068143633037", + "tracking_code": "9405500207552010707832", "status": "pre_transit", "status_detail": "status_update", - "created_at": "2022-10-17T17:17:52Z", - "updated_at": "2022-10-17T17:17:52Z", + "created_at": "2024-01-19T21:42:16Z", + "updated_at": "2024-01-19T21:42:16Z", "signed_by": null, "weight": null, - "est_delivery_date": "2022-10-17T17:17:52Z", - "shipment_id": "shp_520cd2ca0ca347bf94572e3e99ddc92e", + "est_delivery_date": "2024-01-19T21:42:16Z", + "shipment_id": "shp_1b88cbe26946440d8d1afca25750e9ac", "carrier": "USPS", "tracking_details": [ { "object": "TrackingDetail", "message": "Pre-Shipment Info Sent to USPS", - "description": null, + "description": "", "status": "pre_transit", "status_detail": "status_update", - "datetime": "2022-09-17T17:17:52Z", + "datetime": "2023-12-19T21:42:16Z", "source": "USPS", - "carrier_code": null, + "carrier_code": "", "tracking_location": { "object": "TrackingLocation", "city": null, @@ -212,12 +278,12 @@ { "object": "TrackingDetail", "message": "Shipping Label Created", - "description": null, + "description": "", "status": "pre_transit", "status_detail": "status_update", - "datetime": "2022-09-18T05:54:52Z", + "datetime": "2023-12-20T10:19:16Z", "source": "USPS", - "carrier_code": null, + "carrier_code": "", "tracking_location": { "object": "TrackingLocation", "city": "HOUSTON", @@ -248,13 +314,13 @@ "alternate_identifier": null, "initial_delivery_attempt": null }, - "public_url": "https://track.easypost.com/djE6dHJrXzg4ZjZkN2Y0NDBkMzQzMTdhNDZkNjdjODM3ZDE3MmYz" + "public_url": "https://track.easypost.com/djE6dHJrXzc4M2ZkYjNmMDQ5YjQzYzlhMTA5MmVkNDE1MTMwNTVl" }, "to_address": { - "id": "adr_a18503e74e3f11edab1cac1f6bc72124", + "id": "adr_9ca97784b71311eea67fac1f6bc53342", "object": "Address", - "created_at": "2022-10-17T17:17:51+00:00", - "updated_at": "2022-10-17T17:17:52+00:00", + "created_at": "2024-01-19T21:42:15+00:00", + "updated_at": "2024-01-19T21:42:15+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", @@ -289,10 +355,10 @@ }, "usps_zone": 4, "return_address": { - "id": "adr_a187bac64e3f11ed878cac1f6b0a0d1e", + "id": "adr_9cababedb71311eeb632ac1f6bc539aa", "object": "Address", - "created_at": "2022-10-17T17:17:51+00:00", - "updated_at": "2022-10-17T17:17:51+00:00", + "created_at": "2024-01-19T21:42:15+00:00", + "updated_at": "2024-01-19T21:42:15+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -311,10 +377,10 @@ "verifications": {} }, "buyer_address": { - "id": "adr_a18503e74e3f11edab1cac1f6bc72124", + "id": "adr_9ca97784b71311eea67fac1f6bc53342", "object": "Address", - "created_at": "2022-10-17T17:17:51+00:00", - "updated_at": "2022-10-17T17:17:52+00:00", + "created_at": "2024-01-19T21:42:15+00:00", + "updated_at": "2024-01-19T21:42:15+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", @@ -359,18 +425,18 @@ { "object": "Fee", "type": "PostageFee", - "amount": "10.07000", + "amount": "7.99000", "charged": true, "refunded": false }, { "object": "Fee", "type": "InsuranceFee", - "amount": "0.50000", + "amount": "1.00000", "charged": true, "refunded": false } ], - "id": "shp_520cd2ca0ca347bf94572e3e99ddc92e", + "id": "shp_1b88cbe26946440d8d1afca25750e9ac", "object": "Shipment" } diff --git a/official/docs/responses/smartrate/smartrate-retrieve-estimated-delivery-date.json b/official/docs/responses/smartrate/smartrate-retrieve-estimated-delivery-date.json index 6d326a95..54278b95 100644 --- a/official/docs/responses/smartrate/smartrate-retrieve-estimated-delivery-date.json +++ b/official/docs/responses/smartrate/smartrate-retrieve-estimated-delivery-date.json @@ -5,35 +5,179 @@ "days_in_transit": { "percentile_50": 2, "percentile_75": 2, - "percentile_85": 2, - "percentile_90": 2, - "percentile_95": 2, - "percentile_97": 3, - "percentile_99": 4 + "percentile_85": 3, + "percentile_90": 3, + "percentile_95": 4, + "percentile_97": 4, + "percentile_99": 8 }, - "easypost_estimated_delivery_date": "2023-04-27", - "planned_ship_date": "2023-04-25" + "easypost_estimated_delivery_date": "2024-01-23", + "planned_ship_date": "2024-01-22" }, "rate": { "carrier": "USPS", - "carrier_account_id": "ca_4fcd9a658b494a979793bb899a40c5b5", - "created_at": "2023-04-24T20:17:20Z", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e", + "created_at": "2024-01-19T23:23:50Z", + "currency": "USD", + "delivery_date": null, + "delivery_date_guaranteed": false, + "delivery_days": null, + "est_delivery_days": null, + "id": "rate_1f090c0672ff4dbfb70019177223c181", + "list_currency": "USD", + "list_rate": 46.85, + "mode": "test", + "object": "Rate", + "rate": 46.85, + "retail_currency": "USD", + "retail_rate": 54.2, + "service": "Express", + "shipment_id": "shp_2b515adbb0d744658aa6c97331dad642", + "updated_at": "2024-01-19T23:23:50Z" + } + }, + { + "easypost_time_in_transit_data": { + "days_in_transit": { + "percentile_50": 3, + "percentile_75": 3, + "percentile_85": 4, + "percentile_90": 4, + "percentile_95": 5, + "percentile_97": 7, + "percentile_99": 8 + }, + "easypost_estimated_delivery_date": "2024-01-25", + "planned_ship_date": "2024-01-22" + }, + "rate": { + "carrier": "USPS", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e", + "created_at": "2024-01-19T23:23:50Z", "currency": "USD", "delivery_date": null, "delivery_date_guaranteed": false, "delivery_days": 2, "est_delivery_days": 2, - "id": "rate_078538dd44654bc79c79163f4a5de5f4", + "id": "rate_14b668ccb15c4b68b4525a2bab59311b", "list_currency": "USD", "list_rate": 10.27, "mode": "test", "object": "Rate", - "rate": 9.15, + "rate": 7.99, "retail_currency": "USD", "retail_rate": 14.05, "service": "Priority", - "shipment_id": "shp_3f16e63fcb614f38b405c417c57203f4", - "updated_at": "2023-04-24T20:17:20Z" + "shipment_id": "shp_2b515adbb0d744658aa6c97331dad642", + "updated_at": "2024-01-19T23:23:50Z" + } + }, + { + "easypost_time_in_transit_data": { + "days_in_transit": { + "percentile_50": 3, + "percentile_75": 3, + "percentile_85": 4, + "percentile_90": 4, + "percentile_95": 5, + "percentile_97": 7, + "percentile_99": 9 + }, + "easypost_estimated_delivery_date": "2024-01-25", + "planned_ship_date": "2024-01-22" + }, + "rate": { + "carrier": "USPS", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e", + "created_at": "2024-01-19T23:23:50Z", + "currency": "USD", + "delivery_date": null, + "delivery_date_guaranteed": false, + "delivery_days": 3, + "est_delivery_days": 3, + "id": "rate_efafacc6ee134f809f89021d23cae583", + "list_currency": "USD", + "list_rate": 8.92, + "mode": "test", + "object": "Rate", + "rate": 6.79, + "retail_currency": "USD", + "retail_rate": 12.45, + "service": "GroundAdvantage", + "shipment_id": "shp_2b515adbb0d744658aa6c97331dad642", + "updated_at": "2024-01-19T23:23:50Z" + } + }, + { + "easypost_time_in_transit_data": { + "days_in_transit": { + "percentile_50": 3, + "percentile_75": 3, + "percentile_85": 4, + "percentile_90": 4, + "percentile_95": 5, + "percentile_97": 7, + "percentile_99": 9 + }, + "easypost_estimated_delivery_date": "2024-01-25", + "planned_ship_date": "2024-01-22" + }, + "rate": { + "carrier": "USPS", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e", + "created_at": "2024-01-19T23:23:50Z", + "currency": "USD", + "delivery_date": null, + "delivery_date_guaranteed": false, + "delivery_days": 3, + "est_delivery_days": 3, + "id": "rate_3b396719d2da4000ad4a4dafcc69a1e1", + "list_currency": "USD", + "list_rate": 8.92, + "mode": "test", + "object": "Rate", + "rate": 6.79, + "retail_currency": "USD", + "retail_rate": 12.45, + "service": "First", + "shipment_id": "shp_2b515adbb0d744658aa6c97331dad642", + "updated_at": "2024-01-19T23:23:50Z" + } + }, + { + "easypost_time_in_transit_data": { + "days_in_transit": { + "percentile_50": 3, + "percentile_75": 3, + "percentile_85": 4, + "percentile_90": 4, + "percentile_95": 5, + "percentile_97": 7, + "percentile_99": 9 + }, + "easypost_estimated_delivery_date": "2024-01-25", + "planned_ship_date": "2024-01-22" + }, + "rate": { + "carrier": "USPS", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e", + "created_at": "2024-01-19T23:23:50Z", + "currency": "USD", + "delivery_date": null, + "delivery_date_guaranteed": false, + "delivery_days": 3, + "est_delivery_days": 3, + "id": "rate_17ae23855cc345c9be436e0c5021bfae", + "list_currency": "USD", + "list_rate": 8.92, + "mode": "test", + "object": "Rate", + "rate": 6.79, + "retail_currency": "USD", + "retail_rate": 12.45, + "service": "ParcelSelect", + "shipment_id": "shp_2b515adbb0d744658aa6c97331dad642", + "updated_at": "2024-01-19T23:23:50Z" } } ] diff --git a/official/docs/responses/smartrate/smartrate-retrieve-time-in-transit-statistics.json b/official/docs/responses/smartrate/smartrate-retrieve-time-in-transit-statistics.json index b047b78c..f6a10051 100644 --- a/official/docs/responses/smartrate/smartrate-retrieve-time-in-transit-statistics.json +++ b/official/docs/responses/smartrate/smartrate-retrieve-time-in-transit-statistics.json @@ -1,124 +1,280 @@ { - "result": [ + "created_at": "2024-01-19T21:44:14Z", + "is_return": false, + "messages": [], + "mode": "test", + "options": { + "currency": "USD", + "payment": { + "type": "SENDER" + }, + "date_advance": 0 + }, + "reference": null, + "status": "unknown", + "tracking_code": null, + "updated_at": "2024-01-19T21:44:15Z", + "batch_id": null, + "batch_status": null, + "batch_message": null, + "customs_info": { + "id": "cstinfo_cad3f6e9b7d54616bf8205c8da0d1f25", + "object": "CustomsInfo", + "created_at": "2024-01-19T21:44:14Z", + "updated_at": "2024-01-19T21:44:14Z", + "contents_explanation": "", + "contents_type": "merchandise", + "customs_certify": true, + "customs_signer": "Steve Brule", + "eel_pfc": "NOEEI 30.37(a)", + "non_delivery_option": "return", + "restriction_comments": null, + "restriction_type": "none", + "mode": "test", + "declaration": null, + "customs_items": [ + { + "id": "cstitem_ce2cfac8d2054954ac8c7043b7bc5c22", + "object": "CustomsItem", + "created_at": "2024-01-19T21:44:14Z", + "updated_at": "2024-01-19T21:44:14Z", + "description": "T-shirt", + "hs_tariff_number": "123456", + "origin_country": "US", + "quantity": 1, + "value": "10.0", + "weight": 5.0, + "code": "123", + "mode": "test", + "manufacturer": null, + "currency": null, + "eccn": null, + "printed_commodity_identifier": null + } + ] + }, + "from_address": { + "id": "adr_e3845ddbb71311eebde23cecef1b359e", + "object": "Address", + "created_at": "2024-01-19T21:44:14+00:00", + "updated_at": "2024-01-19T21:44:14+00:00", + "name": "EasyPost", + "company": null, + "street1": "417 Montgomery Street", + "street2": "5th Floor", + "city": "San Francisco", + "state": "CA", + "zip": "94104", + "country": "US", + "phone": "4153334445", + "email": "support@easypost.com", + "mode": "test", + "carrier_facility": null, + "residential": null, + "federal_tax_id": null, + "state_tax_id": null, + "verifications": {} + }, + "insurance": null, + "order_id": null, + "parcel": { + "id": "prcl_e6b7cecdd712449bad1b9a7b34c15ee0", + "object": "Parcel", + "created_at": "2024-01-19T21:44:14Z", + "updated_at": "2024-01-19T21:44:14Z", + "length": 20.2, + "width": 10.9, + "height": 5.0, + "predefined_package": null, + "weight": 65.9, + "mode": "test" + }, + "postage_label": null, + "rates": [ { + "id": "rate_14748b15f69142cda74df5b0bc823a71", + "object": "Rate", + "created_at": "2024-01-19T21:44:15Z", + "updated_at": "2024-01-19T21:44:15Z", + "mode": "test", + "service": "Express", "carrier": "USPS", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e", - "created_at": "2023-07-10T17:30:41Z", + "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", + "retail_currency": "USD", + "list_rate": "46.85", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": false, - "delivery_days": null, "est_delivery_days": null, - "id": "rate_31f5c6b890de4c1385cd02b847115bb9", - "list_currency": "USD", - "list_rate": 46.85, - "mode": "test", - "object": "Rate", - "rate": 46.85, - "retail_currency": "USD", - "retail_rate": 54.2, - "service": "Express", - "shipment_id": "shp_a4e5255e952c40c78bd9c548efe9f4e6", - "time_in_transit": { - "percentile_50": 1, - "percentile_75": 2, - "percentile_85": 2, - "percentile_90": 2, - "percentile_95": 3, - "percentile_97": 3, - "percentile_99": 4 - }, - "updated_at": "2023-07-10T17:30:41Z" + "shipment_id": "shp_a36c0703a3da481fb95b47c5ff98f2a2", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, { + "id": "rate_7c33326621f0469e942383cd5c4891ea", + "object": "Rate", + "created_at": "2024-01-19T21:44:15Z", + "updated_at": "2024-01-19T21:44:15Z", + "mode": "test", + "service": "Priority", "carrier": "USPS", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e", - "created_at": "2023-07-10T17:30:41Z", + "rate": "7.99", "currency": "USD", + "retail_rate": "14.05", + "retail_currency": "USD", + "list_rate": "10.27", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, - "delivery_days": 2, "est_delivery_days": 2, - "id": "rate_2005759def924d4cbf21eb744bd020c8", - "list_currency": "USD", - "list_rate": 10.27, - "mode": "test", - "object": "Rate", - "rate": 7.47, - "retail_currency": "USD", - "retail_rate": 14.05, - "service": "Priority", - "shipment_id": "shp_a4e5255e952c40c78bd9c548efe9f4e6", - "time_in_transit": { - "percentile_50": 2, - "percentile_75": 2, - "percentile_85": 2, - "percentile_90": 2, - "percentile_95": 2, - "percentile_97": 3, - "percentile_99": 4 - }, - "updated_at": "2023-07-10T17:30:41Z" + "shipment_id": "shp_a36c0703a3da481fb95b47c5ff98f2a2", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, { + "id": "rate_f0710cb2d3674b3e840f27a9139cf42a", + "object": "Rate", + "created_at": "2024-01-19T21:44:15Z", + "updated_at": "2024-01-19T21:44:15Z", + "mode": "test", + "service": "GroundAdvantage", "carrier": "USPS", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e", - "created_at": "2023-07-10T17:30:41Z", + "rate": "6.79", "currency": "USD", + "retail_rate": "12.45", + "retail_currency": "USD", + "list_rate": "8.92", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "delivery_days": null, - "est_delivery_days": null, - "id": "rate_e34cd1a5d9e44b72a0d4b538e98b7468", - "list_currency": "USD", - "list_rate": 8.92, - "mode": "test", - "object": "Rate", - "rate": 8.92, - "retail_currency": "USD", - "retail_rate": 8.92, - "service": "GroundAdvantage", - "shipment_id": "shp_a4e5255e952c40c78bd9c548efe9f4e6", - "time_in_transit": { - "percentile_50": 2, - "percentile_75": 2, - "percentile_85": 2, - "percentile_90": 2, - "percentile_95": 2, - "percentile_97": 3, - "percentile_99": 4 - }, - "updated_at": "2023-07-10T17:30:41Z" + "est_delivery_days": 3, + "shipment_id": "shp_a36c0703a3da481fb95b47c5ff98f2a2", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, { + "id": "rate_1977bc6e1d6f43eda30e8833e54f338c", + "object": "Rate", + "created_at": "2024-01-19T21:44:15Z", + "updated_at": "2024-01-19T21:44:15Z", + "mode": "test", + "service": "First", "carrier": "USPS", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e", - "created_at": "2023-07-10T17:30:41Z", + "rate": "6.79", "currency": "USD", + "retail_rate": "12.45", + "retail_currency": "USD", + "list_rate": "8.92", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "delivery_days": 3, "est_delivery_days": 3, - "id": "rate_3049fb50b21744bcb386a0a1cd027846", - "list_currency": "USD", - "list_rate": 8.92, - "mode": "test", + "shipment_id": "shp_a36c0703a3da481fb95b47c5ff98f2a2", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + }, + { + "id": "rate_162cd1c878304bc4921d2ec0e802e92f", "object": "Rate", - "rate": 8.92, + "created_at": "2024-01-19T21:44:15Z", + "updated_at": "2024-01-19T21:44:15Z", + "mode": "test", + "service": "ParcelSelect", + "carrier": "USPS", + "rate": "6.79", + "currency": "USD", + "retail_rate": "12.45", "retail_currency": "USD", - "retail_rate": 8.92, - "service": "First", - "shipment_id": "shp_a4e5255e952c40c78bd9c548efe9f4e6", - "time_in_transit": { - "percentile_50": 2, - "percentile_75": 2, - "percentile_85": 2, - "percentile_90": 2, - "percentile_95": 2, - "percentile_97": 3, - "percentile_99": 4 - }, - "updated_at": "2023-07-10T17:30:41Z" + "list_rate": "8.92", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": 3, + "delivery_date": null, + "delivery_date_guaranteed": false, + "est_delivery_days": 3, + "shipment_id": "shp_a36c0703a3da481fb95b47c5ff98f2a2", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" } - ] + ], + "refund_status": null, + "scan_form": null, + "selected_rate": null, + "tracker": null, + "to_address": { + "id": "adr_e38164c3b71311ee8f65ac1f6bc539aa", + "object": "Address", + "created_at": "2024-01-19T21:44:14+00:00", + "updated_at": "2024-01-19T21:44:14+00:00", + "name": "Dr. Steve Brule", + "company": null, + "street1": "179 N Harbor Dr", + "street2": null, + "city": "Redondo Beach", + "state": "CA", + "zip": "90277", + "country": "US", + "phone": "8573875756", + "email": "dr_steve_brule@gmail.com", + "mode": "test", + "carrier_facility": null, + "residential": null, + "federal_tax_id": null, + "state_tax_id": null, + "verifications": {} + }, + "usps_zone": 4, + "return_address": { + "id": "adr_e3845ddbb71311eebde23cecef1b359e", + "object": "Address", + "created_at": "2024-01-19T21:44:14+00:00", + "updated_at": "2024-01-19T21:44:14+00:00", + "name": "EasyPost", + "company": null, + "street1": "417 Montgomery Street", + "street2": "5th Floor", + "city": "San Francisco", + "state": "CA", + "zip": "94104", + "country": "US", + "phone": "4153334445", + "email": "support@easypost.com", + "mode": "test", + "carrier_facility": null, + "residential": null, + "federal_tax_id": null, + "state_tax_id": null, + "verifications": {} + }, + "buyer_address": { + "id": "adr_e38164c3b71311ee8f65ac1f6bc539aa", + "object": "Address", + "created_at": "2024-01-19T21:44:14+00:00", + "updated_at": "2024-01-19T21:44:14+00:00", + "name": "Dr. Steve Brule", + "company": null, + "street1": "179 N Harbor Dr", + "street2": null, + "city": "Redondo Beach", + "state": "CA", + "zip": "90277", + "country": "US", + "phone": "8573875756", + "email": "dr_steve_brule@gmail.com", + "mode": "test", + "carrier_facility": null, + "residential": null, + "federal_tax_id": null, + "state_tax_id": null, + "verifications": {} + }, + "forms": [], + "fees": [], + "id": "shp_a36c0703a3da481fb95b47c5ff98f2a2", + "object": "Shipment" } diff --git a/official/docs/responses/tax-identifiers/tax-identifiers-create.json b/official/docs/responses/tax-identifiers/tax-identifiers-create.json index fb6c5784..e3a0cb73 100644 --- a/official/docs/responses/tax-identifiers/tax-identifiers-create.json +++ b/official/docs/responses/tax-identifiers/tax-identifiers-create.json @@ -1,5 +1,5 @@ { - "created_at": "2022-10-17T17:17:57Z", + "created_at": "2024-01-19T21:42:18Z", "is_return": false, "messages": [], "mode": "test", @@ -13,15 +13,15 @@ "reference": null, "status": "unknown", "tracking_code": null, - "updated_at": "2022-10-17T17:17:57Z", + "updated_at": "2024-01-19T21:42:19Z", "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": { - "id": "cstinfo_9d9aa459dcb0426aa8627f3235fedd3d", + "id": "cstinfo_e881f6245aa54859b67c03ca56373651", "object": "CustomsInfo", - "created_at": "2022-10-17T17:17:56Z", - "updated_at": "2022-10-17T17:17:56Z", + "created_at": "2024-01-19T21:42:18Z", + "updated_at": "2024-01-19T21:42:18Z", "contents_explanation": "", "contents_type": "merchandise", "customs_certify": true, @@ -34,10 +34,10 @@ "declaration": null, "customs_items": [ { - "id": "cstitem_c3c39dd705534d8d8671383d160abb00", + "id": "cstitem_220f93143e264fc48e892eb41499549d", "object": "CustomsItem", - "created_at": "2022-10-17T17:17:56Z", - "updated_at": "2022-10-17T17:17:56Z", + "created_at": "2024-01-19T21:42:18Z", + "updated_at": "2024-01-19T21:42:18Z", "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": "US", @@ -54,10 +54,10 @@ ] }, "from_address": { - "id": "adr_a497aac64e3f11edbe5cac1f6bc7b362", + "id": "adr_9e87f14eb71311eea54c3cecef1b359e", "object": "Address", - "created_at": "2022-10-17T17:17:56+00:00", - "updated_at": "2022-10-17T17:17:56+00:00", + "created_at": "2024-01-19T21:42:18+00:00", + "updated_at": "2024-01-19T21:42:18+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -78,10 +78,10 @@ "insurance": null, "order_id": null, "parcel": { - "id": "prcl_5a195a9961f14267a23575d4c7aa33f9", + "id": "prcl_784330816f2e4bb7ade33f7a29074d1f", "object": "Parcel", - "created_at": "2022-10-17T17:17:56Z", - "updated_at": "2022-10-17T17:17:56Z", + "created_at": "2024-01-19T21:42:18Z", + "updated_at": "2024-01-19T21:42:18Z", "length": 20.2, "width": 10.9, "height": 5.0, @@ -92,48 +92,114 @@ "postage_label": null, "rates": [ { - "id": "rate_48c36026ad134ba5a523f68e36c0126b", + "id": "rate_82d44fedcfd9447c8c62f1ac63079847", "object": "Rate", - "created_at": "2022-10-17T17:17:57Z", - "updated_at": "2022-10-17T17:17:57Z", + "created_at": "2024-01-19T21:42:19Z", + "updated_at": "2024-01-19T21:42:19Z", "mode": "test", "service": "Express", "carrier": "USPS", - "rate": "44.55", + "rate": "46.85", "currency": "USD", - "retail_rate": "51.30", + "retail_rate": "54.20", "retail_currency": "USD", - "list_rate": "44.55", + "list_rate": "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": null, - "shipment_id": "shp_add821aaa60f4ab98626ea97b483d77e", - "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" + "shipment_id": "shp_947844265e374fd0a2a697650fe580cb", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" }, { - "id": "rate_b80eebd1d4e34002bebf49d0a86dfd90", + "id": "rate_16f1599e241d4e9099560c70edaaa361", "object": "Rate", - "created_at": "2022-10-17T17:17:57Z", - "updated_at": "2022-10-17T17:17:57Z", + "created_at": "2024-01-19T21:42:19Z", + "updated_at": "2024-01-19T21:42:19Z", "mode": "test", "service": "Priority", "carrier": "USPS", - "rate": "10.07", + "rate": "7.99", "currency": "USD", - "retail_rate": "13.45", + "retail_rate": "14.05", "retail_currency": "USD", - "list_rate": "10.07", + "list_rate": "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 2, - "shipment_id": "shp_add821aaa60f4ab98626ea97b483d77e", - "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" + "shipment_id": "shp_947844265e374fd0a2a697650fe580cb", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + }, + { + "id": "rate_872cf4e362e445538ea7315a6623e988", + "object": "Rate", + "created_at": "2024-01-19T21:42:19Z", + "updated_at": "2024-01-19T21:42:19Z", + "mode": "test", + "service": "GroundAdvantage", + "carrier": "USPS", + "rate": "6.79", + "currency": "USD", + "retail_rate": "12.45", + "retail_currency": "USD", + "list_rate": "8.92", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": 3, + "delivery_date": null, + "delivery_date_guaranteed": false, + "est_delivery_days": 3, + "shipment_id": "shp_947844265e374fd0a2a697650fe580cb", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + }, + { + "id": "rate_61fbdb2d829b48f9aa284c6e86043876", + "object": "Rate", + "created_at": "2024-01-19T21:42:19Z", + "updated_at": "2024-01-19T21:42:19Z", + "mode": "test", + "service": "First", + "carrier": "USPS", + "rate": "6.79", + "currency": "USD", + "retail_rate": "12.45", + "retail_currency": "USD", + "list_rate": "8.92", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": 3, + "delivery_date": null, + "delivery_date_guaranteed": false, + "est_delivery_days": 3, + "shipment_id": "shp_947844265e374fd0a2a697650fe580cb", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + }, + { + "id": "rate_b42c62046bb546cd8ed55c87e377d66d", + "object": "Rate", + "created_at": "2024-01-19T21:42:19Z", + "updated_at": "2024-01-19T21:42:19Z", + "mode": "test", + "service": "ParcelSelect", + "carrier": "USPS", + "rate": "6.79", + "currency": "USD", + "retail_rate": "12.45", + "retail_currency": "USD", + "list_rate": "8.92", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": 3, + "delivery_date": null, + "delivery_date_guaranteed": false, + "est_delivery_days": 3, + "shipment_id": "shp_947844265e374fd0a2a697650fe580cb", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" } ], "refund_status": null, @@ -141,10 +207,10 @@ "selected_rate": null, "tracker": null, "to_address": { - "id": "adr_a49458b04e3f11edbe59ac1f6bc7b362", + "id": "adr_9e85522cb71311eea813ac1f6bc539ae", "object": "Address", - "created_at": "2022-10-17T17:17:56+00:00", - "updated_at": "2022-10-17T17:17:56+00:00", + "created_at": "2024-01-19T21:42:18+00:00", + "updated_at": "2024-01-19T21:42:18+00:00", "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", @@ -164,10 +230,10 @@ }, "usps_zone": 4, "return_address": { - "id": "adr_a497aac64e3f11edbe5cac1f6bc7b362", + "id": "adr_9e87f14eb71311eea54c3cecef1b359e", "object": "Address", - "created_at": "2022-10-17T17:17:56+00:00", - "updated_at": "2022-10-17T17:17:56+00:00", + "created_at": "2024-01-19T21:42:18+00:00", + "updated_at": "2024-01-19T21:42:18+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -186,10 +252,10 @@ "verifications": {} }, "buyer_address": { - "id": "adr_a49458b04e3f11edbe59ac1f6bc7b362", + "id": "adr_9e85522cb71311eea813ac1f6bc539ae", "object": "Address", - "created_at": "2022-10-17T17:17:56+00:00", - "updated_at": "2022-10-17T17:17:56+00:00", + "created_at": "2024-01-19T21:42:18+00:00", + "updated_at": "2024-01-19T21:42:18+00:00", "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", @@ -209,7 +275,7 @@ }, "forms": [], "fees": [], - "id": "shp_add821aaa60f4ab98626ea97b483d77e", + "id": "shp_947844265e374fd0a2a697650fe580cb", "object": "Shipment", "tax_identifiers": [ { diff --git a/official/docs/responses/trackers/trackers-create.json b/official/docs/responses/trackers/trackers-create.json index 62ec33b5..12ca30ec 100644 --- a/official/docs/responses/trackers/trackers-create.json +++ b/official/docs/responses/trackers/trackers-create.json @@ -1,27 +1,27 @@ { - "id": "trk_52af8b25ec1a4ca687a9691e0dc2198b", + "id": "trk_acfcc5058c5445bda6c3c331125d52c9", "object": "Tracker", "mode": "test", "tracking_code": "EZ1000000001", "status": "pre_transit", "status_detail": "status_update", - "created_at": "2022-10-17T17:51:57Z", - "updated_at": "2022-10-17T17:51:57Z", + "created_at": "2023-11-30T20:36:36Z", + "updated_at": "2023-12-01T05:14:45Z", "signed_by": null, "weight": null, - "est_delivery_date": "2022-10-17T17:51:57Z", + "est_delivery_date": "2023-12-01T05:14:45Z", "shipment_id": null, "carrier": "USPS", "tracking_details": [ { "object": "TrackingDetail", "message": "Pre-Shipment Info Sent to USPS", - "description": null, + "description": "", "status": "pre_transit", "status_detail": "status_update", - "datetime": "2022-09-17T17:51:57Z", + "datetime": "2023-11-01T05:14:45Z", "source": "USPS", - "carrier_code": null, + "carrier_code": "", "tracking_location": { "object": "TrackingLocation", "city": null, @@ -33,12 +33,12 @@ { "object": "TrackingDetail", "message": "Shipping Label Created", - "description": null, + "description": "", "status": "pre_transit", "status_detail": "status_update", - "datetime": "2022-09-18T06:28:57Z", + "datetime": "2023-11-01T17:51:45Z", "source": "USPS", - "carrier_code": null, + "carrier_code": "", "tracking_location": { "object": "TrackingLocation", "city": "HOUSTON", @@ -70,14 +70,5 @@ }, "finalized": true, "is_return": false, - "public_url": "https://track.easypost.com/djE6dHJrXzUyYWY4YjI1ZWMxYTRjYTY4N2E5NjkxZTBkYzIxOThi", - "fees": [ - { - "object": "Fee", - "type": "TrackerFee", - "amount": "0.02000", - "charged": false, - "refunded": false - } - ] + "public_url": "https://track.easypost.com/djE6dHJrX2FjZmNjNTA1OGM1NDQ1YmRhNmMzYzMzMTEyNWQ1MmM5" } diff --git a/official/docs/responses/trackers/trackers-list.json b/official/docs/responses/trackers/trackers-list.json index 56bffdf8..621239b3 100644 --- a/official/docs/responses/trackers/trackers-list.json +++ b/official/docs/responses/trackers/trackers-list.json @@ -1,29 +1,29 @@ { "trackers": [ { - "id": "trk_f7ed99b497a944fb84f99bf6a9a5f8ea", + "id": "trk_783fdb3f049b43c9a1092ed41513055e", "object": "Tracker", "mode": "test", - "tracking_code": "9461200106068143633117", + "tracking_code": "9405500207552010707832", "status": "pre_transit", "status_detail": "status_update", - "created_at": "2022-10-17T17:18:08Z", - "updated_at": "2022-10-17T17:18:08Z", + "created_at": "2024-01-19T21:42:16Z", + "updated_at": "2024-01-19T21:42:16Z", "signed_by": null, "weight": null, - "est_delivery_date": "2022-10-17T17:18:08Z", - "shipment_id": "shp_b3b2b84b0ad14a2ca926ab8fddd02ef2", + "est_delivery_date": "2024-01-19T21:42:16Z", + "shipment_id": "shp_1b88cbe26946440d8d1afca25750e9ac", "carrier": "USPS", "tracking_details": [ { "object": "TrackingDetail", "message": "Pre-Shipment Info Sent to USPS", - "description": null, + "description": "", "status": "pre_transit", "status_detail": "status_update", - "datetime": "2022-09-17T17:18:08Z", + "datetime": "2023-12-19T21:42:16Z", "source": "USPS", - "carrier_code": null, + "carrier_code": "", "tracking_location": { "object": "TrackingLocation", "city": null, @@ -35,12 +35,12 @@ { "object": "TrackingDetail", "message": "Shipping Label Created", - "description": null, + "description": "", "status": "pre_transit", "status_detail": "status_update", - "datetime": "2022-09-18T05:55:08Z", + "datetime": "2023-12-20T10:19:16Z", "source": "USPS", - "carrier_code": null, + "carrier_code": "", "tracking_location": { "object": "TrackingLocation", "city": "HOUSTON", @@ -71,7 +71,7 @@ "alternate_identifier": null, "initial_delivery_attempt": null }, - "public_url": "https://track.easypost.com/djE6dHJrX2Y3ZWQ5OWI0OTdhOTQ0ZmI4NGY5OWJmNmE5YTVmOGVh" + "public_url": "https://track.easypost.com/djE6dHJrXzc4M2ZkYjNmMDQ5YjQzYzlhMTA5MmVkNDE1MTMwNTVl" } ], "has_more": true diff --git a/official/docs/responses/trackers/trackers-retrieve.json b/official/docs/responses/trackers/trackers-retrieve.json index be4cefd0..3fc4dfb8 100644 --- a/official/docs/responses/trackers/trackers-retrieve.json +++ b/official/docs/responses/trackers/trackers-retrieve.json @@ -1,27 +1,27 @@ { - "id": "trk_f7ed99b497a944fb84f99bf6a9a5f8ea", + "id": "trk_783fdb3f049b43c9a1092ed41513055e", "object": "Tracker", "mode": "test", - "tracking_code": "9461200106068143633117", + "tracking_code": "9405500207552010707832", "status": "pre_transit", "status_detail": "status_update", - "created_at": "2022-10-17T17:18:08Z", - "updated_at": "2022-10-17T17:18:08Z", + "created_at": "2024-01-19T21:42:16Z", + "updated_at": "2024-01-19T21:42:16Z", "signed_by": null, "weight": null, - "est_delivery_date": "2022-10-17T17:18:08Z", - "shipment_id": "shp_b3b2b84b0ad14a2ca926ab8fddd02ef2", + "est_delivery_date": "2024-01-19T21:42:16Z", + "shipment_id": "shp_1b88cbe26946440d8d1afca25750e9ac", "carrier": "USPS", "tracking_details": [ { "object": "TrackingDetail", "message": "Pre-Shipment Info Sent to USPS", - "description": null, + "description": "", "status": "pre_transit", "status_detail": "status_update", - "datetime": "2022-09-17T17:18:08Z", + "datetime": "2023-12-19T21:42:16Z", "source": "USPS", - "carrier_code": null, + "carrier_code": "", "tracking_location": { "object": "TrackingLocation", "city": null, @@ -33,12 +33,12 @@ { "object": "TrackingDetail", "message": "Shipping Label Created", - "description": null, + "description": "", "status": "pre_transit", "status_detail": "status_update", - "datetime": "2022-09-18T05:55:08Z", + "datetime": "2023-12-20T10:19:16Z", "source": "USPS", - "carrier_code": null, + "carrier_code": "", "tracking_location": { "object": "TrackingLocation", "city": "HOUSTON", @@ -69,5 +69,5 @@ "alternate_identifier": null, "initial_delivery_attempt": null }, - "public_url": "https://track.easypost.com/djE6dHJrX2Y3ZWQ5OWI0OTdhOTQ0ZmI4NGY5OWJmNmE5YTVmOGVh" + "public_url": "https://track.easypost.com/djE6dHJrXzc4M2ZkYjNmMDQ5YjQzYzlhMTA5MmVkNDE1MTMwNTVl" } diff --git a/official/docs/responses/users/users-retrieve.json b/official/docs/responses/users/users-retrieve.json index 7d803d73..54e7e74f 100644 --- a/official/docs/responses/users/users-retrieve.json +++ b/official/docs/responses/users/users-retrieve.json @@ -1,22 +1,72 @@ { - "id": "user_060ab38db3c04ffaa60f262e5781a9be", + "id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": null, - "name": "EasyPost Docs", + "name": "New Name", "phone_number": "5555555555", "verified": true, - "created_at": "2022-10-14T17:23:58Z", + "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, + "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": "0.00000", - "recharge_amount": null, - "secondary_recharge_amount": null, - "recharge_threshold": null, - "has_billing_method": null, - "cc_fee_rate": "0.0375", + "recharge_amount": "100.00", + "secondary_recharge_amount": "100.00", + "recharge_threshold": "0.00", + "has_billing_method": false, + "cc_fee_rate": "0.03", "default_insurance_amount": null, - "insurance_fee_rate": "0.005", - "insurance_fee_minimum": "0.50", - "email": "dev+easypost-docs@easypost.com", - "children": [] + "insurance_fee_rate": "0.01", + "insurance_fee_minimum": "1.00", + "email": "dev+easypost-python@easypost.com", + "children": [ + { + "id": "user_584be78af2f141e988b6c60dda9dd8fd", + "object": "User", + "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", + "name": "Test User2", + "phone_number": "8005550100", + "verified": true, + "created_at": "2023-12-11T17:13:38Z", + "default_carbon_offset": false, + "has_elevate_access": false, + "children": [] + }, + { + "id": "user_437e724f37de412db6df8821968d8d3c", + "object": "User", + "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", + "name": "Test User2", + "phone_number": "8005550100", + "verified": true, + "created_at": "2023-12-11T17:13:43Z", + "default_carbon_offset": false, + "has_elevate_access": false, + "children": [] + }, + { + "id": "user_2553102e90de43dea0b9fa7f8c8d7e33", + "object": "User", + "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", + "name": "Child Account Name22", + "phone_number": "8005550100", + "verified": true, + "created_at": "2024-01-04T19:56:21Z", + "default_carbon_offset": false, + "has_elevate_access": false, + "children": [] + }, + { + "id": "user_31754439d4524fbb8867d138de537e12", + "object": "User", + "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", + "name": "Test User", + "phone_number": "8005550100", + "verified": true, + "created_at": "2024-01-19T21:42:21Z", + "default_carbon_offset": false, + "has_elevate_access": false, + "children": [] + } + ] } diff --git a/official/docs/responses/users/users-update.json b/official/docs/responses/users/users-update.json index 7d803d73..54e7e74f 100644 --- a/official/docs/responses/users/users-update.json +++ b/official/docs/responses/users/users-update.json @@ -1,22 +1,72 @@ { - "id": "user_060ab38db3c04ffaa60f262e5781a9be", + "id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": null, - "name": "EasyPost Docs", + "name": "New Name", "phone_number": "5555555555", "verified": true, - "created_at": "2022-10-14T17:23:58Z", + "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, + "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": "0.00000", - "recharge_amount": null, - "secondary_recharge_amount": null, - "recharge_threshold": null, - "has_billing_method": null, - "cc_fee_rate": "0.0375", + "recharge_amount": "100.00", + "secondary_recharge_amount": "100.00", + "recharge_threshold": "0.00", + "has_billing_method": false, + "cc_fee_rate": "0.03", "default_insurance_amount": null, - "insurance_fee_rate": "0.005", - "insurance_fee_minimum": "0.50", - "email": "dev+easypost-docs@easypost.com", - "children": [] + "insurance_fee_rate": "0.01", + "insurance_fee_minimum": "1.00", + "email": "dev+easypost-python@easypost.com", + "children": [ + { + "id": "user_584be78af2f141e988b6c60dda9dd8fd", + "object": "User", + "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", + "name": "Test User2", + "phone_number": "8005550100", + "verified": true, + "created_at": "2023-12-11T17:13:38Z", + "default_carbon_offset": false, + "has_elevate_access": false, + "children": [] + }, + { + "id": "user_437e724f37de412db6df8821968d8d3c", + "object": "User", + "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", + "name": "Test User2", + "phone_number": "8005550100", + "verified": true, + "created_at": "2023-12-11T17:13:43Z", + "default_carbon_offset": false, + "has_elevate_access": false, + "children": [] + }, + { + "id": "user_2553102e90de43dea0b9fa7f8c8d7e33", + "object": "User", + "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", + "name": "Child Account Name22", + "phone_number": "8005550100", + "verified": true, + "created_at": "2024-01-04T19:56:21Z", + "default_carbon_offset": false, + "has_elevate_access": false, + "children": [] + }, + { + "id": "user_31754439d4524fbb8867d138de537e12", + "object": "User", + "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", + "name": "Test User", + "phone_number": "8005550100", + "verified": true, + "created_at": "2024-01-19T21:42:21Z", + "default_carbon_offset": false, + "has_elevate_access": false, + "children": [] + } + ] } diff --git a/official/docs/responses/webhooks/webhooks-create.json b/official/docs/responses/webhooks/webhooks-create.json index 44dd22a6..03caab1d 100644 --- a/official/docs/responses/webhooks/webhooks-create.json +++ b/official/docs/responses/webhooks/webhooks-create.json @@ -1,8 +1,8 @@ { - "id": "hook_b21e69804e3f11eda8b60d4dfaa81783", + "id": "hook_a258052cb71311eeab0e11baa1d48065", "object": "Webhook", "mode": "test", "url": "http://example.com", - "created_at": "2022-10-17T17:18:20Z", + "created_at": "2024-01-19T21:42:25Z", "disabled_at": null } diff --git a/official/docs/responses/webhooks/webhooks-list.json b/official/docs/responses/webhooks/webhooks-list.json index e0f4ac7e..31bbee15 100644 --- a/official/docs/responses/webhooks/webhooks-list.json +++ b/official/docs/responses/webhooks/webhooks-list.json @@ -1,11 +1,11 @@ { "webhooks": [ { - "id": "hook_b46f0ece4e3f11edb2e41de32f04fac6", + "id": "hook_a3f025eab71311ee809a6118297c1e69", "object": "Webhook", "mode": "test", "url": "http://example.com", - "created_at": "2022-10-17T17:18:24Z", + "created_at": "2024-01-19T21:42:28Z", "disabled_at": null } ] diff --git a/official/docs/responses/webhooks/webhooks-retrieve.json b/official/docs/responses/webhooks/webhooks-retrieve.json index 7632c586..daffc166 100644 --- a/official/docs/responses/webhooks/webhooks-retrieve.json +++ b/official/docs/responses/webhooks/webhooks-retrieve.json @@ -1,8 +1,8 @@ { - "id": "hook_b31925324e3f11ed849e19907419cbc9", + "id": "hook_a317b64cb71311eebfd9774bcdd1148b", "object": "Webhook", "mode": "test", "url": "http://example.com", - "created_at": "2022-10-17T17:18:21Z", + "created_at": "2024-01-19T21:42:26Z", "disabled_at": null } diff --git a/official/docs/responses/webhooks/webhooks-update.json b/official/docs/responses/webhooks/webhooks-update.json index ae0509ee..8b1a8718 100644 --- a/official/docs/responses/webhooks/webhooks-update.json +++ b/official/docs/responses/webhooks/webhooks-update.json @@ -1,8 +1,8 @@ { - "id": "hook_b57f220e4e3f11eda367633f63849ea5", + "id": "hook_a4b29896b71311eeb89d5393417d9862", "object": "Webhook", "mode": "test", "url": "http://example.com", - "created_at": "2022-10-17T17:18:25Z", + "created_at": "2024-01-19T21:42:29Z", "disabled_at": null } From 7f3600ff9d4e81f0f53465b4f21f475a755eb6c2 Mon Sep 17 00:00:00 2001 From: nwithan8 Date: Fri, 19 Jan 2024 17:02:17 -0700 Subject: [PATCH 2/8] - Linting --- .../referral-customers-refund-by-amount.json | 5 +---- .../referral-customers-refund-by-payment-log.json | 5 +---- official/docs/responses/scan-form/scan-form-create.json | 4 +--- official/docs/responses/scan-form/scan-form-list.json | 4 +--- official/docs/responses/scan-form/scan-form-retrieve.json | 4 +--- official/docs/responses/shipments/shipments-list.json | 4 +--- 6 files changed, 6 insertions(+), 20 deletions(-) diff --git a/official/docs/responses/referral-customers/referral-customers-refund-by-amount.json b/official/docs/responses/referral-customers/referral-customers-refund-by-amount.json index ba81253e..50dd7a69 100644 --- a/official/docs/responses/referral-customers/referral-customers-refund-by-amount.json +++ b/official/docs/responses/referral-customers/referral-customers-refund-by-amount.json @@ -1,9 +1,6 @@ { "refunded_amount": 2000, "payment_log_id": "paylog_...", - "refunded_payment_logs": [ - "paylog...", - "paylog..." - ], + "refunded_payment_logs": ["paylog...", "paylog..."], "errors": [] } diff --git a/official/docs/responses/referral-customers/referral-customers-refund-by-payment-log.json b/official/docs/responses/referral-customers/referral-customers-refund-by-payment-log.json index ba81253e..50dd7a69 100644 --- a/official/docs/responses/referral-customers/referral-customers-refund-by-payment-log.json +++ b/official/docs/responses/referral-customers/referral-customers-refund-by-payment-log.json @@ -1,9 +1,6 @@ { "refunded_amount": 2000, "payment_log_id": "paylog_...", - "refunded_payment_logs": [ - "paylog...", - "paylog..." - ], + "refunded_payment_logs": ["paylog...", "paylog..."], "errors": [] } diff --git a/official/docs/responses/scan-form/scan-form-create.json b/official/docs/responses/scan-form/scan-form-create.json index 2ec0071a..7e68bddb 100644 --- a/official/docs/responses/scan-form/scan-form-create.json +++ b/official/docs/responses/scan-form/scan-form-create.json @@ -3,9 +3,7 @@ "object": "ScanForm", "created_at": "2024-01-19T21:41:59Z", "updated_at": "2024-01-19T21:42:00Z", - "tracking_codes": [ - "9405500207552010707764" - ], + "tracking_codes": ["9405500207552010707764"], "address": { "id": "adr_9284d509b71311eea334ac1f6bc53342", "object": "Address", diff --git a/official/docs/responses/scan-form/scan-form-list.json b/official/docs/responses/scan-form/scan-form-list.json index f969ed46..0b897894 100644 --- a/official/docs/responses/scan-form/scan-form-list.json +++ b/official/docs/responses/scan-form/scan-form-list.json @@ -5,9 +5,7 @@ "object": "ScanForm", "created_at": "2024-01-19T21:42:01Z", "updated_at": "2024-01-19T21:42:02Z", - "tracking_codes": [ - "9405500207552010707771" - ], + "tracking_codes": ["9405500207552010707771"], "address": { "id": "adr_939e948eb71311eeb35fac1f6bc539aa", "object": "Address", diff --git a/official/docs/responses/scan-form/scan-form-retrieve.json b/official/docs/responses/scan-form/scan-form-retrieve.json index c2618ccb..bff5dd29 100644 --- a/official/docs/responses/scan-form/scan-form-retrieve.json +++ b/official/docs/responses/scan-form/scan-form-retrieve.json @@ -3,9 +3,7 @@ "object": "ScanForm", "created_at": "2024-01-19T21:42:01Z", "updated_at": "2024-01-19T21:42:02Z", - "tracking_codes": [ - "9405500207552010707771" - ], + "tracking_codes": ["9405500207552010707771"], "address": { "id": "adr_939e948eb71311eeb35fac1f6bc539aa", "object": "Address", diff --git a/official/docs/responses/shipments/shipments-list.json b/official/docs/responses/shipments/shipments-list.json index d83650dd..85da3033 100644 --- a/official/docs/responses/shipments/shipments-list.json +++ b/official/docs/responses/shipments/shipments-list.json @@ -227,9 +227,7 @@ "object": "ScanForm", "created_at": "2024-01-19T21:42:01Z", "updated_at": "2024-01-19T21:42:02Z", - "tracking_codes": [ - "9405500207552010707771" - ], + "tracking_codes": ["9405500207552010707771"], "address": { "id": "adr_939e948eb71311eeb35fac1f6bc539aa", "object": "Address", From 455a82271b8381d87c67360ba5f49bb8adc835df Mon Sep 17 00:00:00 2001 From: nwithan8 Date: Tue, 23 Jan 2024 16:45:20 -0700 Subject: [PATCH 3/8] - Add JSON response generation tool - gitignore auto-generated response files to avoid bloat --- .gitignore | 1 + .../tools/build_doc_json_responses/Makefile | 57 + .../tools/build_doc_json_responses/README.md | 25 + .../builder/__init__.py | 0 .../builder/snippets.py | 169 + .../tools/build_doc_json_responses/setup.py | 45 + .../tests/__init__.py | 0 .../cassettes/test_addresses_create.yaml | 756 +++ .../test_addresses_create_and_verify.yaml | 774 +++ .../tests/cassettes/test_addresses_list.yaml | 674 +++ .../cassettes/test_addresses_retrieve.yaml | 1426 +++++ .../cassettes/test_addresses_verify.yaml | 1464 ++++++ .../test_addresses_verify_failure.yaml | 816 +++ .../test_addresses_verify_param.yaml | 778 +++ .../test_addresses_verify_strict_param.yaml | 774 +++ .../cassettes/test_api_keys_retrieve.yaml | 1572 ++++++ .../cassettes/test_batches_add_shipments.yaml | 3298 ++++++++++++ .../tests/cassettes/test_batches_buy.yaml | 1532 ++++++ .../tests/cassettes/test_batches_create.yaml | 818 +++ .../tests/cassettes/test_batches_label.yaml | 448 ++ .../tests/cassettes/test_batches_list.yaml | 694 +++ .../test_batches_remove_shipments.yaml | 4002 ++++++++++++++ .../cassettes/test_batches_retrieve.yaml | 1485 ++++++ .../cassettes/test_batches_scan_forms.yaml | 453 ++ .../tests/cassettes/test_brand_update.yaml | 1554 ++++++ .../test_carrier_accounts_create.yaml | 1465 ++++++ .../test_carrier_accounts_delete.yaml | 1222 +++++ .../cassettes/test_carrier_accounts_list.yaml | 1829 +++++++ .../test_carrier_accounts_retrieve.yaml | 2107 ++++++++ .../test_carrier_accounts_update.yaml | 1987 +++++++ .../test_carrier_metadata_retrieve.yaml | 127 + .../cassettes/test_carrier_types_list.yaml | 4614 +++++++++++++++++ .../cassettes/test_child_users_create.yaml | 662 +++ .../cassettes/test_child_users_delete.yaml | 778 +++ .../cassettes/test_child_users_list.yaml | 449 ++ .../cassettes/test_customs_infos_create.yaml | 652 +++ .../test_customs_infos_retrieve.yaml | 1222 +++++ .../cassettes/test_customs_items_create.yaml | 600 +++ .../test_customs_items_retrieve.yaml | 1126 ++++ .../tests/cassettes/test_endshipper_buy.yaml | 3440 ++++++++++++ .../cassettes/test_endshipper_create.yaml | 580 +++ .../tests/cassettes/test_endshipper_list.yaml | 530 ++ .../cassettes/test_endshipper_retrieve.yaml | 1106 ++++ .../cassettes/test_endshipper_update.yaml | 1154 +++++ .../tests/cassettes/test_events_list.yaml | 518 ++ .../tests/cassettes/test_events_retrieve.yaml | 1036 ++++ .../tests/cassettes/test_forms_create.yaml | 3060 +++++++++++ .../cassettes/test_insurance_create.yaml | 870 ++++ .../tests/cassettes/test_insurance_list.yaml | 782 +++ .../cassettes/test_insurance_retrieve.yaml | 1550 ++++++ .../test_options_create_with_options.yaml | 1380 +++++ .../tests/cassettes/test_orders_buy.yaml | 3804 ++++++++++++++ .../tests/cassettes/test_orders_create.yaml | 1388 +++++ .../cassettes/test_orders_one_call_buy.yaml | 1674 ++++++ .../tests/cassettes/test_orders_retrieve.yaml | 3510 +++++++++++++ .../test_pagination_get_next_page.yaml | 818 +++ .../tests/cassettes/test_parcels_create.yaml | 503 ++ .../cassettes/test_parcels_retrieve.yaml | 951 ++++ .../tests/cassettes/test_pickups_buy.yaml | 2470 +++++++++ .../tests/cassettes/test_pickups_cancel.yaml | 3032 +++++++++++ .../tests/cassettes/test_pickups_create.yaml | 1908 +++++++ .../tests/cassettes/test_pickups_list.yaml | 79 + .../cassettes/test_pickups_retrieve.yaml | 2444 +++++++++ .../cassettes/test_rates_regenerate.yaml | 1887 +++++++ .../tests/cassettes/test_rates_retrieve.yaml | 1663 ++++++ .../test_rates_retrieve_stateless.yaml | 124 + .../test_referral_customers_create.yaml | 529 ++ .../test_referral_customers_list.yaml | 478 ++ .../test_referral_customers_update.yaml | 1380 +++++ .../tests/cassettes/test_refunds_create.yaml | 3079 +++++++++++ .../tests/cassettes/test_refunds_list.yaml | 459 ++ .../cassettes/test_refunds_retrieve.yaml | 913 ++++ .../tests/cassettes/test_reports_create.yaml | 478 ++ .../tests/cassettes/test_reports_list.yaml | 459 ++ .../cassettes/test_reports_retrieve.yaml | 930 ++++ .../tests/cassettes/test_returns_create.yaml | 2001 +++++++ .../cassettes/test_scan_form_create.yaml | 1851 +++++++ .../tests/cassettes/test_scan_form_list.yaml | 506 ++ .../cassettes/test_scan_form_retrieve.yaml | 2353 +++++++++ .../tests/cassettes/test_shipments_buy.yaml | 2512 +++++++++ .../cassettes/test_shipments_create.yaml | 1196 +++++ .../tests/cassettes/test_shipments_label.yaml | 3678 +++++++++++++ .../tests/cassettes/test_shipments_list.yaml | 1374 +++++ .../test_shipments_one_call_buy.yaml | 1313 +++++ .../cassettes/test_shipments_refund.yaml | 2256 ++++++++ .../cassettes/test_shipments_retrieve.yaml | 2276 ++++++++ .../test_shipping_insurance_insure.yaml | 2266 ++++++++ ...ipping_refund_shipments_refund_refund.yaml | 379 ++ ...hipping_refund_shipping_refund_refund.yaml | 377 ++ ...rate_retrieve_estimated_delivery_date.yaml | 282 + ...e_retrieve_time_in_transit_statistics.yaml | 1440 +++++ .../test_tax_identifiers_create.yaml | 1048 ++++ .../tests/cassettes/test_trackers_create.yaml | 524 ++ .../tests/cassettes/test_trackers_list.yaml | 496 ++ .../cassettes/test_trackers_retrieve.yaml | 988 ++++ .../tests/cassettes/test_users_retrieve.yaml | 517 ++ .../tests/cassettes/test_users_update.yaml | 1052 ++++ .../tests/cassettes/test_webhooks_create.yaml | 790 +++ .../tests/cassettes/test_webhooks_delete.yaml | 788 +++ .../tests/cassettes/test_webhooks_list.yaml | 1166 +++++ .../cassettes/test_webhooks_retrieve.yaml | 1164 +++++ .../tests/cassettes/test_webhooks_update.yaml | 1190 +++++ .../tests/conftest.py | 275 + .../tests/test_address.py | 68 + .../tests/test_api_keys.py | 68 + .../tests/test_batch.py | 87 + .../tests/test_billing.py | 72 + .../tests/test_brand.py | 11 + .../tests/test_carrier_account.py | 49 + .../tests/test_carrier_metadata.py | 13 + .../tests/test_carrier_types.py | 10 + .../tests/test_customs_info.py | 18 + .../tests/test_customs_item.py | 18 + .../tests/test_end_shipper.py | 54 + .../tests/test_event.py | 20 + .../tests/test_form.py | 16 + .../tests/test_insurance.py | 25 + .../tests/test_options.py | 11 + .../tests/test_order.py | 40 + .../tests/test_pagination.py | 14 + .../tests/test_parcel.py | 18 + .../tests/test_payload.py | 96 + .../tests/test_pickup.py | 61 + .../tests/test_rate.py | 27 + .../tests/test_referral_customer.py | 96 + .../tests/test_refund.py | 31 + .../tests/test_report.py | 34 + .../tests/test_returns.py | 11 + .../tests/test_scan_form.py | 27 + .../tests/test_shipment.py | 49 + .../tests/test_shipping_insurance.py | 18 + .../tests/test_shipping_refund.py | 27 + .../tests/test_smartrate.py | 21 + .../tests/test_tax_identifiers.py | 12 + .../tests/test_tracker.py | 25 + .../tests/test_user.py | 44 + .../tests/test_webhook.py | 53 + 137 files changed, 130723 insertions(+) create mode 100644 official/tools/build_doc_json_responses/Makefile create mode 100644 official/tools/build_doc_json_responses/README.md create mode 100644 official/tools/build_doc_json_responses/builder/__init__.py create mode 100644 official/tools/build_doc_json_responses/builder/snippets.py create mode 100644 official/tools/build_doc_json_responses/setup.py create mode 100644 official/tools/build_doc_json_responses/tests/__init__.py create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_addresses_create.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_addresses_create_and_verify.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_addresses_list.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_addresses_retrieve.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_addresses_verify.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_addresses_verify_failure.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_addresses_verify_param.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_addresses_verify_strict_param.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_api_keys_retrieve.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_batches_add_shipments.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_batches_buy.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_batches_create.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_batches_label.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_batches_list.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_batches_remove_shipments.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_batches_retrieve.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_batches_scan_forms.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_brand_update.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_carrier_accounts_create.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_carrier_accounts_delete.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_carrier_accounts_list.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_carrier_accounts_retrieve.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_carrier_accounts_update.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_carrier_metadata_retrieve.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_carrier_types_list.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_child_users_create.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_child_users_delete.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_child_users_list.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_customs_infos_create.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_customs_infos_retrieve.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_customs_items_create.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_customs_items_retrieve.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_endshipper_buy.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_endshipper_create.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_endshipper_list.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_endshipper_retrieve.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_endshipper_update.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_events_list.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_events_retrieve.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_forms_create.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_insurance_create.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_insurance_list.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_insurance_retrieve.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_options_create_with_options.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_orders_buy.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_orders_create.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_orders_one_call_buy.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_orders_retrieve.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_pagination_get_next_page.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_parcels_create.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_parcels_retrieve.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_pickups_buy.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_pickups_cancel.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_pickups_create.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_pickups_list.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_pickups_retrieve.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_rates_regenerate.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_rates_retrieve.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_rates_retrieve_stateless.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_referral_customers_create.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_referral_customers_list.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_referral_customers_update.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_refunds_create.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_refunds_list.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_refunds_retrieve.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_reports_create.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_reports_list.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_reports_retrieve.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_returns_create.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_scan_form_create.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_scan_form_list.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_scan_form_retrieve.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_shipments_buy.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_shipments_create.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_shipments_label.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_shipments_list.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_shipments_one_call_buy.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_shipments_refund.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_shipments_retrieve.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_shipping_insurance_insure.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_shipping_refund_shipments_refund_refund.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_shipping_refund_shipping_refund_refund.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_smartrate_retrieve_estimated_delivery_date.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_smartrate_retrieve_time_in_transit_statistics.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_tax_identifiers_create.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_trackers_create.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_trackers_list.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_trackers_retrieve.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_users_retrieve.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_users_update.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_webhooks_create.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_webhooks_delete.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_webhooks_list.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_webhooks_retrieve.yaml create mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_webhooks_update.yaml create mode 100644 official/tools/build_doc_json_responses/tests/conftest.py create mode 100644 official/tools/build_doc_json_responses/tests/test_address.py create mode 100644 official/tools/build_doc_json_responses/tests/test_api_keys.py create mode 100644 official/tools/build_doc_json_responses/tests/test_batch.py create mode 100644 official/tools/build_doc_json_responses/tests/test_billing.py create mode 100644 official/tools/build_doc_json_responses/tests/test_brand.py create mode 100644 official/tools/build_doc_json_responses/tests/test_carrier_account.py create mode 100644 official/tools/build_doc_json_responses/tests/test_carrier_metadata.py create mode 100644 official/tools/build_doc_json_responses/tests/test_carrier_types.py create mode 100644 official/tools/build_doc_json_responses/tests/test_customs_info.py create mode 100644 official/tools/build_doc_json_responses/tests/test_customs_item.py create mode 100644 official/tools/build_doc_json_responses/tests/test_end_shipper.py create mode 100644 official/tools/build_doc_json_responses/tests/test_event.py create mode 100644 official/tools/build_doc_json_responses/tests/test_form.py create mode 100644 official/tools/build_doc_json_responses/tests/test_insurance.py create mode 100644 official/tools/build_doc_json_responses/tests/test_options.py create mode 100644 official/tools/build_doc_json_responses/tests/test_order.py create mode 100644 official/tools/build_doc_json_responses/tests/test_pagination.py create mode 100644 official/tools/build_doc_json_responses/tests/test_parcel.py create mode 100644 official/tools/build_doc_json_responses/tests/test_payload.py create mode 100644 official/tools/build_doc_json_responses/tests/test_pickup.py create mode 100644 official/tools/build_doc_json_responses/tests/test_rate.py create mode 100644 official/tools/build_doc_json_responses/tests/test_referral_customer.py create mode 100644 official/tools/build_doc_json_responses/tests/test_refund.py create mode 100644 official/tools/build_doc_json_responses/tests/test_report.py create mode 100644 official/tools/build_doc_json_responses/tests/test_returns.py create mode 100644 official/tools/build_doc_json_responses/tests/test_scan_form.py create mode 100644 official/tools/build_doc_json_responses/tests/test_shipment.py create mode 100644 official/tools/build_doc_json_responses/tests/test_shipping_insurance.py create mode 100644 official/tools/build_doc_json_responses/tests/test_shipping_refund.py create mode 100644 official/tools/build_doc_json_responses/tests/test_smartrate.py create mode 100644 official/tools/build_doc_json_responses/tests/test_tax_identifiers.py create mode 100644 official/tools/build_doc_json_responses/tests/test_tracker.py create mode 100644 official/tools/build_doc_json_responses/tests/test_user.py create mode 100644 official/tools/build_doc_json_responses/tests/test_webhook.py diff --git a/.gitignore b/.gitignore index 3344581a..0e669c72 100644 --- a/.gitignore +++ b/.gitignore @@ -26,3 +26,4 @@ venv /.dummy /.eslintignore *.sw* +/official/tools/build_doc_json_responses/responses/ diff --git a/official/tools/build_doc_json_responses/Makefile b/official/tools/build_doc_json_responses/Makefile new file mode 100644 index 00000000..92ce6031 --- /dev/null +++ b/official/tools/build_doc_json_responses/Makefile @@ -0,0 +1,57 @@ +PYTHON_BINARY := python3 +VIRTUAL_ENV := venv +VIRTUAL_BIN := $(VIRTUAL_ENV)/bin +PROJECT_NAME := easypost_responses +TEST_DIR := tests + +## help - Display help about make targets for this Makefile +help: + @cat Makefile | grep '^## ' --color=never | cut -c4- | sed -e "`printf 's/ - /\t- /;'`" | column -s "`printf '\t'`" -t + +## build - Builds the project in preparation for release +build: + $(VIRTUAL_BIN)/python setup.py sdist bdist_wheel + +## clean - Remove the virtual environment and clear out .pyc files +clean: + rm -rf $(VIRTUAL_ENV) dist/ build/ *.egg-info/ .pytest_cache .mypy_cache + find . -name '*.pyc' -delete + +## black - Runs the Black Python formatter against the project +black: + $(VIRTUAL_BIN)/black $(PROJECT_NAME)/ $(TEST_DIR)/ + +## black-check - Checks if the project is formatted correctly against the Black rules +black-check: + $(VIRTUAL_BIN)/black $(PROJECT_NAME)/ $(TEST_DIR)/ --check + +## format - Runs all formatting tools against the project +format: black isort + +## format-check - Checks if the project is formatted correctly against all formatting rules +format-check: black-check isort-check lint mypy + +## install - Install the project locally +install: + $(PYTHON_BINARY) -m venv $(VIRTUAL_ENV) + $(VIRTUAL_BIN)/pip install -e ."[dev]" + git submodule init + git submodule update + +## isort - Sorts imports throughout the project +isort: + $(VIRTUAL_BIN)/isort $(PROJECT_NAME)/ $(TEST_DIR)/ + +## isort-check - Checks that imports throughout the project are sorted correctly +isort-check: + $(VIRTUAL_BIN)/isort $(PROJECT_NAME)/ $(TEST_DIR)/ --check-only + +## lint - Lint the project +lint: + $(VIRTUAL_BIN)/flake8 $(PROJECT_NAME)/ $(TEST_DIR)/ + +## generate - Generate the JSON response bodies +generate: + $(VIRTUAL_BIN)/pytest + +.PHONY: help build clean black black-check format format-check install isort isort-check lint generate diff --git a/official/tools/build_doc_json_responses/README.md b/official/tools/build_doc_json_responses/README.md new file mode 100644 index 00000000..d237779f --- /dev/null +++ b/official/tools/build_doc_json_responses/README.md @@ -0,0 +1,25 @@ +# Response Generation Tooling + +This tool regenerates the response snippets that accompany the example snippets on the EasyPost Docs page. + +The tool is set up as a "test suite" that will record the requests and responses via `pyvcr` and load the YAML to extract the response content to save as a standalone file. Whenever new responses are needed, simply re-run the tool and each response will be regenerated. + +NOTE: The test names are VERY important and must match up with the expected plural object and action name so that when generated, we can drop them into the website without manual intervention. + +## Usage + +You'll need to run the `make generate` command twice - it will fail the first time through. The first time will record the cassette, the second time it will save the standalone files. This is necessary because `vcrpy` doesn't save the file until the test function closes, though we call the standalone function inside the test function to capture the test name. + +```bash +# Run the following to save recordings to standalone files +EASYPOST_TEST_API_KEY=putrealkeyhere EASYPOST_PROD_API_KEY=putrealkeyhere PARTNER_USER_PROD_API_KEY=putrealkeyhere REFERRAL_CUSTOMER_PROD_API_KEY=putrealkeyhere make generate + +# Run the following to overwrite previous interactions +EASYPOST_TEST_API_KEY=putrealkeyhere EASYPOST_PROD_API_KEY=putrealkeyhere PARTNER_USER_PROD_API_KEY=putrealkeyhere REFERRAL_CUSTOMER_PROD_API_KEY=putrealkeyhere OVERWRITE=true make generate +``` + +**NOTE**: Some static data used by this tool, such as the USPS carrier account ID, is associated with the EasyPost Docs Tooling User. You must use that user's API keys to generate these snippets. + +Generate response snippets are stored in the `responses` directory. Copy this entire directory to `official/docs/responses` once complete. + +**NOTE**: The `responses` directory structure is exactly as expected by the docs website and other downstream projects -- do not alter it. diff --git a/official/tools/build_doc_json_responses/builder/__init__.py b/official/tools/build_doc_json_responses/builder/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/official/tools/build_doc_json_responses/builder/snippets.py b/official/tools/build_doc_json_responses/builder/snippets.py new file mode 100644 index 00000000..87c33aaf --- /dev/null +++ b/official/tools/build_doc_json_responses/builder/snippets.py @@ -0,0 +1,169 @@ +import json +import os +from typing import ( + Any, + Dict, + Optional, + Tuple, +) + +import yaml + + +ALL_RESOURCES = { + "addresses", + "api-keys", + "batches", + "billing", + "brand", + "carbon-offset", + "carrier-accounts", + "carrier-types", + "child-users", + "customs-infos", + "customs-items", + "endshipper", + "events", + "insurance", + "options", + "orders", + "parcels", + "pickups", + "rates", + "referral-customers", + "refunds", + "reports", + "returns", + "scan-form", + "shipments", + "shipping-insurance", + "smartrate", + "tax-identifiers", + "trackers", + "users", + "webhooks", +} + + +def build_response_snippet( + interaction_index: Optional[int] = 0, objects_to_persist: Optional[int] = None +): + """Builds the response snippet from a recorded VCR interaction.""" + create_dir("responses") + + test_name = os.environ.get("PYTEST_CURRENT_TEST").split(":")[-1].split(" ")[0] + cassette_filename = f"{test_name}.yaml" + + cassette_content = extract_response_from_cassette( + cassette_filename, interaction_index + ) + + response_snippet_folder, bare_snippet_name = save_response_snippet( + cassette_filename, cassette_content, objects_to_persist + ) + + # Assert the standalone snippet actually got saved, fail if not + assert os.path.exists( + os.path.join("responses", response_snippet_folder, bare_snippet_name) + ), f"{bare_snippet_name} standalone snippet file missing!" + + +def create_dir(dir_name: str): + """Creates a directory if it does not exist yet.""" + if not os.path.exists(dir_name): + os.mkdir(dir_name) + + +def extract_response_from_cassette( + cassette_filename: str, interaction_index: Optional[int] = 0 +) -> Any: + """Opens a single cassette file and extracts the response content.""" + cassette_file = os.path.join("tests", "cassettes", cassette_filename) + if not os.path.exists(cassette_file): + raise FileNotFoundError(f"{cassette_filename} not found in time, run the tests again.") + + with open(cassette_file, "r") as cassette: + try: + cassette_data = yaml.safe_load(cassette) + for key, _ in cassette_data.items(): + if key == "interactions": + response_content = cassette_data[key][interaction_index][ + "response" + ]["body"]["string"] + response = response_content if response_content else "{}" + except yaml.YAMLError: + raise + + return response + + +def _setup_saving_response_snippet(response_snippet_filename: str): + """Reusable helper to setup the logic to save a standalone response snippet.""" + + bare_snippet_name = response_snippet_filename.replace("test_", "").replace( + ".yaml", ".json" + ) + split_resource_name = bare_snippet_name.split("_") + first_resource_name = split_resource_name[0] + second_resource_name = split_resource_name[1] + first_and_second_resource_name = f"{first_resource_name}-{second_resource_name}" + resource_name = ( + first_resource_name + if first_and_second_resource_name not in ALL_RESOURCES + else first_and_second_resource_name + ) + + # Setup the names like the website wants it + response_snippet_folder = resource_name.replace("_", "-") + bare_snippet_name = bare_snippet_name.replace("_", "-") + + create_dir(os.path.join("responses", response_snippet_folder)) + + return response_snippet_folder, bare_snippet_name + + +def save_response_snippet( + response_snippet_filename: str, + response_snippet_content: Any, + objects_to_persist: Optional[int] = None, +) -> Tuple[str, str]: + """Saves the response content of a cassette to a standalone snippet file.""" + response_snippet_folder, bare_snippet_name = _setup_saving_response_snippet( + response_snippet_filename + ) + + with open( + os.path.join("responses", response_snippet_folder, bare_snippet_name), "w" + ) as response_snippet_file: + if objects_to_persist: + json.dump( + json.loads(response_snippet_content)[:objects_to_persist], + response_snippet_file, + indent=2, + ) + else: + json.dump( + json.loads(response_snippet_content), response_snippet_file, indent=2 + ) + + response_snippet_file.write("\n") + + return response_snippet_folder, bare_snippet_name + + +def save_raw_json(response_snippet_filename: str, response_dict: Dict[str, Any]): + """Saves a raw response dictionary to a standalone snippet file (used for hard-coded responses + that cannot easily be plugged into a test suite (eg: Billing functions). + """ + response_snippet_folder, bare_snippet_name = _setup_saving_response_snippet( + response_snippet_filename + ) + + bare_snippet_name = f"{bare_snippet_name}.json" + + with open( + os.path.join("responses", response_snippet_folder, bare_snippet_name), "w" + ) as response_snippet_file: + json.dump(response_dict, response_snippet_file, indent=2) + + response_snippet_file.write("\n") diff --git a/official/tools/build_doc_json_responses/setup.py b/official/tools/build_doc_json_responses/setup.py new file mode 100644 index 00000000..c3af9ee3 --- /dev/null +++ b/official/tools/build_doc_json_responses/setup.py @@ -0,0 +1,45 @@ +from setuptools import ( + find_packages, + setup, +) + + +REQUIREMENTS = [ + "easypost==9.*", + "python-dotenv", +] + +DEV_REQUIREMENTS = [ + "black==22.*", + "flake8==5.*", + "isort==5.*", + "pytest-vcr==1.*", + "pytest==7.*", + "vcrpy==4.*", +] + +with open("README.md", encoding="utf-8") as f: + long_description = f.read() + +setup( + name="easypost_responses", + version="0.1.0", + description="", + author="EasyPost", + author_email="support@easypost.com", + url="https://easypost.com/", + packages=find_packages( + exclude=[ + "examples", + "tests", + ] + ), + install_requires=REQUIREMENTS, + extras_require={ + "dev": DEV_REQUIREMENTS, + }, + test_suite="test", + long_description=long_description, + long_description_content_type="text/markdown", + python_requires=">=3.6, <4", +) diff --git a/official/tools/build_doc_json_responses/tests/__init__.py b/official/tools/build_doc_json_responses/tests/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_addresses_create.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_addresses_create.yaml new file mode 100644 index 00000000..a9b345ed --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_addresses_create.yaml @@ -0,0 +1,756 @@ +interactions: +- request: + body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": + "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": + "EasyPost", "phone": "415-123-4567"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '188' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses + response: + body: + string: '{"id": "adr_3d3815d8b71311ee83453cecef1b359e", "object": "Address", + "created_at": "2024-01-19T21:39:35+00:00", "updated_at": "2024-01-19T21:39:35+00:00", + "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": + "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": + "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": + {}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '446' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_3d3815d8b71311ee83453cecef1b359e + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaec17e78b9ac1000ca695 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.034779' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": + "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": + "EasyPost", "phone": "415-123-4567"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '188' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses + response: + body: + string: '{"id": "adr_b460ec25b71311eeb02bac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:42:55+00:00", "updated_at": "2024-01-19T21:42:55+00:00", + "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": + "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": + "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": + {}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '446' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_b460ec25b71311eeb02bac1f6bc539ae + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaecdfe78b9fef000d2439 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.061239' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": + "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": + "EasyPost", "phone": "415-123-4567"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '188' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses + response: + body: + string: '{"id": "adr_3d105a66b71411ee9e33ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:46:44+00:00", "updated_at": "2024-01-19T21:46:44+00:00", + "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": + "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": + "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": + {}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '446' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_3d105a66b71411ee9e33ac1f6bc539ae + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda765aaedc4e78ba872001117a3 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.034451' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": + "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": + "EasyPost", "phone": "415-123-4567"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '188' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses + response: + body: + string: '{"id": "adr_7fa5c3dab71411eeafaf3cecef1b359e", "object": "Address", + "created_at": "2024-01-19T21:48:36+00:00", "updated_at": "2024-01-19T21:48:36+00:00", + "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": + "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": + "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": + {}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '446' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_7fa5c3dab71411eeafaf3cecef1b359e + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdab65aaee34e78bb0af00115c4d + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.032477' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": + "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": + "EasyPost", "phone": "415-123-4567"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '188' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses + response: + body: + string: '{"id": "adr_c1d1277eb71511eeae70ac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T21:57:36+00:00", "updated_at": "2024-01-19T21:57:36+00:00", + "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": + "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": + "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": + {}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '446' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_c1d1277eb71511eeae70ac1f6bc539aa + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaf050e798bb39000f54e5 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.039344' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": + "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": + "EasyPost", "phone": "415-123-4567"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '188' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses + response: + body: + string: '{"id": "adr_3527374ab71611ee81deac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T22:00:50+00:00", "updated_at": "2024-01-19T22:00:50+00:00", + "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": + "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": + "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": + {}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '446' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_3527374ab71611ee81deac1f6bc53342 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaf112e798c39c000fe058 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.036336' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": + "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": + "EasyPost", "phone": "415-123-4567"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '188' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses + response: + body: + string: '{"id": "adr_7e682837b71611ee96c63cecef1b359e", "object": "Address", + "created_at": "2024-01-19T22:02:53+00:00", "updated_at": "2024-01-19T22:02:53+00:00", + "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": + "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": + "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": + {}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '446' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_7e682837b71611ee96c63cecef1b359e + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaf18de798c8e600104e36 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.036056' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": + "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": + "EasyPost", "phone": "415-123-4567"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '188' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses + response: + body: + string: '{"id": "adr_8c19c223b71611eeae59ac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T22:03:16+00:00", "updated_at": "2024-01-19T22:03:16+00:00", + "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": + "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": + "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": + {}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '446' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_8c19c223b71611eeae59ac1f6bc539aa + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf1a4e798cc5f00106007 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.039499' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": + "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": + "EasyPost", "phone": "415-123-4567"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '188' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses + response: + body: + string: '{"id": "adr_f23868b7b71611ee82b0ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T22:06:07+00:00", "updated_at": "2024-01-19T22:06:07+00:00", + "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": + "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": + "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": + {}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '446' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_f23868b7b71611ee82b0ac1f6bc539ae + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaf24fe798d1410010d6fc + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.036743' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": + "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": + "EasyPost", "phone": "415-123-4567"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '188' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses + response: + body: + string: '{"id": "adr_cf0c4972b72311ee90f7ac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T23:38:12+00:00", "updated_at": "2024-01-19T23:38:12+00:00", + "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": + "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": + "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": + {}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '446' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_cf0c4972b72311ee90f7ac1f6bc539aa + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165ab07e3e799e523001d7111 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.051647' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_addresses_create_and_verify.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_addresses_create_and_verify.yaml new file mode 100644 index 00000000..809b36f9 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_addresses_create_and_verify.yaml @@ -0,0 +1,774 @@ +interactions: +- request: + body: '{"address": {"street1": "417 Montgomery Street", "street2": "FL 5", "city": + "San Francisco", "state": "CA", "zip": "94104", "country": "US", "company": + "EasyPost", "phone": "415-123-4567"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '189' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses/create_and_verify + response: + body: + string: '{"address": {"id": "adr_3d733da6b71311ee835b3cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:39:35+00:00", "updated_at": "2024-01-19T21:39:35+00:00", + "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", + "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": false, "federal_tax_id": null, "state_tax_id": null, + "verifications": {"zip4": {"success": true, "errors": [], "details": null}, + "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, + "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_3d733da6b71311ee835b3cecef1b359e + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaec17e78b9ac2000ca6d6 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.055179' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"address": {"street1": "417 Montgomery Street", "street2": "FL 5", "city": + "San Francisco", "state": "CA", "zip": "94104", "country": "US", "company": + "EasyPost", "phone": "415-123-4567"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '189' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses/create_and_verify + response: + body: + string: '{"address": {"id": "adr_b4955d59b71311eeafa8ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:42:55+00:00", "updated_at": "2024-01-19T21:42:55+00:00", + "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", + "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": false, "federal_tax_id": null, "state_tax_id": null, + "verifications": {"zip4": {"success": true, "errors": [], "details": null}, + "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, + "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_b4955d59b71311eeafa8ac1f6bc53342 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaecdfe78b9ff0000d246a + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.049822' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"address": {"street1": "417 Montgomery Street", "street2": "FL 5", "city": + "San Francisco", "state": "CA", "zip": "94104", "country": "US", "company": + "EasyPost", "phone": "415-123-4567"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '189' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses/create_and_verify + response: + body: + string: '{"address": {"id": "adr_3d431a43b71411ee9b483cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:46:45+00:00", "updated_at": "2024-01-19T21:46:45+00:00", + "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", + "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": false, "federal_tax_id": null, "state_tax_id": null, + "verifications": {"zip4": {"success": true, "errors": [], "details": null}, + "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, + "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_3d431a43b71411ee9b483cecef1b359e + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda765aaedc4e78bab81001117c5 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.065598' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"address": {"street1": "417 Montgomery Street", "street2": "FL 5", "city": + "San Francisco", "state": "CA", "zip": "94104", "country": "US", "company": + "EasyPost", "phone": "415-123-4567"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '189' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses/create_and_verify + response: + body: + string: '{"address": {"id": "adr_7fd89323b71411ee814bac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:48:36+00:00", "updated_at": "2024-01-19T21:48:36+00:00", + "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", + "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": false, "federal_tax_id": null, "state_tax_id": null, + "verifications": {"zip4": {"success": true, "errors": [], "details": null}, + "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, + "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_7fd89323b71411ee814bac1f6bc539aa + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdab65aaee34e78bb0b000115c8c + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.052539' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"address": {"street1": "417 Montgomery Street", "street2": "FL 5", "city": + "San Francisco", "state": "CA", "zip": "94104", "country": "US", "company": + "EasyPost", "phone": "415-123-4567"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '189' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses/create_and_verify + response: + body: + string: '{"address": {"id": "adr_c204d30ab71511ee9da2ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:57:37+00:00", "updated_at": "2024-01-19T21:57:37+00:00", + "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", + "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": false, "federal_tax_id": null, "state_tax_id": null, + "verifications": {"zip4": {"success": true, "errors": [], "details": null}, + "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, + "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_c204d30ab71511ee9da2ac1f6bc53342 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf051e798bb3a000f5513 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.072317' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"address": {"street1": "417 Montgomery Street", "street2": "FL 5", "city": + "San Francisco", "state": "CA", "zip": "94104", "country": "US", "company": + "EasyPost", "phone": "415-123-4567"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '189' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses/create_and_verify + response: + body: + string: '{"address": {"id": "adr_355c107fb71611ee91e6ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T22:00:50+00:00", "updated_at": "2024-01-19T22:00:50+00:00", + "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", + "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": false, "federal_tax_id": null, "state_tax_id": null, + "verifications": {"zip4": {"success": true, "errors": [], "details": null}, + "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, + "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_355c107fb71611ee91e6ac1f6bc539aa + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf112e798c39d000fe0ad + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.057311' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"address": {"street1": "417 Montgomery Street", "street2": "FL 5", "city": + "San Francisco", "state": "CA", "zip": "94104", "country": "US", "company": + "EasyPost", "phone": "415-123-4567"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '189' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses/create_and_verify + response: + body: + string: '{"address": {"id": "adr_7e9e0f27b71611ee96d93cecef1b359e", "object": + "Address", "created_at": "2024-01-19T22:02:53+00:00", "updated_at": "2024-01-19T22:02:53+00:00", + "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", + "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": false, "federal_tax_id": null, "state_tax_id": null, + "verifications": {"zip4": {"success": true, "errors": [], "details": null}, + "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, + "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_7e9e0f27b71611ee96d93cecef1b359e + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf18de798c8e700104e77 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.060177' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"address": {"street1": "417 Montgomery Street", "street2": "FL 5", "city": + "San Francisco", "state": "CA", "zip": "94104", "country": "US", "company": + "EasyPost", "phone": "415-123-4567"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '189' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses/create_and_verify + response: + body: + string: '{"address": {"id": "adr_8c504237b71611eea03aac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T22:03:16+00:00", "updated_at": "2024-01-19T22:03:16+00:00", + "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", + "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": false, "federal_tax_id": null, "state_tax_id": null, + "verifications": {"zip4": {"success": true, "errors": [], "details": null}, + "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, + "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_8c504237b71611eea03aac1f6bc539ae + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaf1a4e798cc6000106055 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.059934' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"address": {"street1": "417 Montgomery Street", "street2": "FL 5", "city": + "San Francisco", "state": "CA", "zip": "94104", "country": "US", "company": + "EasyPost", "phone": "415-123-4567"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '189' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses/create_and_verify + response: + body: + string: '{"address": {"id": "adr_f28b6861b71611ee82c5ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T22:06:08+00:00", "updated_at": "2024-01-19T22:06:08+00:00", + "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", + "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": false, "federal_tax_id": null, "state_tax_id": null, + "verifications": {"zip4": {"success": true, "errors": [], "details": null}, + "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, + "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_f28b6861b71611ee82c5ac1f6bc539ae + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf250e798d1420010d73f + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.065639' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"address": {"street1": "417 Montgomery Street", "street2": "FL 5", "city": + "San Francisco", "state": "CA", "zip": "94104", "country": "US", "company": + "EasyPost", "phone": "415-123-4567"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '189' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses/create_and_verify + response: + body: + string: '{"address": {"id": "adr_cf45d71cb72311ee8665ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T23:38:12+00:00", "updated_at": "2024-01-19T23:38:12+00:00", + "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", + "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": false, "federal_tax_id": null, "state_tax_id": null, + "verifications": {"zip4": {"success": true, "errors": [], "details": null}, + "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, + "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_cf45d71cb72311ee8665ac1f6bc539ae + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765ab07e4e799e524001d7142 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.059896' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_addresses_list.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_addresses_list.yaml new file mode 100644 index 00000000..b2613d2f --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_addresses_list.yaml @@ -0,0 +1,674 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/addresses?page_size=1 + response: + body: + string: '{"addresses": [{"id": "adr_3e80b02eb71311ee83bf3cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:39:37+00:00", "updated_at": "2024-01-19T21:39:37+00:00", + "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": + "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": + "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": + {}}], "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '478' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaec1ae78b9ae1000ca83d + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.033327' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/addresses?page_size=1 + response: + body: + string: '{"addresses": [{"id": "adr_b5aa371db71311eeb0a0ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:42:57+00:00", "updated_at": "2024-01-19T21:42:57+00:00", + "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": + "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": + "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": + {}}], "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '478' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaece2e78ba306000d25d6 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.043302' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/addresses?page_size=1 + response: + body: + string: '{"addresses": [{"id": "adr_3e7f602db71411ee9dcdac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:46:47+00:00", "updated_at": "2024-01-19T21:46:47+00:00", + "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": + "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": + "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": + {}}], "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '478' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda765aaedc7e78baba500111979 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.031920' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/addresses?page_size=1 + response: + body: + string: '{"addresses": [{"id": "adr_80f98adbb71411ee8194ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:48:38+00:00", "updated_at": "2024-01-19T21:48:38+00:00", + "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": + "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": + "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": + {}}], "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '478' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdae65aaee37e78bb0d000115ded + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.030725' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/addresses?page_size=1 + response: + body: + string: '{"addresses": [{"id": "adr_c3528378b71511ee9dfdac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:57:39+00:00", "updated_at": "2024-01-19T21:57:39+00:00", + "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": + "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": + "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": + {}}], "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '478' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf053e798bb5d000f56b4 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.030749' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/addresses?page_size=1 + response: + body: + string: '{"addresses": [{"id": "adr_36bb3b20b71611ee825eac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T22:00:53+00:00", "updated_at": "2024-01-19T22:00:53+00:00", + "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": + "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": + "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": + {}}], "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '478' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf115e798c3bd000fe372 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.037038' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/addresses?page_size=1 + response: + body: + string: '{"addresses": [{"id": "adr_7ff44328b71611ee97373cecef1b359e", "object": + "Address", "created_at": "2024-01-19T22:02:55+00:00", "updated_at": "2024-01-19T22:02:55+00:00", + "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": + "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": + "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": + {}}], "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '478' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf190e798c90600105085 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.028547' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/addresses?page_size=1 + response: + body: + string: '{"addresses": [{"id": "adr_8d8e0c75b71611eeaef4ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T22:03:18+00:00", "updated_at": "2024-01-19T22:03:18+00:00", + "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": + "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": + "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": + {}}], "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '478' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf1a7e798cc7f001062bf + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.030436' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/addresses?page_size=1 + response: + body: + string: '{"addresses": [{"id": "adr_f3f61dcab71611ee8051ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T22:06:10+00:00", "updated_at": "2024-01-19T22:06:10+00:00", + "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": + "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": + "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": + {}}], "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '478' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaf253e798d1610010d969 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.035790' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/addresses?page_size=1 + response: + body: + string: '{"addresses": [{"id": "adr_d09c1819b72311ee84c0ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T23:38:14+00:00", "updated_at": "2024-01-19T23:38:14+00:00", + "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": + "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": + "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": + {}}], "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '478' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365ab07e7e799e543001d72b6 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.029849' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_addresses_retrieve.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_addresses_retrieve.yaml new file mode 100644 index 00000000..06970e73 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_addresses_retrieve.yaml @@ -0,0 +1,1426 @@ +interactions: +- request: + body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": + "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": + "EasyPost", "phone": "415-123-4567"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '188' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses + response: + body: + string: '{"id": "adr_3e80b02eb71311ee83bf3cecef1b359e", "object": "Address", + "created_at": "2024-01-19T21:39:37+00:00", "updated_at": "2024-01-19T21:39:37+00:00", + "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": + "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": + "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": + {}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '446' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_3e80b02eb71311ee83bf3cecef1b359e + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaec19e78b9ac8000ca7ec + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.067312' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/addresses/adr_3e80b02eb71311ee83bf3cecef1b359e + response: + body: + string: '{"id": "adr_3e80b02eb71311ee83bf3cecef1b359e", "object": "Address", + "created_at": "2024-01-19T21:39:37+00:00", "updated_at": "2024-01-19T21:39:37+00:00", + "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": + "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": + "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": + {}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '446' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaec19e78b9ae0000ca813 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.027109' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": + "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": + "EasyPost", "phone": "415-123-4567"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '188' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses + response: + body: + string: '{"id": "adr_b5aa371db71311eeb0a0ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:42:57+00:00", "updated_at": "2024-01-19T21:42:57+00:00", + "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": + "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": + "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": + {}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '446' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_b5aa371db71311eeb0a0ac1f6bc539ae + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaece1e78ba304000d256a + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.041331' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/addresses/adr_b5aa371db71311eeb0a0ac1f6bc539ae + response: + body: + string: '{"id": "adr_b5aa371db71311eeb0a0ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:42:57+00:00", "updated_at": "2024-01-19T21:42:57+00:00", + "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": + "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": + "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": + {}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '446' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaece1e78ba305000d259e + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.030282' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": + "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": + "EasyPost", "phone": "415-123-4567"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '188' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses + response: + body: + string: '{"id": "adr_3e7f602db71411ee9dcdac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T21:46:47+00:00", "updated_at": "2024-01-19T21:46:47+00:00", + "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": + "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": + "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": + {}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '446' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_3e7f602db71411ee9dcdac1f6bc53342 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdab65aaedc7e78baba30011191c + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.035725' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/addresses/adr_3e7f602db71411ee9dcdac1f6bc53342 + response: + body: + string: '{"id": "adr_3e7f602db71411ee9dcdac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T21:46:47+00:00", "updated_at": "2024-01-19T21:46:47+00:00", + "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": + "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": + "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": + {}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '446' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda865aaedc7e78baba400111942 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.036901' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": + "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": + "EasyPost", "phone": "415-123-4567"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '188' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses + response: + body: + string: '{"id": "adr_80f98adbb71411ee8194ac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T21:48:38+00:00", "updated_at": "2024-01-19T21:48:38+00:00", + "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": + "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": + "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": + {}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '446' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_80f98adbb71411ee8194ac1f6bc539aa + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda865aaee36e78bb0ce00115d97 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.036482' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/addresses/adr_80f98adbb71411ee8194ac1f6bc539aa + response: + body: + string: '{"id": "adr_80f98adbb71411ee8194ac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T21:48:38+00:00", "updated_at": "2024-01-19T21:48:38+00:00", + "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": + "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": + "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": + {}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '446' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdaa65aaee36e78bb0cf00115db6 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.029450' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": + "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": + "EasyPost", "phone": "415-123-4567"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '188' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses + response: + body: + string: '{"id": "adr_c3528378b71511ee9dfdac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T21:57:39+00:00", "updated_at": "2024-01-19T21:57:39+00:00", + "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": + "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": + "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": + {}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '446' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_c3528378b71511ee9dfdac1f6bc53342 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf053e798bb5b000f5653 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.036166' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/addresses/adr_c3528378b71511ee9dfdac1f6bc53342 + response: + body: + string: '{"id": "adr_c3528378b71511ee9dfdac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T21:57:39+00:00", "updated_at": "2024-01-19T21:57:39+00:00", + "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": + "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": + "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": + {}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '446' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf053e798bb5c000f567f + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.027639' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": + "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": + "EasyPost", "phone": "415-123-4567"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '188' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses + response: + body: + string: '{"id": "adr_36bb3b20b71611ee825eac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T22:00:53+00:00", "updated_at": "2024-01-19T22:00:53+00:00", + "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": + "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": + "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": + {}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '446' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_36bb3b20b71611ee825eac1f6bc53342 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf115e798c3bb000fe2d9 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.031958' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/addresses/adr_36bb3b20b71611ee825eac1f6bc53342 + response: + body: + string: '{"id": "adr_36bb3b20b71611ee825eac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T22:00:53+00:00", "updated_at": "2024-01-19T22:00:53+00:00", + "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": + "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": + "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": + {}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '446' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaf115e798c3bc000fe31d + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.034824' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": + "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": + "EasyPost", "phone": "415-123-4567"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '188' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses + response: + body: + string: '{"id": "adr_7ff44328b71611ee97373cecef1b359e", "object": "Address", + "created_at": "2024-01-19T22:02:55+00:00", "updated_at": "2024-01-19T22:02:55+00:00", + "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": + "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": + "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": + {}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '446' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_7ff44328b71611ee97373cecef1b359e + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaf18fe798c9040010501f + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.042543' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/addresses/adr_7ff44328b71611ee97373cecef1b359e + response: + body: + string: '{"id": "adr_7ff44328b71611ee97373cecef1b359e", "object": "Address", + "created_at": "2024-01-19T22:02:55+00:00", "updated_at": "2024-01-19T22:02:55+00:00", + "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": + "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": + "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": + {}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '446' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf190e798c90500105055 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.032119' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": + "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": + "EasyPost", "phone": "415-123-4567"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '188' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses + response: + body: + string: '{"id": "adr_8d8e0c75b71611eeaef4ac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T22:03:18+00:00", "updated_at": "2024-01-19T22:03:18+00:00", + "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": + "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": + "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": + {}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '446' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_8d8e0c75b71611eeaef4ac1f6bc539aa + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf1a6e798cc7d00106236 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.036053' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/addresses/adr_8d8e0c75b71611eeaef4ac1f6bc539aa + response: + body: + string: '{"id": "adr_8d8e0c75b71611eeaef4ac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T22:03:18+00:00", "updated_at": "2024-01-19T22:03:18+00:00", + "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": + "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": + "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": + {}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '446' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaf1a6e798cc7e0010627d + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.033603' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": + "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": + "EasyPost", "phone": "415-123-4567"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '188' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses + response: + body: + string: '{"id": "adr_f3f61dcab71611ee8051ac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T22:06:10+00:00", "updated_at": "2024-01-19T22:06:10+00:00", + "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": + "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": + "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": + {}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '446' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_f3f61dcab71611ee8051ac1f6bc53342 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaf252e798d1480010d8f7 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.037242' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/addresses/adr_f3f61dcab71611ee8051ac1f6bc53342 + response: + body: + string: '{"id": "adr_f3f61dcab71611ee8051ac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T22:06:10+00:00", "updated_at": "2024-01-19T22:06:10+00:00", + "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": + "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": + "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": + {}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '446' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf252e798d1600010d924 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.031393' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": + "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": + "EasyPost", "phone": "415-123-4567"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '188' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses + response: + body: + string: '{"id": "adr_d09c1819b72311ee84c0ac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T23:38:14+00:00", "updated_at": "2024-01-19T23:38:14+00:00", + "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": + "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": + "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": + {}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '446' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_d09c1819b72311ee84c0ac1f6bc53342 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465ab07e6e799e541001d7259 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.037101' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/addresses/adr_d09c1819b72311ee84c0ac1f6bc53342 + response: + body: + string: '{"id": "adr_d09c1819b72311ee84c0ac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T23:38:14+00:00", "updated_at": "2024-01-19T23:38:14+00:00", + "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": + "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": + "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": + {}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '446' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365ab07e6e799e542001d727c + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.033632' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_addresses_verify.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_addresses_verify.yaml new file mode 100644 index 00000000..fbc71b5f --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_addresses_verify.yaml @@ -0,0 +1,1464 @@ +interactions: +- request: + body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": + "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": + "EasyPost", "phone": "415-123-4567"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '188' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses + response: + body: + string: '{"id": "adr_3df98c4fb71311ee857cac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T21:39:36+00:00", "updated_at": "2024-01-19T21:39:36+00:00", + "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": + "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": + "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": + {}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '446' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_3df98c4fb71311ee857cac1f6bc53342 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaec18e78b9ac5000ca76f + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.034077' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/addresses/adr_3df98c4fb71311ee857cac1f6bc53342/verify + response: + body: + string: '{"address": {"id": "adr_3e282aa2b71311ee83973cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:39:37+00:00", "updated_at": "2024-01-19T21:39:37+00:00", + "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", + "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": false, "federal_tax_id": null, "state_tax_id": null, + "verifications": {"zip4": {"success": true, "errors": [], "details": null}, + "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, + "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_3e282aa2b71311ee83973cecef1b359e + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaec18e78b9ac6000ca78f + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.076971' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": + "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": + "EasyPost", "phone": "415-123-4567"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '188' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses + response: + body: + string: '{"id": "adr_b523f830b71311eebf6bac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T21:42:56+00:00", "updated_at": "2024-01-19T21:42:56+00:00", + "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": + "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": + "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": + {}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '446' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_b523f830b71311eebf6bac1f6bc539aa + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaece0e78ba301000d24ef + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.036314' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/addresses/adr_b523f830b71311eebf6bac1f6bc539aa/verify + response: + body: + string: '{"address": {"id": "adr_b54f9407b71311eebf7fac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:42:56+00:00", "updated_at": "2024-01-19T21:42:56+00:00", + "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", + "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": false, "federal_tax_id": null, "state_tax_id": null, + "verifications": {"zip4": {"success": true, "errors": [], "details": null}, + "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, + "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_b54f9407b71311eebf7fac1f6bc539aa + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaece0e78ba302000d2515 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.064087' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": + "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": + "EasyPost", "phone": "415-123-4567"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '188' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses + response: + body: + string: '{"id": "adr_3dd093beb71411ee9b6c3cecef1b359e", "object": "Address", + "created_at": "2024-01-19T21:46:45+00:00", "updated_at": "2024-01-19T21:46:45+00:00", + "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": + "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": + "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": + {}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '446' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_3dd093beb71411ee9b6c3cecef1b359e + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaedc5e78bab84000dc1e3 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.038711' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/addresses/adr_3dd093beb71411ee9b6c3cecef1b359e/verify + response: + body: + string: '{"address": {"id": "adr_3dfcb297b71411ee9e67ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:46:46+00:00", "updated_at": "2024-01-19T21:46:46+00:00", + "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", + "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": false, "federal_tax_id": null, "state_tax_id": null, + "verifications": {"zip4": {"success": true, "errors": [], "details": null}, + "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, + "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_3dfcb297b71411ee9e67ac1f6bc539ae + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaedc6e78bab85000dc207 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.060543' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": + "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": + "EasyPost", "phone": "415-123-4567"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '188' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses + response: + body: + string: '{"id": "adr_806aa8eeb71411ee816dac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T21:48:37+00:00", "updated_at": "2024-01-19T21:48:37+00:00", + "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": + "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": + "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": + {}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '446' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_806aa8eeb71411ee816dac1f6bc539aa + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdab65aaee35e78bb0cb00115d04 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.054323' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/addresses/adr_806aa8eeb71411ee816dac1f6bc539aa/verify + response: + body: + string: '{"address": {"id": "adr_809ada5cb71411eeafe83cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:48:37+00:00", "updated_at": "2024-01-19T21:48:37+00:00", + "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", + "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": false, "federal_tax_id": null, "state_tax_id": null, + "verifications": {"zip4": {"success": true, "errors": [], "details": null}, + "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, + "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_809ada5cb71411eeafe83cecef1b359e + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdad65aaee35e78bb0cc00115d2e + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.068475' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": + "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": + "EasyPost", "phone": "415-123-4567"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '188' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses + response: + body: + string: '{"id": "adr_c2bd248eb71511eea01bac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:57:38+00:00", "updated_at": "2024-01-19T21:57:38+00:00", + "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": + "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": + "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": + {}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '446' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_c2bd248eb71511eea01bac1f6bc539ae + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaf052e798bb3d000f55d4 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.032778' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/addresses/adr_c2bd248eb71511eea01bac1f6bc539ae/verify + response: + body: + string: '{"address": {"id": "adr_c2e9ad44b71511eeaeb5ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:57:38+00:00", "updated_at": "2024-01-19T21:57:38+00:00", + "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", + "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": false, "federal_tax_id": null, "state_tax_id": null, + "verifications": {"zip4": {"success": true, "errors": [], "details": null}, + "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, + "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_c2e9ad44b71511eeaeb5ac1f6bc539aa + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaf052e798bb55000f55f8 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.060191' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": + "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": + "EasyPost", "phone": "415-123-4567"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '188' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses + response: + body: + string: '{"id": "adr_36251c0eb71611ee922cac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T22:00:52+00:00", "updated_at": "2024-01-19T22:00:52+00:00", + "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": + "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": + "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": + {}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '446' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_36251c0eb71611ee922cac1f6bc539aa + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdab65aaf114e798c3b70013309e + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.034246' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/addresses/adr_36251c0eb71611ee922cac1f6bc539aa/verify + response: + body: + string: '{"address": {"id": "adr_36506bd0b71611eebff93cecef1b359e", "object": + "Address", "created_at": "2024-01-19T22:00:52+00:00", "updated_at": "2024-01-19T22:00:52+00:00", + "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", + "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": false, "federal_tax_id": null, "state_tax_id": null, + "verifications": {"zip4": {"success": true, "errors": [], "details": null}, + "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, + "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_36506bd0b71611eebff93cecef1b359e + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdae65aaf114e798c3b8001330e3 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.067085' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": + "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": + "EasyPost", "phone": "415-123-4567"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '188' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses + response: + body: + string: '{"id": "adr_7f5212d5b71611ee97093cecef1b359e", "object": "Address", + "created_at": "2024-01-19T22:02:54+00:00", "updated_at": "2024-01-19T22:02:54+00:00", + "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": + "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": + "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": + {}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '446' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_7f5212d5b71611ee97093cecef1b359e + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf18ee798c90100104f6a + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.035316' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/addresses/adr_7f5212d5b71611ee97093cecef1b359e/verify + response: + body: + string: '{"address": {"id": "adr_7f82db86b71611ee99a1ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T22:02:55+00:00", "updated_at": "2024-01-19T22:02:55+00:00", + "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", + "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": false, "federal_tax_id": null, "state_tax_id": null, + "verifications": {"zip4": {"success": true, "errors": [], "details": null}, + "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, + "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_7f82db86b71611ee99a1ac1f6bc53342 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaf18fe798c90200104f9a + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.111611' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": + "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": + "EasyPost", "phone": "415-123-4567"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '188' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses + response: + body: + string: '{"id": "adr_8cef06e9b71611eeaebaac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T22:03:17+00:00", "updated_at": "2024-01-19T22:03:17+00:00", + "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": + "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": + "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": + {}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '446' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_8cef06e9b71611eeaebaac1f6bc539aa + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaf1a5e798cc7a00106161 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.036251' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/addresses/adr_8cef06e9b71611eeaebaac1f6bc539aa/verify + response: + body: + string: '{"address": {"id": "adr_8d1acc0fb71611ee9c703cecef1b359e", "object": + "Address", "created_at": "2024-01-19T22:03:17+00:00", "updated_at": "2024-01-19T22:03:17+00:00", + "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", + "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": false, "federal_tax_id": null, "state_tax_id": null, + "verifications": {"zip4": {"success": true, "errors": [], "details": null}, + "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, + "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_8d1acc0fb71611ee9c703cecef1b359e + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaf1a5e798cc7b00106199 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.064374' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": + "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": + "EasyPost", "phone": "415-123-4567"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '188' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses + response: + body: + string: '{"id": "adr_f32feb6fb71611eebe773cecef1b359e", "object": "Address", + "created_at": "2024-01-19T22:06:09+00:00", "updated_at": "2024-01-19T22:06:09+00:00", + "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": + "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": + "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": + {}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '446' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_f32feb6fb71611eebe773cecef1b359e + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf251e798d1450010d804 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.039901' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/addresses/adr_f32feb6fb71611eebe773cecef1b359e/verify + response: + body: + string: '{"address": {"id": "adr_f35c347ab71611eebfffac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T22:06:09+00:00", "updated_at": "2024-01-19T22:06:09+00:00", + "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", + "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": false, "federal_tax_id": null, "state_tax_id": null, + "verifications": {"zip4": {"success": true, "errors": [], "details": null}, + "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, + "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_f35c347ab71611eebfffac1f6bc53342 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf251e798d1460010d83e + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.066171' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": + "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": + "EasyPost", "phone": "415-123-4567"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '188' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses + response: + body: + string: '{"id": "adr_cff34a0db72311ee848eac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T23:38:13+00:00", "updated_at": "2024-01-19T23:38:13+00:00", + "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": + "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": + "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": + {}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '446' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_cff34a0db72311ee848eac1f6bc53342 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda765ab07e5e799e53e0020cadf + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.031565' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/addresses/adr_cff34a0db72311ee848eac1f6bc53342/verify + response: + body: + string: '{"address": {"id": "adr_d0228e04b72311ee868eac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T23:38:13+00:00", "updated_at": "2024-01-19T23:38:13+00:00", + "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", + "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": false, "federal_tax_id": null, "state_tax_id": null, + "verifications": {"zip4": {"success": true, "errors": [], "details": null}, + "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, + "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_d0228e04b72311ee868eac1f6bc539ae + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdaa65ab07e5e799e53f0020caf4 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.073726' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_addresses_verify_failure.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_addresses_verify_failure.yaml new file mode 100644 index 00000000..1b44dcfc --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_addresses_verify_failure.yaml @@ -0,0 +1,816 @@ +interactions: +- request: + body: '{"address": {"street1": "UNDELIVERABLE ST", "street2": null, "city": "SAN + FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": "EasyPost", + "phone": "415-123-4567"}, "verify": true}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '198' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses + response: + body: + string: '{"id": "adr_3e55b5d3b71311ee83a83cecef1b359e", "object": "Address", + "created_at": "2024-01-19T21:39:37+00:00", "updated_at": "2024-01-19T21:39:37+00:00", + "name": null, "company": "EasyPost", "street1": "UNDELIVERABLE ST", "street2": + null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", + "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": + {"zip4": {"success": false, "errors": [{"code": "E.ADDRESS.NOT_FOUND", "field": + "address", "message": "Address not found", "suggestion": null}, {"code": "E.HOUSE_NUMBER.MISSING", + "field": "street1", "message": "House number is missing", "suggestion": null}], + "details": null}, "delivery": {"success": false, "errors": [{"code": "E.ADDRESS.NOT_FOUND", + "field": "address", "message": "Address not found", "suggestion": null}, {"code": + "E.HOUSE_NUMBER.MISSING", "field": "street1", "message": "House number is + missing", "suggestion": null}], "details": {}}}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '949' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_3e55b5d3b71311ee83a83cecef1b359e + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaec19e78b9ac7000ca7bd + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.045402' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"address": {"street1": "UNDELIVERABLE ST", "street2": null, "city": "SAN + FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": "EasyPost", + "phone": "415-123-4567"}, "verify": true}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '198' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses + response: + body: + string: '{"id": "adr_b57f7a43b71311eeb008ac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T21:42:57+00:00", "updated_at": "2024-01-19T21:42:57+00:00", + "name": null, "company": "EasyPost", "street1": "UNDELIVERABLE ST", "street2": + null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", + "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": + {"zip4": {"success": false, "errors": [{"code": "E.ADDRESS.NOT_FOUND", "field": + "address", "message": "Address not found", "suggestion": null}, {"code": "E.HOUSE_NUMBER.MISSING", + "field": "street1", "message": "House number is missing", "suggestion": null}], + "details": null}, "delivery": {"success": false, "errors": [{"code": "E.ADDRESS.NOT_FOUND", + "field": "address", "message": "Address not found", "suggestion": null}, {"code": + "E.HOUSE_NUMBER.MISSING", "field": "street1", "message": "House number is + missing", "suggestion": null}], "details": {}}}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '949' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_b57f7a43b71311eeb008ac1f6bc53342 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaece1e78ba303000d2541 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.049044' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"address": {"street1": "UNDELIVERABLE ST", "street2": null, "city": "SAN + FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": "EasyPost", + "phone": "415-123-4567"}, "verify": true}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '198' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses + response: + body: + string: '{"id": "adr_3e53406eb71411ee9dc8ac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T21:46:46+00:00", "updated_at": "2024-01-19T21:46:46+00:00", + "name": null, "company": "EasyPost", "street1": "UNDELIVERABLE ST", "street2": + null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", + "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": + {"zip4": {"success": false, "errors": [{"code": "E.ADDRESS.NOT_FOUND", "field": + "address", "message": "Address not found", "suggestion": null}, {"code": "E.HOUSE_NUMBER.MISSING", + "field": "street1", "message": "House number is missing", "suggestion": null}], + "details": null}, "delivery": {"success": false, "errors": [{"code": "E.ADDRESS.NOT_FOUND", + "field": "address", "message": "Address not found", "suggestion": null}, {"code": + "E.HOUSE_NUMBER.MISSING", "field": "street1", "message": "House number is + missing", "suggestion": null}], "details": {}}}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '949' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_3e53406eb71411ee9dc8ac1f6bc53342 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaedc6e78bab86000dc25b + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.050678' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"address": {"street1": "UNDELIVERABLE ST", "street2": null, "city": "SAN + FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": "EasyPost", + "phone": "415-123-4567"}, "verify": true}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '198' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses + response: + body: + string: '{"id": "adr_80ccda90b71411eeb31aac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:48:38+00:00", "updated_at": "2024-01-19T21:48:38+00:00", + "name": null, "company": "EasyPost", "street1": "UNDELIVERABLE ST", "street2": + null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", + "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": + {"zip4": {"success": false, "errors": [{"code": "E.ADDRESS.NOT_FOUND", "field": + "address", "message": "Address not found", "suggestion": null}, {"code": "E.HOUSE_NUMBER.MISSING", + "field": "street1", "message": "House number is missing", "suggestion": null}], + "details": null}, "delivery": {"success": false, "errors": [{"code": "E.ADDRESS.NOT_FOUND", + "field": "address", "message": "Address not found", "suggestion": null}, {"code": + "E.HOUSE_NUMBER.MISSING", "field": "street1", "message": "House number is + missing", "suggestion": null}], "details": {}}}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '949' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_80ccda90b71411eeb31aac1f6bc539ae + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdad65aaee36e78bb0cd00115d6f + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.048354' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"address": {"street1": "UNDELIVERABLE ST", "street2": null, "city": "SAN + FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": "EasyPost", + "phone": "415-123-4567"}, "verify": true}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '198' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses + response: + body: + string: '{"id": "adr_c323b1ceb71511ee9defac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T21:57:39+00:00", "updated_at": "2024-01-19T21:57:39+00:00", + "name": null, "company": "EasyPost", "street1": "UNDELIVERABLE ST", "street2": + null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", + "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": + {"zip4": {"success": false, "errors": [{"code": "E.ADDRESS.NOT_FOUND", "field": + "address", "message": "Address not found", "suggestion": null}, {"code": "E.HOUSE_NUMBER.MISSING", + "field": "street1", "message": "House number is missing", "suggestion": null}], + "details": null}, "delivery": {"success": false, "errors": [{"code": "E.ADDRESS.NOT_FOUND", + "field": "address", "message": "Address not found", "suggestion": null}, {"code": + "E.HOUSE_NUMBER.MISSING", "field": "street1", "message": "House number is + missing", "suggestion": null}], "details": {}}}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '949' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_c323b1ceb71511ee9defac1f6bc53342 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaf053e798bb56000f5626 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.052124' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"address": {"street1": "UNDELIVERABLE ST", "street2": null, "city": "SAN + FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": "EasyPost", + "phone": "415-123-4567"}, "verify": true}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '198' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses + response: + body: + string: '{"id": "adr_368a5dcab71611ee9247ac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T22:00:52+00:00", "updated_at": "2024-01-19T22:00:52+00:00", + "name": null, "company": "EasyPost", "street1": "UNDELIVERABLE ST", "street2": + null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", + "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": + {"zip4": {"success": false, "errors": [{"code": "E.ADDRESS.NOT_FOUND", "field": + "address", "message": "Address not found", "suggestion": null}, {"code": "E.HOUSE_NUMBER.MISSING", + "field": "street1", "message": "House number is missing", "suggestion": null}], + "details": null}, "delivery": {"success": false, "errors": [{"code": "E.ADDRESS.NOT_FOUND", + "field": "address", "message": "Address not found", "suggestion": null}, {"code": + "E.HOUSE_NUMBER.MISSING", "field": "street1", "message": "House number is + missing", "suggestion": null}], "details": {}}}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '949' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_368a5dcab71611ee9247ac1f6bc539aa + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf114e798c3b9000fe27f + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.049229' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"address": {"street1": "UNDELIVERABLE ST", "street2": null, "city": "SAN + FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": "EasyPost", + "phone": "415-123-4567"}, "verify": true}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '198' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses + response: + body: + string: '{"id": "adr_7fc00904b71611ee9b37ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T22:02:55+00:00", "updated_at": "2024-01-19T22:02:55+00:00", + "name": null, "company": "EasyPost", "street1": "UNDELIVERABLE ST", "street2": + null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", + "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": + {"zip4": {"success": false, "errors": [{"code": "E.ADDRESS.NOT_FOUND", "field": + "address", "message": "Address not found", "suggestion": null}, {"code": "E.HOUSE_NUMBER.MISSING", + "field": "street1", "message": "House number is missing", "suggestion": null}], + "details": null}, "delivery": {"success": false, "errors": [{"code": "E.ADDRESS.NOT_FOUND", + "field": "address", "message": "Address not found", "suggestion": null}, {"code": + "E.HOUSE_NUMBER.MISSING", "field": "street1", "message": "House number is + missing", "suggestion": null}], "details": {}}}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '949' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_7fc00904b71611ee9b37ac1f6bc539ae + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaf18fe798c90300104fe3 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.055483' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"address": {"street1": "UNDELIVERABLE ST", "street2": null, "city": "SAN + FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": "EasyPost", + "phone": "415-123-4567"}, "verify": true}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '198' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses + response: + body: + string: '{"id": "adr_8d57ec92b71611ee9ed2ac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T22:03:18+00:00", "updated_at": "2024-01-19T22:03:18+00:00", + "name": null, "company": "EasyPost", "street1": "UNDELIVERABLE ST", "street2": + null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", + "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": + {"zip4": {"success": false, "errors": [{"code": "E.ADDRESS.NOT_FOUND", "field": + "address", "message": "Address not found", "suggestion": null}, {"code": "E.HOUSE_NUMBER.MISSING", + "field": "street1", "message": "House number is missing", "suggestion": null}], + "details": null}, "delivery": {"success": false, "errors": [{"code": "E.ADDRESS.NOT_FOUND", + "field": "address", "message": "Address not found", "suggestion": null}, {"code": + "E.HOUSE_NUMBER.MISSING", "field": "street1", "message": "House number is + missing", "suggestion": null}], "details": {}}}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '949' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_8d57ec92b71611ee9ed2ac1f6bc53342 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaf1a6e798cc7c001061f1 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.052517' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"address": {"street1": "UNDELIVERABLE ST", "street2": null, "city": "SAN + FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": "EasyPost", + "phone": "415-123-4567"}, "verify": true}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '198' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses + response: + body: + string: '{"id": "adr_f3998c4eb71611ee801cac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T22:06:09+00:00", "updated_at": "2024-01-19T22:06:09+00:00", + "name": null, "company": "EasyPost", "street1": "UNDELIVERABLE ST", "street2": + null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", + "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": + {"zip4": {"success": false, "errors": [{"code": "E.ADDRESS.NOT_FOUND", "field": + "address", "message": "Address not found", "suggestion": null}, {"code": "E.HOUSE_NUMBER.MISSING", + "field": "street1", "message": "House number is missing", "suggestion": null}], + "details": null}, "delivery": {"success": false, "errors": [{"code": "E.ADDRESS.NOT_FOUND", + "field": "address", "message": "Address not found", "suggestion": null}, {"code": + "E.HOUSE_NUMBER.MISSING", "field": "street1", "message": "House number is + missing", "suggestion": null}], "details": {}}}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '949' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_f3998c4eb71611ee801cac1f6bc53342 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaf251e798d1470010d884 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.048947' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"address": {"street1": "UNDELIVERABLE ST", "street2": null, "city": "SAN + FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": "EasyPost", + "phone": "415-123-4567"}, "verify": true}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '198' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses + response: + body: + string: '{"id": "adr_d064c5d6b72311ee86a1ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T23:38:14+00:00", "updated_at": "2024-01-19T23:38:14+00:00", + "name": null, "company": "EasyPost", "street1": "UNDELIVERABLE ST", "street2": + null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", + "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": + {"zip4": {"success": false, "errors": [{"code": "E.ADDRESS.NOT_FOUND", "field": + "address", "message": "Address not found", "suggestion": null}, {"code": "E.HOUSE_NUMBER.MISSING", + "field": "street1", "message": "House number is missing", "suggestion": null}], + "details": null}, "delivery": {"success": false, "errors": [{"code": "E.ADDRESS.NOT_FOUND", + "field": "address", "message": "Address not found", "suggestion": null}, {"code": + "E.HOUSE_NUMBER.MISSING", "field": "street1", "message": "House number is + missing", "suggestion": null}], "details": {}}}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '949' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_d064c5d6b72311ee86a1ac1f6bc539ae + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265ab07e6e799e540001d722a + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.047475' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_addresses_verify_param.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_addresses_verify_param.yaml new file mode 100644 index 00000000..9e218b9a --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_addresses_verify_param.yaml @@ -0,0 +1,778 @@ +interactions: +- request: + body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": + "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": + "EasyPost", "phone": "415-123-4567"}, "verify": true}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '204' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses + response: + body: + string: '{"id": "adr_3d9fe04cb71311ee86a0ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:39:36+00:00", "updated_at": "2024-01-19T21:39:36+00:00", + "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", + "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": false, "federal_tax_id": null, "state_tax_id": null, + "verifications": {"zip4": {"success": true, "errors": [], "details": null}, + "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, + "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '629' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_3d9fe04cb71311ee86a0ac1f6bc539ae + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaec18e78b9ac3000ca70a + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.054286' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": + "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": + "EasyPost", "phone": "415-123-4567"}, "verify": true}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '204' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses + response: + body: + string: '{"id": "adr_b4c546acb71311eeafbdac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T21:42:56+00:00", "updated_at": "2024-01-19T21:42:56+00:00", + "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", + "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": false, "federal_tax_id": null, "state_tax_id": null, + "verifications": {"zip4": {"success": true, "errors": [], "details": null}, + "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, + "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '629' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_b4c546acb71311eeafbdac1f6bc53342 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaecdfe78ba2ff000d2493 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.056070' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": + "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": + "EasyPost", "phone": "415-123-4567"}, "verify": true}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '204' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses + response: + body: + string: '{"id": "adr_3d738818b71411ee9e46ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:46:45+00:00", "updated_at": "2024-01-19T21:46:45+00:00", + "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", + "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": false, "federal_tax_id": null, "state_tax_id": null, + "verifications": {"zip4": {"success": true, "errors": [], "details": null}, + "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, + "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '629' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_3d738818b71411ee9e46ac1f6bc539ae + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdab65aaedc5e78bab82001117f9 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.052121' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": + "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": + "EasyPost", "phone": "415-123-4567"}, "verify": true}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '204' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses + response: + body: + string: '{"id": "adr_800be7efb71411eeb171ac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T21:48:37+00:00", "updated_at": "2024-01-19T21:48:37+00:00", + "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", + "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": false, "federal_tax_id": null, "state_tax_id": null, + "verifications": {"zip4": {"success": true, "errors": [], "details": null}, + "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, + "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '629' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_800be7efb71411eeb171ac1f6bc53342 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdab65aaee35e78bb0b100115cb7 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.049584' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": + "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": + "EasyPost", "phone": "415-123-4567"}, "verify": true}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '204' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses + response: + body: + string: '{"id": "adr_c257be71b71511ee9ff6ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:57:37+00:00", "updated_at": "2024-01-19T21:57:37+00:00", + "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", + "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": false, "federal_tax_id": null, "state_tax_id": null, + "verifications": {"zip4": {"success": true, "errors": [], "details": null}, + "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, + "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '629' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_c257be71b71511ee9ff6ac1f6bc539ae + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaf051e798bb3b000f5565 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.056496' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": + "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": + "EasyPost", "phone": "415-123-4567"}, "verify": true}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '204' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses + response: + body: + string: '{"id": "adr_358fe9a4b71611ee91faac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T22:00:51+00:00", "updated_at": "2024-01-19T22:00:51+00:00", + "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", + "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": false, "federal_tax_id": null, "state_tax_id": null, + "verifications": {"zip4": {"success": true, "errors": [], "details": null}, + "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, + "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '629' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_358fe9a4b71611ee91faac1f6bc539aa + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf113e798c39e000fe0f3 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.070028' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": + "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": + "EasyPost", "phone": "415-123-4567"}, "verify": true}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '204' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses + response: + body: + string: '{"id": "adr_7ee7d5bcb71611eea92cac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T22:02:54+00:00", "updated_at": "2024-01-19T22:02:54+00:00", + "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", + "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": false, "federal_tax_id": null, "state_tax_id": null, + "verifications": {"zip4": {"success": true, "errors": [], "details": null}, + "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, + "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '629' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_7ee7d5bcb71611eea92cac1f6bc539aa + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf18ee798c8ff00104ede + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.064110' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": + "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": + "EasyPost", "phone": "415-123-4567"}, "verify": true}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '204' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses + response: + body: + string: '{"id": "adr_8c8628b4b71611ee9c373cecef1b359e", "object": "Address", + "created_at": "2024-01-19T22:03:16+00:00", "updated_at": "2024-01-19T22:03:16+00:00", + "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", + "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": false, "federal_tax_id": null, "state_tax_id": null, + "verifications": {"zip4": {"success": true, "errors": [], "details": null}, + "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, + "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '629' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_8c8628b4b71611ee9c373cecef1b359e + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaf1a4e798cc61001060ba + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.059614' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": + "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": + "EasyPost", "phone": "415-123-4567"}, "verify": true}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '204' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses + response: + body: + string: '{"id": "adr_f2c28391b71611ee82ddac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T22:06:08+00:00", "updated_at": "2024-01-19T22:06:08+00:00", + "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", + "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": false, "federal_tax_id": null, "state_tax_id": null, + "verifications": {"zip4": {"success": true, "errors": [], "details": null}, + "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, + "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '629' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_f2c28391b71611ee82ddac1f6bc539ae + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf250e798d1430010d781 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.054666' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": + "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": + "EasyPost", "phone": "415-123-4567"}, "verify": true}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '204' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses + response: + body: + string: '{"id": "adr_cf80f5f2b72311eebe553cecef1b359e", "object": "Address", + "created_at": "2024-01-19T23:38:12+00:00", "updated_at": "2024-01-19T23:38:12+00:00", + "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", + "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": false, "federal_tax_id": null, "state_tax_id": null, + "verifications": {"zip4": {"success": true, "errors": [], "details": null}, + "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, + "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '629' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_cf80f5f2b72311eebe553cecef1b359e + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565ab07e4e799e53c001d7172 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.083274' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_addresses_verify_strict_param.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_addresses_verify_strict_param.yaml new file mode 100644 index 00000000..486d69bc --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_addresses_verify_strict_param.yaml @@ -0,0 +1,774 @@ +interactions: +- request: + body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": + "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": + "EasyPost", "phone": "415-123-4567"}, "verify_strict": true}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '211' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses + response: + body: + string: '{"id": "adr_3dcd27a7b71311ee837b3cecef1b359e", "object": "Address", + "created_at": "2024-01-19T21:39:36+00:00", "updated_at": "2024-01-19T21:39:36+00:00", + "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", + "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": false, "federal_tax_id": null, "state_tax_id": null, + "verifications": {"zip4": {"success": true, "errors": [], "details": null}, + "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, + "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '629' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_3dcd27a7b71311ee837b3cecef1b359e + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaec18e78b9ac4000ca73b + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.075831' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": + "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": + "EasyPost", "phone": "415-123-4567"}, "verify_strict": true}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '211' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses + response: + body: + string: '{"id": "adr_b4f92e37b71311eeafd2ac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T21:42:56+00:00", "updated_at": "2024-01-19T21:42:56+00:00", + "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", + "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": false, "federal_tax_id": null, "state_tax_id": null, + "verifications": {"zip4": {"success": true, "errors": [], "details": null}, + "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, + "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '629' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_b4f92e37b71311eeafd2ac1f6bc53342 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaece0e78ba300000d24c1 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.052997' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": + "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": + "EasyPost", "phone": "415-123-4567"}, "verify_strict": true}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '211' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses + response: + body: + string: '{"id": "adr_3da2f23db71411eeacdeac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T21:46:45+00:00", "updated_at": "2024-01-19T21:46:45+00:00", + "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", + "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": false, "federal_tax_id": null, "state_tax_id": null, + "verifications": {"zip4": {"success": true, "errors": [], "details": null}, + "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, + "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '629' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_3da2f23db71411eeacdeac1f6bc539aa + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda865aaedc5e78bab8300111819 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.058587' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": + "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": + "EasyPost", "phone": "415-123-4567"}, "verify_strict": true}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '211' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses + response: + body: + string: '{"id": "adr_803da6f2b71411eeafd73cecef1b359e", "object": "Address", + "created_at": "2024-01-19T21:48:37+00:00", "updated_at": "2024-01-19T21:48:37+00:00", + "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", + "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": false, "federal_tax_id": null, "state_tax_id": null, + "verifications": {"zip4": {"success": true, "errors": [], "details": null}, + "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, + "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '629' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_803da6f2b71411eeafd73cecef1b359e + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda765aaee35e78bb0ca00115cdc + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.056849' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": + "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": + "EasyPost", "phone": "415-123-4567"}, "verify_strict": true}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '211' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses + response: + body: + string: '{"id": "adr_c28e1f81b71511ee9c183cecef1b359e", "object": "Address", + "created_at": "2024-01-19T21:57:38+00:00", "updated_at": "2024-01-19T21:57:38+00:00", + "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", + "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": false, "federal_tax_id": null, "state_tax_id": null, + "verifications": {"zip4": {"success": true, "errors": [], "details": null}, + "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, + "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '629' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_c28e1f81b71511ee9c183cecef1b359e + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaf052e798bb3c000f55a3 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.061038' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": + "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": + "EasyPost", "phone": "415-123-4567"}, "verify_strict": true}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '211' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses + response: + body: + string: '{"id": "adr_35f07039b71611eebfd33cecef1b359e", "object": "Address", + "created_at": "2024-01-19T22:00:51+00:00", "updated_at": "2024-01-19T22:00:51+00:00", + "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", + "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": false, "federal_tax_id": null, "state_tax_id": null, + "verifications": {"zip4": {"success": true, "errors": [], "details": null}, + "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, + "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '629' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_35f07039b71611eebfd33cecef1b359e + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda965aaf113e798c3b600133031 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.076584' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": + "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": + "EasyPost", "phone": "415-123-4567"}, "verify_strict": true}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '211' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses + response: + body: + string: '{"id": "adr_7f1f1ce9b71611eea93dac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T22:02:54+00:00", "updated_at": "2024-01-19T22:02:54+00:00", + "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", + "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": false, "federal_tax_id": null, "state_tax_id": null, + "verifications": {"zip4": {"success": true, "errors": [], "details": null}, + "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, + "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '629' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_7f1f1ce9b71611eea93dac1f6bc539aa + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf18ee798c90000104f22 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.060952' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": + "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": + "EasyPost", "phone": "415-123-4567"}, "verify_strict": true}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '211' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses + response: + body: + string: '{"id": "adr_8cbc9dc1b71611ee9c473cecef1b359e", "object": "Address", + "created_at": "2024-01-19T22:03:17+00:00", "updated_at": "2024-01-19T22:03:17+00:00", + "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", + "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": false, "federal_tax_id": null, "state_tax_id": null, + "verifications": {"zip4": {"success": true, "errors": [], "details": null}, + "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, + "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '629' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_8cbc9dc1b71611ee9c473cecef1b359e + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaf1a5e798cc620010611a + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.062573' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": + "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": + "EasyPost", "phone": "415-123-4567"}, "verify_strict": true}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '211' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses + response: + body: + string: '{"id": "adr_f2fbbc78b71611ee9070ac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T22:06:08+00:00", "updated_at": "2024-01-19T22:06:08+00:00", + "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", + "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": false, "federal_tax_id": null, "state_tax_id": null, + "verifications": {"zip4": {"success": true, "errors": [], "details": null}, + "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, + "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '629' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_f2fbbc78b71611ee9070ac1f6bc539aa + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaf250e798d1440010d7c8 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.052537' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": + "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": + "EasyPost", "phone": "415-123-4567"}, "verify_strict": true}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '211' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/addresses + response: + body: + string: '{"id": "adr_cfbd472fb72311ee911cac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T23:38:13+00:00", "updated_at": "2024-01-19T23:38:13+00:00", + "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", + "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": + null, "residential": false, "federal_tax_id": null, "state_tax_id": null, + "verifications": {"zip4": {"success": true, "errors": [], "details": null}, + "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, + "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '629' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/addresses/adr_cfbd472fb72311ee911cac1f6bc539aa + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdad65ab07e5e799e53d0020cac3 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.058667' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_api_keys_retrieve.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_api_keys_retrieve.yaml new file mode 100644 index 00000000..53e6a382 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_api_keys_retrieve.yaml @@ -0,0 +1,1572 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/users + response: + body: + string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": + null, "name": "New Name", "phone_number": "5555555555", "verified": true, + "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": + false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": + "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", + "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": + null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": + "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User2", "phone_number": "8005550100", "verified": true, "created_at": + "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}, + {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": + "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": + "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": + false, "has_elevate_access": false, "children": []}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1440' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaec1ae78b9ae2000ca879 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.070350' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/users + response: + body: + string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": + null, "name": "New Name", "phone_number": "5555555555", "verified": true, + "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": + false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": + "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", + "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": + null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": + "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User2", "phone_number": "8005550100", "verified": true, "created_at": + "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}, + {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": + "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": + "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": + false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User", "phone_number": "8005550100", "verified": true, "created_at": + "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1725' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaece2e78ba307000d2613 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.074387' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/users + response: + body: + string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": + null, "name": "New Name", "phone_number": "5555555555", "verified": true, + "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": + false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": + "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", + "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": + null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": + "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User2", "phone_number": "8005550100", "verified": true, "created_at": + "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}, + {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": + "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": + "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": + false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User", "phone_number": "8005550100", "verified": true, "created_at": + "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2010' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdad65aaedc7e78baba6001119a2 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.086749' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/api_keys + response: + body: + string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "keys": [{"object": + "ApiKey", "active": true, "key": "", "mode": "test", "created_at": + "2022-02-24T20:59:05Z", "id": "ak_16f993eae7984eab94e0957a78bee407"}, {"object": + "ApiKey", "active": true, "key": "", "mode": "production", "created_at": + "2022-02-24T20:59:14Z", "id": "ak_62524a9c3f684f65ab9eccbf70950df8"}], "children": + [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", "keys": [{"object": "ApiKey", + "active": true, "key": "", "mode": "test", "created_at": "2023-12-11T17:13:38Z", + "id": "ak_90e045d452174b3e99198138dc7938f5"}, {"object": "ApiKey", "active": + true, "key": "", "mode": "production", "created_at": "2023-12-11T17:13:38Z", + "id": "ak_7ef472842fda4256b72779e74653ca79"}], "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", + "keys": [{"object": "ApiKey", "active": true, "key": "", "mode": + "test", "created_at": "2023-12-11T17:13:43Z", "id": "ak_726be943161e4028a347dd2389284d7d"}, + {"object": "ApiKey", "active": true, "key": "", "mode": "production", + "created_at": "2023-12-11T17:13:43Z", "id": "ak_dd9f2e1f14d342679191eee4b69b6ad0"}], + "children": []}, {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "keys": [{"object": + "ApiKey", "active": true, "key": "", "mode": "test", "created_at": + "2024-01-04T19:56:21Z", "id": "ak_e14b2c164b95497a8b9141b2ad212855"}, {"object": + "ApiKey", "active": true, "key": "", "mode": "production", "created_at": + "2024-01-04T19:56:21Z", "id": "ak_a35fabeaec96494694ec0c8726103a80"}], "children": + []}, {"id": "user_31754439d4524fbb8867d138de537e12", "keys": [{"object": "ApiKey", + "active": true, "key": "", "mode": "test", "created_at": "2024-01-19T21:42:21Z", + "id": "ak_dffa08301f7d4a54895f7840d54d05e0"}, {"object": "ApiKey", "active": + true, "key": "", "mode": "production", "created_at": "2024-01-19T21:42:21Z", + "id": "ak_d386ae3ceee04b0880002cd39dca2587"}], "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", + "keys": [{"object": "ApiKey", "active": true, "key": "", "mode": + "test", "created_at": "2024-01-19T21:44:18Z", "id": "ak_92d46dfa461245bba1ec48aac1f2090d"}, + {"object": "ApiKey", "active": true, "key": "", "mode": "production", + "created_at": "2024-01-19T21:44:18Z", "id": "ak_8637c80064224594b9dfdf82efbb27b7"}], + "children": []}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2782' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdae65aaedc8e78baba7001119d5 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.040909' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/users + response: + body: + string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": + null, "name": "New Name", "phone_number": "5555555555", "verified": true, + "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": + false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": + "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", + "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": + null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": + "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User2", "phone_number": "8005550100", "verified": true, "created_at": + "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}, + {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": + "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": + "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": + false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User", "phone_number": "8005550100", "verified": true, "created_at": + "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2010' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdae65aaee37e78bb0d100115e2b + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.161130' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/api_keys + response: + body: + string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "keys": [{"object": + "ApiKey", "active": true, "key": "", "mode": "test", "created_at": + "2022-02-24T20:59:05Z", "id": "ak_16f993eae7984eab94e0957a78bee407"}, {"object": + "ApiKey", "active": true, "key": "", "mode": "production", "created_at": + "2022-02-24T20:59:14Z", "id": "ak_62524a9c3f684f65ab9eccbf70950df8"}], "children": + [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", "keys": [{"object": "ApiKey", + "active": true, "key": "", "mode": "test", "created_at": "2023-12-11T17:13:38Z", + "id": "ak_90e045d452174b3e99198138dc7938f5"}, {"object": "ApiKey", "active": + true, "key": "", "mode": "production", "created_at": "2023-12-11T17:13:38Z", + "id": "ak_7ef472842fda4256b72779e74653ca79"}], "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", + "keys": [{"object": "ApiKey", "active": true, "key": "", "mode": + "test", "created_at": "2023-12-11T17:13:43Z", "id": "ak_726be943161e4028a347dd2389284d7d"}, + {"object": "ApiKey", "active": true, "key": "", "mode": "production", + "created_at": "2023-12-11T17:13:43Z", "id": "ak_dd9f2e1f14d342679191eee4b69b6ad0"}], + "children": []}, {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "keys": [{"object": + "ApiKey", "active": true, "key": "", "mode": "test", "created_at": + "2024-01-04T19:56:21Z", "id": "ak_e14b2c164b95497a8b9141b2ad212855"}, {"object": + "ApiKey", "active": true, "key": "", "mode": "production", "created_at": + "2024-01-04T19:56:21Z", "id": "ak_a35fabeaec96494694ec0c8726103a80"}], "children": + []}, {"id": "user_31754439d4524fbb8867d138de537e12", "keys": [{"object": "ApiKey", + "active": true, "key": "", "mode": "test", "created_at": "2024-01-19T21:42:21Z", + "id": "ak_dffa08301f7d4a54895f7840d54d05e0"}, {"object": "ApiKey", "active": + true, "key": "", "mode": "production", "created_at": "2024-01-19T21:42:21Z", + "id": "ak_d386ae3ceee04b0880002cd39dca2587"}], "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", + "keys": [{"object": "ApiKey", "active": true, "key": "", "mode": + "test", "created_at": "2024-01-19T21:44:18Z", "id": "ak_92d46dfa461245bba1ec48aac1f2090d"}, + {"object": "ApiKey", "active": true, "key": "", "mode": "production", + "created_at": "2024-01-19T21:44:18Z", "id": "ak_8637c80064224594b9dfdf82efbb27b7"}], + "children": []}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2782' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdad65aaee37e78bb0d200115e70 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.040240' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/users + response: + body: + string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": + null, "name": "New Name", "phone_number": "5555555555", "verified": true, + "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": + false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": + "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", + "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": + null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": + "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User2", "phone_number": "8005550100", "verified": true, "created_at": + "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}, + {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": + "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": + "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": + false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User", "phone_number": "8005550100", "verified": true, "created_at": + "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2010' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf054e798bb5e000f56ee + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.195848' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/api_keys + response: + body: + string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "keys": [{"object": + "ApiKey", "active": true, "key": "", "mode": "test", "created_at": + "2022-02-24T20:59:05Z", "id": "ak_16f993eae7984eab94e0957a78bee407"}, {"object": + "ApiKey", "active": true, "key": "", "mode": "production", "created_at": + "2022-02-24T20:59:14Z", "id": "ak_62524a9c3f684f65ab9eccbf70950df8"}], "children": + [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", "keys": [{"object": "ApiKey", + "active": true, "key": "", "mode": "test", "created_at": "2023-12-11T17:13:38Z", + "id": "ak_90e045d452174b3e99198138dc7938f5"}, {"object": "ApiKey", "active": + true, "key": "", "mode": "production", "created_at": "2023-12-11T17:13:38Z", + "id": "ak_7ef472842fda4256b72779e74653ca79"}], "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", + "keys": [{"object": "ApiKey", "active": true, "key": "", "mode": + "test", "created_at": "2023-12-11T17:13:43Z", "id": "ak_726be943161e4028a347dd2389284d7d"}, + {"object": "ApiKey", "active": true, "key": "", "mode": "production", + "created_at": "2023-12-11T17:13:43Z", "id": "ak_dd9f2e1f14d342679191eee4b69b6ad0"}], + "children": []}, {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "keys": [{"object": + "ApiKey", "active": true, "key": "", "mode": "test", "created_at": + "2024-01-04T19:56:21Z", "id": "ak_e14b2c164b95497a8b9141b2ad212855"}, {"object": + "ApiKey", "active": true, "key": "", "mode": "production", "created_at": + "2024-01-04T19:56:21Z", "id": "ak_a35fabeaec96494694ec0c8726103a80"}], "children": + []}, {"id": "user_31754439d4524fbb8867d138de537e12", "keys": [{"object": "ApiKey", + "active": true, "key": "", "mode": "test", "created_at": "2024-01-19T21:42:21Z", + "id": "ak_dffa08301f7d4a54895f7840d54d05e0"}, {"object": "ApiKey", "active": + true, "key": "", "mode": "production", "created_at": "2024-01-19T21:42:21Z", + "id": "ak_d386ae3ceee04b0880002cd39dca2587"}], "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", + "keys": [{"object": "ApiKey", "active": true, "key": "", "mode": + "test", "created_at": "2024-01-19T21:44:18Z", "id": "ak_92d46dfa461245bba1ec48aac1f2090d"}, + {"object": "ApiKey", "active": true, "key": "", "mode": "production", + "created_at": "2024-01-19T21:44:18Z", "id": "ak_8637c80064224594b9dfdf82efbb27b7"}], + "children": []}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2782' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf054e798bb76000f5725 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.031288' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/users + response: + body: + string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": + null, "name": "New Name", "phone_number": "5555555555", "verified": true, + "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": + false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": + "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", + "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": + null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": + "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User2", "phone_number": "8005550100", "verified": true, "created_at": + "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}, + {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": + "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": + "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": + false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User", "phone_number": "8005550100", "verified": true, "created_at": + "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2010' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaf115e798c3be000fe3b9 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.099716' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/api_keys + response: + body: + string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "keys": [{"object": + "ApiKey", "active": true, "key": "", "mode": "test", "created_at": + "2022-02-24T20:59:05Z", "id": "ak_16f993eae7984eab94e0957a78bee407"}, {"object": + "ApiKey", "active": true, "key": "", "mode": "production", "created_at": + "2022-02-24T20:59:14Z", "id": "ak_62524a9c3f684f65ab9eccbf70950df8"}], "children": + [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", "keys": [{"object": "ApiKey", + "active": true, "key": "", "mode": "test", "created_at": "2023-12-11T17:13:38Z", + "id": "ak_90e045d452174b3e99198138dc7938f5"}, {"object": "ApiKey", "active": + true, "key": "", "mode": "production", "created_at": "2023-12-11T17:13:38Z", + "id": "ak_7ef472842fda4256b72779e74653ca79"}], "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", + "keys": [{"object": "ApiKey", "active": true, "key": "", "mode": + "test", "created_at": "2023-12-11T17:13:43Z", "id": "ak_726be943161e4028a347dd2389284d7d"}, + {"object": "ApiKey", "active": true, "key": "", "mode": "production", + "created_at": "2023-12-11T17:13:43Z", "id": "ak_dd9f2e1f14d342679191eee4b69b6ad0"}], + "children": []}, {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "keys": [{"object": + "ApiKey", "active": true, "key": "", "mode": "test", "created_at": + "2024-01-04T19:56:21Z", "id": "ak_e14b2c164b95497a8b9141b2ad212855"}, {"object": + "ApiKey", "active": true, "key": "", "mode": "production", "created_at": + "2024-01-04T19:56:21Z", "id": "ak_a35fabeaec96494694ec0c8726103a80"}], "children": + []}, {"id": "user_31754439d4524fbb8867d138de537e12", "keys": [{"object": "ApiKey", + "active": true, "key": "", "mode": "test", "created_at": "2024-01-19T21:42:21Z", + "id": "ak_dffa08301f7d4a54895f7840d54d05e0"}, {"object": "ApiKey", "active": + true, "key": "", "mode": "production", "created_at": "2024-01-19T21:42:21Z", + "id": "ak_d386ae3ceee04b0880002cd39dca2587"}], "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", + "keys": [{"object": "ApiKey", "active": true, "key": "", "mode": + "test", "created_at": "2024-01-19T21:44:18Z", "id": "ak_92d46dfa461245bba1ec48aac1f2090d"}, + {"object": "ApiKey", "active": true, "key": "", "mode": "production", + "created_at": "2024-01-19T21:44:18Z", "id": "ak_8637c80064224594b9dfdf82efbb27b7"}], + "children": []}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2782' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf116e798c3bf000fe407 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.032155' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/users + response: + body: + string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": + null, "name": "New Name", "phone_number": "5555555555", "verified": true, + "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": + false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": + "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", + "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": + null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": + "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User2", "phone_number": "8005550100", "verified": true, "created_at": + "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}, + {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": + "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": + "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": + false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User", "phone_number": "8005550100", "verified": true, "created_at": + "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2010' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaf190e798c907001050d1 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.087941' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/api_keys + response: + body: + string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "keys": [{"object": + "ApiKey", "active": true, "key": "", "mode": "test", "created_at": + "2022-02-24T20:59:05Z", "id": "ak_16f993eae7984eab94e0957a78bee407"}, {"object": + "ApiKey", "active": true, "key": "", "mode": "production", "created_at": + "2022-02-24T20:59:14Z", "id": "ak_62524a9c3f684f65ab9eccbf70950df8"}], "children": + [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", "keys": [{"object": "ApiKey", + "active": true, "key": "", "mode": "test", "created_at": "2023-12-11T17:13:38Z", + "id": "ak_90e045d452174b3e99198138dc7938f5"}, {"object": "ApiKey", "active": + true, "key": "", "mode": "production", "created_at": "2023-12-11T17:13:38Z", + "id": "ak_7ef472842fda4256b72779e74653ca79"}], "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", + "keys": [{"object": "ApiKey", "active": true, "key": "", "mode": + "test", "created_at": "2023-12-11T17:13:43Z", "id": "ak_726be943161e4028a347dd2389284d7d"}, + {"object": "ApiKey", "active": true, "key": "", "mode": "production", + "created_at": "2023-12-11T17:13:43Z", "id": "ak_dd9f2e1f14d342679191eee4b69b6ad0"}], + "children": []}, {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "keys": [{"object": + "ApiKey", "active": true, "key": "", "mode": "test", "created_at": + "2024-01-04T19:56:21Z", "id": "ak_e14b2c164b95497a8b9141b2ad212855"}, {"object": + "ApiKey", "active": true, "key": "", "mode": "production", "created_at": + "2024-01-04T19:56:21Z", "id": "ak_a35fabeaec96494694ec0c8726103a80"}], "children": + []}, {"id": "user_31754439d4524fbb8867d138de537e12", "keys": [{"object": "ApiKey", + "active": true, "key": "", "mode": "test", "created_at": "2024-01-19T21:42:21Z", + "id": "ak_dffa08301f7d4a54895f7840d54d05e0"}, {"object": "ApiKey", "active": + true, "key": "", "mode": "production", "created_at": "2024-01-19T21:42:21Z", + "id": "ak_d386ae3ceee04b0880002cd39dca2587"}], "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", + "keys": [{"object": "ApiKey", "active": true, "key": "", "mode": + "test", "created_at": "2024-01-19T21:44:18Z", "id": "ak_92d46dfa461245bba1ec48aac1f2090d"}, + {"object": "ApiKey", "active": true, "key": "", "mode": "production", + "created_at": "2024-01-19T21:44:18Z", "id": "ak_8637c80064224594b9dfdf82efbb27b7"}], + "children": []}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2782' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf191e798c90800105102 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.054444' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/users + response: + body: + string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": + null, "name": "New Name", "phone_number": "5555555555", "verified": true, + "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": + false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": + "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", + "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": + null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": + "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User2", "phone_number": "8005550100", "verified": true, "created_at": + "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}, + {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": + "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": + "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": + false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User", "phone_number": "8005550100", "verified": true, "created_at": + "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2010' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaf1a7e798cc8000106307 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.087308' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/api_keys + response: + body: + string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "keys": [{"object": + "ApiKey", "active": true, "key": "", "mode": "test", "created_at": + "2022-02-24T20:59:05Z", "id": "ak_16f993eae7984eab94e0957a78bee407"}, {"object": + "ApiKey", "active": true, "key": "", "mode": "production", "created_at": + "2022-02-24T20:59:14Z", "id": "ak_62524a9c3f684f65ab9eccbf70950df8"}], "children": + [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", "keys": [{"object": "ApiKey", + "active": true, "key": "", "mode": "test", "created_at": "2023-12-11T17:13:38Z", + "id": "ak_90e045d452174b3e99198138dc7938f5"}, {"object": "ApiKey", "active": + true, "key": "", "mode": "production", "created_at": "2023-12-11T17:13:38Z", + "id": "ak_7ef472842fda4256b72779e74653ca79"}], "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", + "keys": [{"object": "ApiKey", "active": true, "key": "", "mode": + "test", "created_at": "2023-12-11T17:13:43Z", "id": "ak_726be943161e4028a347dd2389284d7d"}, + {"object": "ApiKey", "active": true, "key": "", "mode": "production", + "created_at": "2023-12-11T17:13:43Z", "id": "ak_dd9f2e1f14d342679191eee4b69b6ad0"}], + "children": []}, {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "keys": [{"object": + "ApiKey", "active": true, "key": "", "mode": "test", "created_at": + "2024-01-04T19:56:21Z", "id": "ak_e14b2c164b95497a8b9141b2ad212855"}, {"object": + "ApiKey", "active": true, "key": "", "mode": "production", "created_at": + "2024-01-04T19:56:21Z", "id": "ak_a35fabeaec96494694ec0c8726103a80"}], "children": + []}, {"id": "user_31754439d4524fbb8867d138de537e12", "keys": [{"object": "ApiKey", + "active": true, "key": "", "mode": "test", "created_at": "2024-01-19T21:42:21Z", + "id": "ak_dffa08301f7d4a54895f7840d54d05e0"}, {"object": "ApiKey", "active": + true, "key": "", "mode": "production", "created_at": "2024-01-19T21:42:21Z", + "id": "ak_d386ae3ceee04b0880002cd39dca2587"}], "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", + "keys": [{"object": "ApiKey", "active": true, "key": "", "mode": + "test", "created_at": "2024-01-19T21:44:18Z", "id": "ak_92d46dfa461245bba1ec48aac1f2090d"}, + {"object": "ApiKey", "active": true, "key": "", "mode": "production", + "created_at": "2024-01-19T21:44:18Z", "id": "ak_8637c80064224594b9dfdf82efbb27b7"}], + "children": []}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2782' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf1a8e798cc8100106342 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.033455' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/users + response: + body: + string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": + null, "name": "New Name", "phone_number": "5555555555", "verified": true, + "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": + false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": + "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", + "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": + null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": + "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User2", "phone_number": "8005550100", "verified": true, "created_at": + "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}, + {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": + "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": + "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": + false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User", "phone_number": "8005550100", "verified": true, "created_at": + "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2010' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf253e798d1620010d9b5 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.087212' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/api_keys + response: + body: + string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "keys": [{"object": + "ApiKey", "active": true, "key": "", "mode": "test", "created_at": + "2022-02-24T20:59:05Z", "id": "ak_16f993eae7984eab94e0957a78bee407"}, {"object": + "ApiKey", "active": true, "key": "", "mode": "production", "created_at": + "2022-02-24T20:59:14Z", "id": "ak_62524a9c3f684f65ab9eccbf70950df8"}], "children": + [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", "keys": [{"object": "ApiKey", + "active": true, "key": "", "mode": "test", "created_at": "2023-12-11T17:13:38Z", + "id": "ak_90e045d452174b3e99198138dc7938f5"}, {"object": "ApiKey", "active": + true, "key": "", "mode": "production", "created_at": "2023-12-11T17:13:38Z", + "id": "ak_7ef472842fda4256b72779e74653ca79"}], "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", + "keys": [{"object": "ApiKey", "active": true, "key": "", "mode": + "test", "created_at": "2023-12-11T17:13:43Z", "id": "ak_726be943161e4028a347dd2389284d7d"}, + {"object": "ApiKey", "active": true, "key": "", "mode": "production", + "created_at": "2023-12-11T17:13:43Z", "id": "ak_dd9f2e1f14d342679191eee4b69b6ad0"}], + "children": []}, {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "keys": [{"object": + "ApiKey", "active": true, "key": "", "mode": "test", "created_at": + "2024-01-04T19:56:21Z", "id": "ak_e14b2c164b95497a8b9141b2ad212855"}, {"object": + "ApiKey", "active": true, "key": "", "mode": "production", "created_at": + "2024-01-04T19:56:21Z", "id": "ak_a35fabeaec96494694ec0c8726103a80"}], "children": + []}, {"id": "user_31754439d4524fbb8867d138de537e12", "keys": [{"object": "ApiKey", + "active": true, "key": "", "mode": "test", "created_at": "2024-01-19T21:42:21Z", + "id": "ak_dffa08301f7d4a54895f7840d54d05e0"}, {"object": "ApiKey", "active": + true, "key": "", "mode": "production", "created_at": "2024-01-19T21:42:21Z", + "id": "ak_d386ae3ceee04b0880002cd39dca2587"}], "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", + "keys": [{"object": "ApiKey", "active": true, "key": "", "mode": + "test", "created_at": "2024-01-19T21:44:18Z", "id": "ak_92d46dfa461245bba1ec48aac1f2090d"}, + {"object": "ApiKey", "active": true, "key": "", "mode": "production", + "created_at": "2024-01-19T21:44:18Z", "id": "ak_8637c80064224594b9dfdf82efbb27b7"}], + "children": []}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2782' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf253e798d1630010d9e9 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.030268' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/users + response: + body: + string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": + null, "name": "New Name", "phone_number": "5555555555", "verified": true, + "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": + false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": + "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", + "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": + null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": + "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User2", "phone_number": "8005550100", "verified": true, "created_at": + "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}, + {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": + "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": + "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": + false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User", "phone_number": "8005550100", "verified": true, "created_at": + "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2010' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465ab07e7e799e544001d72e5 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.093711' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/api_keys + response: + body: + string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "keys": [{"object": + "ApiKey", "active": true, "key": "", "mode": "test", "created_at": + "2022-02-24T20:59:05Z", "id": "ak_16f993eae7984eab94e0957a78bee407"}, {"object": + "ApiKey", "active": true, "key": "", "mode": "production", "created_at": + "2022-02-24T20:59:14Z", "id": "ak_62524a9c3f684f65ab9eccbf70950df8"}], "children": + [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", "keys": [{"object": "ApiKey", + "active": true, "key": "", "mode": "test", "created_at": "2023-12-11T17:13:38Z", + "id": "ak_90e045d452174b3e99198138dc7938f5"}, {"object": "ApiKey", "active": + true, "key": "", "mode": "production", "created_at": "2023-12-11T17:13:38Z", + "id": "ak_7ef472842fda4256b72779e74653ca79"}], "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", + "keys": [{"object": "ApiKey", "active": true, "key": "", "mode": + "test", "created_at": "2023-12-11T17:13:43Z", "id": "ak_726be943161e4028a347dd2389284d7d"}, + {"object": "ApiKey", "active": true, "key": "", "mode": "production", + "created_at": "2023-12-11T17:13:43Z", "id": "ak_dd9f2e1f14d342679191eee4b69b6ad0"}], + "children": []}, {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "keys": [{"object": + "ApiKey", "active": true, "key": "", "mode": "test", "created_at": + "2024-01-04T19:56:21Z", "id": "ak_e14b2c164b95497a8b9141b2ad212855"}, {"object": + "ApiKey", "active": true, "key": "", "mode": "production", "created_at": + "2024-01-04T19:56:21Z", "id": "ak_a35fabeaec96494694ec0c8726103a80"}], "children": + []}, {"id": "user_31754439d4524fbb8867d138de537e12", "keys": [{"object": "ApiKey", + "active": true, "key": "", "mode": "test", "created_at": "2024-01-19T21:42:21Z", + "id": "ak_dffa08301f7d4a54895f7840d54d05e0"}, {"object": "ApiKey", "active": + true, "key": "", "mode": "production", "created_at": "2024-01-19T21:42:21Z", + "id": "ak_d386ae3ceee04b0880002cd39dca2587"}], "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", + "keys": [{"object": "ApiKey", "active": true, "key": "", "mode": + "test", "created_at": "2024-01-19T21:44:18Z", "id": "ak_92d46dfa461245bba1ec48aac1f2090d"}, + {"object": "ApiKey", "active": true, "key": "", "mode": "production", + "created_at": "2024-01-19T21:44:18Z", "id": "ak_8637c80064224594b9dfdf82efbb27b7"}], + "children": []}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2782' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765ab07e7e799e545001d730e + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.032260' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_batches_add_shipments.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_batches_add_shipments.yaml new file mode 100644 index 00000000..25472324 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_batches_add_shipments.yaml @@ -0,0 +1,3298 @@ +interactions: +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:40:11Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010707504", "updated_at": "2024-01-19T21:40:12Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_72e4c7185c5b4ec69615d6c971dee66b", "object": "CustomsInfo", "created_at": + "2024-01-19T21:40:11Z", "updated_at": "2024-01-19T21:40:11Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_2797752246e145ee8fec30d105775cf4", + "object": "CustomsItem", "created_at": "2024-01-19T21:40:11Z", "updated_at": + "2024-01-19T21:40:11Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_52edc801b71311ee8c98ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:40:11+00:00", "updated_at": + "2024-01-19T21:40:11+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_83771c84ba2f44e380277f2cb68341b6", + "object": "Parcel", "created_at": "2024-01-19T21:40:11Z", "updated_at": "2024-01-19T21:40:11Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_3deec53529304deeb3f235647b0afa77", "created_at": "2024-01-19T21:40:12Z", + "updated_at": "2024-01-19T21:40:12Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:40:12Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8f4073da265da4808a8ab9bd2ef2f5d56.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_0b01cebe43444895bf2c9686f3fdb132", "object": + "Rate", "created_at": "2024-01-19T21:40:12Z", "updated_at": "2024-01-19T21:40:12Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_8f16c7d5967b4682ad8596a1475d023d", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_a51440eb856f42ae8d8e882a6edaf436", + "object": "Rate", "created_at": "2024-01-19T21:40:12Z", "updated_at": "2024-01-19T21:40:12Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_8f16c7d5967b4682ad8596a1475d023d", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_cb4b0c12ab4f4df2a65a488453a1a2ef", + "object": "Rate", "created_at": "2024-01-19T21:40:12Z", "updated_at": "2024-01-19T21:40:12Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_8f16c7d5967b4682ad8596a1475d023d", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_bea883c833404fdbafcfbac2616befc8", + "object": "Rate", "created_at": "2024-01-19T21:40:12Z", "updated_at": "2024-01-19T21:40:12Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_8f16c7d5967b4682ad8596a1475d023d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_710f4d6a29504881aaa8c29a6712649a", "object": "Rate", "created_at": + "2024-01-19T21:40:12Z", "updated_at": "2024-01-19T21:40:12Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_8f16c7d5967b4682ad8596a1475d023d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_a51440eb856f42ae8d8e882a6edaf436", + "object": "Rate", "created_at": "2024-01-19T21:40:12Z", "updated_at": "2024-01-19T21:40:12Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_8f16c7d5967b4682ad8596a1475d023d", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_d84c2ee8a14a4e63a8e671e84d04583f", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010707504", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:40:12Z", + "updated_at": "2024-01-19T21:40:12Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_8f16c7d5967b4682ad8596a1475d023d", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrX2Q4NGMyZWU4YTE0YTRlNjNhOGU2NzFlODRkMDQ1ODNm"}, + "to_address": {"id": "adr_52eba5dfb71311ee8c94ac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T21:40:11+00:00", "updated_at": "2024-01-19T21:40:12+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_52edc801b71311ee8c98ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:40:11+00:00", "updated_at": + "2024-01-19T21:40:11+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_52eba5dfb71311ee8c94ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:40:11+00:00", "updated_at": "2024-01-19T21:40:12+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_8f16c7d5967b4682ad8596a1475d023d", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_8f16c7d5967b4682ad8596a1475d023d + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaec3be78b9b07000cbca8 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.066978' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"batch": {}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '13' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches + response: + body: + string: '{"id": "batch_64a58d60294943d8ae88db0b5094a907", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 0, "reference": null, + "created_at": "2024-01-19T21:40:13Z", "updated_at": "2024-01-19T21:40:13Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '383' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaec3de78b9b08000cbd8a + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.051516' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipments": [{"id": "shp_8f16c7d5967b4682ad8596a1475d023d"}]}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '63' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches/batch_64a58d60294943d8ae88db0b5094a907/add_shipments + response: + body: + string: '{"id": "batch_64a58d60294943d8ae88db0b5094a907", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T21:40:13Z", "updated_at": "2024-01-19T21:40:13Z", + "scan_form": null, "shipments": [{"batch_status": "postage_purchased", "batch_message": + null, "reference": null, "tracking_code": "9405500207552010707504", "id": + "shp_8f16c7d5967b4682ad8596a1475d023d"}], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 1, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '542' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaec3de78b9b09000cbdb9 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.072559' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:43:01Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010707917", "updated_at": "2024-01-19T21:43:02Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_33a31ca1ebb24bb9a5ca9c5d453b59cf", "object": "CustomsInfo", "created_at": + "2024-01-19T21:43:01Z", "updated_at": "2024-01-19T21:43:01Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_2cebbb972069486b95d407063972f8bc", + "object": "CustomsItem", "created_at": "2024-01-19T21:43:01Z", "updated_at": + "2024-01-19T21:43:01Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_b84bd3c0b71311eeb15bac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:43:01+00:00", "updated_at": + "2024-01-19T21:43:01+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_995af5528c48452b8727216816e56840", + "object": "Parcel", "created_at": "2024-01-19T21:43:01Z", "updated_at": "2024-01-19T21:43:01Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_8b464011c18542739059aeefddc4cc4d", "created_at": "2024-01-19T21:43:02Z", + "updated_at": "2024-01-19T21:43:02Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:43:02Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e891e51c2537324682a22e36e209a43bf6.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_6d6be089c48442238b3289f0afebecb6", "object": + "Rate", "created_at": "2024-01-19T21:43:02Z", "updated_at": "2024-01-19T21:43:02Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_ef011bbbf5924189be26e55ab3511632", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_64bf62de930f4b87a9671c23f0e605ea", + "object": "Rate", "created_at": "2024-01-19T21:43:02Z", "updated_at": "2024-01-19T21:43:02Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_ef011bbbf5924189be26e55ab3511632", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_dbee3dfae1ab428ab7d02279dd6e1d2a", + "object": "Rate", "created_at": "2024-01-19T21:43:02Z", "updated_at": "2024-01-19T21:43:02Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_ef011bbbf5924189be26e55ab3511632", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_25ac07d6e0404aa98ee345db52a59d50", "object": "Rate", "created_at": + "2024-01-19T21:43:02Z", "updated_at": "2024-01-19T21:43:02Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_ef011bbbf5924189be26e55ab3511632", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_6767e5124e82448ea2170311e50b8452", "object": "Rate", "created_at": + "2024-01-19T21:43:02Z", "updated_at": "2024-01-19T21:43:02Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_ef011bbbf5924189be26e55ab3511632", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_6d6be089c48442238b3289f0afebecb6", + "object": "Rate", "created_at": "2024-01-19T21:43:02Z", "updated_at": "2024-01-19T21:43:02Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_ef011bbbf5924189be26e55ab3511632", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_3d4648c53c894ae6ab4fecbe4295cd99", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010707917", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:43:02Z", + "updated_at": "2024-01-19T21:43:02Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_ef011bbbf5924189be26e55ab3511632", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzNkNDY0OGM1M2M4OTRhZTZhYjRmZWNiZTQyOTVjZDk5"}, + "to_address": {"id": "adr_b849bfb7b71311eeb158ac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T21:43:01+00:00", "updated_at": "2024-01-19T21:43:02+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_b84bd3c0b71311eeb15bac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:43:01+00:00", "updated_at": + "2024-01-19T21:43:01+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_b849bfb7b71311eeb158ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:43:01+00:00", "updated_at": "2024-01-19T21:43:02+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_ef011bbbf5924189be26e55ab3511632", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_ef011bbbf5924189be26e55ab3511632 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaece5e78ba328000d282e + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.007508' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"batch": {}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '13' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches + response: + body: + string: '{"id": "batch_8c9fecbc823849d8b582b31f4844f949", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 0, "reference": null, + "created_at": "2024-01-19T21:43:03Z", "updated_at": "2024-01-19T21:43:03Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '383' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaece7e78ba329000d28ec + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.040663' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipments": [{"id": "shp_ef011bbbf5924189be26e55ab3511632"}]}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '63' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches/batch_8c9fecbc823849d8b582b31f4844f949/add_shipments + response: + body: + string: '{"id": "batch_8c9fecbc823849d8b582b31f4844f949", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T21:43:03Z", "updated_at": "2024-01-19T21:43:03Z", + "scan_form": null, "shipments": [{"batch_status": "postage_purchased", "batch_message": + null, "reference": null, "tracking_code": "9405500207552010707917", "id": + "shp_ef011bbbf5924189be26e55ab3511632"}], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 1, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '542' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaece7e78ba341000d2928 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.054020' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:46:51Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010708327", "updated_at": "2024-01-19T21:46:52Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_13cc1b1e0ed94c878609bef8c268ddca", "object": "CustomsInfo", "created_at": + "2024-01-19T21:46:51Z", "updated_at": "2024-01-19T21:46:51Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_8f85dc202f5d402aa9af47a86a8117ce", + "object": "CustomsItem", "created_at": "2024-01-19T21:46:51Z", "updated_at": + "2024-01-19T21:46:51Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_4151b656b71411eeae00ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:46:51+00:00", "updated_at": + "2024-01-19T21:46:51+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_cfbf22aac6534cb5be71da58794dba74", + "object": "Parcel", "created_at": "2024-01-19T21:46:51Z", "updated_at": "2024-01-19T21:46:51Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_9899aaa6e2254910a08a863bbd6afbd6", "created_at": "2024-01-19T21:46:52Z", + "updated_at": "2024-01-19T21:46:52Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:46:52Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8a859c7ee95b148a1a3ff58adfbf183ee.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_5aa362a7a51d4239a94b0a6f3724b119", "object": + "Rate", "created_at": "2024-01-19T21:46:51Z", "updated_at": "2024-01-19T21:46:51Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_6f2a5992d5554c549f88d82a74da990e", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b7ebe7e0a6814670bb0750d89fa0a3d6", + "object": "Rate", "created_at": "2024-01-19T21:46:51Z", "updated_at": "2024-01-19T21:46:51Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_6f2a5992d5554c549f88d82a74da990e", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_81c8c62506454d3bacf797369838bc11", + "object": "Rate", "created_at": "2024-01-19T21:46:51Z", "updated_at": "2024-01-19T21:46:51Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_6f2a5992d5554c549f88d82a74da990e", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_4fb07f6e6d5e4944a3ee59e59c5f9ecc", "object": "Rate", "created_at": + "2024-01-19T21:46:52Z", "updated_at": "2024-01-19T21:46:52Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_6f2a5992d5554c549f88d82a74da990e", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_07526e442c27461b8c02082e1cbfa3ef", "object": "Rate", "created_at": + "2024-01-19T21:46:52Z", "updated_at": "2024-01-19T21:46:52Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_6f2a5992d5554c549f88d82a74da990e", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_5aa362a7a51d4239a94b0a6f3724b119", + "object": "Rate", "created_at": "2024-01-19T21:46:52Z", "updated_at": "2024-01-19T21:46:52Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_6f2a5992d5554c549f88d82a74da990e", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_244f3c7cc0c24f5a8d41b222c672cc14", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708327", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:46:52Z", + "updated_at": "2024-01-19T21:46:52Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_6f2a5992d5554c549f88d82a74da990e", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzI0NGYzYzdjYzBjMjRmNWE4ZDQxYjIyMmM2NzJjYzE0"}, + "to_address": {"id": "adr_414f57cdb71411ee9f72ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:46:51+00:00", "updated_at": "2024-01-19T21:46:52+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_4151b656b71411eeae00ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:46:51+00:00", "updated_at": + "2024-01-19T21:46:51+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_414f57cdb71411ee9f72ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:46:51+00:00", "updated_at": "2024-01-19T21:46:52+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_6f2a5992d5554c549f88d82a74da990e", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_6f2a5992d5554c549f88d82a74da990e + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdae65aaedcbe78babcb00111c07 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '1.302086' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"batch": {}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '13' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches + response: + body: + string: '{"id": "batch_2d9e5fbd0b214ab2ac9f7a14d9290034", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 0, "reference": null, + "created_at": "2024-01-19T21:46:53Z", "updated_at": "2024-01-19T21:46:53Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '383' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdaa65aaedcde78babcc00111ced + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.036904' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipments": [{"id": "shp_6f2a5992d5554c549f88d82a74da990e"}]}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '63' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches/batch_2d9e5fbd0b214ab2ac9f7a14d9290034/add_shipments + response: + body: + string: '{"id": "batch_2d9e5fbd0b214ab2ac9f7a14d9290034", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T21:46:53Z", "updated_at": "2024-01-19T21:46:53Z", + "scan_form": null, "shipments": [{"batch_status": "postage_purchased", "batch_message": + null, "reference": null, "tracking_code": "9405500207552010708327", "id": + "shp_6f2a5992d5554c549f88d82a74da990e"}], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 1, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '542' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda965aaedcde78babe400111d16 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.046767' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:48:43Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010708785", "updated_at": "2024-01-19T21:48:44Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_ff059baa6c784095a6f5f7b153d6bf50", "object": "CustomsInfo", "created_at": + "2024-01-19T21:48:43Z", "updated_at": "2024-01-19T21:48:43Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_bec42e9f26e445ca8230b378fb45c13d", + "object": "CustomsItem", "created_at": "2024-01-19T21:48:43Z", "updated_at": + "2024-01-19T21:48:43Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_83eb8fdeb71411ee8288ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:48:43+00:00", "updated_at": + "2024-01-19T21:48:43+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_bcd835b2f37644f7ab9e775de7c6f6ab", + "object": "Parcel", "created_at": "2024-01-19T21:48:43Z", "updated_at": "2024-01-19T21:48:43Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_12f97a0575dd4a45bba3e5d2db53dd37", "created_at": "2024-01-19T21:48:44Z", + "updated_at": "2024-01-19T21:48:44Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:48:44Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e891a752eb17cf4722875458dd91d4b8b7.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_b5f74e92de5f408b9a8685401c8006f7", "object": + "Rate", "created_at": "2024-01-19T21:48:43Z", "updated_at": "2024-01-19T21:48:43Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_6045f2888664459b8afc616132f5bd54", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_6f37a6929fe34ae9b3a9d855904d2651", + "object": "Rate", "created_at": "2024-01-19T21:48:43Z", "updated_at": "2024-01-19T21:48:43Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_6045f2888664459b8afc616132f5bd54", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_56a2b62e102346f3ab125574b64e1b27", + "object": "Rate", "created_at": "2024-01-19T21:48:43Z", "updated_at": "2024-01-19T21:48:43Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_6045f2888664459b8afc616132f5bd54", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_8b369dc08e82407ca30f2e97b14d967e", "object": "Rate", "created_at": + "2024-01-19T21:48:43Z", "updated_at": "2024-01-19T21:48:43Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_6045f2888664459b8afc616132f5bd54", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_474c7f1ddb5c49708ef531c69b1ab8cd", "object": "Rate", "created_at": + "2024-01-19T21:48:43Z", "updated_at": "2024-01-19T21:48:43Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_6045f2888664459b8afc616132f5bd54", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_b5f74e92de5f408b9a8685401c8006f7", + "object": "Rate", "created_at": "2024-01-19T21:48:44Z", "updated_at": "2024-01-19T21:48:44Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_6045f2888664459b8afc616132f5bd54", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_fe88ddb561054d11b3403bdd0a627944", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708785", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:48:44Z", + "updated_at": "2024-01-19T21:48:44Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_6045f2888664459b8afc616132f5bd54", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrX2ZlODhkZGI1NjEwNTRkMTFiMzQwM2JkZDBhNjI3OTQ0"}, + "to_address": {"id": "adr_83e901c0b71411ee8287ac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T21:48:43+00:00", "updated_at": "2024-01-19T21:48:43+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_83eb8fdeb71411ee8288ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:48:43+00:00", "updated_at": + "2024-01-19T21:48:43+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_83e901c0b71411ee8287ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:48:43+00:00", "updated_at": "2024-01-19T21:48:43+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_6045f2888664459b8afc616132f5bd54", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_6045f2888664459b8afc616132f5bd54 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdad65aaee3be78bb0f300116090 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '1.075272' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"batch": {}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '13' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches + response: + body: + string: '{"id": "batch_2473f389354e463e930fae041502559d", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 0, "reference": null, + "created_at": "2024-01-19T21:48:44Z", "updated_at": "2024-01-19T21:48:44Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '383' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda765aaee3ce78bb0f40011613e + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.034680' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipments": [{"id": "shp_6045f2888664459b8afc616132f5bd54"}]}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '63' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches/batch_2473f389354e463e930fae041502559d/add_shipments + response: + body: + string: '{"id": "batch_2473f389354e463e930fae041502559d", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T21:48:44Z", "updated_at": "2024-01-19T21:48:44Z", + "scan_form": null, "shipments": [{"batch_status": "postage_purchased", "batch_message": + null, "reference": null, "tracking_code": "9405500207552010708785", "id": + "shp_6045f2888664459b8afc616132f5bd54"}], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 1, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '542' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda865aaee3de78bb4030011615f + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.049048' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:57:54Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010711242", "updated_at": "2024-01-19T21:57:54Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_9272e1873cc347358509462b2d53a867", "object": "CustomsInfo", "created_at": + "2024-01-19T21:57:54Z", "updated_at": "2024-01-19T21:57:54Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_21f2bf9758a14d999afcefc3abfaaa76", + "object": "CustomsItem", "created_at": "2024-01-19T21:57:54Z", "updated_at": + "2024-01-19T21:57:54Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_cc0eff4db71511ee9f033cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:57:54+00:00", "updated_at": + "2024-01-19T21:57:54+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_30c95b4aa1ec4a50bbf89452d55c798a", + "object": "Parcel", "created_at": "2024-01-19T21:57:54Z", "updated_at": "2024-01-19T21:57:54Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_85390cf71a7a43c091eefc4485876a31", "created_at": "2024-01-19T21:57:54Z", + "updated_at": "2024-01-19T21:57:54Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:57:54Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8cd8d0566ffc740e0b74833a02c8c2e8a.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_040377f740334a26a15db4e858e193fa", "object": + "Rate", "created_at": "2024-01-19T21:57:54Z", "updated_at": "2024-01-19T21:57:54Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_f23041f2756547e79ea9f2abebad2427", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_a8b5b32c55fe41ef89c9e7d0d450a7ac", + "object": "Rate", "created_at": "2024-01-19T21:57:54Z", "updated_at": "2024-01-19T21:57:54Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_f23041f2756547e79ea9f2abebad2427", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_3f638533152846eda5c2a1f93cbd02be", + "object": "Rate", "created_at": "2024-01-19T21:57:54Z", "updated_at": "2024-01-19T21:57:54Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_f23041f2756547e79ea9f2abebad2427", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_323107b51f2945bd9e28ca1b5fa51d55", "object": "Rate", "created_at": + "2024-01-19T21:57:54Z", "updated_at": "2024-01-19T21:57:54Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_f23041f2756547e79ea9f2abebad2427", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_3ee73e5af1c94259a7113aceb00a3a53", "object": "Rate", "created_at": + "2024-01-19T21:57:54Z", "updated_at": "2024-01-19T21:57:54Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_f23041f2756547e79ea9f2abebad2427", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_040377f740334a26a15db4e858e193fa", + "object": "Rate", "created_at": "2024-01-19T21:57:54Z", "updated_at": "2024-01-19T21:57:54Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_f23041f2756547e79ea9f2abebad2427", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_681f3aa262a14b69a824d6a48d51f5a6", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711242", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:57:55Z", + "updated_at": "2024-01-19T21:57:55Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_f23041f2756547e79ea9f2abebad2427", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzY4MWYzYWEyNjJhMTRiNjlhODI0ZDZhNDhkNTFmNWE2"}, + "to_address": {"id": "adr_cc0c80c2b71511eea2e7ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:57:54+00:00", "updated_at": "2024-01-19T21:57:54+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_cc0eff4db71511ee9f033cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:57:54+00:00", "updated_at": + "2024-01-19T21:57:54+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_cc0c80c2b71511eea2e7ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:57:54+00:00", "updated_at": "2024-01-19T21:57:54+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_f23041f2756547e79ea9f2abebad2427", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_f23041f2756547e79ea9f2abebad2427 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf062e798bb97000f5f82 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.020327' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"batch": {}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '13' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches + response: + body: + string: '{"id": "batch_a50b2ffe2d08448b976d0ee3482275ca", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 0, "reference": null, + "created_at": "2024-01-19T21:57:55Z", "updated_at": "2024-01-19T21:57:55Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '383' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaf063e798bb98000f6048 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.037783' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipments": [{"id": "shp_f23041f2756547e79ea9f2abebad2427"}]}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '63' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches/batch_a50b2ffe2d08448b976d0ee3482275ca/add_shipments + response: + body: + string: '{"id": "batch_a50b2ffe2d08448b976d0ee3482275ca", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T21:57:55Z", "updated_at": "2024-01-19T21:57:55Z", + "scan_form": null, "shipments": [{"batch_status": "postage_purchased", "batch_message": + null, "reference": null, "tracking_code": "9405500207552010711242", "id": + "shp_f23041f2756547e79ea9f2abebad2427"}], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 1, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '542' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaf063e798bb99000f6066 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.053846' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T22:00:57Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010711723", "updated_at": "2024-01-19T22:00:58Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_5987ca56f2f54de19d8613c53f2a2b36", "object": "CustomsInfo", "created_at": + "2024-01-19T22:00:57Z", "updated_at": "2024-01-19T22:00:57Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_9f6d4507cd4d444b85d82725ea683584", + "object": "CustomsItem", "created_at": "2024-01-19T22:00:57Z", "updated_at": + "2024-01-19T22:00:57Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_396de62eb71611ee8360ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:00:57+00:00", "updated_at": + "2024-01-19T22:00:57+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_2c6b52ece96c47c59dc236afa9a07d69", + "object": "Parcel", "created_at": "2024-01-19T22:00:57Z", "updated_at": "2024-01-19T22:00:57Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_dc491e7fcb5d4532bbb6890dc3124644", "created_at": "2024-01-19T22:00:58Z", + "updated_at": "2024-01-19T22:00:58Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T22:00:58Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8caec0e9ab5a648af8ced7032b53ca108.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_e6af8f343c8845e88e5d1f4f2675ca29", "object": + "Rate", "created_at": "2024-01-19T22:00:57Z", "updated_at": "2024-01-19T22:00:57Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_7f11d573891d4ff7a06db0b00e5ce4c2", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_6a60c9e150fc48f795df5ea7e1ac5f1f", + "object": "Rate", "created_at": "2024-01-19T22:00:57Z", "updated_at": "2024-01-19T22:00:57Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_7f11d573891d4ff7a06db0b00e5ce4c2", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_1b3525545ab54b9ea5171a258d8118f7", + "object": "Rate", "created_at": "2024-01-19T22:00:57Z", "updated_at": "2024-01-19T22:00:57Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_7f11d573891d4ff7a06db0b00e5ce4c2", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f140fd3d32534a4c9e5149bf2217f8c7", + "object": "Rate", "created_at": "2024-01-19T22:00:57Z", "updated_at": "2024-01-19T22:00:57Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_7f11d573891d4ff7a06db0b00e5ce4c2", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_869cab41262a45989a161ef5a961a7a2", "object": "Rate", "created_at": + "2024-01-19T22:00:57Z", "updated_at": "2024-01-19T22:00:57Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_7f11d573891d4ff7a06db0b00e5ce4c2", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_6a60c9e150fc48f795df5ea7e1ac5f1f", + "object": "Rate", "created_at": "2024-01-19T22:00:58Z", "updated_at": "2024-01-19T22:00:58Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_7f11d573891d4ff7a06db0b00e5ce4c2", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_0c1159fa07fd4c59b4cca2b0e1b43687", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711723", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:00:58Z", + "updated_at": "2024-01-19T22:00:58Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_7f11d573891d4ff7a06db0b00e5ce4c2", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzBjMTE1OWZhMDdmZDRjNTliNGNjYTJiMGUxYjQzNjg3"}, + "to_address": {"id": "adr_396b29a4b71611ee81213cecef1b359e", "object": "Address", + "created_at": "2024-01-19T22:00:57+00:00", "updated_at": "2024-01-19T22:00:57+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_396de62eb71611ee8360ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:00:57+00:00", "updated_at": + "2024-01-19T22:00:57+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_396b29a4b71611ee81213cecef1b359e", "object": + "Address", "created_at": "2024-01-19T22:00:57+00:00", "updated_at": "2024-01-19T22:00:57+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_7f11d573891d4ff7a06db0b00e5ce4c2", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_7f11d573891d4ff7a06db0b00e5ce4c2 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaf119e798c3e0000fe733 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.962755' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"batch": {}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '13' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches + response: + body: + string: '{"id": "batch_77d938bf264c49c5a1a1183fe358392f", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 0, "reference": null, + "created_at": "2024-01-19T22:00:58Z", "updated_at": "2024-01-19T22:00:58Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '383' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaf11ae798c3f8000fe86c + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.038234' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipments": [{"id": "shp_7f11d573891d4ff7a06db0b00e5ce4c2"}]}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '63' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches/batch_77d938bf264c49c5a1a1183fe358392f/add_shipments + response: + body: + string: '{"id": "batch_77d938bf264c49c5a1a1183fe358392f", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T22:00:58Z", "updated_at": "2024-01-19T22:00:58Z", + "scan_form": null, "shipments": [{"batch_status": "postage_purchased", "batch_message": + null, "reference": null, "tracking_code": "9405500207552010711723", "id": + "shp_7f11d573891d4ff7a06db0b00e5ce4c2"}], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 1, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '542' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaf11ae798c3f9000fe8aa + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.055155' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T22:03:00Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010712126", "updated_at": "2024-01-19T22:03:01Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_a384af742d4944a583a92b9fd0340864", "object": "CustomsInfo", "created_at": + "2024-01-19T22:03:00Z", "updated_at": "2024-01-19T22:03:00Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_50cc23f5f49848d58c5f47295df81949", + "object": "CustomsItem", "created_at": "2024-01-19T22:03:00Z", "updated_at": + "2024-01-19T22:03:00Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_82e9e476b71611ee98553cecef1b359e", + "object": "Address", "created_at": "2024-01-19T22:03:00+00:00", "updated_at": + "2024-01-19T22:03:00+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_473cc1e25cdb410d9bacb03ae1c81dac", + "object": "Parcel", "created_at": "2024-01-19T22:03:00Z", "updated_at": "2024-01-19T22:03:00Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_aa47fdc1fd524bb5adada02ba1db2221", "created_at": "2024-01-19T22:03:01Z", + "updated_at": "2024-01-19T22:03:01Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T22:03:01Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8a127305ff84b4e11b69b5187cf418975.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_a499c23a16f1437a9e06629ec33671f0", "object": + "Rate", "created_at": "2024-01-19T22:03:01Z", "updated_at": "2024-01-19T22:03:01Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_5e9501509bdb43d9aaa17a168f22ad08", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_9d02080d3dbb46739f15ef6983a59c54", + "object": "Rate", "created_at": "2024-01-19T22:03:01Z", "updated_at": "2024-01-19T22:03:01Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_5e9501509bdb43d9aaa17a168f22ad08", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b6696298e89f442f83ffededffdafa57", + "object": "Rate", "created_at": "2024-01-19T22:03:01Z", "updated_at": "2024-01-19T22:03:01Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_5e9501509bdb43d9aaa17a168f22ad08", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_3d045b09aaf64b37aafa25122ab29dc8", "object": "Rate", "created_at": + "2024-01-19T22:03:01Z", "updated_at": "2024-01-19T22:03:01Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_5e9501509bdb43d9aaa17a168f22ad08", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_5eed22efc51b42148c45460eaaf7dee9", "object": "Rate", "created_at": + "2024-01-19T22:03:01Z", "updated_at": "2024-01-19T22:03:01Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_5e9501509bdb43d9aaa17a168f22ad08", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_a499c23a16f1437a9e06629ec33671f0", + "object": "Rate", "created_at": "2024-01-19T22:03:01Z", "updated_at": "2024-01-19T22:03:01Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_5e9501509bdb43d9aaa17a168f22ad08", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_9eee3d83ef1e4a8e94223d6c21b5c71a", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010712126", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:03:01Z", + "updated_at": "2024-01-19T22:03:01Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_5e9501509bdb43d9aaa17a168f22ad08", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzllZWUzZDgzZWYxZTRhOGU5NDIyM2Q2YzIxYjVjNzFh"}, + "to_address": {"id": "adr_82e760a6b71611ee98543cecef1b359e", "object": "Address", + "created_at": "2024-01-19T22:03:00+00:00", "updated_at": "2024-01-19T22:03:01+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_82e9e476b71611ee98553cecef1b359e", + "object": "Address", "created_at": "2024-01-19T22:03:00+00:00", "updated_at": + "2024-01-19T22:03:00+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_82e760a6b71611ee98543cecef1b359e", "object": + "Address", "created_at": "2024-01-19T22:03:00+00:00", "updated_at": "2024-01-19T22:03:01+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_5e9501509bdb43d9aaa17a168f22ad08", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_5e9501509bdb43d9aaa17a168f22ad08 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf194e798cc200010539f + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.048176' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"batch": {}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '13' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches + response: + body: + string: '{"id": "batch_c9a1cf971a994df899ee5038b30d15b0", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 0, "reference": null, + "created_at": "2024-01-19T22:03:02Z", "updated_at": "2024-01-19T22:03:02Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '383' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaf196e798cc38001054b5 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.052175' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipments": [{"id": "shp_5e9501509bdb43d9aaa17a168f22ad08"}]}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '63' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches/batch_c9a1cf971a994df899ee5038b30d15b0/add_shipments + response: + body: + string: '{"id": "batch_c9a1cf971a994df899ee5038b30d15b0", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T22:03:02Z", "updated_at": "2024-01-19T22:03:02Z", + "scan_form": null, "shipments": [{"batch_status": "postage_purchased", "batch_message": + null, "reference": null, "tracking_code": "9405500207552010712126", "id": + "shp_5e9501509bdb43d9aaa17a168f22ad08"}], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 1, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '542' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaf196e798cc39001054f5 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.052044' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T22:04:03Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010712331", "updated_at": "2024-01-19T22:04:04Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_6a9215476c16499caccedcb1336e739b", "object": "CustomsInfo", "created_at": + "2024-01-19T22:04:03Z", "updated_at": "2024-01-19T22:04:03Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_a60ead4277fc4155b4dfa859d4c3e6ab", + "object": "CustomsItem", "created_at": "2024-01-19T22:04:03Z", "updated_at": + "2024-01-19T22:04:03Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_a87b8a4db71611eea7b7ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:04:03+00:00", "updated_at": + "2024-01-19T22:04:03+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_fca0b56e4da94f5889aee5e2184ee8a7", + "object": "Parcel", "created_at": "2024-01-19T22:04:03Z", "updated_at": "2024-01-19T22:04:03Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_4562c63e9bca4fe6a34c8cb4493aed6c", "created_at": "2024-01-19T22:04:04Z", + "updated_at": "2024-01-19T22:04:04Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T22:04:04Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e82fab067ed74b447e957b269c1a566e9c.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_1e4b9e497bfe4d7f877f51a1f1f851fe", "object": + "Rate", "created_at": "2024-01-19T22:04:04Z", "updated_at": "2024-01-19T22:04:04Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_d9cd0d29283048268acb84806ca39269", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_1446dd9629da43608b1e5d1d0321eab3", + "object": "Rate", "created_at": "2024-01-19T22:04:04Z", "updated_at": "2024-01-19T22:04:04Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_d9cd0d29283048268acb84806ca39269", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_ffe04038218f4f7eaa30c5c2f49e6c0d", + "object": "Rate", "created_at": "2024-01-19T22:04:04Z", "updated_at": "2024-01-19T22:04:04Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_d9cd0d29283048268acb84806ca39269", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_93e0df6b04af4a73a0ba9a3823ea4bbf", "object": "Rate", "created_at": + "2024-01-19T22:04:04Z", "updated_at": "2024-01-19T22:04:04Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_d9cd0d29283048268acb84806ca39269", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_6e5a2f7cd66d45d5b0fc105b5bd5e097", "object": "Rate", "created_at": + "2024-01-19T22:04:04Z", "updated_at": "2024-01-19T22:04:04Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_d9cd0d29283048268acb84806ca39269", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_1e4b9e497bfe4d7f877f51a1f1f851fe", + "object": "Rate", "created_at": "2024-01-19T22:04:04Z", "updated_at": "2024-01-19T22:04:04Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_d9cd0d29283048268acb84806ca39269", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_bc9fde705b9b42f995a79e6d9523debd", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010712331", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:04:04Z", + "updated_at": "2024-01-19T22:04:04Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_d9cd0d29283048268acb84806ca39269", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrX2JjOWZkZTcwNWI5YjQyZjk5NWE3OWU2ZDk1MjNkZWJk"}, + "to_address": {"id": "adr_a8793639b71611eeaa32ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T22:04:03+00:00", "updated_at": "2024-01-19T22:04:04+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_a87b8a4db71611eea7b7ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:04:03+00:00", "updated_at": + "2024-01-19T22:04:03+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_a8793639b71611eeaa32ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T22:04:03+00:00", "updated_at": "2024-01-19T22:04:04+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_d9cd0d29283048268acb84806ca39269", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_d9cd0d29283048268acb84806ca39269 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf1d3e798ccc30010837c + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.021131' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"batch": {}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '13' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches + response: + body: + string: '{"id": "batch_9305af5ad5f643138c9755c0159d6244", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 0, "reference": null, + "created_at": "2024-01-19T22:04:05Z", "updated_at": "2024-01-19T22:04:05Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '383' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaf1d5e798ccc400108437 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.039789' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipments": [{"id": "shp_d9cd0d29283048268acb84806ca39269"}]}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '63' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches/batch_9305af5ad5f643138c9755c0159d6244/add_shipments + response: + body: + string: '{"id": "batch_9305af5ad5f643138c9755c0159d6244", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T22:04:05Z", "updated_at": "2024-01-19T22:04:05Z", + "scan_form": null, "shipments": [{"batch_status": "postage_purchased", "batch_message": + null, "reference": null, "tracking_code": "9405500207552010712331", "id": + "shp_d9cd0d29283048268acb84806ca39269"}], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 1, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '542' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaf1d5e798ccc500108473 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.052426' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T22:06:15Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010713017", "updated_at": "2024-01-19T22:06:16Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_bcc5fa8c2e794a5ea5a563b7e01d5d23", "object": "CustomsInfo", "created_at": + "2024-01-19T22:06:15Z", "updated_at": "2024-01-19T22:06:15Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_2d03460c4fe14bf8ad95faca5b75d44e", + "object": "CustomsItem", "created_at": "2024-01-19T22:06:15Z", "updated_at": + "2024-01-19T22:06:15Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_f725f191b71611ee812dac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:06:15+00:00", "updated_at": + "2024-01-19T22:06:15+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_236dce15507e43d3a9b6586ce56ab595", + "object": "Parcel", "created_at": "2024-01-19T22:06:15Z", "updated_at": "2024-01-19T22:06:15Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_b48b00c1a00f424aa94a1e668b077110", "created_at": "2024-01-19T22:06:16Z", + "updated_at": "2024-01-19T22:06:16Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T22:06:16Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8cdda65f17ef34ffa80e8353cf2a9c3f6.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_ee2a0d49167440a9979ae91c4aa238a9", "object": + "Rate", "created_at": "2024-01-19T22:06:16Z", "updated_at": "2024-01-19T22:06:16Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_2dde532cdba14ee1b470bf5c1afd04ef", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_e66932a3906d4ad18a230ddfe622f9d3", + "object": "Rate", "created_at": "2024-01-19T22:06:16Z", "updated_at": "2024-01-19T22:06:16Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_2dde532cdba14ee1b470bf5c1afd04ef", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_9dc5489c737f47ee9ecba89620d29128", + "object": "Rate", "created_at": "2024-01-19T22:06:16Z", "updated_at": "2024-01-19T22:06:16Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_2dde532cdba14ee1b470bf5c1afd04ef", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_9fe41bf1a6844ebf88200f308651adfe", + "object": "Rate", "created_at": "2024-01-19T22:06:16Z", "updated_at": "2024-01-19T22:06:16Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_2dde532cdba14ee1b470bf5c1afd04ef", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_cee22a2b358c421f8a20ac1b653c1837", "object": "Rate", "created_at": + "2024-01-19T22:06:16Z", "updated_at": "2024-01-19T22:06:16Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_2dde532cdba14ee1b470bf5c1afd04ef", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_e66932a3906d4ad18a230ddfe622f9d3", + "object": "Rate", "created_at": "2024-01-19T22:06:16Z", "updated_at": "2024-01-19T22:06:16Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_2dde532cdba14ee1b470bf5c1afd04ef", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_709baed8dfb74498a9f82647fbb6ffff", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010713017", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:06:16Z", + "updated_at": "2024-01-19T22:06:16Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_2dde532cdba14ee1b470bf5c1afd04ef", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzcwOWJhZWQ4ZGZiNzQ0OThhOWY4MjY0N2ZiYjZmZmZm"}, + "to_address": {"id": "adr_f723604ab71611ee91d4ac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T22:06:15+00:00", "updated_at": "2024-01-19T22:06:16+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_f725f191b71611ee812dac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:06:15+00:00", "updated_at": + "2024-01-19T22:06:15+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_f723604ab71611ee91d4ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T22:06:15+00:00", "updated_at": "2024-01-19T22:06:16+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_2dde532cdba14ee1b470bf5c1afd04ef", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_2dde532cdba14ee1b470bf5c1afd04ef + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf257e798d1850010dc4f + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.189461' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"batch": {}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '13' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches + response: + body: + string: '{"id": "batch_50ec34f62b9d4c03b982ea365406e3ae", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 0, "reference": null, + "created_at": "2024-01-19T22:06:17Z", "updated_at": "2024-01-19T22:06:17Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '383' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaf259e798d1860010dd6c + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.050781' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipments": [{"id": "shp_2dde532cdba14ee1b470bf5c1afd04ef"}]}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '63' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches/batch_50ec34f62b9d4c03b982ea365406e3ae/add_shipments + response: + body: + string: '{"id": "batch_50ec34f62b9d4c03b982ea365406e3ae", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T22:06:17Z", "updated_at": "2024-01-19T22:06:17Z", + "scan_form": null, "shipments": [{"batch_status": "postage_purchased", "batch_message": + null, "reference": null, "tracking_code": "9405500207552010713017", "id": + "shp_2dde532cdba14ee1b470bf5c1afd04ef"}], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 1, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '542' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaf259e798d1870010dd91 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.052824' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T23:38:19Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010723580", "updated_at": "2024-01-19T23:38:20Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_fd16f17e95ec475abb7b9d1b7d9a3cbd", "object": "CustomsInfo", "created_at": + "2024-01-19T23:38:19Z", "updated_at": "2024-01-19T23:38:19Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_7d05590080a345a19668c0d48157033b", + "object": "CustomsItem", "created_at": "2024-01-19T23:38:19Z", "updated_at": + "2024-01-19T23:38:19Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_d3c1e5ddb72311ee877eac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T23:38:19+00:00", "updated_at": + "2024-01-19T23:38:19+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_0114d91b4778404d9ad03af00a579aca", + "object": "Parcel", "created_at": "2024-01-19T23:38:19Z", "updated_at": "2024-01-19T23:38:19Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_6c843400ce1c43a58ac481d2f8249462", "created_at": "2024-01-19T23:38:20Z", + "updated_at": "2024-01-19T23:38:20Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T23:38:20Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8497827c55714482fbb58c3ecfa6ba66e.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_783a785d101b405ba4efd5aaec206dff", "object": + "Rate", "created_at": "2024-01-19T23:38:20Z", "updated_at": "2024-01-19T23:38:20Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_9fbf5d43dc8b4340b5c0aa41240456a2", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_ea373837a52d4384abc4bcef2c68c2a2", + "object": "Rate", "created_at": "2024-01-19T23:38:20Z", "updated_at": "2024-01-19T23:38:20Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_9fbf5d43dc8b4340b5c0aa41240456a2", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_af5d85c4f0d84ed6b8c6356e709bb3eb", + "object": "Rate", "created_at": "2024-01-19T23:38:20Z", "updated_at": "2024-01-19T23:38:20Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_9fbf5d43dc8b4340b5c0aa41240456a2", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4035359c81b94473adb92c1a632decc5", + "object": "Rate", "created_at": "2024-01-19T23:38:20Z", "updated_at": "2024-01-19T23:38:20Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_9fbf5d43dc8b4340b5c0aa41240456a2", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_86a9ed0390ac4f7ba42cf508d857f947", "object": "Rate", "created_at": + "2024-01-19T23:38:20Z", "updated_at": "2024-01-19T23:38:20Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_9fbf5d43dc8b4340b5c0aa41240456a2", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_ea373837a52d4384abc4bcef2c68c2a2", + "object": "Rate", "created_at": "2024-01-19T23:38:20Z", "updated_at": "2024-01-19T23:38:20Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_9fbf5d43dc8b4340b5c0aa41240456a2", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_33b92ddc03a44da0a4976fc460d43988", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010723580", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T23:38:20Z", + "updated_at": "2024-01-19T23:38:20Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_9fbf5d43dc8b4340b5c0aa41240456a2", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzMzYjkyZGRjMDNhNDRkYTBhNDk3NmZjNDYwZDQzOTg4"}, + "to_address": {"id": "adr_d3beefe1b72311ee877cac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T23:38:19+00:00", "updated_at": "2024-01-19T23:38:20+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_d3c1e5ddb72311ee877eac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T23:38:19+00:00", "updated_at": + "2024-01-19T23:38:19+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_d3beefe1b72311ee877cac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T23:38:19+00:00", "updated_at": "2024-01-19T23:38:20+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_9fbf5d43dc8b4340b5c0aa41240456a2", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_9fbf5d43dc8b4340b5c0aa41240456a2 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865ab07ebe799e566001d7524 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.060939' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"batch": {}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '13' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches + response: + body: + string: '{"id": "batch_0e838e1fce7c491fa4d5c229f351330b", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 0, "reference": null, + "created_at": "2024-01-19T23:38:21Z", "updated_at": "2024-01-19T23:38:21Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '383' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165ab07ede799e57e001d75cd + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.057268' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipments": [{"id": "shp_9fbf5d43dc8b4340b5c0aa41240456a2"}]}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '63' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches/batch_0e838e1fce7c491fa4d5c229f351330b/add_shipments + response: + body: + string: '{"id": "batch_0e838e1fce7c491fa4d5c229f351330b", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T23:38:21Z", "updated_at": "2024-01-19T23:38:21Z", + "scan_form": null, "shipments": [{"batch_status": "postage_purchased", "batch_message": + null, "reference": null, "tracking_code": "9405500207552010723580", "id": + "shp_9fbf5d43dc8b4340b5c0aa41240456a2"}], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 1, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '542' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565ab07ede799e57f001d75f3 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.053211' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_batches_buy.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_batches_buy.yaml new file mode 100644 index 00000000..12556711 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_batches_buy.yaml @@ -0,0 +1,1532 @@ +interactions: +- request: + body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": + "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1002' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches + response: + body: + string: '{"id": "batch_d6251841e1fc4e29979b04f074d03bf4", "object": "Batch", + "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T21:39:40Z", "updated_at": "2024-01-19T21:39:40Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '384' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaec1ce78b9ae7000ca9a3 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.046061' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches/batch_d6251841e1fc4e29979b04f074d03bf4/buy + response: + body: + string: '{"id": "batch_d6251841e1fc4e29979b04f074d03bf4", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T21:39:40Z", "updated_at": "2024-01-19T21:39:40Z", + "scan_form": null, "shipments": [{"batch_status": "queued_for_purchase", "batch_message": + null, "reference": null, "tracking_code": null, "id": "shp_a90b4c2282e54465817f806f5ecf3943"}], + "status": {"created": 1, "queued_for_purchase": 0, "creation_failed": 0, "postage_purchased": + 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '524' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaec26e78b9ae8000cafe2 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.068203' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": + "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1002' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches + response: + body: + string: '{"id": "batch_f6c9b484a7b44328ae86a1c9352262ad", "object": "Batch", + "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T21:43:00Z", "updated_at": "2024-01-19T21:43:00Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '384' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaece4e78ba323000d2728 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.047443' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches/batch_f6c9b484a7b44328ae86a1c9352262ad/buy + response: + body: + string: '{"id": "batch_f6c9b484a7b44328ae86a1c9352262ad", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T21:43:00Z", "updated_at": "2024-01-19T21:43:00Z", + "scan_form": null, "shipments": [{"batch_status": "queued_for_purchase", "batch_message": + null, "reference": null, "tracking_code": null, "id": "shp_b96d014e5f5b476ca6c977b2d590b71a"}], + "status": {"created": 1, "queued_for_purchase": 0, "creation_failed": 0, "postage_purchased": + 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '524' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaece4e78ba324000d276c + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.061924' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": + "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1002' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches + response: + body: + string: '{"id": "batch_6adb7e4aacbd4eadb7d6d85dacab89e8", "object": "Batch", + "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T21:46:49Z", "updated_at": "2024-01-19T21:46:49Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '384' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdac65aaedc9e78babc300111ae6 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.055035' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches/batch_6adb7e4aacbd4eadb7d6d85dacab89e8/buy + response: + body: + string: '{"id": "batch_6adb7e4aacbd4eadb7d6d85dacab89e8", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T21:46:49Z", "updated_at": "2024-01-19T21:46:50Z", + "scan_form": null, "shipments": [{"batch_status": "queued_for_purchase", "batch_message": + null, "reference": null, "tracking_code": null, "id": "shp_a36457839ce149b8b7147eacd56cdeda"}], + "status": {"created": 1, "queued_for_purchase": 0, "creation_failed": 0, "postage_purchased": + 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '524' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda765aaedcae78babc400111b10 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.066517' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": + "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1002' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches + response: + body: + string: '{"id": "batch_2f74cbde62f440a8adcbe6f103ed0911", "object": "Batch", + "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T21:48:41Z", "updated_at": "2024-01-19T21:48:41Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '384' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdab65aaee39e78bb0ee00115f9e + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.048799' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches/batch_2f74cbde62f440a8adcbe6f103ed0911/buy + response: + body: + string: '{"id": "batch_2f74cbde62f440a8adcbe6f103ed0911", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T21:48:41Z", "updated_at": "2024-01-19T21:48:41Z", + "scan_form": null, "shipments": [{"batch_status": "queued_for_purchase", "batch_message": + null, "reference": null, "tracking_code": null, "id": "shp_8fd0a6d559c94ad7945181e5cbfbcd26"}], + "status": {"created": 1, "queued_for_purchase": 0, "creation_failed": 0, "postage_purchased": + 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '524' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdad65aaee3ae78bb0ef00115fd0 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.065317' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": + "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1002' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches + response: + body: + string: '{"id": "batch_ed6c07a7aedf4699b9001e3bebf9d76b", "object": "Batch", + "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T21:57:42Z", "updated_at": "2024-01-19T21:57:42Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '384' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf056e798bb7b000f5840 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.067420' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches/batch_ed6c07a7aedf4699b9001e3bebf9d76b/buy + response: + body: + string: '{"id": "batch_ed6c07a7aedf4699b9001e3bebf9d76b", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T21:57:42Z", "updated_at": "2024-01-19T21:57:42Z", + "scan_form": null, "shipments": [{"batch_status": "queued_for_purchase", "batch_message": + null, "reference": null, "tracking_code": null, "id": "shp_3a252ef228e1447c989075ff41912253"}], + "status": {"created": 1, "queued_for_purchase": 0, "creation_failed": 0, "postage_purchased": + 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '524' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf056e798bb7c000f586d + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.066487' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": + "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1002' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches + response: + body: + string: '{"id": "batch_828bb21d348f4ae9b1c90e6b37775c73", "object": "Batch", + "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T22:00:56Z", "updated_at": "2024-01-19T22:00:56Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '384' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaf117e798c3db000fe5c9 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.043456' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches/batch_828bb21d348f4ae9b1c90e6b37775c73/buy + response: + body: + string: '{"id": "batch_828bb21d348f4ae9b1c90e6b37775c73", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T22:00:56Z", "updated_at": "2024-01-19T22:00:56Z", + "scan_form": null, "shipments": [{"batch_status": "queued_for_purchase", "batch_message": + null, "reference": null, "tracking_code": null, "id": "shp_f0a4905a74944b30968c6ca38b90de0b"}], + "status": {"created": 1, "queued_for_purchase": 0, "creation_failed": 0, "postage_purchased": + 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '524' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf118e798c3dc000fe617 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.072624' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": + "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1002' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches + response: + body: + string: '{"id": "batch_52af54b019cf4034afe70c276fa1cec8", "object": "Batch", + "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T22:02:58Z", "updated_at": "2024-01-19T22:02:58Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '384' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf192e798cc1b00105243 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.048478' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches/batch_52af54b019cf4034afe70c276fa1cec8/buy + response: + body: + string: '{"id": "batch_52af54b019cf4034afe70c276fa1cec8", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T22:02:58Z", "updated_at": "2024-01-19T22:02:59Z", + "scan_form": null, "shipments": [{"batch_status": "queued_for_purchase", "batch_message": + null, "reference": null, "tracking_code": null, "id": "shp_949c857bb0f8438584c0bbf1766f9aa1"}], + "status": {"created": 1, "queued_for_purchase": 0, "creation_failed": 0, "postage_purchased": + 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '524' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaf193e798cc1c0010526e + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.080014' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": + "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1002' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches + response: + body: + string: '{"id": "batch_8bcd6b4313e64672a2f2834046898890", "object": "Batch", + "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T22:03:22Z", "updated_at": "2024-01-19T22:03:22Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '384' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaf1aae798cc9d001064e5 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.047982' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches/batch_8bcd6b4313e64672a2f2834046898890/buy + response: + body: + string: '{"id": "batch_8bcd6b4313e64672a2f2834046898890", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T22:03:22Z", "updated_at": "2024-01-19T22:03:22Z", + "scan_form": null, "shipments": [{"batch_status": "queued_for_purchase", "batch_message": + null, "reference": null, "tracking_code": null, "id": "shp_ca89b72dc8cd4963b85584532b749956"}], + "status": {"created": 1, "queued_for_purchase": 0, "creation_failed": 0, "postage_purchased": + 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '524' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf1aae798cc9e0010651a + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.065758' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": + "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1002' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches + response: + body: + string: '{"id": "batch_12ee8c90e50042abae1460fae4ce151b", "object": "Batch", + "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T22:06:13Z", "updated_at": "2024-01-19T22:06:13Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '384' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaf255e798d1680010db47 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.051918' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches/batch_12ee8c90e50042abae1460fae4ce151b/buy + response: + body: + string: '{"id": "batch_12ee8c90e50042abae1460fae4ce151b", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T22:06:13Z", "updated_at": "2024-01-19T22:06:14Z", + "scan_form": null, "shipments": [{"batch_status": "queued_for_purchase", "batch_message": + null, "reference": null, "tracking_code": null, "id": "shp_51e4544562014c92b58a28ad694f8561"}], + "status": {"created": 1, "queued_for_purchase": 0, "creation_failed": 0, "postage_purchased": + 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '524' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaf256e798d1810010db67 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.070710' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": + "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1002' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches + response: + body: + string: '{"id": "batch_9145042d41274d70ac3f836c7fb45b79", "object": "Batch", + "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T23:38:17Z", "updated_at": "2024-01-19T23:38:17Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '384' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465ab07e9e799e561001d742c + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.044883' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches/batch_9145042d41274d70ac3f836c7fb45b79/buy + response: + body: + string: '{"id": "batch_9145042d41274d70ac3f836c7fb45b79", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T23:38:17Z", "updated_at": "2024-01-19T23:38:18Z", + "scan_form": null, "shipments": [{"batch_status": "queued_for_purchase", "batch_message": + null, "reference": null, "tracking_code": null, "id": "shp_ad4167913b3f4b4ba59f405980a7c1d3"}], + "status": {"created": 1, "queued_for_purchase": 0, "creation_failed": 0, "postage_purchased": + 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '524' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665ab07eae799e562001d7449 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.067986' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_batches_create.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_batches_create.yaml new file mode 100644 index 00000000..44b47dac --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_batches_create.yaml @@ -0,0 +1,818 @@ +interactions: +- request: + body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": + "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1002' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches + response: + body: + string: '{"id": "batch_ab8e9b4b2f10414085045a1e281e5dc9", "object": "Batch", + "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T21:39:38Z", "updated_at": "2024-01-19T21:39:38Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '384' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaec1ae78b9ae3000ca8b1 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.086198' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": + "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1002' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches + response: + body: + string: '{"id": "batch_f9d47e9160d646b18cb83b9a393795cf", "object": "Batch", + "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T21:42:59Z", "updated_at": "2024-01-19T21:42:59Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '384' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaece3e78ba308000d2664 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.042840' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": + "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1002' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches + response: + body: + string: '{"id": "batch_aaf405f8c1144fcea6feee38bb54aa42", "object": "Batch", + "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T21:46:48Z", "updated_at": "2024-01-19T21:46:48Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '384' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdab65aaedc8e78baba8001119fa + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.043570' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": + "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1002' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches + response: + body: + string: '{"id": "batch_80ce555d75d04a018c489297003edb95", "object": "Batch", + "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T21:48:40Z", "updated_at": "2024-01-19T21:48:40Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '384' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda765aaee38e78bb0d300115ea7 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.044147' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": + "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1002' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches + response: + body: + string: '{"id": "batch_b65c12ef9d144befa107c9a87a331521", "object": "Batch", + "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T21:57:41Z", "updated_at": "2024-01-19T21:57:41Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '384' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf055e798bb77000f5762 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.042755' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": + "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1002' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches + response: + body: + string: '{"id": "batch_acec365db5e5469b9ae8eea0a7d97087", "object": "Batch", + "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T22:00:54Z", "updated_at": "2024-01-19T22:00:54Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '384' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf116e798c3d7000fe461 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.046893' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": + "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1002' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches + response: + body: + string: '{"id": "batch_63b025d727c34a219545ad4d4fdc5b4b", "object": "Batch", + "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T22:02:57Z", "updated_at": "2024-01-19T22:02:57Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '384' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf191e798cc1700105143 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.042919' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": + "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1002' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches + response: + body: + string: '{"id": "batch_f4adc26e9ade48db9aec8b8917dfa6a9", "object": "Batch", + "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T22:03:20Z", "updated_at": "2024-01-19T22:03:20Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '384' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf1a8e798cc820010638d + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.046456' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": + "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1002' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches + response: + body: + string: '{"id": "batch_fe7fa7055cc845fab338a6d7502151cd", "object": "Batch", + "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T22:06:12Z", "updated_at": "2024-01-19T22:06:12Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '384' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf254e798d1640010da23 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.064160' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": + "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1002' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches + response: + body: + string: '{"id": "batch_1440c9361814491d81a8403b5c8699df", "object": "Batch", + "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T23:38:16Z", "updated_at": "2024-01-19T23:38:16Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '384' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865ab07e8e799e55d001d7351 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.051125' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_batches_label.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_batches_label.yaml new file mode 100644 index 00000000..4dc931cd --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_batches_label.yaml @@ -0,0 +1,448 @@ +interactions: +- request: + body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": + "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1002' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches + response: + body: + string: '{"id": "batch_df05f9391272462cbd5b0e53e0bcb7e0", "object": "Batch", + "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T22:04:08Z", "updated_at": "2024-01-19T22:04:08Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '384' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf1d8e798cce10010868b + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.045314' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches/batch_df05f9391272462cbd5b0e53e0bcb7e0/buy + response: + body: + string: '{"id": "batch_df05f9391272462cbd5b0e53e0bcb7e0", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T22:04:08Z", "updated_at": "2024-01-19T22:04:08Z", + "scan_form": null, "shipments": [{"batch_status": "queued_for_purchase", "batch_message": + null, "reference": null, "tracking_code": null, "id": "shp_140c001c845348caa3f62fe3c0fa15d0"}], + "status": {"created": 1, "queued_for_purchase": 0, "creation_failed": 0, "postage_purchased": + 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '524' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaf1ede798cce3001094b0 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.055453' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"file_format": "ZPL"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '22' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches/batch_df05f9391272462cbd5b0e53e0bcb7e0/label + response: + body: + string: '{"id": "batch_df05f9391272462cbd5b0e53e0bcb7e0", "object": "Batch", + "mode": "test", "state": "label_generating", "num_shipments": 1, "reference": + null, "created_at": "2024-01-19T22:04:08Z", "updated_at": "2024-01-19T22:04:49Z", + "scan_form": null, "shipments": [{"batch_status": "postage_purchased", "batch_message": + null, "reference": null, "tracking_code": "9405500207552010712409", "id": + "shp_140c001c845348caa3f62fe3c0fa15d0"}], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 1, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '551' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf201e798cce40010a117 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.046214' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": + "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1002' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches + response: + body: + string: '{"id": "batch_7364598ee705416cbf1f622be4111458", "object": "Batch", + "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T23:38:24Z", "updated_at": "2024-01-19T23:38:24Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '384' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565ab07f0e799e584001d774f + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.038810' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches/batch_7364598ee705416cbf1f622be4111458/buy + response: + body: + string: '{"id": "batch_7364598ee705416cbf1f622be4111458", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T23:38:24Z", "updated_at": "2024-01-19T23:38:24Z", + "scan_form": null, "shipments": [{"batch_status": "queued_for_purchase", "batch_message": + null, "reference": null, "tracking_code": null, "id": "shp_e37272a50a8a487ca4ca3027e99d8ea5"}], + "status": {"created": 1, "queued_for_purchase": 0, "creation_failed": 0, "postage_purchased": + 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '524' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465ab07f0e799e585001d7776 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.077830' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"file_format": "ZPL"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '22' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches/batch_7364598ee705416cbf1f622be4111458/label + response: + body: + string: '{"error": {"code": "BATCH.STATE.NOT_PURCHASED", "message": "One or + more of the shipments is not purchased.", "errors": []}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '117' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265ab07f1e799e586001d7793 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.030407' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 422 + message: Unprocessable Entity +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_batches_list.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_batches_list.yaml new file mode 100644 index 00000000..eb409ac1 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_batches_list.yaml @@ -0,0 +1,694 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/batches?page_size=1 + response: + body: + string: '{"batches": [{"id": "batch_fa8d621742eb48819dfb260f5c289a43", "object": + "Batch", "mode": "test", "state": "creation_failed", "num_shipments": 1, "reference": + null, "created_at": "2024-01-19T19:40:28Z", "updated_at": "2024-01-19T19:40:29Z", + "scan_form": null, "shipments": [{"batch_status": "creation_failed", "batch_message": + "None of the carrier_account_ids provided are valid and enabled", "reference": + null, "tracking_code": null, "id": "shp_bd99e54621e242cab6c1979d2b60cd86"}], + "status": {"created": 0, "queued_for_purchase": 0, "creation_failed": 1, "postage_purchased": + 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}], "has_more": + true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '618' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaec1be78b9ae6000ca94c + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.052083' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/batches?page_size=1 + response: + body: + string: '{"batches": [{"id": "batch_fa8d621742eb48819dfb260f5c289a43", "object": + "Batch", "mode": "test", "state": "creation_failed", "num_shipments": 1, "reference": + null, "created_at": "2024-01-19T19:40:28Z", "updated_at": "2024-01-19T19:40:29Z", + "scan_form": null, "shipments": [{"batch_status": "creation_failed", "batch_message": + "None of the carrier_account_ids provided are valid and enabled", "reference": + null, "tracking_code": null, "id": "shp_bd99e54621e242cab6c1979d2b60cd86"}], + "status": {"created": 0, "queued_for_purchase": 0, "creation_failed": 1, "postage_purchased": + 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}], "has_more": + true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '618' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaece3e78ba322000d2700 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.050786' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/batches?page_size=1 + response: + body: + string: '{"batches": [{"id": "batch_fa8d621742eb48819dfb260f5c289a43", "object": + "Batch", "mode": "test", "state": "creation_failed", "num_shipments": 1, "reference": + null, "created_at": "2024-01-19T19:40:28Z", "updated_at": "2024-01-19T19:40:29Z", + "scan_form": null, "shipments": [{"batch_status": "creation_failed", "batch_message": + "None of the carrier_account_ids provided are valid and enabled", "reference": + null, "tracking_code": null, "id": "shp_bd99e54621e242cab6c1979d2b60cd86"}], + "status": {"created": 0, "queued_for_purchase": 0, "creation_failed": 1, "postage_purchased": + 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}], "has_more": + true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '618' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda865aaedc9e78babab00111a9b + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.055664' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/batches?page_size=1 + response: + body: + string: '{"batches": [{"id": "batch_fa8d621742eb48819dfb260f5c289a43", "object": + "Batch", "mode": "test", "state": "creation_failed", "num_shipments": 1, "reference": + null, "created_at": "2024-01-19T19:40:28Z", "updated_at": "2024-01-19T19:40:29Z", + "scan_form": null, "shipments": [{"batch_status": "creation_failed", "batch_message": + "None of the carrier_account_ids provided are valid and enabled", "reference": + null, "tracking_code": null, "id": "shp_bd99e54621e242cab6c1979d2b60cd86"}], + "status": {"created": 0, "queued_for_purchase": 0, "creation_failed": 1, "postage_purchased": + 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}], "has_more": + true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '618' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdae65aaee39e78bb0ed00115f5d + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.053343' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/batches?page_size=1 + response: + body: + string: '{"batches": [{"id": "batch_fa8d621742eb48819dfb260f5c289a43", "object": + "Batch", "mode": "test", "state": "creation_failed", "num_shipments": 1, "reference": + null, "created_at": "2024-01-19T19:40:28Z", "updated_at": "2024-01-19T19:40:29Z", + "scan_form": null, "shipments": [{"batch_status": "creation_failed", "batch_message": + "None of the carrier_account_ids provided are valid and enabled", "reference": + null, "tracking_code": null, "id": "shp_bd99e54621e242cab6c1979d2b60cd86"}], + "status": {"created": 0, "queued_for_purchase": 0, "creation_failed": 1, "postage_purchased": + 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}], "has_more": + true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '618' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaf055e798bb7a000f57f0 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.055900' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/batches?page_size=1 + response: + body: + string: '{"batches": [{"id": "batch_fa8d621742eb48819dfb260f5c289a43", "object": + "Batch", "mode": "test", "state": "creation_failed", "num_shipments": 1, "reference": + null, "created_at": "2024-01-19T19:40:28Z", "updated_at": "2024-01-19T19:40:29Z", + "scan_form": null, "shipments": [{"batch_status": "creation_failed", "batch_message": + "None of the carrier_account_ids provided are valid and enabled", "reference": + null, "tracking_code": null, "id": "shp_bd99e54621e242cab6c1979d2b60cd86"}], + "status": {"created": 0, "queued_for_purchase": 0, "creation_failed": 1, "postage_purchased": + 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}], "has_more": + true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '618' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaf117e798c3da000fe55e + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.052966' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/batches?page_size=1 + response: + body: + string: '{"batches": [{"id": "batch_fa8d621742eb48819dfb260f5c289a43", "object": + "Batch", "mode": "test", "state": "creation_failed", "num_shipments": 1, "reference": + null, "created_at": "2024-01-19T19:40:28Z", "updated_at": "2024-01-19T19:40:29Z", + "scan_form": null, "shipments": [{"batch_status": "creation_failed", "batch_message": + "None of the carrier_account_ids provided are valid and enabled", "reference": + null, "tracking_code": null, "id": "shp_bd99e54621e242cab6c1979d2b60cd86"}], + "status": {"created": 0, "queued_for_purchase": 0, "creation_failed": 1, "postage_purchased": + 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}], "has_more": + true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '618' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf192e798cc1a001051ec + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.054725' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/batches?page_size=1 + response: + body: + string: '{"batches": [{"id": "batch_fa8d621742eb48819dfb260f5c289a43", "object": + "Batch", "mode": "test", "state": "creation_failed", "num_shipments": 1, "reference": + null, "created_at": "2024-01-19T19:40:28Z", "updated_at": "2024-01-19T19:40:29Z", + "scan_form": null, "shipments": [{"batch_status": "creation_failed", "batch_message": + "None of the carrier_account_ids provided are valid and enabled", "reference": + null, "tracking_code": null, "id": "shp_bd99e54621e242cab6c1979d2b60cd86"}], + "status": {"created": 0, "queued_for_purchase": 0, "creation_failed": 1, "postage_purchased": + 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}], "has_more": + true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '618' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaf1a9e798cc9c00106481 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.050317' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/batches?page_size=1 + response: + body: + string: '{"batches": [{"id": "batch_fa8d621742eb48819dfb260f5c289a43", "object": + "Batch", "mode": "test", "state": "creation_failed", "num_shipments": 1, "reference": + null, "created_at": "2024-01-19T19:40:28Z", "updated_at": "2024-01-19T19:40:29Z", + "scan_form": null, "shipments": [{"batch_status": "creation_failed", "batch_message": + "None of the carrier_account_ids provided are valid and enabled", "reference": + null, "tracking_code": null, "id": "shp_bd99e54621e242cab6c1979d2b60cd86"}], + "status": {"created": 0, "queued_for_purchase": 0, "creation_failed": 1, "postage_purchased": + 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}], "has_more": + true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '618' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf255e798d1670010db0a + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.055931' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/batches?page_size=1 + response: + body: + string: '{"batches": [{"id": "batch_fa8d621742eb48819dfb260f5c289a43", "object": + "Batch", "mode": "test", "state": "creation_failed", "num_shipments": 1, "reference": + null, "created_at": "2024-01-19T19:40:28Z", "updated_at": "2024-01-19T19:40:29Z", + "scan_form": null, "shipments": [{"batch_status": "creation_failed", "batch_message": + "None of the carrier_account_ids provided are valid and enabled", "reference": + null, "tracking_code": null, "id": "shp_bd99e54621e242cab6c1979d2b60cd86"}], + "status": {"created": 0, "queued_for_purchase": 0, "creation_failed": 1, "postage_purchased": + 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}], "has_more": + true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '618' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765ab07e9e799e560001d73e9 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.056027' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_batches_remove_shipments.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_batches_remove_shipments.yaml new file mode 100644 index 00000000..422b70ec --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_batches_remove_shipments.yaml @@ -0,0 +1,4002 @@ +interactions: +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:40:13Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010707528", "updated_at": "2024-01-19T21:40:14Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_caa50bc3c9fb4661849e149db6db3554", "object": "CustomsInfo", "created_at": + "2024-01-19T21:40:13Z", "updated_at": "2024-01-19T21:40:13Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_ac218dba6c77491db7d4d74416f069ff", + "object": "CustomsItem", "created_at": "2024-01-19T21:40:13Z", "updated_at": + "2024-01-19T21:40:13Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_54138ad5b71311ee8b813cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:40:13+00:00", "updated_at": + "2024-01-19T21:40:13+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_c60a6d52343542ddb2268611818acc61", + "object": "Parcel", "created_at": "2024-01-19T21:40:13Z", "updated_at": "2024-01-19T21:40:13Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_db1ddecb14744c4ab5dc7ba418be31f8", "created_at": "2024-01-19T21:40:14Z", + "updated_at": "2024-01-19T21:40:14Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:40:14Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e844b1851a27374ce5b29ef4c461d551a6.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_e874448c93154b4b84cd43e5a057352f", "object": + "Rate", "created_at": "2024-01-19T21:40:13Z", "updated_at": "2024-01-19T21:40:13Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_282a50076e8e49ada236a20220538a4e", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f22a2925b2c44c8e9d476a39472bdc5a", + "object": "Rate", "created_at": "2024-01-19T21:40:13Z", "updated_at": "2024-01-19T21:40:13Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_282a50076e8e49ada236a20220538a4e", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_6e015ba10d4343f89d64eb3d2ab7f1ba", + "object": "Rate", "created_at": "2024-01-19T21:40:13Z", "updated_at": "2024-01-19T21:40:13Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_282a50076e8e49ada236a20220538a4e", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_9f9adf866f764e8aa2594650a9cf715b", + "object": "Rate", "created_at": "2024-01-19T21:40:13Z", "updated_at": "2024-01-19T21:40:13Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_282a50076e8e49ada236a20220538a4e", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_1a4ce85d9c474406aa509f87763d4361", "object": "Rate", "created_at": + "2024-01-19T21:40:13Z", "updated_at": "2024-01-19T21:40:13Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_282a50076e8e49ada236a20220538a4e", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_f22a2925b2c44c8e9d476a39472bdc5a", + "object": "Rate", "created_at": "2024-01-19T21:40:14Z", "updated_at": "2024-01-19T21:40:14Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_282a50076e8e49ada236a20220538a4e", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_be5b60d4b3ad441cb567fdfdc57cc694", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010707528", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:40:14Z", + "updated_at": "2024-01-19T21:40:14Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_282a50076e8e49ada236a20220538a4e", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrX2JlNWI2MGQ0YjNhZDQ0MWNiNTY3ZmRmZGM1N2NjNjk0"}, + "to_address": {"id": "adr_541131ecb71311ee8e56ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:40:13+00:00", "updated_at": "2024-01-19T21:40:14+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_54138ad5b71311ee8b813cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:40:13+00:00", "updated_at": + "2024-01-19T21:40:13+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_541131ecb71311ee8e56ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:40:13+00:00", "updated_at": "2024-01-19T21:40:14+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_282a50076e8e49ada236a20220538a4e", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_282a50076e8e49ada236a20220538a4e + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaec3de78b9b0a000cbdf4 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.147344' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"batch": {}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '13' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches + response: + body: + string: '{"id": "batch_254386e6b4314b419bcb0486ca65fc80", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 0, "reference": null, + "created_at": "2024-01-19T21:40:15Z", "updated_at": "2024-01-19T21:40:15Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '383' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaec3fe78b9b22000cbee6 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.041213' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipments": [{"id": "shp_282a50076e8e49ada236a20220538a4e"}]}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '63' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches/batch_254386e6b4314b419bcb0486ca65fc80/add_shipments + response: + body: + string: '{"id": "batch_254386e6b4314b419bcb0486ca65fc80", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T21:40:15Z", "updated_at": "2024-01-19T21:40:15Z", + "scan_form": null, "shipments": [{"batch_status": "postage_purchased", "batch_message": + null, "reference": null, "tracking_code": "9405500207552010707528", "id": + "shp_282a50076e8e49ada236a20220538a4e"}], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 1, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '542' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaec3fe78b9b23000cbf33 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.049413' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipments": [{"id": "shp_282a50076e8e49ada236a20220538a4e"}]}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '63' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches/batch_254386e6b4314b419bcb0486ca65fc80/remove_shipments + response: + body: + string: '{"id": "batch_254386e6b4314b419bcb0486ca65fc80", "object": "Batch", + "mode": "test", "state": "purchased", "num_shipments": 0, "reference": null, + "created_at": "2024-01-19T21:40:15Z", "updated_at": "2024-01-19T21:40:15Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '385' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaec3fe78b9b24000cbf62 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.053084' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:43:04Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010707924", "updated_at": "2024-01-19T21:43:04Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_8bded23381e449458d0bd5f7fcaea9b5", "object": "CustomsInfo", "created_at": + "2024-01-19T21:43:04Z", "updated_at": "2024-01-19T21:43:04Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_1f360690e65c4f1090baa923f96ab194", + "object": "CustomsItem", "created_at": "2024-01-19T21:43:04Z", "updated_at": + "2024-01-19T21:43:04Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_b98dcb78b71311ee812aac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:43:04+00:00", "updated_at": + "2024-01-19T21:43:04+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_ae0fcda3118d44bb8b9a37e83f1abd0c", + "object": "Parcel", "created_at": "2024-01-19T21:43:04Z", "updated_at": "2024-01-19T21:43:04Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_8f2d355cb7f0445ab38e38abca73052f", "created_at": "2024-01-19T21:43:04Z", + "updated_at": "2024-01-19T21:43:04Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:43:04Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e893f65941079949c0a089efb1eb14ec96.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_5f87f9e3fd1a410592c12e9b33f0d9ac", "object": + "Rate", "created_at": "2024-01-19T21:43:04Z", "updated_at": "2024-01-19T21:43:04Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_de2f998d91984ee993049fb44dd19b2f", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_3c849eb96eb54edbbb6b52e59edc1e0f", + "object": "Rate", "created_at": "2024-01-19T21:43:04Z", "updated_at": "2024-01-19T21:43:04Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_de2f998d91984ee993049fb44dd19b2f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_13cf965c37cf4f58a7b8a77846e04a3a", "object": "Rate", "created_at": + "2024-01-19T21:43:04Z", "updated_at": "2024-01-19T21:43:04Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_de2f998d91984ee993049fb44dd19b2f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_b6f215dcd1e9411c850323cb0daeae22", "object": "Rate", "created_at": + "2024-01-19T21:43:04Z", "updated_at": "2024-01-19T21:43:04Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_de2f998d91984ee993049fb44dd19b2f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_1d76b645542c477ab0365ca0b2e6cf83", "object": "Rate", "created_at": + "2024-01-19T21:43:04Z", "updated_at": "2024-01-19T21:43:04Z", "mode": "test", + "service": "Priority", "carrier": "USPS", "rate": "7.99", "currency": "USD", + "retail_rate": "14.05", "retail_currency": "USD", "list_rate": "10.27", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": + "shp_de2f998d91984ee993049fb44dd19b2f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_1d76b645542c477ab0365ca0b2e6cf83", + "object": "Rate", "created_at": "2024-01-19T21:43:04Z", "updated_at": "2024-01-19T21:43:04Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_de2f998d91984ee993049fb44dd19b2f", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_ed5c3326f0ea481abca1092908f38d22", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010707924", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:43:05Z", + "updated_at": "2024-01-19T21:43:05Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_de2f998d91984ee993049fb44dd19b2f", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrX2VkNWMzMzI2ZjBlYTQ4MWFiY2ExMDkyOTA4ZjM4ZDIy"}, + "to_address": {"id": "adr_b98bf69eb71311eeb22cac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:43:04+00:00", "updated_at": "2024-01-19T21:43:04+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_b98dcb78b71311ee812aac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:43:04+00:00", "updated_at": + "2024-01-19T21:43:04+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_b98bf69eb71311eeb22cac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:43:04+00:00", "updated_at": "2024-01-19T21:43:04+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_de2f998d91984ee993049fb44dd19b2f", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_de2f998d91984ee993049fb44dd19b2f + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaece8e78ba342000d295d + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.072564' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"batch": {}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '13' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches + response: + body: + string: '{"id": "batch_9221949d3bb34ebea10b730cc6856a41", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 0, "reference": null, + "created_at": "2024-01-19T21:43:05Z", "updated_at": "2024-01-19T21:43:05Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '383' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaece9e78ba343000d2a22 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.037417' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipments": [{"id": "shp_de2f998d91984ee993049fb44dd19b2f"}]}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '63' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches/batch_9221949d3bb34ebea10b730cc6856a41/add_shipments + response: + body: + string: '{"id": "batch_9221949d3bb34ebea10b730cc6856a41", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T21:43:05Z", "updated_at": "2024-01-19T21:43:05Z", + "scan_form": null, "shipments": [{"batch_status": "postage_purchased", "batch_message": + null, "reference": null, "tracking_code": "9405500207552010707924", "id": + "shp_de2f998d91984ee993049fb44dd19b2f"}], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 1, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '542' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaece9e78ba344000d2a45 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.050391' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipments": [{"id": "shp_de2f998d91984ee993049fb44dd19b2f"}]}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '63' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches/batch_9221949d3bb34ebea10b730cc6856a41/remove_shipments + response: + body: + string: '{"id": "batch_9221949d3bb34ebea10b730cc6856a41", "object": "Batch", + "mode": "test", "state": "purchased", "num_shipments": 0, "reference": null, + "created_at": "2024-01-19T21:43:05Z", "updated_at": "2024-01-19T21:43:05Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '385' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaece9e78ba345000d2a71 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.054017' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:46:54Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010708341", "updated_at": "2024-01-19T21:46:55Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_e079cc64976b4295a798612e32be57cc", "object": "CustomsInfo", "created_at": + "2024-01-19T21:46:54Z", "updated_at": "2024-01-19T21:46:54Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_42c495a703bb450db279a90798879aa7", + "object": "CustomsItem", "created_at": "2024-01-19T21:46:54Z", "updated_at": + "2024-01-19T21:46:54Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_42bc08e2b71411ee9f41ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:46:54+00:00", "updated_at": + "2024-01-19T21:46:54+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_fa88f46de85446b6878af516da84dd33", + "object": "Parcel", "created_at": "2024-01-19T21:46:54Z", "updated_at": "2024-01-19T21:46:54Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_29a219b7abed4847bf2c07d219a11a82", "created_at": "2024-01-19T21:46:54Z", + "updated_at": "2024-01-19T21:46:55Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:46:54Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e891e9d0dcb4524fca9dfc1f93b79334a3.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_71e5e44bbdc24899b0bbc373345695f2", "object": + "Rate", "created_at": "2024-01-19T21:46:54Z", "updated_at": "2024-01-19T21:46:54Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_fbc5fc1e50f349a1addb5a1b0264a6ca", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_6a6aaad6477a482dabeb44f6f0ae4fda", + "object": "Rate", "created_at": "2024-01-19T21:46:54Z", "updated_at": "2024-01-19T21:46:54Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_fbc5fc1e50f349a1addb5a1b0264a6ca", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_74c5531fb5284dd9ac9ae307d3b758b1", + "object": "Rate", "created_at": "2024-01-19T21:46:54Z", "updated_at": "2024-01-19T21:46:54Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_fbc5fc1e50f349a1addb5a1b0264a6ca", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_a9e54be32d5d43e791dbf8f7f9243dc9", "object": "Rate", "created_at": + "2024-01-19T21:46:54Z", "updated_at": "2024-01-19T21:46:54Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_fbc5fc1e50f349a1addb5a1b0264a6ca", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_e105871a242b44e2b5da7070218ff16e", "object": "Rate", "created_at": + "2024-01-19T21:46:54Z", "updated_at": "2024-01-19T21:46:54Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_fbc5fc1e50f349a1addb5a1b0264a6ca", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_71e5e44bbdc24899b0bbc373345695f2", + "object": "Rate", "created_at": "2024-01-19T21:46:54Z", "updated_at": "2024-01-19T21:46:54Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_fbc5fc1e50f349a1addb5a1b0264a6ca", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_45a354a5b06f4ee99bd490d1b51aca5d", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708341", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:46:55Z", + "updated_at": "2024-01-19T21:46:55Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_fbc5fc1e50f349a1addb5a1b0264a6ca", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzQ1YTM1NGE1YjA2ZjRlZTk5YmQ0OTBkMWI1MWFjYTVk"}, + "to_address": {"id": "adr_42b9cdcbb71411ee9d0a3cecef1b359e", "object": "Address", + "created_at": "2024-01-19T21:46:54+00:00", "updated_at": "2024-01-19T21:46:54+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_42bc08e2b71411ee9f41ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:46:54+00:00", "updated_at": + "2024-01-19T21:46:54+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_42b9cdcbb71411ee9d0a3cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:46:54+00:00", "updated_at": "2024-01-19T21:46:54+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_fbc5fc1e50f349a1addb5a1b0264a6ca", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_fbc5fc1e50f349a1addb5a1b0264a6ca + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdac65aaedcee78babe500111d58 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '1.054591' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"batch": {}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '13' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches + response: + body: + string: '{"id": "batch_733aed7280cb4fe7bf88b4283e2b641c", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 0, "reference": null, + "created_at": "2024-01-19T21:46:55Z", "updated_at": "2024-01-19T21:46:55Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '383' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdac65aaedcfe78babe600111e03 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.040434' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipments": [{"id": "shp_fbc5fc1e50f349a1addb5a1b0264a6ca"}]}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '63' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches/batch_733aed7280cb4fe7bf88b4283e2b641c/add_shipments + response: + body: + string: '{"id": "batch_733aed7280cb4fe7bf88b4283e2b641c", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T21:46:55Z", "updated_at": "2024-01-19T21:46:55Z", + "scan_form": null, "shipments": [{"batch_status": "postage_purchased", "batch_message": + null, "reference": null, "tracking_code": "9405500207552010708341", "id": + "shp_fbc5fc1e50f349a1addb5a1b0264a6ca"}], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 1, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '542' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda865aaedcfe78babe700111e25 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.056519' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipments": [{"id": "shp_fbc5fc1e50f349a1addb5a1b0264a6ca"}]}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '63' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches/batch_733aed7280cb4fe7bf88b4283e2b641c/remove_shipments + response: + body: + string: '{"id": "batch_733aed7280cb4fe7bf88b4283e2b641c", "object": "Batch", + "mode": "test", "state": "purchased", "num_shipments": 0, "reference": null, + "created_at": "2024-01-19T21:46:55Z", "updated_at": "2024-01-19T21:46:55Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '385' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdae65aaedcfe78babe800111e52 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.073532' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:48:45Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010708808", "updated_at": "2024-01-19T21:48:46Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_654e7c86e70047539f688e192f120128", "object": "CustomsInfo", "created_at": + "2024-01-19T21:48:45Z", "updated_at": "2024-01-19T21:48:45Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_029baaf30e9d4b09abc3aa5c81294639", + "object": "CustomsItem", "created_at": "2024-01-19T21:48:45Z", "updated_at": + "2024-01-19T21:48:45Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_851b2a3cb71411eeb463ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:48:45+00:00", "updated_at": + "2024-01-19T21:48:45+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_7732f0c2d7ca495babb6d66e7570f765", + "object": "Parcel", "created_at": "2024-01-19T21:48:45Z", "updated_at": "2024-01-19T21:48:45Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_af1b98b4779041718a1ce1ff77c33f99", "created_at": "2024-01-19T21:48:46Z", + "updated_at": "2024-01-19T21:48:46Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:48:46Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8f7597d0cc0274966a9b68bb3b1f2f47d.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_fcca06eeb05d4b4687456731933b5a47", "object": + "Rate", "created_at": "2024-01-19T21:48:45Z", "updated_at": "2024-01-19T21:48:45Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_171855562acc45a2af64b5854dc54b03", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_e5ac2dfcb9de4947aa1062bd5ff875a9", + "object": "Rate", "created_at": "2024-01-19T21:48:45Z", "updated_at": "2024-01-19T21:48:45Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_171855562acc45a2af64b5854dc54b03", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_7cda80e8747646418d8042287a3d982a", + "object": "Rate", "created_at": "2024-01-19T21:48:45Z", "updated_at": "2024-01-19T21:48:45Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_171855562acc45a2af64b5854dc54b03", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_1cda099d568b49708243692de79a2ba8", "object": "Rate", "created_at": + "2024-01-19T21:48:45Z", "updated_at": "2024-01-19T21:48:45Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_171855562acc45a2af64b5854dc54b03", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_fbb70629599e4aa798f21d3abd0086f9", "object": "Rate", "created_at": + "2024-01-19T21:48:45Z", "updated_at": "2024-01-19T21:48:45Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_171855562acc45a2af64b5854dc54b03", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_fcca06eeb05d4b4687456731933b5a47", + "object": "Rate", "created_at": "2024-01-19T21:48:46Z", "updated_at": "2024-01-19T21:48:46Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_171855562acc45a2af64b5854dc54b03", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_cf73dfd06856424997960d6bc63b6ee3", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708808", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:48:46Z", + "updated_at": "2024-01-19T21:48:46Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_171855562acc45a2af64b5854dc54b03", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrX2NmNzNkZmQwNjg1NjQyNDk5Nzk2MGQ2YmM2M2I2ZWUz"}, + "to_address": {"id": "adr_8518377cb71411ee82d3ac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T21:48:45+00:00", "updated_at": "2024-01-19T21:48:45+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_851b2a3cb71411eeb463ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:48:45+00:00", "updated_at": + "2024-01-19T21:48:45+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_8518377cb71411ee82d3ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:48:45+00:00", "updated_at": "2024-01-19T21:48:45+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_171855562acc45a2af64b5854dc54b03", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_171855562acc45a2af64b5854dc54b03 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdae65aaee3de78bb4040011618e + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '1.005794' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"batch": {}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '13' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches + response: + body: + string: '{"id": "batch_1916d5cae8654952bf9320aae54b2134", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 0, "reference": null, + "created_at": "2024-01-19T21:48:46Z", "updated_at": "2024-01-19T21:48:46Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '383' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda865aaee3ee78bb4050011623b + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.042695' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipments": [{"id": "shp_171855562acc45a2af64b5854dc54b03"}]}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '63' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches/batch_1916d5cae8654952bf9320aae54b2134/add_shipments + response: + body: + string: '{"id": "batch_1916d5cae8654952bf9320aae54b2134", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T21:48:46Z", "updated_at": "2024-01-19T21:48:46Z", + "scan_form": null, "shipments": [{"batch_status": "postage_purchased", "batch_message": + null, "reference": null, "tracking_code": "9405500207552010708808", "id": + "shp_171855562acc45a2af64b5854dc54b03"}], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 1, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '542' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdae65aaee3ee78bb4060011626a + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.060975' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipments": [{"id": "shp_171855562acc45a2af64b5854dc54b03"}]}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '63' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches/batch_1916d5cae8654952bf9320aae54b2134/remove_shipments + response: + body: + string: '{"id": "batch_1916d5cae8654952bf9320aae54b2134", "object": "Batch", + "mode": "test", "state": "purchased", "num_shipments": 0, "reference": null, + "created_at": "2024-01-19T21:48:46Z", "updated_at": "2024-01-19T21:48:47Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '385' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdae65aaee3fe78bb407001162ae + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.056032' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:57:56Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010711266", "updated_at": "2024-01-19T21:57:56Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_4cb8e146d9434f1ea5619c385561addb", "object": "CustomsInfo", "created_at": + "2024-01-19T21:57:56Z", "updated_at": "2024-01-19T21:57:56Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_39a574f26f054db4aee05c8d49558145", + "object": "CustomsItem", "created_at": "2024-01-19T21:57:56Z", "updated_at": + "2024-01-19T21:57:56Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_cd362986b71511eeb1a3ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:57:56+00:00", "updated_at": + "2024-01-19T21:57:56+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_68f93b97f06c420b8fdf4dbe02a1c8f0", + "object": "Parcel", "created_at": "2024-01-19T21:57:56Z", "updated_at": "2024-01-19T21:57:56Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_3d84e94615994aeb8d3d43cc09d79a55", "created_at": "2024-01-19T21:57:56Z", + "updated_at": "2024-01-19T21:57:56Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:57:56Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e89ec59d3f293e49cd8ebea99a6c4995e3.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_e407b29367e7491d873a3900a6dc7a50", "object": + "Rate", "created_at": "2024-01-19T21:57:56Z", "updated_at": "2024-01-19T21:57:56Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_c91cbad3f27b438394c696672a01aa43", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_320bc2d9917442f6aca7d65bda2c241a", + "object": "Rate", "created_at": "2024-01-19T21:57:56Z", "updated_at": "2024-01-19T21:57:56Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_c91cbad3f27b438394c696672a01aa43", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_7fa9a6f6cc3a4c3b80b2ea34c816d4f8", + "object": "Rate", "created_at": "2024-01-19T21:57:56Z", "updated_at": "2024-01-19T21:57:56Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_c91cbad3f27b438394c696672a01aa43", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_292f3a5b140c4b16929697a483454b72", + "object": "Rate", "created_at": "2024-01-19T21:57:56Z", "updated_at": "2024-01-19T21:57:56Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_c91cbad3f27b438394c696672a01aa43", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_f047b223e400448bb4d83aff460329aa", "object": "Rate", "created_at": + "2024-01-19T21:57:56Z", "updated_at": "2024-01-19T21:57:56Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_c91cbad3f27b438394c696672a01aa43", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_320bc2d9917442f6aca7d65bda2c241a", + "object": "Rate", "created_at": "2024-01-19T21:57:56Z", "updated_at": "2024-01-19T21:57:56Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_c91cbad3f27b438394c696672a01aa43", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_61d4666b46904413abd3ddb0d2c6ddc0", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711266", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:57:56Z", + "updated_at": "2024-01-19T21:57:56Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_c91cbad3f27b438394c696672a01aa43", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzYxZDQ2NjZiNDY5MDQ0MTNhYmQzZGRiMGQyYzZkZGMw"}, + "to_address": {"id": "adr_cd33b310b71511ee9f643cecef1b359e", "object": "Address", + "created_at": "2024-01-19T21:57:55+00:00", "updated_at": "2024-01-19T21:57:56+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_cd362986b71511eeb1a3ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:57:56+00:00", "updated_at": + "2024-01-19T21:57:56+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_cd33b310b71511ee9f643cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:57:55+00:00", "updated_at": "2024-01-19T21:57:56+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_c91cbad3f27b438394c696672a01aa43", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_c91cbad3f27b438394c696672a01aa43 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaf063e798bb9a000f60a7 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.967253' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"batch": {}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '13' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches + response: + body: + string: '{"id": "batch_7a6d9cef72fe45fa810af1b646cc73b9", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 0, "reference": null, + "created_at": "2024-01-19T21:57:57Z", "updated_at": "2024-01-19T21:57:57Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '383' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf065e798bb9b000f6148 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.035927' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipments": [{"id": "shp_c91cbad3f27b438394c696672a01aa43"}]}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '63' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches/batch_7a6d9cef72fe45fa810af1b646cc73b9/add_shipments + response: + body: + string: '{"id": "batch_7a6d9cef72fe45fa810af1b646cc73b9", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T21:57:57Z", "updated_at": "2024-01-19T21:57:57Z", + "scan_form": null, "shipments": [{"batch_status": "postage_purchased", "batch_message": + null, "reference": null, "tracking_code": "9405500207552010711266", "id": + "shp_c91cbad3f27b438394c696672a01aa43"}], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 1, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '542' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaf065e798bb9c000f6193 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.062763' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipments": [{"id": "shp_c91cbad3f27b438394c696672a01aa43"}]}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '63' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches/batch_7a6d9cef72fe45fa810af1b646cc73b9/remove_shipments + response: + body: + string: '{"id": "batch_7a6d9cef72fe45fa810af1b646cc73b9", "object": "Batch", + "mode": "test", "state": "purchased", "num_shipments": 0, "reference": null, + "created_at": "2024-01-19T21:57:57Z", "updated_at": "2024-01-19T21:57:57Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '385' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaf065e798bb9d000f61ba + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.049759' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T22:00:59Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010711747", "updated_at": "2024-01-19T22:01:00Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_7059ac33668d4708a38762454143baa5", "object": "CustomsInfo", "created_at": + "2024-01-19T22:00:59Z", "updated_at": "2024-01-19T22:00:59Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_e079d80359fc4ff79baf6a4ca876c65a", + "object": "CustomsItem", "created_at": "2024-01-19T22:00:59Z", "updated_at": + "2024-01-19T22:00:59Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_3a9889ddb71611ee8594ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T22:00:59+00:00", "updated_at": + "2024-01-19T22:00:59+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_821f75049ae54413b26b9b13dad9724d", + "object": "Parcel", "created_at": "2024-01-19T22:00:59Z", "updated_at": "2024-01-19T22:00:59Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_25199fa4031941debebfc4440981ad8c", "created_at": "2024-01-19T22:01:00Z", + "updated_at": "2024-01-19T22:01:00Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T22:01:00Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e862bf79e31c8a48a9919cdda69722f422.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_7a4f786698ff48b99b02bf14f6f74b12", "object": + "Rate", "created_at": "2024-01-19T22:00:59Z", "updated_at": "2024-01-19T22:00:59Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_f347c2dd393a47dba4b644954e4ba97a", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_44c606be57e049d2a329ac3d6140d767", + "object": "Rate", "created_at": "2024-01-19T22:00:59Z", "updated_at": "2024-01-19T22:00:59Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_f347c2dd393a47dba4b644954e4ba97a", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_a7dde908d5b04ff7a4f8b4a000156f14", + "object": "Rate", "created_at": "2024-01-19T22:00:59Z", "updated_at": "2024-01-19T22:00:59Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_f347c2dd393a47dba4b644954e4ba97a", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_33378be27bf94eea8d371c5f5145fe64", + "object": "Rate", "created_at": "2024-01-19T22:00:59Z", "updated_at": "2024-01-19T22:00:59Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_f347c2dd393a47dba4b644954e4ba97a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_09d2f84466d34ca5adbb16be5e3899d4", "object": "Rate", "created_at": + "2024-01-19T22:00:59Z", "updated_at": "2024-01-19T22:00:59Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_f347c2dd393a47dba4b644954e4ba97a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_44c606be57e049d2a329ac3d6140d767", + "object": "Rate", "created_at": "2024-01-19T22:01:00Z", "updated_at": "2024-01-19T22:01:00Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_f347c2dd393a47dba4b644954e4ba97a", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_ed76b7e66f424281b371697072e294e7", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711747", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:01:00Z", + "updated_at": "2024-01-19T22:01:00Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_f347c2dd393a47dba4b644954e4ba97a", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrX2VkNzZiN2U2NmY0MjQyODFiMzcxNjk3MDcyZTI5NGU3"}, + "to_address": {"id": "adr_3a950616b71611ee83c9ac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T22:00:59+00:00", "updated_at": "2024-01-19T22:00:59+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_3a9889ddb71611ee8594ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T22:00:59+00:00", "updated_at": + "2024-01-19T22:00:59+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_3a950616b71611ee83c9ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T22:00:59+00:00", "updated_at": "2024-01-19T22:00:59+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_f347c2dd393a47dba4b644954e4ba97a", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_f347c2dd393a47dba4b644954e4ba97a + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf11be798c3fa000fe91b + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.968741' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"batch": {}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '13' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches + response: + body: + string: '{"id": "batch_a7171ac5e0564c7b9ddf3ccb72f0e43f", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 0, "reference": null, + "created_at": "2024-01-19T22:01:00Z", "updated_at": "2024-01-19T22:01:00Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '383' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaf11ce798c3fb000fea42 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.036898' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipments": [{"id": "shp_f347c2dd393a47dba4b644954e4ba97a"}]}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '63' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches/batch_a7171ac5e0564c7b9ddf3ccb72f0e43f/add_shipments + response: + body: + string: '{"id": "batch_a7171ac5e0564c7b9ddf3ccb72f0e43f", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T22:01:00Z", "updated_at": "2024-01-19T22:01:00Z", + "scan_form": null, "shipments": [{"batch_status": "postage_purchased", "batch_message": + null, "reference": null, "tracking_code": "9405500207552010711747", "id": + "shp_f347c2dd393a47dba4b644954e4ba97a"}], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 1, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '542' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf11ce798c3fc000fea80 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.052184' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipments": [{"id": "shp_f347c2dd393a47dba4b644954e4ba97a"}]}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '63' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches/batch_a7171ac5e0564c7b9ddf3ccb72f0e43f/remove_shipments + response: + body: + string: '{"id": "batch_a7171ac5e0564c7b9ddf3ccb72f0e43f", "object": "Batch", + "mode": "test", "state": "purchased", "num_shipments": 0, "reference": null, + "created_at": "2024-01-19T22:01:00Z", "updated_at": "2024-01-19T22:01:01Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '385' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf11de798c3fd000feabe + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.047623' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T22:03:03Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010712133", "updated_at": "2024-01-19T22:03:04Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_fbe4724d7f0c4d2ea671ed12a05a20b8", "object": "CustomsInfo", "created_at": + "2024-01-19T22:03:03Z", "updated_at": "2024-01-19T22:03:03Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_883d154b16c64e93b55e47af223379fa", + "object": "CustomsItem", "created_at": "2024-01-19T22:03:03Z", "updated_at": + "2024-01-19T22:03:03Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_843e3590b71611ee98fe3cecef1b359e", + "object": "Address", "created_at": "2024-01-19T22:03:03+00:00", "updated_at": + "2024-01-19T22:03:03+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_fb548666686446b18736e6a0e9d3328a", + "object": "Parcel", "created_at": "2024-01-19T22:03:03Z", "updated_at": "2024-01-19T22:03:03Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_88e33bfd17354efab81570ec861a6ba0", "created_at": "2024-01-19T22:03:03Z", + "updated_at": "2024-01-19T22:03:03Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T22:03:03Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8d0e410039bef4e5d9f61fd6844ec250a.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_b341e8413e0a4876a3fa3848674a2de1", "object": + "Rate", "created_at": "2024-01-19T22:03:03Z", "updated_at": "2024-01-19T22:03:03Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_84faf597e9d14313949857367cc1283f", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c0004b5812f04bcf8399d8cf647c4304", + "object": "Rate", "created_at": "2024-01-19T22:03:03Z", "updated_at": "2024-01-19T22:03:03Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_84faf597e9d14313949857367cc1283f", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_17d3b88ef9c6457e969e648b86c63d54", + "object": "Rate", "created_at": "2024-01-19T22:03:03Z", "updated_at": "2024-01-19T22:03:03Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_84faf597e9d14313949857367cc1283f", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_edd4d1b34abf4236b60e5bbdb2182461", + "object": "Rate", "created_at": "2024-01-19T22:03:03Z", "updated_at": "2024-01-19T22:03:03Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_84faf597e9d14313949857367cc1283f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_fa7e6f5105e04530896d4dce5600e829", "object": "Rate", "created_at": + "2024-01-19T22:03:03Z", "updated_at": "2024-01-19T22:03:03Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_84faf597e9d14313949857367cc1283f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_c0004b5812f04bcf8399d8cf647c4304", + "object": "Rate", "created_at": "2024-01-19T22:03:03Z", "updated_at": "2024-01-19T22:03:03Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_84faf597e9d14313949857367cc1283f", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_982cc556e0be4deda285fbc0dc6c1cef", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010712133", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:03:04Z", + "updated_at": "2024-01-19T22:03:04Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_84faf597e9d14313949857367cc1283f", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzk4MmNjNTU2ZTBiZTRkZWRhMjg1ZmJjMGRjNmMxY2Vm"}, + "to_address": {"id": "adr_843b9944b71611eeab58ac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T22:03:03+00:00", "updated_at": "2024-01-19T22:03:03+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_843e3590b71611ee98fe3cecef1b359e", + "object": "Address", "created_at": "2024-01-19T22:03:03+00:00", "updated_at": + "2024-01-19T22:03:03+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_843b9944b71611eeab58ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T22:03:03+00:00", "updated_at": "2024-01-19T22:03:03+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_84faf597e9d14313949857367cc1283f", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_84faf597e9d14313949857367cc1283f + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf197e798cc3a00105584 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.101723' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"batch": {}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '13' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches + response: + body: + string: '{"id": "batch_b58f8fbf96fa48ec924420cca02f2129", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 0, "reference": null, + "created_at": "2024-01-19T22:03:04Z", "updated_at": "2024-01-19T22:03:04Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '383' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf198e798cc3b001056a0 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.037867' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipments": [{"id": "shp_84faf597e9d14313949857367cc1283f"}]}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '63' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches/batch_b58f8fbf96fa48ec924420cca02f2129/add_shipments + response: + body: + string: '{"id": "batch_b58f8fbf96fa48ec924420cca02f2129", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T22:03:04Z", "updated_at": "2024-01-19T22:03:04Z", + "scan_form": null, "shipments": [{"batch_status": "postage_purchased", "batch_message": + null, "reference": null, "tracking_code": "9405500207552010712133", "id": + "shp_84faf597e9d14313949857367cc1283f"}], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 1, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '542' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf198e798cc3c001056d3 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.062407' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipments": [{"id": "shp_84faf597e9d14313949857367cc1283f"}]}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '63' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches/batch_b58f8fbf96fa48ec924420cca02f2129/remove_shipments + response: + body: + string: '{"id": "batch_b58f8fbf96fa48ec924420cca02f2129", "object": "Batch", + "mode": "test", "state": "purchased", "num_shipments": 0, "reference": null, + "created_at": "2024-01-19T22:03:04Z", "updated_at": "2024-01-19T22:03:04Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '385' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf199e798cc3d00105709 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.048099' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T22:04:06Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010712348", "updated_at": "2024-01-19T22:04:07Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_9889ddf81adc43339330980e998b9c02", "object": "CustomsInfo", "created_at": + "2024-01-19T22:04:06Z", "updated_at": "2024-01-19T22:04:06Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_1be31ea5e23e4e159e41f4cb2a3c0945", + "object": "CustomsItem", "created_at": "2024-01-19T22:04:06Z", "updated_at": + "2024-01-19T22:04:06Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_a9d4c929b71611eeb87bac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T22:04:06+00:00", "updated_at": + "2024-01-19T22:04:06+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_19b915509f124ddf8f2e805746fbf719", + "object": "Parcel", "created_at": "2024-01-19T22:04:06Z", "updated_at": "2024-01-19T22:04:06Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_9b3fd12062b74d7981aa7c85c59382a9", "created_at": "2024-01-19T22:04:06Z", + "updated_at": "2024-01-19T22:04:07Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T22:04:06Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e82069bbe7c9fc41f68ff5c51d34af07fc.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_6a1b2c63e87447c9b7495d009c58851f", "object": + "Rate", "created_at": "2024-01-19T22:04:06Z", "updated_at": "2024-01-19T22:04:06Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_fa29465e744c43c59a003b68f18d32e1", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_bceb012166034e10b95a8d8a6819a3c2", + "object": "Rate", "created_at": "2024-01-19T22:04:06Z", "updated_at": "2024-01-19T22:04:06Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_fa29465e744c43c59a003b68f18d32e1", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_fef37c62b65f4372a6c48c7d84028322", + "object": "Rate", "created_at": "2024-01-19T22:04:06Z", "updated_at": "2024-01-19T22:04:06Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_fa29465e744c43c59a003b68f18d32e1", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_82f28e35b126443983d3a0ec938c5927", "object": "Rate", "created_at": + "2024-01-19T22:04:06Z", "updated_at": "2024-01-19T22:04:06Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_fa29465e744c43c59a003b68f18d32e1", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_3e7e29cdfb1147bd9d792e7de653e1ac", "object": "Rate", "created_at": + "2024-01-19T22:04:06Z", "updated_at": "2024-01-19T22:04:06Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_fa29465e744c43c59a003b68f18d32e1", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_6a1b2c63e87447c9b7495d009c58851f", + "object": "Rate", "created_at": "2024-01-19T22:04:06Z", "updated_at": "2024-01-19T22:04:06Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_fa29465e744c43c59a003b68f18d32e1", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_47fbb753bcab4cfab2d8b3b9228a1a58", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010712348", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:04:07Z", + "updated_at": "2024-01-19T22:04:07Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_fa29465e744c43c59a003b68f18d32e1", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzQ3ZmJiNzUzYmNhYjRjZmFiMmQ4YjNiOTIyOGExYTU4"}, + "to_address": {"id": "adr_a9d1fb2fb71611eea6873cecef1b359e", "object": "Address", + "created_at": "2024-01-19T22:04:06+00:00", "updated_at": "2024-01-19T22:04:06+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_a9d4c929b71611eeb87bac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T22:04:06+00:00", "updated_at": + "2024-01-19T22:04:06+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_a9d1fb2fb71611eea6873cecef1b359e", "object": + "Address", "created_at": "2024-01-19T22:04:06+00:00", "updated_at": "2024-01-19T22:04:06+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_fa29465e744c43c59a003b68f18d32e1", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_fa29465e744c43c59a003b68f18d32e1 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaf1d6e798ccdd001084bf + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.114703' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"batch": {}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '13' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches + response: + body: + string: '{"id": "batch_05afe01fbb3f43ed9a06d9e1b0952ab3", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 0, "reference": null, + "created_at": "2024-01-19T22:04:07Z", "updated_at": "2024-01-19T22:04:07Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '383' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf1d7e798ccde001085cd + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.039327' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipments": [{"id": "shp_fa29465e744c43c59a003b68f18d32e1"}]}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '63' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches/batch_05afe01fbb3f43ed9a06d9e1b0952ab3/add_shipments + response: + body: + string: '{"id": "batch_05afe01fbb3f43ed9a06d9e1b0952ab3", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T22:04:07Z", "updated_at": "2024-01-19T22:04:07Z", + "scan_form": null, "shipments": [{"batch_status": "postage_purchased", "batch_message": + null, "reference": null, "tracking_code": "9405500207552010712348", "id": + "shp_fa29465e744c43c59a003b68f18d32e1"}], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 1, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '542' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf1d7e798ccdf001085fb + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.054573' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipments": [{"id": "shp_fa29465e744c43c59a003b68f18d32e1"}]}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '63' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches/batch_05afe01fbb3f43ed9a06d9e1b0952ab3/remove_shipments + response: + body: + string: '{"id": "batch_05afe01fbb3f43ed9a06d9e1b0952ab3", "object": "Batch", + "mode": "test", "state": "purchased", "num_shipments": 0, "reference": null, + "created_at": "2024-01-19T22:04:07Z", "updated_at": "2024-01-19T22:04:08Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '385' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf1d8e798cce00010863b + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.049514' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T22:06:18Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010713031", "updated_at": "2024-01-19T22:06:19Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_f870e5d5c96845519e25c0783fd86865", "object": "CustomsInfo", "created_at": + "2024-01-19T22:06:18Z", "updated_at": "2024-01-19T22:06:18Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_a112d495ae614e929e3cd3aad56473bc", + "object": "CustomsItem", "created_at": "2024-01-19T22:06:18Z", "updated_at": + "2024-01-19T22:06:18Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_f89127b5b71611ee84c3ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T22:06:18+00:00", "updated_at": + "2024-01-19T22:06:18+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_ca7617c3932a4e9f9247d794bea7e43a", + "object": "Parcel", "created_at": "2024-01-19T22:06:18Z", "updated_at": "2024-01-19T22:06:18Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_8810e2db5a4d4254b2ed9f2dd9fc2210", "created_at": "2024-01-19T22:06:18Z", + "updated_at": "2024-01-19T22:06:19Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T22:06:18Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e88aaa098aa4fb4c6782dddd6ed8640470.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_76948d41826a43f283eeb775f88cedf2", "object": + "Rate", "created_at": "2024-01-19T22:06:18Z", "updated_at": "2024-01-19T22:06:18Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_55387450c6444cfc961f910a4a5ac1b0", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_6b1ce99db1ee4c229dfb77d1118a660b", + "object": "Rate", "created_at": "2024-01-19T22:06:18Z", "updated_at": "2024-01-19T22:06:18Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_55387450c6444cfc961f910a4a5ac1b0", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_a140eea1cf2c4cc2b1fba6a37384595f", + "object": "Rate", "created_at": "2024-01-19T22:06:18Z", "updated_at": "2024-01-19T22:06:18Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_55387450c6444cfc961f910a4a5ac1b0", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4368f613d729497a897603bd3ac59541", + "object": "Rate", "created_at": "2024-01-19T22:06:18Z", "updated_at": "2024-01-19T22:06:18Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_55387450c6444cfc961f910a4a5ac1b0", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_b8ebafcdb40746efba4626377aefcf32", "object": "Rate", "created_at": + "2024-01-19T22:06:18Z", "updated_at": "2024-01-19T22:06:18Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_55387450c6444cfc961f910a4a5ac1b0", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_6b1ce99db1ee4c229dfb77d1118a660b", + "object": "Rate", "created_at": "2024-01-19T22:06:19Z", "updated_at": "2024-01-19T22:06:19Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_55387450c6444cfc961f910a4a5ac1b0", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_299cbea4490d44239fbc2d0c12661070", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010713031", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:06:19Z", + "updated_at": "2024-01-19T22:06:19Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_55387450c6444cfc961f910a4a5ac1b0", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzI5OWNiZWE0NDkwZDQ0MjM5ZmJjMmQwYzEyNjYxMDcw"}, + "to_address": {"id": "adr_f88ea932b71611ee84c2ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T22:06:18+00:00", "updated_at": "2024-01-19T22:06:18+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_f89127b5b71611ee84c3ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T22:06:18+00:00", "updated_at": + "2024-01-19T22:06:18+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_f88ea932b71611ee84c2ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T22:06:18+00:00", "updated_at": "2024-01-19T22:06:18+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_55387450c6444cfc961f910a4a5ac1b0", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_55387450c6444cfc961f910a4a5ac1b0 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaf25ae798d1880010ddea + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.257083' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"batch": {}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '13' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches + response: + body: + string: '{"id": "batch_b36bedb4edc84f9fbe7ca997b586df6e", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 0, "reference": null, + "created_at": "2024-01-19T22:06:19Z", "updated_at": "2024-01-19T22:06:19Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '383' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf25be798d1890010dec6 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.040322' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipments": [{"id": "shp_55387450c6444cfc961f910a4a5ac1b0"}]}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '63' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches/batch_b36bedb4edc84f9fbe7ca997b586df6e/add_shipments + response: + body: + string: '{"id": "batch_b36bedb4edc84f9fbe7ca997b586df6e", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T22:06:19Z", "updated_at": "2024-01-19T22:06:19Z", + "scan_form": null, "shipments": [{"batch_status": "postage_purchased", "batch_message": + null, "reference": null, "tracking_code": "9405500207552010713031", "id": + "shp_55387450c6444cfc961f910a4a5ac1b0"}], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 1, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '542' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaf25be798d18a0010dee7 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.050624' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipments": [{"id": "shp_55387450c6444cfc961f910a4a5ac1b0"}]}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '63' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches/batch_b36bedb4edc84f9fbe7ca997b586df6e/remove_shipments + response: + body: + string: '{"id": "batch_b36bedb4edc84f9fbe7ca997b586df6e", "object": "Batch", + "mode": "test", "state": "purchased", "num_shipments": 0, "reference": null, + "created_at": "2024-01-19T22:06:19Z", "updated_at": "2024-01-19T22:06:20Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '385' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaf25ce798d4990010df07 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.051457' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T23:38:22Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010723597", "updated_at": "2024-01-19T23:38:23Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_8aff3e476bc14ff4bf3d50949970119a", "object": "CustomsInfo", "created_at": + "2024-01-19T23:38:22Z", "updated_at": "2024-01-19T23:38:22Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_3fef17be41b44bbd91a280592ce4321d", + "object": "CustomsItem", "created_at": "2024-01-19T23:38:22Z", "updated_at": + "2024-01-19T23:38:22Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_d52835b5b72311ee87bdac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T23:38:22+00:00", "updated_at": + "2024-01-19T23:38:22+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_43d0019c1e8545f1b3b482224f84cbd3", + "object": "Parcel", "created_at": "2024-01-19T23:38:22Z", "updated_at": "2024-01-19T23:38:22Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_2a72a7aca44d4fdf988b6b7efc40cbab", "created_at": "2024-01-19T23:38:22Z", + "updated_at": "2024-01-19T23:38:23Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T23:38:22Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8387a3c20357a481fa98f8a64ef4bf25b.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_1bd966b9566c4e2095117418bd2c4380", "object": + "Rate", "created_at": "2024-01-19T23:38:22Z", "updated_at": "2024-01-19T23:38:22Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_e20fea05ab874a48924903cceb4f4cc6", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_15d9e9944f3e4204b54c24a3bc6dc6f4", + "object": "Rate", "created_at": "2024-01-19T23:38:22Z", "updated_at": "2024-01-19T23:38:22Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_e20fea05ab874a48924903cceb4f4cc6", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_400f9c6ab41c4777bb593c61fb2c5ed6", "object": "Rate", "created_at": + "2024-01-19T23:38:22Z", "updated_at": "2024-01-19T23:38:22Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_e20fea05ab874a48924903cceb4f4cc6", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_4f0a4663a86b4bdf9f12b617e1ceb3db", "object": "Rate", "created_at": + "2024-01-19T23:38:22Z", "updated_at": "2024-01-19T23:38:22Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_e20fea05ab874a48924903cceb4f4cc6", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_92a612af192a4aca8838f727299fc49f", "object": "Rate", "created_at": + "2024-01-19T23:38:22Z", "updated_at": "2024-01-19T23:38:22Z", "mode": "test", + "service": "Priority", "carrier": "USPS", "rate": "7.99", "currency": "USD", + "retail_rate": "14.05", "retail_currency": "USD", "list_rate": "10.27", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": + "shp_e20fea05ab874a48924903cceb4f4cc6", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_92a612af192a4aca8838f727299fc49f", + "object": "Rate", "created_at": "2024-01-19T23:38:22Z", "updated_at": "2024-01-19T23:38:22Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_e20fea05ab874a48924903cceb4f4cc6", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_c11b2c345125419387d15bd3a3ef0ef2", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010723597", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T23:38:23Z", + "updated_at": "2024-01-19T23:38:23Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_e20fea05ab874a48924903cceb4f4cc6", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrX2MxMWIyYzM0NTEyNTQxOTM4N2QxNWJkM2EzZWYwZWYy"}, + "to_address": {"id": "adr_d525767cb72311ee9261ac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T23:38:22+00:00", "updated_at": "2024-01-19T23:38:22+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_d52835b5b72311ee87bdac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T23:38:22+00:00", "updated_at": + "2024-01-19T23:38:22+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_d525767cb72311ee9261ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T23:38:22+00:00", "updated_at": "2024-01-19T23:38:22+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_e20fea05ab874a48924903cceb4f4cc6", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_e20fea05ab874a48924903cceb4f4cc6 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665ab07eee799e580001d7638 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.928424' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"batch": {}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '13' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches + response: + body: + string: '{"id": "batch_26630214d47949aa85ff5b49441d6915", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 0, "reference": null, + "created_at": "2024-01-19T23:38:23Z", "updated_at": "2024-01-19T23:38:23Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '383' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465ab07efe799e581001d76c8 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.039635' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipments": [{"id": "shp_e20fea05ab874a48924903cceb4f4cc6"}]}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '63' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches/batch_26630214d47949aa85ff5b49441d6915/add_shipments + response: + body: + string: '{"id": "batch_26630214d47949aa85ff5b49441d6915", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T23:38:23Z", "updated_at": "2024-01-19T23:38:23Z", + "scan_form": null, "shipments": [{"batch_status": "postage_purchased", "batch_message": + null, "reference": null, "tracking_code": "9405500207552010723597", "id": + "shp_e20fea05ab874a48924903cceb4f4cc6"}], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 1, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '542' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365ab07efe799e582001d76e3 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.057294' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipments": [{"id": "shp_e20fea05ab874a48924903cceb4f4cc6"}]}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '63' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches/batch_26630214d47949aa85ff5b49441d6915/remove_shipments + response: + body: + string: '{"id": "batch_26630214d47949aa85ff5b49441d6915", "object": "Batch", + "mode": "test", "state": "purchased", "num_shipments": 0, "reference": null, + "created_at": "2024-01-19T23:38:23Z", "updated_at": "2024-01-19T23:38:23Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '385' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165ab07efe799e583001d7709 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.058495' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_batches_retrieve.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_batches_retrieve.yaml new file mode 100644 index 00000000..30977dfd --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_batches_retrieve.yaml @@ -0,0 +1,1485 @@ +interactions: +- request: + body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": + "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1002' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches + response: + body: + string: '{"id": "batch_4340577b57e24854a21b76acdc69d878", "object": "Batch", + "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T21:39:39Z", "updated_at": "2024-01-19T21:39:39Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '384' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaec1be78b9ae4000ca8e6 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.049743' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/batches/batch_4340577b57e24854a21b76acdc69d878 + response: + body: + string: '{"id": "batch_4340577b57e24854a21b76acdc69d878", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T21:39:39Z", "updated_at": "2024-01-19T21:39:39Z", + "scan_form": null, "shipments": [{"batch_status": "created", "batch_message": + null, "reference": null, "tracking_code": null, "id": "shp_8bee0a902ee34778aa75fb988e46fe1b"}], + "status": {"created": 1, "queued_for_purchase": 0, "creation_failed": 0, "postage_purchased": + 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '512' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaec1be78b9ae5000ca927 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.024468' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": + "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1002' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches + response: + body: + string: '{"id": "batch_9747838687e442db9525cf6bdb4cdf7f", "object": "Batch", + "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T21:42:59Z", "updated_at": "2024-01-19T21:42:59Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '384' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaece3e78ba320000d2695 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.054503' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/batches/batch_9747838687e442db9525cf6bdb4cdf7f + response: + body: + string: '{"id": "batch_9747838687e442db9525cf6bdb4cdf7f", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T21:42:59Z", "updated_at": "2024-01-19T21:42:59Z", + "scan_form": null, "shipments": [{"batch_status": "created", "batch_message": + null, "reference": null, "tracking_code": null, "id": "shp_40bcad49c58d43fa8e873b1383d83a55"}], + "status": {"created": 1, "queued_for_purchase": 0, "creation_failed": 0, "postage_purchased": + 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '512' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaece3e78ba321000d26c0 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.026670' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": + "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1002' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches + response: + body: + string: '{"id": "batch_fadb8835f95647618c8e65c9968adb73", "object": "Batch", + "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T21:46:48Z", "updated_at": "2024-01-19T21:46:48Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '384' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdac65aaedc8e78baba900111a24 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.046329' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/batches/batch_fadb8835f95647618c8e65c9968adb73 + response: + body: + string: '{"id": "batch_fadb8835f95647618c8e65c9968adb73", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T21:46:48Z", "updated_at": "2024-01-19T21:46:49Z", + "scan_form": null, "shipments": [{"batch_status": "created", "batch_message": + null, "reference": null, "tracking_code": null, "id": "shp_3bbd407d01334059b28186fe912f7174"}], + "status": {"created": 1, "queued_for_purchase": 0, "creation_failed": 0, "postage_purchased": + 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '512' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdab65aaedc9e78babaa00111a62 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.025947' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": + "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1002' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches + response: + body: + string: '{"id": "batch_b8608032bdf541b8a82ebfb32453d662", "object": "Batch", + "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T21:48:40Z", "updated_at": "2024-01-19T21:48:40Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '384' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdad65aaee38e78bb0eb00115ef5 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.045030' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/batches/batch_b8608032bdf541b8a82ebfb32453d662 + response: + body: + string: '{"id": "batch_b8608032bdf541b8a82ebfb32453d662", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T21:48:40Z", "updated_at": "2024-01-19T21:48:41Z", + "scan_form": null, "shipments": [{"batch_status": "created", "batch_message": + null, "reference": null, "tracking_code": null, "id": "shp_bcdf436206704dc7bf62fb264be55e70"}], + "status": {"created": 1, "queued_for_purchase": 0, "creation_failed": 0, "postage_purchased": + 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '512' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda765aaee39e78bb0ec00115f2d + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.028597' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": + "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1002' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches + response: + body: + string: '{"id": "batch_ea6566f464f94d888d4b50c520d400f9", "object": "Batch", + "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T21:57:41Z", "updated_at": "2024-01-19T21:57:41Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '384' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaf055e798bb78000f5798 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.045007' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/batches/batch_ea6566f464f94d888d4b50c520d400f9 + response: + body: + string: '{"id": "batch_ea6566f464f94d888d4b50c520d400f9", "object": "Batch", + "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T21:57:41Z", "updated_at": "2024-01-19T21:57:41Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '384' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaf055e798bb79000f57bb + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.025261' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": + "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1002' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches + response: + body: + string: '{"id": "batch_2a3b1e859d1d4e30be37a7feee215d0a", "object": "Batch", + "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T22:00:54Z", "updated_at": "2024-01-19T22:00:54Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '384' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaf116e798c3d8000fe4bc + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.050110' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/batches/batch_2a3b1e859d1d4e30be37a7feee215d0a + response: + body: + string: '{"id": "batch_2a3b1e859d1d4e30be37a7feee215d0a", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T22:00:54Z", "updated_at": "2024-01-19T22:00:55Z", + "scan_form": null, "shipments": [{"batch_status": "created", "batch_message": + null, "reference": null, "tracking_code": null, "id": "shp_794153de95df4918bdf14d9c4e111c10"}], + "status": {"created": 1, "queued_for_purchase": 0, "creation_failed": 0, "postage_purchased": + 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '512' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaf117e798c3d9000fe509 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.035669' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": + "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1002' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches + response: + body: + string: '{"id": "batch_5d70beec0b7b45a59b05b168495b2e96", "object": "Batch", + "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T22:02:57Z", "updated_at": "2024-01-19T22:02:57Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '384' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf191e798cc1800105187 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.041161' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/batches/batch_5d70beec0b7b45a59b05b168495b2e96 + response: + body: + string: '{"id": "batch_5d70beec0b7b45a59b05b168495b2e96", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T22:02:57Z", "updated_at": "2024-01-19T22:02:58Z", + "scan_form": null, "shipments": [{"batch_status": "created", "batch_message": + null, "reference": null, "tracking_code": null, "id": "shp_191d97c7e82142bbafd85e849719c73c"}], + "status": {"created": 1, "queued_for_purchase": 0, "creation_failed": 0, "postage_purchased": + 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '512' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf192e798cc19001051b5 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.026033' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": + "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1002' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches + response: + body: + string: '{"id": "batch_43dbc416d4e04962939b1c56f00e66e2", "object": "Batch", + "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T22:03:20Z", "updated_at": "2024-01-19T22:03:20Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '384' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf1a8e798cc83001063ce + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.053642' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/batches/batch_43dbc416d4e04962939b1c56f00e66e2 + response: + body: + string: '{"id": "batch_43dbc416d4e04962939b1c56f00e66e2", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T22:03:20Z", "updated_at": "2024-01-19T22:03:20Z", + "scan_form": null, "shipments": [{"batch_status": "created", "batch_message": + null, "reference": null, "tracking_code": null, "id": "shp_82b40d2b75ab4b6fb9eac46d9b4129a9"}], + "status": {"created": 1, "queued_for_purchase": 0, "creation_failed": 0, "postage_purchased": + 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '512' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaf1a9e798cc9b00106433 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.026593' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": + "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1002' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches + response: + body: + string: '{"id": "batch_f03d0092670444c38ea38fbb0deda6f9", "object": "Batch", + "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T22:06:12Z", "updated_at": "2024-01-19T22:06:12Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '384' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaf254e798d1650010da77 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.107462' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/batches/batch_f03d0092670444c38ea38fbb0deda6f9 + response: + body: + string: '{"id": "batch_f03d0092670444c38ea38fbb0deda6f9", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T22:06:12Z", "updated_at": "2024-01-19T22:06:12Z", + "scan_form": null, "shipments": [{"batch_status": "created", "batch_message": + null, "reference": null, "tracking_code": null, "id": "shp_fe148126a6e64563a4faca3acfbe5dd1"}], + "status": {"created": 1, "queued_for_purchase": 0, "creation_failed": 0, "postage_purchased": + 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '512' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf254e798d1660010daa8 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.032018' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": + "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1002' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches + response: + body: + string: '{"id": "batch_42a9ce503f274417a96af4a56863e661", "object": "Batch", + "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T23:38:16Z", "updated_at": "2024-01-19T23:38:16Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '384' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765ab07e8e799e55e001d738d + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.071913' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/batches/batch_42a9ce503f274417a96af4a56863e661 + response: + body: + string: '{"id": "batch_42a9ce503f274417a96af4a56863e661", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T23:38:16Z", "updated_at": "2024-01-19T23:38:17Z", + "scan_form": null, "shipments": [{"batch_status": "created", "batch_message": + null, "reference": null, "tracking_code": null, "id": "shp_387aa0f7dbaa41ae8162563b033d381f"}], + "status": {"created": 1, "queued_for_purchase": 0, "creation_failed": 0, "postage_purchased": + 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '512' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665ab07e9e799e55f001d73ad + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.026851' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_batches_scan_forms.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_batches_scan_forms.yaml new file mode 100644 index 00000000..7ee0f89e --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_batches_scan_forms.yaml @@ -0,0 +1,453 @@ +interactions: +- request: + body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": + "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1002' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches + response: + body: + string: '{"id": "batch_6165570832d34965bfe4f0f224fef421", "object": "Batch", + "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T22:03:22Z", "updated_at": "2024-01-19T22:03:22Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '384' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf1aae798cc9f00106568 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.051338' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches/batch_6165570832d34965bfe4f0f224fef421/buy + response: + body: + string: '{"id": "batch_6165570832d34965bfe4f0f224fef421", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T22:03:22Z", "updated_at": "2024-01-19T22:03:23Z", + "scan_form": null, "shipments": [{"batch_status": "queued_for_purchase", "batch_message": + null, "reference": null, "tracking_code": null, "id": "shp_790b9989bd7e478c81d57b9013431bbc"}], + "status": {"created": 1, "queued_for_purchase": 0, "creation_failed": 0, "postage_purchased": + 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '524' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf1bfe798ccc1001074ba + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.056501' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches/batch_6165570832d34965bfe4f0f224fef421/scan_form + response: + body: + string: '{"id": "batch_6165570832d34965bfe4f0f224fef421", "object": "Batch", + "mode": "test", "state": "purchased", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T22:03:22Z", "updated_at": "2024-01-19T22:04:03Z", + "scan_form": {"id": "sf_d0df49ac5c1e4193beff07d518c6af80", "object": "ScanForm", + "created_at": "2024-01-19T22:04:03Z", "updated_at": "2024-01-19T22:04:03Z", + "tracking_codes": [], "address": null, "status": "creating", "message": null, + "form_url": null, "form_file_type": null, "batch_id": "batch_6165570832d34965bfe4f0f224fef421", + "confirmation": null}, "shipments": [{"batch_status": "postage_purchased", + "batch_message": null, "reference": null, "tracking_code": "9405500207552010712270", + "id": "shp_790b9989bd7e478c81d57b9013431bbc"}], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 1, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '856' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaf1d3e798ccc20010833b + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.068699' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": + "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1002' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches + response: + body: + string: '{"id": "batch_8d55ec833fec4ed5a99559f8d3610a63", "object": "Batch", + "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T23:38:18Z", "updated_at": "2024-01-19T23:38:18Z", + "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": + 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": + 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '384' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265ab07eae799e563001d74a3 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.074864' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches/batch_8d55ec833fec4ed5a99559f8d3610a63/buy + response: + body: + string: '{"id": "batch_8d55ec833fec4ed5a99559f8d3610a63", "object": "Batch", + "mode": "test", "state": "created", "num_shipments": 1, "reference": null, + "created_at": "2024-01-19T23:38:18Z", "updated_at": "2024-01-19T23:38:19Z", + "scan_form": null, "shipments": [{"batch_status": "queued_for_purchase", "batch_message": + null, "reference": null, "tracking_code": null, "id": "shp_cc3fe6af5cea47e889690a73c92f9621"}], + "status": {"created": 1, "queued_for_purchase": 0, "creation_failed": 0, "postage_purchased": + 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '524' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865ab07ebe799e564001d74ca + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.068407' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/batches/batch_8d55ec833fec4ed5a99559f8d3610a63/scan_form + response: + body: + string: '{"error": {"code": "SCAN_FORM.BATCH.NOT_PURCHASED", "message": "All + shipments on the Batch must be purchased before generating a ScanForm.", "errors": + []}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '149' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465ab07ebe799e565001d74f3 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.041019' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 422 + message: Unprocessable Entity +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_brand_update.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_brand_update.yaml new file mode 100644 index 00000000..919c90e1 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_brand_update.yaml @@ -0,0 +1,1554 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/users + response: + body: + string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": + null, "name": "New Name", "phone_number": "5555555555", "verified": true, + "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": + false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": + "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", + "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": + null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": + "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User2", "phone_number": "8005550100", "verified": true, "created_at": + "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}, + {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": + "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": + "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": + false, "has_elevate_access": false, "children": []}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1440' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaec55e78b9b28000ccd36 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.062933' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"color": "#123456"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '20' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: PATCH + uri: https://api.easypost.com/v2/users/user_54356a6b96c940d8913961a3c7b909f2/brand + response: + body: + string: '{"id": "brd_79967d34dc894866850bc8342c84dc41", "color": "#123456", + "logo": "https://assets.easypost.com/assets/images/branding/easypost-primary-logo.7324aa54b64b34d6cd70ca5ba4d1842d.svg", + "logo_href": "https://www.easypost.com", "name": "EasyPost", "ad": null, "ad_href": + null, "object": "Brand", "user_id": "user_54356a6b96c940d8913961a3c7b909f2", + "background_color": "#123456", "theme": "theme1"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '377' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaec55e78b9b29000ccd58 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.022071' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/users + response: + body: + string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": + null, "name": "New Name", "phone_number": "5555555555", "verified": true, + "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": + false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": + "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", + "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": + null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": + "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User2", "phone_number": "8005550100", "verified": true, "created_at": + "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}, + {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": + "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": + "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": + false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User", "phone_number": "8005550100", "verified": true, "created_at": + "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1725' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaecebe78ba349000d2b1e + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.084258' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"color": "#123456"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '20' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: PATCH + uri: https://api.easypost.com/v2/users/user_54356a6b96c940d8913961a3c7b909f2/brand + response: + body: + string: '{"id": "brd_79967d34dc894866850bc8342c84dc41", "color": "#123456", + "logo": "https://assets.easypost.com/assets/images/branding/easypost-primary-logo.7324aa54b64b34d6cd70ca5ba4d1842d.svg", + "logo_href": "https://www.easypost.com", "name": "EasyPost", "ad": null, "ad_href": + null, "object": "Brand", "user_id": "user_54356a6b96c940d8913961a3c7b909f2", + "background_color": "#123456", "theme": "theme1"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '377' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaecebe78ba34a000d2b58 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.021488' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/users + response: + body: + string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": + null, "name": "New Name", "phone_number": "5555555555", "verified": true, + "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": + false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": + "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", + "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": + null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": + "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User2", "phone_number": "8005550100", "verified": true, "created_at": + "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}, + {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": + "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": + "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": + false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User", "phone_number": "8005550100", "verified": true, "created_at": + "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2010' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdad65aaedd1e78babec00111f15 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.094382' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"color": "#123456"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '20' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: PATCH + uri: https://api.easypost.com/v2/users/user_54356a6b96c940d8913961a3c7b909f2/brand + response: + body: + string: '{"id": "brd_79967d34dc894866850bc8342c84dc41", "color": "#123456", + "logo": "https://assets.easypost.com/assets/images/branding/easypost-primary-logo.7324aa54b64b34d6cd70ca5ba4d1842d.svg", + "logo_href": "https://www.easypost.com", "name": "EasyPost", "ad": null, "ad_href": + null, "object": "Brand", "user_id": "user_54356a6b96c940d8913961a3c7b909f2", + "background_color": "#123456", "theme": "theme1"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '377' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdac65aaedd1e78babed00111f45 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.021941' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/users + response: + body: + string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": + null, "name": "New Name", "phone_number": "5555555555", "verified": true, + "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": + false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": + "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", + "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": + null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": + "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User2", "phone_number": "8005550100", "verified": true, "created_at": + "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}, + {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": + "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": + "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": + false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User", "phone_number": "8005550100", "verified": true, "created_at": + "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2010' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdad65aaee40e78bb40b0011635e + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.086837' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"color": "#123456"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '20' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: PATCH + uri: https://api.easypost.com/v2/users/user_54356a6b96c940d8913961a3c7b909f2/brand + response: + body: + string: '{"id": "brd_79967d34dc894866850bc8342c84dc41", "color": "#123456", + "logo": "https://assets.easypost.com/assets/images/branding/easypost-primary-logo.7324aa54b64b34d6cd70ca5ba4d1842d.svg", + "logo_href": "https://www.easypost.com", "name": "EasyPost", "ad": null, "ad_href": + null, "object": "Brand", "user_id": "user_54356a6b96c940d8913961a3c7b909f2", + "background_color": "#123456", "theme": "theme1"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '377' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda965aaee41e78bb40c00116397 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.021003' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/users + response: + body: + string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": + null, "name": "New Name", "phone_number": "5555555555", "verified": true, + "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": + false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": + "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", + "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": + null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": + "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User2", "phone_number": "8005550100", "verified": true, "created_at": + "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}, + {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": + "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": + "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": + false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User", "phone_number": "8005550100", "verified": true, "created_at": + "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2010' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaf071e798bbb8000f6823 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.085486' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"color": "#123456"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '20' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: PATCH + uri: https://api.easypost.com/v2/users/user_54356a6b96c940d8913961a3c7b909f2/brand + response: + body: + string: '{"id": "brd_79967d34dc894866850bc8342c84dc41", "color": "#123456", + "logo": "https://assets.easypost.com/assets/images/branding/easypost-primary-logo.7324aa54b64b34d6cd70ca5ba4d1842d.svg", + "logo_href": "https://www.easypost.com", "name": "EasyPost", "ad": null, "ad_href": + null, "object": "Brand", "user_id": "user_54356a6b96c940d8913961a3c7b909f2", + "background_color": "#123456", "theme": "theme1"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '377' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf071e798bbb9000f6845 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.024479' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/users + response: + body: + string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": + null, "name": "New Name", "phone_number": "5555555555", "verified": true, + "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": + false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": + "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", + "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": + null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": + "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User2", "phone_number": "8005550100", "verified": true, "created_at": + "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}, + {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": + "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": + "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": + false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User", "phone_number": "8005550100", "verified": true, "created_at": + "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2010' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf11ee798c401000fec1e + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.089290' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"color": "#123456"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '20' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: PATCH + uri: https://api.easypost.com/v2/users/user_54356a6b96c940d8913961a3c7b909f2/brand + response: + body: + string: '{"id": "brd_79967d34dc894866850bc8342c84dc41", "color": "#123456", + "logo": "https://assets.easypost.com/assets/images/branding/easypost-primary-logo.7324aa54b64b34d6cd70ca5ba4d1842d.svg", + "logo_href": "https://www.easypost.com", "name": "EasyPost", "ad": null, "ad_href": + null, "object": "Brand", "user_id": "user_54356a6b96c940d8913961a3c7b909f2", + "background_color": "#123456", "theme": "theme1"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '377' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaf11fe798c419000fec85 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.025952' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/users + response: + body: + string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": + null, "name": "New Name", "phone_number": "5555555555", "verified": true, + "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": + false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": + "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", + "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": + null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": + "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User2", "phone_number": "8005550100", "verified": true, "created_at": + "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}, + {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": + "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": + "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": + false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User", "phone_number": "8005550100", "verified": true, "created_at": + "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2010' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaf19ae798cc410010582a + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.083270' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"color": "#123456"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '20' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: PATCH + uri: https://api.easypost.com/v2/users/user_54356a6b96c940d8913961a3c7b909f2/brand + response: + body: + string: '{"id": "brd_79967d34dc894866850bc8342c84dc41", "color": "#123456", + "logo": "https://assets.easypost.com/assets/images/branding/easypost-primary-logo.7324aa54b64b34d6cd70ca5ba4d1842d.svg", + "logo_href": "https://www.easypost.com", "name": "EasyPost", "ad": null, "ad_href": + null, "object": "Brand", "user_id": "user_54356a6b96c940d8913961a3c7b909f2", + "background_color": "#123456", "theme": "theme1"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '377' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaf19ae798cc590010587d + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.021090' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/users + response: + body: + string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": + null, "name": "New Name", "phone_number": "5555555555", "verified": true, + "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": + false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": + "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", + "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": + null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": + "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User2", "phone_number": "8005550100", "verified": true, "created_at": + "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}, + {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": + "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": + "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": + false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User", "phone_number": "8005550100", "verified": true, "created_at": + "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2010' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf201e798cce50010a153 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.088889' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"color": "#123456"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '20' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: PATCH + uri: https://api.easypost.com/v2/users/user_54356a6b96c940d8913961a3c7b909f2/brand + response: + body: + string: '{"id": "brd_79967d34dc894866850bc8342c84dc41", "color": "#123456", + "logo": "https://assets.easypost.com/assets/images/branding/easypost-primary-logo.7324aa54b64b34d6cd70ca5ba4d1842d.svg", + "logo_href": "https://www.easypost.com", "name": "EasyPost", "ad": null, "ad_href": + null, "object": "Brand", "user_id": "user_54356a6b96c940d8913961a3c7b909f2", + "background_color": "#123456", "theme": "theme1"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '377' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaf201e798cce60010a190 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.021926' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/users + response: + body: + string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": + null, "name": "New Name", "phone_number": "5555555555", "verified": true, + "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": + false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": + "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", + "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": + null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": + "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User2", "phone_number": "8005550100", "verified": true, "created_at": + "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}, + {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": + "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": + "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": + false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User", "phone_number": "8005550100", "verified": true, "created_at": + "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2010' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf25de798d49d0010e001 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.083024' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"color": "#123456"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '20' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: PATCH + uri: https://api.easypost.com/v2/users/user_54356a6b96c940d8913961a3c7b909f2/brand + response: + body: + string: '{"id": "brd_79967d34dc894866850bc8342c84dc41", "color": "#123456", + "logo": "https://assets.easypost.com/assets/images/branding/easypost-primary-logo.7324aa54b64b34d6cd70ca5ba4d1842d.svg", + "logo_href": "https://www.easypost.com", "name": "EasyPost", "ad": null, "ad_href": + null, "object": "Brand", "user_id": "user_54356a6b96c940d8913961a3c7b909f2", + "background_color": "#123456", "theme": "theme1"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '377' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaf25ee798d49e0010e02c + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.024578' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/users + response: + body: + string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": + null, "name": "New Name", "phone_number": "5555555555", "verified": true, + "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": + false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": + "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", + "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": + null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": + "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User2", "phone_number": "8005550100", "verified": true, "created_at": + "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}, + {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": + "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": + "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": + false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User", "phone_number": "8005550100", "verified": true, "created_at": + "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2010' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365ab07f1e799e587001d77bd + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.089531' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"color": "#123456"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '20' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: PATCH + uri: https://api.easypost.com/v2/users/user_54356a6b96c940d8913961a3c7b909f2/brand + response: + body: + string: '{"id": "brd_79967d34dc894866850bc8342c84dc41", "color": "#123456", + "logo": "https://assets.easypost.com/assets/images/branding/easypost-primary-logo.7324aa54b64b34d6cd70ca5ba4d1842d.svg", + "logo_href": "https://www.easypost.com", "name": "EasyPost", "ad": null, "ad_href": + null, "object": "Brand", "user_id": "user_54356a6b96c940d8913961a3c7b909f2", + "background_color": "#123456", "theme": "theme1"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '377' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565ab07f1e799e59f001d77ea + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.028369' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_carrier_accounts_create.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_carrier_accounts_create.yaml new file mode 100644 index 00000000..96806969 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_carrier_accounts_create.yaml @@ -0,0 +1,1465 @@ +interactions: +- request: + body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location + DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": + "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": + {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", + "pickup_id": "123456"}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '359' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/carrier_accounts + response: + body: + string: '{"id": "ca_65b36650ca424c4192f3042b7c5f5df6", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T21:40:38Z", + "updated_at": "2024-01-19T21:40:38Z", "description": "CA Location DHL eCommerce + Solutions Account", "reference": null, "billing_type": "carrier", "readable": + "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": + "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce + Solutions client secret", "value": "********"}, "pickup_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, + "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions + distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", + "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test + DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", + "value": "123456"}, "distribution_center": {"visibility": "visible", "label": + "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1481' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaec56e78b9b2a000ccd88 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.109454' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/carrier_accounts/ca_65b36650ca424c4192f3042b7c5f5df6 + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaec56e78b9b2b000ccdd2 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.113342' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location + DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": + "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": + {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", + "pickup_id": "123456"}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '359' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/carrier_accounts + response: + body: + string: '{"id": "ca_e28dd57017e242f191118f3651292e76", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T21:43:07Z", + "updated_at": "2024-01-19T21:43:07Z", "description": "CA Location DHL eCommerce + Solutions Account", "reference": null, "billing_type": "carrier", "readable": + "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": + "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce + Solutions client secret", "value": "********"}, "pickup_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, + "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions + distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", + "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test + DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", + "value": "123456"}, "distribution_center": {"visibility": "visible", "label": + "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1481' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaecebe78ba362000d2b80 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.113862' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/carrier_accounts/ca_e28dd57017e242f191118f3651292e76 + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaecece78ba363000d2bba + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.114131' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location + DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": + "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": + {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", + "pickup_id": "123456"}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '359' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/carrier_accounts + response: + body: + string: '{"id": "ca_b96741971fb54ab6a619a94038db5191", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T21:46:57Z", + "updated_at": "2024-01-19T21:46:57Z", "description": "CA Location DHL eCommerce + Solutions Account", "reference": null, "billing_type": "carrier", "readable": + "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": + "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce + Solutions client secret", "value": "********"}, "pickup_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, + "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions + distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", + "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test + DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", + "value": "123456"}, "distribution_center": {"visibility": "visible", "label": + "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1481' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdaa65aaedd1e78bac0500111f71 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.107736' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/carrier_accounts/ca_b96741971fb54ab6a619a94038db5191 + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdae65aaedd2e78bac0600111fb3 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.127970' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location + DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": + "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": + {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", + "pickup_id": "123456"}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '359' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/carrier_accounts + response: + body: + string: '{"id": "ca_458c949b6cc942d88209098f599b216d", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T21:48:49Z", + "updated_at": "2024-01-19T21:48:49Z", "description": "CA Location DHL eCommerce + Solutions Account", "reference": null, "billing_type": "carrier", "readable": + "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": + "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce + Solutions client secret", "value": "********"}, "pickup_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, + "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions + distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", + "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test + DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", + "value": "123456"}, "distribution_center": {"visibility": "visible", "label": + "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1481' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdae65aaee41e78bb424001163d6 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.115747' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/carrier_accounts/ca_458c949b6cc942d88209098f599b216d + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdaa65aaee41e78bb4250011640b + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.114290' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location + DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": + "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": + {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", + "pickup_id": "123456"}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '359' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/carrier_accounts + response: + body: + string: '{"id": "ca_cac9e8228ea84336804a0960504b0d00", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T21:58:09Z", + "updated_at": "2024-01-19T21:58:09Z", "description": "CA Location DHL eCommerce + Solutions Account", "reference": null, "billing_type": "carrier", "readable": + "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": + "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce + Solutions client secret", "value": "********"}, "pickup_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, + "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions + distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", + "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test + DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", + "value": "123456"}, "distribution_center": {"visibility": "visible", "label": + "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1481' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaf071e798bbba000f686b + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.109726' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/carrier_accounts/ca_cac9e8228ea84336804a0960504b0d00 + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf072e798bbbb000f6896 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.119476' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location + DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": + "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": + {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", + "pickup_id": "123456"}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '359' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/carrier_accounts + response: + body: + string: '{"id": "ca_4f0312b790e8416fba62ad775f207d20", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T22:01:03Z", + "updated_at": "2024-01-19T22:01:03Z", "description": "CA Location DHL eCommerce + Solutions Account", "reference": null, "billing_type": "carrier", "readable": + "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": + "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce + Solutions client secret", "value": "********"}, "pickup_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, + "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions + distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", + "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test + DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", + "value": "123456"}, "distribution_center": {"visibility": "visible", "label": + "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1481' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaf11fe798c41a000fecd6 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.112590' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/carrier_accounts/ca_4f0312b790e8416fba62ad775f207d20 + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf11fe798c41b000fed19 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.114465' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location + DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": + "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": + {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", + "pickup_id": "123456"}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '359' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/carrier_accounts + response: + body: + string: '{"id": "ca_76fc84e39d4247db89bc77780e784d10", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T22:03:07Z", + "updated_at": "2024-01-19T22:03:07Z", "description": "CA Location DHL eCommerce + Solutions Account", "reference": null, "billing_type": "carrier", "readable": + "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": + "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce + Solutions client secret", "value": "********"}, "pickup_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, + "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions + distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", + "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test + DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", + "value": "123456"}, "distribution_center": {"visibility": "visible", "label": + "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1481' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf19be798cc5a001058c1 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.109757' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location + DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": + "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": + {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", + "pickup_id": "123456"}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '359' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/carrier_accounts + response: + body: + string: '{"id": "ca_8a914f6a3faf4755b3c500e527841574", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T22:04:50Z", + "updated_at": "2024-01-19T22:04:50Z", "description": "CA Location DHL eCommerce + Solutions Account", "reference": null, "billing_type": "carrier", "readable": + "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": + "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce + Solutions client secret", "value": "********"}, "pickup_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, + "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions + distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", + "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test + DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", + "value": "123456"}, "distribution_center": {"visibility": "visible", "label": + "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1481' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf202e798ccfe0010a1ce + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.110308' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/carrier_accounts/ca_8a914f6a3faf4755b3c500e527841574 + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaf202e798ccff0010a202 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.117930' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location + DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": + "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": + {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", + "pickup_id": "123456"}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '359' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/carrier_accounts + response: + body: + string: '{"id": "ca_26a7b8112c0a40ba80b1bf29b4ea3904", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T22:06:22Z", + "updated_at": "2024-01-19T22:06:22Z", "description": "CA Location DHL eCommerce + Solutions Account", "reference": null, "billing_type": "carrier", "readable": + "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": + "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce + Solutions client secret", "value": "********"}, "pickup_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, + "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions + distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", + "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test + DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", + "value": "123456"}, "distribution_center": {"visibility": "visible", "label": + "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1481' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf25ee798d49f0010e05d + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.110038' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/carrier_accounts/ca_26a7b8112c0a40ba80b1bf29b4ea3904 + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf25ee798d4a00010e09a + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.115217' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location + DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": + "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": + {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", + "pickup_id": "123456"}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '359' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/carrier_accounts + response: + body: + string: '{"id": "ca_50973fe5d6924ee3925c875bbfd86183", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T23:38:26Z", + "updated_at": "2024-01-19T23:38:26Z", "description": "CA Location DHL eCommerce + Solutions Account", "reference": null, "billing_type": "carrier", "readable": + "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": + "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce + Solutions client secret", "value": "********"}, "pickup_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, + "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions + distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", + "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test + DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", + "value": "123456"}, "distribution_center": {"visibility": "visible", "label": + "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1481' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565ab07f2e799e5a0001d7812 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.111220' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/carrier_accounts/ca_50973fe5d6924ee3925c875bbfd86183 + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365ab07f2e799e5a1001d7841 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.121840' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_carrier_accounts_delete.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_carrier_accounts_delete.yaml new file mode 100644 index 00000000..5398791f --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_carrier_accounts_delete.yaml @@ -0,0 +1,1222 @@ +interactions: +- request: + body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location + DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": + "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": + {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", + "pickup_id": "123456"}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '359' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/carrier_accounts + response: + body: + string: '{"id": "ca_78190d5654d14619957d00ba081d2bc9", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T21:40:42Z", + "updated_at": "2024-01-19T21:40:42Z", "description": "CA Location DHL eCommerce + Solutions Account", "reference": null, "billing_type": "carrier", "readable": + "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": + "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce + Solutions client secret", "value": "********"}, "pickup_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, + "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions + distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", + "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test + DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", + "value": "123456"}, "distribution_center": {"visibility": "visible", "label": + "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1481' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaec5ae78b9b4b000ccfce + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.113192' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/carrier_accounts/ca_78190d5654d14619957d00ba081d2bc9 + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaec5ae78b9b4c000cd009 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.114587' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location + DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": + "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": + {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", + "pickup_id": "123456"}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '359' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/carrier_accounts + response: + body: + string: '{"id": "ca_fc3a40d1588c47ce86751514612956f6", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T21:43:10Z", + "updated_at": "2024-01-19T21:43:10Z", "description": "CA Location DHL eCommerce + Solutions Account", "reference": null, "billing_type": "carrier", "readable": + "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": + "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce + Solutions client secret", "value": "********"}, "pickup_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, + "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions + distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", + "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test + DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", + "value": "123456"}, "distribution_center": {"visibility": "visible", "label": + "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1481' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaeceee78ba386000d2d76 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.120582' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/carrier_accounts/ca_fc3a40d1588c47ce86751514612956f6 + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaecefe78ba387000d2daf + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.113423' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location + DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": + "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": + {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", + "pickup_id": "123456"}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '359' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/carrier_accounts + response: + body: + string: '{"id": "ca_81aa2f4ebc7942afa55db401d95dbb7f", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T21:47:01Z", + "updated_at": "2024-01-19T21:47:01Z", "description": "CA Location DHL eCommerce + Solutions Account", "reference": null, "billing_type": "carrier", "readable": + "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": + "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce + Solutions client secret", "value": "********"}, "pickup_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, + "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions + distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", + "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test + DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", + "value": "123456"}, "distribution_center": {"visibility": "visible", "label": + "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1481' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdac65aaedd5e78bac26001121a0 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.112406' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/carrier_accounts/ca_81aa2f4ebc7942afa55db401d95dbb7f + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdad65aaedd5e78bac27001121da + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.127231' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location + DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": + "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": + {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", + "pickup_id": "123456"}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '359' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/carrier_accounts + response: + body: + string: '{"id": "ca_1527d516c47d42f8bd1c2db5efdab93a", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T21:48:53Z", + "updated_at": "2024-01-19T21:48:53Z", "description": "CA Location DHL eCommerce + Solutions Account", "reference": null, "billing_type": "carrier", "readable": + "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": + "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce + Solutions client secret", "value": "********"}, "pickup_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, + "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions + distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", + "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test + DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", + "value": "123456"}, "distribution_center": {"visibility": "visible", "label": + "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1481' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdaa65aaee44e78bb42d001165c0 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.127715' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/carrier_accounts/ca_1527d516c47d42f8bd1c2db5efdab93a + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdab65aaee45e78bb448001165f2 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.124083' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location + DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": + "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": + {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", + "pickup_id": "123456"}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '359' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/carrier_accounts + response: + body: + string: '{"id": "ca_23aa20424ea24c769194958b353d1f9e", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T21:58:13Z", + "updated_at": "2024-01-19T21:58:13Z", "description": "CA Location DHL eCommerce + Solutions Account", "reference": null, "billing_type": "carrier", "readable": + "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": + "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce + Solutions client secret", "value": "********"}, "pickup_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, + "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions + distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", + "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test + DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", + "value": "123456"}, "distribution_center": {"visibility": "visible", "label": + "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1481' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaf075e798bbda000f6ad2 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.110079' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/carrier_accounts/ca_23aa20424ea24c769194958b353d1f9e + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaf076e798bbdb000f6b13 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.116221' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location + DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": + "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": + {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", + "pickup_id": "123456"}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '359' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/carrier_accounts + response: + body: + string: '{"id": "ca_e7c0f3575363407fa3f735654d5bffbf", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T22:01:07Z", + "updated_at": "2024-01-19T22:01:07Z", "description": "CA Location DHL eCommerce + Solutions Account", "reference": null, "billing_type": "carrier", "readable": + "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": + "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce + Solutions client secret", "value": "********"}, "pickup_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, + "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions + distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", + "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test + DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", + "value": "123456"}, "distribution_center": {"visibility": "visible", "label": + "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1481' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf123e798c43a000ff033 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.108611' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/carrier_accounts/ca_e7c0f3575363407fa3f735654d5bffbf + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf124e798c43b000ff0c8 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.123796' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location + DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": + "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": + {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", + "pickup_id": "123456"}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '359' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/carrier_accounts + response: + body: + string: '{"id": "ca_6371384c011e42cc8e60a213fbfccffb", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T22:04:54Z", + "updated_at": "2024-01-19T22:04:54Z", "description": "CA Location DHL eCommerce + Solutions Account", "reference": null, "billing_type": "carrier", "readable": + "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": + "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce + Solutions client secret", "value": "********"}, "pickup_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, + "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions + distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", + "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test + DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", + "value": "123456"}, "distribution_center": {"visibility": "visible", "label": + "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1481' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf206e798cd070010a437 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.111932' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/carrier_accounts/ca_6371384c011e42cc8e60a213fbfccffb + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf206e798cd1f0010a461 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.137454' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location + DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": + "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": + {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", + "pickup_id": "123456"}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '359' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/carrier_accounts + response: + body: + string: '{"id": "ca_2a9a4e70ecae4a12a0f4249a9b3cc860", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T22:06:26Z", + "updated_at": "2024-01-19T22:06:26Z", "description": "CA Location DHL eCommerce + Solutions Account", "reference": null, "billing_type": "carrier", "readable": + "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": + "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce + Solutions client secret", "value": "********"}, "pickup_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, + "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions + distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", + "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test + DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", + "value": "123456"}, "distribution_center": {"visibility": "visible", "label": + "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1481' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf262e798d4c00010e303 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.110967' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/carrier_accounts/ca_2a9a4e70ecae4a12a0f4249a9b3cc860 + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf262e798d4c10010e32e + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.116321' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_carrier_accounts_list.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_carrier_accounts_list.yaml new file mode 100644 index 00000000..db88cfe1 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_carrier_accounts_list.yaml @@ -0,0 +1,1829 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/carrier_accounts?page_size=1 + response: + body: + string: '[{"id": "ca_b25657e9896e4d63ac8151ac346ac41e", "object": "CarrierAccount", + "type": "UspsAccount", "clone": false, "created_at": "2017-03-01T03:01:34Z", + "updated_at": "2018-08-09T02:45:22Z", "description": "USPS Account", "reference": + null, "billing_type": "easypost", "readable": "USPS", "logo": null, "fields": + {"credentials": {"company_name": {"visibility": "visible", "label": "Account + Holder Name", "value": ""}, "address_street": {"visibility": "visible", "label": + "Street Address", "value": ""}, "address_city": {"visibility": "visible", + "label": "City", "value": ""}, "address_state": {"visibility": "visible", + "label": "State", "value": ""}, "address_zip": {"visibility": "visible", "label": + "ZIP Code", "value": ""}, "phone": {"visibility": "visible", "label": "Phone + Number", "value": ""}, "email": {"visibility": "visible", "label": "Email + Address", "value": null}, "shipper_id": {"visibility": "visible", "label": + "Shipper Identifier (Optional)", "value": ""}}}, "credentials": {"company_name": + "", "address_street": "", "address_city": "", "address_state": "", "address_zip": + "", "phone": "", "email": null, "shipper_id": ""}, "test_credentials": null}, + {"id": "ca_05ab5a0345634187b52daaf787aa4cd0", "object": "CarrierAccount", + "type": "LsoDefaultAccount", "clone": false, "created_at": "2022-04-26T16:58:59Z", + "updated_at": "2022-04-26T16:58:59Z", "description": "LSO Account", "reference": + null, "billing_type": "easypost", "readable": "LSO", "logo": null, "fields": + {"credentials": {}}, "credentials": {}, "test_credentials": null}, {"id": + "ca_d38ae88b6edb48ed93c0a16ed068215b", "object": "CarrierAccount", "type": + "DhlExpressDefaultAccount", "clone": false, "created_at": "2022-04-26T16:59:02Z", + "updated_at": "2022-04-26T16:59:02Z", "description": "DHL Express Account", + "reference": null, "billing_type": "easypost", "readable": "DHL Express", + "logo": null, "fields": {"credentials": {}}, "credentials": {}, "test_credentials": + null}, {"id": "ca_c3cbbd21bc97400bbbaed6d030909476", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2022-08-15T18:51:36Z", + "updated_at": "2022-08-15T18:51:36Z", "description": "DHL eCommerce Solutions + Account", "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce + Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions client ID", "value": "123456"}, + "client_secret": {"visibility": "password", "label": "DHL eCommerce Solutions + client secret", "value": "********"}, "pickup_id": {"visibility": "visible", + "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", + "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", + "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": + {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", + "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test + DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution + center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": + "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": + {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", + "distribution_center": "USLAX1"}}, {"id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "object": "CarrierAccount", "type": "DhlEcsAccount", "clone": false, "created_at": + "2023-05-12T21:15:15Z", "updated_at": "2023-05-12T21:15:15Z", "description": + "DHL eCommerce Solutions Account", "reference": null, "billing_type": "carrier", + "readable": "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": + {"client_id": {"visibility": "visible", "label": "DHL eCommerce Solutions + client ID", "value": "123456"}, "client_secret": {"visibility": "password", + "label": "DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions pickup ID", "value": + "123456"}, "distribution_center": {"visibility": "visible", "label": "DHL + eCommerce Solutions distribution center", "value": "USLAX1"}}, "test_credentials": + {"client_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions + client ID", "value": "123456"}, "client_secret": {"visibility": "password", + "label": "Test DHL eCommerce Solutions client secret", "value": "********"}, + "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions + pickup ID", "value": "123456"}, "distribution_center": {"visibility": "visible", + "label": "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}, {"id": "ca_99007e1aeb66421faf82676f1199481e", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2023-05-12T21:15:15Z", + "updated_at": "2023-05-12T21:15:15Z", "description": "DHL eCommerce Solutions + Account", "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce + Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions client ID", "value": "123456"}, + "client_secret": {"visibility": "password", "label": "DHL eCommerce Solutions + client secret", "value": "********"}, "pickup_id": {"visibility": "visible", + "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", + "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", + "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": + {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", + "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test + DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution + center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": + "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": + {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", + "distribution_center": "USLAX1"}}, {"id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "object": "CarrierAccount", "type": "DhlEcsAccount", "clone": false, "created_at": + "2023-05-12T21:15:16Z", "updated_at": "2023-05-12T21:15:16Z", "description": + "DHL eCommerce Solutions Account", "reference": null, "billing_type": "carrier", + "readable": "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": + {"client_id": {"visibility": "visible", "label": "DHL eCommerce Solutions + client ID", "value": "123456"}, "client_secret": {"visibility": "password", + "label": "DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions pickup ID", "value": + "123456"}, "distribution_center": {"visibility": "visible", "label": "DHL + eCommerce Solutions distribution center", "value": "USLAX1"}}, "test_credentials": + {"client_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions + client ID", "value": "123456"}, "client_secret": {"visibility": "password", + "label": "Test DHL eCommerce Solutions client secret", "value": "********"}, + "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions + pickup ID", "value": "123456"}, "distribution_center": {"visibility": "visible", + "label": "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}, {"id": "ca_b1a0a1bc45844159812e0224d53948ea", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2023-05-12T21:15:16Z", + "updated_at": "2023-05-12T21:15:16Z", "description": "DHL eCommerce Solutions + Account", "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce + Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions client ID", "value": "123456"}, + "client_secret": {"visibility": "password", "label": "DHL eCommerce Solutions + client secret", "value": "********"}, "pickup_id": {"visibility": "visible", + "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", + "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", + "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": + {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", + "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test + DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution + center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": + "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": + {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", + "distribution_center": "USLAX1"}}, {"id": "ca_c7b4cfaf671b4984b84023d77561394a", + "object": "CarrierAccount", "type": "DhlEcsAccount", "clone": false, "created_at": + "2023-05-12T21:18:18Z", "updated_at": "2023-05-12T21:18:18Z", "description": + "DHL eCommerce Solutions Account", "reference": null, "billing_type": "carrier", + "readable": "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": + {"client_id": {"visibility": "visible", "label": "DHL eCommerce Solutions + client ID", "value": "123456"}, "client_secret": {"visibility": "password", + "label": "DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions pickup ID", "value": + "123456"}, "distribution_center": {"visibility": "visible", "label": "DHL + eCommerce Solutions distribution center", "value": "USLAX1"}}, "test_credentials": + {"client_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions + client ID", "value": "123456"}, "client_secret": {"visibility": "password", + "label": "Test DHL eCommerce Solutions client secret", "value": "********"}, + "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions + pickup ID", "value": "123456"}, "distribution_center": {"visibility": "visible", + "label": "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}]' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '10617' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaec58e78b9b46000ccebc + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.382234' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/carrier_accounts?page_size=1 + response: + body: + string: '[{"id": "ca_b25657e9896e4d63ac8151ac346ac41e", "object": "CarrierAccount", + "type": "UspsAccount", "clone": false, "created_at": "2017-03-01T03:01:34Z", + "updated_at": "2018-08-09T02:45:22Z", "description": "USPS Account", "reference": + null, "billing_type": "easypost", "readable": "USPS", "logo": null, "fields": + {"credentials": {"company_name": {"visibility": "visible", "label": "Account + Holder Name", "value": ""}, "address_street": {"visibility": "visible", "label": + "Street Address", "value": ""}, "address_city": {"visibility": "visible", + "label": "City", "value": ""}, "address_state": {"visibility": "visible", + "label": "State", "value": ""}, "address_zip": {"visibility": "visible", "label": + "ZIP Code", "value": ""}, "phone": {"visibility": "visible", "label": "Phone + Number", "value": ""}, "email": {"visibility": "visible", "label": "Email + Address", "value": null}, "shipper_id": {"visibility": "visible", "label": + "Shipper Identifier (Optional)", "value": ""}}}, "credentials": {"company_name": + "", "address_street": "", "address_city": "", "address_state": "", "address_zip": + "", "phone": "", "email": null, "shipper_id": ""}, "test_credentials": null}, + {"id": "ca_05ab5a0345634187b52daaf787aa4cd0", "object": "CarrierAccount", + "type": "LsoDefaultAccount", "clone": false, "created_at": "2022-04-26T16:58:59Z", + "updated_at": "2022-04-26T16:58:59Z", "description": "LSO Account", "reference": + null, "billing_type": "easypost", "readable": "LSO", "logo": null, "fields": + {"credentials": {}}, "credentials": {}, "test_credentials": null}, {"id": + "ca_d38ae88b6edb48ed93c0a16ed068215b", "object": "CarrierAccount", "type": + "DhlExpressDefaultAccount", "clone": false, "created_at": "2022-04-26T16:59:02Z", + "updated_at": "2022-04-26T16:59:02Z", "description": "DHL Express Account", + "reference": null, "billing_type": "easypost", "readable": "DHL Express", + "logo": null, "fields": {"credentials": {}}, "credentials": {}, "test_credentials": + null}, {"id": "ca_c3cbbd21bc97400bbbaed6d030909476", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2022-08-15T18:51:36Z", + "updated_at": "2022-08-15T18:51:36Z", "description": "DHL eCommerce Solutions + Account", "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce + Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions client ID", "value": "123456"}, + "client_secret": {"visibility": "password", "label": "DHL eCommerce Solutions + client secret", "value": "********"}, "pickup_id": {"visibility": "visible", + "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", + "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", + "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": + {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", + "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test + DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution + center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": + "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": + {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", + "distribution_center": "USLAX1"}}, {"id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "object": "CarrierAccount", "type": "DhlEcsAccount", "clone": false, "created_at": + "2023-05-12T21:15:15Z", "updated_at": "2023-05-12T21:15:15Z", "description": + "DHL eCommerce Solutions Account", "reference": null, "billing_type": "carrier", + "readable": "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": + {"client_id": {"visibility": "visible", "label": "DHL eCommerce Solutions + client ID", "value": "123456"}, "client_secret": {"visibility": "password", + "label": "DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions pickup ID", "value": + "123456"}, "distribution_center": {"visibility": "visible", "label": "DHL + eCommerce Solutions distribution center", "value": "USLAX1"}}, "test_credentials": + {"client_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions + client ID", "value": "123456"}, "client_secret": {"visibility": "password", + "label": "Test DHL eCommerce Solutions client secret", "value": "********"}, + "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions + pickup ID", "value": "123456"}, "distribution_center": {"visibility": "visible", + "label": "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}, {"id": "ca_99007e1aeb66421faf82676f1199481e", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2023-05-12T21:15:15Z", + "updated_at": "2023-05-12T21:15:15Z", "description": "DHL eCommerce Solutions + Account", "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce + Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions client ID", "value": "123456"}, + "client_secret": {"visibility": "password", "label": "DHL eCommerce Solutions + client secret", "value": "********"}, "pickup_id": {"visibility": "visible", + "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", + "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", + "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": + {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", + "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test + DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution + center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": + "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": + {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", + "distribution_center": "USLAX1"}}, {"id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "object": "CarrierAccount", "type": "DhlEcsAccount", "clone": false, "created_at": + "2023-05-12T21:15:16Z", "updated_at": "2023-05-12T21:15:16Z", "description": + "DHL eCommerce Solutions Account", "reference": null, "billing_type": "carrier", + "readable": "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": + {"client_id": {"visibility": "visible", "label": "DHL eCommerce Solutions + client ID", "value": "123456"}, "client_secret": {"visibility": "password", + "label": "DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions pickup ID", "value": + "123456"}, "distribution_center": {"visibility": "visible", "label": "DHL + eCommerce Solutions distribution center", "value": "USLAX1"}}, "test_credentials": + {"client_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions + client ID", "value": "123456"}, "client_secret": {"visibility": "password", + "label": "Test DHL eCommerce Solutions client secret", "value": "********"}, + "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions + pickup ID", "value": "123456"}, "distribution_center": {"visibility": "visible", + "label": "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}, {"id": "ca_b1a0a1bc45844159812e0224d53948ea", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2023-05-12T21:15:16Z", + "updated_at": "2023-05-12T21:15:16Z", "description": "DHL eCommerce Solutions + Account", "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce + Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions client ID", "value": "123456"}, + "client_secret": {"visibility": "password", "label": "DHL eCommerce Solutions + client secret", "value": "********"}, "pickup_id": {"visibility": "visible", + "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", + "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", + "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": + {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", + "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test + DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution + center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": + "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": + {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", + "distribution_center": "USLAX1"}}, {"id": "ca_c7b4cfaf671b4984b84023d77561394a", + "object": "CarrierAccount", "type": "DhlEcsAccount", "clone": false, "created_at": + "2023-05-12T21:18:18Z", "updated_at": "2023-05-12T21:18:18Z", "description": + "DHL eCommerce Solutions Account", "reference": null, "billing_type": "carrier", + "readable": "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": + {"client_id": {"visibility": "visible", "label": "DHL eCommerce Solutions + client ID", "value": "123456"}, "client_secret": {"visibility": "password", + "label": "DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions pickup ID", "value": + "123456"}, "distribution_center": {"visibility": "visible", "label": "DHL + eCommerce Solutions distribution center", "value": "USLAX1"}}, "test_credentials": + {"client_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions + client ID", "value": "123456"}, "client_secret": {"visibility": "password", + "label": "Test DHL eCommerce Solutions client secret", "value": "********"}, + "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions + pickup ID", "value": "123456"}, "distribution_center": {"visibility": "visible", + "label": "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}]' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '10617' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaecede78ba367000d2c78 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.113130' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/carrier_accounts?page_size=1 + response: + body: + string: '[{"id": "ca_b25657e9896e4d63ac8151ac346ac41e", "object": "CarrierAccount", + "type": "UspsAccount", "clone": false, "created_at": "2017-03-01T03:01:34Z", + "updated_at": "2018-08-09T02:45:22Z", "description": "USPS Account", "reference": + null, "billing_type": "easypost", "readable": "USPS", "logo": null, "fields": + {"credentials": {"company_name": {"visibility": "visible", "label": "Account + Holder Name", "value": ""}, "address_street": {"visibility": "visible", "label": + "Street Address", "value": ""}, "address_city": {"visibility": "visible", + "label": "City", "value": ""}, "address_state": {"visibility": "visible", + "label": "State", "value": ""}, "address_zip": {"visibility": "visible", "label": + "ZIP Code", "value": ""}, "phone": {"visibility": "visible", "label": "Phone + Number", "value": ""}, "email": {"visibility": "visible", "label": "Email + Address", "value": null}, "shipper_id": {"visibility": "visible", "label": + "Shipper Identifier (Optional)", "value": ""}}}, "credentials": {"company_name": + "", "address_street": "", "address_city": "", "address_state": "", "address_zip": + "", "phone": "", "email": null, "shipper_id": ""}, "test_credentials": null}, + {"id": "ca_05ab5a0345634187b52daaf787aa4cd0", "object": "CarrierAccount", + "type": "LsoDefaultAccount", "clone": false, "created_at": "2022-04-26T16:58:59Z", + "updated_at": "2022-04-26T16:58:59Z", "description": "LSO Account", "reference": + null, "billing_type": "easypost", "readable": "LSO", "logo": null, "fields": + {"credentials": {}}, "credentials": {}, "test_credentials": null}, {"id": + "ca_d38ae88b6edb48ed93c0a16ed068215b", "object": "CarrierAccount", "type": + "DhlExpressDefaultAccount", "clone": false, "created_at": "2022-04-26T16:59:02Z", + "updated_at": "2022-04-26T16:59:02Z", "description": "DHL Express Account", + "reference": null, "billing_type": "easypost", "readable": "DHL Express", + "logo": null, "fields": {"credentials": {}}, "credentials": {}, "test_credentials": + null}, {"id": "ca_c3cbbd21bc97400bbbaed6d030909476", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2022-08-15T18:51:36Z", + "updated_at": "2022-08-15T18:51:36Z", "description": "DHL eCommerce Solutions + Account", "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce + Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions client ID", "value": "123456"}, + "client_secret": {"visibility": "password", "label": "DHL eCommerce Solutions + client secret", "value": "********"}, "pickup_id": {"visibility": "visible", + "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", + "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", + "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": + {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", + "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test + DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution + center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": + "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": + {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", + "distribution_center": "USLAX1"}}, {"id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "object": "CarrierAccount", "type": "DhlEcsAccount", "clone": false, "created_at": + "2023-05-12T21:15:15Z", "updated_at": "2023-05-12T21:15:15Z", "description": + "DHL eCommerce Solutions Account", "reference": null, "billing_type": "carrier", + "readable": "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": + {"client_id": {"visibility": "visible", "label": "DHL eCommerce Solutions + client ID", "value": "123456"}, "client_secret": {"visibility": "password", + "label": "DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions pickup ID", "value": + "123456"}, "distribution_center": {"visibility": "visible", "label": "DHL + eCommerce Solutions distribution center", "value": "USLAX1"}}, "test_credentials": + {"client_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions + client ID", "value": "123456"}, "client_secret": {"visibility": "password", + "label": "Test DHL eCommerce Solutions client secret", "value": "********"}, + "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions + pickup ID", "value": "123456"}, "distribution_center": {"visibility": "visible", + "label": "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}, {"id": "ca_99007e1aeb66421faf82676f1199481e", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2023-05-12T21:15:15Z", + "updated_at": "2023-05-12T21:15:15Z", "description": "DHL eCommerce Solutions + Account", "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce + Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions client ID", "value": "123456"}, + "client_secret": {"visibility": "password", "label": "DHL eCommerce Solutions + client secret", "value": "********"}, "pickup_id": {"visibility": "visible", + "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", + "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", + "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": + {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", + "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test + DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution + center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": + "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": + {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", + "distribution_center": "USLAX1"}}, {"id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "object": "CarrierAccount", "type": "DhlEcsAccount", "clone": false, "created_at": + "2023-05-12T21:15:16Z", "updated_at": "2023-05-12T21:15:16Z", "description": + "DHL eCommerce Solutions Account", "reference": null, "billing_type": "carrier", + "readable": "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": + {"client_id": {"visibility": "visible", "label": "DHL eCommerce Solutions + client ID", "value": "123456"}, "client_secret": {"visibility": "password", + "label": "DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions pickup ID", "value": + "123456"}, "distribution_center": {"visibility": "visible", "label": "DHL + eCommerce Solutions distribution center", "value": "USLAX1"}}, "test_credentials": + {"client_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions + client ID", "value": "123456"}, "client_secret": {"visibility": "password", + "label": "Test DHL eCommerce Solutions client secret", "value": "********"}, + "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions + pickup ID", "value": "123456"}, "distribution_center": {"visibility": "visible", + "label": "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}, {"id": "ca_b1a0a1bc45844159812e0224d53948ea", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2023-05-12T21:15:16Z", + "updated_at": "2023-05-12T21:15:16Z", "description": "DHL eCommerce Solutions + Account", "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce + Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions client ID", "value": "123456"}, + "client_secret": {"visibility": "password", "label": "DHL eCommerce Solutions + client secret", "value": "********"}, "pickup_id": {"visibility": "visible", + "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", + "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", + "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": + {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", + "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test + DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution + center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": + "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": + {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", + "distribution_center": "USLAX1"}}, {"id": "ca_c7b4cfaf671b4984b84023d77561394a", + "object": "CarrierAccount", "type": "DhlEcsAccount", "clone": false, "created_at": + "2023-05-12T21:18:18Z", "updated_at": "2023-05-12T21:18:18Z", "description": + "DHL eCommerce Solutions Account", "reference": null, "billing_type": "carrier", + "readable": "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": + {"client_id": {"visibility": "visible", "label": "DHL eCommerce Solutions + client ID", "value": "123456"}, "client_secret": {"visibility": "password", + "label": "DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions pickup ID", "value": + "123456"}, "distribution_center": {"visibility": "visible", "label": "DHL + eCommerce Solutions distribution center", "value": "USLAX1"}}, "test_credentials": + {"client_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions + client ID", "value": "123456"}, "client_secret": {"visibility": "password", + "label": "Test DHL eCommerce Solutions client secret", "value": "********"}, + "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions + pickup ID", "value": "123456"}, "distribution_center": {"visibility": "visible", + "label": "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}]' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '10617' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda865aaedd3e78bac0a0011209a + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.232096' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/carrier_accounts?page_size=1 + response: + body: + string: '[{"id": "ca_b25657e9896e4d63ac8151ac346ac41e", "object": "CarrierAccount", + "type": "UspsAccount", "clone": false, "created_at": "2017-03-01T03:01:34Z", + "updated_at": "2018-08-09T02:45:22Z", "description": "USPS Account", "reference": + null, "billing_type": "easypost", "readable": "USPS", "logo": null, "fields": + {"credentials": {"company_name": {"visibility": "visible", "label": "Account + Holder Name", "value": ""}, "address_street": {"visibility": "visible", "label": + "Street Address", "value": ""}, "address_city": {"visibility": "visible", + "label": "City", "value": ""}, "address_state": {"visibility": "visible", + "label": "State", "value": ""}, "address_zip": {"visibility": "visible", "label": + "ZIP Code", "value": ""}, "phone": {"visibility": "visible", "label": "Phone + Number", "value": ""}, "email": {"visibility": "visible", "label": "Email + Address", "value": null}, "shipper_id": {"visibility": "visible", "label": + "Shipper Identifier (Optional)", "value": ""}}}, "credentials": {"company_name": + "", "address_street": "", "address_city": "", "address_state": "", "address_zip": + "", "phone": "", "email": null, "shipper_id": ""}, "test_credentials": null}, + {"id": "ca_05ab5a0345634187b52daaf787aa4cd0", "object": "CarrierAccount", + "type": "LsoDefaultAccount", "clone": false, "created_at": "2022-04-26T16:58:59Z", + "updated_at": "2022-04-26T16:58:59Z", "description": "LSO Account", "reference": + null, "billing_type": "easypost", "readable": "LSO", "logo": null, "fields": + {"credentials": {}}, "credentials": {}, "test_credentials": null}, {"id": + "ca_d38ae88b6edb48ed93c0a16ed068215b", "object": "CarrierAccount", "type": + "DhlExpressDefaultAccount", "clone": false, "created_at": "2022-04-26T16:59:02Z", + "updated_at": "2022-04-26T16:59:02Z", "description": "DHL Express Account", + "reference": null, "billing_type": "easypost", "readable": "DHL Express", + "logo": null, "fields": {"credentials": {}}, "credentials": {}, "test_credentials": + null}, {"id": "ca_c3cbbd21bc97400bbbaed6d030909476", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2022-08-15T18:51:36Z", + "updated_at": "2022-08-15T18:51:36Z", "description": "DHL eCommerce Solutions + Account", "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce + Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions client ID", "value": "123456"}, + "client_secret": {"visibility": "password", "label": "DHL eCommerce Solutions + client secret", "value": "********"}, "pickup_id": {"visibility": "visible", + "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", + "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", + "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": + {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", + "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test + DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution + center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": + "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": + {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", + "distribution_center": "USLAX1"}}, {"id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "object": "CarrierAccount", "type": "DhlEcsAccount", "clone": false, "created_at": + "2023-05-12T21:15:15Z", "updated_at": "2023-05-12T21:15:15Z", "description": + "DHL eCommerce Solutions Account", "reference": null, "billing_type": "carrier", + "readable": "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": + {"client_id": {"visibility": "visible", "label": "DHL eCommerce Solutions + client ID", "value": "123456"}, "client_secret": {"visibility": "password", + "label": "DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions pickup ID", "value": + "123456"}, "distribution_center": {"visibility": "visible", "label": "DHL + eCommerce Solutions distribution center", "value": "USLAX1"}}, "test_credentials": + {"client_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions + client ID", "value": "123456"}, "client_secret": {"visibility": "password", + "label": "Test DHL eCommerce Solutions client secret", "value": "********"}, + "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions + pickup ID", "value": "123456"}, "distribution_center": {"visibility": "visible", + "label": "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}, {"id": "ca_99007e1aeb66421faf82676f1199481e", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2023-05-12T21:15:15Z", + "updated_at": "2023-05-12T21:15:15Z", "description": "DHL eCommerce Solutions + Account", "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce + Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions client ID", "value": "123456"}, + "client_secret": {"visibility": "password", "label": "DHL eCommerce Solutions + client secret", "value": "********"}, "pickup_id": {"visibility": "visible", + "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", + "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", + "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": + {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", + "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test + DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution + center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": + "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": + {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", + "distribution_center": "USLAX1"}}, {"id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "object": "CarrierAccount", "type": "DhlEcsAccount", "clone": false, "created_at": + "2023-05-12T21:15:16Z", "updated_at": "2023-05-12T21:15:16Z", "description": + "DHL eCommerce Solutions Account", "reference": null, "billing_type": "carrier", + "readable": "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": + {"client_id": {"visibility": "visible", "label": "DHL eCommerce Solutions + client ID", "value": "123456"}, "client_secret": {"visibility": "password", + "label": "DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions pickup ID", "value": + "123456"}, "distribution_center": {"visibility": "visible", "label": "DHL + eCommerce Solutions distribution center", "value": "USLAX1"}}, "test_credentials": + {"client_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions + client ID", "value": "123456"}, "client_secret": {"visibility": "password", + "label": "Test DHL eCommerce Solutions client secret", "value": "********"}, + "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions + pickup ID", "value": "123456"}, "distribution_center": {"visibility": "visible", + "label": "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}, {"id": "ca_b1a0a1bc45844159812e0224d53948ea", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2023-05-12T21:15:16Z", + "updated_at": "2023-05-12T21:15:16Z", "description": "DHL eCommerce Solutions + Account", "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce + Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions client ID", "value": "123456"}, + "client_secret": {"visibility": "password", "label": "DHL eCommerce Solutions + client secret", "value": "********"}, "pickup_id": {"visibility": "visible", + "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", + "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", + "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": + {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", + "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test + DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution + center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": + "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": + {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", + "distribution_center": "USLAX1"}}, {"id": "ca_c7b4cfaf671b4984b84023d77561394a", + "object": "CarrierAccount", "type": "DhlEcsAccount", "clone": false, "created_at": + "2023-05-12T21:18:18Z", "updated_at": "2023-05-12T21:18:18Z", "description": + "DHL eCommerce Solutions Account", "reference": null, "billing_type": "carrier", + "readable": "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": + {"client_id": {"visibility": "visible", "label": "DHL eCommerce Solutions + client ID", "value": "123456"}, "client_secret": {"visibility": "password", + "label": "DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions pickup ID", "value": + "123456"}, "distribution_center": {"visibility": "visible", "label": "DHL + eCommerce Solutions distribution center", "value": "USLAX1"}}, "test_credentials": + {"client_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions + client ID", "value": "123456"}, "client_secret": {"visibility": "password", + "label": "Test DHL eCommerce Solutions client secret", "value": "********"}, + "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions + pickup ID", "value": "123456"}, "distribution_center": {"visibility": "visible", + "label": "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}]' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '10617' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdab65aaee43e78bb429001164dd + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.234167' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/carrier_accounts?page_size=1 + response: + body: + string: '[{"id": "ca_b25657e9896e4d63ac8151ac346ac41e", "object": "CarrierAccount", + "type": "UspsAccount", "clone": false, "created_at": "2017-03-01T03:01:34Z", + "updated_at": "2018-08-09T02:45:22Z", "description": "USPS Account", "reference": + null, "billing_type": "easypost", "readable": "USPS", "logo": null, "fields": + {"credentials": {"company_name": {"visibility": "visible", "label": "Account + Holder Name", "value": ""}, "address_street": {"visibility": "visible", "label": + "Street Address", "value": ""}, "address_city": {"visibility": "visible", + "label": "City", "value": ""}, "address_state": {"visibility": "visible", + "label": "State", "value": ""}, "address_zip": {"visibility": "visible", "label": + "ZIP Code", "value": ""}, "phone": {"visibility": "visible", "label": "Phone + Number", "value": ""}, "email": {"visibility": "visible", "label": "Email + Address", "value": null}, "shipper_id": {"visibility": "visible", "label": + "Shipper Identifier (Optional)", "value": ""}}}, "credentials": {"company_name": + "", "address_street": "", "address_city": "", "address_state": "", "address_zip": + "", "phone": "", "email": null, "shipper_id": ""}, "test_credentials": null}, + {"id": "ca_05ab5a0345634187b52daaf787aa4cd0", "object": "CarrierAccount", + "type": "LsoDefaultAccount", "clone": false, "created_at": "2022-04-26T16:58:59Z", + "updated_at": "2022-04-26T16:58:59Z", "description": "LSO Account", "reference": + null, "billing_type": "easypost", "readable": "LSO", "logo": null, "fields": + {"credentials": {}}, "credentials": {}, "test_credentials": null}, {"id": + "ca_d38ae88b6edb48ed93c0a16ed068215b", "object": "CarrierAccount", "type": + "DhlExpressDefaultAccount", "clone": false, "created_at": "2022-04-26T16:59:02Z", + "updated_at": "2022-04-26T16:59:02Z", "description": "DHL Express Account", + "reference": null, "billing_type": "easypost", "readable": "DHL Express", + "logo": null, "fields": {"credentials": {}}, "credentials": {}, "test_credentials": + null}, {"id": "ca_c3cbbd21bc97400bbbaed6d030909476", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2022-08-15T18:51:36Z", + "updated_at": "2022-08-15T18:51:36Z", "description": "DHL eCommerce Solutions + Account", "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce + Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions client ID", "value": "123456"}, + "client_secret": {"visibility": "password", "label": "DHL eCommerce Solutions + client secret", "value": "********"}, "pickup_id": {"visibility": "visible", + "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", + "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", + "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": + {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", + "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test + DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution + center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": + "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": + {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", + "distribution_center": "USLAX1"}}, {"id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "object": "CarrierAccount", "type": "DhlEcsAccount", "clone": false, "created_at": + "2023-05-12T21:15:15Z", "updated_at": "2023-05-12T21:15:15Z", "description": + "DHL eCommerce Solutions Account", "reference": null, "billing_type": "carrier", + "readable": "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": + {"client_id": {"visibility": "visible", "label": "DHL eCommerce Solutions + client ID", "value": "123456"}, "client_secret": {"visibility": "password", + "label": "DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions pickup ID", "value": + "123456"}, "distribution_center": {"visibility": "visible", "label": "DHL + eCommerce Solutions distribution center", "value": "USLAX1"}}, "test_credentials": + {"client_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions + client ID", "value": "123456"}, "client_secret": {"visibility": "password", + "label": "Test DHL eCommerce Solutions client secret", "value": "********"}, + "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions + pickup ID", "value": "123456"}, "distribution_center": {"visibility": "visible", + "label": "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}, {"id": "ca_99007e1aeb66421faf82676f1199481e", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2023-05-12T21:15:15Z", + "updated_at": "2023-05-12T21:15:15Z", "description": "DHL eCommerce Solutions + Account", "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce + Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions client ID", "value": "123456"}, + "client_secret": {"visibility": "password", "label": "DHL eCommerce Solutions + client secret", "value": "********"}, "pickup_id": {"visibility": "visible", + "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", + "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", + "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": + {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", + "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test + DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution + center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": + "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": + {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", + "distribution_center": "USLAX1"}}, {"id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "object": "CarrierAccount", "type": "DhlEcsAccount", "clone": false, "created_at": + "2023-05-12T21:15:16Z", "updated_at": "2023-05-12T21:15:16Z", "description": + "DHL eCommerce Solutions Account", "reference": null, "billing_type": "carrier", + "readable": "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": + {"client_id": {"visibility": "visible", "label": "DHL eCommerce Solutions + client ID", "value": "123456"}, "client_secret": {"visibility": "password", + "label": "DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions pickup ID", "value": + "123456"}, "distribution_center": {"visibility": "visible", "label": "DHL + eCommerce Solutions distribution center", "value": "USLAX1"}}, "test_credentials": + {"client_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions + client ID", "value": "123456"}, "client_secret": {"visibility": "password", + "label": "Test DHL eCommerce Solutions client secret", "value": "********"}, + "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions + pickup ID", "value": "123456"}, "distribution_center": {"visibility": "visible", + "label": "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}, {"id": "ca_b1a0a1bc45844159812e0224d53948ea", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2023-05-12T21:15:16Z", + "updated_at": "2023-05-12T21:15:16Z", "description": "DHL eCommerce Solutions + Account", "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce + Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions client ID", "value": "123456"}, + "client_secret": {"visibility": "password", "label": "DHL eCommerce Solutions + client secret", "value": "********"}, "pickup_id": {"visibility": "visible", + "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", + "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", + "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": + {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", + "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test + DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution + center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": + "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": + {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", + "distribution_center": "USLAX1"}}, {"id": "ca_c7b4cfaf671b4984b84023d77561394a", + "object": "CarrierAccount", "type": "DhlEcsAccount", "clone": false, "created_at": + "2023-05-12T21:18:18Z", "updated_at": "2023-05-12T21:18:18Z", "description": + "DHL eCommerce Solutions Account", "reference": null, "billing_type": "carrier", + "readable": "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": + {"client_id": {"visibility": "visible", "label": "DHL eCommerce Solutions + client ID", "value": "123456"}, "client_secret": {"visibility": "password", + "label": "DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions pickup ID", "value": + "123456"}, "distribution_center": {"visibility": "visible", "label": "DHL + eCommerce Solutions distribution center", "value": "USLAX1"}}, "test_credentials": + {"client_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions + client ID", "value": "123456"}, "client_secret": {"visibility": "password", + "label": "Test DHL eCommerce Solutions client secret", "value": "********"}, + "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions + pickup ID", "value": "123456"}, "distribution_center": {"visibility": "visible", + "label": "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}]' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '10617' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf073e798bbbf000f6981 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.115461' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/carrier_accounts?page_size=1 + response: + body: + string: '[{"id": "ca_b25657e9896e4d63ac8151ac346ac41e", "object": "CarrierAccount", + "type": "UspsAccount", "clone": false, "created_at": "2017-03-01T03:01:34Z", + "updated_at": "2018-08-09T02:45:22Z", "description": "USPS Account", "reference": + null, "billing_type": "easypost", "readable": "USPS", "logo": null, "fields": + {"credentials": {"company_name": {"visibility": "visible", "label": "Account + Holder Name", "value": ""}, "address_street": {"visibility": "visible", "label": + "Street Address", "value": ""}, "address_city": {"visibility": "visible", + "label": "City", "value": ""}, "address_state": {"visibility": "visible", + "label": "State", "value": ""}, "address_zip": {"visibility": "visible", "label": + "ZIP Code", "value": ""}, "phone": {"visibility": "visible", "label": "Phone + Number", "value": ""}, "email": {"visibility": "visible", "label": "Email + Address", "value": null}, "shipper_id": {"visibility": "visible", "label": + "Shipper Identifier (Optional)", "value": ""}}}, "credentials": {"company_name": + "", "address_street": "", "address_city": "", "address_state": "", "address_zip": + "", "phone": "", "email": null, "shipper_id": ""}, "test_credentials": null}, + {"id": "ca_05ab5a0345634187b52daaf787aa4cd0", "object": "CarrierAccount", + "type": "LsoDefaultAccount", "clone": false, "created_at": "2022-04-26T16:58:59Z", + "updated_at": "2022-04-26T16:58:59Z", "description": "LSO Account", "reference": + null, "billing_type": "easypost", "readable": "LSO", "logo": null, "fields": + {"credentials": {}}, "credentials": {}, "test_credentials": null}, {"id": + "ca_d38ae88b6edb48ed93c0a16ed068215b", "object": "CarrierAccount", "type": + "DhlExpressDefaultAccount", "clone": false, "created_at": "2022-04-26T16:59:02Z", + "updated_at": "2022-04-26T16:59:02Z", "description": "DHL Express Account", + "reference": null, "billing_type": "easypost", "readable": "DHL Express", + "logo": null, "fields": {"credentials": {}}, "credentials": {}, "test_credentials": + null}, {"id": "ca_c3cbbd21bc97400bbbaed6d030909476", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2022-08-15T18:51:36Z", + "updated_at": "2022-08-15T18:51:36Z", "description": "DHL eCommerce Solutions + Account", "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce + Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions client ID", "value": "123456"}, + "client_secret": {"visibility": "password", "label": "DHL eCommerce Solutions + client secret", "value": "********"}, "pickup_id": {"visibility": "visible", + "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", + "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", + "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": + {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", + "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test + DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution + center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": + "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": + {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", + "distribution_center": "USLAX1"}}, {"id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "object": "CarrierAccount", "type": "DhlEcsAccount", "clone": false, "created_at": + "2023-05-12T21:15:15Z", "updated_at": "2023-05-12T21:15:15Z", "description": + "DHL eCommerce Solutions Account", "reference": null, "billing_type": "carrier", + "readable": "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": + {"client_id": {"visibility": "visible", "label": "DHL eCommerce Solutions + client ID", "value": "123456"}, "client_secret": {"visibility": "password", + "label": "DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions pickup ID", "value": + "123456"}, "distribution_center": {"visibility": "visible", "label": "DHL + eCommerce Solutions distribution center", "value": "USLAX1"}}, "test_credentials": + {"client_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions + client ID", "value": "123456"}, "client_secret": {"visibility": "password", + "label": "Test DHL eCommerce Solutions client secret", "value": "********"}, + "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions + pickup ID", "value": "123456"}, "distribution_center": {"visibility": "visible", + "label": "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}, {"id": "ca_99007e1aeb66421faf82676f1199481e", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2023-05-12T21:15:15Z", + "updated_at": "2023-05-12T21:15:15Z", "description": "DHL eCommerce Solutions + Account", "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce + Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions client ID", "value": "123456"}, + "client_secret": {"visibility": "password", "label": "DHL eCommerce Solutions + client secret", "value": "********"}, "pickup_id": {"visibility": "visible", + "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", + "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", + "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": + {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", + "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test + DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution + center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": + "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": + {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", + "distribution_center": "USLAX1"}}, {"id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "object": "CarrierAccount", "type": "DhlEcsAccount", "clone": false, "created_at": + "2023-05-12T21:15:16Z", "updated_at": "2023-05-12T21:15:16Z", "description": + "DHL eCommerce Solutions Account", "reference": null, "billing_type": "carrier", + "readable": "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": + {"client_id": {"visibility": "visible", "label": "DHL eCommerce Solutions + client ID", "value": "123456"}, "client_secret": {"visibility": "password", + "label": "DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions pickup ID", "value": + "123456"}, "distribution_center": {"visibility": "visible", "label": "DHL + eCommerce Solutions distribution center", "value": "USLAX1"}}, "test_credentials": + {"client_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions + client ID", "value": "123456"}, "client_secret": {"visibility": "password", + "label": "Test DHL eCommerce Solutions client secret", "value": "********"}, + "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions + pickup ID", "value": "123456"}, "distribution_center": {"visibility": "visible", + "label": "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}, {"id": "ca_b1a0a1bc45844159812e0224d53948ea", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2023-05-12T21:15:16Z", + "updated_at": "2023-05-12T21:15:16Z", "description": "DHL eCommerce Solutions + Account", "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce + Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions client ID", "value": "123456"}, + "client_secret": {"visibility": "password", "label": "DHL eCommerce Solutions + client secret", "value": "********"}, "pickup_id": {"visibility": "visible", + "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", + "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", + "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": + {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", + "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test + DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution + center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": + "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": + {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", + "distribution_center": "USLAX1"}}, {"id": "ca_c7b4cfaf671b4984b84023d77561394a", + "object": "CarrierAccount", "type": "DhlEcsAccount", "clone": false, "created_at": + "2023-05-12T21:18:18Z", "updated_at": "2023-05-12T21:18:18Z", "description": + "DHL eCommerce Solutions Account", "reference": null, "billing_type": "carrier", + "readable": "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": + {"client_id": {"visibility": "visible", "label": "DHL eCommerce Solutions + client ID", "value": "123456"}, "client_secret": {"visibility": "password", + "label": "DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions pickup ID", "value": + "123456"}, "distribution_center": {"visibility": "visible", "label": "DHL + eCommerce Solutions distribution center", "value": "USLAX1"}}, "test_credentials": + {"client_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions + client ID", "value": "123456"}, "client_secret": {"visibility": "password", + "label": "Test DHL eCommerce Solutions client secret", "value": "********"}, + "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions + pickup ID", "value": "123456"}, "distribution_center": {"visibility": "visible", + "label": "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}]' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '10617' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaf121e798c41f000feeab + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.139179' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/carrier_accounts?page_size=1 + response: + body: + string: '[{"id": "ca_b25657e9896e4d63ac8151ac346ac41e", "object": "CarrierAccount", + "type": "UspsAccount", "clone": false, "created_at": "2017-03-01T03:01:34Z", + "updated_at": "2018-08-09T02:45:22Z", "description": "USPS Account", "reference": + null, "billing_type": "easypost", "readable": "USPS", "logo": null, "fields": + {"credentials": {"company_name": {"visibility": "visible", "label": "Account + Holder Name", "value": ""}, "address_street": {"visibility": "visible", "label": + "Street Address", "value": ""}, "address_city": {"visibility": "visible", + "label": "City", "value": ""}, "address_state": {"visibility": "visible", + "label": "State", "value": ""}, "address_zip": {"visibility": "visible", "label": + "ZIP Code", "value": ""}, "phone": {"visibility": "visible", "label": "Phone + Number", "value": ""}, "email": {"visibility": "visible", "label": "Email + Address", "value": null}, "shipper_id": {"visibility": "visible", "label": + "Shipper Identifier (Optional)", "value": ""}}}, "credentials": {"company_name": + "", "address_street": "", "address_city": "", "address_state": "", "address_zip": + "", "phone": "", "email": null, "shipper_id": ""}, "test_credentials": null}, + {"id": "ca_05ab5a0345634187b52daaf787aa4cd0", "object": "CarrierAccount", + "type": "LsoDefaultAccount", "clone": false, "created_at": "2022-04-26T16:58:59Z", + "updated_at": "2022-04-26T16:58:59Z", "description": "LSO Account", "reference": + null, "billing_type": "easypost", "readable": "LSO", "logo": null, "fields": + {"credentials": {}}, "credentials": {}, "test_credentials": null}, {"id": + "ca_d38ae88b6edb48ed93c0a16ed068215b", "object": "CarrierAccount", "type": + "DhlExpressDefaultAccount", "clone": false, "created_at": "2022-04-26T16:59:02Z", + "updated_at": "2022-04-26T16:59:02Z", "description": "DHL Express Account", + "reference": null, "billing_type": "easypost", "readable": "DHL Express", + "logo": null, "fields": {"credentials": {}}, "credentials": {}, "test_credentials": + null}, {"id": "ca_c3cbbd21bc97400bbbaed6d030909476", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2022-08-15T18:51:36Z", + "updated_at": "2022-08-15T18:51:36Z", "description": "DHL eCommerce Solutions + Account", "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce + Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions client ID", "value": "123456"}, + "client_secret": {"visibility": "password", "label": "DHL eCommerce Solutions + client secret", "value": "********"}, "pickup_id": {"visibility": "visible", + "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", + "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", + "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": + {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", + "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test + DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution + center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": + "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": + {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", + "distribution_center": "USLAX1"}}, {"id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "object": "CarrierAccount", "type": "DhlEcsAccount", "clone": false, "created_at": + "2023-05-12T21:15:15Z", "updated_at": "2023-05-12T21:15:15Z", "description": + "DHL eCommerce Solutions Account", "reference": null, "billing_type": "carrier", + "readable": "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": + {"client_id": {"visibility": "visible", "label": "DHL eCommerce Solutions + client ID", "value": "123456"}, "client_secret": {"visibility": "password", + "label": "DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions pickup ID", "value": + "123456"}, "distribution_center": {"visibility": "visible", "label": "DHL + eCommerce Solutions distribution center", "value": "USLAX1"}}, "test_credentials": + {"client_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions + client ID", "value": "123456"}, "client_secret": {"visibility": "password", + "label": "Test DHL eCommerce Solutions client secret", "value": "********"}, + "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions + pickup ID", "value": "123456"}, "distribution_center": {"visibility": "visible", + "label": "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}, {"id": "ca_99007e1aeb66421faf82676f1199481e", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2023-05-12T21:15:15Z", + "updated_at": "2023-05-12T21:15:15Z", "description": "DHL eCommerce Solutions + Account", "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce + Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions client ID", "value": "123456"}, + "client_secret": {"visibility": "password", "label": "DHL eCommerce Solutions + client secret", "value": "********"}, "pickup_id": {"visibility": "visible", + "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", + "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", + "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": + {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", + "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test + DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution + center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": + "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": + {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", + "distribution_center": "USLAX1"}}, {"id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "object": "CarrierAccount", "type": "DhlEcsAccount", "clone": false, "created_at": + "2023-05-12T21:15:16Z", "updated_at": "2023-05-12T21:15:16Z", "description": + "DHL eCommerce Solutions Account", "reference": null, "billing_type": "carrier", + "readable": "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": + {"client_id": {"visibility": "visible", "label": "DHL eCommerce Solutions + client ID", "value": "123456"}, "client_secret": {"visibility": "password", + "label": "DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions pickup ID", "value": + "123456"}, "distribution_center": {"visibility": "visible", "label": "DHL + eCommerce Solutions distribution center", "value": "USLAX1"}}, "test_credentials": + {"client_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions + client ID", "value": "123456"}, "client_secret": {"visibility": "password", + "label": "Test DHL eCommerce Solutions client secret", "value": "********"}, + "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions + pickup ID", "value": "123456"}, "distribution_center": {"visibility": "visible", + "label": "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}, {"id": "ca_b1a0a1bc45844159812e0224d53948ea", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2023-05-12T21:15:16Z", + "updated_at": "2023-05-12T21:15:16Z", "description": "DHL eCommerce Solutions + Account", "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce + Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions client ID", "value": "123456"}, + "client_secret": {"visibility": "password", "label": "DHL eCommerce Solutions + client secret", "value": "********"}, "pickup_id": {"visibility": "visible", + "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", + "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", + "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": + {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", + "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test + DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution + center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": + "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": + {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", + "distribution_center": "USLAX1"}}, {"id": "ca_c7b4cfaf671b4984b84023d77561394a", + "object": "CarrierAccount", "type": "DhlEcsAccount", "clone": false, "created_at": + "2023-05-12T21:18:18Z", "updated_at": "2023-05-12T21:18:18Z", "description": + "DHL eCommerce Solutions Account", "reference": null, "billing_type": "carrier", + "readable": "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": + {"client_id": {"visibility": "visible", "label": "DHL eCommerce Solutions + client ID", "value": "123456"}, "client_secret": {"visibility": "password", + "label": "DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions pickup ID", "value": + "123456"}, "distribution_center": {"visibility": "visible", "label": "DHL + eCommerce Solutions distribution center", "value": "USLAX1"}}, "test_credentials": + {"client_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions + client ID", "value": "123456"}, "client_secret": {"visibility": "password", + "label": "Test DHL eCommerce Solutions client secret", "value": "********"}, + "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions + pickup ID", "value": "123456"}, "distribution_center": {"visibility": "visible", + "label": "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}]' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '10617' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf204e798cd030010a308 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.120530' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/carrier_accounts?page_size=1 + response: + body: + string: '[{"id": "ca_b25657e9896e4d63ac8151ac346ac41e", "object": "CarrierAccount", + "type": "UspsAccount", "clone": false, "created_at": "2017-03-01T03:01:34Z", + "updated_at": "2018-08-09T02:45:22Z", "description": "USPS Account", "reference": + null, "billing_type": "easypost", "readable": "USPS", "logo": null, "fields": + {"credentials": {"company_name": {"visibility": "visible", "label": "Account + Holder Name", "value": ""}, "address_street": {"visibility": "visible", "label": + "Street Address", "value": ""}, "address_city": {"visibility": "visible", + "label": "City", "value": ""}, "address_state": {"visibility": "visible", + "label": "State", "value": ""}, "address_zip": {"visibility": "visible", "label": + "ZIP Code", "value": ""}, "phone": {"visibility": "visible", "label": "Phone + Number", "value": ""}, "email": {"visibility": "visible", "label": "Email + Address", "value": null}, "shipper_id": {"visibility": "visible", "label": + "Shipper Identifier (Optional)", "value": ""}}}, "credentials": {"company_name": + "", "address_street": "", "address_city": "", "address_state": "", "address_zip": + "", "phone": "", "email": null, "shipper_id": ""}, "test_credentials": null}, + {"id": "ca_05ab5a0345634187b52daaf787aa4cd0", "object": "CarrierAccount", + "type": "LsoDefaultAccount", "clone": false, "created_at": "2022-04-26T16:58:59Z", + "updated_at": "2022-04-26T16:58:59Z", "description": "LSO Account", "reference": + null, "billing_type": "easypost", "readable": "LSO", "logo": null, "fields": + {"credentials": {}}, "credentials": {}, "test_credentials": null}, {"id": + "ca_d38ae88b6edb48ed93c0a16ed068215b", "object": "CarrierAccount", "type": + "DhlExpressDefaultAccount", "clone": false, "created_at": "2022-04-26T16:59:02Z", + "updated_at": "2022-04-26T16:59:02Z", "description": "DHL Express Account", + "reference": null, "billing_type": "easypost", "readable": "DHL Express", + "logo": null, "fields": {"credentials": {}}, "credentials": {}, "test_credentials": + null}, {"id": "ca_c3cbbd21bc97400bbbaed6d030909476", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2022-08-15T18:51:36Z", + "updated_at": "2022-08-15T18:51:36Z", "description": "DHL eCommerce Solutions + Account", "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce + Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions client ID", "value": "123456"}, + "client_secret": {"visibility": "password", "label": "DHL eCommerce Solutions + client secret", "value": "********"}, "pickup_id": {"visibility": "visible", + "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", + "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", + "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": + {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", + "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test + DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution + center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": + "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": + {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", + "distribution_center": "USLAX1"}}, {"id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "object": "CarrierAccount", "type": "DhlEcsAccount", "clone": false, "created_at": + "2023-05-12T21:15:15Z", "updated_at": "2023-05-12T21:15:15Z", "description": + "DHL eCommerce Solutions Account", "reference": null, "billing_type": "carrier", + "readable": "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": + {"client_id": {"visibility": "visible", "label": "DHL eCommerce Solutions + client ID", "value": "123456"}, "client_secret": {"visibility": "password", + "label": "DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions pickup ID", "value": + "123456"}, "distribution_center": {"visibility": "visible", "label": "DHL + eCommerce Solutions distribution center", "value": "USLAX1"}}, "test_credentials": + {"client_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions + client ID", "value": "123456"}, "client_secret": {"visibility": "password", + "label": "Test DHL eCommerce Solutions client secret", "value": "********"}, + "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions + pickup ID", "value": "123456"}, "distribution_center": {"visibility": "visible", + "label": "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}, {"id": "ca_99007e1aeb66421faf82676f1199481e", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2023-05-12T21:15:15Z", + "updated_at": "2023-05-12T21:15:15Z", "description": "DHL eCommerce Solutions + Account", "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce + Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions client ID", "value": "123456"}, + "client_secret": {"visibility": "password", "label": "DHL eCommerce Solutions + client secret", "value": "********"}, "pickup_id": {"visibility": "visible", + "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", + "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", + "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": + {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", + "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test + DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution + center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": + "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": + {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", + "distribution_center": "USLAX1"}}, {"id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "object": "CarrierAccount", "type": "DhlEcsAccount", "clone": false, "created_at": + "2023-05-12T21:15:16Z", "updated_at": "2023-05-12T21:15:16Z", "description": + "DHL eCommerce Solutions Account", "reference": null, "billing_type": "carrier", + "readable": "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": + {"client_id": {"visibility": "visible", "label": "DHL eCommerce Solutions + client ID", "value": "123456"}, "client_secret": {"visibility": "password", + "label": "DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions pickup ID", "value": + "123456"}, "distribution_center": {"visibility": "visible", "label": "DHL + eCommerce Solutions distribution center", "value": "USLAX1"}}, "test_credentials": + {"client_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions + client ID", "value": "123456"}, "client_secret": {"visibility": "password", + "label": "Test DHL eCommerce Solutions client secret", "value": "********"}, + "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions + pickup ID", "value": "123456"}, "distribution_center": {"visibility": "visible", + "label": "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}, {"id": "ca_b1a0a1bc45844159812e0224d53948ea", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2023-05-12T21:15:16Z", + "updated_at": "2023-05-12T21:15:16Z", "description": "DHL eCommerce Solutions + Account", "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce + Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions client ID", "value": "123456"}, + "client_secret": {"visibility": "password", "label": "DHL eCommerce Solutions + client secret", "value": "********"}, "pickup_id": {"visibility": "visible", + "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", + "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", + "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": + {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", + "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test + DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution + center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": + "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": + {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", + "distribution_center": "USLAX1"}}, {"id": "ca_c7b4cfaf671b4984b84023d77561394a", + "object": "CarrierAccount", "type": "DhlEcsAccount", "clone": false, "created_at": + "2023-05-12T21:18:18Z", "updated_at": "2023-05-12T21:18:18Z", "description": + "DHL eCommerce Solutions Account", "reference": null, "billing_type": "carrier", + "readable": "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": + {"client_id": {"visibility": "visible", "label": "DHL eCommerce Solutions + client ID", "value": "123456"}, "client_secret": {"visibility": "password", + "label": "DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions pickup ID", "value": + "123456"}, "distribution_center": {"visibility": "visible", "label": "DHL + eCommerce Solutions distribution center", "value": "USLAX1"}}, "test_credentials": + {"client_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions + client ID", "value": "123456"}, "client_secret": {"visibility": "password", + "label": "Test DHL eCommerce Solutions client secret", "value": "********"}, + "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions + pickup ID", "value": "123456"}, "distribution_center": {"visibility": "visible", + "label": "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}]' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '10617' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf260e798d4bb0010e1f5 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.122371' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/carrier_accounts?page_size=1 + response: + body: + string: '[{"id": "ca_b25657e9896e4d63ac8151ac346ac41e", "object": "CarrierAccount", + "type": "UspsAccount", "clone": false, "created_at": "2017-03-01T03:01:34Z", + "updated_at": "2018-08-09T02:45:22Z", "description": "USPS Account", "reference": + null, "billing_type": "easypost", "readable": "USPS", "logo": null, "fields": + {"credentials": {"company_name": {"visibility": "visible", "label": "Account + Holder Name", "value": ""}, "address_street": {"visibility": "visible", "label": + "Street Address", "value": ""}, "address_city": {"visibility": "visible", + "label": "City", "value": ""}, "address_state": {"visibility": "visible", + "label": "State", "value": ""}, "address_zip": {"visibility": "visible", "label": + "ZIP Code", "value": ""}, "phone": {"visibility": "visible", "label": "Phone + Number", "value": ""}, "email": {"visibility": "visible", "label": "Email + Address", "value": null}, "shipper_id": {"visibility": "visible", "label": + "Shipper Identifier (Optional)", "value": ""}}}, "credentials": {"company_name": + "", "address_street": "", "address_city": "", "address_state": "", "address_zip": + "", "phone": "", "email": null, "shipper_id": ""}, "test_credentials": null}, + {"id": "ca_05ab5a0345634187b52daaf787aa4cd0", "object": "CarrierAccount", + "type": "LsoDefaultAccount", "clone": false, "created_at": "2022-04-26T16:58:59Z", + "updated_at": "2022-04-26T16:58:59Z", "description": "LSO Account", "reference": + null, "billing_type": "easypost", "readable": "LSO", "logo": null, "fields": + {"credentials": {}}, "credentials": {}, "test_credentials": null}, {"id": + "ca_d38ae88b6edb48ed93c0a16ed068215b", "object": "CarrierAccount", "type": + "DhlExpressDefaultAccount", "clone": false, "created_at": "2022-04-26T16:59:02Z", + "updated_at": "2022-04-26T16:59:02Z", "description": "DHL Express Account", + "reference": null, "billing_type": "easypost", "readable": "DHL Express", + "logo": null, "fields": {"credentials": {}}, "credentials": {}, "test_credentials": + null}, {"id": "ca_c3cbbd21bc97400bbbaed6d030909476", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2022-08-15T18:51:36Z", + "updated_at": "2022-08-15T18:51:36Z", "description": "DHL eCommerce Solutions + Account", "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce + Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions client ID", "value": "123456"}, + "client_secret": {"visibility": "password", "label": "DHL eCommerce Solutions + client secret", "value": "********"}, "pickup_id": {"visibility": "visible", + "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", + "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", + "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": + {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", + "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test + DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution + center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": + "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": + {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", + "distribution_center": "USLAX1"}}, {"id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "object": "CarrierAccount", "type": "DhlEcsAccount", "clone": false, "created_at": + "2023-05-12T21:15:15Z", "updated_at": "2023-05-12T21:15:15Z", "description": + "DHL eCommerce Solutions Account", "reference": null, "billing_type": "carrier", + "readable": "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": + {"client_id": {"visibility": "visible", "label": "DHL eCommerce Solutions + client ID", "value": "123456"}, "client_secret": {"visibility": "password", + "label": "DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions pickup ID", "value": + "123456"}, "distribution_center": {"visibility": "visible", "label": "DHL + eCommerce Solutions distribution center", "value": "USLAX1"}}, "test_credentials": + {"client_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions + client ID", "value": "123456"}, "client_secret": {"visibility": "password", + "label": "Test DHL eCommerce Solutions client secret", "value": "********"}, + "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions + pickup ID", "value": "123456"}, "distribution_center": {"visibility": "visible", + "label": "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}, {"id": "ca_99007e1aeb66421faf82676f1199481e", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2023-05-12T21:15:15Z", + "updated_at": "2023-05-12T21:15:15Z", "description": "DHL eCommerce Solutions + Account", "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce + Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions client ID", "value": "123456"}, + "client_secret": {"visibility": "password", "label": "DHL eCommerce Solutions + client secret", "value": "********"}, "pickup_id": {"visibility": "visible", + "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", + "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", + "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": + {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", + "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test + DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution + center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": + "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": + {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", + "distribution_center": "USLAX1"}}, {"id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "object": "CarrierAccount", "type": "DhlEcsAccount", "clone": false, "created_at": + "2023-05-12T21:15:16Z", "updated_at": "2023-05-12T21:15:16Z", "description": + "DHL eCommerce Solutions Account", "reference": null, "billing_type": "carrier", + "readable": "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": + {"client_id": {"visibility": "visible", "label": "DHL eCommerce Solutions + client ID", "value": "123456"}, "client_secret": {"visibility": "password", + "label": "DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions pickup ID", "value": + "123456"}, "distribution_center": {"visibility": "visible", "label": "DHL + eCommerce Solutions distribution center", "value": "USLAX1"}}, "test_credentials": + {"client_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions + client ID", "value": "123456"}, "client_secret": {"visibility": "password", + "label": "Test DHL eCommerce Solutions client secret", "value": "********"}, + "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions + pickup ID", "value": "123456"}, "distribution_center": {"visibility": "visible", + "label": "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}, {"id": "ca_b1a0a1bc45844159812e0224d53948ea", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2023-05-12T21:15:16Z", + "updated_at": "2023-05-12T21:15:16Z", "description": "DHL eCommerce Solutions + Account", "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce + Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions client ID", "value": "123456"}, + "client_secret": {"visibility": "password", "label": "DHL eCommerce Solutions + client secret", "value": "********"}, "pickup_id": {"visibility": "visible", + "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", + "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", + "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": + {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", + "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test + DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution + center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": + "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": + {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", + "distribution_center": "USLAX1"}}, {"id": "ca_c7b4cfaf671b4984b84023d77561394a", + "object": "CarrierAccount", "type": "DhlEcsAccount", "clone": false, "created_at": + "2023-05-12T21:18:18Z", "updated_at": "2023-05-12T21:18:18Z", "description": + "DHL eCommerce Solutions Account", "reference": null, "billing_type": "carrier", + "readable": "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": + {"client_id": {"visibility": "visible", "label": "DHL eCommerce Solutions + client ID", "value": "123456"}, "client_secret": {"visibility": "password", + "label": "DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions pickup ID", "value": + "123456"}, "distribution_center": {"visibility": "visible", "label": "DHL + eCommerce Solutions distribution center", "value": "USLAX1"}}, "test_credentials": + {"client_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions + client ID", "value": "123456"}, "client_secret": {"visibility": "password", + "label": "Test DHL eCommerce Solutions client secret", "value": "********"}, + "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions + pickup ID", "value": "123456"}, "distribution_center": {"visibility": "visible", + "label": "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}]' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '10617' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365ab07f4e799e5a5001d7911 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.121215' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_carrier_accounts_retrieve.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_carrier_accounts_retrieve.yaml new file mode 100644 index 00000000..6a2f1e38 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_carrier_accounts_retrieve.yaml @@ -0,0 +1,2107 @@ +interactions: +- request: + body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location + DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": + "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": + {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", + "pickup_id": "123456"}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '359' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/carrier_accounts + response: + body: + string: '{"id": "ca_4bced7adc4364f35b177e9de0b953c6f", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T21:40:39Z", + "updated_at": "2024-01-19T21:40:39Z", "description": "CA Location DHL eCommerce + Solutions Account", "reference": null, "billing_type": "carrier", "readable": + "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": + "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce + Solutions client secret", "value": "********"}, "pickup_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, + "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions + distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", + "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test + DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", + "value": "123456"}, "distribution_center": {"visibility": "visible", "label": + "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1481' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaec57e78b9b43000cce1c + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.129858' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/carrier_accounts/ca_4bced7adc4364f35b177e9de0b953c6f + response: + body: + string: '{"id": "ca_4bced7adc4364f35b177e9de0b953c6f", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T21:40:39Z", + "updated_at": "2024-01-19T21:40:39Z", "description": "CA Location DHL eCommerce + Solutions Account", "reference": null, "billing_type": "carrier", "readable": + "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": + "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce + Solutions client secret", "value": "********"}, "pickup_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, + "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions + distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", + "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test + DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", + "value": "123456"}, "distribution_center": {"visibility": "visible", "label": + "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1481' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaec57e78b9b44000cce65 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.028849' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/carrier_accounts/ca_4bced7adc4364f35b177e9de0b953c6f + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaec57e78b9b45000cce8d + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.113679' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location + DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": + "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": + {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", + "pickup_id": "123456"}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '359' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/carrier_accounts + response: + body: + string: '{"id": "ca_d8b85ac7febf4bf0bbac56d20e0d153d", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T21:43:08Z", + "updated_at": "2024-01-19T21:43:08Z", "description": "CA Location DHL eCommerce + Solutions Account", "reference": null, "billing_type": "carrier", "readable": + "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": + "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce + Solutions client secret", "value": "********"}, "pickup_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, + "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions + distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", + "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test + DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", + "value": "123456"}, "distribution_center": {"visibility": "visible", "label": + "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1481' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaecece78ba364000d2bf4 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.108394' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/carrier_accounts/ca_d8b85ac7febf4bf0bbac56d20e0d153d + response: + body: + string: '{"id": "ca_d8b85ac7febf4bf0bbac56d20e0d153d", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T21:43:08Z", + "updated_at": "2024-01-19T21:43:08Z", "description": "CA Location DHL eCommerce + Solutions Account", "reference": null, "billing_type": "carrier", "readable": + "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": + "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce + Solutions client secret", "value": "********"}, "pickup_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, + "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions + distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", + "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test + DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", + "value": "123456"}, "distribution_center": {"visibility": "visible", "label": + "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1481' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaecece78ba365000d2c28 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.046012' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/carrier_accounts/ca_d8b85ac7febf4bf0bbac56d20e0d153d + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaecede78ba366000d2c4c + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.108901' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location + DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": + "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": + {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", + "pickup_id": "123456"}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '359' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/carrier_accounts + response: + body: + string: '{"id": "ca_56a53b6fa2334c149877cc6857cb8c72", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T21:46:58Z", + "updated_at": "2024-01-19T21:46:58Z", "description": "CA Location DHL eCommerce + Solutions Account", "reference": null, "billing_type": "carrier", "readable": + "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": + "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce + Solutions client secret", "value": "********"}, "pickup_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, + "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions + distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", + "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test + DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", + "value": "123456"}, "distribution_center": {"visibility": "visible", "label": + "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1481' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdae65aaedd2e78bac0700111ff1 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.109458' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/carrier_accounts/ca_56a53b6fa2334c149877cc6857cb8c72 + response: + body: + string: '{"id": "ca_56a53b6fa2334c149877cc6857cb8c72", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T21:46:58Z", + "updated_at": "2024-01-19T21:46:58Z", "description": "CA Location DHL eCommerce + Solutions Account", "reference": null, "billing_type": "carrier", "readable": + "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": + "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce + Solutions client secret", "value": "********"}, "pickup_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, + "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions + distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", + "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test + DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", + "value": "123456"}, "distribution_center": {"visibility": "visible", "label": + "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1481' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda965aaedd2e78bac080011202f + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.028623' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/carrier_accounts/ca_56a53b6fa2334c149877cc6857cb8c72 + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda965aaedd3e78bac0900112050 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.110892' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location + DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": + "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": + {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", + "pickup_id": "123456"}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '359' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/carrier_accounts + response: + body: + string: '{"id": "ca_fe599da3e7c248f191747cc7933cf410", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T21:48:50Z", + "updated_at": "2024-01-19T21:48:50Z", "description": "CA Location DHL eCommerce + Solutions Account", "reference": null, "billing_type": "carrier", "readable": + "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": + "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce + Solutions client secret", "value": "********"}, "pickup_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, + "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions + distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", + "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test + DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", + "value": "123456"}, "distribution_center": {"visibility": "visible", "label": + "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1481' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdaa65aaee42e78bb42600116447 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.110096' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/carrier_accounts/ca_fe599da3e7c248f191747cc7933cf410 + response: + body: + string: '{"id": "ca_fe599da3e7c248f191747cc7933cf410", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T21:48:50Z", + "updated_at": "2024-01-19T21:48:50Z", "description": "CA Location DHL eCommerce + Solutions Account", "reference": null, "billing_type": "carrier", "readable": + "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": + "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce + Solutions client secret", "value": "********"}, "pickup_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, + "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions + distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", + "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test + DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", + "value": "123456"}, "distribution_center": {"visibility": "visible", "label": + "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1481' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdaa65aaee42e78bb4270011647e + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.026492' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/carrier_accounts/ca_fe599da3e7c248f191747cc7933cf410 + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdae65aaee42e78bb428001164a3 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.133372' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location + DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": + "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": + {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", + "pickup_id": "123456"}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '359' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/carrier_accounts + response: + body: + string: '{"id": "ca_626f1b2f11214e0d8ccb3b7b9526cbb9", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T21:58:10Z", + "updated_at": "2024-01-19T21:58:10Z", "description": "CA Location DHL eCommerce + Solutions Account", "reference": null, "billing_type": "carrier", "readable": + "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": + "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce + Solutions client secret", "value": "********"}, "pickup_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, + "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions + distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", + "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test + DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", + "value": "123456"}, "distribution_center": {"visibility": "visible", "label": + "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1481' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaf072e798bbbc000f68ca + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.111867' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/carrier_accounts/ca_626f1b2f11214e0d8ccb3b7b9526cbb9 + response: + body: + string: '{"id": "ca_626f1b2f11214e0d8ccb3b7b9526cbb9", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T21:58:10Z", + "updated_at": "2024-01-19T21:58:10Z", "description": "CA Location DHL eCommerce + Solutions Account", "reference": null, "billing_type": "carrier", "readable": + "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": + "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce + Solutions client secret", "value": "********"}, "pickup_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, + "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions + distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", + "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test + DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", + "value": "123456"}, "distribution_center": {"visibility": "visible", "label": + "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1481' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaf073e798bbbd000f68fc + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.029861' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/carrier_accounts/ca_626f1b2f11214e0d8ccb3b7b9526cbb9 + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaf073e798bbbe000f6935 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.114283' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location + DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": + "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": + {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", + "pickup_id": "123456"}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '359' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/carrier_accounts + response: + body: + string: '{"id": "ca_16e4aed5a0db4a1d9215f06712754cd7", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T22:01:04Z", + "updated_at": "2024-01-19T22:01:04Z", "description": "CA Location DHL eCommerce + Solutions Account", "reference": null, "billing_type": "carrier", "readable": + "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": + "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce + Solutions client secret", "value": "********"}, "pickup_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, + "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions + distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", + "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test + DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", + "value": "123456"}, "distribution_center": {"visibility": "visible", "label": + "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1481' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaf120e798c41c000fed8b + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.261105' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/carrier_accounts/ca_16e4aed5a0db4a1d9215f06712754cd7 + response: + body: + string: '{"id": "ca_16e4aed5a0db4a1d9215f06712754cd7", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T22:01:04Z", + "updated_at": "2024-01-19T22:01:04Z", "description": "CA Location DHL eCommerce + Solutions Account", "reference": null, "billing_type": "carrier", "readable": + "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": + "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce + Solutions client secret", "value": "********"}, "pickup_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, + "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions + distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", + "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test + DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", + "value": "123456"}, "distribution_center": {"visibility": "visible", "label": + "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1481' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf120e798c41d000fedf4 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.132689' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/carrier_accounts/ca_16e4aed5a0db4a1d9215f06712754cd7 + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaf121e798c41e000fee46 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.117660' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location + DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": + "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": + {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", + "pickup_id": "123456"}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '359' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/carrier_accounts + response: + body: + string: '{"id": "ca_c24003ee74054d96937851a992962d59", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T22:04:51Z", + "updated_at": "2024-01-19T22:04:51Z", "description": "CA Location DHL eCommerce + Solutions Account", "reference": null, "billing_type": "carrier", "readable": + "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": + "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce + Solutions client secret", "value": "********"}, "pickup_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, + "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions + distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", + "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test + DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", + "value": "123456"}, "distribution_center": {"visibility": "visible", "label": + "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1481' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaf203e798cd000010a258 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.112298' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/carrier_accounts/ca_c24003ee74054d96937851a992962d59 + response: + body: + string: '{"id": "ca_c24003ee74054d96937851a992962d59", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T22:04:51Z", + "updated_at": "2024-01-19T22:04:51Z", "description": "CA Location DHL eCommerce + Solutions Account", "reference": null, "billing_type": "carrier", "readable": + "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": + "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce + Solutions client secret", "value": "********"}, "pickup_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, + "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions + distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", + "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test + DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", + "value": "123456"}, "distribution_center": {"visibility": "visible", "label": + "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1481' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaf203e798cd010010a283 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.034496' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/carrier_accounts/ca_c24003ee74054d96937851a992962d59 + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf203e798cd020010a2b1 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.235640' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location + DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": + "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": + {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", + "pickup_id": "123456"}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '359' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/carrier_accounts + response: + body: + string: '{"id": "ca_440d8f809e194557ac2b8c2b5e5a7ede", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T22:06:23Z", + "updated_at": "2024-01-19T22:06:23Z", "description": "CA Location DHL eCommerce + Solutions Account", "reference": null, "billing_type": "carrier", "readable": + "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": + "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce + Solutions client secret", "value": "********"}, "pickup_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, + "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions + distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", + "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test + DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", + "value": "123456"}, "distribution_center": {"visibility": "visible", "label": + "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1481' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf25fe798d4a10010e112 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.109855' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/carrier_accounts/ca_440d8f809e194557ac2b8c2b5e5a7ede + response: + body: + string: '{"id": "ca_440d8f809e194557ac2b8c2b5e5a7ede", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T22:06:23Z", + "updated_at": "2024-01-19T22:06:23Z", "description": "CA Location DHL eCommerce + Solutions Account", "reference": null, "billing_type": "carrier", "readable": + "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": + "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce + Solutions client secret", "value": "********"}, "pickup_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, + "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions + distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", + "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test + DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", + "value": "123456"}, "distribution_center": {"visibility": "visible", "label": + "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1481' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf25fe798d4a20010e153 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.028908' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/carrier_accounts/ca_440d8f809e194557ac2b8c2b5e5a7ede + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf260e798d4ba0010e184 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.113305' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location + DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": + "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": + {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", + "pickup_id": "123456"}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '359' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/carrier_accounts + response: + body: + string: '{"id": "ca_11034e7e23de4a3bbd54a42947bcdb85", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T23:38:27Z", + "updated_at": "2024-01-19T23:38:27Z", "description": "CA Location DHL eCommerce + Solutions Account", "reference": null, "billing_type": "carrier", "readable": + "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": + "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce + Solutions client secret", "value": "********"}, "pickup_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, + "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions + distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", + "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test + DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", + "value": "123456"}, "distribution_center": {"visibility": "visible", "label": + "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1481' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365ab07f3e799e5a2001d7876 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.111656' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/carrier_accounts/ca_11034e7e23de4a3bbd54a42947bcdb85 + response: + body: + string: '{"id": "ca_11034e7e23de4a3bbd54a42947bcdb85", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T23:38:27Z", + "updated_at": "2024-01-19T23:38:27Z", "description": "CA Location DHL eCommerce + Solutions Account", "reference": null, "billing_type": "carrier", "readable": + "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": + "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce + Solutions client secret", "value": "********"}, "pickup_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, + "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions + distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", + "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test + DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", + "value": "123456"}, "distribution_center": {"visibility": "visible", "label": + "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1481' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765ab07f3e799e5a3001d7892 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.187993' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/carrier_accounts/ca_11034e7e23de4a3bbd54a42947bcdb85 + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465ab07f4e799e5a4001d78d5 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.116296' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_carrier_accounts_update.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_carrier_accounts_update.yaml new file mode 100644 index 00000000..38163f34 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_carrier_accounts_update.yaml @@ -0,0 +1,1987 @@ +interactions: +- request: + body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location + DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": + "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": + {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", + "pickup_id": "123456"}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '359' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/carrier_accounts + response: + body: + string: '{"id": "ca_49661b5fd3e441b48514efaeb722c886", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T21:40:40Z", + "updated_at": "2024-01-19T21:40:40Z", "description": "CA Location DHL eCommerce + Solutions Account", "reference": null, "billing_type": "carrier", "readable": + "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": + "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce + Solutions client secret", "value": "********"}, "pickup_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, + "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions + distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", + "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test + DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", + "value": "123456"}, "distribution_center": {"visibility": "visible", "label": + "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1481' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaec58e78b9b47000ccf24 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.113236' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"carrier_account": {"description": "My custom description"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '61' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: PATCH + uri: https://api.easypost.com/v2/carrier_accounts/ca_49661b5fd3e441b48514efaeb722c886 + response: + body: + string: '{"id": "ca_49661b5fd3e441b48514efaeb722c886", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T21:40:40Z", + "updated_at": "2024-01-19T21:40:41Z", "description": "My custom description", + "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce Solutions", + "logo": null, "fields": {"credentials": {"client_id": {"visibility": "visible", + "label": "DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": + {"visibility": "password", "label": "DHL eCommerce Solutions client secret", + "value": "********"}, "pickup_id": {"visibility": "visible", "label": "DHL + eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", + "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", + "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": + {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", + "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test + DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution + center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": + "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": + {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", + "distribution_center": "USLAX1"}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1459' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaec59e78b9b48000ccf61 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.128873' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/carrier_accounts/ca_49661b5fd3e441b48514efaeb722c886 + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaec59e78b9b4a000ccf93 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.114385' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location + DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": + "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": + {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", + "pickup_id": "123456"}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '359' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/carrier_accounts + response: + body: + string: '{"id": "ca_21f19ad2c250427b81e9c414aea9df4a", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T21:43:09Z", + "updated_at": "2024-01-19T21:43:09Z", "description": "CA Location DHL eCommerce + Solutions Account", "reference": null, "billing_type": "carrier", "readable": + "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": + "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce + Solutions client secret", "value": "********"}, "pickup_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, + "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions + distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", + "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test + DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", + "value": "123456"}, "distribution_center": {"visibility": "visible", "label": + "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1481' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaecede78ba368000d2cb3 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.113822' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"carrier_account": {"description": "My custom description"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '61' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: PATCH + uri: https://api.easypost.com/v2/carrier_accounts/ca_21f19ad2c250427b81e9c414aea9df4a + response: + body: + string: '{"id": "ca_21f19ad2c250427b81e9c414aea9df4a", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T21:43:09Z", + "updated_at": "2024-01-19T21:43:10Z", "description": "My custom description", + "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce Solutions", + "logo": null, "fields": {"credentials": {"client_id": {"visibility": "visible", + "label": "DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": + {"visibility": "password", "label": "DHL eCommerce Solutions client secret", + "value": "********"}, "pickup_id": {"visibility": "visible", "label": "DHL + eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", + "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", + "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": + {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", + "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test + DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution + center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": + "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": + {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", + "distribution_center": "USLAX1"}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1459' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaeceee78ba369000d2ceb + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.127685' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/carrier_accounts/ca_21f19ad2c250427b81e9c414aea9df4a + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaeceee78ba385000d2d3b + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.114557' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location + DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": + "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": + {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", + "pickup_id": "123456"}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '359' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/carrier_accounts + response: + body: + string: '{"id": "ca_e33273d7156e42d5b9334895e927cce5", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T21:47:00Z", + "updated_at": "2024-01-19T21:47:00Z", "description": "CA Location DHL eCommerce + Solutions Account", "reference": null, "billing_type": "carrier", "readable": + "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": + "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce + Solutions client secret", "value": "********"}, "pickup_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, + "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions + distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", + "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test + DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", + "value": "123456"}, "distribution_center": {"visibility": "visible", "label": + "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1481' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda965aaedd4e78bac0c001120f3 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.106380' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"carrier_account": {"description": "My custom description"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '61' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: PATCH + uri: https://api.easypost.com/v2/carrier_accounts/ca_e33273d7156e42d5b9334895e927cce5 + response: + body: + string: '{"id": "ca_e33273d7156e42d5b9334895e927cce5", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T21:47:00Z", + "updated_at": "2024-01-19T21:47:00Z", "description": "My custom description", + "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce Solutions", + "logo": null, "fields": {"credentials": {"client_id": {"visibility": "visible", + "label": "DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": + {"visibility": "password", "label": "DHL eCommerce Solutions client secret", + "value": "********"}, "pickup_id": {"visibility": "visible", "label": "DHL + eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", + "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", + "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": + {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", + "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test + DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution + center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": + "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": + {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", + "distribution_center": "USLAX1"}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1459' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdac65aaedd4e78bac0d00112124 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.123108' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/carrier_accounts/ca_e33273d7156e42d5b9334895e927cce5 + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdab65aaedd4e78bac0e0011215d + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.114752' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location + DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": + "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": + {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", + "pickup_id": "123456"}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '359' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/carrier_accounts + response: + body: + string: '{"id": "ca_3122347ca229459e853018a4d2226e8a", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T21:48:51Z", + "updated_at": "2024-01-19T21:48:51Z", "description": "CA Location DHL eCommerce + Solutions Account", "reference": null, "billing_type": "carrier", "readable": + "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": + "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce + Solutions client secret", "value": "********"}, "pickup_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, + "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions + distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", + "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test + DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", + "value": "123456"}, "distribution_center": {"visibility": "visible", "label": + "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1481' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdae65aaee43e78bb42a0011651c + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.108209' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"carrier_account": {"description": "My custom description"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '61' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: PATCH + uri: https://api.easypost.com/v2/carrier_accounts/ca_3122347ca229459e853018a4d2226e8a + response: + body: + string: '{"id": "ca_3122347ca229459e853018a4d2226e8a", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T21:48:51Z", + "updated_at": "2024-01-19T21:48:52Z", "description": "My custom description", + "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce Solutions", + "logo": null, "fields": {"credentials": {"client_id": {"visibility": "visible", + "label": "DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": + {"visibility": "password", "label": "DHL eCommerce Solutions client secret", + "value": "********"}, "pickup_id": {"visibility": "visible", "label": "DHL + eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", + "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", + "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": + {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", + "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test + DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution + center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": + "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": + {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", + "distribution_center": "USLAX1"}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1459' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdaa65aaee44e78bb42b00116545 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.132308' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/carrier_accounts/ca_3122347ca229459e853018a4d2226e8a + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdac65aaee44e78bb42c0011657d + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.118069' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location + DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": + "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": + {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", + "pickup_id": "123456"}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '359' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/carrier_accounts + response: + body: + string: '{"id": "ca_98e0e7beaaa4467f90e125871511661f", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T21:58:12Z", + "updated_at": "2024-01-19T21:58:12Z", "description": "CA Location DHL eCommerce + Solutions Account", "reference": null, "billing_type": "carrier", "readable": + "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": + "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce + Solutions client secret", "value": "********"}, "pickup_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, + "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions + distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", + "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test + DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", + "value": "123456"}, "distribution_center": {"visibility": "visible", "label": + "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1481' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf074e798bbc0000f69ce + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.112908' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"carrier_account": {"description": "My custom description"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '61' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: PATCH + uri: https://api.easypost.com/v2/carrier_accounts/ca_98e0e7beaaa4467f90e125871511661f + response: + body: + string: '{"id": "ca_98e0e7beaaa4467f90e125871511661f", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T21:58:12Z", + "updated_at": "2024-01-19T21:58:12Z", "description": "My custom description", + "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce Solutions", + "logo": null, "fields": {"credentials": {"client_id": {"visibility": "visible", + "label": "DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": + {"visibility": "password", "label": "DHL eCommerce Solutions client secret", + "value": "********"}, "pickup_id": {"visibility": "visible", "label": "DHL + eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", + "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", + "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": + {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", + "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test + DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution + center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": + "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": + {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", + "distribution_center": "USLAX1"}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1459' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf074e798bbc1000f6a06 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.130610' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/carrier_accounts/ca_98e0e7beaaa4467f90e125871511661f + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf075e798bbd9000f6a4d + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.116606' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location + DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": + "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": + {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", + "pickup_id": "123456"}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '359' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/carrier_accounts + response: + body: + string: '{"id": "ca_3bb630c9c7de49119938b3e899b15f80", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T22:01:06Z", + "updated_at": "2024-01-19T22:01:06Z", "description": "CA Location DHL eCommerce + Solutions Account", "reference": null, "billing_type": "carrier", "readable": + "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": + "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce + Solutions client secret", "value": "********"}, "pickup_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, + "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions + distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", + "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test + DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", + "value": "123456"}, "distribution_center": {"visibility": "visible", "label": + "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1481' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaf122e798c420000fef15 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.114270' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"carrier_account": {"description": "My custom description"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '61' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: PATCH + uri: https://api.easypost.com/v2/carrier_accounts/ca_3bb630c9c7de49119938b3e899b15f80 + response: + body: + string: '{"id": "ca_3bb630c9c7de49119938b3e899b15f80", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T22:01:06Z", + "updated_at": "2024-01-19T22:01:06Z", "description": "My custom description", + "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce Solutions", + "logo": null, "fields": {"credentials": {"client_id": {"visibility": "visible", + "label": "DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": + {"visibility": "password", "label": "DHL eCommerce Solutions client secret", + "value": "********"}, "pickup_id": {"visibility": "visible", "label": "DHL + eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", + "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", + "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": + {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", + "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test + DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution + center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": + "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": + {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", + "distribution_center": "USLAX1"}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1459' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaf122e798c421000fef56 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.131204' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/carrier_accounts/ca_3bb630c9c7de49119938b3e899b15f80 + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaf123e798c422000fefac + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.119651' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location + DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": + "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": + {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", + "pickup_id": "123456"}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '359' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/carrier_accounts + response: + body: + string: '{"id": "ca_865080cfb3f144298a8bc93ff713a607", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T22:04:52Z", + "updated_at": "2024-01-19T22:04:52Z", "description": "CA Location DHL eCommerce + Solutions Account", "reference": null, "billing_type": "carrier", "readable": + "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": + "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce + Solutions client secret", "value": "********"}, "pickup_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, + "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions + distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", + "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test + DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", + "value": "123456"}, "distribution_center": {"visibility": "visible", "label": + "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1481' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaf204e798cd040010a357 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.112907' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"carrier_account": {"description": "My custom description"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '61' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: PATCH + uri: https://api.easypost.com/v2/carrier_accounts/ca_865080cfb3f144298a8bc93ff713a607 + response: + body: + string: '{"id": "ca_865080cfb3f144298a8bc93ff713a607", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T22:04:52Z", + "updated_at": "2024-01-19T22:04:53Z", "description": "My custom description", + "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce Solutions", + "logo": null, "fields": {"credentials": {"client_id": {"visibility": "visible", + "label": "DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": + {"visibility": "password", "label": "DHL eCommerce Solutions client secret", + "value": "********"}, "pickup_id": {"visibility": "visible", "label": "DHL + eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", + "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", + "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": + {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", + "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test + DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution + center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": + "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": + {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", + "distribution_center": "USLAX1"}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1459' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf205e798cd050010a3a9 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.126329' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/carrier_accounts/ca_865080cfb3f144298a8bc93ff713a607 + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf205e798cd060010a3ea + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.112763' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location + DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": + "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": + {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", + "pickup_id": "123456"}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '359' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/carrier_accounts + response: + body: + string: '{"id": "ca_1b90230a8c5d476d968c76c5e63350fd", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T22:06:25Z", + "updated_at": "2024-01-19T22:06:25Z", "description": "CA Location DHL eCommerce + Solutions Account", "reference": null, "billing_type": "carrier", "readable": + "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": + "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce + Solutions client secret", "value": "********"}, "pickup_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, + "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions + distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", + "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test + DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", + "value": "123456"}, "distribution_center": {"visibility": "visible", "label": + "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1481' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf261e798d4bc0010e251 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.107265' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"carrier_account": {"description": "My custom description"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '61' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: PATCH + uri: https://api.easypost.com/v2/carrier_accounts/ca_1b90230a8c5d476d968c76c5e63350fd + response: + body: + string: '{"id": "ca_1b90230a8c5d476d968c76c5e63350fd", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T22:06:25Z", + "updated_at": "2024-01-19T22:06:25Z", "description": "My custom description", + "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce Solutions", + "logo": null, "fields": {"credentials": {"client_id": {"visibility": "visible", + "label": "DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": + {"visibility": "password", "label": "DHL eCommerce Solutions client secret", + "value": "********"}, "pickup_id": {"visibility": "visible", "label": "DHL + eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", + "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", + "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": + {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", + "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test + DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution + center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": + "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": + {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", + "distribution_center": "USLAX1"}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1459' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf261e798d4bd0010e28a + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.129572' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/carrier_accounts/ca_1b90230a8c5d476d968c76c5e63350fd + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaf262e798d4bf0010e2bc + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.118108' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location + DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": + "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": + {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", + "pickup_id": "123456"}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '359' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/carrier_accounts + response: + body: + string: '{"id": "ca_a5e4cb81d1b4481d812f4511ba8dfbb1", "object": "CarrierAccount", + "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T23:38:29Z", + "updated_at": "2024-01-19T23:38:29Z", "description": "CA Location DHL eCommerce + Solutions Account", "reference": null, "billing_type": "carrier", "readable": + "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": + {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": + "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce + Solutions client secret", "value": "********"}, "pickup_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, + "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions + distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", + "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test + DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": + {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", + "value": "123456"}, "distribution_center": {"visibility": "visible", "label": + "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, + "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": + "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": + "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": + "USLAX1"}}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1481' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365ab07f5e799e5a6001d794b + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.232644' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_carrier_metadata_retrieve.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_carrier_metadata_retrieve.yaml new file mode 100644 index 00000000..1889a511 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_carrier_metadata_retrieve.yaml @@ -0,0 +1,127 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/metadata/carriers?carriers=usps&types=service_levels%2Cpredefined_packages + response: + body: + string: '{"carriers": [{"human_readable": "USPS", "name": "usps", "predefined_packages": + [{"carrier": "usps", "description": null, "dimensions": ["6in x 4.5in x 0.016in"], + "human_readable": null, "max_weight": null, "name": "Card"}, {"carrier": "usps", + "description": null, "dimensions": ["11.5in x 6.125in x 0.25in"], "human_readable": + null, "max_weight": null, "name": "Letter"}, {"carrier": "usps", "description": + null, "dimensions": ["11.5in x 6.125in x 0.75in"], "human_readable": null, + "max_weight": null, "name": "Flat"}, {"carrier": "usps", "description": null, + "dimensions": ["12.5in x 9.5in"], "human_readable": null, "max_weight": null, + "name": "FlatRateEnvelope"}, {"carrier": "usps", "description": null, "dimensions": + ["15in x 9.5in"], "human_readable": null, "max_weight": null, "name": "FlatRateLegalEnvelope"}, + {"carrier": "usps", "description": null, "dimensions": ["12.5in x 9.5in"], + "human_readable": null, "max_weight": null, "name": "FlatRatePaddedEnvelope"}, + {"carrier": "usps", "description": null, "dimensions": ["10in x 5in", "12.5in + x 9.5in"], "human_readable": null, "max_weight": null, "name": "FlatRateWindowEnvelope"}, + {"carrier": "usps", "description": null, "dimensions": ["12.5in x 9.5in"], + "human_readable": null, "max_weight": null, "name": "FlatRateCardboardEnvelope"}, + {"carrier": "usps", "description": null, "dimensions": ["10in x 6in"], "human_readable": + null, "max_weight": null, "name": "SmallFlatRateEnvelope"}, {"carrier": "usps", + "description": null, "dimensions": ["Varies based on service level"], "human_readable": + null, "max_weight": null, "name": "Parcel"}, {"carrier": "usps", "description": + null, "dimensions": ["Varies based on service level"], "human_readable": null, + "max_weight": 320.0, "name": "SoftPack"}, {"carrier": "usps", "description": + null, "dimensions": ["8.6875in x 5.4375in x 1.75in"], "human_readable": null, + "max_weight": null, "name": "SmallFlatRateBox"}, {"carrier": "usps", "description": + null, "dimensions": ["11.25in x 8.75in x 6in", "14.125in x 12in x 3.5in"], + "human_readable": null, "max_weight": null, "name": "MediumFlatRateBox"}, + {"carrier": "usps", "description": null, "dimensions": ["12.25in x 12in x + 6in"], "human_readable": null, "max_weight": null, "name": "LargeFlatRateBox"}, + {"carrier": "usps", "description": null, "dimensions": ["12.25in x 12.25in + x 6in"], "human_readable": null, "max_weight": null, "name": "LargeFlatRateBoxAPOFPO"}, + {"carrier": "usps", "description": null, "dimensions": [], "human_readable": + null, "max_weight": null, "name": "FlatTubTrayBox"}, {"carrier": "usps", "description": + null, "dimensions": [], "human_readable": null, "max_weight": null, "name": + "EMMTrayBox"}, {"carrier": "usps", "description": null, "dimensions": [], + "human_readable": null, "max_weight": null, "name": "FullTrayBox"}, {"carrier": + "usps", "description": null, "dimensions": [], "human_readable": null, "max_weight": + null, "name": "HalfTrayBox"}, {"carrier": "usps", "description": null, "dimensions": + [], "human_readable": null, "max_weight": null, "name": "PMODSack"}], "service_levels": + [{"carrier": "usps", "description": "1-5 business days", "dimensions": ["Cards, + Letters and Flats only (no Parcels)", "See Predefined Packages (Card, Letter, + Flat) for details"], "human_readable": null, "max_weight": 13.0, "name": "First"}, + {"carrier": "usps", "description": "1-3 business days", "dimensions": ["Combined + Length and Girth < 108in"], "human_readable": null, "max_weight": 1120.0, + "name": "Priority"}, {"carrier": "usps", "description": "1-2 days", "dimensions": + ["Combined Length and Girth < 108in"], "human_readable": null, "max_weight": + 1120.0, "name": "Express"}, {"carrier": "usps", "description": "2-5 days", + "dimensions": ["Combined Length and Girth < 130in"], "human_readable": null, + "max_weight": 70.0, "name": "GroundAdvantage"}, {"carrier": "usps", "description": + "2-8 business days", "dimensions": ["Combined Length and Girth < 108in"], + "human_readable": null, "max_weight": 1120.0, "name": "LibraryMail"}, {"carrier": + "usps", "description": "2-8 business days", "dimensions": ["Combined Length + and Girth < 108in"], "human_readable": null, "max_weight": 1120.0, "name": + "MediaMail"}, {"carrier": "usps", "description": null, "dimensions": ["Must + be rectangular, otherwise an additional charge may apply."], "human_readable": + null, "max_weight": 15.994, "name": "FirstClassMailInternational"}, {"carrier": + "usps", "description": "7-21 days", "dimensions": ["Packages (Other Than Rolls): + Combined Length and Girth < 108in", "Rolls (Tubes): Length: min 4in; max 36 + in. Length plus twice the diameter (combined): min 6.75 in; max 42in.", "Some + countries have specific prohibitions and restrictions"], "human_readable": + null, "max_weight": 64.0, "name": "FirstClassPackageInternationalService"}, + {"carrier": "usps", "description": "6-10 business days", "dimensions": ["Combined + Length and Girth < 108in"], "human_readable": null, "max_weight": 1120.0, + "name": "PriorityMailInternational"}, {"carrier": "usps", "description": "3-5 + business days", "dimensions": ["Combined Length and Girth < 108in"], "human_readable": + null, "max_weight": 1120.0, "name": "ExpressMailInternational"}]}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '4808' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865ab074be799e1a7001d261b + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.033043' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_carrier_types_list.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_carrier_types_list.yaml new file mode 100644 index 00000000..fbd7d853 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_carrier_types_list.yaml @@ -0,0 +1,4614 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/carrier_types + response: + body: + string: '[{"object": "CarrierType", "type": "AmazonMwsAccount", "readable": + "Amazon MWS", "logo": null, "fields": {"credentials": {"access_key_id": {"visibility": + "visible", "label": "AWS Access Key ID"}, "secret_key": {"visibility": "password", + "label": "Secret Key"}, "merchant_id": {"visibility": "visible", "label": + "Seller ID"}}}}, {"object": "CarrierType", "type": "ApcAccount", "readable": + "APC", "logo": null, "fields": {"credentials": {"shipper_id": {"visibility": + "visible", "label": "APC Shipper ID"}, "password": {"visibility": "password", + "label": "APC Password"}, "facility": {"visibility": "visible", "label": "APC + Facility (e.g., NJ, LA)"}}}}, {"object": "CarrierType", "type": "AsendiaUsaAccount", + "readable": "Asendia USA", "logo": null, "fields": {"credentials": {"account_number": + {"visibility": "visible", "label": "AsendiaUsa Account Number"}, "sub_account_number": + {"visibility": "visible", "label": "AsendiaUsa Sub Account Number"}, "username": + {"visibility": "visible", "label": "AsendiaUsa Username"}, "password": {"visibility": + "password", "label": "AsendiaUsa Password"}, "api_key": {"visibility": "masked", + "label": "AsendiaUsa API key"}, "carrier_facility": {"visibility": "select", + "label": "AsendiaUsa Carrier Facility / Processing Location (Optional)"}}, + "test_credentials": {"account_number": {"visibility": "visible", "label": + "Test AsendiaUsa Account Number"}, "sub_account_number": {"visibility": "visible", + "label": "Test AsendiaUsa Sub Account Number"}, "username": {"visibility": + "visible", "label": "Test AsendiaUsa Username"}, "password": {"visibility": + "password", "label": "Test AsendiaUsa Password"}, "api_key": {"visibility": + "masked", "label": "Test AsendiaUsa API key"}, "carrier_facility": {"visibility": + "select", "label": "Test AsendiaUsa Carrier Facility / Processing Location + (Optional)"}}}}, {"object": "CarrierType", "type": "AustraliaPostAccount", + "readable": "Australia Post", "logo": null, "fields": {"credentials": {"account_number": + {"visibility": "visible", "label": "Australia Post Account Number"}, "api_key": + {"visibility": "masked", "label": "Australia Post API Key"}, "api_secret": + {"visibility": "password", "label": "Australia Post Secret Key"}, "print_as_you_go": + {"visibility": "checkbox", "label": "Print as you go"}}, "test_credentials": + {"account_number": {"visibility": "visible", "label": "Australia Post Test + Account Number"}, "api_key": {"visibility": "masked", "label": "Australia + Post Test API Key"}, "api_secret": {"visibility": "password", "label": "Australia + Post Test Secret Key"}, "print_as_you_go": {"visibility": "checkbox", "label": + "Print as you go"}}}}, {"object": "CarrierType", "type": "AxlehireV3Account", + "readable": "AxlehireV3", "logo": null, "fields": {"credentials": {"api_key": + {"visibility": "masked", "label": "Client Secret"}}, "test_credentials": {"api_key": + {"visibility": "masked", "label": "Client Secret"}}}}, {"object": "CarrierType", + "type": "BetterTrucksAccount", "readable": "Better Trucks", "logo": null, + "fields": {"credentials": {"api_key": {"visibility": "masked", "label": "Better + Trucks API key"}}, "test_credentials": {"api_key": {"visibility": "masked", + "label": "Test Better Trucks API key"}}}}, {"object": "CarrierType", "type": + "CanadaPostAccount", "readable": "Canada Post", "logo": null, "fields": {"credentials": + {"api_key": {"visibility": "masked", "label": "CanadaPost API Key"}, "contract_id": + {"visibility": "visible", "label": "CanadaPost Contract ID (contract customers + only)"}, "customer_number": {"visibility": "visible", "label": "CanadaPost + Customer Number"}, "has_credit_card": {"visibility": "checkbox", "label": + "CanadaPost account has credit card?"}, "not_platform": {"visibility": "invisible", + "label": "CanadaPost account not registered through platform?"}}, "test_credentials": + {"api_key": {"visibility": "masked", "label": "CanadaPost Test API Key"}, + "contract_id": {"visibility": "visible", "label": "CanadaPost Test Contract + ID (contract customers only)"}, "customer_number": {"visibility": "visible", + "label": "CanadaPost Test Customer Number"}, "has_credit_card": {"visibility": + "checkbox", "label": "CanadaPost Test account has credit card?"}, "not_platform": + {"visibility": "invisible", "label": "CanadaPost Test account not registered + through platform?"}}, "custom_workflow": true}}, {"object": "CarrierType", + "type": "CanparAccount", "readable": "Canpar", "logo": null, "fields": {"credentials": + {"account_number": {"visibility": "visible", "label": "Canpar Account Number"}, + "username": {"visibility": "visible", "label": "Canpar Username"}, "password": + {"visibility": "password", "label": "Canpar Password"}}, "test_credentials": + {"account_number": {"visibility": "visible", "label": "Test Canpar Account + Number"}, "username": {"visibility": "visible", "label": "Test Canpar Username"}, + "password": {"visibility": "password", "label": "Test Canpar Password"}}}}, + {"object": "CarrierType", "type": "ColumbusLastMileAccount", "readable": "CDL + Last Mile Solutions", "logo": null, "fields": {"credentials": {"username": + {"visibility": "visible", "label": "CDL Last Mile Solutions customer username"}, + "password": {"visibility": "password", "label": "CDL Last Mile Solutions customer + password"}, "tracking_code_prefix": {"visibility": "visible", "label": "CDL + Last Mile Solutions tracking code prefix"}}, "test_credentials": {"username": + {"visibility": "visible", "label": "CDL Last Mile Solutions customer test + username"}, "password": {"visibility": "password", "label": "CDL Last Mile + Solutions customer test password"}, "tracking_code_prefix": {"visibility": + "visible", "label": "CDL Last Mile Solutions tracking code prefix"}}}}, {"object": + "CarrierType", "type": "CourierExpressAccount", "readable": "Courier Express", + "logo": null, "fields": {"credentials": {"api_key": {"visibility": "masked", + "label": "Courier Express API key"}, "shipper_id": {"visibility": "visible", + "label": "Courier Express shipper ID"}}, "test_credentials": {"api_key": {"visibility": + "masked", "label": "Test Courier Express API key"}, "shipper_id": {"visibility": + "visible", "label": "Test Courier Express shipper ID"}}}}, {"object": "CarrierType", + "type": "CouriersPleaseAccount", "readable": "CouriersPlease", "logo": null, + "fields": {"credentials": {"username": {"visibility": "visible", "label": + "Account Number"}, "password": {"visibility": "password", "label": "Password"}}, + "test_credentials": {"username": {"visibility": "visible", "label": "Account + Number"}, "password": {"visibility": "password", "label": "Password"}}}}, + {"object": "CarrierType", "type": "DaiPostAccount", "readable": "Dai Post", + "logo": null, "fields": {"credentials": {"username": {"visibility": "visible", + "label": " Dai Post customer username"}, "password": {"visibility": "password", + "label": " Dai Post client secret"}, "origin_terminal": {"visibility": "visible", + "label": " Dai Post default origin terminal"}, "account_code": {"visibility": + "visible", "label": " 3-letter account code for customers with multiple accounts"}}}}, + {"object": "CarrierType", "type": "DeliverItAccount", "readable": "Deliver-It", + "logo": null, "fields": {"credentials": {"username": {"visibility": "visible", + "label": "Deliver-It Username"}, "password": {"visibility": "password", "label": + "Deliver-It Password"}, "account_number": {"visibility": "visible", "label": + "Deliver-It Account Number"}}, "test_credentials": {"username": {"visibility": + "visible", "label": "Test Deliver-It Username"}, "password": {"visibility": + "password", "label": "Test Deliver-It Password"}, "account_number": {"visibility": + "visible", "label": "Test Deliver-It Account Number"}}}}, {"object": "CarrierType", + "type": "DeutschePostUKAccount", "readable": "Deutsche Post UK", "logo": null, + "fields": {"credentials": {"client_id": {"visibility": "visible", "label": + "Deutsche Post UK Client ID"}, "client_secret": {"visibility": "password", + "label": "Deutsche Post UK Secret"}, "account_number": {"visibility": "visible", + "label": "Deutsche Post UK Account Number"}}, "test_credentials": {"client_id": + {"visibility": "visible", "label": "Test Deutsche Post UK Client ID"}, "client_secret": + {"visibility": "password", "label": "Test Deutsche Post UK Secret"}, "account_number": + {"visibility": "visible", "label": "Test Deutsche Post UK Account Number"}}}}, + {"object": "CarrierType", "type": "DhlEcommerceAsiaAccount", "readable": "DHL + Ecommerce Asia", "logo": null, "fields": {"credentials": {"account_number": + {"visibility": "visible", "label": "DHL Ecommerce Asia Account Number"}, "client_id": + {"visibility": "visible", "label": "DHL Ecommerce Asia Contract Number"}, + "password": {"visibility": "password", "label": "DHL Ecommerce Asia Password"}, + "barcode_prefix": {"visibility": "visible", "label": "DHL Ecommerce Asia Customer + ID"}}, "test_credentials": {"account_number": {"visibility": "visible", "label": + "Test DHL Ecommerce Asia Account Number"}, "client_id": {"visibility": "visible", + "label": "Test DHL Ecommerce Asia Contract Number"}, "password": {"visibility": + "password", "label": "Test DHL Ecommerce Asia Password"}, "barcode_prefix": + {"visibility": "visible", "label": "Test DHL Ecommerce Asia Customer ID"}}}}, + {"object": "CarrierType", "type": "DhlEcsAccount", "readable": "DHL eCommerce + Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions client ID"}, "client_secret": + {"visibility": "password", "label": "DHL eCommerce Solutions client secret"}, + "pickup_id": {"visibility": "visible", "label": "DHL eCommerce Solutions pickup + ID"}, "distribution_center": {"visibility": "visible", "label": "DHL eCommerce + Solutions distribution center"}}, "test_credentials": {"client_id": {"visibility": + "visible", "label": "Test DHL eCommerce Solutions client ID"}, "client_secret": + {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret"}, + "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions + pickup ID"}, "distribution_center": {"visibility": "visible", "label": "Test + DHL eCommerce Solutions distribution center"}}}}, {"object": "CarrierType", + "type": "DhlExpressAccount", "readable": "DHL Express", "logo": null, "fields": + {"credentials": {"account_number": {"visibility": "visible", "label": "DHL + Account Number"}, "country": {"visibility": "visible", "label": "Account Country + Code (2 Letter)"}, "site_id": {"visibility": "visible", "label": "Site ID + (Optional)"}, "password": {"visibility": "password", "label": "Password (Optional)"}, + "is_reseller": {"visibility": "checkbox", "label": "Reseller Account? (check + if yes)"}}}}, {"object": "CarrierType", "type": "DhlPaketAccount", "readable": + "DHL Paket", "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "DHL Paket Account Number (EKP)"}, "contract_id": {"visibility": + "visible", "label": "DHL Paket Contract Participation Value"}, "cig_username": + {"visibility": "visible", "label": "DHL Paket CIG Username"}, "cig_password": + {"visibility": "password", "label": "DHL Paket CIG Password"}, "tnt_username": + {"visibility": "visible", "label": "DHL Paket TNT Username (if applicable)"}, + "tnt_password": {"visibility": "password", "label": "DHL Paket TNT Password + (if applicable)"}, "retoure_username": {"visibility": "visible", "label": + "DHL Paket Retoure Username (if applicable)"}, "retoure_password": {"visibility": + "password", "label": "DHL Paket Retoure Password (if applicable)"}}, "test_credentials": + {"account_number": {"visibility": "visible", "label": "Test DHL Paket Account + Number (EKP)"}, "contract_id": {"visibility": "visible", "label": "Test DHL + Paket Contract Participation Value"}, "cig_username": {"visibility": "visible", + "label": " Test DHL Paket CIG Username"}, "cig_password": {"visibility": "password", + "label": "Test DHL Paket CIG Password"}, "tnt_username": {"visibility": "visible", + "label": "Test DHL Paket TNT Username (if applicable)"}, "tnt_password": {"visibility": + "password", "label": "Test DHL Paket TNT Password (if applicable)"}, "retoure_username": + {"visibility": "visible", "label": "Test DHL Paket Retoure Username (if applicable)"}, + "retoure_password": {"visibility": "password", "label": "Test DHL Paket Retoure + Password (if applicable)"}}}}, {"object": "CarrierType", "type": "DhlParcelAccount", + "readable": "DHL Parcel", "logo": null, "fields": {"credentials": {"user_id": + {"visibility": "visible", "label": "DHL Parcel User ID"}, "api_key": {"visibility": + "masked", "label": "DHL Parcel API Key"}, "account_number": {"visibility": + "visible", "label": "DHL Parcel Account Number"}}, "test_credentials": {"user_id": + {"visibility": "visible", "label": "DHL Parcel User ID"}, "api_key": {"visibility": + "masked", "label": "DHL Parcel API Key"}, "account_number": {"visibility": + "visible", "label": "DHL Parcel Account Number"}}}}, {"object": "CarrierType", + "type": "DpdAccount", "readable": "DPD", "logo": null, "fields": {"credentials": + {"username": {"visibility": "visible", "label": "WebConnect Username"}, "password": + {"visibility": "password", "label": "WebConnect Password"}, "customer_number": + {"visibility": "visible", "label": "DPD Customer Number"}}, "test_credentials": + {"username": {"visibility": "visible", "label": "Test WebConnect Username"}, + "password": {"visibility": "password", "label": "Test WebConnect Password"}, + "customer_number": {"visibility": "visible", "label": "DPD Customer Number"}}}}, + {"object": "CarrierType", "type": "DpdUkAccount", "readable": "DPD UK", "logo": + null, "fields": {"credentials": {"account_number": {"visibility": "visible", + "label": "DPD UK Account Number"}, "username": {"visibility": "visible", "label": + "DPD UK Username"}, "password": {"visibility": "password", "label": "DPD UK + Password"}}}}, {"object": "CarrierType", "type": "DpdNlAccount", "readable": + "DPD NL", "logo": null, "fields": {"credentials": {"username": {"visibility": + "visible", "label": "Delis ID"}, "password": {"visibility": "password", "label": + "Password"}}, "test_credentials": {"username": {"visibility": "visible", "label": + "Test Delis ID"}, "password": {"visibility": "password", "label": "Test Password"}}}}, + {"object": "CarrierType", "type": "EstafetaAccount", "readable": "Estafeta", + "logo": null, "fields": {"credentials": {"customer_id": {"visibility": "visible", + "label": "Subscriber ID"}, "username": {"visibility": "visible", "label": + "Login"}, "password": {"visibility": "password", "label": "Password"}, "client_id": + {"visibility": "visible", "label": "Tracking Subscriber ID"}, "user_id": {"visibility": + "visible", "label": "Tracking Login"}, "secret_key": {"visibility": "password", + "label": "Tracking Password"}, "customer_number": {"visibility": "visible", + "label": "Customer Number"}, "hub_id": {"visibility": "visible", "label": + "Office Number"}}, "test_credentials": {"customer_id": {"visibility": "visible", + "label": "Test Subscriber ID"}, "username": {"visibility": "visible", "label": + "Test Login"}, "password": {"visibility": "password", "label": "Test Password"}, + "client_id": {"visibility": "visible", "label": "Test Tracking Subscriber + ID"}, "user_id": {"visibility": "visible", "label": "Test Tracking Login"}, + "secret_key": {"visibility": "password", "label": "Test Tracking Password"}, + "customer_number": {"visibility": "visible", "label": "Test Customer Number"}, + "hub_id": {"visibility": "visible", "label": "Test Office Number"}}}}, {"object": + "CarrierType", "type": "FastwayAccount", "readable": "Fastway", "logo": null, + "fields": {"credentials": {"api_key": {"visibility": "masked", "label": "API + Key"}}}}, {"object": "CarrierType", "type": "FedexAccount", "readable": "FedEx", + "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "readonly", "label": "FedEx Account Number"}, "meter_number": {"visibility": + "invisible", "label": "FedEx Production Meter Number"}, "key": {"visibility": + "invisible", "label": "FedEx Production Authentication Key"}, "password": + {"visibility": "invisible", "label": "FedEx Production Password"}}, "test_credentials": + {"account_number": {"visibility": "readonly", "label": "FedEx Account Number"}, + "meter_number": {"visibility": "invisible", "label": "FedEx Test Meter Number"}, + "key": {"visibility": "invisible", "label": "FedEx Developer Test Key"}, "password": + {"visibility": "invisible", "label": "FedEx Test Password"}}, "creation_fields": + {"credential_information": {"account_number": {"label": "FedEx Account #", + "visibility": "visible"}}, "company_information": {"corporate_first_name": + {"label": "Company Contact First Name", "visibility": "visible"}, "corporate_last_name": + {"label": "Company Contact Last Name", "visibility": "visible"}, "corporate_job_title": + {"label": "Company Contact Job Title", "visibility": "visible"}, "corporate_company_name": + {"label": "Company Name", "visibility": "visible"}, "corporate_phone_number": + {"label": "Company Phone", "visibility": "visible"}, "corporate_email_address": + {"label": "Company Email", "visibility": "visible"}, "corporate_streets": + {"label": "Company Street", "visibility": "visible"}, "corporate_city": {"label": + "Company City", "visibility": "visible"}, "corporate_state": {"label": "Company + State", "visibility": "visible"}, "corporate_postal_code": {"label": "Company + Postal Code", "visibility": "visible"}, "corporate_country_code": {"label": + "Company Country Code", "visibility": "visible"}}, "address_information": + {"shipping_streets": {"label": "Shipping Street", "visibility": "visible"}, + "shipping_city": {"label": "Shipping City", "visibility": "visible"}, "shipping_state": + {"label": "Shipping State", "visibility": "visible"}, "shipping_postal_code": + {"label": "Shipping Postal Code ", "visibility": "visible"}, "shipping_country_code": + {"label": "Shipping Country Code", "visibility": "visible"}}}, "custom_workflow": + true}}, {"object": "CarrierType", "type": "FedexCrossBorderAccount", "readable": + "FedEx Cross Border", "logo": null, "fields": {"credentials": {"api_key": + {"visibility": "masked", "label": "FedEx Cross Border API key"}, "origin_hub": + {"visibility": "select", "label": "FedEx Cross Border Origin Hub"}}, "test_credentials": + {"api_key": {"visibility": "masked", "label": "Test FedEx Cross Border API + key"}, "origin_hub": {"visibility": "select", "label": "Test FedEx Cross Border + Origin Hub"}}}}, {"object": "CarrierType", "type": "FedexMailviewAccount", + "readable": "FedEx MailView", "logo": null, "fields": {"credentials": {"customer_id": + {"visibility": "visible", "label": "Customer Code"}, "service_id": {"visibility": + "password", "label": "Service ID"}, "fimspremium": {"visibility": "checkbox", + "label": "FIMS Premium"}, "fimsstandard": {"visibility": "checkbox", "label": + "FIMS Standard"}, "mailviewpremium": {"visibility": "checkbox", "label": "MailView + Premium"}, "mailviewlight": {"visibility": "checkbox", "label": "MailView + Light"}}}}, {"object": "CarrierType", "type": "FedexSmartpostAccount", "readable": + "FedEx SmartPost", "logo": null, "fields": {"credentials": {"account_number": + {"visibility": "visible", "label": "FedEx SmartPost Account Number"}, "hub_id": + {"visibility": "visible", "label": "FedEx SmartPost HubID"}, "meter_number": + {"visibility": "visible", "label": "Fedex SmartPost Meter Number"}, "key": + {"visibility": "masked", "label": "FedEx SmartPost Access Key"}, "password": + {"visibility": "password", "label": "SmartPost Access Key Password"}}, "creation_fields": + {"credential_information": {"account_number": {"label": "FedEx SmartPost Account + #", "visibility": "visible"}, "hub_id": {"label": "FedEx SmartPost Hub ID", + "visibility": "visible"}}, "company_information": {"corporate_first_name": + {"label": "Company Contact First Name", "visibility": "visible"}, "corporate_last_name": + {"label": "Company Contact Last Name", "visibility": "visible"}, "corporate_job_title": + {"label": "Company Contact Job Title", "visibility": "visible"}, "corporate_company_name": + {"label": "Company Name", "visibility": "visible"}, "corporate_phone_number": + {"label": "Company Phone", "visibility": "visible"}, "corporate_email_address": + {"label": "Company Email", "visibility": "visible"}, "corporate_streets": + {"label": "Company Street", "visibility": "visible"}, "corporate_city": {"label": + "Company City", "visibility": "visible"}, "corporate_state": {"label": "Company + State", "visibility": "visible"}, "corporate_postal_code": {"label": "Company + Postal Code", "visibility": "visible"}, "corporate_country_code": {"label": + "Company Country Code", "visibility": "visible"}}, "address_information": + {"shipping_streets": {"label": "Shipping Street", "visibility": "visible"}, + "shipping_city": {"label": "Shipping City", "visibility": "visible"}, "shipping_state": + {"label": "Shipping State", "visibility": "visible"}, "shipping_postal_code": + {"label": "Shipping Postal Code ", "visibility": "visible"}, "shipping_country_code": + {"label": "Shipping Country Code", "visibility": "visible"}}}, "custom_workflow": + true}}, {"object": "CarrierType", "type": "FirstMileConciseAccount", "readable": + "First Mile", "logo": null, "fields": {"credentials": {"username": {"visibility": + "visible", "label": "FirstMile Username"}, "password": {"visibility": "password", + "label": "FirsMile Password"}, "account_number": {"visibility": "visible", + "label": "FirstMile Account Number"}}, "test_credentials": {"username": {"visibility": + "visible", "label": "Test FirstMile Username"}, "password": {"visibility": + "password", "label": "Test FirstMile Password"}, "account_number": {"visibility": + "visible", "label": "Test FirstMile Account Number"}}}}, {"object": "CarrierType", + "type": "FlexportAccount", "readable": "Flexport", "logo": null, "fields": + {"credentials": {"api_key": {"visibility": "masked", "label": "Flexport Account + API Key"}}}}, {"object": "CarrierType", "type": "GsoAccount", "readable": + "GSO", "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "GSO Account Number"}, "username": {"visibility": "visible", + "label": "Username"}, "password": {"visibility": "password", "label": "Password"}}}}, + {"object": "CarrierType", "type": "HailifyAccount", "readable": "Hailify", + "logo": null, "fields": {"credentials": {"partner_id": {"visibility": "visible", + "label": "Hailify Partner ID"}}, "test_credentials": {"partner_id": {"visibility": + "visible", "label": "Test Hailify Partner ID"}}}}, {"object": "CarrierType", + "type": "HermesAccount", "readable": "Evri", "logo": null, "fields": {"credentials": + {"username": {"visibility": "visible", "label": "Evri Username"}, "password": + {"visibility": "password", "label": "Evri Password"}, "client_id": {"visibility": + "visible", "label": "Evri Client ID"}, "auth_id": {"visibility": "visible", + "label": "Evri Auth ID"}, "auth_secret": {"visibility": "password", "label": + "Evri Auth Secret"}, "client_name": {"visibility": "visible", "label": "Evri + Client name"}, "group_id": {"visibility": "visible", "label": "Evri Group + ID"}, "client_licence": {"visibility": "masked", "label": "Evri Client License"}, + "api_key": {"visibility": "masked", "label": "Evri API Key"}}}}, {"object": + "CarrierType", "type": "InterlinkExpressAccount", "readable": "Interlink Express", + "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "Interlink Express Account Number"}, "username": {"visibility": + "visible", "label": "Interlink Express Username"}, "password": {"visibility": + "password", "label": "Interlink Express Password"}, "vat_number": {"visibility": + "visible", "label": "VAT Number"}}}}, {"object": "CarrierType", "type": "LasershipV2Account", + "readable": "LaserShipV2", "logo": null, "fields": {"credentials": {"api_key": + {"visibility": "masked", "label": "LaserShipV2 API Key"}, "api_id": {"visibility": + "visible", "label": "LaserShipV2 API ID"}, "facility": {"visibility": "visible", + "label": "LaserShipV2 Customer Branch"}, "cargo_claim_value": {"visibility": + "visible", "label": "LaserShipV2 Cargo Insurance Claim Value (USD)"}, "is_reseller": + {"visibility": "checkbox", "label": "3PL Account? (check if yes)"}, "injection_location_type": + {"visibility": "visible", "label": "Injection Address Location Type (\"Business\" + or \"Residence\")"}, "injection_contact": {"visibility": "visible", "label": + "Injection Address Contact"}, "injection_organization": {"visibility": "visible", + "label": "Injection Address Organization"}, "injection_street1": {"visibility": + "visible", "label": "Injection Address Street1"}, "injection_street2": {"visibility": + "visible", "label": "Injection Address Street2"}, "injection_city": {"visibility": + "visible", "label": "Injection Address City"}, "injection_state": {"visibility": + "visible", "label": "Injection Address State"}, "injection_zip": {"visibility": + "visible", "label": "Injection Address Postal Code"}, "injection_country": + {"visibility": "visible", "label": "Injection Address Country Code"}, "injection_phone": + {"visibility": "visible", "label": "Injection Address Phone"}, "injection_phone_ext": + {"visibility": "visible", "label": "Injection Address Phone Extension"}, "injection_email": + {"visibility": "visible", "label": "Injection Address Email"}, "injection_instruction": + {"visibility": "visible", "label": "Injection Address Instruction"}, "injection_note": + {"visibility": "visible", "label": "Injection Address Note"}}}}, {"object": + "CarrierType", "type": "LoomisExpressAccount", "readable": "Loomis Express", + "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "Loomis Express Account Number"}, "username": {"visibility": + "visible", "label": "Loomis Express Username"}, "password": {"visibility": + "password", "label": "Loomis Express Password"}}, "test_credentials": {"account_number": + {"visibility": "visible", "label": "Test Loomis Express Account Number"}, + "username": {"visibility": "visible", "label": "Test Loomis Express Username"}, + "password": {"visibility": "password", "label": "Test Loomis Express Password"}}}}, + {"object": "CarrierType", "type": "LsoAccount", "readable": "LSO", "logo": + null, "fields": {"credentials": {"account_number": {"visibility": "visible", + "label": "LSO Production Account Number"}, "username": {"visibility": "visible", + "label": "LSO Production Username"}, "password": {"visibility": "password", + "label": "LSO Production Password"}}, "test_credentials": {"account_number": + {"visibility": "visible", "label": "LSO Test Account Number"}, "username": + {"visibility": "visible", "label": "LSO Test Username"}, "password": {"visibility": + "password", "label": "LSO Test Password"}}}}, {"object": "CarrierType", "type": + "NewgisticsAccount", "readable": "Newgistics", "logo": null, "fields": {"credentials": + {"client_id": {"visibility": "visible", "label": "Client ID"}, "client_secret": + {"visibility": "password", "label": "Client Secret"}, "client_facility_id": + {"visibility": "visible", "label": "Client Facility ID"}, "fulfiller_facility_id": + {"visibility": "visible", "label": "Newgistics Facility ID"}, "tracking_api_key": + {"visibility": "masked", "label": "Tracking API Key"}, "merchant_id": {"visibility": + "visible", "label": "Merchant ID"}}, "test_credentials": {"client_id": {"visibility": + "visible", "label": "Client ID"}, "client_secret": {"visibility": "password", + "label": "Client Secret"}, "client_facility_id": {"visibility": "visible", + "label": "Client Facility ID"}, "fulfiller_facility_id": {"visibility": "visible", + "label": "Newgistics Facility ID"}, "tracking_api_key": {"visibility": "masked", + "label": "Tracking API Key"}, "merchant_id": {"visibility": "visible", "label": + "Merchant ID"}}}}, {"object": "CarrierType", "type": "OmniParcelAccount", + "readable": "OmniParcel", "logo": null, "fields": {"credentials": {"api_access_key": + {"visibility": "masked", "label": "API Access Key"}, "return_api_access_key": + {"visibility": "masked", "label": "Return API Access Key"}}, "test_credentials": + {"api_access_key": {"visibility": "masked", "label": "Test API Access Key"}, + "return_api_access_key": {"visibility": "masked", "label": "Test Return API + Access Key"}}}}, {"object": "CarrierType", "type": "OntracAccount", "readable": + "OnTrac", "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "OnTrac Account Number"}, "password": {"visibility": "password", + "label": "OnTrac API Password"}}, "test_credentials": {"account_number": {"visibility": + "visible", "label": "OnTrac Test Account Number"}, "password": {"visibility": + "password", "label": "OnTrac Test API Password"}}}}, {"object": "CarrierType", + "type": "OptimaAccount", "readable": "Optima", "logo": null, "fields": {"credentials": + {"username": {"visibility": "visible", "label": "Optima username"}, "password": + {"visibility": "password", "label": "Optima password"}, "account_number": + {"visibility": "visible", "label": "Optima account number"}}, "test_credentials": + {"username": {"visibility": "visible", "label": "Test Optima username"}, "password": + {"visibility": "password", "label": "Test Optima password"}, "account_number": + {"visibility": "visible", "label": "Test Optima account number"}}}}, {"object": + "CarrierType", "type": "OsmWorldwideAccount", "readable": "OSM Worldwide", + "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "Account Number"}, "mailer_id": {"visibility": "visible", + "label": "Mailer ID"}, "facility_code": {"visibility": "visible", "label": + "Facility Code/Cost Center ID for manifesting (optional)"}, "company_name": + {"visibility": "visible", "label": "Company Name"}, "aws_sftp_username": {"visibility": + "visible", "label": "SFTP Username"}}}}, {"object": "CarrierType", "type": + "PandionAccount", "readable": "Pandion", "logo": null, "fields": {"credentials": + {"api_key": {"visibility": "masked", "label": "Prod Pandion API Key"}}, "test_credentials": + {"api_key": {"visibility": "masked", "label": "Test Pandion API Key"}}}}, + {"object": "CarrierType", "type": "ParcelForceAccount", "readable": "Parcel + Force", "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "Parcelforce Contract Number"}, "username": {"visibility": + "visible", "label": "expressLink API Username"}, "password": {"visibility": + "password", "label": "expressLink API Password"}, "department_id": {"visibility": + "visible", "label": "Department ID - not required"}}, "test_credentials": + {"account_number": {"visibility": "visible", "label": "Parcelforce Test Contract + Number"}, "username": {"visibility": "visible", "label": "Test expressLink + API Username"}, "password": {"visibility": "password", "label": "Test expressLink + API Password"}, "department_id": {"visibility": "visible", "label": "Test + Department ID - not required"}}}}, {"object": "CarrierType", "type": "ParcllAccount", + "readable": "Cirro E-Commerce", "logo": null, "fields": {"credentials": {"api_key": + {"visibility": "masked", "label": "Cirro E-Commerce API key"}, "user_id": + {"visibility": "visible", "label": "Cirro E-Commerce User Id"}, "origin_hub": + {"visibility": "select", "label": "Cirro E-Commerce Origin Hub"}}, "test_credentials": + {"api_key": {"visibility": "masked", "label": "Test Cirro E-Commerce API key"}, + "user_id": {"visibility": "visible", "label": "Test Cirro E-Commerce User + Id"}, "origin_hub": {"visibility": "select", "label": "Test Cirro E-Commerce + Origin Hub"}}}}, {"object": "CarrierType", "type": "PassportGlobalAccount", + "readable": "Passport Global", "logo": null, "fields": {"credentials": {"api_key": + {"visibility": "masked", "label": "Passport Global API key"}, "email": {"visibility": + "visible", "label": "Customer email address registered with Passport Global"}, + "name": {"visibility": "visible", "label": "Customer name registered with + Passport Global"}, "company_name": {"visibility": "visible", "label": "Customer + company name registered with Passport Global"}, "phone": {"visibility": "visible", + "label": "Customer phone number registered with Passport Global (optional)"}}, + "test_credentials": {"api_key": {"visibility": "masked", "label": "Passport + Global Test API key"}, "email": {"visibility": "visible", "label": "Customer + email address registered with Passport Global"}, "name": {"visibility": "visible", + "label": "Customer name registered with Passport Global"}, "company_name": + {"visibility": "visible", "label": "Customer company name registered with + Passport Global"}, "phone": {"visibility": "visible", "label": "Customer phone + number registered with Passport Global (optional)"}}}}, {"object": "CarrierType", + "type": "PurolatorAccount", "readable": "Purolator", "logo": null, "fields": + {"credentials": {"account_number": {"visibility": "visible", "label": "Purolator + Account Number"}, "api_key": {"visibility": "masked", "label": "Production + API Key"}, "password": {"visibility": "password", "label": "Production API + Key Password"}}}}, {"object": "CarrierType", "type": "RoyalMailAccount", "readable": + "Royal Mail", "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "Royal Mail Account Number"}, "username": {"visibility": + "visible", "label": "OBA Email Address"}, "posting_location_number": {"visibility": + "visible", "label": "Posting Location Number"}}}}, {"object": "CarrierType", + "type": "RRDonnelleyAccount", "readable": "ePost Global", "logo": null, "fields": + {"credentials": {"account_number": {"visibility": "visible", "label": "ePostGlobal + Account Number"}}}}, {"object": "CarrierType", "type": "SendleAccount", "readable": + "Sendle", "logo": null, "fields": {"credentials": {"api_key": {"visibility": + "masked", "label": "Sendle API Key"}, "user_id": {"visibility": "visible", + "label": "Sendle ID"}}, "test_credentials": {"api_key": {"visibility": "masked", + "label": "Sendle Sandbox API Key"}, "user_id": {"visibility": "visible", "label": + "Sendle Sandbox ID"}}}}, {"object": "CarrierType", "type": "SfExpressAccount", + "readable": "SF Express", "logo": null, "fields": {"credentials": {"checkword": + {"visibility": "visible", "label": "SF Express checkword"}, "customer_code": + {"visibility": "visible", "label": "SF Express customer code"}, "customer_id": + {"visibility": "visible", "label": "SF Express customer id"}}, "test_credentials": + {"checkword": {"visibility": "visible", "label": "Test SF Express checkword"}, + "customer_code": {"visibility": "visible", "label": "Test SF Express customer + code"}, "customer_id": {"visibility": "visible", "label": "Test SF Express + customer id"}}}}, {"object": "CarrierType", "type": "SmartKargoAccount", "readable": + "SmartKargo", "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "SmartKargo account number"}}, "test_credentials": {"account_number": + {"visibility": "visible", "label": "Test SmartKargo account number"}}}}, {"object": + "CarrierType", "type": "SonicAccount", "readable": "Sonic", "logo": null, + "fields": {"credentials": {"username": {"visibility": "visible", "label": + "Sonic username"}, "password": {"visibility": "password", "label": "Sonic + password"}, "account_number": {"visibility": "visible", "label": "Sonic account + number"}}, "test_credentials": {"username": {"visibility": "visible", "label": + "Test Sonic username"}, "password": {"visibility": "password", "label": "Test + Sonic password"}, "account_number": {"visibility": "visible", "label": "Test + Sonic account number"}}}}, {"object": "CarrierType", "type": "SpeedeeAccount", + "readable": "Spee-Dee", "logo": null, "fields": {"credentials": {"account_number": + {"visibility": "visible", "label": "Spee-Dee Account Number"}}}}, {"object": + "CarrierType", "type": "SwyftAccount", "readable": "Swyft", "logo": null, + "fields": {"credentials": {"password": {"visibility": "password", "label": + "Swyft API Key"}}, "test_credentials": {"password": {"visibility": "password", + "label": "Test Swyft API Key"}}}}, {"object": "CarrierType", "type": "TforceConciseAccount", + "readable": "TForce", "logo": null, "fields": {"credentials": {"username": + {"visibility": "visible", "label": "TForce Username"}, "password": {"visibility": + "password", "label": "TForce Password"}, "account_number": {"visibility": + "visible", "label": "TForce Account Number"}}, "test_credentials": {"username": + {"visibility": "visible", "label": "Test TForce Username"}, "password": {"visibility": + "password", "label": "Test TForce Password"}, "account_number": {"visibility": + "visible", "label": "Test TForce Account Number"}}}}, {"object": "CarrierType", + "type": "TollAccount", "readable": "Toll", "logo": null, "fields": {"credentials": + {"account_number": {"visibility": "visible", "label": "Toll Account Number"}, + "business_unit": {"visibility": "visible", "label": "Toll Business Unit (Ex. + IPEC)"}, "source_system_code": {"visibility": "visible", "label": "Toll Source + System Code"}}, "test_credentials": {"account_number": {"visibility": "visible", + "label": "Toll Test Account Number"}, "business_unit": {"visibility": "visible", + "label": "Toll Business Unit (Ex. IPEC)"}, "source_system_code": {"visibility": + "visible", "label": "Toll Test Source System Code"}}}}, {"object": "CarrierType", + "type": "UdsAccount", "readable": "UDS", "logo": null, "fields": {"credentials": + {"ftp_username": {"visibility": "visible", "label": "FTP Username"}, "ftp_password": + {"visibility": "password", "label": "FTP Password"}}}}, {"object": "CarrierType", + "type": "UpsAccount", "readable": "UPS", "logo": null, "fields": {"credentials": + {"access_license_number": {"visibility": "invisible", "label": "UPS Access + License Number"}, "account_number": {"visibility": "readonly", "label": "UPS + Account Number"}, "user_id": {"visibility": "invisible", "label": "UPS.com + User ID"}, "password": {"visibility": "invisible", "label": "UPS.com Password"}}, + "creation_fields": {"registration_data": {"account_number": {"label": "UPS + Account Number", "visibility": "visible"}, "client_ip": {"label": "Client + IP", "visibility": "invisible"}, "name": {"label": "Company Contact Name", + "visibility": "visible"}, "title": {"label": "Company Contact Job Title", + "visibility": "visible"}, "company": {"label": "Company Name", "visibility": + "visible"}, "phone": {"label": "Company Phone", "visibility": "visible"}, + "email": {"label": "Company Email", "visibility": "visible"}, "website": {"label": + "Company Website", "visibility": "visible"}, "street1": {"label": "Shipping + Street 1", "visibility": "visible"}, "street2": {"label": "Shipping Street + 2", "visibility": "visible"}, "city": {"label": "Shipping City", "visibility": + "visible"}, "state": {"label": "Shipping State", "visibility": "visible"}, + "postal_code": {"label": "Shipping Postal Code", "visibility": "visible"}, + "country": {"label": "Shipping Country", "visibility": "visible"}, "invoice_number": + {"label": "UPS Invoice Number", "visibility": "visible"}, "invoice_date": + {"label": "UPS Invoice Date", "visibility": "visible"}, "invoice_amount": + {"label": "UPS Invoice Amount", "visibility": "visible"}, "invoice_currency": + {"label": "UPS Invoice Currency", "visibility": "visible"}, "invoice_control_id": + {"label": "UPS Invoice Control ID", "visibility": "visible"}}}, "custom_workflow": + true}}, {"object": "CarrierType", "type": "UpsIparcelAccount", "readable": + "UPS i-Parcel", "logo": null, "fields": {"credentials": {"api_key": {"visibility": + "masked", "label": "i-Parcel API key"}}}}, {"object": "CarrierType", "type": + "UpsMailInnovationsAccount", "readable": "UPS Mail Innovations", "logo": null, + "fields": {"credentials": {"account_number": {"visibility": "visible", "label": + "UPS Shipper Number"}, "user_id": {"visibility": "visible", "label": "UPS.com + User ID"}, "password": {"visibility": "password", "label": "UPS.com Password"}, + "customer_id": {"visibility": "visible", "label": "UPS customer id (optional)"}, + "customer_guid": {"visibility": "visible", "label": "UPS customer GUID (optional)"}}}}, + {"object": "CarrierType", "type": "UspsAccount", "readable": "USPS", "logo": + null, "fields": {"credentials": {"company_name": {"visibility": "visible", + "label": "Account Holder Name"}, "address_street": {"visibility": "visible", + "label": "Street Address"}, "address_city": {"visibility": "visible", "label": + "City"}, "address_state": {"visibility": "visible", "label": "State"}, "address_zip": + {"visibility": "visible", "label": "ZIP Code"}, "phone": {"visibility": "visible", + "label": "Phone Number"}, "email": {"visibility": "visible", "label": "Email + Address"}, "shipper_id": {"visibility": "visible", "label": "Shipper Identifier + (Optional)"}}}}, {"object": "CarrierType", "type": "VehoAccount", "readable": + "Veho", "logo": null, "fields": {"credentials": {"api_key": {"visibility": + "masked", "label": "Veho Production API Key"}}, "test_credentials": {"api_key": + {"visibility": "masked", "label": "Veho Test API Key"}}}}, {"object": "CarrierType", + "type": "XDeliveryAccount", "readable": "Maergo", "logo": null, "fields": + {"credentials": {"username": {"visibility": "visible", "label": "Maergo Username"}, + "password": {"visibility": "password", "label": "Maergo Password"}}, "test_credentials": + {"username": {"visibility": "visible", "label": "Test Maergo Username"}, "password": + {"visibility": "password", "label": "Test Maergo Password"}}}}]' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '38432' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaec5ae78b9b64000cd03f + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.030665' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/carrier_types + response: + body: + string: '[{"object": "CarrierType", "type": "AmazonMwsAccount", "readable": + "Amazon MWS", "logo": null, "fields": {"credentials": {"access_key_id": {"visibility": + "visible", "label": "AWS Access Key ID"}, "secret_key": {"visibility": "password", + "label": "Secret Key"}, "merchant_id": {"visibility": "visible", "label": + "Seller ID"}}}}, {"object": "CarrierType", "type": "ApcAccount", "readable": + "APC", "logo": null, "fields": {"credentials": {"shipper_id": {"visibility": + "visible", "label": "APC Shipper ID"}, "password": {"visibility": "password", + "label": "APC Password"}, "facility": {"visibility": "visible", "label": "APC + Facility (e.g., NJ, LA)"}}}}, {"object": "CarrierType", "type": "AsendiaUsaAccount", + "readable": "Asendia USA", "logo": null, "fields": {"credentials": {"account_number": + {"visibility": "visible", "label": "AsendiaUsa Account Number"}, "sub_account_number": + {"visibility": "visible", "label": "AsendiaUsa Sub Account Number"}, "username": + {"visibility": "visible", "label": "AsendiaUsa Username"}, "password": {"visibility": + "password", "label": "AsendiaUsa Password"}, "api_key": {"visibility": "masked", + "label": "AsendiaUsa API key"}, "carrier_facility": {"visibility": "select", + "label": "AsendiaUsa Carrier Facility / Processing Location (Optional)"}}, + "test_credentials": {"account_number": {"visibility": "visible", "label": + "Test AsendiaUsa Account Number"}, "sub_account_number": {"visibility": "visible", + "label": "Test AsendiaUsa Sub Account Number"}, "username": {"visibility": + "visible", "label": "Test AsendiaUsa Username"}, "password": {"visibility": + "password", "label": "Test AsendiaUsa Password"}, "api_key": {"visibility": + "masked", "label": "Test AsendiaUsa API key"}, "carrier_facility": {"visibility": + "select", "label": "Test AsendiaUsa Carrier Facility / Processing Location + (Optional)"}}}}, {"object": "CarrierType", "type": "AustraliaPostAccount", + "readable": "Australia Post", "logo": null, "fields": {"credentials": {"account_number": + {"visibility": "visible", "label": "Australia Post Account Number"}, "api_key": + {"visibility": "masked", "label": "Australia Post API Key"}, "api_secret": + {"visibility": "password", "label": "Australia Post Secret Key"}, "print_as_you_go": + {"visibility": "checkbox", "label": "Print as you go"}}, "test_credentials": + {"account_number": {"visibility": "visible", "label": "Australia Post Test + Account Number"}, "api_key": {"visibility": "masked", "label": "Australia + Post Test API Key"}, "api_secret": {"visibility": "password", "label": "Australia + Post Test Secret Key"}, "print_as_you_go": {"visibility": "checkbox", "label": + "Print as you go"}}}}, {"object": "CarrierType", "type": "AxlehireV3Account", + "readable": "AxlehireV3", "logo": null, "fields": {"credentials": {"api_key": + {"visibility": "masked", "label": "Client Secret"}}, "test_credentials": {"api_key": + {"visibility": "masked", "label": "Client Secret"}}}}, {"object": "CarrierType", + "type": "BetterTrucksAccount", "readable": "Better Trucks", "logo": null, + "fields": {"credentials": {"api_key": {"visibility": "masked", "label": "Better + Trucks API key"}}, "test_credentials": {"api_key": {"visibility": "masked", + "label": "Test Better Trucks API key"}}}}, {"object": "CarrierType", "type": + "CanadaPostAccount", "readable": "Canada Post", "logo": null, "fields": {"credentials": + {"api_key": {"visibility": "masked", "label": "CanadaPost API Key"}, "contract_id": + {"visibility": "visible", "label": "CanadaPost Contract ID (contract customers + only)"}, "customer_number": {"visibility": "visible", "label": "CanadaPost + Customer Number"}, "has_credit_card": {"visibility": "checkbox", "label": + "CanadaPost account has credit card?"}, "not_platform": {"visibility": "invisible", + "label": "CanadaPost account not registered through platform?"}}, "test_credentials": + {"api_key": {"visibility": "masked", "label": "CanadaPost Test API Key"}, + "contract_id": {"visibility": "visible", "label": "CanadaPost Test Contract + ID (contract customers only)"}, "customer_number": {"visibility": "visible", + "label": "CanadaPost Test Customer Number"}, "has_credit_card": {"visibility": + "checkbox", "label": "CanadaPost Test account has credit card?"}, "not_platform": + {"visibility": "invisible", "label": "CanadaPost Test account not registered + through platform?"}}, "custom_workflow": true}}, {"object": "CarrierType", + "type": "CanparAccount", "readable": "Canpar", "logo": null, "fields": {"credentials": + {"account_number": {"visibility": "visible", "label": "Canpar Account Number"}, + "username": {"visibility": "visible", "label": "Canpar Username"}, "password": + {"visibility": "password", "label": "Canpar Password"}}, "test_credentials": + {"account_number": {"visibility": "visible", "label": "Test Canpar Account + Number"}, "username": {"visibility": "visible", "label": "Test Canpar Username"}, + "password": {"visibility": "password", "label": "Test Canpar Password"}}}}, + {"object": "CarrierType", "type": "ColumbusLastMileAccount", "readable": "CDL + Last Mile Solutions", "logo": null, "fields": {"credentials": {"username": + {"visibility": "visible", "label": "CDL Last Mile Solutions customer username"}, + "password": {"visibility": "password", "label": "CDL Last Mile Solutions customer + password"}, "tracking_code_prefix": {"visibility": "visible", "label": "CDL + Last Mile Solutions tracking code prefix"}}, "test_credentials": {"username": + {"visibility": "visible", "label": "CDL Last Mile Solutions customer test + username"}, "password": {"visibility": "password", "label": "CDL Last Mile + Solutions customer test password"}, "tracking_code_prefix": {"visibility": + "visible", "label": "CDL Last Mile Solutions tracking code prefix"}}}}, {"object": + "CarrierType", "type": "CourierExpressAccount", "readable": "Courier Express", + "logo": null, "fields": {"credentials": {"api_key": {"visibility": "masked", + "label": "Courier Express API key"}, "shipper_id": {"visibility": "visible", + "label": "Courier Express shipper ID"}}, "test_credentials": {"api_key": {"visibility": + "masked", "label": "Test Courier Express API key"}, "shipper_id": {"visibility": + "visible", "label": "Test Courier Express shipper ID"}}}}, {"object": "CarrierType", + "type": "CouriersPleaseAccount", "readable": "CouriersPlease", "logo": null, + "fields": {"credentials": {"username": {"visibility": "visible", "label": + "Account Number"}, "password": {"visibility": "password", "label": "Password"}}, + "test_credentials": {"username": {"visibility": "visible", "label": "Account + Number"}, "password": {"visibility": "password", "label": "Password"}}}}, + {"object": "CarrierType", "type": "DaiPostAccount", "readable": "Dai Post", + "logo": null, "fields": {"credentials": {"username": {"visibility": "visible", + "label": " Dai Post customer username"}, "password": {"visibility": "password", + "label": " Dai Post client secret"}, "origin_terminal": {"visibility": "visible", + "label": " Dai Post default origin terminal"}, "account_code": {"visibility": + "visible", "label": " 3-letter account code for customers with multiple accounts"}}}}, + {"object": "CarrierType", "type": "DeliverItAccount", "readable": "Deliver-It", + "logo": null, "fields": {"credentials": {"username": {"visibility": "visible", + "label": "Deliver-It Username"}, "password": {"visibility": "password", "label": + "Deliver-It Password"}, "account_number": {"visibility": "visible", "label": + "Deliver-It Account Number"}}, "test_credentials": {"username": {"visibility": + "visible", "label": "Test Deliver-It Username"}, "password": {"visibility": + "password", "label": "Test Deliver-It Password"}, "account_number": {"visibility": + "visible", "label": "Test Deliver-It Account Number"}}}}, {"object": "CarrierType", + "type": "DeutschePostUKAccount", "readable": "Deutsche Post UK", "logo": null, + "fields": {"credentials": {"client_id": {"visibility": "visible", "label": + "Deutsche Post UK Client ID"}, "client_secret": {"visibility": "password", + "label": "Deutsche Post UK Secret"}, "account_number": {"visibility": "visible", + "label": "Deutsche Post UK Account Number"}}, "test_credentials": {"client_id": + {"visibility": "visible", "label": "Test Deutsche Post UK Client ID"}, "client_secret": + {"visibility": "password", "label": "Test Deutsche Post UK Secret"}, "account_number": + {"visibility": "visible", "label": "Test Deutsche Post UK Account Number"}}}}, + {"object": "CarrierType", "type": "DhlEcommerceAsiaAccount", "readable": "DHL + Ecommerce Asia", "logo": null, "fields": {"credentials": {"account_number": + {"visibility": "visible", "label": "DHL Ecommerce Asia Account Number"}, "client_id": + {"visibility": "visible", "label": "DHL Ecommerce Asia Contract Number"}, + "password": {"visibility": "password", "label": "DHL Ecommerce Asia Password"}, + "barcode_prefix": {"visibility": "visible", "label": "DHL Ecommerce Asia Customer + ID"}}, "test_credentials": {"account_number": {"visibility": "visible", "label": + "Test DHL Ecommerce Asia Account Number"}, "client_id": {"visibility": "visible", + "label": "Test DHL Ecommerce Asia Contract Number"}, "password": {"visibility": + "password", "label": "Test DHL Ecommerce Asia Password"}, "barcode_prefix": + {"visibility": "visible", "label": "Test DHL Ecommerce Asia Customer ID"}}}}, + {"object": "CarrierType", "type": "DhlEcsAccount", "readable": "DHL eCommerce + Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions client ID"}, "client_secret": + {"visibility": "password", "label": "DHL eCommerce Solutions client secret"}, + "pickup_id": {"visibility": "visible", "label": "DHL eCommerce Solutions pickup + ID"}, "distribution_center": {"visibility": "visible", "label": "DHL eCommerce + Solutions distribution center"}}, "test_credentials": {"client_id": {"visibility": + "visible", "label": "Test DHL eCommerce Solutions client ID"}, "client_secret": + {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret"}, + "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions + pickup ID"}, "distribution_center": {"visibility": "visible", "label": "Test + DHL eCommerce Solutions distribution center"}}}}, {"object": "CarrierType", + "type": "DhlExpressAccount", "readable": "DHL Express", "logo": null, "fields": + {"credentials": {"account_number": {"visibility": "visible", "label": "DHL + Account Number"}, "country": {"visibility": "visible", "label": "Account Country + Code (2 Letter)"}, "site_id": {"visibility": "visible", "label": "Site ID + (Optional)"}, "password": {"visibility": "password", "label": "Password (Optional)"}, + "is_reseller": {"visibility": "checkbox", "label": "Reseller Account? (check + if yes)"}}}}, {"object": "CarrierType", "type": "DhlPaketAccount", "readable": + "DHL Paket", "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "DHL Paket Account Number (EKP)"}, "contract_id": {"visibility": + "visible", "label": "DHL Paket Contract Participation Value"}, "cig_username": + {"visibility": "visible", "label": "DHL Paket CIG Username"}, "cig_password": + {"visibility": "password", "label": "DHL Paket CIG Password"}, "tnt_username": + {"visibility": "visible", "label": "DHL Paket TNT Username (if applicable)"}, + "tnt_password": {"visibility": "password", "label": "DHL Paket TNT Password + (if applicable)"}, "retoure_username": {"visibility": "visible", "label": + "DHL Paket Retoure Username (if applicable)"}, "retoure_password": {"visibility": + "password", "label": "DHL Paket Retoure Password (if applicable)"}}, "test_credentials": + {"account_number": {"visibility": "visible", "label": "Test DHL Paket Account + Number (EKP)"}, "contract_id": {"visibility": "visible", "label": "Test DHL + Paket Contract Participation Value"}, "cig_username": {"visibility": "visible", + "label": " Test DHL Paket CIG Username"}, "cig_password": {"visibility": "password", + "label": "Test DHL Paket CIG Password"}, "tnt_username": {"visibility": "visible", + "label": "Test DHL Paket TNT Username (if applicable)"}, "tnt_password": {"visibility": + "password", "label": "Test DHL Paket TNT Password (if applicable)"}, "retoure_username": + {"visibility": "visible", "label": "Test DHL Paket Retoure Username (if applicable)"}, + "retoure_password": {"visibility": "password", "label": "Test DHL Paket Retoure + Password (if applicable)"}}}}, {"object": "CarrierType", "type": "DhlParcelAccount", + "readable": "DHL Parcel", "logo": null, "fields": {"credentials": {"user_id": + {"visibility": "visible", "label": "DHL Parcel User ID"}, "api_key": {"visibility": + "masked", "label": "DHL Parcel API Key"}, "account_number": {"visibility": + "visible", "label": "DHL Parcel Account Number"}}, "test_credentials": {"user_id": + {"visibility": "visible", "label": "DHL Parcel User ID"}, "api_key": {"visibility": + "masked", "label": "DHL Parcel API Key"}, "account_number": {"visibility": + "visible", "label": "DHL Parcel Account Number"}}}}, {"object": "CarrierType", + "type": "DpdAccount", "readable": "DPD", "logo": null, "fields": {"credentials": + {"username": {"visibility": "visible", "label": "WebConnect Username"}, "password": + {"visibility": "password", "label": "WebConnect Password"}, "customer_number": + {"visibility": "visible", "label": "DPD Customer Number"}}, "test_credentials": + {"username": {"visibility": "visible", "label": "Test WebConnect Username"}, + "password": {"visibility": "password", "label": "Test WebConnect Password"}, + "customer_number": {"visibility": "visible", "label": "DPD Customer Number"}}}}, + {"object": "CarrierType", "type": "DpdUkAccount", "readable": "DPD UK", "logo": + null, "fields": {"credentials": {"account_number": {"visibility": "visible", + "label": "DPD UK Account Number"}, "username": {"visibility": "visible", "label": + "DPD UK Username"}, "password": {"visibility": "password", "label": "DPD UK + Password"}}}}, {"object": "CarrierType", "type": "DpdNlAccount", "readable": + "DPD NL", "logo": null, "fields": {"credentials": {"username": {"visibility": + "visible", "label": "Delis ID"}, "password": {"visibility": "password", "label": + "Password"}}, "test_credentials": {"username": {"visibility": "visible", "label": + "Test Delis ID"}, "password": {"visibility": "password", "label": "Test Password"}}}}, + {"object": "CarrierType", "type": "EstafetaAccount", "readable": "Estafeta", + "logo": null, "fields": {"credentials": {"customer_id": {"visibility": "visible", + "label": "Subscriber ID"}, "username": {"visibility": "visible", "label": + "Login"}, "password": {"visibility": "password", "label": "Password"}, "client_id": + {"visibility": "visible", "label": "Tracking Subscriber ID"}, "user_id": {"visibility": + "visible", "label": "Tracking Login"}, "secret_key": {"visibility": "password", + "label": "Tracking Password"}, "customer_number": {"visibility": "visible", + "label": "Customer Number"}, "hub_id": {"visibility": "visible", "label": + "Office Number"}}, "test_credentials": {"customer_id": {"visibility": "visible", + "label": "Test Subscriber ID"}, "username": {"visibility": "visible", "label": + "Test Login"}, "password": {"visibility": "password", "label": "Test Password"}, + "client_id": {"visibility": "visible", "label": "Test Tracking Subscriber + ID"}, "user_id": {"visibility": "visible", "label": "Test Tracking Login"}, + "secret_key": {"visibility": "password", "label": "Test Tracking Password"}, + "customer_number": {"visibility": "visible", "label": "Test Customer Number"}, + "hub_id": {"visibility": "visible", "label": "Test Office Number"}}}}, {"object": + "CarrierType", "type": "FastwayAccount", "readable": "Fastway", "logo": null, + "fields": {"credentials": {"api_key": {"visibility": "masked", "label": "API + Key"}}}}, {"object": "CarrierType", "type": "FedexAccount", "readable": "FedEx", + "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "readonly", "label": "FedEx Account Number"}, "meter_number": {"visibility": + "invisible", "label": "FedEx Production Meter Number"}, "key": {"visibility": + "invisible", "label": "FedEx Production Authentication Key"}, "password": + {"visibility": "invisible", "label": "FedEx Production Password"}}, "test_credentials": + {"account_number": {"visibility": "readonly", "label": "FedEx Account Number"}, + "meter_number": {"visibility": "invisible", "label": "FedEx Test Meter Number"}, + "key": {"visibility": "invisible", "label": "FedEx Developer Test Key"}, "password": + {"visibility": "invisible", "label": "FedEx Test Password"}}, "creation_fields": + {"credential_information": {"account_number": {"label": "FedEx Account #", + "visibility": "visible"}}, "company_information": {"corporate_first_name": + {"label": "Company Contact First Name", "visibility": "visible"}, "corporate_last_name": + {"label": "Company Contact Last Name", "visibility": "visible"}, "corporate_job_title": + {"label": "Company Contact Job Title", "visibility": "visible"}, "corporate_company_name": + {"label": "Company Name", "visibility": "visible"}, "corporate_phone_number": + {"label": "Company Phone", "visibility": "visible"}, "corporate_email_address": + {"label": "Company Email", "visibility": "visible"}, "corporate_streets": + {"label": "Company Street", "visibility": "visible"}, "corporate_city": {"label": + "Company City", "visibility": "visible"}, "corporate_state": {"label": "Company + State", "visibility": "visible"}, "corporate_postal_code": {"label": "Company + Postal Code", "visibility": "visible"}, "corporate_country_code": {"label": + "Company Country Code", "visibility": "visible"}}, "address_information": + {"shipping_streets": {"label": "Shipping Street", "visibility": "visible"}, + "shipping_city": {"label": "Shipping City", "visibility": "visible"}, "shipping_state": + {"label": "Shipping State", "visibility": "visible"}, "shipping_postal_code": + {"label": "Shipping Postal Code ", "visibility": "visible"}, "shipping_country_code": + {"label": "Shipping Country Code", "visibility": "visible"}}}, "custom_workflow": + true}}, {"object": "CarrierType", "type": "FedexCrossBorderAccount", "readable": + "FedEx Cross Border", "logo": null, "fields": {"credentials": {"api_key": + {"visibility": "masked", "label": "FedEx Cross Border API key"}, "origin_hub": + {"visibility": "select", "label": "FedEx Cross Border Origin Hub"}}, "test_credentials": + {"api_key": {"visibility": "masked", "label": "Test FedEx Cross Border API + key"}, "origin_hub": {"visibility": "select", "label": "Test FedEx Cross Border + Origin Hub"}}}}, {"object": "CarrierType", "type": "FedexMailviewAccount", + "readable": "FedEx MailView", "logo": null, "fields": {"credentials": {"customer_id": + {"visibility": "visible", "label": "Customer Code"}, "service_id": {"visibility": + "password", "label": "Service ID"}, "fimspremium": {"visibility": "checkbox", + "label": "FIMS Premium"}, "fimsstandard": {"visibility": "checkbox", "label": + "FIMS Standard"}, "mailviewpremium": {"visibility": "checkbox", "label": "MailView + Premium"}, "mailviewlight": {"visibility": "checkbox", "label": "MailView + Light"}}}}, {"object": "CarrierType", "type": "FedexSmartpostAccount", "readable": + "FedEx SmartPost", "logo": null, "fields": {"credentials": {"account_number": + {"visibility": "visible", "label": "FedEx SmartPost Account Number"}, "hub_id": + {"visibility": "visible", "label": "FedEx SmartPost HubID"}, "meter_number": + {"visibility": "visible", "label": "Fedex SmartPost Meter Number"}, "key": + {"visibility": "masked", "label": "FedEx SmartPost Access Key"}, "password": + {"visibility": "password", "label": "SmartPost Access Key Password"}}, "creation_fields": + {"credential_information": {"account_number": {"label": "FedEx SmartPost Account + #", "visibility": "visible"}, "hub_id": {"label": "FedEx SmartPost Hub ID", + "visibility": "visible"}}, "company_information": {"corporate_first_name": + {"label": "Company Contact First Name", "visibility": "visible"}, "corporate_last_name": + {"label": "Company Contact Last Name", "visibility": "visible"}, "corporate_job_title": + {"label": "Company Contact Job Title", "visibility": "visible"}, "corporate_company_name": + {"label": "Company Name", "visibility": "visible"}, "corporate_phone_number": + {"label": "Company Phone", "visibility": "visible"}, "corporate_email_address": + {"label": "Company Email", "visibility": "visible"}, "corporate_streets": + {"label": "Company Street", "visibility": "visible"}, "corporate_city": {"label": + "Company City", "visibility": "visible"}, "corporate_state": {"label": "Company + State", "visibility": "visible"}, "corporate_postal_code": {"label": "Company + Postal Code", "visibility": "visible"}, "corporate_country_code": {"label": + "Company Country Code", "visibility": "visible"}}, "address_information": + {"shipping_streets": {"label": "Shipping Street", "visibility": "visible"}, + "shipping_city": {"label": "Shipping City", "visibility": "visible"}, "shipping_state": + {"label": "Shipping State", "visibility": "visible"}, "shipping_postal_code": + {"label": "Shipping Postal Code ", "visibility": "visible"}, "shipping_country_code": + {"label": "Shipping Country Code", "visibility": "visible"}}}, "custom_workflow": + true}}, {"object": "CarrierType", "type": "FirstMileConciseAccount", "readable": + "First Mile", "logo": null, "fields": {"credentials": {"username": {"visibility": + "visible", "label": "FirstMile Username"}, "password": {"visibility": "password", + "label": "FirsMile Password"}, "account_number": {"visibility": "visible", + "label": "FirstMile Account Number"}}, "test_credentials": {"username": {"visibility": + "visible", "label": "Test FirstMile Username"}, "password": {"visibility": + "password", "label": "Test FirstMile Password"}, "account_number": {"visibility": + "visible", "label": "Test FirstMile Account Number"}}}}, {"object": "CarrierType", + "type": "FlexportAccount", "readable": "Flexport", "logo": null, "fields": + {"credentials": {"api_key": {"visibility": "masked", "label": "Flexport Account + API Key"}}}}, {"object": "CarrierType", "type": "GsoAccount", "readable": + "GSO", "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "GSO Account Number"}, "username": {"visibility": "visible", + "label": "Username"}, "password": {"visibility": "password", "label": "Password"}}}}, + {"object": "CarrierType", "type": "HailifyAccount", "readable": "Hailify", + "logo": null, "fields": {"credentials": {"partner_id": {"visibility": "visible", + "label": "Hailify Partner ID"}}, "test_credentials": {"partner_id": {"visibility": + "visible", "label": "Test Hailify Partner ID"}}}}, {"object": "CarrierType", + "type": "HermesAccount", "readable": "Evri", "logo": null, "fields": {"credentials": + {"username": {"visibility": "visible", "label": "Evri Username"}, "password": + {"visibility": "password", "label": "Evri Password"}, "client_id": {"visibility": + "visible", "label": "Evri Client ID"}, "auth_id": {"visibility": "visible", + "label": "Evri Auth ID"}, "auth_secret": {"visibility": "password", "label": + "Evri Auth Secret"}, "client_name": {"visibility": "visible", "label": "Evri + Client name"}, "group_id": {"visibility": "visible", "label": "Evri Group + ID"}, "client_licence": {"visibility": "masked", "label": "Evri Client License"}, + "api_key": {"visibility": "masked", "label": "Evri API Key"}}}}, {"object": + "CarrierType", "type": "InterlinkExpressAccount", "readable": "Interlink Express", + "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "Interlink Express Account Number"}, "username": {"visibility": + "visible", "label": "Interlink Express Username"}, "password": {"visibility": + "password", "label": "Interlink Express Password"}, "vat_number": {"visibility": + "visible", "label": "VAT Number"}}}}, {"object": "CarrierType", "type": "LasershipV2Account", + "readable": "LaserShipV2", "logo": null, "fields": {"credentials": {"api_key": + {"visibility": "masked", "label": "LaserShipV2 API Key"}, "api_id": {"visibility": + "visible", "label": "LaserShipV2 API ID"}, "facility": {"visibility": "visible", + "label": "LaserShipV2 Customer Branch"}, "cargo_claim_value": {"visibility": + "visible", "label": "LaserShipV2 Cargo Insurance Claim Value (USD)"}, "is_reseller": + {"visibility": "checkbox", "label": "3PL Account? (check if yes)"}, "injection_location_type": + {"visibility": "visible", "label": "Injection Address Location Type (\"Business\" + or \"Residence\")"}, "injection_contact": {"visibility": "visible", "label": + "Injection Address Contact"}, "injection_organization": {"visibility": "visible", + "label": "Injection Address Organization"}, "injection_street1": {"visibility": + "visible", "label": "Injection Address Street1"}, "injection_street2": {"visibility": + "visible", "label": "Injection Address Street2"}, "injection_city": {"visibility": + "visible", "label": "Injection Address City"}, "injection_state": {"visibility": + "visible", "label": "Injection Address State"}, "injection_zip": {"visibility": + "visible", "label": "Injection Address Postal Code"}, "injection_country": + {"visibility": "visible", "label": "Injection Address Country Code"}, "injection_phone": + {"visibility": "visible", "label": "Injection Address Phone"}, "injection_phone_ext": + {"visibility": "visible", "label": "Injection Address Phone Extension"}, "injection_email": + {"visibility": "visible", "label": "Injection Address Email"}, "injection_instruction": + {"visibility": "visible", "label": "Injection Address Instruction"}, "injection_note": + {"visibility": "visible", "label": "Injection Address Note"}}}}, {"object": + "CarrierType", "type": "LoomisExpressAccount", "readable": "Loomis Express", + "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "Loomis Express Account Number"}, "username": {"visibility": + "visible", "label": "Loomis Express Username"}, "password": {"visibility": + "password", "label": "Loomis Express Password"}}, "test_credentials": {"account_number": + {"visibility": "visible", "label": "Test Loomis Express Account Number"}, + "username": {"visibility": "visible", "label": "Test Loomis Express Username"}, + "password": {"visibility": "password", "label": "Test Loomis Express Password"}}}}, + {"object": "CarrierType", "type": "LsoAccount", "readable": "LSO", "logo": + null, "fields": {"credentials": {"account_number": {"visibility": "visible", + "label": "LSO Production Account Number"}, "username": {"visibility": "visible", + "label": "LSO Production Username"}, "password": {"visibility": "password", + "label": "LSO Production Password"}}, "test_credentials": {"account_number": + {"visibility": "visible", "label": "LSO Test Account Number"}, "username": + {"visibility": "visible", "label": "LSO Test Username"}, "password": {"visibility": + "password", "label": "LSO Test Password"}}}}, {"object": "CarrierType", "type": + "NewgisticsAccount", "readable": "Newgistics", "logo": null, "fields": {"credentials": + {"client_id": {"visibility": "visible", "label": "Client ID"}, "client_secret": + {"visibility": "password", "label": "Client Secret"}, "client_facility_id": + {"visibility": "visible", "label": "Client Facility ID"}, "fulfiller_facility_id": + {"visibility": "visible", "label": "Newgistics Facility ID"}, "tracking_api_key": + {"visibility": "masked", "label": "Tracking API Key"}, "merchant_id": {"visibility": + "visible", "label": "Merchant ID"}}, "test_credentials": {"client_id": {"visibility": + "visible", "label": "Client ID"}, "client_secret": {"visibility": "password", + "label": "Client Secret"}, "client_facility_id": {"visibility": "visible", + "label": "Client Facility ID"}, "fulfiller_facility_id": {"visibility": "visible", + "label": "Newgistics Facility ID"}, "tracking_api_key": {"visibility": "masked", + "label": "Tracking API Key"}, "merchant_id": {"visibility": "visible", "label": + "Merchant ID"}}}}, {"object": "CarrierType", "type": "OmniParcelAccount", + "readable": "OmniParcel", "logo": null, "fields": {"credentials": {"api_access_key": + {"visibility": "masked", "label": "API Access Key"}, "return_api_access_key": + {"visibility": "masked", "label": "Return API Access Key"}}, "test_credentials": + {"api_access_key": {"visibility": "masked", "label": "Test API Access Key"}, + "return_api_access_key": {"visibility": "masked", "label": "Test Return API + Access Key"}}}}, {"object": "CarrierType", "type": "OntracAccount", "readable": + "OnTrac", "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "OnTrac Account Number"}, "password": {"visibility": "password", + "label": "OnTrac API Password"}}, "test_credentials": {"account_number": {"visibility": + "visible", "label": "OnTrac Test Account Number"}, "password": {"visibility": + "password", "label": "OnTrac Test API Password"}}}}, {"object": "CarrierType", + "type": "OptimaAccount", "readable": "Optima", "logo": null, "fields": {"credentials": + {"username": {"visibility": "visible", "label": "Optima username"}, "password": + {"visibility": "password", "label": "Optima password"}, "account_number": + {"visibility": "visible", "label": "Optima account number"}}, "test_credentials": + {"username": {"visibility": "visible", "label": "Test Optima username"}, "password": + {"visibility": "password", "label": "Test Optima password"}, "account_number": + {"visibility": "visible", "label": "Test Optima account number"}}}}, {"object": + "CarrierType", "type": "OsmWorldwideAccount", "readable": "OSM Worldwide", + "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "Account Number"}, "mailer_id": {"visibility": "visible", + "label": "Mailer ID"}, "facility_code": {"visibility": "visible", "label": + "Facility Code/Cost Center ID for manifesting (optional)"}, "company_name": + {"visibility": "visible", "label": "Company Name"}, "aws_sftp_username": {"visibility": + "visible", "label": "SFTP Username"}}}}, {"object": "CarrierType", "type": + "PandionAccount", "readable": "Pandion", "logo": null, "fields": {"credentials": + {"api_key": {"visibility": "masked", "label": "Prod Pandion API Key"}}, "test_credentials": + {"api_key": {"visibility": "masked", "label": "Test Pandion API Key"}}}}, + {"object": "CarrierType", "type": "ParcelForceAccount", "readable": "Parcel + Force", "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "Parcelforce Contract Number"}, "username": {"visibility": + "visible", "label": "expressLink API Username"}, "password": {"visibility": + "password", "label": "expressLink API Password"}, "department_id": {"visibility": + "visible", "label": "Department ID - not required"}}, "test_credentials": + {"account_number": {"visibility": "visible", "label": "Parcelforce Test Contract + Number"}, "username": {"visibility": "visible", "label": "Test expressLink + API Username"}, "password": {"visibility": "password", "label": "Test expressLink + API Password"}, "department_id": {"visibility": "visible", "label": "Test + Department ID - not required"}}}}, {"object": "CarrierType", "type": "ParcllAccount", + "readable": "Cirro E-Commerce", "logo": null, "fields": {"credentials": {"api_key": + {"visibility": "masked", "label": "Cirro E-Commerce API key"}, "user_id": + {"visibility": "visible", "label": "Cirro E-Commerce User Id"}, "origin_hub": + {"visibility": "select", "label": "Cirro E-Commerce Origin Hub"}}, "test_credentials": + {"api_key": {"visibility": "masked", "label": "Test Cirro E-Commerce API key"}, + "user_id": {"visibility": "visible", "label": "Test Cirro E-Commerce User + Id"}, "origin_hub": {"visibility": "select", "label": "Test Cirro E-Commerce + Origin Hub"}}}}, {"object": "CarrierType", "type": "PassportGlobalAccount", + "readable": "Passport Global", "logo": null, "fields": {"credentials": {"api_key": + {"visibility": "masked", "label": "Passport Global API key"}, "email": {"visibility": + "visible", "label": "Customer email address registered with Passport Global"}, + "name": {"visibility": "visible", "label": "Customer name registered with + Passport Global"}, "company_name": {"visibility": "visible", "label": "Customer + company name registered with Passport Global"}, "phone": {"visibility": "visible", + "label": "Customer phone number registered with Passport Global (optional)"}}, + "test_credentials": {"api_key": {"visibility": "masked", "label": "Passport + Global Test API key"}, "email": {"visibility": "visible", "label": "Customer + email address registered with Passport Global"}, "name": {"visibility": "visible", + "label": "Customer name registered with Passport Global"}, "company_name": + {"visibility": "visible", "label": "Customer company name registered with + Passport Global"}, "phone": {"visibility": "visible", "label": "Customer phone + number registered with Passport Global (optional)"}}}}, {"object": "CarrierType", + "type": "PurolatorAccount", "readable": "Purolator", "logo": null, "fields": + {"credentials": {"account_number": {"visibility": "visible", "label": "Purolator + Account Number"}, "api_key": {"visibility": "masked", "label": "Production + API Key"}, "password": {"visibility": "password", "label": "Production API + Key Password"}}}}, {"object": "CarrierType", "type": "RoyalMailAccount", "readable": + "Royal Mail", "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "Royal Mail Account Number"}, "username": {"visibility": + "visible", "label": "OBA Email Address"}, "posting_location_number": {"visibility": + "visible", "label": "Posting Location Number"}}}}, {"object": "CarrierType", + "type": "RRDonnelleyAccount", "readable": "ePost Global", "logo": null, "fields": + {"credentials": {"account_number": {"visibility": "visible", "label": "ePostGlobal + Account Number"}}}}, {"object": "CarrierType", "type": "SendleAccount", "readable": + "Sendle", "logo": null, "fields": {"credentials": {"api_key": {"visibility": + "masked", "label": "Sendle API Key"}, "user_id": {"visibility": "visible", + "label": "Sendle ID"}}, "test_credentials": {"api_key": {"visibility": "masked", + "label": "Sendle Sandbox API Key"}, "user_id": {"visibility": "visible", "label": + "Sendle Sandbox ID"}}}}, {"object": "CarrierType", "type": "SfExpressAccount", + "readable": "SF Express", "logo": null, "fields": {"credentials": {"checkword": + {"visibility": "visible", "label": "SF Express checkword"}, "customer_code": + {"visibility": "visible", "label": "SF Express customer code"}, "customer_id": + {"visibility": "visible", "label": "SF Express customer id"}}, "test_credentials": + {"checkword": {"visibility": "visible", "label": "Test SF Express checkword"}, + "customer_code": {"visibility": "visible", "label": "Test SF Express customer + code"}, "customer_id": {"visibility": "visible", "label": "Test SF Express + customer id"}}}}, {"object": "CarrierType", "type": "SmartKargoAccount", "readable": + "SmartKargo", "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "SmartKargo account number"}}, "test_credentials": {"account_number": + {"visibility": "visible", "label": "Test SmartKargo account number"}}}}, {"object": + "CarrierType", "type": "SonicAccount", "readable": "Sonic", "logo": null, + "fields": {"credentials": {"username": {"visibility": "visible", "label": + "Sonic username"}, "password": {"visibility": "password", "label": "Sonic + password"}, "account_number": {"visibility": "visible", "label": "Sonic account + number"}}, "test_credentials": {"username": {"visibility": "visible", "label": + "Test Sonic username"}, "password": {"visibility": "password", "label": "Test + Sonic password"}, "account_number": {"visibility": "visible", "label": "Test + Sonic account number"}}}}, {"object": "CarrierType", "type": "SpeedeeAccount", + "readable": "Spee-Dee", "logo": null, "fields": {"credentials": {"account_number": + {"visibility": "visible", "label": "Spee-Dee Account Number"}}}}, {"object": + "CarrierType", "type": "SwyftAccount", "readable": "Swyft", "logo": null, + "fields": {"credentials": {"password": {"visibility": "password", "label": + "Swyft API Key"}}, "test_credentials": {"password": {"visibility": "password", + "label": "Test Swyft API Key"}}}}, {"object": "CarrierType", "type": "TforceConciseAccount", + "readable": "TForce", "logo": null, "fields": {"credentials": {"username": + {"visibility": "visible", "label": "TForce Username"}, "password": {"visibility": + "password", "label": "TForce Password"}, "account_number": {"visibility": + "visible", "label": "TForce Account Number"}}, "test_credentials": {"username": + {"visibility": "visible", "label": "Test TForce Username"}, "password": {"visibility": + "password", "label": "Test TForce Password"}, "account_number": {"visibility": + "visible", "label": "Test TForce Account Number"}}}}, {"object": "CarrierType", + "type": "TollAccount", "readable": "Toll", "logo": null, "fields": {"credentials": + {"account_number": {"visibility": "visible", "label": "Toll Account Number"}, + "business_unit": {"visibility": "visible", "label": "Toll Business Unit (Ex. + IPEC)"}, "source_system_code": {"visibility": "visible", "label": "Toll Source + System Code"}}, "test_credentials": {"account_number": {"visibility": "visible", + "label": "Toll Test Account Number"}, "business_unit": {"visibility": "visible", + "label": "Toll Business Unit (Ex. IPEC)"}, "source_system_code": {"visibility": + "visible", "label": "Toll Test Source System Code"}}}}, {"object": "CarrierType", + "type": "UdsAccount", "readable": "UDS", "logo": null, "fields": {"credentials": + {"ftp_username": {"visibility": "visible", "label": "FTP Username"}, "ftp_password": + {"visibility": "password", "label": "FTP Password"}}}}, {"object": "CarrierType", + "type": "UpsAccount", "readable": "UPS", "logo": null, "fields": {"credentials": + {"access_license_number": {"visibility": "invisible", "label": "UPS Access + License Number"}, "account_number": {"visibility": "readonly", "label": "UPS + Account Number"}, "user_id": {"visibility": "invisible", "label": "UPS.com + User ID"}, "password": {"visibility": "invisible", "label": "UPS.com Password"}}, + "creation_fields": {"registration_data": {"account_number": {"label": "UPS + Account Number", "visibility": "visible"}, "client_ip": {"label": "Client + IP", "visibility": "invisible"}, "name": {"label": "Company Contact Name", + "visibility": "visible"}, "title": {"label": "Company Contact Job Title", + "visibility": "visible"}, "company": {"label": "Company Name", "visibility": + "visible"}, "phone": {"label": "Company Phone", "visibility": "visible"}, + "email": {"label": "Company Email", "visibility": "visible"}, "website": {"label": + "Company Website", "visibility": "visible"}, "street1": {"label": "Shipping + Street 1", "visibility": "visible"}, "street2": {"label": "Shipping Street + 2", "visibility": "visible"}, "city": {"label": "Shipping City", "visibility": + "visible"}, "state": {"label": "Shipping State", "visibility": "visible"}, + "postal_code": {"label": "Shipping Postal Code", "visibility": "visible"}, + "country": {"label": "Shipping Country", "visibility": "visible"}, "invoice_number": + {"label": "UPS Invoice Number", "visibility": "visible"}, "invoice_date": + {"label": "UPS Invoice Date", "visibility": "visible"}, "invoice_amount": + {"label": "UPS Invoice Amount", "visibility": "visible"}, "invoice_currency": + {"label": "UPS Invoice Currency", "visibility": "visible"}, "invoice_control_id": + {"label": "UPS Invoice Control ID", "visibility": "visible"}}}, "custom_workflow": + true}}, {"object": "CarrierType", "type": "UpsIparcelAccount", "readable": + "UPS i-Parcel", "logo": null, "fields": {"credentials": {"api_key": {"visibility": + "masked", "label": "i-Parcel API key"}}}}, {"object": "CarrierType", "type": + "UpsMailInnovationsAccount", "readable": "UPS Mail Innovations", "logo": null, + "fields": {"credentials": {"account_number": {"visibility": "visible", "label": + "UPS Shipper Number"}, "user_id": {"visibility": "visible", "label": "UPS.com + User ID"}, "password": {"visibility": "password", "label": "UPS.com Password"}, + "customer_id": {"visibility": "visible", "label": "UPS customer id (optional)"}, + "customer_guid": {"visibility": "visible", "label": "UPS customer GUID (optional)"}}}}, + {"object": "CarrierType", "type": "UspsAccount", "readable": "USPS", "logo": + null, "fields": {"credentials": {"company_name": {"visibility": "visible", + "label": "Account Holder Name"}, "address_street": {"visibility": "visible", + "label": "Street Address"}, "address_city": {"visibility": "visible", "label": + "City"}, "address_state": {"visibility": "visible", "label": "State"}, "address_zip": + {"visibility": "visible", "label": "ZIP Code"}, "phone": {"visibility": "visible", + "label": "Phone Number"}, "email": {"visibility": "visible", "label": "Email + Address"}, "shipper_id": {"visibility": "visible", "label": "Shipper Identifier + (Optional)"}}}}, {"object": "CarrierType", "type": "VehoAccount", "readable": + "Veho", "logo": null, "fields": {"credentials": {"api_key": {"visibility": + "masked", "label": "Veho Production API Key"}}, "test_credentials": {"api_key": + {"visibility": "masked", "label": "Veho Test API Key"}}}}, {"object": "CarrierType", + "type": "XDeliveryAccount", "readable": "Maergo", "logo": null, "fields": + {"credentials": {"username": {"visibility": "visible", "label": "Maergo Username"}, + "password": {"visibility": "password", "label": "Maergo Password"}}, "test_credentials": + {"username": {"visibility": "visible", "label": "Test Maergo Username"}, "password": + {"visibility": "password", "label": "Test Maergo Password"}}}}]' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '38432' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaecefe78ba388000d2de7 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.030382' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/carrier_types + response: + body: + string: '[{"object": "CarrierType", "type": "AmazonMwsAccount", "readable": + "Amazon MWS", "logo": null, "fields": {"credentials": {"access_key_id": {"visibility": + "visible", "label": "AWS Access Key ID"}, "secret_key": {"visibility": "password", + "label": "Secret Key"}, "merchant_id": {"visibility": "visible", "label": + "Seller ID"}}}}, {"object": "CarrierType", "type": "ApcAccount", "readable": + "APC", "logo": null, "fields": {"credentials": {"shipper_id": {"visibility": + "visible", "label": "APC Shipper ID"}, "password": {"visibility": "password", + "label": "APC Password"}, "facility": {"visibility": "visible", "label": "APC + Facility (e.g., NJ, LA)"}}}}, {"object": "CarrierType", "type": "AsendiaUsaAccount", + "readable": "Asendia USA", "logo": null, "fields": {"credentials": {"account_number": + {"visibility": "visible", "label": "AsendiaUsa Account Number"}, "sub_account_number": + {"visibility": "visible", "label": "AsendiaUsa Sub Account Number"}, "username": + {"visibility": "visible", "label": "AsendiaUsa Username"}, "password": {"visibility": + "password", "label": "AsendiaUsa Password"}, "api_key": {"visibility": "masked", + "label": "AsendiaUsa API key"}, "carrier_facility": {"visibility": "select", + "label": "AsendiaUsa Carrier Facility / Processing Location (Optional)"}}, + "test_credentials": {"account_number": {"visibility": "visible", "label": + "Test AsendiaUsa Account Number"}, "sub_account_number": {"visibility": "visible", + "label": "Test AsendiaUsa Sub Account Number"}, "username": {"visibility": + "visible", "label": "Test AsendiaUsa Username"}, "password": {"visibility": + "password", "label": "Test AsendiaUsa Password"}, "api_key": {"visibility": + "masked", "label": "Test AsendiaUsa API key"}, "carrier_facility": {"visibility": + "select", "label": "Test AsendiaUsa Carrier Facility / Processing Location + (Optional)"}}}}, {"object": "CarrierType", "type": "AustraliaPostAccount", + "readable": "Australia Post", "logo": null, "fields": {"credentials": {"account_number": + {"visibility": "visible", "label": "Australia Post Account Number"}, "api_key": + {"visibility": "masked", "label": "Australia Post API Key"}, "api_secret": + {"visibility": "password", "label": "Australia Post Secret Key"}, "print_as_you_go": + {"visibility": "checkbox", "label": "Print as you go"}}, "test_credentials": + {"account_number": {"visibility": "visible", "label": "Australia Post Test + Account Number"}, "api_key": {"visibility": "masked", "label": "Australia + Post Test API Key"}, "api_secret": {"visibility": "password", "label": "Australia + Post Test Secret Key"}, "print_as_you_go": {"visibility": "checkbox", "label": + "Print as you go"}}}}, {"object": "CarrierType", "type": "AxlehireV3Account", + "readable": "AxlehireV3", "logo": null, "fields": {"credentials": {"api_key": + {"visibility": "masked", "label": "Client Secret"}}, "test_credentials": {"api_key": + {"visibility": "masked", "label": "Client Secret"}}}}, {"object": "CarrierType", + "type": "BetterTrucksAccount", "readable": "Better Trucks", "logo": null, + "fields": {"credentials": {"api_key": {"visibility": "masked", "label": "Better + Trucks API key"}}, "test_credentials": {"api_key": {"visibility": "masked", + "label": "Test Better Trucks API key"}}}}, {"object": "CarrierType", "type": + "CanadaPostAccount", "readable": "Canada Post", "logo": null, "fields": {"credentials": + {"api_key": {"visibility": "masked", "label": "CanadaPost API Key"}, "contract_id": + {"visibility": "visible", "label": "CanadaPost Contract ID (contract customers + only)"}, "customer_number": {"visibility": "visible", "label": "CanadaPost + Customer Number"}, "has_credit_card": {"visibility": "checkbox", "label": + "CanadaPost account has credit card?"}, "not_platform": {"visibility": "invisible", + "label": "CanadaPost account not registered through platform?"}}, "test_credentials": + {"api_key": {"visibility": "masked", "label": "CanadaPost Test API Key"}, + "contract_id": {"visibility": "visible", "label": "CanadaPost Test Contract + ID (contract customers only)"}, "customer_number": {"visibility": "visible", + "label": "CanadaPost Test Customer Number"}, "has_credit_card": {"visibility": + "checkbox", "label": "CanadaPost Test account has credit card?"}, "not_platform": + {"visibility": "invisible", "label": "CanadaPost Test account not registered + through platform?"}}, "custom_workflow": true}}, {"object": "CarrierType", + "type": "CanparAccount", "readable": "Canpar", "logo": null, "fields": {"credentials": + {"account_number": {"visibility": "visible", "label": "Canpar Account Number"}, + "username": {"visibility": "visible", "label": "Canpar Username"}, "password": + {"visibility": "password", "label": "Canpar Password"}}, "test_credentials": + {"account_number": {"visibility": "visible", "label": "Test Canpar Account + Number"}, "username": {"visibility": "visible", "label": "Test Canpar Username"}, + "password": {"visibility": "password", "label": "Test Canpar Password"}}}}, + {"object": "CarrierType", "type": "ColumbusLastMileAccount", "readable": "CDL + Last Mile Solutions", "logo": null, "fields": {"credentials": {"username": + {"visibility": "visible", "label": "CDL Last Mile Solutions customer username"}, + "password": {"visibility": "password", "label": "CDL Last Mile Solutions customer + password"}, "tracking_code_prefix": {"visibility": "visible", "label": "CDL + Last Mile Solutions tracking code prefix"}}, "test_credentials": {"username": + {"visibility": "visible", "label": "CDL Last Mile Solutions customer test + username"}, "password": {"visibility": "password", "label": "CDL Last Mile + Solutions customer test password"}, "tracking_code_prefix": {"visibility": + "visible", "label": "CDL Last Mile Solutions tracking code prefix"}}}}, {"object": + "CarrierType", "type": "CourierExpressAccount", "readable": "Courier Express", + "logo": null, "fields": {"credentials": {"api_key": {"visibility": "masked", + "label": "Courier Express API key"}, "shipper_id": {"visibility": "visible", + "label": "Courier Express shipper ID"}}, "test_credentials": {"api_key": {"visibility": + "masked", "label": "Test Courier Express API key"}, "shipper_id": {"visibility": + "visible", "label": "Test Courier Express shipper ID"}}}}, {"object": "CarrierType", + "type": "CouriersPleaseAccount", "readable": "CouriersPlease", "logo": null, + "fields": {"credentials": {"username": {"visibility": "visible", "label": + "Account Number"}, "password": {"visibility": "password", "label": "Password"}}, + "test_credentials": {"username": {"visibility": "visible", "label": "Account + Number"}, "password": {"visibility": "password", "label": "Password"}}}}, + {"object": "CarrierType", "type": "DaiPostAccount", "readable": "Dai Post", + "logo": null, "fields": {"credentials": {"username": {"visibility": "visible", + "label": " Dai Post customer username"}, "password": {"visibility": "password", + "label": " Dai Post client secret"}, "origin_terminal": {"visibility": "visible", + "label": " Dai Post default origin terminal"}, "account_code": {"visibility": + "visible", "label": " 3-letter account code for customers with multiple accounts"}}}}, + {"object": "CarrierType", "type": "DeliverItAccount", "readable": "Deliver-It", + "logo": null, "fields": {"credentials": {"username": {"visibility": "visible", + "label": "Deliver-It Username"}, "password": {"visibility": "password", "label": + "Deliver-It Password"}, "account_number": {"visibility": "visible", "label": + "Deliver-It Account Number"}}, "test_credentials": {"username": {"visibility": + "visible", "label": "Test Deliver-It Username"}, "password": {"visibility": + "password", "label": "Test Deliver-It Password"}, "account_number": {"visibility": + "visible", "label": "Test Deliver-It Account Number"}}}}, {"object": "CarrierType", + "type": "DeutschePostUKAccount", "readable": "Deutsche Post UK", "logo": null, + "fields": {"credentials": {"client_id": {"visibility": "visible", "label": + "Deutsche Post UK Client ID"}, "client_secret": {"visibility": "password", + "label": "Deutsche Post UK Secret"}, "account_number": {"visibility": "visible", + "label": "Deutsche Post UK Account Number"}}, "test_credentials": {"client_id": + {"visibility": "visible", "label": "Test Deutsche Post UK Client ID"}, "client_secret": + {"visibility": "password", "label": "Test Deutsche Post UK Secret"}, "account_number": + {"visibility": "visible", "label": "Test Deutsche Post UK Account Number"}}}}, + {"object": "CarrierType", "type": "DhlEcommerceAsiaAccount", "readable": "DHL + Ecommerce Asia", "logo": null, "fields": {"credentials": {"account_number": + {"visibility": "visible", "label": "DHL Ecommerce Asia Account Number"}, "client_id": + {"visibility": "visible", "label": "DHL Ecommerce Asia Contract Number"}, + "password": {"visibility": "password", "label": "DHL Ecommerce Asia Password"}, + "barcode_prefix": {"visibility": "visible", "label": "DHL Ecommerce Asia Customer + ID"}}, "test_credentials": {"account_number": {"visibility": "visible", "label": + "Test DHL Ecommerce Asia Account Number"}, "client_id": {"visibility": "visible", + "label": "Test DHL Ecommerce Asia Contract Number"}, "password": {"visibility": + "password", "label": "Test DHL Ecommerce Asia Password"}, "barcode_prefix": + {"visibility": "visible", "label": "Test DHL Ecommerce Asia Customer ID"}}}}, + {"object": "CarrierType", "type": "DhlEcsAccount", "readable": "DHL eCommerce + Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions client ID"}, "client_secret": + {"visibility": "password", "label": "DHL eCommerce Solutions client secret"}, + "pickup_id": {"visibility": "visible", "label": "DHL eCommerce Solutions pickup + ID"}, "distribution_center": {"visibility": "visible", "label": "DHL eCommerce + Solutions distribution center"}}, "test_credentials": {"client_id": {"visibility": + "visible", "label": "Test DHL eCommerce Solutions client ID"}, "client_secret": + {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret"}, + "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions + pickup ID"}, "distribution_center": {"visibility": "visible", "label": "Test + DHL eCommerce Solutions distribution center"}}}}, {"object": "CarrierType", + "type": "DhlExpressAccount", "readable": "DHL Express", "logo": null, "fields": + {"credentials": {"account_number": {"visibility": "visible", "label": "DHL + Account Number"}, "country": {"visibility": "visible", "label": "Account Country + Code (2 Letter)"}, "site_id": {"visibility": "visible", "label": "Site ID + (Optional)"}, "password": {"visibility": "password", "label": "Password (Optional)"}, + "is_reseller": {"visibility": "checkbox", "label": "Reseller Account? (check + if yes)"}}}}, {"object": "CarrierType", "type": "DhlPaketAccount", "readable": + "DHL Paket", "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "DHL Paket Account Number (EKP)"}, "contract_id": {"visibility": + "visible", "label": "DHL Paket Contract Participation Value"}, "cig_username": + {"visibility": "visible", "label": "DHL Paket CIG Username"}, "cig_password": + {"visibility": "password", "label": "DHL Paket CIG Password"}, "tnt_username": + {"visibility": "visible", "label": "DHL Paket TNT Username (if applicable)"}, + "tnt_password": {"visibility": "password", "label": "DHL Paket TNT Password + (if applicable)"}, "retoure_username": {"visibility": "visible", "label": + "DHL Paket Retoure Username (if applicable)"}, "retoure_password": {"visibility": + "password", "label": "DHL Paket Retoure Password (if applicable)"}}, "test_credentials": + {"account_number": {"visibility": "visible", "label": "Test DHL Paket Account + Number (EKP)"}, "contract_id": {"visibility": "visible", "label": "Test DHL + Paket Contract Participation Value"}, "cig_username": {"visibility": "visible", + "label": " Test DHL Paket CIG Username"}, "cig_password": {"visibility": "password", + "label": "Test DHL Paket CIG Password"}, "tnt_username": {"visibility": "visible", + "label": "Test DHL Paket TNT Username (if applicable)"}, "tnt_password": {"visibility": + "password", "label": "Test DHL Paket TNT Password (if applicable)"}, "retoure_username": + {"visibility": "visible", "label": "Test DHL Paket Retoure Username (if applicable)"}, + "retoure_password": {"visibility": "password", "label": "Test DHL Paket Retoure + Password (if applicable)"}}}}, {"object": "CarrierType", "type": "DhlParcelAccount", + "readable": "DHL Parcel", "logo": null, "fields": {"credentials": {"user_id": + {"visibility": "visible", "label": "DHL Parcel User ID"}, "api_key": {"visibility": + "masked", "label": "DHL Parcel API Key"}, "account_number": {"visibility": + "visible", "label": "DHL Parcel Account Number"}}, "test_credentials": {"user_id": + {"visibility": "visible", "label": "DHL Parcel User ID"}, "api_key": {"visibility": + "masked", "label": "DHL Parcel API Key"}, "account_number": {"visibility": + "visible", "label": "DHL Parcel Account Number"}}}}, {"object": "CarrierType", + "type": "DpdAccount", "readable": "DPD", "logo": null, "fields": {"credentials": + {"username": {"visibility": "visible", "label": "WebConnect Username"}, "password": + {"visibility": "password", "label": "WebConnect Password"}, "customer_number": + {"visibility": "visible", "label": "DPD Customer Number"}}, "test_credentials": + {"username": {"visibility": "visible", "label": "Test WebConnect Username"}, + "password": {"visibility": "password", "label": "Test WebConnect Password"}, + "customer_number": {"visibility": "visible", "label": "DPD Customer Number"}}}}, + {"object": "CarrierType", "type": "DpdUkAccount", "readable": "DPD UK", "logo": + null, "fields": {"credentials": {"account_number": {"visibility": "visible", + "label": "DPD UK Account Number"}, "username": {"visibility": "visible", "label": + "DPD UK Username"}, "password": {"visibility": "password", "label": "DPD UK + Password"}}}}, {"object": "CarrierType", "type": "DpdNlAccount", "readable": + "DPD NL", "logo": null, "fields": {"credentials": {"username": {"visibility": + "visible", "label": "Delis ID"}, "password": {"visibility": "password", "label": + "Password"}}, "test_credentials": {"username": {"visibility": "visible", "label": + "Test Delis ID"}, "password": {"visibility": "password", "label": "Test Password"}}}}, + {"object": "CarrierType", "type": "EstafetaAccount", "readable": "Estafeta", + "logo": null, "fields": {"credentials": {"customer_id": {"visibility": "visible", + "label": "Subscriber ID"}, "username": {"visibility": "visible", "label": + "Login"}, "password": {"visibility": "password", "label": "Password"}, "client_id": + {"visibility": "visible", "label": "Tracking Subscriber ID"}, "user_id": {"visibility": + "visible", "label": "Tracking Login"}, "secret_key": {"visibility": "password", + "label": "Tracking Password"}, "customer_number": {"visibility": "visible", + "label": "Customer Number"}, "hub_id": {"visibility": "visible", "label": + "Office Number"}}, "test_credentials": {"customer_id": {"visibility": "visible", + "label": "Test Subscriber ID"}, "username": {"visibility": "visible", "label": + "Test Login"}, "password": {"visibility": "password", "label": "Test Password"}, + "client_id": {"visibility": "visible", "label": "Test Tracking Subscriber + ID"}, "user_id": {"visibility": "visible", "label": "Test Tracking Login"}, + "secret_key": {"visibility": "password", "label": "Test Tracking Password"}, + "customer_number": {"visibility": "visible", "label": "Test Customer Number"}, + "hub_id": {"visibility": "visible", "label": "Test Office Number"}}}}, {"object": + "CarrierType", "type": "FastwayAccount", "readable": "Fastway", "logo": null, + "fields": {"credentials": {"api_key": {"visibility": "masked", "label": "API + Key"}}}}, {"object": "CarrierType", "type": "FedexAccount", "readable": "FedEx", + "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "readonly", "label": "FedEx Account Number"}, "meter_number": {"visibility": + "invisible", "label": "FedEx Production Meter Number"}, "key": {"visibility": + "invisible", "label": "FedEx Production Authentication Key"}, "password": + {"visibility": "invisible", "label": "FedEx Production Password"}}, "test_credentials": + {"account_number": {"visibility": "readonly", "label": "FedEx Account Number"}, + "meter_number": {"visibility": "invisible", "label": "FedEx Test Meter Number"}, + "key": {"visibility": "invisible", "label": "FedEx Developer Test Key"}, "password": + {"visibility": "invisible", "label": "FedEx Test Password"}}, "creation_fields": + {"credential_information": {"account_number": {"label": "FedEx Account #", + "visibility": "visible"}}, "company_information": {"corporate_first_name": + {"label": "Company Contact First Name", "visibility": "visible"}, "corporate_last_name": + {"label": "Company Contact Last Name", "visibility": "visible"}, "corporate_job_title": + {"label": "Company Contact Job Title", "visibility": "visible"}, "corporate_company_name": + {"label": "Company Name", "visibility": "visible"}, "corporate_phone_number": + {"label": "Company Phone", "visibility": "visible"}, "corporate_email_address": + {"label": "Company Email", "visibility": "visible"}, "corporate_streets": + {"label": "Company Street", "visibility": "visible"}, "corporate_city": {"label": + "Company City", "visibility": "visible"}, "corporate_state": {"label": "Company + State", "visibility": "visible"}, "corporate_postal_code": {"label": "Company + Postal Code", "visibility": "visible"}, "corporate_country_code": {"label": + "Company Country Code", "visibility": "visible"}}, "address_information": + {"shipping_streets": {"label": "Shipping Street", "visibility": "visible"}, + "shipping_city": {"label": "Shipping City", "visibility": "visible"}, "shipping_state": + {"label": "Shipping State", "visibility": "visible"}, "shipping_postal_code": + {"label": "Shipping Postal Code ", "visibility": "visible"}, "shipping_country_code": + {"label": "Shipping Country Code", "visibility": "visible"}}}, "custom_workflow": + true}}, {"object": "CarrierType", "type": "FedexCrossBorderAccount", "readable": + "FedEx Cross Border", "logo": null, "fields": {"credentials": {"api_key": + {"visibility": "masked", "label": "FedEx Cross Border API key"}, "origin_hub": + {"visibility": "select", "label": "FedEx Cross Border Origin Hub"}}, "test_credentials": + {"api_key": {"visibility": "masked", "label": "Test FedEx Cross Border API + key"}, "origin_hub": {"visibility": "select", "label": "Test FedEx Cross Border + Origin Hub"}}}}, {"object": "CarrierType", "type": "FedexMailviewAccount", + "readable": "FedEx MailView", "logo": null, "fields": {"credentials": {"customer_id": + {"visibility": "visible", "label": "Customer Code"}, "service_id": {"visibility": + "password", "label": "Service ID"}, "fimspremium": {"visibility": "checkbox", + "label": "FIMS Premium"}, "fimsstandard": {"visibility": "checkbox", "label": + "FIMS Standard"}, "mailviewpremium": {"visibility": "checkbox", "label": "MailView + Premium"}, "mailviewlight": {"visibility": "checkbox", "label": "MailView + Light"}}}}, {"object": "CarrierType", "type": "FedexSmartpostAccount", "readable": + "FedEx SmartPost", "logo": null, "fields": {"credentials": {"account_number": + {"visibility": "visible", "label": "FedEx SmartPost Account Number"}, "hub_id": + {"visibility": "visible", "label": "FedEx SmartPost HubID"}, "meter_number": + {"visibility": "visible", "label": "Fedex SmartPost Meter Number"}, "key": + {"visibility": "masked", "label": "FedEx SmartPost Access Key"}, "password": + {"visibility": "password", "label": "SmartPost Access Key Password"}}, "creation_fields": + {"credential_information": {"account_number": {"label": "FedEx SmartPost Account + #", "visibility": "visible"}, "hub_id": {"label": "FedEx SmartPost Hub ID", + "visibility": "visible"}}, "company_information": {"corporate_first_name": + {"label": "Company Contact First Name", "visibility": "visible"}, "corporate_last_name": + {"label": "Company Contact Last Name", "visibility": "visible"}, "corporate_job_title": + {"label": "Company Contact Job Title", "visibility": "visible"}, "corporate_company_name": + {"label": "Company Name", "visibility": "visible"}, "corporate_phone_number": + {"label": "Company Phone", "visibility": "visible"}, "corporate_email_address": + {"label": "Company Email", "visibility": "visible"}, "corporate_streets": + {"label": "Company Street", "visibility": "visible"}, "corporate_city": {"label": + "Company City", "visibility": "visible"}, "corporate_state": {"label": "Company + State", "visibility": "visible"}, "corporate_postal_code": {"label": "Company + Postal Code", "visibility": "visible"}, "corporate_country_code": {"label": + "Company Country Code", "visibility": "visible"}}, "address_information": + {"shipping_streets": {"label": "Shipping Street", "visibility": "visible"}, + "shipping_city": {"label": "Shipping City", "visibility": "visible"}, "shipping_state": + {"label": "Shipping State", "visibility": "visible"}, "shipping_postal_code": + {"label": "Shipping Postal Code ", "visibility": "visible"}, "shipping_country_code": + {"label": "Shipping Country Code", "visibility": "visible"}}}, "custom_workflow": + true}}, {"object": "CarrierType", "type": "FirstMileConciseAccount", "readable": + "First Mile", "logo": null, "fields": {"credentials": {"username": {"visibility": + "visible", "label": "FirstMile Username"}, "password": {"visibility": "password", + "label": "FirsMile Password"}, "account_number": {"visibility": "visible", + "label": "FirstMile Account Number"}}, "test_credentials": {"username": {"visibility": + "visible", "label": "Test FirstMile Username"}, "password": {"visibility": + "password", "label": "Test FirstMile Password"}, "account_number": {"visibility": + "visible", "label": "Test FirstMile Account Number"}}}}, {"object": "CarrierType", + "type": "FlexportAccount", "readable": "Flexport", "logo": null, "fields": + {"credentials": {"api_key": {"visibility": "masked", "label": "Flexport Account + API Key"}}}}, {"object": "CarrierType", "type": "GsoAccount", "readable": + "GSO", "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "GSO Account Number"}, "username": {"visibility": "visible", + "label": "Username"}, "password": {"visibility": "password", "label": "Password"}}}}, + {"object": "CarrierType", "type": "HailifyAccount", "readable": "Hailify", + "logo": null, "fields": {"credentials": {"partner_id": {"visibility": "visible", + "label": "Hailify Partner ID"}}, "test_credentials": {"partner_id": {"visibility": + "visible", "label": "Test Hailify Partner ID"}}}}, {"object": "CarrierType", + "type": "HermesAccount", "readable": "Evri", "logo": null, "fields": {"credentials": + {"username": {"visibility": "visible", "label": "Evri Username"}, "password": + {"visibility": "password", "label": "Evri Password"}, "client_id": {"visibility": + "visible", "label": "Evri Client ID"}, "auth_id": {"visibility": "visible", + "label": "Evri Auth ID"}, "auth_secret": {"visibility": "password", "label": + "Evri Auth Secret"}, "client_name": {"visibility": "visible", "label": "Evri + Client name"}, "group_id": {"visibility": "visible", "label": "Evri Group + ID"}, "client_licence": {"visibility": "masked", "label": "Evri Client License"}, + "api_key": {"visibility": "masked", "label": "Evri API Key"}}}}, {"object": + "CarrierType", "type": "InterlinkExpressAccount", "readable": "Interlink Express", + "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "Interlink Express Account Number"}, "username": {"visibility": + "visible", "label": "Interlink Express Username"}, "password": {"visibility": + "password", "label": "Interlink Express Password"}, "vat_number": {"visibility": + "visible", "label": "VAT Number"}}}}, {"object": "CarrierType", "type": "LasershipV2Account", + "readable": "LaserShipV2", "logo": null, "fields": {"credentials": {"api_key": + {"visibility": "masked", "label": "LaserShipV2 API Key"}, "api_id": {"visibility": + "visible", "label": "LaserShipV2 API ID"}, "facility": {"visibility": "visible", + "label": "LaserShipV2 Customer Branch"}, "cargo_claim_value": {"visibility": + "visible", "label": "LaserShipV2 Cargo Insurance Claim Value (USD)"}, "is_reseller": + {"visibility": "checkbox", "label": "3PL Account? (check if yes)"}, "injection_location_type": + {"visibility": "visible", "label": "Injection Address Location Type (\"Business\" + or \"Residence\")"}, "injection_contact": {"visibility": "visible", "label": + "Injection Address Contact"}, "injection_organization": {"visibility": "visible", + "label": "Injection Address Organization"}, "injection_street1": {"visibility": + "visible", "label": "Injection Address Street1"}, "injection_street2": {"visibility": + "visible", "label": "Injection Address Street2"}, "injection_city": {"visibility": + "visible", "label": "Injection Address City"}, "injection_state": {"visibility": + "visible", "label": "Injection Address State"}, "injection_zip": {"visibility": + "visible", "label": "Injection Address Postal Code"}, "injection_country": + {"visibility": "visible", "label": "Injection Address Country Code"}, "injection_phone": + {"visibility": "visible", "label": "Injection Address Phone"}, "injection_phone_ext": + {"visibility": "visible", "label": "Injection Address Phone Extension"}, "injection_email": + {"visibility": "visible", "label": "Injection Address Email"}, "injection_instruction": + {"visibility": "visible", "label": "Injection Address Instruction"}, "injection_note": + {"visibility": "visible", "label": "Injection Address Note"}}}}, {"object": + "CarrierType", "type": "LoomisExpressAccount", "readable": "Loomis Express", + "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "Loomis Express Account Number"}, "username": {"visibility": + "visible", "label": "Loomis Express Username"}, "password": {"visibility": + "password", "label": "Loomis Express Password"}}, "test_credentials": {"account_number": + {"visibility": "visible", "label": "Test Loomis Express Account Number"}, + "username": {"visibility": "visible", "label": "Test Loomis Express Username"}, + "password": {"visibility": "password", "label": "Test Loomis Express Password"}}}}, + {"object": "CarrierType", "type": "LsoAccount", "readable": "LSO", "logo": + null, "fields": {"credentials": {"account_number": {"visibility": "visible", + "label": "LSO Production Account Number"}, "username": {"visibility": "visible", + "label": "LSO Production Username"}, "password": {"visibility": "password", + "label": "LSO Production Password"}}, "test_credentials": {"account_number": + {"visibility": "visible", "label": "LSO Test Account Number"}, "username": + {"visibility": "visible", "label": "LSO Test Username"}, "password": {"visibility": + "password", "label": "LSO Test Password"}}}}, {"object": "CarrierType", "type": + "NewgisticsAccount", "readable": "Newgistics", "logo": null, "fields": {"credentials": + {"client_id": {"visibility": "visible", "label": "Client ID"}, "client_secret": + {"visibility": "password", "label": "Client Secret"}, "client_facility_id": + {"visibility": "visible", "label": "Client Facility ID"}, "fulfiller_facility_id": + {"visibility": "visible", "label": "Newgistics Facility ID"}, "tracking_api_key": + {"visibility": "masked", "label": "Tracking API Key"}, "merchant_id": {"visibility": + "visible", "label": "Merchant ID"}}, "test_credentials": {"client_id": {"visibility": + "visible", "label": "Client ID"}, "client_secret": {"visibility": "password", + "label": "Client Secret"}, "client_facility_id": {"visibility": "visible", + "label": "Client Facility ID"}, "fulfiller_facility_id": {"visibility": "visible", + "label": "Newgistics Facility ID"}, "tracking_api_key": {"visibility": "masked", + "label": "Tracking API Key"}, "merchant_id": {"visibility": "visible", "label": + "Merchant ID"}}}}, {"object": "CarrierType", "type": "OmniParcelAccount", + "readable": "OmniParcel", "logo": null, "fields": {"credentials": {"api_access_key": + {"visibility": "masked", "label": "API Access Key"}, "return_api_access_key": + {"visibility": "masked", "label": "Return API Access Key"}}, "test_credentials": + {"api_access_key": {"visibility": "masked", "label": "Test API Access Key"}, + "return_api_access_key": {"visibility": "masked", "label": "Test Return API + Access Key"}}}}, {"object": "CarrierType", "type": "OntracAccount", "readable": + "OnTrac", "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "OnTrac Account Number"}, "password": {"visibility": "password", + "label": "OnTrac API Password"}}, "test_credentials": {"account_number": {"visibility": + "visible", "label": "OnTrac Test Account Number"}, "password": {"visibility": + "password", "label": "OnTrac Test API Password"}}}}, {"object": "CarrierType", + "type": "OptimaAccount", "readable": "Optima", "logo": null, "fields": {"credentials": + {"username": {"visibility": "visible", "label": "Optima username"}, "password": + {"visibility": "password", "label": "Optima password"}, "account_number": + {"visibility": "visible", "label": "Optima account number"}}, "test_credentials": + {"username": {"visibility": "visible", "label": "Test Optima username"}, "password": + {"visibility": "password", "label": "Test Optima password"}, "account_number": + {"visibility": "visible", "label": "Test Optima account number"}}}}, {"object": + "CarrierType", "type": "OsmWorldwideAccount", "readable": "OSM Worldwide", + "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "Account Number"}, "mailer_id": {"visibility": "visible", + "label": "Mailer ID"}, "facility_code": {"visibility": "visible", "label": + "Facility Code/Cost Center ID for manifesting (optional)"}, "company_name": + {"visibility": "visible", "label": "Company Name"}, "aws_sftp_username": {"visibility": + "visible", "label": "SFTP Username"}}}}, {"object": "CarrierType", "type": + "PandionAccount", "readable": "Pandion", "logo": null, "fields": {"credentials": + {"api_key": {"visibility": "masked", "label": "Prod Pandion API Key"}}, "test_credentials": + {"api_key": {"visibility": "masked", "label": "Test Pandion API Key"}}}}, + {"object": "CarrierType", "type": "ParcelForceAccount", "readable": "Parcel + Force", "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "Parcelforce Contract Number"}, "username": {"visibility": + "visible", "label": "expressLink API Username"}, "password": {"visibility": + "password", "label": "expressLink API Password"}, "department_id": {"visibility": + "visible", "label": "Department ID - not required"}}, "test_credentials": + {"account_number": {"visibility": "visible", "label": "Parcelforce Test Contract + Number"}, "username": {"visibility": "visible", "label": "Test expressLink + API Username"}, "password": {"visibility": "password", "label": "Test expressLink + API Password"}, "department_id": {"visibility": "visible", "label": "Test + Department ID - not required"}}}}, {"object": "CarrierType", "type": "ParcllAccount", + "readable": "Cirro E-Commerce", "logo": null, "fields": {"credentials": {"api_key": + {"visibility": "masked", "label": "Cirro E-Commerce API key"}, "user_id": + {"visibility": "visible", "label": "Cirro E-Commerce User Id"}, "origin_hub": + {"visibility": "select", "label": "Cirro E-Commerce Origin Hub"}}, "test_credentials": + {"api_key": {"visibility": "masked", "label": "Test Cirro E-Commerce API key"}, + "user_id": {"visibility": "visible", "label": "Test Cirro E-Commerce User + Id"}, "origin_hub": {"visibility": "select", "label": "Test Cirro E-Commerce + Origin Hub"}}}}, {"object": "CarrierType", "type": "PassportGlobalAccount", + "readable": "Passport Global", "logo": null, "fields": {"credentials": {"api_key": + {"visibility": "masked", "label": "Passport Global API key"}, "email": {"visibility": + "visible", "label": "Customer email address registered with Passport Global"}, + "name": {"visibility": "visible", "label": "Customer name registered with + Passport Global"}, "company_name": {"visibility": "visible", "label": "Customer + company name registered with Passport Global"}, "phone": {"visibility": "visible", + "label": "Customer phone number registered with Passport Global (optional)"}}, + "test_credentials": {"api_key": {"visibility": "masked", "label": "Passport + Global Test API key"}, "email": {"visibility": "visible", "label": "Customer + email address registered with Passport Global"}, "name": {"visibility": "visible", + "label": "Customer name registered with Passport Global"}, "company_name": + {"visibility": "visible", "label": "Customer company name registered with + Passport Global"}, "phone": {"visibility": "visible", "label": "Customer phone + number registered with Passport Global (optional)"}}}}, {"object": "CarrierType", + "type": "PurolatorAccount", "readable": "Purolator", "logo": null, "fields": + {"credentials": {"account_number": {"visibility": "visible", "label": "Purolator + Account Number"}, "api_key": {"visibility": "masked", "label": "Production + API Key"}, "password": {"visibility": "password", "label": "Production API + Key Password"}}}}, {"object": "CarrierType", "type": "RoyalMailAccount", "readable": + "Royal Mail", "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "Royal Mail Account Number"}, "username": {"visibility": + "visible", "label": "OBA Email Address"}, "posting_location_number": {"visibility": + "visible", "label": "Posting Location Number"}}}}, {"object": "CarrierType", + "type": "RRDonnelleyAccount", "readable": "ePost Global", "logo": null, "fields": + {"credentials": {"account_number": {"visibility": "visible", "label": "ePostGlobal + Account Number"}}}}, {"object": "CarrierType", "type": "SendleAccount", "readable": + "Sendle", "logo": null, "fields": {"credentials": {"api_key": {"visibility": + "masked", "label": "Sendle API Key"}, "user_id": {"visibility": "visible", + "label": "Sendle ID"}}, "test_credentials": {"api_key": {"visibility": "masked", + "label": "Sendle Sandbox API Key"}, "user_id": {"visibility": "visible", "label": + "Sendle Sandbox ID"}}}}, {"object": "CarrierType", "type": "SfExpressAccount", + "readable": "SF Express", "logo": null, "fields": {"credentials": {"checkword": + {"visibility": "visible", "label": "SF Express checkword"}, "customer_code": + {"visibility": "visible", "label": "SF Express customer code"}, "customer_id": + {"visibility": "visible", "label": "SF Express customer id"}}, "test_credentials": + {"checkword": {"visibility": "visible", "label": "Test SF Express checkword"}, + "customer_code": {"visibility": "visible", "label": "Test SF Express customer + code"}, "customer_id": {"visibility": "visible", "label": "Test SF Express + customer id"}}}}, {"object": "CarrierType", "type": "SmartKargoAccount", "readable": + "SmartKargo", "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "SmartKargo account number"}}, "test_credentials": {"account_number": + {"visibility": "visible", "label": "Test SmartKargo account number"}}}}, {"object": + "CarrierType", "type": "SonicAccount", "readable": "Sonic", "logo": null, + "fields": {"credentials": {"username": {"visibility": "visible", "label": + "Sonic username"}, "password": {"visibility": "password", "label": "Sonic + password"}, "account_number": {"visibility": "visible", "label": "Sonic account + number"}}, "test_credentials": {"username": {"visibility": "visible", "label": + "Test Sonic username"}, "password": {"visibility": "password", "label": "Test + Sonic password"}, "account_number": {"visibility": "visible", "label": "Test + Sonic account number"}}}}, {"object": "CarrierType", "type": "SpeedeeAccount", + "readable": "Spee-Dee", "logo": null, "fields": {"credentials": {"account_number": + {"visibility": "visible", "label": "Spee-Dee Account Number"}}}}, {"object": + "CarrierType", "type": "SwyftAccount", "readable": "Swyft", "logo": null, + "fields": {"credentials": {"password": {"visibility": "password", "label": + "Swyft API Key"}}, "test_credentials": {"password": {"visibility": "password", + "label": "Test Swyft API Key"}}}}, {"object": "CarrierType", "type": "TforceConciseAccount", + "readable": "TForce", "logo": null, "fields": {"credentials": {"username": + {"visibility": "visible", "label": "TForce Username"}, "password": {"visibility": + "password", "label": "TForce Password"}, "account_number": {"visibility": + "visible", "label": "TForce Account Number"}}, "test_credentials": {"username": + {"visibility": "visible", "label": "Test TForce Username"}, "password": {"visibility": + "password", "label": "Test TForce Password"}, "account_number": {"visibility": + "visible", "label": "Test TForce Account Number"}}}}, {"object": "CarrierType", + "type": "TollAccount", "readable": "Toll", "logo": null, "fields": {"credentials": + {"account_number": {"visibility": "visible", "label": "Toll Account Number"}, + "business_unit": {"visibility": "visible", "label": "Toll Business Unit (Ex. + IPEC)"}, "source_system_code": {"visibility": "visible", "label": "Toll Source + System Code"}}, "test_credentials": {"account_number": {"visibility": "visible", + "label": "Toll Test Account Number"}, "business_unit": {"visibility": "visible", + "label": "Toll Business Unit (Ex. IPEC)"}, "source_system_code": {"visibility": + "visible", "label": "Toll Test Source System Code"}}}}, {"object": "CarrierType", + "type": "UdsAccount", "readable": "UDS", "logo": null, "fields": {"credentials": + {"ftp_username": {"visibility": "visible", "label": "FTP Username"}, "ftp_password": + {"visibility": "password", "label": "FTP Password"}}}}, {"object": "CarrierType", + "type": "UpsAccount", "readable": "UPS", "logo": null, "fields": {"credentials": + {"access_license_number": {"visibility": "invisible", "label": "UPS Access + License Number"}, "account_number": {"visibility": "readonly", "label": "UPS + Account Number"}, "user_id": {"visibility": "invisible", "label": "UPS.com + User ID"}, "password": {"visibility": "invisible", "label": "UPS.com Password"}}, + "creation_fields": {"registration_data": {"account_number": {"label": "UPS + Account Number", "visibility": "visible"}, "client_ip": {"label": "Client + IP", "visibility": "invisible"}, "name": {"label": "Company Contact Name", + "visibility": "visible"}, "title": {"label": "Company Contact Job Title", + "visibility": "visible"}, "company": {"label": "Company Name", "visibility": + "visible"}, "phone": {"label": "Company Phone", "visibility": "visible"}, + "email": {"label": "Company Email", "visibility": "visible"}, "website": {"label": + "Company Website", "visibility": "visible"}, "street1": {"label": "Shipping + Street 1", "visibility": "visible"}, "street2": {"label": "Shipping Street + 2", "visibility": "visible"}, "city": {"label": "Shipping City", "visibility": + "visible"}, "state": {"label": "Shipping State", "visibility": "visible"}, + "postal_code": {"label": "Shipping Postal Code", "visibility": "visible"}, + "country": {"label": "Shipping Country", "visibility": "visible"}, "invoice_number": + {"label": "UPS Invoice Number", "visibility": "visible"}, "invoice_date": + {"label": "UPS Invoice Date", "visibility": "visible"}, "invoice_amount": + {"label": "UPS Invoice Amount", "visibility": "visible"}, "invoice_currency": + {"label": "UPS Invoice Currency", "visibility": "visible"}, "invoice_control_id": + {"label": "UPS Invoice Control ID", "visibility": "visible"}}}, "custom_workflow": + true}}, {"object": "CarrierType", "type": "UpsIparcelAccount", "readable": + "UPS i-Parcel", "logo": null, "fields": {"credentials": {"api_key": {"visibility": + "masked", "label": "i-Parcel API key"}}}}, {"object": "CarrierType", "type": + "UpsMailInnovationsAccount", "readable": "UPS Mail Innovations", "logo": null, + "fields": {"credentials": {"account_number": {"visibility": "visible", "label": + "UPS Shipper Number"}, "user_id": {"visibility": "visible", "label": "UPS.com + User ID"}, "password": {"visibility": "password", "label": "UPS.com Password"}, + "customer_id": {"visibility": "visible", "label": "UPS customer id (optional)"}, + "customer_guid": {"visibility": "visible", "label": "UPS customer GUID (optional)"}}}}, + {"object": "CarrierType", "type": "UspsAccount", "readable": "USPS", "logo": + null, "fields": {"credentials": {"company_name": {"visibility": "visible", + "label": "Account Holder Name"}, "address_street": {"visibility": "visible", + "label": "Street Address"}, "address_city": {"visibility": "visible", "label": + "City"}, "address_state": {"visibility": "visible", "label": "State"}, "address_zip": + {"visibility": "visible", "label": "ZIP Code"}, "phone": {"visibility": "visible", + "label": "Phone Number"}, "email": {"visibility": "visible", "label": "Email + Address"}, "shipper_id": {"visibility": "visible", "label": "Shipper Identifier + (Optional)"}}}}, {"object": "CarrierType", "type": "VehoAccount", "readable": + "Veho", "logo": null, "fields": {"credentials": {"api_key": {"visibility": + "masked", "label": "Veho Production API Key"}}, "test_credentials": {"api_key": + {"visibility": "masked", "label": "Veho Test API Key"}}}}, {"object": "CarrierType", + "type": "XDeliveryAccount", "readable": "Maergo", "logo": null, "fields": + {"credentials": {"username": {"visibility": "visible", "label": "Maergo Username"}, + "password": {"visibility": "password", "label": "Maergo Password"}}, "test_credentials": + {"username": {"visibility": "visible", "label": "Test Maergo Username"}, "password": + {"visibility": "password", "label": "Test Maergo Password"}}}}]' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '38432' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdad65aaedd5e78bac280011221f + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.037208' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/carrier_types + response: + body: + string: '[{"object": "CarrierType", "type": "AmazonMwsAccount", "readable": + "Amazon MWS", "logo": null, "fields": {"credentials": {"access_key_id": {"visibility": + "visible", "label": "AWS Access Key ID"}, "secret_key": {"visibility": "password", + "label": "Secret Key"}, "merchant_id": {"visibility": "visible", "label": + "Seller ID"}}}}, {"object": "CarrierType", "type": "ApcAccount", "readable": + "APC", "logo": null, "fields": {"credentials": {"shipper_id": {"visibility": + "visible", "label": "APC Shipper ID"}, "password": {"visibility": "password", + "label": "APC Password"}, "facility": {"visibility": "visible", "label": "APC + Facility (e.g., NJ, LA)"}}}}, {"object": "CarrierType", "type": "AsendiaUsaAccount", + "readable": "Asendia USA", "logo": null, "fields": {"credentials": {"account_number": + {"visibility": "visible", "label": "AsendiaUsa Account Number"}, "sub_account_number": + {"visibility": "visible", "label": "AsendiaUsa Sub Account Number"}, "username": + {"visibility": "visible", "label": "AsendiaUsa Username"}, "password": {"visibility": + "password", "label": "AsendiaUsa Password"}, "api_key": {"visibility": "masked", + "label": "AsendiaUsa API key"}, "carrier_facility": {"visibility": "select", + "label": "AsendiaUsa Carrier Facility / Processing Location (Optional)"}}, + "test_credentials": {"account_number": {"visibility": "visible", "label": + "Test AsendiaUsa Account Number"}, "sub_account_number": {"visibility": "visible", + "label": "Test AsendiaUsa Sub Account Number"}, "username": {"visibility": + "visible", "label": "Test AsendiaUsa Username"}, "password": {"visibility": + "password", "label": "Test AsendiaUsa Password"}, "api_key": {"visibility": + "masked", "label": "Test AsendiaUsa API key"}, "carrier_facility": {"visibility": + "select", "label": "Test AsendiaUsa Carrier Facility / Processing Location + (Optional)"}}}}, {"object": "CarrierType", "type": "AustraliaPostAccount", + "readable": "Australia Post", "logo": null, "fields": {"credentials": {"account_number": + {"visibility": "visible", "label": "Australia Post Account Number"}, "api_key": + {"visibility": "masked", "label": "Australia Post API Key"}, "api_secret": + {"visibility": "password", "label": "Australia Post Secret Key"}, "print_as_you_go": + {"visibility": "checkbox", "label": "Print as you go"}}, "test_credentials": + {"account_number": {"visibility": "visible", "label": "Australia Post Test + Account Number"}, "api_key": {"visibility": "masked", "label": "Australia + Post Test API Key"}, "api_secret": {"visibility": "password", "label": "Australia + Post Test Secret Key"}, "print_as_you_go": {"visibility": "checkbox", "label": + "Print as you go"}}}}, {"object": "CarrierType", "type": "AxlehireV3Account", + "readable": "AxlehireV3", "logo": null, "fields": {"credentials": {"api_key": + {"visibility": "masked", "label": "Client Secret"}}, "test_credentials": {"api_key": + {"visibility": "masked", "label": "Client Secret"}}}}, {"object": "CarrierType", + "type": "BetterTrucksAccount", "readable": "Better Trucks", "logo": null, + "fields": {"credentials": {"api_key": {"visibility": "masked", "label": "Better + Trucks API key"}}, "test_credentials": {"api_key": {"visibility": "masked", + "label": "Test Better Trucks API key"}}}}, {"object": "CarrierType", "type": + "CanadaPostAccount", "readable": "Canada Post", "logo": null, "fields": {"credentials": + {"api_key": {"visibility": "masked", "label": "CanadaPost API Key"}, "contract_id": + {"visibility": "visible", "label": "CanadaPost Contract ID (contract customers + only)"}, "customer_number": {"visibility": "visible", "label": "CanadaPost + Customer Number"}, "has_credit_card": {"visibility": "checkbox", "label": + "CanadaPost account has credit card?"}, "not_platform": {"visibility": "invisible", + "label": "CanadaPost account not registered through platform?"}}, "test_credentials": + {"api_key": {"visibility": "masked", "label": "CanadaPost Test API Key"}, + "contract_id": {"visibility": "visible", "label": "CanadaPost Test Contract + ID (contract customers only)"}, "customer_number": {"visibility": "visible", + "label": "CanadaPost Test Customer Number"}, "has_credit_card": {"visibility": + "checkbox", "label": "CanadaPost Test account has credit card?"}, "not_platform": + {"visibility": "invisible", "label": "CanadaPost Test account not registered + through platform?"}}, "custom_workflow": true}}, {"object": "CarrierType", + "type": "CanparAccount", "readable": "Canpar", "logo": null, "fields": {"credentials": + {"account_number": {"visibility": "visible", "label": "Canpar Account Number"}, + "username": {"visibility": "visible", "label": "Canpar Username"}, "password": + {"visibility": "password", "label": "Canpar Password"}}, "test_credentials": + {"account_number": {"visibility": "visible", "label": "Test Canpar Account + Number"}, "username": {"visibility": "visible", "label": "Test Canpar Username"}, + "password": {"visibility": "password", "label": "Test Canpar Password"}}}}, + {"object": "CarrierType", "type": "ColumbusLastMileAccount", "readable": "CDL + Last Mile Solutions", "logo": null, "fields": {"credentials": {"username": + {"visibility": "visible", "label": "CDL Last Mile Solutions customer username"}, + "password": {"visibility": "password", "label": "CDL Last Mile Solutions customer + password"}, "tracking_code_prefix": {"visibility": "visible", "label": "CDL + Last Mile Solutions tracking code prefix"}}, "test_credentials": {"username": + {"visibility": "visible", "label": "CDL Last Mile Solutions customer test + username"}, "password": {"visibility": "password", "label": "CDL Last Mile + Solutions customer test password"}, "tracking_code_prefix": {"visibility": + "visible", "label": "CDL Last Mile Solutions tracking code prefix"}}}}, {"object": + "CarrierType", "type": "CourierExpressAccount", "readable": "Courier Express", + "logo": null, "fields": {"credentials": {"api_key": {"visibility": "masked", + "label": "Courier Express API key"}, "shipper_id": {"visibility": "visible", + "label": "Courier Express shipper ID"}}, "test_credentials": {"api_key": {"visibility": + "masked", "label": "Test Courier Express API key"}, "shipper_id": {"visibility": + "visible", "label": "Test Courier Express shipper ID"}}}}, {"object": "CarrierType", + "type": "CouriersPleaseAccount", "readable": "CouriersPlease", "logo": null, + "fields": {"credentials": {"username": {"visibility": "visible", "label": + "Account Number"}, "password": {"visibility": "password", "label": "Password"}}, + "test_credentials": {"username": {"visibility": "visible", "label": "Account + Number"}, "password": {"visibility": "password", "label": "Password"}}}}, + {"object": "CarrierType", "type": "DaiPostAccount", "readable": "Dai Post", + "logo": null, "fields": {"credentials": {"username": {"visibility": "visible", + "label": " Dai Post customer username"}, "password": {"visibility": "password", + "label": " Dai Post client secret"}, "origin_terminal": {"visibility": "visible", + "label": " Dai Post default origin terminal"}, "account_code": {"visibility": + "visible", "label": " 3-letter account code for customers with multiple accounts"}}}}, + {"object": "CarrierType", "type": "DeliverItAccount", "readable": "Deliver-It", + "logo": null, "fields": {"credentials": {"username": {"visibility": "visible", + "label": "Deliver-It Username"}, "password": {"visibility": "password", "label": + "Deliver-It Password"}, "account_number": {"visibility": "visible", "label": + "Deliver-It Account Number"}}, "test_credentials": {"username": {"visibility": + "visible", "label": "Test Deliver-It Username"}, "password": {"visibility": + "password", "label": "Test Deliver-It Password"}, "account_number": {"visibility": + "visible", "label": "Test Deliver-It Account Number"}}}}, {"object": "CarrierType", + "type": "DeutschePostUKAccount", "readable": "Deutsche Post UK", "logo": null, + "fields": {"credentials": {"client_id": {"visibility": "visible", "label": + "Deutsche Post UK Client ID"}, "client_secret": {"visibility": "password", + "label": "Deutsche Post UK Secret"}, "account_number": {"visibility": "visible", + "label": "Deutsche Post UK Account Number"}}, "test_credentials": {"client_id": + {"visibility": "visible", "label": "Test Deutsche Post UK Client ID"}, "client_secret": + {"visibility": "password", "label": "Test Deutsche Post UK Secret"}, "account_number": + {"visibility": "visible", "label": "Test Deutsche Post UK Account Number"}}}}, + {"object": "CarrierType", "type": "DhlEcommerceAsiaAccount", "readable": "DHL + Ecommerce Asia", "logo": null, "fields": {"credentials": {"account_number": + {"visibility": "visible", "label": "DHL Ecommerce Asia Account Number"}, "client_id": + {"visibility": "visible", "label": "DHL Ecommerce Asia Contract Number"}, + "password": {"visibility": "password", "label": "DHL Ecommerce Asia Password"}, + "barcode_prefix": {"visibility": "visible", "label": "DHL Ecommerce Asia Customer + ID"}}, "test_credentials": {"account_number": {"visibility": "visible", "label": + "Test DHL Ecommerce Asia Account Number"}, "client_id": {"visibility": "visible", + "label": "Test DHL Ecommerce Asia Contract Number"}, "password": {"visibility": + "password", "label": "Test DHL Ecommerce Asia Password"}, "barcode_prefix": + {"visibility": "visible", "label": "Test DHL Ecommerce Asia Customer ID"}}}}, + {"object": "CarrierType", "type": "DhlEcsAccount", "readable": "DHL eCommerce + Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions client ID"}, "client_secret": + {"visibility": "password", "label": "DHL eCommerce Solutions client secret"}, + "pickup_id": {"visibility": "visible", "label": "DHL eCommerce Solutions pickup + ID"}, "distribution_center": {"visibility": "visible", "label": "DHL eCommerce + Solutions distribution center"}}, "test_credentials": {"client_id": {"visibility": + "visible", "label": "Test DHL eCommerce Solutions client ID"}, "client_secret": + {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret"}, + "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions + pickup ID"}, "distribution_center": {"visibility": "visible", "label": "Test + DHL eCommerce Solutions distribution center"}}}}, {"object": "CarrierType", + "type": "DhlExpressAccount", "readable": "DHL Express", "logo": null, "fields": + {"credentials": {"account_number": {"visibility": "visible", "label": "DHL + Account Number"}, "country": {"visibility": "visible", "label": "Account Country + Code (2 Letter)"}, "site_id": {"visibility": "visible", "label": "Site ID + (Optional)"}, "password": {"visibility": "password", "label": "Password (Optional)"}, + "is_reseller": {"visibility": "checkbox", "label": "Reseller Account? (check + if yes)"}}}}, {"object": "CarrierType", "type": "DhlPaketAccount", "readable": + "DHL Paket", "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "DHL Paket Account Number (EKP)"}, "contract_id": {"visibility": + "visible", "label": "DHL Paket Contract Participation Value"}, "cig_username": + {"visibility": "visible", "label": "DHL Paket CIG Username"}, "cig_password": + {"visibility": "password", "label": "DHL Paket CIG Password"}, "tnt_username": + {"visibility": "visible", "label": "DHL Paket TNT Username (if applicable)"}, + "tnt_password": {"visibility": "password", "label": "DHL Paket TNT Password + (if applicable)"}, "retoure_username": {"visibility": "visible", "label": + "DHL Paket Retoure Username (if applicable)"}, "retoure_password": {"visibility": + "password", "label": "DHL Paket Retoure Password (if applicable)"}}, "test_credentials": + {"account_number": {"visibility": "visible", "label": "Test DHL Paket Account + Number (EKP)"}, "contract_id": {"visibility": "visible", "label": "Test DHL + Paket Contract Participation Value"}, "cig_username": {"visibility": "visible", + "label": " Test DHL Paket CIG Username"}, "cig_password": {"visibility": "password", + "label": "Test DHL Paket CIG Password"}, "tnt_username": {"visibility": "visible", + "label": "Test DHL Paket TNT Username (if applicable)"}, "tnt_password": {"visibility": + "password", "label": "Test DHL Paket TNT Password (if applicable)"}, "retoure_username": + {"visibility": "visible", "label": "Test DHL Paket Retoure Username (if applicable)"}, + "retoure_password": {"visibility": "password", "label": "Test DHL Paket Retoure + Password (if applicable)"}}}}, {"object": "CarrierType", "type": "DhlParcelAccount", + "readable": "DHL Parcel", "logo": null, "fields": {"credentials": {"user_id": + {"visibility": "visible", "label": "DHL Parcel User ID"}, "api_key": {"visibility": + "masked", "label": "DHL Parcel API Key"}, "account_number": {"visibility": + "visible", "label": "DHL Parcel Account Number"}}, "test_credentials": {"user_id": + {"visibility": "visible", "label": "DHL Parcel User ID"}, "api_key": {"visibility": + "masked", "label": "DHL Parcel API Key"}, "account_number": {"visibility": + "visible", "label": "DHL Parcel Account Number"}}}}, {"object": "CarrierType", + "type": "DpdAccount", "readable": "DPD", "logo": null, "fields": {"credentials": + {"username": {"visibility": "visible", "label": "WebConnect Username"}, "password": + {"visibility": "password", "label": "WebConnect Password"}, "customer_number": + {"visibility": "visible", "label": "DPD Customer Number"}}, "test_credentials": + {"username": {"visibility": "visible", "label": "Test WebConnect Username"}, + "password": {"visibility": "password", "label": "Test WebConnect Password"}, + "customer_number": {"visibility": "visible", "label": "DPD Customer Number"}}}}, + {"object": "CarrierType", "type": "DpdUkAccount", "readable": "DPD UK", "logo": + null, "fields": {"credentials": {"account_number": {"visibility": "visible", + "label": "DPD UK Account Number"}, "username": {"visibility": "visible", "label": + "DPD UK Username"}, "password": {"visibility": "password", "label": "DPD UK + Password"}}}}, {"object": "CarrierType", "type": "DpdNlAccount", "readable": + "DPD NL", "logo": null, "fields": {"credentials": {"username": {"visibility": + "visible", "label": "Delis ID"}, "password": {"visibility": "password", "label": + "Password"}}, "test_credentials": {"username": {"visibility": "visible", "label": + "Test Delis ID"}, "password": {"visibility": "password", "label": "Test Password"}}}}, + {"object": "CarrierType", "type": "EstafetaAccount", "readable": "Estafeta", + "logo": null, "fields": {"credentials": {"customer_id": {"visibility": "visible", + "label": "Subscriber ID"}, "username": {"visibility": "visible", "label": + "Login"}, "password": {"visibility": "password", "label": "Password"}, "client_id": + {"visibility": "visible", "label": "Tracking Subscriber ID"}, "user_id": {"visibility": + "visible", "label": "Tracking Login"}, "secret_key": {"visibility": "password", + "label": "Tracking Password"}, "customer_number": {"visibility": "visible", + "label": "Customer Number"}, "hub_id": {"visibility": "visible", "label": + "Office Number"}}, "test_credentials": {"customer_id": {"visibility": "visible", + "label": "Test Subscriber ID"}, "username": {"visibility": "visible", "label": + "Test Login"}, "password": {"visibility": "password", "label": "Test Password"}, + "client_id": {"visibility": "visible", "label": "Test Tracking Subscriber + ID"}, "user_id": {"visibility": "visible", "label": "Test Tracking Login"}, + "secret_key": {"visibility": "password", "label": "Test Tracking Password"}, + "customer_number": {"visibility": "visible", "label": "Test Customer Number"}, + "hub_id": {"visibility": "visible", "label": "Test Office Number"}}}}, {"object": + "CarrierType", "type": "FastwayAccount", "readable": "Fastway", "logo": null, + "fields": {"credentials": {"api_key": {"visibility": "masked", "label": "API + Key"}}}}, {"object": "CarrierType", "type": "FedexAccount", "readable": "FedEx", + "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "readonly", "label": "FedEx Account Number"}, "meter_number": {"visibility": + "invisible", "label": "FedEx Production Meter Number"}, "key": {"visibility": + "invisible", "label": "FedEx Production Authentication Key"}, "password": + {"visibility": "invisible", "label": "FedEx Production Password"}}, "test_credentials": + {"account_number": {"visibility": "readonly", "label": "FedEx Account Number"}, + "meter_number": {"visibility": "invisible", "label": "FedEx Test Meter Number"}, + "key": {"visibility": "invisible", "label": "FedEx Developer Test Key"}, "password": + {"visibility": "invisible", "label": "FedEx Test Password"}}, "creation_fields": + {"credential_information": {"account_number": {"label": "FedEx Account #", + "visibility": "visible"}}, "company_information": {"corporate_first_name": + {"label": "Company Contact First Name", "visibility": "visible"}, "corporate_last_name": + {"label": "Company Contact Last Name", "visibility": "visible"}, "corporate_job_title": + {"label": "Company Contact Job Title", "visibility": "visible"}, "corporate_company_name": + {"label": "Company Name", "visibility": "visible"}, "corporate_phone_number": + {"label": "Company Phone", "visibility": "visible"}, "corporate_email_address": + {"label": "Company Email", "visibility": "visible"}, "corporate_streets": + {"label": "Company Street", "visibility": "visible"}, "corporate_city": {"label": + "Company City", "visibility": "visible"}, "corporate_state": {"label": "Company + State", "visibility": "visible"}, "corporate_postal_code": {"label": "Company + Postal Code", "visibility": "visible"}, "corporate_country_code": {"label": + "Company Country Code", "visibility": "visible"}}, "address_information": + {"shipping_streets": {"label": "Shipping Street", "visibility": "visible"}, + "shipping_city": {"label": "Shipping City", "visibility": "visible"}, "shipping_state": + {"label": "Shipping State", "visibility": "visible"}, "shipping_postal_code": + {"label": "Shipping Postal Code ", "visibility": "visible"}, "shipping_country_code": + {"label": "Shipping Country Code", "visibility": "visible"}}}, "custom_workflow": + true}}, {"object": "CarrierType", "type": "FedexCrossBorderAccount", "readable": + "FedEx Cross Border", "logo": null, "fields": {"credentials": {"api_key": + {"visibility": "masked", "label": "FedEx Cross Border API key"}, "origin_hub": + {"visibility": "select", "label": "FedEx Cross Border Origin Hub"}}, "test_credentials": + {"api_key": {"visibility": "masked", "label": "Test FedEx Cross Border API + key"}, "origin_hub": {"visibility": "select", "label": "Test FedEx Cross Border + Origin Hub"}}}}, {"object": "CarrierType", "type": "FedexMailviewAccount", + "readable": "FedEx MailView", "logo": null, "fields": {"credentials": {"customer_id": + {"visibility": "visible", "label": "Customer Code"}, "service_id": {"visibility": + "password", "label": "Service ID"}, "fimspremium": {"visibility": "checkbox", + "label": "FIMS Premium"}, "fimsstandard": {"visibility": "checkbox", "label": + "FIMS Standard"}, "mailviewpremium": {"visibility": "checkbox", "label": "MailView + Premium"}, "mailviewlight": {"visibility": "checkbox", "label": "MailView + Light"}}}}, {"object": "CarrierType", "type": "FedexSmartpostAccount", "readable": + "FedEx SmartPost", "logo": null, "fields": {"credentials": {"account_number": + {"visibility": "visible", "label": "FedEx SmartPost Account Number"}, "hub_id": + {"visibility": "visible", "label": "FedEx SmartPost HubID"}, "meter_number": + {"visibility": "visible", "label": "Fedex SmartPost Meter Number"}, "key": + {"visibility": "masked", "label": "FedEx SmartPost Access Key"}, "password": + {"visibility": "password", "label": "SmartPost Access Key Password"}}, "creation_fields": + {"credential_information": {"account_number": {"label": "FedEx SmartPost Account + #", "visibility": "visible"}, "hub_id": {"label": "FedEx SmartPost Hub ID", + "visibility": "visible"}}, "company_information": {"corporate_first_name": + {"label": "Company Contact First Name", "visibility": "visible"}, "corporate_last_name": + {"label": "Company Contact Last Name", "visibility": "visible"}, "corporate_job_title": + {"label": "Company Contact Job Title", "visibility": "visible"}, "corporate_company_name": + {"label": "Company Name", "visibility": "visible"}, "corporate_phone_number": + {"label": "Company Phone", "visibility": "visible"}, "corporate_email_address": + {"label": "Company Email", "visibility": "visible"}, "corporate_streets": + {"label": "Company Street", "visibility": "visible"}, "corporate_city": {"label": + "Company City", "visibility": "visible"}, "corporate_state": {"label": "Company + State", "visibility": "visible"}, "corporate_postal_code": {"label": "Company + Postal Code", "visibility": "visible"}, "corporate_country_code": {"label": + "Company Country Code", "visibility": "visible"}}, "address_information": + {"shipping_streets": {"label": "Shipping Street", "visibility": "visible"}, + "shipping_city": {"label": "Shipping City", "visibility": "visible"}, "shipping_state": + {"label": "Shipping State", "visibility": "visible"}, "shipping_postal_code": + {"label": "Shipping Postal Code ", "visibility": "visible"}, "shipping_country_code": + {"label": "Shipping Country Code", "visibility": "visible"}}}, "custom_workflow": + true}}, {"object": "CarrierType", "type": "FirstMileConciseAccount", "readable": + "First Mile", "logo": null, "fields": {"credentials": {"username": {"visibility": + "visible", "label": "FirstMile Username"}, "password": {"visibility": "password", + "label": "FirsMile Password"}, "account_number": {"visibility": "visible", + "label": "FirstMile Account Number"}}, "test_credentials": {"username": {"visibility": + "visible", "label": "Test FirstMile Username"}, "password": {"visibility": + "password", "label": "Test FirstMile Password"}, "account_number": {"visibility": + "visible", "label": "Test FirstMile Account Number"}}}}, {"object": "CarrierType", + "type": "FlexportAccount", "readable": "Flexport", "logo": null, "fields": + {"credentials": {"api_key": {"visibility": "masked", "label": "Flexport Account + API Key"}}}}, {"object": "CarrierType", "type": "GsoAccount", "readable": + "GSO", "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "GSO Account Number"}, "username": {"visibility": "visible", + "label": "Username"}, "password": {"visibility": "password", "label": "Password"}}}}, + {"object": "CarrierType", "type": "HailifyAccount", "readable": "Hailify", + "logo": null, "fields": {"credentials": {"partner_id": {"visibility": "visible", + "label": "Hailify Partner ID"}}, "test_credentials": {"partner_id": {"visibility": + "visible", "label": "Test Hailify Partner ID"}}}}, {"object": "CarrierType", + "type": "HermesAccount", "readable": "Evri", "logo": null, "fields": {"credentials": + {"username": {"visibility": "visible", "label": "Evri Username"}, "password": + {"visibility": "password", "label": "Evri Password"}, "client_id": {"visibility": + "visible", "label": "Evri Client ID"}, "auth_id": {"visibility": "visible", + "label": "Evri Auth ID"}, "auth_secret": {"visibility": "password", "label": + "Evri Auth Secret"}, "client_name": {"visibility": "visible", "label": "Evri + Client name"}, "group_id": {"visibility": "visible", "label": "Evri Group + ID"}, "client_licence": {"visibility": "masked", "label": "Evri Client License"}, + "api_key": {"visibility": "masked", "label": "Evri API Key"}}}}, {"object": + "CarrierType", "type": "InterlinkExpressAccount", "readable": "Interlink Express", + "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "Interlink Express Account Number"}, "username": {"visibility": + "visible", "label": "Interlink Express Username"}, "password": {"visibility": + "password", "label": "Interlink Express Password"}, "vat_number": {"visibility": + "visible", "label": "VAT Number"}}}}, {"object": "CarrierType", "type": "LasershipV2Account", + "readable": "LaserShipV2", "logo": null, "fields": {"credentials": {"api_key": + {"visibility": "masked", "label": "LaserShipV2 API Key"}, "api_id": {"visibility": + "visible", "label": "LaserShipV2 API ID"}, "facility": {"visibility": "visible", + "label": "LaserShipV2 Customer Branch"}, "cargo_claim_value": {"visibility": + "visible", "label": "LaserShipV2 Cargo Insurance Claim Value (USD)"}, "is_reseller": + {"visibility": "checkbox", "label": "3PL Account? (check if yes)"}, "injection_location_type": + {"visibility": "visible", "label": "Injection Address Location Type (\"Business\" + or \"Residence\")"}, "injection_contact": {"visibility": "visible", "label": + "Injection Address Contact"}, "injection_organization": {"visibility": "visible", + "label": "Injection Address Organization"}, "injection_street1": {"visibility": + "visible", "label": "Injection Address Street1"}, "injection_street2": {"visibility": + "visible", "label": "Injection Address Street2"}, "injection_city": {"visibility": + "visible", "label": "Injection Address City"}, "injection_state": {"visibility": + "visible", "label": "Injection Address State"}, "injection_zip": {"visibility": + "visible", "label": "Injection Address Postal Code"}, "injection_country": + {"visibility": "visible", "label": "Injection Address Country Code"}, "injection_phone": + {"visibility": "visible", "label": "Injection Address Phone"}, "injection_phone_ext": + {"visibility": "visible", "label": "Injection Address Phone Extension"}, "injection_email": + {"visibility": "visible", "label": "Injection Address Email"}, "injection_instruction": + {"visibility": "visible", "label": "Injection Address Instruction"}, "injection_note": + {"visibility": "visible", "label": "Injection Address Note"}}}}, {"object": + "CarrierType", "type": "LoomisExpressAccount", "readable": "Loomis Express", + "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "Loomis Express Account Number"}, "username": {"visibility": + "visible", "label": "Loomis Express Username"}, "password": {"visibility": + "password", "label": "Loomis Express Password"}}, "test_credentials": {"account_number": + {"visibility": "visible", "label": "Test Loomis Express Account Number"}, + "username": {"visibility": "visible", "label": "Test Loomis Express Username"}, + "password": {"visibility": "password", "label": "Test Loomis Express Password"}}}}, + {"object": "CarrierType", "type": "LsoAccount", "readable": "LSO", "logo": + null, "fields": {"credentials": {"account_number": {"visibility": "visible", + "label": "LSO Production Account Number"}, "username": {"visibility": "visible", + "label": "LSO Production Username"}, "password": {"visibility": "password", + "label": "LSO Production Password"}}, "test_credentials": {"account_number": + {"visibility": "visible", "label": "LSO Test Account Number"}, "username": + {"visibility": "visible", "label": "LSO Test Username"}, "password": {"visibility": + "password", "label": "LSO Test Password"}}}}, {"object": "CarrierType", "type": + "NewgisticsAccount", "readable": "Newgistics", "logo": null, "fields": {"credentials": + {"client_id": {"visibility": "visible", "label": "Client ID"}, "client_secret": + {"visibility": "password", "label": "Client Secret"}, "client_facility_id": + {"visibility": "visible", "label": "Client Facility ID"}, "fulfiller_facility_id": + {"visibility": "visible", "label": "Newgistics Facility ID"}, "tracking_api_key": + {"visibility": "masked", "label": "Tracking API Key"}, "merchant_id": {"visibility": + "visible", "label": "Merchant ID"}}, "test_credentials": {"client_id": {"visibility": + "visible", "label": "Client ID"}, "client_secret": {"visibility": "password", + "label": "Client Secret"}, "client_facility_id": {"visibility": "visible", + "label": "Client Facility ID"}, "fulfiller_facility_id": {"visibility": "visible", + "label": "Newgistics Facility ID"}, "tracking_api_key": {"visibility": "masked", + "label": "Tracking API Key"}, "merchant_id": {"visibility": "visible", "label": + "Merchant ID"}}}}, {"object": "CarrierType", "type": "OmniParcelAccount", + "readable": "OmniParcel", "logo": null, "fields": {"credentials": {"api_access_key": + {"visibility": "masked", "label": "API Access Key"}, "return_api_access_key": + {"visibility": "masked", "label": "Return API Access Key"}}, "test_credentials": + {"api_access_key": {"visibility": "masked", "label": "Test API Access Key"}, + "return_api_access_key": {"visibility": "masked", "label": "Test Return API + Access Key"}}}}, {"object": "CarrierType", "type": "OntracAccount", "readable": + "OnTrac", "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "OnTrac Account Number"}, "password": {"visibility": "password", + "label": "OnTrac API Password"}}, "test_credentials": {"account_number": {"visibility": + "visible", "label": "OnTrac Test Account Number"}, "password": {"visibility": + "password", "label": "OnTrac Test API Password"}}}}, {"object": "CarrierType", + "type": "OptimaAccount", "readable": "Optima", "logo": null, "fields": {"credentials": + {"username": {"visibility": "visible", "label": "Optima username"}, "password": + {"visibility": "password", "label": "Optima password"}, "account_number": + {"visibility": "visible", "label": "Optima account number"}}, "test_credentials": + {"username": {"visibility": "visible", "label": "Test Optima username"}, "password": + {"visibility": "password", "label": "Test Optima password"}, "account_number": + {"visibility": "visible", "label": "Test Optima account number"}}}}, {"object": + "CarrierType", "type": "OsmWorldwideAccount", "readable": "OSM Worldwide", + "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "Account Number"}, "mailer_id": {"visibility": "visible", + "label": "Mailer ID"}, "facility_code": {"visibility": "visible", "label": + "Facility Code/Cost Center ID for manifesting (optional)"}, "company_name": + {"visibility": "visible", "label": "Company Name"}, "aws_sftp_username": {"visibility": + "visible", "label": "SFTP Username"}}}}, {"object": "CarrierType", "type": + "PandionAccount", "readable": "Pandion", "logo": null, "fields": {"credentials": + {"api_key": {"visibility": "masked", "label": "Prod Pandion API Key"}}, "test_credentials": + {"api_key": {"visibility": "masked", "label": "Test Pandion API Key"}}}}, + {"object": "CarrierType", "type": "ParcelForceAccount", "readable": "Parcel + Force", "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "Parcelforce Contract Number"}, "username": {"visibility": + "visible", "label": "expressLink API Username"}, "password": {"visibility": + "password", "label": "expressLink API Password"}, "department_id": {"visibility": + "visible", "label": "Department ID - not required"}}, "test_credentials": + {"account_number": {"visibility": "visible", "label": "Parcelforce Test Contract + Number"}, "username": {"visibility": "visible", "label": "Test expressLink + API Username"}, "password": {"visibility": "password", "label": "Test expressLink + API Password"}, "department_id": {"visibility": "visible", "label": "Test + Department ID - not required"}}}}, {"object": "CarrierType", "type": "ParcllAccount", + "readable": "Cirro E-Commerce", "logo": null, "fields": {"credentials": {"api_key": + {"visibility": "masked", "label": "Cirro E-Commerce API key"}, "user_id": + {"visibility": "visible", "label": "Cirro E-Commerce User Id"}, "origin_hub": + {"visibility": "select", "label": "Cirro E-Commerce Origin Hub"}}, "test_credentials": + {"api_key": {"visibility": "masked", "label": "Test Cirro E-Commerce API key"}, + "user_id": {"visibility": "visible", "label": "Test Cirro E-Commerce User + Id"}, "origin_hub": {"visibility": "select", "label": "Test Cirro E-Commerce + Origin Hub"}}}}, {"object": "CarrierType", "type": "PassportGlobalAccount", + "readable": "Passport Global", "logo": null, "fields": {"credentials": {"api_key": + {"visibility": "masked", "label": "Passport Global API key"}, "email": {"visibility": + "visible", "label": "Customer email address registered with Passport Global"}, + "name": {"visibility": "visible", "label": "Customer name registered with + Passport Global"}, "company_name": {"visibility": "visible", "label": "Customer + company name registered with Passport Global"}, "phone": {"visibility": "visible", + "label": "Customer phone number registered with Passport Global (optional)"}}, + "test_credentials": {"api_key": {"visibility": "masked", "label": "Passport + Global Test API key"}, "email": {"visibility": "visible", "label": "Customer + email address registered with Passport Global"}, "name": {"visibility": "visible", + "label": "Customer name registered with Passport Global"}, "company_name": + {"visibility": "visible", "label": "Customer company name registered with + Passport Global"}, "phone": {"visibility": "visible", "label": "Customer phone + number registered with Passport Global (optional)"}}}}, {"object": "CarrierType", + "type": "PurolatorAccount", "readable": "Purolator", "logo": null, "fields": + {"credentials": {"account_number": {"visibility": "visible", "label": "Purolator + Account Number"}, "api_key": {"visibility": "masked", "label": "Production + API Key"}, "password": {"visibility": "password", "label": "Production API + Key Password"}}}}, {"object": "CarrierType", "type": "RoyalMailAccount", "readable": + "Royal Mail", "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "Royal Mail Account Number"}, "username": {"visibility": + "visible", "label": "OBA Email Address"}, "posting_location_number": {"visibility": + "visible", "label": "Posting Location Number"}}}}, {"object": "CarrierType", + "type": "RRDonnelleyAccount", "readable": "ePost Global", "logo": null, "fields": + {"credentials": {"account_number": {"visibility": "visible", "label": "ePostGlobal + Account Number"}}}}, {"object": "CarrierType", "type": "SendleAccount", "readable": + "Sendle", "logo": null, "fields": {"credentials": {"api_key": {"visibility": + "masked", "label": "Sendle API Key"}, "user_id": {"visibility": "visible", + "label": "Sendle ID"}}, "test_credentials": {"api_key": {"visibility": "masked", + "label": "Sendle Sandbox API Key"}, "user_id": {"visibility": "visible", "label": + "Sendle Sandbox ID"}}}}, {"object": "CarrierType", "type": "SfExpressAccount", + "readable": "SF Express", "logo": null, "fields": {"credentials": {"checkword": + {"visibility": "visible", "label": "SF Express checkword"}, "customer_code": + {"visibility": "visible", "label": "SF Express customer code"}, "customer_id": + {"visibility": "visible", "label": "SF Express customer id"}}, "test_credentials": + {"checkword": {"visibility": "visible", "label": "Test SF Express checkword"}, + "customer_code": {"visibility": "visible", "label": "Test SF Express customer + code"}, "customer_id": {"visibility": "visible", "label": "Test SF Express + customer id"}}}}, {"object": "CarrierType", "type": "SmartKargoAccount", "readable": + "SmartKargo", "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "SmartKargo account number"}}, "test_credentials": {"account_number": + {"visibility": "visible", "label": "Test SmartKargo account number"}}}}, {"object": + "CarrierType", "type": "SonicAccount", "readable": "Sonic", "logo": null, + "fields": {"credentials": {"username": {"visibility": "visible", "label": + "Sonic username"}, "password": {"visibility": "password", "label": "Sonic + password"}, "account_number": {"visibility": "visible", "label": "Sonic account + number"}}, "test_credentials": {"username": {"visibility": "visible", "label": + "Test Sonic username"}, "password": {"visibility": "password", "label": "Test + Sonic password"}, "account_number": {"visibility": "visible", "label": "Test + Sonic account number"}}}}, {"object": "CarrierType", "type": "SpeedeeAccount", + "readable": "Spee-Dee", "logo": null, "fields": {"credentials": {"account_number": + {"visibility": "visible", "label": "Spee-Dee Account Number"}}}}, {"object": + "CarrierType", "type": "SwyftAccount", "readable": "Swyft", "logo": null, + "fields": {"credentials": {"password": {"visibility": "password", "label": + "Swyft API Key"}}, "test_credentials": {"password": {"visibility": "password", + "label": "Test Swyft API Key"}}}}, {"object": "CarrierType", "type": "TforceConciseAccount", + "readable": "TForce", "logo": null, "fields": {"credentials": {"username": + {"visibility": "visible", "label": "TForce Username"}, "password": {"visibility": + "password", "label": "TForce Password"}, "account_number": {"visibility": + "visible", "label": "TForce Account Number"}}, "test_credentials": {"username": + {"visibility": "visible", "label": "Test TForce Username"}, "password": {"visibility": + "password", "label": "Test TForce Password"}, "account_number": {"visibility": + "visible", "label": "Test TForce Account Number"}}}}, {"object": "CarrierType", + "type": "TollAccount", "readable": "Toll", "logo": null, "fields": {"credentials": + {"account_number": {"visibility": "visible", "label": "Toll Account Number"}, + "business_unit": {"visibility": "visible", "label": "Toll Business Unit (Ex. + IPEC)"}, "source_system_code": {"visibility": "visible", "label": "Toll Source + System Code"}}, "test_credentials": {"account_number": {"visibility": "visible", + "label": "Toll Test Account Number"}, "business_unit": {"visibility": "visible", + "label": "Toll Business Unit (Ex. IPEC)"}, "source_system_code": {"visibility": + "visible", "label": "Toll Test Source System Code"}}}}, {"object": "CarrierType", + "type": "UdsAccount", "readable": "UDS", "logo": null, "fields": {"credentials": + {"ftp_username": {"visibility": "visible", "label": "FTP Username"}, "ftp_password": + {"visibility": "password", "label": "FTP Password"}}}}, {"object": "CarrierType", + "type": "UpsAccount", "readable": "UPS", "logo": null, "fields": {"credentials": + {"access_license_number": {"visibility": "invisible", "label": "UPS Access + License Number"}, "account_number": {"visibility": "readonly", "label": "UPS + Account Number"}, "user_id": {"visibility": "invisible", "label": "UPS.com + User ID"}, "password": {"visibility": "invisible", "label": "UPS.com Password"}}, + "creation_fields": {"registration_data": {"account_number": {"label": "UPS + Account Number", "visibility": "visible"}, "client_ip": {"label": "Client + IP", "visibility": "invisible"}, "name": {"label": "Company Contact Name", + "visibility": "visible"}, "title": {"label": "Company Contact Job Title", + "visibility": "visible"}, "company": {"label": "Company Name", "visibility": + "visible"}, "phone": {"label": "Company Phone", "visibility": "visible"}, + "email": {"label": "Company Email", "visibility": "visible"}, "website": {"label": + "Company Website", "visibility": "visible"}, "street1": {"label": "Shipping + Street 1", "visibility": "visible"}, "street2": {"label": "Shipping Street + 2", "visibility": "visible"}, "city": {"label": "Shipping City", "visibility": + "visible"}, "state": {"label": "Shipping State", "visibility": "visible"}, + "postal_code": {"label": "Shipping Postal Code", "visibility": "visible"}, + "country": {"label": "Shipping Country", "visibility": "visible"}, "invoice_number": + {"label": "UPS Invoice Number", "visibility": "visible"}, "invoice_date": + {"label": "UPS Invoice Date", "visibility": "visible"}, "invoice_amount": + {"label": "UPS Invoice Amount", "visibility": "visible"}, "invoice_currency": + {"label": "UPS Invoice Currency", "visibility": "visible"}, "invoice_control_id": + {"label": "UPS Invoice Control ID", "visibility": "visible"}}}, "custom_workflow": + true}}, {"object": "CarrierType", "type": "UpsIparcelAccount", "readable": + "UPS i-Parcel", "logo": null, "fields": {"credentials": {"api_key": {"visibility": + "masked", "label": "i-Parcel API key"}}}}, {"object": "CarrierType", "type": + "UpsMailInnovationsAccount", "readable": "UPS Mail Innovations", "logo": null, + "fields": {"credentials": {"account_number": {"visibility": "visible", "label": + "UPS Shipper Number"}, "user_id": {"visibility": "visible", "label": "UPS.com + User ID"}, "password": {"visibility": "password", "label": "UPS.com Password"}, + "customer_id": {"visibility": "visible", "label": "UPS customer id (optional)"}, + "customer_guid": {"visibility": "visible", "label": "UPS customer GUID (optional)"}}}}, + {"object": "CarrierType", "type": "UspsAccount", "readable": "USPS", "logo": + null, "fields": {"credentials": {"company_name": {"visibility": "visible", + "label": "Account Holder Name"}, "address_street": {"visibility": "visible", + "label": "Street Address"}, "address_city": {"visibility": "visible", "label": + "City"}, "address_state": {"visibility": "visible", "label": "State"}, "address_zip": + {"visibility": "visible", "label": "ZIP Code"}, "phone": {"visibility": "visible", + "label": "Phone Number"}, "email": {"visibility": "visible", "label": "Email + Address"}, "shipper_id": {"visibility": "visible", "label": "Shipper Identifier + (Optional)"}}}}, {"object": "CarrierType", "type": "VehoAccount", "readable": + "Veho", "logo": null, "fields": {"credentials": {"api_key": {"visibility": + "masked", "label": "Veho Production API Key"}}, "test_credentials": {"api_key": + {"visibility": "masked", "label": "Veho Test API Key"}}}}, {"object": "CarrierType", + "type": "XDeliveryAccount", "readable": "Maergo", "logo": null, "fields": + {"credentials": {"username": {"visibility": "visible", "label": "Maergo Username"}, + "password": {"visibility": "password", "label": "Maergo Password"}}, "test_credentials": + {"username": {"visibility": "visible", "label": "Test Maergo Username"}, "password": + {"visibility": "password", "label": "Test Maergo Password"}}}}]' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '38432' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda765aaee45e78bb44900116619 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.030834' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/carrier_types + response: + body: + string: '[{"object": "CarrierType", "type": "AmazonMwsAccount", "readable": + "Amazon MWS", "logo": null, "fields": {"credentials": {"access_key_id": {"visibility": + "visible", "label": "AWS Access Key ID"}, "secret_key": {"visibility": "password", + "label": "Secret Key"}, "merchant_id": {"visibility": "visible", "label": + "Seller ID"}}}}, {"object": "CarrierType", "type": "ApcAccount", "readable": + "APC", "logo": null, "fields": {"credentials": {"shipper_id": {"visibility": + "visible", "label": "APC Shipper ID"}, "password": {"visibility": "password", + "label": "APC Password"}, "facility": {"visibility": "visible", "label": "APC + Facility (e.g., NJ, LA)"}}}}, {"object": "CarrierType", "type": "AsendiaUsaAccount", + "readable": "Asendia USA", "logo": null, "fields": {"credentials": {"account_number": + {"visibility": "visible", "label": "AsendiaUsa Account Number"}, "sub_account_number": + {"visibility": "visible", "label": "AsendiaUsa Sub Account Number"}, "username": + {"visibility": "visible", "label": "AsendiaUsa Username"}, "password": {"visibility": + "password", "label": "AsendiaUsa Password"}, "api_key": {"visibility": "masked", + "label": "AsendiaUsa API key"}, "carrier_facility": {"visibility": "select", + "label": "AsendiaUsa Carrier Facility / Processing Location (Optional)"}}, + "test_credentials": {"account_number": {"visibility": "visible", "label": + "Test AsendiaUsa Account Number"}, "sub_account_number": {"visibility": "visible", + "label": "Test AsendiaUsa Sub Account Number"}, "username": {"visibility": + "visible", "label": "Test AsendiaUsa Username"}, "password": {"visibility": + "password", "label": "Test AsendiaUsa Password"}, "api_key": {"visibility": + "masked", "label": "Test AsendiaUsa API key"}, "carrier_facility": {"visibility": + "select", "label": "Test AsendiaUsa Carrier Facility / Processing Location + (Optional)"}}}}, {"object": "CarrierType", "type": "AustraliaPostAccount", + "readable": "Australia Post", "logo": null, "fields": {"credentials": {"account_number": + {"visibility": "visible", "label": "Australia Post Account Number"}, "api_key": + {"visibility": "masked", "label": "Australia Post API Key"}, "api_secret": + {"visibility": "password", "label": "Australia Post Secret Key"}, "print_as_you_go": + {"visibility": "checkbox", "label": "Print as you go"}}, "test_credentials": + {"account_number": {"visibility": "visible", "label": "Australia Post Test + Account Number"}, "api_key": {"visibility": "masked", "label": "Australia + Post Test API Key"}, "api_secret": {"visibility": "password", "label": "Australia + Post Test Secret Key"}, "print_as_you_go": {"visibility": "checkbox", "label": + "Print as you go"}}}}, {"object": "CarrierType", "type": "AxlehireV3Account", + "readable": "AxlehireV3", "logo": null, "fields": {"credentials": {"api_key": + {"visibility": "masked", "label": "Client Secret"}}, "test_credentials": {"api_key": + {"visibility": "masked", "label": "Client Secret"}}}}, {"object": "CarrierType", + "type": "BetterTrucksAccount", "readable": "Better Trucks", "logo": null, + "fields": {"credentials": {"api_key": {"visibility": "masked", "label": "Better + Trucks API key"}}, "test_credentials": {"api_key": {"visibility": "masked", + "label": "Test Better Trucks API key"}}}}, {"object": "CarrierType", "type": + "CanadaPostAccount", "readable": "Canada Post", "logo": null, "fields": {"credentials": + {"api_key": {"visibility": "masked", "label": "CanadaPost API Key"}, "contract_id": + {"visibility": "visible", "label": "CanadaPost Contract ID (contract customers + only)"}, "customer_number": {"visibility": "visible", "label": "CanadaPost + Customer Number"}, "has_credit_card": {"visibility": "checkbox", "label": + "CanadaPost account has credit card?"}, "not_platform": {"visibility": "invisible", + "label": "CanadaPost account not registered through platform?"}}, "test_credentials": + {"api_key": {"visibility": "masked", "label": "CanadaPost Test API Key"}, + "contract_id": {"visibility": "visible", "label": "CanadaPost Test Contract + ID (contract customers only)"}, "customer_number": {"visibility": "visible", + "label": "CanadaPost Test Customer Number"}, "has_credit_card": {"visibility": + "checkbox", "label": "CanadaPost Test account has credit card?"}, "not_platform": + {"visibility": "invisible", "label": "CanadaPost Test account not registered + through platform?"}}, "custom_workflow": true}}, {"object": "CarrierType", + "type": "CanparAccount", "readable": "Canpar", "logo": null, "fields": {"credentials": + {"account_number": {"visibility": "visible", "label": "Canpar Account Number"}, + "username": {"visibility": "visible", "label": "Canpar Username"}, "password": + {"visibility": "password", "label": "Canpar Password"}}, "test_credentials": + {"account_number": {"visibility": "visible", "label": "Test Canpar Account + Number"}, "username": {"visibility": "visible", "label": "Test Canpar Username"}, + "password": {"visibility": "password", "label": "Test Canpar Password"}}}}, + {"object": "CarrierType", "type": "ColumbusLastMileAccount", "readable": "CDL + Last Mile Solutions", "logo": null, "fields": {"credentials": {"username": + {"visibility": "visible", "label": "CDL Last Mile Solutions customer username"}, + "password": {"visibility": "password", "label": "CDL Last Mile Solutions customer + password"}, "tracking_code_prefix": {"visibility": "visible", "label": "CDL + Last Mile Solutions tracking code prefix"}}, "test_credentials": {"username": + {"visibility": "visible", "label": "CDL Last Mile Solutions customer test + username"}, "password": {"visibility": "password", "label": "CDL Last Mile + Solutions customer test password"}, "tracking_code_prefix": {"visibility": + "visible", "label": "CDL Last Mile Solutions tracking code prefix"}}}}, {"object": + "CarrierType", "type": "CourierExpressAccount", "readable": "Courier Express", + "logo": null, "fields": {"credentials": {"api_key": {"visibility": "masked", + "label": "Courier Express API key"}, "shipper_id": {"visibility": "visible", + "label": "Courier Express shipper ID"}}, "test_credentials": {"api_key": {"visibility": + "masked", "label": "Test Courier Express API key"}, "shipper_id": {"visibility": + "visible", "label": "Test Courier Express shipper ID"}}}}, {"object": "CarrierType", + "type": "CouriersPleaseAccount", "readable": "CouriersPlease", "logo": null, + "fields": {"credentials": {"username": {"visibility": "visible", "label": + "Account Number"}, "password": {"visibility": "password", "label": "Password"}}, + "test_credentials": {"username": {"visibility": "visible", "label": "Account + Number"}, "password": {"visibility": "password", "label": "Password"}}}}, + {"object": "CarrierType", "type": "DaiPostAccount", "readable": "Dai Post", + "logo": null, "fields": {"credentials": {"username": {"visibility": "visible", + "label": " Dai Post customer username"}, "password": {"visibility": "password", + "label": " Dai Post client secret"}, "origin_terminal": {"visibility": "visible", + "label": " Dai Post default origin terminal"}, "account_code": {"visibility": + "visible", "label": " 3-letter account code for customers with multiple accounts"}}}}, + {"object": "CarrierType", "type": "DeliverItAccount", "readable": "Deliver-It", + "logo": null, "fields": {"credentials": {"username": {"visibility": "visible", + "label": "Deliver-It Username"}, "password": {"visibility": "password", "label": + "Deliver-It Password"}, "account_number": {"visibility": "visible", "label": + "Deliver-It Account Number"}}, "test_credentials": {"username": {"visibility": + "visible", "label": "Test Deliver-It Username"}, "password": {"visibility": + "password", "label": "Test Deliver-It Password"}, "account_number": {"visibility": + "visible", "label": "Test Deliver-It Account Number"}}}}, {"object": "CarrierType", + "type": "DeutschePostUKAccount", "readable": "Deutsche Post UK", "logo": null, + "fields": {"credentials": {"client_id": {"visibility": "visible", "label": + "Deutsche Post UK Client ID"}, "client_secret": {"visibility": "password", + "label": "Deutsche Post UK Secret"}, "account_number": {"visibility": "visible", + "label": "Deutsche Post UK Account Number"}}, "test_credentials": {"client_id": + {"visibility": "visible", "label": "Test Deutsche Post UK Client ID"}, "client_secret": + {"visibility": "password", "label": "Test Deutsche Post UK Secret"}, "account_number": + {"visibility": "visible", "label": "Test Deutsche Post UK Account Number"}}}}, + {"object": "CarrierType", "type": "DhlEcommerceAsiaAccount", "readable": "DHL + Ecommerce Asia", "logo": null, "fields": {"credentials": {"account_number": + {"visibility": "visible", "label": "DHL Ecommerce Asia Account Number"}, "client_id": + {"visibility": "visible", "label": "DHL Ecommerce Asia Contract Number"}, + "password": {"visibility": "password", "label": "DHL Ecommerce Asia Password"}, + "barcode_prefix": {"visibility": "visible", "label": "DHL Ecommerce Asia Customer + ID"}}, "test_credentials": {"account_number": {"visibility": "visible", "label": + "Test DHL Ecommerce Asia Account Number"}, "client_id": {"visibility": "visible", + "label": "Test DHL Ecommerce Asia Contract Number"}, "password": {"visibility": + "password", "label": "Test DHL Ecommerce Asia Password"}, "barcode_prefix": + {"visibility": "visible", "label": "Test DHL Ecommerce Asia Customer ID"}}}}, + {"object": "CarrierType", "type": "DhlEcsAccount", "readable": "DHL eCommerce + Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions client ID"}, "client_secret": + {"visibility": "password", "label": "DHL eCommerce Solutions client secret"}, + "pickup_id": {"visibility": "visible", "label": "DHL eCommerce Solutions pickup + ID"}, "distribution_center": {"visibility": "visible", "label": "DHL eCommerce + Solutions distribution center"}}, "test_credentials": {"client_id": {"visibility": + "visible", "label": "Test DHL eCommerce Solutions client ID"}, "client_secret": + {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret"}, + "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions + pickup ID"}, "distribution_center": {"visibility": "visible", "label": "Test + DHL eCommerce Solutions distribution center"}}}}, {"object": "CarrierType", + "type": "DhlExpressAccount", "readable": "DHL Express", "logo": null, "fields": + {"credentials": {"account_number": {"visibility": "visible", "label": "DHL + Account Number"}, "country": {"visibility": "visible", "label": "Account Country + Code (2 Letter)"}, "site_id": {"visibility": "visible", "label": "Site ID + (Optional)"}, "password": {"visibility": "password", "label": "Password (Optional)"}, + "is_reseller": {"visibility": "checkbox", "label": "Reseller Account? (check + if yes)"}}}}, {"object": "CarrierType", "type": "DhlPaketAccount", "readable": + "DHL Paket", "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "DHL Paket Account Number (EKP)"}, "contract_id": {"visibility": + "visible", "label": "DHL Paket Contract Participation Value"}, "cig_username": + {"visibility": "visible", "label": "DHL Paket CIG Username"}, "cig_password": + {"visibility": "password", "label": "DHL Paket CIG Password"}, "tnt_username": + {"visibility": "visible", "label": "DHL Paket TNT Username (if applicable)"}, + "tnt_password": {"visibility": "password", "label": "DHL Paket TNT Password + (if applicable)"}, "retoure_username": {"visibility": "visible", "label": + "DHL Paket Retoure Username (if applicable)"}, "retoure_password": {"visibility": + "password", "label": "DHL Paket Retoure Password (if applicable)"}}, "test_credentials": + {"account_number": {"visibility": "visible", "label": "Test DHL Paket Account + Number (EKP)"}, "contract_id": {"visibility": "visible", "label": "Test DHL + Paket Contract Participation Value"}, "cig_username": {"visibility": "visible", + "label": " Test DHL Paket CIG Username"}, "cig_password": {"visibility": "password", + "label": "Test DHL Paket CIG Password"}, "tnt_username": {"visibility": "visible", + "label": "Test DHL Paket TNT Username (if applicable)"}, "tnt_password": {"visibility": + "password", "label": "Test DHL Paket TNT Password (if applicable)"}, "retoure_username": + {"visibility": "visible", "label": "Test DHL Paket Retoure Username (if applicable)"}, + "retoure_password": {"visibility": "password", "label": "Test DHL Paket Retoure + Password (if applicable)"}}}}, {"object": "CarrierType", "type": "DhlParcelAccount", + "readable": "DHL Parcel", "logo": null, "fields": {"credentials": {"user_id": + {"visibility": "visible", "label": "DHL Parcel User ID"}, "api_key": {"visibility": + "masked", "label": "DHL Parcel API Key"}, "account_number": {"visibility": + "visible", "label": "DHL Parcel Account Number"}}, "test_credentials": {"user_id": + {"visibility": "visible", "label": "DHL Parcel User ID"}, "api_key": {"visibility": + "masked", "label": "DHL Parcel API Key"}, "account_number": {"visibility": + "visible", "label": "DHL Parcel Account Number"}}}}, {"object": "CarrierType", + "type": "DpdAccount", "readable": "DPD", "logo": null, "fields": {"credentials": + {"username": {"visibility": "visible", "label": "WebConnect Username"}, "password": + {"visibility": "password", "label": "WebConnect Password"}, "customer_number": + {"visibility": "visible", "label": "DPD Customer Number"}}, "test_credentials": + {"username": {"visibility": "visible", "label": "Test WebConnect Username"}, + "password": {"visibility": "password", "label": "Test WebConnect Password"}, + "customer_number": {"visibility": "visible", "label": "DPD Customer Number"}}}}, + {"object": "CarrierType", "type": "DpdUkAccount", "readable": "DPD UK", "logo": + null, "fields": {"credentials": {"account_number": {"visibility": "visible", + "label": "DPD UK Account Number"}, "username": {"visibility": "visible", "label": + "DPD UK Username"}, "password": {"visibility": "password", "label": "DPD UK + Password"}}}}, {"object": "CarrierType", "type": "DpdNlAccount", "readable": + "DPD NL", "logo": null, "fields": {"credentials": {"username": {"visibility": + "visible", "label": "Delis ID"}, "password": {"visibility": "password", "label": + "Password"}}, "test_credentials": {"username": {"visibility": "visible", "label": + "Test Delis ID"}, "password": {"visibility": "password", "label": "Test Password"}}}}, + {"object": "CarrierType", "type": "EstafetaAccount", "readable": "Estafeta", + "logo": null, "fields": {"credentials": {"customer_id": {"visibility": "visible", + "label": "Subscriber ID"}, "username": {"visibility": "visible", "label": + "Login"}, "password": {"visibility": "password", "label": "Password"}, "client_id": + {"visibility": "visible", "label": "Tracking Subscriber ID"}, "user_id": {"visibility": + "visible", "label": "Tracking Login"}, "secret_key": {"visibility": "password", + "label": "Tracking Password"}, "customer_number": {"visibility": "visible", + "label": "Customer Number"}, "hub_id": {"visibility": "visible", "label": + "Office Number"}}, "test_credentials": {"customer_id": {"visibility": "visible", + "label": "Test Subscriber ID"}, "username": {"visibility": "visible", "label": + "Test Login"}, "password": {"visibility": "password", "label": "Test Password"}, + "client_id": {"visibility": "visible", "label": "Test Tracking Subscriber + ID"}, "user_id": {"visibility": "visible", "label": "Test Tracking Login"}, + "secret_key": {"visibility": "password", "label": "Test Tracking Password"}, + "customer_number": {"visibility": "visible", "label": "Test Customer Number"}, + "hub_id": {"visibility": "visible", "label": "Test Office Number"}}}}, {"object": + "CarrierType", "type": "FastwayAccount", "readable": "Fastway", "logo": null, + "fields": {"credentials": {"api_key": {"visibility": "masked", "label": "API + Key"}}}}, {"object": "CarrierType", "type": "FedexAccount", "readable": "FedEx", + "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "readonly", "label": "FedEx Account Number"}, "meter_number": {"visibility": + "invisible", "label": "FedEx Production Meter Number"}, "key": {"visibility": + "invisible", "label": "FedEx Production Authentication Key"}, "password": + {"visibility": "invisible", "label": "FedEx Production Password"}}, "test_credentials": + {"account_number": {"visibility": "readonly", "label": "FedEx Account Number"}, + "meter_number": {"visibility": "invisible", "label": "FedEx Test Meter Number"}, + "key": {"visibility": "invisible", "label": "FedEx Developer Test Key"}, "password": + {"visibility": "invisible", "label": "FedEx Test Password"}}, "creation_fields": + {"credential_information": {"account_number": {"label": "FedEx Account #", + "visibility": "visible"}}, "company_information": {"corporate_first_name": + {"label": "Company Contact First Name", "visibility": "visible"}, "corporate_last_name": + {"label": "Company Contact Last Name", "visibility": "visible"}, "corporate_job_title": + {"label": "Company Contact Job Title", "visibility": "visible"}, "corporate_company_name": + {"label": "Company Name", "visibility": "visible"}, "corporate_phone_number": + {"label": "Company Phone", "visibility": "visible"}, "corporate_email_address": + {"label": "Company Email", "visibility": "visible"}, "corporate_streets": + {"label": "Company Street", "visibility": "visible"}, "corporate_city": {"label": + "Company City", "visibility": "visible"}, "corporate_state": {"label": "Company + State", "visibility": "visible"}, "corporate_postal_code": {"label": "Company + Postal Code", "visibility": "visible"}, "corporate_country_code": {"label": + "Company Country Code", "visibility": "visible"}}, "address_information": + {"shipping_streets": {"label": "Shipping Street", "visibility": "visible"}, + "shipping_city": {"label": "Shipping City", "visibility": "visible"}, "shipping_state": + {"label": "Shipping State", "visibility": "visible"}, "shipping_postal_code": + {"label": "Shipping Postal Code ", "visibility": "visible"}, "shipping_country_code": + {"label": "Shipping Country Code", "visibility": "visible"}}}, "custom_workflow": + true}}, {"object": "CarrierType", "type": "FedexCrossBorderAccount", "readable": + "FedEx Cross Border", "logo": null, "fields": {"credentials": {"api_key": + {"visibility": "masked", "label": "FedEx Cross Border API key"}, "origin_hub": + {"visibility": "select", "label": "FedEx Cross Border Origin Hub"}}, "test_credentials": + {"api_key": {"visibility": "masked", "label": "Test FedEx Cross Border API + key"}, "origin_hub": {"visibility": "select", "label": "Test FedEx Cross Border + Origin Hub"}}}}, {"object": "CarrierType", "type": "FedexMailviewAccount", + "readable": "FedEx MailView", "logo": null, "fields": {"credentials": {"customer_id": + {"visibility": "visible", "label": "Customer Code"}, "service_id": {"visibility": + "password", "label": "Service ID"}, "fimspremium": {"visibility": "checkbox", + "label": "FIMS Premium"}, "fimsstandard": {"visibility": "checkbox", "label": + "FIMS Standard"}, "mailviewpremium": {"visibility": "checkbox", "label": "MailView + Premium"}, "mailviewlight": {"visibility": "checkbox", "label": "MailView + Light"}}}}, {"object": "CarrierType", "type": "FedexSmartpostAccount", "readable": + "FedEx SmartPost", "logo": null, "fields": {"credentials": {"account_number": + {"visibility": "visible", "label": "FedEx SmartPost Account Number"}, "hub_id": + {"visibility": "visible", "label": "FedEx SmartPost HubID"}, "meter_number": + {"visibility": "visible", "label": "Fedex SmartPost Meter Number"}, "key": + {"visibility": "masked", "label": "FedEx SmartPost Access Key"}, "password": + {"visibility": "password", "label": "SmartPost Access Key Password"}}, "creation_fields": + {"credential_information": {"account_number": {"label": "FedEx SmartPost Account + #", "visibility": "visible"}, "hub_id": {"label": "FedEx SmartPost Hub ID", + "visibility": "visible"}}, "company_information": {"corporate_first_name": + {"label": "Company Contact First Name", "visibility": "visible"}, "corporate_last_name": + {"label": "Company Contact Last Name", "visibility": "visible"}, "corporate_job_title": + {"label": "Company Contact Job Title", "visibility": "visible"}, "corporate_company_name": + {"label": "Company Name", "visibility": "visible"}, "corporate_phone_number": + {"label": "Company Phone", "visibility": "visible"}, "corporate_email_address": + {"label": "Company Email", "visibility": "visible"}, "corporate_streets": + {"label": "Company Street", "visibility": "visible"}, "corporate_city": {"label": + "Company City", "visibility": "visible"}, "corporate_state": {"label": "Company + State", "visibility": "visible"}, "corporate_postal_code": {"label": "Company + Postal Code", "visibility": "visible"}, "corporate_country_code": {"label": + "Company Country Code", "visibility": "visible"}}, "address_information": + {"shipping_streets": {"label": "Shipping Street", "visibility": "visible"}, + "shipping_city": {"label": "Shipping City", "visibility": "visible"}, "shipping_state": + {"label": "Shipping State", "visibility": "visible"}, "shipping_postal_code": + {"label": "Shipping Postal Code ", "visibility": "visible"}, "shipping_country_code": + {"label": "Shipping Country Code", "visibility": "visible"}}}, "custom_workflow": + true}}, {"object": "CarrierType", "type": "FirstMileConciseAccount", "readable": + "First Mile", "logo": null, "fields": {"credentials": {"username": {"visibility": + "visible", "label": "FirstMile Username"}, "password": {"visibility": "password", + "label": "FirsMile Password"}, "account_number": {"visibility": "visible", + "label": "FirstMile Account Number"}}, "test_credentials": {"username": {"visibility": + "visible", "label": "Test FirstMile Username"}, "password": {"visibility": + "password", "label": "Test FirstMile Password"}, "account_number": {"visibility": + "visible", "label": "Test FirstMile Account Number"}}}}, {"object": "CarrierType", + "type": "FlexportAccount", "readable": "Flexport", "logo": null, "fields": + {"credentials": {"api_key": {"visibility": "masked", "label": "Flexport Account + API Key"}}}}, {"object": "CarrierType", "type": "GsoAccount", "readable": + "GSO", "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "GSO Account Number"}, "username": {"visibility": "visible", + "label": "Username"}, "password": {"visibility": "password", "label": "Password"}}}}, + {"object": "CarrierType", "type": "HailifyAccount", "readable": "Hailify", + "logo": null, "fields": {"credentials": {"partner_id": {"visibility": "visible", + "label": "Hailify Partner ID"}}, "test_credentials": {"partner_id": {"visibility": + "visible", "label": "Test Hailify Partner ID"}}}}, {"object": "CarrierType", + "type": "HermesAccount", "readable": "Evri", "logo": null, "fields": {"credentials": + {"username": {"visibility": "visible", "label": "Evri Username"}, "password": + {"visibility": "password", "label": "Evri Password"}, "client_id": {"visibility": + "visible", "label": "Evri Client ID"}, "auth_id": {"visibility": "visible", + "label": "Evri Auth ID"}, "auth_secret": {"visibility": "password", "label": + "Evri Auth Secret"}, "client_name": {"visibility": "visible", "label": "Evri + Client name"}, "group_id": {"visibility": "visible", "label": "Evri Group + ID"}, "client_licence": {"visibility": "masked", "label": "Evri Client License"}, + "api_key": {"visibility": "masked", "label": "Evri API Key"}}}}, {"object": + "CarrierType", "type": "InterlinkExpressAccount", "readable": "Interlink Express", + "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "Interlink Express Account Number"}, "username": {"visibility": + "visible", "label": "Interlink Express Username"}, "password": {"visibility": + "password", "label": "Interlink Express Password"}, "vat_number": {"visibility": + "visible", "label": "VAT Number"}}}}, {"object": "CarrierType", "type": "LasershipV2Account", + "readable": "LaserShipV2", "logo": null, "fields": {"credentials": {"api_key": + {"visibility": "masked", "label": "LaserShipV2 API Key"}, "api_id": {"visibility": + "visible", "label": "LaserShipV2 API ID"}, "facility": {"visibility": "visible", + "label": "LaserShipV2 Customer Branch"}, "cargo_claim_value": {"visibility": + "visible", "label": "LaserShipV2 Cargo Insurance Claim Value (USD)"}, "is_reseller": + {"visibility": "checkbox", "label": "3PL Account? (check if yes)"}, "injection_location_type": + {"visibility": "visible", "label": "Injection Address Location Type (\"Business\" + or \"Residence\")"}, "injection_contact": {"visibility": "visible", "label": + "Injection Address Contact"}, "injection_organization": {"visibility": "visible", + "label": "Injection Address Organization"}, "injection_street1": {"visibility": + "visible", "label": "Injection Address Street1"}, "injection_street2": {"visibility": + "visible", "label": "Injection Address Street2"}, "injection_city": {"visibility": + "visible", "label": "Injection Address City"}, "injection_state": {"visibility": + "visible", "label": "Injection Address State"}, "injection_zip": {"visibility": + "visible", "label": "Injection Address Postal Code"}, "injection_country": + {"visibility": "visible", "label": "Injection Address Country Code"}, "injection_phone": + {"visibility": "visible", "label": "Injection Address Phone"}, "injection_phone_ext": + {"visibility": "visible", "label": "Injection Address Phone Extension"}, "injection_email": + {"visibility": "visible", "label": "Injection Address Email"}, "injection_instruction": + {"visibility": "visible", "label": "Injection Address Instruction"}, "injection_note": + {"visibility": "visible", "label": "Injection Address Note"}}}}, {"object": + "CarrierType", "type": "LoomisExpressAccount", "readable": "Loomis Express", + "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "Loomis Express Account Number"}, "username": {"visibility": + "visible", "label": "Loomis Express Username"}, "password": {"visibility": + "password", "label": "Loomis Express Password"}}, "test_credentials": {"account_number": + {"visibility": "visible", "label": "Test Loomis Express Account Number"}, + "username": {"visibility": "visible", "label": "Test Loomis Express Username"}, + "password": {"visibility": "password", "label": "Test Loomis Express Password"}}}}, + {"object": "CarrierType", "type": "LsoAccount", "readable": "LSO", "logo": + null, "fields": {"credentials": {"account_number": {"visibility": "visible", + "label": "LSO Production Account Number"}, "username": {"visibility": "visible", + "label": "LSO Production Username"}, "password": {"visibility": "password", + "label": "LSO Production Password"}}, "test_credentials": {"account_number": + {"visibility": "visible", "label": "LSO Test Account Number"}, "username": + {"visibility": "visible", "label": "LSO Test Username"}, "password": {"visibility": + "password", "label": "LSO Test Password"}}}}, {"object": "CarrierType", "type": + "NewgisticsAccount", "readable": "Newgistics", "logo": null, "fields": {"credentials": + {"client_id": {"visibility": "visible", "label": "Client ID"}, "client_secret": + {"visibility": "password", "label": "Client Secret"}, "client_facility_id": + {"visibility": "visible", "label": "Client Facility ID"}, "fulfiller_facility_id": + {"visibility": "visible", "label": "Newgistics Facility ID"}, "tracking_api_key": + {"visibility": "masked", "label": "Tracking API Key"}, "merchant_id": {"visibility": + "visible", "label": "Merchant ID"}}, "test_credentials": {"client_id": {"visibility": + "visible", "label": "Client ID"}, "client_secret": {"visibility": "password", + "label": "Client Secret"}, "client_facility_id": {"visibility": "visible", + "label": "Client Facility ID"}, "fulfiller_facility_id": {"visibility": "visible", + "label": "Newgistics Facility ID"}, "tracking_api_key": {"visibility": "masked", + "label": "Tracking API Key"}, "merchant_id": {"visibility": "visible", "label": + "Merchant ID"}}}}, {"object": "CarrierType", "type": "OmniParcelAccount", + "readable": "OmniParcel", "logo": null, "fields": {"credentials": {"api_access_key": + {"visibility": "masked", "label": "API Access Key"}, "return_api_access_key": + {"visibility": "masked", "label": "Return API Access Key"}}, "test_credentials": + {"api_access_key": {"visibility": "masked", "label": "Test API Access Key"}, + "return_api_access_key": {"visibility": "masked", "label": "Test Return API + Access Key"}}}}, {"object": "CarrierType", "type": "OntracAccount", "readable": + "OnTrac", "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "OnTrac Account Number"}, "password": {"visibility": "password", + "label": "OnTrac API Password"}}, "test_credentials": {"account_number": {"visibility": + "visible", "label": "OnTrac Test Account Number"}, "password": {"visibility": + "password", "label": "OnTrac Test API Password"}}}}, {"object": "CarrierType", + "type": "OptimaAccount", "readable": "Optima", "logo": null, "fields": {"credentials": + {"username": {"visibility": "visible", "label": "Optima username"}, "password": + {"visibility": "password", "label": "Optima password"}, "account_number": + {"visibility": "visible", "label": "Optima account number"}}, "test_credentials": + {"username": {"visibility": "visible", "label": "Test Optima username"}, "password": + {"visibility": "password", "label": "Test Optima password"}, "account_number": + {"visibility": "visible", "label": "Test Optima account number"}}}}, {"object": + "CarrierType", "type": "OsmWorldwideAccount", "readable": "OSM Worldwide", + "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "Account Number"}, "mailer_id": {"visibility": "visible", + "label": "Mailer ID"}, "facility_code": {"visibility": "visible", "label": + "Facility Code/Cost Center ID for manifesting (optional)"}, "company_name": + {"visibility": "visible", "label": "Company Name"}, "aws_sftp_username": {"visibility": + "visible", "label": "SFTP Username"}}}}, {"object": "CarrierType", "type": + "PandionAccount", "readable": "Pandion", "logo": null, "fields": {"credentials": + {"api_key": {"visibility": "masked", "label": "Prod Pandion API Key"}}, "test_credentials": + {"api_key": {"visibility": "masked", "label": "Test Pandion API Key"}}}}, + {"object": "CarrierType", "type": "ParcelForceAccount", "readable": "Parcel + Force", "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "Parcelforce Contract Number"}, "username": {"visibility": + "visible", "label": "expressLink API Username"}, "password": {"visibility": + "password", "label": "expressLink API Password"}, "department_id": {"visibility": + "visible", "label": "Department ID - not required"}}, "test_credentials": + {"account_number": {"visibility": "visible", "label": "Parcelforce Test Contract + Number"}, "username": {"visibility": "visible", "label": "Test expressLink + API Username"}, "password": {"visibility": "password", "label": "Test expressLink + API Password"}, "department_id": {"visibility": "visible", "label": "Test + Department ID - not required"}}}}, {"object": "CarrierType", "type": "ParcllAccount", + "readable": "Cirro E-Commerce", "logo": null, "fields": {"credentials": {"api_key": + {"visibility": "masked", "label": "Cirro E-Commerce API key"}, "user_id": + {"visibility": "visible", "label": "Cirro E-Commerce User Id"}, "origin_hub": + {"visibility": "select", "label": "Cirro E-Commerce Origin Hub"}}, "test_credentials": + {"api_key": {"visibility": "masked", "label": "Test Cirro E-Commerce API key"}, + "user_id": {"visibility": "visible", "label": "Test Cirro E-Commerce User + Id"}, "origin_hub": {"visibility": "select", "label": "Test Cirro E-Commerce + Origin Hub"}}}}, {"object": "CarrierType", "type": "PassportGlobalAccount", + "readable": "Passport Global", "logo": null, "fields": {"credentials": {"api_key": + {"visibility": "masked", "label": "Passport Global API key"}, "email": {"visibility": + "visible", "label": "Customer email address registered with Passport Global"}, + "name": {"visibility": "visible", "label": "Customer name registered with + Passport Global"}, "company_name": {"visibility": "visible", "label": "Customer + company name registered with Passport Global"}, "phone": {"visibility": "visible", + "label": "Customer phone number registered with Passport Global (optional)"}}, + "test_credentials": {"api_key": {"visibility": "masked", "label": "Passport + Global Test API key"}, "email": {"visibility": "visible", "label": "Customer + email address registered with Passport Global"}, "name": {"visibility": "visible", + "label": "Customer name registered with Passport Global"}, "company_name": + {"visibility": "visible", "label": "Customer company name registered with + Passport Global"}, "phone": {"visibility": "visible", "label": "Customer phone + number registered with Passport Global (optional)"}}}}, {"object": "CarrierType", + "type": "PurolatorAccount", "readable": "Purolator", "logo": null, "fields": + {"credentials": {"account_number": {"visibility": "visible", "label": "Purolator + Account Number"}, "api_key": {"visibility": "masked", "label": "Production + API Key"}, "password": {"visibility": "password", "label": "Production API + Key Password"}}}}, {"object": "CarrierType", "type": "RoyalMailAccount", "readable": + "Royal Mail", "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "Royal Mail Account Number"}, "username": {"visibility": + "visible", "label": "OBA Email Address"}, "posting_location_number": {"visibility": + "visible", "label": "Posting Location Number"}}}}, {"object": "CarrierType", + "type": "RRDonnelleyAccount", "readable": "ePost Global", "logo": null, "fields": + {"credentials": {"account_number": {"visibility": "visible", "label": "ePostGlobal + Account Number"}}}}, {"object": "CarrierType", "type": "SendleAccount", "readable": + "Sendle", "logo": null, "fields": {"credentials": {"api_key": {"visibility": + "masked", "label": "Sendle API Key"}, "user_id": {"visibility": "visible", + "label": "Sendle ID"}}, "test_credentials": {"api_key": {"visibility": "masked", + "label": "Sendle Sandbox API Key"}, "user_id": {"visibility": "visible", "label": + "Sendle Sandbox ID"}}}}, {"object": "CarrierType", "type": "SfExpressAccount", + "readable": "SF Express", "logo": null, "fields": {"credentials": {"checkword": + {"visibility": "visible", "label": "SF Express checkword"}, "customer_code": + {"visibility": "visible", "label": "SF Express customer code"}, "customer_id": + {"visibility": "visible", "label": "SF Express customer id"}}, "test_credentials": + {"checkword": {"visibility": "visible", "label": "Test SF Express checkword"}, + "customer_code": {"visibility": "visible", "label": "Test SF Express customer + code"}, "customer_id": {"visibility": "visible", "label": "Test SF Express + customer id"}}}}, {"object": "CarrierType", "type": "SmartKargoAccount", "readable": + "SmartKargo", "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "SmartKargo account number"}}, "test_credentials": {"account_number": + {"visibility": "visible", "label": "Test SmartKargo account number"}}}}, {"object": + "CarrierType", "type": "SonicAccount", "readable": "Sonic", "logo": null, + "fields": {"credentials": {"username": {"visibility": "visible", "label": + "Sonic username"}, "password": {"visibility": "password", "label": "Sonic + password"}, "account_number": {"visibility": "visible", "label": "Sonic account + number"}}, "test_credentials": {"username": {"visibility": "visible", "label": + "Test Sonic username"}, "password": {"visibility": "password", "label": "Test + Sonic password"}, "account_number": {"visibility": "visible", "label": "Test + Sonic account number"}}}}, {"object": "CarrierType", "type": "SpeedeeAccount", + "readable": "Spee-Dee", "logo": null, "fields": {"credentials": {"account_number": + {"visibility": "visible", "label": "Spee-Dee Account Number"}}}}, {"object": + "CarrierType", "type": "SwyftAccount", "readable": "Swyft", "logo": null, + "fields": {"credentials": {"password": {"visibility": "password", "label": + "Swyft API Key"}}, "test_credentials": {"password": {"visibility": "password", + "label": "Test Swyft API Key"}}}}, {"object": "CarrierType", "type": "TforceConciseAccount", + "readable": "TForce", "logo": null, "fields": {"credentials": {"username": + {"visibility": "visible", "label": "TForce Username"}, "password": {"visibility": + "password", "label": "TForce Password"}, "account_number": {"visibility": + "visible", "label": "TForce Account Number"}}, "test_credentials": {"username": + {"visibility": "visible", "label": "Test TForce Username"}, "password": {"visibility": + "password", "label": "Test TForce Password"}, "account_number": {"visibility": + "visible", "label": "Test TForce Account Number"}}}}, {"object": "CarrierType", + "type": "TollAccount", "readable": "Toll", "logo": null, "fields": {"credentials": + {"account_number": {"visibility": "visible", "label": "Toll Account Number"}, + "business_unit": {"visibility": "visible", "label": "Toll Business Unit (Ex. + IPEC)"}, "source_system_code": {"visibility": "visible", "label": "Toll Source + System Code"}}, "test_credentials": {"account_number": {"visibility": "visible", + "label": "Toll Test Account Number"}, "business_unit": {"visibility": "visible", + "label": "Toll Business Unit (Ex. IPEC)"}, "source_system_code": {"visibility": + "visible", "label": "Toll Test Source System Code"}}}}, {"object": "CarrierType", + "type": "UdsAccount", "readable": "UDS", "logo": null, "fields": {"credentials": + {"ftp_username": {"visibility": "visible", "label": "FTP Username"}, "ftp_password": + {"visibility": "password", "label": "FTP Password"}}}}, {"object": "CarrierType", + "type": "UpsAccount", "readable": "UPS", "logo": null, "fields": {"credentials": + {"access_license_number": {"visibility": "invisible", "label": "UPS Access + License Number"}, "account_number": {"visibility": "readonly", "label": "UPS + Account Number"}, "user_id": {"visibility": "invisible", "label": "UPS.com + User ID"}, "password": {"visibility": "invisible", "label": "UPS.com Password"}}, + "creation_fields": {"registration_data": {"account_number": {"label": "UPS + Account Number", "visibility": "visible"}, "client_ip": {"label": "Client + IP", "visibility": "invisible"}, "name": {"label": "Company Contact Name", + "visibility": "visible"}, "title": {"label": "Company Contact Job Title", + "visibility": "visible"}, "company": {"label": "Company Name", "visibility": + "visible"}, "phone": {"label": "Company Phone", "visibility": "visible"}, + "email": {"label": "Company Email", "visibility": "visible"}, "website": {"label": + "Company Website", "visibility": "visible"}, "street1": {"label": "Shipping + Street 1", "visibility": "visible"}, "street2": {"label": "Shipping Street + 2", "visibility": "visible"}, "city": {"label": "Shipping City", "visibility": + "visible"}, "state": {"label": "Shipping State", "visibility": "visible"}, + "postal_code": {"label": "Shipping Postal Code", "visibility": "visible"}, + "country": {"label": "Shipping Country", "visibility": "visible"}, "invoice_number": + {"label": "UPS Invoice Number", "visibility": "visible"}, "invoice_date": + {"label": "UPS Invoice Date", "visibility": "visible"}, "invoice_amount": + {"label": "UPS Invoice Amount", "visibility": "visible"}, "invoice_currency": + {"label": "UPS Invoice Currency", "visibility": "visible"}, "invoice_control_id": + {"label": "UPS Invoice Control ID", "visibility": "visible"}}}, "custom_workflow": + true}}, {"object": "CarrierType", "type": "UpsIparcelAccount", "readable": + "UPS i-Parcel", "logo": null, "fields": {"credentials": {"api_key": {"visibility": + "masked", "label": "i-Parcel API key"}}}}, {"object": "CarrierType", "type": + "UpsMailInnovationsAccount", "readable": "UPS Mail Innovations", "logo": null, + "fields": {"credentials": {"account_number": {"visibility": "visible", "label": + "UPS Shipper Number"}, "user_id": {"visibility": "visible", "label": "UPS.com + User ID"}, "password": {"visibility": "password", "label": "UPS.com Password"}, + "customer_id": {"visibility": "visible", "label": "UPS customer id (optional)"}, + "customer_guid": {"visibility": "visible", "label": "UPS customer GUID (optional)"}}}}, + {"object": "CarrierType", "type": "UspsAccount", "readable": "USPS", "logo": + null, "fields": {"credentials": {"company_name": {"visibility": "visible", + "label": "Account Holder Name"}, "address_street": {"visibility": "visible", + "label": "Street Address"}, "address_city": {"visibility": "visible", "label": + "City"}, "address_state": {"visibility": "visible", "label": "State"}, "address_zip": + {"visibility": "visible", "label": "ZIP Code"}, "phone": {"visibility": "visible", + "label": "Phone Number"}, "email": {"visibility": "visible", "label": "Email + Address"}, "shipper_id": {"visibility": "visible", "label": "Shipper Identifier + (Optional)"}}}}, {"object": "CarrierType", "type": "VehoAccount", "readable": + "Veho", "logo": null, "fields": {"credentials": {"api_key": {"visibility": + "masked", "label": "Veho Production API Key"}}, "test_credentials": {"api_key": + {"visibility": "masked", "label": "Veho Test API Key"}}}}, {"object": "CarrierType", + "type": "XDeliveryAccount", "readable": "Maergo", "logo": null, "fields": + {"credentials": {"username": {"visibility": "visible", "label": "Maergo Username"}, + "password": {"visibility": "password", "label": "Maergo Password"}}, "test_credentials": + {"username": {"visibility": "visible", "label": "Test Maergo Username"}, "password": + {"visibility": "password", "label": "Test Maergo Password"}}}}]' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '38432' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaf076e798bbdc000f6b57 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.031481' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/carrier_types + response: + body: + string: '[{"object": "CarrierType", "type": "AmazonMwsAccount", "readable": + "Amazon MWS", "logo": null, "fields": {"credentials": {"access_key_id": {"visibility": + "visible", "label": "AWS Access Key ID"}, "secret_key": {"visibility": "password", + "label": "Secret Key"}, "merchant_id": {"visibility": "visible", "label": + "Seller ID"}}}}, {"object": "CarrierType", "type": "ApcAccount", "readable": + "APC", "logo": null, "fields": {"credentials": {"shipper_id": {"visibility": + "visible", "label": "APC Shipper ID"}, "password": {"visibility": "password", + "label": "APC Password"}, "facility": {"visibility": "visible", "label": "APC + Facility (e.g., NJ, LA)"}}}}, {"object": "CarrierType", "type": "AsendiaUsaAccount", + "readable": "Asendia USA", "logo": null, "fields": {"credentials": {"account_number": + {"visibility": "visible", "label": "AsendiaUsa Account Number"}, "sub_account_number": + {"visibility": "visible", "label": "AsendiaUsa Sub Account Number"}, "username": + {"visibility": "visible", "label": "AsendiaUsa Username"}, "password": {"visibility": + "password", "label": "AsendiaUsa Password"}, "api_key": {"visibility": "masked", + "label": "AsendiaUsa API key"}, "carrier_facility": {"visibility": "select", + "label": "AsendiaUsa Carrier Facility / Processing Location (Optional)"}}, + "test_credentials": {"account_number": {"visibility": "visible", "label": + "Test AsendiaUsa Account Number"}, "sub_account_number": {"visibility": "visible", + "label": "Test AsendiaUsa Sub Account Number"}, "username": {"visibility": + "visible", "label": "Test AsendiaUsa Username"}, "password": {"visibility": + "password", "label": "Test AsendiaUsa Password"}, "api_key": {"visibility": + "masked", "label": "Test AsendiaUsa API key"}, "carrier_facility": {"visibility": + "select", "label": "Test AsendiaUsa Carrier Facility / Processing Location + (Optional)"}}}}, {"object": "CarrierType", "type": "AustraliaPostAccount", + "readable": "Australia Post", "logo": null, "fields": {"credentials": {"account_number": + {"visibility": "visible", "label": "Australia Post Account Number"}, "api_key": + {"visibility": "masked", "label": "Australia Post API Key"}, "api_secret": + {"visibility": "password", "label": "Australia Post Secret Key"}, "print_as_you_go": + {"visibility": "checkbox", "label": "Print as you go"}}, "test_credentials": + {"account_number": {"visibility": "visible", "label": "Australia Post Test + Account Number"}, "api_key": {"visibility": "masked", "label": "Australia + Post Test API Key"}, "api_secret": {"visibility": "password", "label": "Australia + Post Test Secret Key"}, "print_as_you_go": {"visibility": "checkbox", "label": + "Print as you go"}}}}, {"object": "CarrierType", "type": "AxlehireV3Account", + "readable": "AxlehireV3", "logo": null, "fields": {"credentials": {"api_key": + {"visibility": "masked", "label": "Client Secret"}}, "test_credentials": {"api_key": + {"visibility": "masked", "label": "Client Secret"}}}}, {"object": "CarrierType", + "type": "BetterTrucksAccount", "readable": "Better Trucks", "logo": null, + "fields": {"credentials": {"api_key": {"visibility": "masked", "label": "Better + Trucks API key"}}, "test_credentials": {"api_key": {"visibility": "masked", + "label": "Test Better Trucks API key"}}}}, {"object": "CarrierType", "type": + "CanadaPostAccount", "readable": "Canada Post", "logo": null, "fields": {"credentials": + {"api_key": {"visibility": "masked", "label": "CanadaPost API Key"}, "contract_id": + {"visibility": "visible", "label": "CanadaPost Contract ID (contract customers + only)"}, "customer_number": {"visibility": "visible", "label": "CanadaPost + Customer Number"}, "has_credit_card": {"visibility": "checkbox", "label": + "CanadaPost account has credit card?"}, "not_platform": {"visibility": "invisible", + "label": "CanadaPost account not registered through platform?"}}, "test_credentials": + {"api_key": {"visibility": "masked", "label": "CanadaPost Test API Key"}, + "contract_id": {"visibility": "visible", "label": "CanadaPost Test Contract + ID (contract customers only)"}, "customer_number": {"visibility": "visible", + "label": "CanadaPost Test Customer Number"}, "has_credit_card": {"visibility": + "checkbox", "label": "CanadaPost Test account has credit card?"}, "not_platform": + {"visibility": "invisible", "label": "CanadaPost Test account not registered + through platform?"}}, "custom_workflow": true}}, {"object": "CarrierType", + "type": "CanparAccount", "readable": "Canpar", "logo": null, "fields": {"credentials": + {"account_number": {"visibility": "visible", "label": "Canpar Account Number"}, + "username": {"visibility": "visible", "label": "Canpar Username"}, "password": + {"visibility": "password", "label": "Canpar Password"}}, "test_credentials": + {"account_number": {"visibility": "visible", "label": "Test Canpar Account + Number"}, "username": {"visibility": "visible", "label": "Test Canpar Username"}, + "password": {"visibility": "password", "label": "Test Canpar Password"}}}}, + {"object": "CarrierType", "type": "ColumbusLastMileAccount", "readable": "CDL + Last Mile Solutions", "logo": null, "fields": {"credentials": {"username": + {"visibility": "visible", "label": "CDL Last Mile Solutions customer username"}, + "password": {"visibility": "password", "label": "CDL Last Mile Solutions customer + password"}, "tracking_code_prefix": {"visibility": "visible", "label": "CDL + Last Mile Solutions tracking code prefix"}}, "test_credentials": {"username": + {"visibility": "visible", "label": "CDL Last Mile Solutions customer test + username"}, "password": {"visibility": "password", "label": "CDL Last Mile + Solutions customer test password"}, "tracking_code_prefix": {"visibility": + "visible", "label": "CDL Last Mile Solutions tracking code prefix"}}}}, {"object": + "CarrierType", "type": "CourierExpressAccount", "readable": "Courier Express", + "logo": null, "fields": {"credentials": {"api_key": {"visibility": "masked", + "label": "Courier Express API key"}, "shipper_id": {"visibility": "visible", + "label": "Courier Express shipper ID"}}, "test_credentials": {"api_key": {"visibility": + "masked", "label": "Test Courier Express API key"}, "shipper_id": {"visibility": + "visible", "label": "Test Courier Express shipper ID"}}}}, {"object": "CarrierType", + "type": "CouriersPleaseAccount", "readable": "CouriersPlease", "logo": null, + "fields": {"credentials": {"username": {"visibility": "visible", "label": + "Account Number"}, "password": {"visibility": "password", "label": "Password"}}, + "test_credentials": {"username": {"visibility": "visible", "label": "Account + Number"}, "password": {"visibility": "password", "label": "Password"}}}}, + {"object": "CarrierType", "type": "DaiPostAccount", "readable": "Dai Post", + "logo": null, "fields": {"credentials": {"username": {"visibility": "visible", + "label": " Dai Post customer username"}, "password": {"visibility": "password", + "label": " Dai Post client secret"}, "origin_terminal": {"visibility": "visible", + "label": " Dai Post default origin terminal"}, "account_code": {"visibility": + "visible", "label": " 3-letter account code for customers with multiple accounts"}}}}, + {"object": "CarrierType", "type": "DeliverItAccount", "readable": "Deliver-It", + "logo": null, "fields": {"credentials": {"username": {"visibility": "visible", + "label": "Deliver-It Username"}, "password": {"visibility": "password", "label": + "Deliver-It Password"}, "account_number": {"visibility": "visible", "label": + "Deliver-It Account Number"}}, "test_credentials": {"username": {"visibility": + "visible", "label": "Test Deliver-It Username"}, "password": {"visibility": + "password", "label": "Test Deliver-It Password"}, "account_number": {"visibility": + "visible", "label": "Test Deliver-It Account Number"}}}}, {"object": "CarrierType", + "type": "DeutschePostUKAccount", "readable": "Deutsche Post UK", "logo": null, + "fields": {"credentials": {"client_id": {"visibility": "visible", "label": + "Deutsche Post UK Client ID"}, "client_secret": {"visibility": "password", + "label": "Deutsche Post UK Secret"}, "account_number": {"visibility": "visible", + "label": "Deutsche Post UK Account Number"}}, "test_credentials": {"client_id": + {"visibility": "visible", "label": "Test Deutsche Post UK Client ID"}, "client_secret": + {"visibility": "password", "label": "Test Deutsche Post UK Secret"}, "account_number": + {"visibility": "visible", "label": "Test Deutsche Post UK Account Number"}}}}, + {"object": "CarrierType", "type": "DhlEcommerceAsiaAccount", "readable": "DHL + Ecommerce Asia", "logo": null, "fields": {"credentials": {"account_number": + {"visibility": "visible", "label": "DHL Ecommerce Asia Account Number"}, "client_id": + {"visibility": "visible", "label": "DHL Ecommerce Asia Contract Number"}, + "password": {"visibility": "password", "label": "DHL Ecommerce Asia Password"}, + "barcode_prefix": {"visibility": "visible", "label": "DHL Ecommerce Asia Customer + ID"}}, "test_credentials": {"account_number": {"visibility": "visible", "label": + "Test DHL Ecommerce Asia Account Number"}, "client_id": {"visibility": "visible", + "label": "Test DHL Ecommerce Asia Contract Number"}, "password": {"visibility": + "password", "label": "Test DHL Ecommerce Asia Password"}, "barcode_prefix": + {"visibility": "visible", "label": "Test DHL Ecommerce Asia Customer ID"}}}}, + {"object": "CarrierType", "type": "DhlEcsAccount", "readable": "DHL eCommerce + Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions client ID"}, "client_secret": + {"visibility": "password", "label": "DHL eCommerce Solutions client secret"}, + "pickup_id": {"visibility": "visible", "label": "DHL eCommerce Solutions pickup + ID"}, "distribution_center": {"visibility": "visible", "label": "DHL eCommerce + Solutions distribution center"}}, "test_credentials": {"client_id": {"visibility": + "visible", "label": "Test DHL eCommerce Solutions client ID"}, "client_secret": + {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret"}, + "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions + pickup ID"}, "distribution_center": {"visibility": "visible", "label": "Test + DHL eCommerce Solutions distribution center"}}}}, {"object": "CarrierType", + "type": "DhlExpressAccount", "readable": "DHL Express", "logo": null, "fields": + {"credentials": {"account_number": {"visibility": "visible", "label": "DHL + Account Number"}, "country": {"visibility": "visible", "label": "Account Country + Code (2 Letter)"}, "site_id": {"visibility": "visible", "label": "Site ID + (Optional)"}, "password": {"visibility": "password", "label": "Password (Optional)"}, + "is_reseller": {"visibility": "checkbox", "label": "Reseller Account? (check + if yes)"}}}}, {"object": "CarrierType", "type": "DhlPaketAccount", "readable": + "DHL Paket", "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "DHL Paket Account Number (EKP)"}, "contract_id": {"visibility": + "visible", "label": "DHL Paket Contract Participation Value"}, "cig_username": + {"visibility": "visible", "label": "DHL Paket CIG Username"}, "cig_password": + {"visibility": "password", "label": "DHL Paket CIG Password"}, "tnt_username": + {"visibility": "visible", "label": "DHL Paket TNT Username (if applicable)"}, + "tnt_password": {"visibility": "password", "label": "DHL Paket TNT Password + (if applicable)"}, "retoure_username": {"visibility": "visible", "label": + "DHL Paket Retoure Username (if applicable)"}, "retoure_password": {"visibility": + "password", "label": "DHL Paket Retoure Password (if applicable)"}}, "test_credentials": + {"account_number": {"visibility": "visible", "label": "Test DHL Paket Account + Number (EKP)"}, "contract_id": {"visibility": "visible", "label": "Test DHL + Paket Contract Participation Value"}, "cig_username": {"visibility": "visible", + "label": " Test DHL Paket CIG Username"}, "cig_password": {"visibility": "password", + "label": "Test DHL Paket CIG Password"}, "tnt_username": {"visibility": "visible", + "label": "Test DHL Paket TNT Username (if applicable)"}, "tnt_password": {"visibility": + "password", "label": "Test DHL Paket TNT Password (if applicable)"}, "retoure_username": + {"visibility": "visible", "label": "Test DHL Paket Retoure Username (if applicable)"}, + "retoure_password": {"visibility": "password", "label": "Test DHL Paket Retoure + Password (if applicable)"}}}}, {"object": "CarrierType", "type": "DhlParcelAccount", + "readable": "DHL Parcel", "logo": null, "fields": {"credentials": {"user_id": + {"visibility": "visible", "label": "DHL Parcel User ID"}, "api_key": {"visibility": + "masked", "label": "DHL Parcel API Key"}, "account_number": {"visibility": + "visible", "label": "DHL Parcel Account Number"}}, "test_credentials": {"user_id": + {"visibility": "visible", "label": "DHL Parcel User ID"}, "api_key": {"visibility": + "masked", "label": "DHL Parcel API Key"}, "account_number": {"visibility": + "visible", "label": "DHL Parcel Account Number"}}}}, {"object": "CarrierType", + "type": "DpdAccount", "readable": "DPD", "logo": null, "fields": {"credentials": + {"username": {"visibility": "visible", "label": "WebConnect Username"}, "password": + {"visibility": "password", "label": "WebConnect Password"}, "customer_number": + {"visibility": "visible", "label": "DPD Customer Number"}}, "test_credentials": + {"username": {"visibility": "visible", "label": "Test WebConnect Username"}, + "password": {"visibility": "password", "label": "Test WebConnect Password"}, + "customer_number": {"visibility": "visible", "label": "DPD Customer Number"}}}}, + {"object": "CarrierType", "type": "DpdUkAccount", "readable": "DPD UK", "logo": + null, "fields": {"credentials": {"account_number": {"visibility": "visible", + "label": "DPD UK Account Number"}, "username": {"visibility": "visible", "label": + "DPD UK Username"}, "password": {"visibility": "password", "label": "DPD UK + Password"}}}}, {"object": "CarrierType", "type": "DpdNlAccount", "readable": + "DPD NL", "logo": null, "fields": {"credentials": {"username": {"visibility": + "visible", "label": "Delis ID"}, "password": {"visibility": "password", "label": + "Password"}}, "test_credentials": {"username": {"visibility": "visible", "label": + "Test Delis ID"}, "password": {"visibility": "password", "label": "Test Password"}}}}, + {"object": "CarrierType", "type": "EstafetaAccount", "readable": "Estafeta", + "logo": null, "fields": {"credentials": {"customer_id": {"visibility": "visible", + "label": "Subscriber ID"}, "username": {"visibility": "visible", "label": + "Login"}, "password": {"visibility": "password", "label": "Password"}, "client_id": + {"visibility": "visible", "label": "Tracking Subscriber ID"}, "user_id": {"visibility": + "visible", "label": "Tracking Login"}, "secret_key": {"visibility": "password", + "label": "Tracking Password"}, "customer_number": {"visibility": "visible", + "label": "Customer Number"}, "hub_id": {"visibility": "visible", "label": + "Office Number"}}, "test_credentials": {"customer_id": {"visibility": "visible", + "label": "Test Subscriber ID"}, "username": {"visibility": "visible", "label": + "Test Login"}, "password": {"visibility": "password", "label": "Test Password"}, + "client_id": {"visibility": "visible", "label": "Test Tracking Subscriber + ID"}, "user_id": {"visibility": "visible", "label": "Test Tracking Login"}, + "secret_key": {"visibility": "password", "label": "Test Tracking Password"}, + "customer_number": {"visibility": "visible", "label": "Test Customer Number"}, + "hub_id": {"visibility": "visible", "label": "Test Office Number"}}}}, {"object": + "CarrierType", "type": "FastwayAccount", "readable": "Fastway", "logo": null, + "fields": {"credentials": {"api_key": {"visibility": "masked", "label": "API + Key"}}}}, {"object": "CarrierType", "type": "FedexAccount", "readable": "FedEx", + "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "readonly", "label": "FedEx Account Number"}, "meter_number": {"visibility": + "invisible", "label": "FedEx Production Meter Number"}, "key": {"visibility": + "invisible", "label": "FedEx Production Authentication Key"}, "password": + {"visibility": "invisible", "label": "FedEx Production Password"}}, "test_credentials": + {"account_number": {"visibility": "readonly", "label": "FedEx Account Number"}, + "meter_number": {"visibility": "invisible", "label": "FedEx Test Meter Number"}, + "key": {"visibility": "invisible", "label": "FedEx Developer Test Key"}, "password": + {"visibility": "invisible", "label": "FedEx Test Password"}}, "creation_fields": + {"credential_information": {"account_number": {"label": "FedEx Account #", + "visibility": "visible"}}, "company_information": {"corporate_first_name": + {"label": "Company Contact First Name", "visibility": "visible"}, "corporate_last_name": + {"label": "Company Contact Last Name", "visibility": "visible"}, "corporate_job_title": + {"label": "Company Contact Job Title", "visibility": "visible"}, "corporate_company_name": + {"label": "Company Name", "visibility": "visible"}, "corporate_phone_number": + {"label": "Company Phone", "visibility": "visible"}, "corporate_email_address": + {"label": "Company Email", "visibility": "visible"}, "corporate_streets": + {"label": "Company Street", "visibility": "visible"}, "corporate_city": {"label": + "Company City", "visibility": "visible"}, "corporate_state": {"label": "Company + State", "visibility": "visible"}, "corporate_postal_code": {"label": "Company + Postal Code", "visibility": "visible"}, "corporate_country_code": {"label": + "Company Country Code", "visibility": "visible"}}, "address_information": + {"shipping_streets": {"label": "Shipping Street", "visibility": "visible"}, + "shipping_city": {"label": "Shipping City", "visibility": "visible"}, "shipping_state": + {"label": "Shipping State", "visibility": "visible"}, "shipping_postal_code": + {"label": "Shipping Postal Code ", "visibility": "visible"}, "shipping_country_code": + {"label": "Shipping Country Code", "visibility": "visible"}}}, "custom_workflow": + true}}, {"object": "CarrierType", "type": "FedexCrossBorderAccount", "readable": + "FedEx Cross Border", "logo": null, "fields": {"credentials": {"api_key": + {"visibility": "masked", "label": "FedEx Cross Border API key"}, "origin_hub": + {"visibility": "select", "label": "FedEx Cross Border Origin Hub"}}, "test_credentials": + {"api_key": {"visibility": "masked", "label": "Test FedEx Cross Border API + key"}, "origin_hub": {"visibility": "select", "label": "Test FedEx Cross Border + Origin Hub"}}}}, {"object": "CarrierType", "type": "FedexMailviewAccount", + "readable": "FedEx MailView", "logo": null, "fields": {"credentials": {"customer_id": + {"visibility": "visible", "label": "Customer Code"}, "service_id": {"visibility": + "password", "label": "Service ID"}, "fimspremium": {"visibility": "checkbox", + "label": "FIMS Premium"}, "fimsstandard": {"visibility": "checkbox", "label": + "FIMS Standard"}, "mailviewpremium": {"visibility": "checkbox", "label": "MailView + Premium"}, "mailviewlight": {"visibility": "checkbox", "label": "MailView + Light"}}}}, {"object": "CarrierType", "type": "FedexSmartpostAccount", "readable": + "FedEx SmartPost", "logo": null, "fields": {"credentials": {"account_number": + {"visibility": "visible", "label": "FedEx SmartPost Account Number"}, "hub_id": + {"visibility": "visible", "label": "FedEx SmartPost HubID"}, "meter_number": + {"visibility": "visible", "label": "Fedex SmartPost Meter Number"}, "key": + {"visibility": "masked", "label": "FedEx SmartPost Access Key"}, "password": + {"visibility": "password", "label": "SmartPost Access Key Password"}}, "creation_fields": + {"credential_information": {"account_number": {"label": "FedEx SmartPost Account + #", "visibility": "visible"}, "hub_id": {"label": "FedEx SmartPost Hub ID", + "visibility": "visible"}}, "company_information": {"corporate_first_name": + {"label": "Company Contact First Name", "visibility": "visible"}, "corporate_last_name": + {"label": "Company Contact Last Name", "visibility": "visible"}, "corporate_job_title": + {"label": "Company Contact Job Title", "visibility": "visible"}, "corporate_company_name": + {"label": "Company Name", "visibility": "visible"}, "corporate_phone_number": + {"label": "Company Phone", "visibility": "visible"}, "corporate_email_address": + {"label": "Company Email", "visibility": "visible"}, "corporate_streets": + {"label": "Company Street", "visibility": "visible"}, "corporate_city": {"label": + "Company City", "visibility": "visible"}, "corporate_state": {"label": "Company + State", "visibility": "visible"}, "corporate_postal_code": {"label": "Company + Postal Code", "visibility": "visible"}, "corporate_country_code": {"label": + "Company Country Code", "visibility": "visible"}}, "address_information": + {"shipping_streets": {"label": "Shipping Street", "visibility": "visible"}, + "shipping_city": {"label": "Shipping City", "visibility": "visible"}, "shipping_state": + {"label": "Shipping State", "visibility": "visible"}, "shipping_postal_code": + {"label": "Shipping Postal Code ", "visibility": "visible"}, "shipping_country_code": + {"label": "Shipping Country Code", "visibility": "visible"}}}, "custom_workflow": + true}}, {"object": "CarrierType", "type": "FirstMileConciseAccount", "readable": + "First Mile", "logo": null, "fields": {"credentials": {"username": {"visibility": + "visible", "label": "FirstMile Username"}, "password": {"visibility": "password", + "label": "FirsMile Password"}, "account_number": {"visibility": "visible", + "label": "FirstMile Account Number"}}, "test_credentials": {"username": {"visibility": + "visible", "label": "Test FirstMile Username"}, "password": {"visibility": + "password", "label": "Test FirstMile Password"}, "account_number": {"visibility": + "visible", "label": "Test FirstMile Account Number"}}}}, {"object": "CarrierType", + "type": "FlexportAccount", "readable": "Flexport", "logo": null, "fields": + {"credentials": {"api_key": {"visibility": "masked", "label": "Flexport Account + API Key"}}}}, {"object": "CarrierType", "type": "GsoAccount", "readable": + "GSO", "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "GSO Account Number"}, "username": {"visibility": "visible", + "label": "Username"}, "password": {"visibility": "password", "label": "Password"}}}}, + {"object": "CarrierType", "type": "HailifyAccount", "readable": "Hailify", + "logo": null, "fields": {"credentials": {"partner_id": {"visibility": "visible", + "label": "Hailify Partner ID"}}, "test_credentials": {"partner_id": {"visibility": + "visible", "label": "Test Hailify Partner ID"}}}}, {"object": "CarrierType", + "type": "HermesAccount", "readable": "Evri", "logo": null, "fields": {"credentials": + {"username": {"visibility": "visible", "label": "Evri Username"}, "password": + {"visibility": "password", "label": "Evri Password"}, "client_id": {"visibility": + "visible", "label": "Evri Client ID"}, "auth_id": {"visibility": "visible", + "label": "Evri Auth ID"}, "auth_secret": {"visibility": "password", "label": + "Evri Auth Secret"}, "client_name": {"visibility": "visible", "label": "Evri + Client name"}, "group_id": {"visibility": "visible", "label": "Evri Group + ID"}, "client_licence": {"visibility": "masked", "label": "Evri Client License"}, + "api_key": {"visibility": "masked", "label": "Evri API Key"}}}}, {"object": + "CarrierType", "type": "InterlinkExpressAccount", "readable": "Interlink Express", + "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "Interlink Express Account Number"}, "username": {"visibility": + "visible", "label": "Interlink Express Username"}, "password": {"visibility": + "password", "label": "Interlink Express Password"}, "vat_number": {"visibility": + "visible", "label": "VAT Number"}}}}, {"object": "CarrierType", "type": "LasershipV2Account", + "readable": "LaserShipV2", "logo": null, "fields": {"credentials": {"api_key": + {"visibility": "masked", "label": "LaserShipV2 API Key"}, "api_id": {"visibility": + "visible", "label": "LaserShipV2 API ID"}, "facility": {"visibility": "visible", + "label": "LaserShipV2 Customer Branch"}, "cargo_claim_value": {"visibility": + "visible", "label": "LaserShipV2 Cargo Insurance Claim Value (USD)"}, "is_reseller": + {"visibility": "checkbox", "label": "3PL Account? (check if yes)"}, "injection_location_type": + {"visibility": "visible", "label": "Injection Address Location Type (\"Business\" + or \"Residence\")"}, "injection_contact": {"visibility": "visible", "label": + "Injection Address Contact"}, "injection_organization": {"visibility": "visible", + "label": "Injection Address Organization"}, "injection_street1": {"visibility": + "visible", "label": "Injection Address Street1"}, "injection_street2": {"visibility": + "visible", "label": "Injection Address Street2"}, "injection_city": {"visibility": + "visible", "label": "Injection Address City"}, "injection_state": {"visibility": + "visible", "label": "Injection Address State"}, "injection_zip": {"visibility": + "visible", "label": "Injection Address Postal Code"}, "injection_country": + {"visibility": "visible", "label": "Injection Address Country Code"}, "injection_phone": + {"visibility": "visible", "label": "Injection Address Phone"}, "injection_phone_ext": + {"visibility": "visible", "label": "Injection Address Phone Extension"}, "injection_email": + {"visibility": "visible", "label": "Injection Address Email"}, "injection_instruction": + {"visibility": "visible", "label": "Injection Address Instruction"}, "injection_note": + {"visibility": "visible", "label": "Injection Address Note"}}}}, {"object": + "CarrierType", "type": "LoomisExpressAccount", "readable": "Loomis Express", + "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "Loomis Express Account Number"}, "username": {"visibility": + "visible", "label": "Loomis Express Username"}, "password": {"visibility": + "password", "label": "Loomis Express Password"}}, "test_credentials": {"account_number": + {"visibility": "visible", "label": "Test Loomis Express Account Number"}, + "username": {"visibility": "visible", "label": "Test Loomis Express Username"}, + "password": {"visibility": "password", "label": "Test Loomis Express Password"}}}}, + {"object": "CarrierType", "type": "LsoAccount", "readable": "LSO", "logo": + null, "fields": {"credentials": {"account_number": {"visibility": "visible", + "label": "LSO Production Account Number"}, "username": {"visibility": "visible", + "label": "LSO Production Username"}, "password": {"visibility": "password", + "label": "LSO Production Password"}}, "test_credentials": {"account_number": + {"visibility": "visible", "label": "LSO Test Account Number"}, "username": + {"visibility": "visible", "label": "LSO Test Username"}, "password": {"visibility": + "password", "label": "LSO Test Password"}}}}, {"object": "CarrierType", "type": + "NewgisticsAccount", "readable": "Newgistics", "logo": null, "fields": {"credentials": + {"client_id": {"visibility": "visible", "label": "Client ID"}, "client_secret": + {"visibility": "password", "label": "Client Secret"}, "client_facility_id": + {"visibility": "visible", "label": "Client Facility ID"}, "fulfiller_facility_id": + {"visibility": "visible", "label": "Newgistics Facility ID"}, "tracking_api_key": + {"visibility": "masked", "label": "Tracking API Key"}, "merchant_id": {"visibility": + "visible", "label": "Merchant ID"}}, "test_credentials": {"client_id": {"visibility": + "visible", "label": "Client ID"}, "client_secret": {"visibility": "password", + "label": "Client Secret"}, "client_facility_id": {"visibility": "visible", + "label": "Client Facility ID"}, "fulfiller_facility_id": {"visibility": "visible", + "label": "Newgistics Facility ID"}, "tracking_api_key": {"visibility": "masked", + "label": "Tracking API Key"}, "merchant_id": {"visibility": "visible", "label": + "Merchant ID"}}}}, {"object": "CarrierType", "type": "OmniParcelAccount", + "readable": "OmniParcel", "logo": null, "fields": {"credentials": {"api_access_key": + {"visibility": "masked", "label": "API Access Key"}, "return_api_access_key": + {"visibility": "masked", "label": "Return API Access Key"}}, "test_credentials": + {"api_access_key": {"visibility": "masked", "label": "Test API Access Key"}, + "return_api_access_key": {"visibility": "masked", "label": "Test Return API + Access Key"}}}}, {"object": "CarrierType", "type": "OntracAccount", "readable": + "OnTrac", "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "OnTrac Account Number"}, "password": {"visibility": "password", + "label": "OnTrac API Password"}}, "test_credentials": {"account_number": {"visibility": + "visible", "label": "OnTrac Test Account Number"}, "password": {"visibility": + "password", "label": "OnTrac Test API Password"}}}}, {"object": "CarrierType", + "type": "OptimaAccount", "readable": "Optima", "logo": null, "fields": {"credentials": + {"username": {"visibility": "visible", "label": "Optima username"}, "password": + {"visibility": "password", "label": "Optima password"}, "account_number": + {"visibility": "visible", "label": "Optima account number"}}, "test_credentials": + {"username": {"visibility": "visible", "label": "Test Optima username"}, "password": + {"visibility": "password", "label": "Test Optima password"}, "account_number": + {"visibility": "visible", "label": "Test Optima account number"}}}}, {"object": + "CarrierType", "type": "OsmWorldwideAccount", "readable": "OSM Worldwide", + "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "Account Number"}, "mailer_id": {"visibility": "visible", + "label": "Mailer ID"}, "facility_code": {"visibility": "visible", "label": + "Facility Code/Cost Center ID for manifesting (optional)"}, "company_name": + {"visibility": "visible", "label": "Company Name"}, "aws_sftp_username": {"visibility": + "visible", "label": "SFTP Username"}}}}, {"object": "CarrierType", "type": + "PandionAccount", "readable": "Pandion", "logo": null, "fields": {"credentials": + {"api_key": {"visibility": "masked", "label": "Prod Pandion API Key"}}, "test_credentials": + {"api_key": {"visibility": "masked", "label": "Test Pandion API Key"}}}}, + {"object": "CarrierType", "type": "ParcelForceAccount", "readable": "Parcel + Force", "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "Parcelforce Contract Number"}, "username": {"visibility": + "visible", "label": "expressLink API Username"}, "password": {"visibility": + "password", "label": "expressLink API Password"}, "department_id": {"visibility": + "visible", "label": "Department ID - not required"}}, "test_credentials": + {"account_number": {"visibility": "visible", "label": "Parcelforce Test Contract + Number"}, "username": {"visibility": "visible", "label": "Test expressLink + API Username"}, "password": {"visibility": "password", "label": "Test expressLink + API Password"}, "department_id": {"visibility": "visible", "label": "Test + Department ID - not required"}}}}, {"object": "CarrierType", "type": "ParcllAccount", + "readable": "Cirro E-Commerce", "logo": null, "fields": {"credentials": {"api_key": + {"visibility": "masked", "label": "Cirro E-Commerce API key"}, "user_id": + {"visibility": "visible", "label": "Cirro E-Commerce User Id"}, "origin_hub": + {"visibility": "select", "label": "Cirro E-Commerce Origin Hub"}}, "test_credentials": + {"api_key": {"visibility": "masked", "label": "Test Cirro E-Commerce API key"}, + "user_id": {"visibility": "visible", "label": "Test Cirro E-Commerce User + Id"}, "origin_hub": {"visibility": "select", "label": "Test Cirro E-Commerce + Origin Hub"}}}}, {"object": "CarrierType", "type": "PassportGlobalAccount", + "readable": "Passport Global", "logo": null, "fields": {"credentials": {"api_key": + {"visibility": "masked", "label": "Passport Global API key"}, "email": {"visibility": + "visible", "label": "Customer email address registered with Passport Global"}, + "name": {"visibility": "visible", "label": "Customer name registered with + Passport Global"}, "company_name": {"visibility": "visible", "label": "Customer + company name registered with Passport Global"}, "phone": {"visibility": "visible", + "label": "Customer phone number registered with Passport Global (optional)"}}, + "test_credentials": {"api_key": {"visibility": "masked", "label": "Passport + Global Test API key"}, "email": {"visibility": "visible", "label": "Customer + email address registered with Passport Global"}, "name": {"visibility": "visible", + "label": "Customer name registered with Passport Global"}, "company_name": + {"visibility": "visible", "label": "Customer company name registered with + Passport Global"}, "phone": {"visibility": "visible", "label": "Customer phone + number registered with Passport Global (optional)"}}}}, {"object": "CarrierType", + "type": "PurolatorAccount", "readable": "Purolator", "logo": null, "fields": + {"credentials": {"account_number": {"visibility": "visible", "label": "Purolator + Account Number"}, "api_key": {"visibility": "masked", "label": "Production + API Key"}, "password": {"visibility": "password", "label": "Production API + Key Password"}}}}, {"object": "CarrierType", "type": "RoyalMailAccount", "readable": + "Royal Mail", "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "Royal Mail Account Number"}, "username": {"visibility": + "visible", "label": "OBA Email Address"}, "posting_location_number": {"visibility": + "visible", "label": "Posting Location Number"}}}}, {"object": "CarrierType", + "type": "RRDonnelleyAccount", "readable": "ePost Global", "logo": null, "fields": + {"credentials": {"account_number": {"visibility": "visible", "label": "ePostGlobal + Account Number"}}}}, {"object": "CarrierType", "type": "SendleAccount", "readable": + "Sendle", "logo": null, "fields": {"credentials": {"api_key": {"visibility": + "masked", "label": "Sendle API Key"}, "user_id": {"visibility": "visible", + "label": "Sendle ID"}}, "test_credentials": {"api_key": {"visibility": "masked", + "label": "Sendle Sandbox API Key"}, "user_id": {"visibility": "visible", "label": + "Sendle Sandbox ID"}}}}, {"object": "CarrierType", "type": "SfExpressAccount", + "readable": "SF Express", "logo": null, "fields": {"credentials": {"checkword": + {"visibility": "visible", "label": "SF Express checkword"}, "customer_code": + {"visibility": "visible", "label": "SF Express customer code"}, "customer_id": + {"visibility": "visible", "label": "SF Express customer id"}}, "test_credentials": + {"checkword": {"visibility": "visible", "label": "Test SF Express checkword"}, + "customer_code": {"visibility": "visible", "label": "Test SF Express customer + code"}, "customer_id": {"visibility": "visible", "label": "Test SF Express + customer id"}}}}, {"object": "CarrierType", "type": "SmartKargoAccount", "readable": + "SmartKargo", "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "SmartKargo account number"}}, "test_credentials": {"account_number": + {"visibility": "visible", "label": "Test SmartKargo account number"}}}}, {"object": + "CarrierType", "type": "SonicAccount", "readable": "Sonic", "logo": null, + "fields": {"credentials": {"username": {"visibility": "visible", "label": + "Sonic username"}, "password": {"visibility": "password", "label": "Sonic + password"}, "account_number": {"visibility": "visible", "label": "Sonic account + number"}}, "test_credentials": {"username": {"visibility": "visible", "label": + "Test Sonic username"}, "password": {"visibility": "password", "label": "Test + Sonic password"}, "account_number": {"visibility": "visible", "label": "Test + Sonic account number"}}}}, {"object": "CarrierType", "type": "SpeedeeAccount", + "readable": "Spee-Dee", "logo": null, "fields": {"credentials": {"account_number": + {"visibility": "visible", "label": "Spee-Dee Account Number"}}}}, {"object": + "CarrierType", "type": "SwyftAccount", "readable": "Swyft", "logo": null, + "fields": {"credentials": {"password": {"visibility": "password", "label": + "Swyft API Key"}}, "test_credentials": {"password": {"visibility": "password", + "label": "Test Swyft API Key"}}}}, {"object": "CarrierType", "type": "TforceConciseAccount", + "readable": "TForce", "logo": null, "fields": {"credentials": {"username": + {"visibility": "visible", "label": "TForce Username"}, "password": {"visibility": + "password", "label": "TForce Password"}, "account_number": {"visibility": + "visible", "label": "TForce Account Number"}}, "test_credentials": {"username": + {"visibility": "visible", "label": "Test TForce Username"}, "password": {"visibility": + "password", "label": "Test TForce Password"}, "account_number": {"visibility": + "visible", "label": "Test TForce Account Number"}}}}, {"object": "CarrierType", + "type": "TollAccount", "readable": "Toll", "logo": null, "fields": {"credentials": + {"account_number": {"visibility": "visible", "label": "Toll Account Number"}, + "business_unit": {"visibility": "visible", "label": "Toll Business Unit (Ex. + IPEC)"}, "source_system_code": {"visibility": "visible", "label": "Toll Source + System Code"}}, "test_credentials": {"account_number": {"visibility": "visible", + "label": "Toll Test Account Number"}, "business_unit": {"visibility": "visible", + "label": "Toll Business Unit (Ex. IPEC)"}, "source_system_code": {"visibility": + "visible", "label": "Toll Test Source System Code"}}}}, {"object": "CarrierType", + "type": "UdsAccount", "readable": "UDS", "logo": null, "fields": {"credentials": + {"ftp_username": {"visibility": "visible", "label": "FTP Username"}, "ftp_password": + {"visibility": "password", "label": "FTP Password"}}}}, {"object": "CarrierType", + "type": "UpsAccount", "readable": "UPS", "logo": null, "fields": {"credentials": + {"access_license_number": {"visibility": "invisible", "label": "UPS Access + License Number"}, "account_number": {"visibility": "readonly", "label": "UPS + Account Number"}, "user_id": {"visibility": "invisible", "label": "UPS.com + User ID"}, "password": {"visibility": "invisible", "label": "UPS.com Password"}}, + "creation_fields": {"registration_data": {"account_number": {"label": "UPS + Account Number", "visibility": "visible"}, "client_ip": {"label": "Client + IP", "visibility": "invisible"}, "name": {"label": "Company Contact Name", + "visibility": "visible"}, "title": {"label": "Company Contact Job Title", + "visibility": "visible"}, "company": {"label": "Company Name", "visibility": + "visible"}, "phone": {"label": "Company Phone", "visibility": "visible"}, + "email": {"label": "Company Email", "visibility": "visible"}, "website": {"label": + "Company Website", "visibility": "visible"}, "street1": {"label": "Shipping + Street 1", "visibility": "visible"}, "street2": {"label": "Shipping Street + 2", "visibility": "visible"}, "city": {"label": "Shipping City", "visibility": + "visible"}, "state": {"label": "Shipping State", "visibility": "visible"}, + "postal_code": {"label": "Shipping Postal Code", "visibility": "visible"}, + "country": {"label": "Shipping Country", "visibility": "visible"}, "invoice_number": + {"label": "UPS Invoice Number", "visibility": "visible"}, "invoice_date": + {"label": "UPS Invoice Date", "visibility": "visible"}, "invoice_amount": + {"label": "UPS Invoice Amount", "visibility": "visible"}, "invoice_currency": + {"label": "UPS Invoice Currency", "visibility": "visible"}, "invoice_control_id": + {"label": "UPS Invoice Control ID", "visibility": "visible"}}}, "custom_workflow": + true}}, {"object": "CarrierType", "type": "UpsIparcelAccount", "readable": + "UPS i-Parcel", "logo": null, "fields": {"credentials": {"api_key": {"visibility": + "masked", "label": "i-Parcel API key"}}}}, {"object": "CarrierType", "type": + "UpsMailInnovationsAccount", "readable": "UPS Mail Innovations", "logo": null, + "fields": {"credentials": {"account_number": {"visibility": "visible", "label": + "UPS Shipper Number"}, "user_id": {"visibility": "visible", "label": "UPS.com + User ID"}, "password": {"visibility": "password", "label": "UPS.com Password"}, + "customer_id": {"visibility": "visible", "label": "UPS customer id (optional)"}, + "customer_guid": {"visibility": "visible", "label": "UPS customer GUID (optional)"}}}}, + {"object": "CarrierType", "type": "UspsAccount", "readable": "USPS", "logo": + null, "fields": {"credentials": {"company_name": {"visibility": "visible", + "label": "Account Holder Name"}, "address_street": {"visibility": "visible", + "label": "Street Address"}, "address_city": {"visibility": "visible", "label": + "City"}, "address_state": {"visibility": "visible", "label": "State"}, "address_zip": + {"visibility": "visible", "label": "ZIP Code"}, "phone": {"visibility": "visible", + "label": "Phone Number"}, "email": {"visibility": "visible", "label": "Email + Address"}, "shipper_id": {"visibility": "visible", "label": "Shipper Identifier + (Optional)"}}}}, {"object": "CarrierType", "type": "VehoAccount", "readable": + "Veho", "logo": null, "fields": {"credentials": {"api_key": {"visibility": + "masked", "label": "Veho Production API Key"}}, "test_credentials": {"api_key": + {"visibility": "masked", "label": "Veho Test API Key"}}}}, {"object": "CarrierType", + "type": "XDeliveryAccount", "readable": "Maergo", "logo": null, "fields": + {"credentials": {"username": {"visibility": "visible", "label": "Maergo Username"}, + "password": {"visibility": "password", "label": "Maergo Password"}}, "test_credentials": + {"username": {"visibility": "visible", "label": "Test Maergo Username"}, "password": + {"visibility": "password", "label": "Test Maergo Password"}}}}]' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '38432' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaf124e798c43c000ff145 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.027617' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/carrier_types + response: + body: + string: '[{"object": "CarrierType", "type": "AmazonMwsAccount", "readable": + "Amazon MWS", "logo": null, "fields": {"credentials": {"access_key_id": {"visibility": + "visible", "label": "AWS Access Key ID"}, "secret_key": {"visibility": "password", + "label": "Secret Key"}, "merchant_id": {"visibility": "visible", "label": + "Seller ID"}}}}, {"object": "CarrierType", "type": "ApcAccount", "readable": + "APC", "logo": null, "fields": {"credentials": {"shipper_id": {"visibility": + "visible", "label": "APC Shipper ID"}, "password": {"visibility": "password", + "label": "APC Password"}, "facility": {"visibility": "visible", "label": "APC + Facility (e.g., NJ, LA)"}}}}, {"object": "CarrierType", "type": "AsendiaUsaAccount", + "readable": "Asendia USA", "logo": null, "fields": {"credentials": {"account_number": + {"visibility": "visible", "label": "AsendiaUsa Account Number"}, "sub_account_number": + {"visibility": "visible", "label": "AsendiaUsa Sub Account Number"}, "username": + {"visibility": "visible", "label": "AsendiaUsa Username"}, "password": {"visibility": + "password", "label": "AsendiaUsa Password"}, "api_key": {"visibility": "masked", + "label": "AsendiaUsa API key"}, "carrier_facility": {"visibility": "select", + "label": "AsendiaUsa Carrier Facility / Processing Location (Optional)"}}, + "test_credentials": {"account_number": {"visibility": "visible", "label": + "Test AsendiaUsa Account Number"}, "sub_account_number": {"visibility": "visible", + "label": "Test AsendiaUsa Sub Account Number"}, "username": {"visibility": + "visible", "label": "Test AsendiaUsa Username"}, "password": {"visibility": + "password", "label": "Test AsendiaUsa Password"}, "api_key": {"visibility": + "masked", "label": "Test AsendiaUsa API key"}, "carrier_facility": {"visibility": + "select", "label": "Test AsendiaUsa Carrier Facility / Processing Location + (Optional)"}}}}, {"object": "CarrierType", "type": "AustraliaPostAccount", + "readable": "Australia Post", "logo": null, "fields": {"credentials": {"account_number": + {"visibility": "visible", "label": "Australia Post Account Number"}, "api_key": + {"visibility": "masked", "label": "Australia Post API Key"}, "api_secret": + {"visibility": "password", "label": "Australia Post Secret Key"}, "print_as_you_go": + {"visibility": "checkbox", "label": "Print as you go"}}, "test_credentials": + {"account_number": {"visibility": "visible", "label": "Australia Post Test + Account Number"}, "api_key": {"visibility": "masked", "label": "Australia + Post Test API Key"}, "api_secret": {"visibility": "password", "label": "Australia + Post Test Secret Key"}, "print_as_you_go": {"visibility": "checkbox", "label": + "Print as you go"}}}}, {"object": "CarrierType", "type": "AxlehireV3Account", + "readable": "AxlehireV3", "logo": null, "fields": {"credentials": {"api_key": + {"visibility": "masked", "label": "Client Secret"}}, "test_credentials": {"api_key": + {"visibility": "masked", "label": "Client Secret"}}}}, {"object": "CarrierType", + "type": "BetterTrucksAccount", "readable": "Better Trucks", "logo": null, + "fields": {"credentials": {"api_key": {"visibility": "masked", "label": "Better + Trucks API key"}}, "test_credentials": {"api_key": {"visibility": "masked", + "label": "Test Better Trucks API key"}}}}, {"object": "CarrierType", "type": + "CanadaPostAccount", "readable": "Canada Post", "logo": null, "fields": {"credentials": + {"api_key": {"visibility": "masked", "label": "CanadaPost API Key"}, "contract_id": + {"visibility": "visible", "label": "CanadaPost Contract ID (contract customers + only)"}, "customer_number": {"visibility": "visible", "label": "CanadaPost + Customer Number"}, "has_credit_card": {"visibility": "checkbox", "label": + "CanadaPost account has credit card?"}, "not_platform": {"visibility": "invisible", + "label": "CanadaPost account not registered through platform?"}}, "test_credentials": + {"api_key": {"visibility": "masked", "label": "CanadaPost Test API Key"}, + "contract_id": {"visibility": "visible", "label": "CanadaPost Test Contract + ID (contract customers only)"}, "customer_number": {"visibility": "visible", + "label": "CanadaPost Test Customer Number"}, "has_credit_card": {"visibility": + "checkbox", "label": "CanadaPost Test account has credit card?"}, "not_platform": + {"visibility": "invisible", "label": "CanadaPost Test account not registered + through platform?"}}, "custom_workflow": true}}, {"object": "CarrierType", + "type": "CanparAccount", "readable": "Canpar", "logo": null, "fields": {"credentials": + {"account_number": {"visibility": "visible", "label": "Canpar Account Number"}, + "username": {"visibility": "visible", "label": "Canpar Username"}, "password": + {"visibility": "password", "label": "Canpar Password"}}, "test_credentials": + {"account_number": {"visibility": "visible", "label": "Test Canpar Account + Number"}, "username": {"visibility": "visible", "label": "Test Canpar Username"}, + "password": {"visibility": "password", "label": "Test Canpar Password"}}}}, + {"object": "CarrierType", "type": "ColumbusLastMileAccount", "readable": "CDL + Last Mile Solutions", "logo": null, "fields": {"credentials": {"username": + {"visibility": "visible", "label": "CDL Last Mile Solutions customer username"}, + "password": {"visibility": "password", "label": "CDL Last Mile Solutions customer + password"}, "tracking_code_prefix": {"visibility": "visible", "label": "CDL + Last Mile Solutions tracking code prefix"}}, "test_credentials": {"username": + {"visibility": "visible", "label": "CDL Last Mile Solutions customer test + username"}, "password": {"visibility": "password", "label": "CDL Last Mile + Solutions customer test password"}, "tracking_code_prefix": {"visibility": + "visible", "label": "CDL Last Mile Solutions tracking code prefix"}}}}, {"object": + "CarrierType", "type": "CourierExpressAccount", "readable": "Courier Express", + "logo": null, "fields": {"credentials": {"api_key": {"visibility": "masked", + "label": "Courier Express API key"}, "shipper_id": {"visibility": "visible", + "label": "Courier Express shipper ID"}}, "test_credentials": {"api_key": {"visibility": + "masked", "label": "Test Courier Express API key"}, "shipper_id": {"visibility": + "visible", "label": "Test Courier Express shipper ID"}}}}, {"object": "CarrierType", + "type": "CouriersPleaseAccount", "readable": "CouriersPlease", "logo": null, + "fields": {"credentials": {"username": {"visibility": "visible", "label": + "Account Number"}, "password": {"visibility": "password", "label": "Password"}}, + "test_credentials": {"username": {"visibility": "visible", "label": "Account + Number"}, "password": {"visibility": "password", "label": "Password"}}}}, + {"object": "CarrierType", "type": "DaiPostAccount", "readable": "Dai Post", + "logo": null, "fields": {"credentials": {"username": {"visibility": "visible", + "label": " Dai Post customer username"}, "password": {"visibility": "password", + "label": " Dai Post client secret"}, "origin_terminal": {"visibility": "visible", + "label": " Dai Post default origin terminal"}, "account_code": {"visibility": + "visible", "label": " 3-letter account code for customers with multiple accounts"}}}}, + {"object": "CarrierType", "type": "DeliverItAccount", "readable": "Deliver-It", + "logo": null, "fields": {"credentials": {"username": {"visibility": "visible", + "label": "Deliver-It Username"}, "password": {"visibility": "password", "label": + "Deliver-It Password"}, "account_number": {"visibility": "visible", "label": + "Deliver-It Account Number"}}, "test_credentials": {"username": {"visibility": + "visible", "label": "Test Deliver-It Username"}, "password": {"visibility": + "password", "label": "Test Deliver-It Password"}, "account_number": {"visibility": + "visible", "label": "Test Deliver-It Account Number"}}}}, {"object": "CarrierType", + "type": "DeutschePostUKAccount", "readable": "Deutsche Post UK", "logo": null, + "fields": {"credentials": {"client_id": {"visibility": "visible", "label": + "Deutsche Post UK Client ID"}, "client_secret": {"visibility": "password", + "label": "Deutsche Post UK Secret"}, "account_number": {"visibility": "visible", + "label": "Deutsche Post UK Account Number"}}, "test_credentials": {"client_id": + {"visibility": "visible", "label": "Test Deutsche Post UK Client ID"}, "client_secret": + {"visibility": "password", "label": "Test Deutsche Post UK Secret"}, "account_number": + {"visibility": "visible", "label": "Test Deutsche Post UK Account Number"}}}}, + {"object": "CarrierType", "type": "DhlEcommerceAsiaAccount", "readable": "DHL + Ecommerce Asia", "logo": null, "fields": {"credentials": {"account_number": + {"visibility": "visible", "label": "DHL Ecommerce Asia Account Number"}, "client_id": + {"visibility": "visible", "label": "DHL Ecommerce Asia Contract Number"}, + "password": {"visibility": "password", "label": "DHL Ecommerce Asia Password"}, + "barcode_prefix": {"visibility": "visible", "label": "DHL Ecommerce Asia Customer + ID"}}, "test_credentials": {"account_number": {"visibility": "visible", "label": + "Test DHL Ecommerce Asia Account Number"}, "client_id": {"visibility": "visible", + "label": "Test DHL Ecommerce Asia Contract Number"}, "password": {"visibility": + "password", "label": "Test DHL Ecommerce Asia Password"}, "barcode_prefix": + {"visibility": "visible", "label": "Test DHL Ecommerce Asia Customer ID"}}}}, + {"object": "CarrierType", "type": "DhlEcsAccount", "readable": "DHL eCommerce + Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions client ID"}, "client_secret": + {"visibility": "password", "label": "DHL eCommerce Solutions client secret"}, + "pickup_id": {"visibility": "visible", "label": "DHL eCommerce Solutions pickup + ID"}, "distribution_center": {"visibility": "visible", "label": "DHL eCommerce + Solutions distribution center"}}, "test_credentials": {"client_id": {"visibility": + "visible", "label": "Test DHL eCommerce Solutions client ID"}, "client_secret": + {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret"}, + "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions + pickup ID"}, "distribution_center": {"visibility": "visible", "label": "Test + DHL eCommerce Solutions distribution center"}}}}, {"object": "CarrierType", + "type": "DhlExpressAccount", "readable": "DHL Express", "logo": null, "fields": + {"credentials": {"account_number": {"visibility": "visible", "label": "DHL + Account Number"}, "country": {"visibility": "visible", "label": "Account Country + Code (2 Letter)"}, "site_id": {"visibility": "visible", "label": "Site ID + (Optional)"}, "password": {"visibility": "password", "label": "Password (Optional)"}, + "is_reseller": {"visibility": "checkbox", "label": "Reseller Account? (check + if yes)"}}}}, {"object": "CarrierType", "type": "DhlPaketAccount", "readable": + "DHL Paket", "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "DHL Paket Account Number (EKP)"}, "contract_id": {"visibility": + "visible", "label": "DHL Paket Contract Participation Value"}, "cig_username": + {"visibility": "visible", "label": "DHL Paket CIG Username"}, "cig_password": + {"visibility": "password", "label": "DHL Paket CIG Password"}, "tnt_username": + {"visibility": "visible", "label": "DHL Paket TNT Username (if applicable)"}, + "tnt_password": {"visibility": "password", "label": "DHL Paket TNT Password + (if applicable)"}, "retoure_username": {"visibility": "visible", "label": + "DHL Paket Retoure Username (if applicable)"}, "retoure_password": {"visibility": + "password", "label": "DHL Paket Retoure Password (if applicable)"}}, "test_credentials": + {"account_number": {"visibility": "visible", "label": "Test DHL Paket Account + Number (EKP)"}, "contract_id": {"visibility": "visible", "label": "Test DHL + Paket Contract Participation Value"}, "cig_username": {"visibility": "visible", + "label": " Test DHL Paket CIG Username"}, "cig_password": {"visibility": "password", + "label": "Test DHL Paket CIG Password"}, "tnt_username": {"visibility": "visible", + "label": "Test DHL Paket TNT Username (if applicable)"}, "tnt_password": {"visibility": + "password", "label": "Test DHL Paket TNT Password (if applicable)"}, "retoure_username": + {"visibility": "visible", "label": "Test DHL Paket Retoure Username (if applicable)"}, + "retoure_password": {"visibility": "password", "label": "Test DHL Paket Retoure + Password (if applicable)"}}}}, {"object": "CarrierType", "type": "DhlParcelAccount", + "readable": "DHL Parcel", "logo": null, "fields": {"credentials": {"user_id": + {"visibility": "visible", "label": "DHL Parcel User ID"}, "api_key": {"visibility": + "masked", "label": "DHL Parcel API Key"}, "account_number": {"visibility": + "visible", "label": "DHL Parcel Account Number"}}, "test_credentials": {"user_id": + {"visibility": "visible", "label": "DHL Parcel User ID"}, "api_key": {"visibility": + "masked", "label": "DHL Parcel API Key"}, "account_number": {"visibility": + "visible", "label": "DHL Parcel Account Number"}}}}, {"object": "CarrierType", + "type": "DpdAccount", "readable": "DPD", "logo": null, "fields": {"credentials": + {"username": {"visibility": "visible", "label": "WebConnect Username"}, "password": + {"visibility": "password", "label": "WebConnect Password"}, "customer_number": + {"visibility": "visible", "label": "DPD Customer Number"}}, "test_credentials": + {"username": {"visibility": "visible", "label": "Test WebConnect Username"}, + "password": {"visibility": "password", "label": "Test WebConnect Password"}, + "customer_number": {"visibility": "visible", "label": "DPD Customer Number"}}}}, + {"object": "CarrierType", "type": "DpdUkAccount", "readable": "DPD UK", "logo": + null, "fields": {"credentials": {"account_number": {"visibility": "visible", + "label": "DPD UK Account Number"}, "username": {"visibility": "visible", "label": + "DPD UK Username"}, "password": {"visibility": "password", "label": "DPD UK + Password"}}}}, {"object": "CarrierType", "type": "DpdNlAccount", "readable": + "DPD NL", "logo": null, "fields": {"credentials": {"username": {"visibility": + "visible", "label": "Delis ID"}, "password": {"visibility": "password", "label": + "Password"}}, "test_credentials": {"username": {"visibility": "visible", "label": + "Test Delis ID"}, "password": {"visibility": "password", "label": "Test Password"}}}}, + {"object": "CarrierType", "type": "EstafetaAccount", "readable": "Estafeta", + "logo": null, "fields": {"credentials": {"customer_id": {"visibility": "visible", + "label": "Subscriber ID"}, "username": {"visibility": "visible", "label": + "Login"}, "password": {"visibility": "password", "label": "Password"}, "client_id": + {"visibility": "visible", "label": "Tracking Subscriber ID"}, "user_id": {"visibility": + "visible", "label": "Tracking Login"}, "secret_key": {"visibility": "password", + "label": "Tracking Password"}, "customer_number": {"visibility": "visible", + "label": "Customer Number"}, "hub_id": {"visibility": "visible", "label": + "Office Number"}}, "test_credentials": {"customer_id": {"visibility": "visible", + "label": "Test Subscriber ID"}, "username": {"visibility": "visible", "label": + "Test Login"}, "password": {"visibility": "password", "label": "Test Password"}, + "client_id": {"visibility": "visible", "label": "Test Tracking Subscriber + ID"}, "user_id": {"visibility": "visible", "label": "Test Tracking Login"}, + "secret_key": {"visibility": "password", "label": "Test Tracking Password"}, + "customer_number": {"visibility": "visible", "label": "Test Customer Number"}, + "hub_id": {"visibility": "visible", "label": "Test Office Number"}}}}, {"object": + "CarrierType", "type": "FastwayAccount", "readable": "Fastway", "logo": null, + "fields": {"credentials": {"api_key": {"visibility": "masked", "label": "API + Key"}}}}, {"object": "CarrierType", "type": "FedexAccount", "readable": "FedEx", + "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "readonly", "label": "FedEx Account Number"}, "meter_number": {"visibility": + "invisible", "label": "FedEx Production Meter Number"}, "key": {"visibility": + "invisible", "label": "FedEx Production Authentication Key"}, "password": + {"visibility": "invisible", "label": "FedEx Production Password"}}, "test_credentials": + {"account_number": {"visibility": "readonly", "label": "FedEx Account Number"}, + "meter_number": {"visibility": "invisible", "label": "FedEx Test Meter Number"}, + "key": {"visibility": "invisible", "label": "FedEx Developer Test Key"}, "password": + {"visibility": "invisible", "label": "FedEx Test Password"}}, "creation_fields": + {"credential_information": {"account_number": {"label": "FedEx Account #", + "visibility": "visible"}}, "company_information": {"corporate_first_name": + {"label": "Company Contact First Name", "visibility": "visible"}, "corporate_last_name": + {"label": "Company Contact Last Name", "visibility": "visible"}, "corporate_job_title": + {"label": "Company Contact Job Title", "visibility": "visible"}, "corporate_company_name": + {"label": "Company Name", "visibility": "visible"}, "corporate_phone_number": + {"label": "Company Phone", "visibility": "visible"}, "corporate_email_address": + {"label": "Company Email", "visibility": "visible"}, "corporate_streets": + {"label": "Company Street", "visibility": "visible"}, "corporate_city": {"label": + "Company City", "visibility": "visible"}, "corporate_state": {"label": "Company + State", "visibility": "visible"}, "corporate_postal_code": {"label": "Company + Postal Code", "visibility": "visible"}, "corporate_country_code": {"label": + "Company Country Code", "visibility": "visible"}}, "address_information": + {"shipping_streets": {"label": "Shipping Street", "visibility": "visible"}, + "shipping_city": {"label": "Shipping City", "visibility": "visible"}, "shipping_state": + {"label": "Shipping State", "visibility": "visible"}, "shipping_postal_code": + {"label": "Shipping Postal Code ", "visibility": "visible"}, "shipping_country_code": + {"label": "Shipping Country Code", "visibility": "visible"}}}, "custom_workflow": + true}}, {"object": "CarrierType", "type": "FedexCrossBorderAccount", "readable": + "FedEx Cross Border", "logo": null, "fields": {"credentials": {"api_key": + {"visibility": "masked", "label": "FedEx Cross Border API key"}, "origin_hub": + {"visibility": "select", "label": "FedEx Cross Border Origin Hub"}}, "test_credentials": + {"api_key": {"visibility": "masked", "label": "Test FedEx Cross Border API + key"}, "origin_hub": {"visibility": "select", "label": "Test FedEx Cross Border + Origin Hub"}}}}, {"object": "CarrierType", "type": "FedexMailviewAccount", + "readable": "FedEx MailView", "logo": null, "fields": {"credentials": {"customer_id": + {"visibility": "visible", "label": "Customer Code"}, "service_id": {"visibility": + "password", "label": "Service ID"}, "fimspremium": {"visibility": "checkbox", + "label": "FIMS Premium"}, "fimsstandard": {"visibility": "checkbox", "label": + "FIMS Standard"}, "mailviewpremium": {"visibility": "checkbox", "label": "MailView + Premium"}, "mailviewlight": {"visibility": "checkbox", "label": "MailView + Light"}}}}, {"object": "CarrierType", "type": "FedexSmartpostAccount", "readable": + "FedEx SmartPost", "logo": null, "fields": {"credentials": {"account_number": + {"visibility": "visible", "label": "FedEx SmartPost Account Number"}, "hub_id": + {"visibility": "visible", "label": "FedEx SmartPost HubID"}, "meter_number": + {"visibility": "visible", "label": "Fedex SmartPost Meter Number"}, "key": + {"visibility": "masked", "label": "FedEx SmartPost Access Key"}, "password": + {"visibility": "password", "label": "SmartPost Access Key Password"}}, "creation_fields": + {"credential_information": {"account_number": {"label": "FedEx SmartPost Account + #", "visibility": "visible"}, "hub_id": {"label": "FedEx SmartPost Hub ID", + "visibility": "visible"}}, "company_information": {"corporate_first_name": + {"label": "Company Contact First Name", "visibility": "visible"}, "corporate_last_name": + {"label": "Company Contact Last Name", "visibility": "visible"}, "corporate_job_title": + {"label": "Company Contact Job Title", "visibility": "visible"}, "corporate_company_name": + {"label": "Company Name", "visibility": "visible"}, "corporate_phone_number": + {"label": "Company Phone", "visibility": "visible"}, "corporate_email_address": + {"label": "Company Email", "visibility": "visible"}, "corporate_streets": + {"label": "Company Street", "visibility": "visible"}, "corporate_city": {"label": + "Company City", "visibility": "visible"}, "corporate_state": {"label": "Company + State", "visibility": "visible"}, "corporate_postal_code": {"label": "Company + Postal Code", "visibility": "visible"}, "corporate_country_code": {"label": + "Company Country Code", "visibility": "visible"}}, "address_information": + {"shipping_streets": {"label": "Shipping Street", "visibility": "visible"}, + "shipping_city": {"label": "Shipping City", "visibility": "visible"}, "shipping_state": + {"label": "Shipping State", "visibility": "visible"}, "shipping_postal_code": + {"label": "Shipping Postal Code ", "visibility": "visible"}, "shipping_country_code": + {"label": "Shipping Country Code", "visibility": "visible"}}}, "custom_workflow": + true}}, {"object": "CarrierType", "type": "FirstMileConciseAccount", "readable": + "First Mile", "logo": null, "fields": {"credentials": {"username": {"visibility": + "visible", "label": "FirstMile Username"}, "password": {"visibility": "password", + "label": "FirsMile Password"}, "account_number": {"visibility": "visible", + "label": "FirstMile Account Number"}}, "test_credentials": {"username": {"visibility": + "visible", "label": "Test FirstMile Username"}, "password": {"visibility": + "password", "label": "Test FirstMile Password"}, "account_number": {"visibility": + "visible", "label": "Test FirstMile Account Number"}}}}, {"object": "CarrierType", + "type": "FlexportAccount", "readable": "Flexport", "logo": null, "fields": + {"credentials": {"api_key": {"visibility": "masked", "label": "Flexport Account + API Key"}}}}, {"object": "CarrierType", "type": "GsoAccount", "readable": + "GSO", "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "GSO Account Number"}, "username": {"visibility": "visible", + "label": "Username"}, "password": {"visibility": "password", "label": "Password"}}}}, + {"object": "CarrierType", "type": "HailifyAccount", "readable": "Hailify", + "logo": null, "fields": {"credentials": {"partner_id": {"visibility": "visible", + "label": "Hailify Partner ID"}}, "test_credentials": {"partner_id": {"visibility": + "visible", "label": "Test Hailify Partner ID"}}}}, {"object": "CarrierType", + "type": "HermesAccount", "readable": "Evri", "logo": null, "fields": {"credentials": + {"username": {"visibility": "visible", "label": "Evri Username"}, "password": + {"visibility": "password", "label": "Evri Password"}, "client_id": {"visibility": + "visible", "label": "Evri Client ID"}, "auth_id": {"visibility": "visible", + "label": "Evri Auth ID"}, "auth_secret": {"visibility": "password", "label": + "Evri Auth Secret"}, "client_name": {"visibility": "visible", "label": "Evri + Client name"}, "group_id": {"visibility": "visible", "label": "Evri Group + ID"}, "client_licence": {"visibility": "masked", "label": "Evri Client License"}, + "api_key": {"visibility": "masked", "label": "Evri API Key"}}}}, {"object": + "CarrierType", "type": "InterlinkExpressAccount", "readable": "Interlink Express", + "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "Interlink Express Account Number"}, "username": {"visibility": + "visible", "label": "Interlink Express Username"}, "password": {"visibility": + "password", "label": "Interlink Express Password"}, "vat_number": {"visibility": + "visible", "label": "VAT Number"}}}}, {"object": "CarrierType", "type": "LasershipV2Account", + "readable": "LaserShipV2", "logo": null, "fields": {"credentials": {"api_key": + {"visibility": "masked", "label": "LaserShipV2 API Key"}, "api_id": {"visibility": + "visible", "label": "LaserShipV2 API ID"}, "facility": {"visibility": "visible", + "label": "LaserShipV2 Customer Branch"}, "cargo_claim_value": {"visibility": + "visible", "label": "LaserShipV2 Cargo Insurance Claim Value (USD)"}, "is_reseller": + {"visibility": "checkbox", "label": "3PL Account? (check if yes)"}, "injection_location_type": + {"visibility": "visible", "label": "Injection Address Location Type (\"Business\" + or \"Residence\")"}, "injection_contact": {"visibility": "visible", "label": + "Injection Address Contact"}, "injection_organization": {"visibility": "visible", + "label": "Injection Address Organization"}, "injection_street1": {"visibility": + "visible", "label": "Injection Address Street1"}, "injection_street2": {"visibility": + "visible", "label": "Injection Address Street2"}, "injection_city": {"visibility": + "visible", "label": "Injection Address City"}, "injection_state": {"visibility": + "visible", "label": "Injection Address State"}, "injection_zip": {"visibility": + "visible", "label": "Injection Address Postal Code"}, "injection_country": + {"visibility": "visible", "label": "Injection Address Country Code"}, "injection_phone": + {"visibility": "visible", "label": "Injection Address Phone"}, "injection_phone_ext": + {"visibility": "visible", "label": "Injection Address Phone Extension"}, "injection_email": + {"visibility": "visible", "label": "Injection Address Email"}, "injection_instruction": + {"visibility": "visible", "label": "Injection Address Instruction"}, "injection_note": + {"visibility": "visible", "label": "Injection Address Note"}}}}, {"object": + "CarrierType", "type": "LoomisExpressAccount", "readable": "Loomis Express", + "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "Loomis Express Account Number"}, "username": {"visibility": + "visible", "label": "Loomis Express Username"}, "password": {"visibility": + "password", "label": "Loomis Express Password"}}, "test_credentials": {"account_number": + {"visibility": "visible", "label": "Test Loomis Express Account Number"}, + "username": {"visibility": "visible", "label": "Test Loomis Express Username"}, + "password": {"visibility": "password", "label": "Test Loomis Express Password"}}}}, + {"object": "CarrierType", "type": "LsoAccount", "readable": "LSO", "logo": + null, "fields": {"credentials": {"account_number": {"visibility": "visible", + "label": "LSO Production Account Number"}, "username": {"visibility": "visible", + "label": "LSO Production Username"}, "password": {"visibility": "password", + "label": "LSO Production Password"}}, "test_credentials": {"account_number": + {"visibility": "visible", "label": "LSO Test Account Number"}, "username": + {"visibility": "visible", "label": "LSO Test Username"}, "password": {"visibility": + "password", "label": "LSO Test Password"}}}}, {"object": "CarrierType", "type": + "NewgisticsAccount", "readable": "Newgistics", "logo": null, "fields": {"credentials": + {"client_id": {"visibility": "visible", "label": "Client ID"}, "client_secret": + {"visibility": "password", "label": "Client Secret"}, "client_facility_id": + {"visibility": "visible", "label": "Client Facility ID"}, "fulfiller_facility_id": + {"visibility": "visible", "label": "Newgistics Facility ID"}, "tracking_api_key": + {"visibility": "masked", "label": "Tracking API Key"}, "merchant_id": {"visibility": + "visible", "label": "Merchant ID"}}, "test_credentials": {"client_id": {"visibility": + "visible", "label": "Client ID"}, "client_secret": {"visibility": "password", + "label": "Client Secret"}, "client_facility_id": {"visibility": "visible", + "label": "Client Facility ID"}, "fulfiller_facility_id": {"visibility": "visible", + "label": "Newgistics Facility ID"}, "tracking_api_key": {"visibility": "masked", + "label": "Tracking API Key"}, "merchant_id": {"visibility": "visible", "label": + "Merchant ID"}}}}, {"object": "CarrierType", "type": "OmniParcelAccount", + "readable": "OmniParcel", "logo": null, "fields": {"credentials": {"api_access_key": + {"visibility": "masked", "label": "API Access Key"}, "return_api_access_key": + {"visibility": "masked", "label": "Return API Access Key"}}, "test_credentials": + {"api_access_key": {"visibility": "masked", "label": "Test API Access Key"}, + "return_api_access_key": {"visibility": "masked", "label": "Test Return API + Access Key"}}}}, {"object": "CarrierType", "type": "OntracAccount", "readable": + "OnTrac", "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "OnTrac Account Number"}, "password": {"visibility": "password", + "label": "OnTrac API Password"}}, "test_credentials": {"account_number": {"visibility": + "visible", "label": "OnTrac Test Account Number"}, "password": {"visibility": + "password", "label": "OnTrac Test API Password"}}}}, {"object": "CarrierType", + "type": "OptimaAccount", "readable": "Optima", "logo": null, "fields": {"credentials": + {"username": {"visibility": "visible", "label": "Optima username"}, "password": + {"visibility": "password", "label": "Optima password"}, "account_number": + {"visibility": "visible", "label": "Optima account number"}}, "test_credentials": + {"username": {"visibility": "visible", "label": "Test Optima username"}, "password": + {"visibility": "password", "label": "Test Optima password"}, "account_number": + {"visibility": "visible", "label": "Test Optima account number"}}}}, {"object": + "CarrierType", "type": "OsmWorldwideAccount", "readable": "OSM Worldwide", + "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "Account Number"}, "mailer_id": {"visibility": "visible", + "label": "Mailer ID"}, "facility_code": {"visibility": "visible", "label": + "Facility Code/Cost Center ID for manifesting (optional)"}, "company_name": + {"visibility": "visible", "label": "Company Name"}, "aws_sftp_username": {"visibility": + "visible", "label": "SFTP Username"}}}}, {"object": "CarrierType", "type": + "PandionAccount", "readable": "Pandion", "logo": null, "fields": {"credentials": + {"api_key": {"visibility": "masked", "label": "Prod Pandion API Key"}}, "test_credentials": + {"api_key": {"visibility": "masked", "label": "Test Pandion API Key"}}}}, + {"object": "CarrierType", "type": "ParcelForceAccount", "readable": "Parcel + Force", "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "Parcelforce Contract Number"}, "username": {"visibility": + "visible", "label": "expressLink API Username"}, "password": {"visibility": + "password", "label": "expressLink API Password"}, "department_id": {"visibility": + "visible", "label": "Department ID - not required"}}, "test_credentials": + {"account_number": {"visibility": "visible", "label": "Parcelforce Test Contract + Number"}, "username": {"visibility": "visible", "label": "Test expressLink + API Username"}, "password": {"visibility": "password", "label": "Test expressLink + API Password"}, "department_id": {"visibility": "visible", "label": "Test + Department ID - not required"}}}}, {"object": "CarrierType", "type": "ParcllAccount", + "readable": "Cirro E-Commerce", "logo": null, "fields": {"credentials": {"api_key": + {"visibility": "masked", "label": "Cirro E-Commerce API key"}, "user_id": + {"visibility": "visible", "label": "Cirro E-Commerce User Id"}, "origin_hub": + {"visibility": "select", "label": "Cirro E-Commerce Origin Hub"}}, "test_credentials": + {"api_key": {"visibility": "masked", "label": "Test Cirro E-Commerce API key"}, + "user_id": {"visibility": "visible", "label": "Test Cirro E-Commerce User + Id"}, "origin_hub": {"visibility": "select", "label": "Test Cirro E-Commerce + Origin Hub"}}}}, {"object": "CarrierType", "type": "PassportGlobalAccount", + "readable": "Passport Global", "logo": null, "fields": {"credentials": {"api_key": + {"visibility": "masked", "label": "Passport Global API key"}, "email": {"visibility": + "visible", "label": "Customer email address registered with Passport Global"}, + "name": {"visibility": "visible", "label": "Customer name registered with + Passport Global"}, "company_name": {"visibility": "visible", "label": "Customer + company name registered with Passport Global"}, "phone": {"visibility": "visible", + "label": "Customer phone number registered with Passport Global (optional)"}}, + "test_credentials": {"api_key": {"visibility": "masked", "label": "Passport + Global Test API key"}, "email": {"visibility": "visible", "label": "Customer + email address registered with Passport Global"}, "name": {"visibility": "visible", + "label": "Customer name registered with Passport Global"}, "company_name": + {"visibility": "visible", "label": "Customer company name registered with + Passport Global"}, "phone": {"visibility": "visible", "label": "Customer phone + number registered with Passport Global (optional)"}}}}, {"object": "CarrierType", + "type": "PurolatorAccount", "readable": "Purolator", "logo": null, "fields": + {"credentials": {"account_number": {"visibility": "visible", "label": "Purolator + Account Number"}, "api_key": {"visibility": "masked", "label": "Production + API Key"}, "password": {"visibility": "password", "label": "Production API + Key Password"}}}}, {"object": "CarrierType", "type": "RoyalMailAccount", "readable": + "Royal Mail", "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "Royal Mail Account Number"}, "username": {"visibility": + "visible", "label": "OBA Email Address"}, "posting_location_number": {"visibility": + "visible", "label": "Posting Location Number"}}}}, {"object": "CarrierType", + "type": "RRDonnelleyAccount", "readable": "ePost Global", "logo": null, "fields": + {"credentials": {"account_number": {"visibility": "visible", "label": "ePostGlobal + Account Number"}}}}, {"object": "CarrierType", "type": "SendleAccount", "readable": + "Sendle", "logo": null, "fields": {"credentials": {"api_key": {"visibility": + "masked", "label": "Sendle API Key"}, "user_id": {"visibility": "visible", + "label": "Sendle ID"}}, "test_credentials": {"api_key": {"visibility": "masked", + "label": "Sendle Sandbox API Key"}, "user_id": {"visibility": "visible", "label": + "Sendle Sandbox ID"}}}}, {"object": "CarrierType", "type": "SfExpressAccount", + "readable": "SF Express", "logo": null, "fields": {"credentials": {"checkword": + {"visibility": "visible", "label": "SF Express checkword"}, "customer_code": + {"visibility": "visible", "label": "SF Express customer code"}, "customer_id": + {"visibility": "visible", "label": "SF Express customer id"}}, "test_credentials": + {"checkword": {"visibility": "visible", "label": "Test SF Express checkword"}, + "customer_code": {"visibility": "visible", "label": "Test SF Express customer + code"}, "customer_id": {"visibility": "visible", "label": "Test SF Express + customer id"}}}}, {"object": "CarrierType", "type": "SmartKargoAccount", "readable": + "SmartKargo", "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "SmartKargo account number"}}, "test_credentials": {"account_number": + {"visibility": "visible", "label": "Test SmartKargo account number"}}}}, {"object": + "CarrierType", "type": "SonicAccount", "readable": "Sonic", "logo": null, + "fields": {"credentials": {"username": {"visibility": "visible", "label": + "Sonic username"}, "password": {"visibility": "password", "label": "Sonic + password"}, "account_number": {"visibility": "visible", "label": "Sonic account + number"}}, "test_credentials": {"username": {"visibility": "visible", "label": + "Test Sonic username"}, "password": {"visibility": "password", "label": "Test + Sonic password"}, "account_number": {"visibility": "visible", "label": "Test + Sonic account number"}}}}, {"object": "CarrierType", "type": "SpeedeeAccount", + "readable": "Spee-Dee", "logo": null, "fields": {"credentials": {"account_number": + {"visibility": "visible", "label": "Spee-Dee Account Number"}}}}, {"object": + "CarrierType", "type": "SwyftAccount", "readable": "Swyft", "logo": null, + "fields": {"credentials": {"password": {"visibility": "password", "label": + "Swyft API Key"}}, "test_credentials": {"password": {"visibility": "password", + "label": "Test Swyft API Key"}}}}, {"object": "CarrierType", "type": "TforceConciseAccount", + "readable": "TForce", "logo": null, "fields": {"credentials": {"username": + {"visibility": "visible", "label": "TForce Username"}, "password": {"visibility": + "password", "label": "TForce Password"}, "account_number": {"visibility": + "visible", "label": "TForce Account Number"}}, "test_credentials": {"username": + {"visibility": "visible", "label": "Test TForce Username"}, "password": {"visibility": + "password", "label": "Test TForce Password"}, "account_number": {"visibility": + "visible", "label": "Test TForce Account Number"}}}}, {"object": "CarrierType", + "type": "TollAccount", "readable": "Toll", "logo": null, "fields": {"credentials": + {"account_number": {"visibility": "visible", "label": "Toll Account Number"}, + "business_unit": {"visibility": "visible", "label": "Toll Business Unit (Ex. + IPEC)"}, "source_system_code": {"visibility": "visible", "label": "Toll Source + System Code"}}, "test_credentials": {"account_number": {"visibility": "visible", + "label": "Toll Test Account Number"}, "business_unit": {"visibility": "visible", + "label": "Toll Business Unit (Ex. IPEC)"}, "source_system_code": {"visibility": + "visible", "label": "Toll Test Source System Code"}}}}, {"object": "CarrierType", + "type": "UdsAccount", "readable": "UDS", "logo": null, "fields": {"credentials": + {"ftp_username": {"visibility": "visible", "label": "FTP Username"}, "ftp_password": + {"visibility": "password", "label": "FTP Password"}}}}, {"object": "CarrierType", + "type": "UpsAccount", "readable": "UPS", "logo": null, "fields": {"credentials": + {"access_license_number": {"visibility": "invisible", "label": "UPS Access + License Number"}, "account_number": {"visibility": "readonly", "label": "UPS + Account Number"}, "user_id": {"visibility": "invisible", "label": "UPS.com + User ID"}, "password": {"visibility": "invisible", "label": "UPS.com Password"}}, + "creation_fields": {"registration_data": {"account_number": {"label": "UPS + Account Number", "visibility": "visible"}, "client_ip": {"label": "Client + IP", "visibility": "invisible"}, "name": {"label": "Company Contact Name", + "visibility": "visible"}, "title": {"label": "Company Contact Job Title", + "visibility": "visible"}, "company": {"label": "Company Name", "visibility": + "visible"}, "phone": {"label": "Company Phone", "visibility": "visible"}, + "email": {"label": "Company Email", "visibility": "visible"}, "website": {"label": + "Company Website", "visibility": "visible"}, "street1": {"label": "Shipping + Street 1", "visibility": "visible"}, "street2": {"label": "Shipping Street + 2", "visibility": "visible"}, "city": {"label": "Shipping City", "visibility": + "visible"}, "state": {"label": "Shipping State", "visibility": "visible"}, + "postal_code": {"label": "Shipping Postal Code", "visibility": "visible"}, + "country": {"label": "Shipping Country", "visibility": "visible"}, "invoice_number": + {"label": "UPS Invoice Number", "visibility": "visible"}, "invoice_date": + {"label": "UPS Invoice Date", "visibility": "visible"}, "invoice_amount": + {"label": "UPS Invoice Amount", "visibility": "visible"}, "invoice_currency": + {"label": "UPS Invoice Currency", "visibility": "visible"}, "invoice_control_id": + {"label": "UPS Invoice Control ID", "visibility": "visible"}}}, "custom_workflow": + true}}, {"object": "CarrierType", "type": "UpsIparcelAccount", "readable": + "UPS i-Parcel", "logo": null, "fields": {"credentials": {"api_key": {"visibility": + "masked", "label": "i-Parcel API key"}}}}, {"object": "CarrierType", "type": + "UpsMailInnovationsAccount", "readable": "UPS Mail Innovations", "logo": null, + "fields": {"credentials": {"account_number": {"visibility": "visible", "label": + "UPS Shipper Number"}, "user_id": {"visibility": "visible", "label": "UPS.com + User ID"}, "password": {"visibility": "password", "label": "UPS.com Password"}, + "customer_id": {"visibility": "visible", "label": "UPS customer id (optional)"}, + "customer_guid": {"visibility": "visible", "label": "UPS customer GUID (optional)"}}}}, + {"object": "CarrierType", "type": "UspsAccount", "readable": "USPS", "logo": + null, "fields": {"credentials": {"company_name": {"visibility": "visible", + "label": "Account Holder Name"}, "address_street": {"visibility": "visible", + "label": "Street Address"}, "address_city": {"visibility": "visible", "label": + "City"}, "address_state": {"visibility": "visible", "label": "State"}, "address_zip": + {"visibility": "visible", "label": "ZIP Code"}, "phone": {"visibility": "visible", + "label": "Phone Number"}, "email": {"visibility": "visible", "label": "Email + Address"}, "shipper_id": {"visibility": "visible", "label": "Shipper Identifier + (Optional)"}}}}, {"object": "CarrierType", "type": "VehoAccount", "readable": + "Veho", "logo": null, "fields": {"credentials": {"api_key": {"visibility": + "masked", "label": "Veho Production API Key"}}, "test_credentials": {"api_key": + {"visibility": "masked", "label": "Veho Test API Key"}}}}, {"object": "CarrierType", + "type": "XDeliveryAccount", "readable": "Maergo", "logo": null, "fields": + {"credentials": {"username": {"visibility": "visible", "label": "Maergo Username"}, + "password": {"visibility": "password", "label": "Maergo Password"}}, "test_credentials": + {"username": {"visibility": "visible", "label": "Test Maergo Username"}, "password": + {"visibility": "password", "label": "Test Maergo Password"}}}}]' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '38432' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf207e798cd200010a4a4 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.027488' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/carrier_types + response: + body: + string: '[{"object": "CarrierType", "type": "AmazonMwsAccount", "readable": + "Amazon MWS", "logo": null, "fields": {"credentials": {"access_key_id": {"visibility": + "visible", "label": "AWS Access Key ID"}, "secret_key": {"visibility": "password", + "label": "Secret Key"}, "merchant_id": {"visibility": "visible", "label": + "Seller ID"}}}}, {"object": "CarrierType", "type": "ApcAccount", "readable": + "APC", "logo": null, "fields": {"credentials": {"shipper_id": {"visibility": + "visible", "label": "APC Shipper ID"}, "password": {"visibility": "password", + "label": "APC Password"}, "facility": {"visibility": "visible", "label": "APC + Facility (e.g., NJ, LA)"}}}}, {"object": "CarrierType", "type": "AsendiaUsaAccount", + "readable": "Asendia USA", "logo": null, "fields": {"credentials": {"account_number": + {"visibility": "visible", "label": "AsendiaUsa Account Number"}, "sub_account_number": + {"visibility": "visible", "label": "AsendiaUsa Sub Account Number"}, "username": + {"visibility": "visible", "label": "AsendiaUsa Username"}, "password": {"visibility": + "password", "label": "AsendiaUsa Password"}, "api_key": {"visibility": "masked", + "label": "AsendiaUsa API key"}, "carrier_facility": {"visibility": "select", + "label": "AsendiaUsa Carrier Facility / Processing Location (Optional)"}}, + "test_credentials": {"account_number": {"visibility": "visible", "label": + "Test AsendiaUsa Account Number"}, "sub_account_number": {"visibility": "visible", + "label": "Test AsendiaUsa Sub Account Number"}, "username": {"visibility": + "visible", "label": "Test AsendiaUsa Username"}, "password": {"visibility": + "password", "label": "Test AsendiaUsa Password"}, "api_key": {"visibility": + "masked", "label": "Test AsendiaUsa API key"}, "carrier_facility": {"visibility": + "select", "label": "Test AsendiaUsa Carrier Facility / Processing Location + (Optional)"}}}}, {"object": "CarrierType", "type": "AustraliaPostAccount", + "readable": "Australia Post", "logo": null, "fields": {"credentials": {"account_number": + {"visibility": "visible", "label": "Australia Post Account Number"}, "api_key": + {"visibility": "masked", "label": "Australia Post API Key"}, "api_secret": + {"visibility": "password", "label": "Australia Post Secret Key"}, "print_as_you_go": + {"visibility": "checkbox", "label": "Print as you go"}}, "test_credentials": + {"account_number": {"visibility": "visible", "label": "Australia Post Test + Account Number"}, "api_key": {"visibility": "masked", "label": "Australia + Post Test API Key"}, "api_secret": {"visibility": "password", "label": "Australia + Post Test Secret Key"}, "print_as_you_go": {"visibility": "checkbox", "label": + "Print as you go"}}}}, {"object": "CarrierType", "type": "AxlehireV3Account", + "readable": "AxlehireV3", "logo": null, "fields": {"credentials": {"api_key": + {"visibility": "masked", "label": "Client Secret"}}, "test_credentials": {"api_key": + {"visibility": "masked", "label": "Client Secret"}}}}, {"object": "CarrierType", + "type": "BetterTrucksAccount", "readable": "Better Trucks", "logo": null, + "fields": {"credentials": {"api_key": {"visibility": "masked", "label": "Better + Trucks API key"}}, "test_credentials": {"api_key": {"visibility": "masked", + "label": "Test Better Trucks API key"}}}}, {"object": "CarrierType", "type": + "CanadaPostAccount", "readable": "Canada Post", "logo": null, "fields": {"credentials": + {"api_key": {"visibility": "masked", "label": "CanadaPost API Key"}, "contract_id": + {"visibility": "visible", "label": "CanadaPost Contract ID (contract customers + only)"}, "customer_number": {"visibility": "visible", "label": "CanadaPost + Customer Number"}, "has_credit_card": {"visibility": "checkbox", "label": + "CanadaPost account has credit card?"}, "not_platform": {"visibility": "invisible", + "label": "CanadaPost account not registered through platform?"}}, "test_credentials": + {"api_key": {"visibility": "masked", "label": "CanadaPost Test API Key"}, + "contract_id": {"visibility": "visible", "label": "CanadaPost Test Contract + ID (contract customers only)"}, "customer_number": {"visibility": "visible", + "label": "CanadaPost Test Customer Number"}, "has_credit_card": {"visibility": + "checkbox", "label": "CanadaPost Test account has credit card?"}, "not_platform": + {"visibility": "invisible", "label": "CanadaPost Test account not registered + through platform?"}}, "custom_workflow": true}}, {"object": "CarrierType", + "type": "CanparAccount", "readable": "Canpar", "logo": null, "fields": {"credentials": + {"account_number": {"visibility": "visible", "label": "Canpar Account Number"}, + "username": {"visibility": "visible", "label": "Canpar Username"}, "password": + {"visibility": "password", "label": "Canpar Password"}}, "test_credentials": + {"account_number": {"visibility": "visible", "label": "Test Canpar Account + Number"}, "username": {"visibility": "visible", "label": "Test Canpar Username"}, + "password": {"visibility": "password", "label": "Test Canpar Password"}}}}, + {"object": "CarrierType", "type": "ColumbusLastMileAccount", "readable": "CDL + Last Mile Solutions", "logo": null, "fields": {"credentials": {"username": + {"visibility": "visible", "label": "CDL Last Mile Solutions customer username"}, + "password": {"visibility": "password", "label": "CDL Last Mile Solutions customer + password"}, "tracking_code_prefix": {"visibility": "visible", "label": "CDL + Last Mile Solutions tracking code prefix"}}, "test_credentials": {"username": + {"visibility": "visible", "label": "CDL Last Mile Solutions customer test + username"}, "password": {"visibility": "password", "label": "CDL Last Mile + Solutions customer test password"}, "tracking_code_prefix": {"visibility": + "visible", "label": "CDL Last Mile Solutions tracking code prefix"}}}}, {"object": + "CarrierType", "type": "CourierExpressAccount", "readable": "Courier Express", + "logo": null, "fields": {"credentials": {"api_key": {"visibility": "masked", + "label": "Courier Express API key"}, "shipper_id": {"visibility": "visible", + "label": "Courier Express shipper ID"}}, "test_credentials": {"api_key": {"visibility": + "masked", "label": "Test Courier Express API key"}, "shipper_id": {"visibility": + "visible", "label": "Test Courier Express shipper ID"}}}}, {"object": "CarrierType", + "type": "CouriersPleaseAccount", "readable": "CouriersPlease", "logo": null, + "fields": {"credentials": {"username": {"visibility": "visible", "label": + "Account Number"}, "password": {"visibility": "password", "label": "Password"}}, + "test_credentials": {"username": {"visibility": "visible", "label": "Account + Number"}, "password": {"visibility": "password", "label": "Password"}}}}, + {"object": "CarrierType", "type": "DaiPostAccount", "readable": "Dai Post", + "logo": null, "fields": {"credentials": {"username": {"visibility": "visible", + "label": " Dai Post customer username"}, "password": {"visibility": "password", + "label": " Dai Post client secret"}, "origin_terminal": {"visibility": "visible", + "label": " Dai Post default origin terminal"}, "account_code": {"visibility": + "visible", "label": " 3-letter account code for customers with multiple accounts"}}}}, + {"object": "CarrierType", "type": "DeliverItAccount", "readable": "Deliver-It", + "logo": null, "fields": {"credentials": {"username": {"visibility": "visible", + "label": "Deliver-It Username"}, "password": {"visibility": "password", "label": + "Deliver-It Password"}, "account_number": {"visibility": "visible", "label": + "Deliver-It Account Number"}}, "test_credentials": {"username": {"visibility": + "visible", "label": "Test Deliver-It Username"}, "password": {"visibility": + "password", "label": "Test Deliver-It Password"}, "account_number": {"visibility": + "visible", "label": "Test Deliver-It Account Number"}}}}, {"object": "CarrierType", + "type": "DeutschePostUKAccount", "readable": "Deutsche Post UK", "logo": null, + "fields": {"credentials": {"client_id": {"visibility": "visible", "label": + "Deutsche Post UK Client ID"}, "client_secret": {"visibility": "password", + "label": "Deutsche Post UK Secret"}, "account_number": {"visibility": "visible", + "label": "Deutsche Post UK Account Number"}}, "test_credentials": {"client_id": + {"visibility": "visible", "label": "Test Deutsche Post UK Client ID"}, "client_secret": + {"visibility": "password", "label": "Test Deutsche Post UK Secret"}, "account_number": + {"visibility": "visible", "label": "Test Deutsche Post UK Account Number"}}}}, + {"object": "CarrierType", "type": "DhlEcommerceAsiaAccount", "readable": "DHL + Ecommerce Asia", "logo": null, "fields": {"credentials": {"account_number": + {"visibility": "visible", "label": "DHL Ecommerce Asia Account Number"}, "client_id": + {"visibility": "visible", "label": "DHL Ecommerce Asia Contract Number"}, + "password": {"visibility": "password", "label": "DHL Ecommerce Asia Password"}, + "barcode_prefix": {"visibility": "visible", "label": "DHL Ecommerce Asia Customer + ID"}}, "test_credentials": {"account_number": {"visibility": "visible", "label": + "Test DHL Ecommerce Asia Account Number"}, "client_id": {"visibility": "visible", + "label": "Test DHL Ecommerce Asia Contract Number"}, "password": {"visibility": + "password", "label": "Test DHL Ecommerce Asia Password"}, "barcode_prefix": + {"visibility": "visible", "label": "Test DHL Ecommerce Asia Customer ID"}}}}, + {"object": "CarrierType", "type": "DhlEcsAccount", "readable": "DHL eCommerce + Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": + "visible", "label": "DHL eCommerce Solutions client ID"}, "client_secret": + {"visibility": "password", "label": "DHL eCommerce Solutions client secret"}, + "pickup_id": {"visibility": "visible", "label": "DHL eCommerce Solutions pickup + ID"}, "distribution_center": {"visibility": "visible", "label": "DHL eCommerce + Solutions distribution center"}}, "test_credentials": {"client_id": {"visibility": + "visible", "label": "Test DHL eCommerce Solutions client ID"}, "client_secret": + {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret"}, + "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions + pickup ID"}, "distribution_center": {"visibility": "visible", "label": "Test + DHL eCommerce Solutions distribution center"}}}}, {"object": "CarrierType", + "type": "DhlExpressAccount", "readable": "DHL Express", "logo": null, "fields": + {"credentials": {"account_number": {"visibility": "visible", "label": "DHL + Account Number"}, "country": {"visibility": "visible", "label": "Account Country + Code (2 Letter)"}, "site_id": {"visibility": "visible", "label": "Site ID + (Optional)"}, "password": {"visibility": "password", "label": "Password (Optional)"}, + "is_reseller": {"visibility": "checkbox", "label": "Reseller Account? (check + if yes)"}}}}, {"object": "CarrierType", "type": "DhlPaketAccount", "readable": + "DHL Paket", "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "DHL Paket Account Number (EKP)"}, "contract_id": {"visibility": + "visible", "label": "DHL Paket Contract Participation Value"}, "cig_username": + {"visibility": "visible", "label": "DHL Paket CIG Username"}, "cig_password": + {"visibility": "password", "label": "DHL Paket CIG Password"}, "tnt_username": + {"visibility": "visible", "label": "DHL Paket TNT Username (if applicable)"}, + "tnt_password": {"visibility": "password", "label": "DHL Paket TNT Password + (if applicable)"}, "retoure_username": {"visibility": "visible", "label": + "DHL Paket Retoure Username (if applicable)"}, "retoure_password": {"visibility": + "password", "label": "DHL Paket Retoure Password (if applicable)"}}, "test_credentials": + {"account_number": {"visibility": "visible", "label": "Test DHL Paket Account + Number (EKP)"}, "contract_id": {"visibility": "visible", "label": "Test DHL + Paket Contract Participation Value"}, "cig_username": {"visibility": "visible", + "label": " Test DHL Paket CIG Username"}, "cig_password": {"visibility": "password", + "label": "Test DHL Paket CIG Password"}, "tnt_username": {"visibility": "visible", + "label": "Test DHL Paket TNT Username (if applicable)"}, "tnt_password": {"visibility": + "password", "label": "Test DHL Paket TNT Password (if applicable)"}, "retoure_username": + {"visibility": "visible", "label": "Test DHL Paket Retoure Username (if applicable)"}, + "retoure_password": {"visibility": "password", "label": "Test DHL Paket Retoure + Password (if applicable)"}}}}, {"object": "CarrierType", "type": "DhlParcelAccount", + "readable": "DHL Parcel", "logo": null, "fields": {"credentials": {"user_id": + {"visibility": "visible", "label": "DHL Parcel User ID"}, "api_key": {"visibility": + "masked", "label": "DHL Parcel API Key"}, "account_number": {"visibility": + "visible", "label": "DHL Parcel Account Number"}}, "test_credentials": {"user_id": + {"visibility": "visible", "label": "DHL Parcel User ID"}, "api_key": {"visibility": + "masked", "label": "DHL Parcel API Key"}, "account_number": {"visibility": + "visible", "label": "DHL Parcel Account Number"}}}}, {"object": "CarrierType", + "type": "DpdAccount", "readable": "DPD", "logo": null, "fields": {"credentials": + {"username": {"visibility": "visible", "label": "WebConnect Username"}, "password": + {"visibility": "password", "label": "WebConnect Password"}, "customer_number": + {"visibility": "visible", "label": "DPD Customer Number"}}, "test_credentials": + {"username": {"visibility": "visible", "label": "Test WebConnect Username"}, + "password": {"visibility": "password", "label": "Test WebConnect Password"}, + "customer_number": {"visibility": "visible", "label": "DPD Customer Number"}}}}, + {"object": "CarrierType", "type": "DpdUkAccount", "readable": "DPD UK", "logo": + null, "fields": {"credentials": {"account_number": {"visibility": "visible", + "label": "DPD UK Account Number"}, "username": {"visibility": "visible", "label": + "DPD UK Username"}, "password": {"visibility": "password", "label": "DPD UK + Password"}}}}, {"object": "CarrierType", "type": "DpdNlAccount", "readable": + "DPD NL", "logo": null, "fields": {"credentials": {"username": {"visibility": + "visible", "label": "Delis ID"}, "password": {"visibility": "password", "label": + "Password"}}, "test_credentials": {"username": {"visibility": "visible", "label": + "Test Delis ID"}, "password": {"visibility": "password", "label": "Test Password"}}}}, + {"object": "CarrierType", "type": "EstafetaAccount", "readable": "Estafeta", + "logo": null, "fields": {"credentials": {"customer_id": {"visibility": "visible", + "label": "Subscriber ID"}, "username": {"visibility": "visible", "label": + "Login"}, "password": {"visibility": "password", "label": "Password"}, "client_id": + {"visibility": "visible", "label": "Tracking Subscriber ID"}, "user_id": {"visibility": + "visible", "label": "Tracking Login"}, "secret_key": {"visibility": "password", + "label": "Tracking Password"}, "customer_number": {"visibility": "visible", + "label": "Customer Number"}, "hub_id": {"visibility": "visible", "label": + "Office Number"}}, "test_credentials": {"customer_id": {"visibility": "visible", + "label": "Test Subscriber ID"}, "username": {"visibility": "visible", "label": + "Test Login"}, "password": {"visibility": "password", "label": "Test Password"}, + "client_id": {"visibility": "visible", "label": "Test Tracking Subscriber + ID"}, "user_id": {"visibility": "visible", "label": "Test Tracking Login"}, + "secret_key": {"visibility": "password", "label": "Test Tracking Password"}, + "customer_number": {"visibility": "visible", "label": "Test Customer Number"}, + "hub_id": {"visibility": "visible", "label": "Test Office Number"}}}}, {"object": + "CarrierType", "type": "FastwayAccount", "readable": "Fastway", "logo": null, + "fields": {"credentials": {"api_key": {"visibility": "masked", "label": "API + Key"}}}}, {"object": "CarrierType", "type": "FedexAccount", "readable": "FedEx", + "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "readonly", "label": "FedEx Account Number"}, "meter_number": {"visibility": + "invisible", "label": "FedEx Production Meter Number"}, "key": {"visibility": + "invisible", "label": "FedEx Production Authentication Key"}, "password": + {"visibility": "invisible", "label": "FedEx Production Password"}}, "test_credentials": + {"account_number": {"visibility": "readonly", "label": "FedEx Account Number"}, + "meter_number": {"visibility": "invisible", "label": "FedEx Test Meter Number"}, + "key": {"visibility": "invisible", "label": "FedEx Developer Test Key"}, "password": + {"visibility": "invisible", "label": "FedEx Test Password"}}, "creation_fields": + {"credential_information": {"account_number": {"label": "FedEx Account #", + "visibility": "visible"}}, "company_information": {"corporate_first_name": + {"label": "Company Contact First Name", "visibility": "visible"}, "corporate_last_name": + {"label": "Company Contact Last Name", "visibility": "visible"}, "corporate_job_title": + {"label": "Company Contact Job Title", "visibility": "visible"}, "corporate_company_name": + {"label": "Company Name", "visibility": "visible"}, "corporate_phone_number": + {"label": "Company Phone", "visibility": "visible"}, "corporate_email_address": + {"label": "Company Email", "visibility": "visible"}, "corporate_streets": + {"label": "Company Street", "visibility": "visible"}, "corporate_city": {"label": + "Company City", "visibility": "visible"}, "corporate_state": {"label": "Company + State", "visibility": "visible"}, "corporate_postal_code": {"label": "Company + Postal Code", "visibility": "visible"}, "corporate_country_code": {"label": + "Company Country Code", "visibility": "visible"}}, "address_information": + {"shipping_streets": {"label": "Shipping Street", "visibility": "visible"}, + "shipping_city": {"label": "Shipping City", "visibility": "visible"}, "shipping_state": + {"label": "Shipping State", "visibility": "visible"}, "shipping_postal_code": + {"label": "Shipping Postal Code ", "visibility": "visible"}, "shipping_country_code": + {"label": "Shipping Country Code", "visibility": "visible"}}}, "custom_workflow": + true}}, {"object": "CarrierType", "type": "FedexCrossBorderAccount", "readable": + "FedEx Cross Border", "logo": null, "fields": {"credentials": {"api_key": + {"visibility": "masked", "label": "FedEx Cross Border API key"}, "origin_hub": + {"visibility": "select", "label": "FedEx Cross Border Origin Hub"}}, "test_credentials": + {"api_key": {"visibility": "masked", "label": "Test FedEx Cross Border API + key"}, "origin_hub": {"visibility": "select", "label": "Test FedEx Cross Border + Origin Hub"}}}}, {"object": "CarrierType", "type": "FedexMailviewAccount", + "readable": "FedEx MailView", "logo": null, "fields": {"credentials": {"customer_id": + {"visibility": "visible", "label": "Customer Code"}, "service_id": {"visibility": + "password", "label": "Service ID"}, "fimspremium": {"visibility": "checkbox", + "label": "FIMS Premium"}, "fimsstandard": {"visibility": "checkbox", "label": + "FIMS Standard"}, "mailviewpremium": {"visibility": "checkbox", "label": "MailView + Premium"}, "mailviewlight": {"visibility": "checkbox", "label": "MailView + Light"}}}}, {"object": "CarrierType", "type": "FedexSmartpostAccount", "readable": + "FedEx SmartPost", "logo": null, "fields": {"credentials": {"account_number": + {"visibility": "visible", "label": "FedEx SmartPost Account Number"}, "hub_id": + {"visibility": "visible", "label": "FedEx SmartPost HubID"}, "meter_number": + {"visibility": "visible", "label": "Fedex SmartPost Meter Number"}, "key": + {"visibility": "masked", "label": "FedEx SmartPost Access Key"}, "password": + {"visibility": "password", "label": "SmartPost Access Key Password"}}, "creation_fields": + {"credential_information": {"account_number": {"label": "FedEx SmartPost Account + #", "visibility": "visible"}, "hub_id": {"label": "FedEx SmartPost Hub ID", + "visibility": "visible"}}, "company_information": {"corporate_first_name": + {"label": "Company Contact First Name", "visibility": "visible"}, "corporate_last_name": + {"label": "Company Contact Last Name", "visibility": "visible"}, "corporate_job_title": + {"label": "Company Contact Job Title", "visibility": "visible"}, "corporate_company_name": + {"label": "Company Name", "visibility": "visible"}, "corporate_phone_number": + {"label": "Company Phone", "visibility": "visible"}, "corporate_email_address": + {"label": "Company Email", "visibility": "visible"}, "corporate_streets": + {"label": "Company Street", "visibility": "visible"}, "corporate_city": {"label": + "Company City", "visibility": "visible"}, "corporate_state": {"label": "Company + State", "visibility": "visible"}, "corporate_postal_code": {"label": "Company + Postal Code", "visibility": "visible"}, "corporate_country_code": {"label": + "Company Country Code", "visibility": "visible"}}, "address_information": + {"shipping_streets": {"label": "Shipping Street", "visibility": "visible"}, + "shipping_city": {"label": "Shipping City", "visibility": "visible"}, "shipping_state": + {"label": "Shipping State", "visibility": "visible"}, "shipping_postal_code": + {"label": "Shipping Postal Code ", "visibility": "visible"}, "shipping_country_code": + {"label": "Shipping Country Code", "visibility": "visible"}}}, "custom_workflow": + true}}, {"object": "CarrierType", "type": "FirstMileConciseAccount", "readable": + "First Mile", "logo": null, "fields": {"credentials": {"username": {"visibility": + "visible", "label": "FirstMile Username"}, "password": {"visibility": "password", + "label": "FirsMile Password"}, "account_number": {"visibility": "visible", + "label": "FirstMile Account Number"}}, "test_credentials": {"username": {"visibility": + "visible", "label": "Test FirstMile Username"}, "password": {"visibility": + "password", "label": "Test FirstMile Password"}, "account_number": {"visibility": + "visible", "label": "Test FirstMile Account Number"}}}}, {"object": "CarrierType", + "type": "FlexportAccount", "readable": "Flexport", "logo": null, "fields": + {"credentials": {"api_key": {"visibility": "masked", "label": "Flexport Account + API Key"}}}}, {"object": "CarrierType", "type": "GsoAccount", "readable": + "GSO", "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "GSO Account Number"}, "username": {"visibility": "visible", + "label": "Username"}, "password": {"visibility": "password", "label": "Password"}}}}, + {"object": "CarrierType", "type": "HailifyAccount", "readable": "Hailify", + "logo": null, "fields": {"credentials": {"partner_id": {"visibility": "visible", + "label": "Hailify Partner ID"}}, "test_credentials": {"partner_id": {"visibility": + "visible", "label": "Test Hailify Partner ID"}}}}, {"object": "CarrierType", + "type": "HermesAccount", "readable": "Evri", "logo": null, "fields": {"credentials": + {"username": {"visibility": "visible", "label": "Evri Username"}, "password": + {"visibility": "password", "label": "Evri Password"}, "client_id": {"visibility": + "visible", "label": "Evri Client ID"}, "auth_id": {"visibility": "visible", + "label": "Evri Auth ID"}, "auth_secret": {"visibility": "password", "label": + "Evri Auth Secret"}, "client_name": {"visibility": "visible", "label": "Evri + Client name"}, "group_id": {"visibility": "visible", "label": "Evri Group + ID"}, "client_licence": {"visibility": "masked", "label": "Evri Client License"}, + "api_key": {"visibility": "masked", "label": "Evri API Key"}}}}, {"object": + "CarrierType", "type": "InterlinkExpressAccount", "readable": "Interlink Express", + "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "Interlink Express Account Number"}, "username": {"visibility": + "visible", "label": "Interlink Express Username"}, "password": {"visibility": + "password", "label": "Interlink Express Password"}, "vat_number": {"visibility": + "visible", "label": "VAT Number"}}}}, {"object": "CarrierType", "type": "LasershipV2Account", + "readable": "LaserShipV2", "logo": null, "fields": {"credentials": {"api_key": + {"visibility": "masked", "label": "LaserShipV2 API Key"}, "api_id": {"visibility": + "visible", "label": "LaserShipV2 API ID"}, "facility": {"visibility": "visible", + "label": "LaserShipV2 Customer Branch"}, "cargo_claim_value": {"visibility": + "visible", "label": "LaserShipV2 Cargo Insurance Claim Value (USD)"}, "is_reseller": + {"visibility": "checkbox", "label": "3PL Account? (check if yes)"}, "injection_location_type": + {"visibility": "visible", "label": "Injection Address Location Type (\"Business\" + or \"Residence\")"}, "injection_contact": {"visibility": "visible", "label": + "Injection Address Contact"}, "injection_organization": {"visibility": "visible", + "label": "Injection Address Organization"}, "injection_street1": {"visibility": + "visible", "label": "Injection Address Street1"}, "injection_street2": {"visibility": + "visible", "label": "Injection Address Street2"}, "injection_city": {"visibility": + "visible", "label": "Injection Address City"}, "injection_state": {"visibility": + "visible", "label": "Injection Address State"}, "injection_zip": {"visibility": + "visible", "label": "Injection Address Postal Code"}, "injection_country": + {"visibility": "visible", "label": "Injection Address Country Code"}, "injection_phone": + {"visibility": "visible", "label": "Injection Address Phone"}, "injection_phone_ext": + {"visibility": "visible", "label": "Injection Address Phone Extension"}, "injection_email": + {"visibility": "visible", "label": "Injection Address Email"}, "injection_instruction": + {"visibility": "visible", "label": "Injection Address Instruction"}, "injection_note": + {"visibility": "visible", "label": "Injection Address Note"}}}}, {"object": + "CarrierType", "type": "LoomisExpressAccount", "readable": "Loomis Express", + "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "Loomis Express Account Number"}, "username": {"visibility": + "visible", "label": "Loomis Express Username"}, "password": {"visibility": + "password", "label": "Loomis Express Password"}}, "test_credentials": {"account_number": + {"visibility": "visible", "label": "Test Loomis Express Account Number"}, + "username": {"visibility": "visible", "label": "Test Loomis Express Username"}, + "password": {"visibility": "password", "label": "Test Loomis Express Password"}}}}, + {"object": "CarrierType", "type": "LsoAccount", "readable": "LSO", "logo": + null, "fields": {"credentials": {"account_number": {"visibility": "visible", + "label": "LSO Production Account Number"}, "username": {"visibility": "visible", + "label": "LSO Production Username"}, "password": {"visibility": "password", + "label": "LSO Production Password"}}, "test_credentials": {"account_number": + {"visibility": "visible", "label": "LSO Test Account Number"}, "username": + {"visibility": "visible", "label": "LSO Test Username"}, "password": {"visibility": + "password", "label": "LSO Test Password"}}}}, {"object": "CarrierType", "type": + "NewgisticsAccount", "readable": "Newgistics", "logo": null, "fields": {"credentials": + {"client_id": {"visibility": "visible", "label": "Client ID"}, "client_secret": + {"visibility": "password", "label": "Client Secret"}, "client_facility_id": + {"visibility": "visible", "label": "Client Facility ID"}, "fulfiller_facility_id": + {"visibility": "visible", "label": "Newgistics Facility ID"}, "tracking_api_key": + {"visibility": "masked", "label": "Tracking API Key"}, "merchant_id": {"visibility": + "visible", "label": "Merchant ID"}}, "test_credentials": {"client_id": {"visibility": + "visible", "label": "Client ID"}, "client_secret": {"visibility": "password", + "label": "Client Secret"}, "client_facility_id": {"visibility": "visible", + "label": "Client Facility ID"}, "fulfiller_facility_id": {"visibility": "visible", + "label": "Newgistics Facility ID"}, "tracking_api_key": {"visibility": "masked", + "label": "Tracking API Key"}, "merchant_id": {"visibility": "visible", "label": + "Merchant ID"}}}}, {"object": "CarrierType", "type": "OmniParcelAccount", + "readable": "OmniParcel", "logo": null, "fields": {"credentials": {"api_access_key": + {"visibility": "masked", "label": "API Access Key"}, "return_api_access_key": + {"visibility": "masked", "label": "Return API Access Key"}}, "test_credentials": + {"api_access_key": {"visibility": "masked", "label": "Test API Access Key"}, + "return_api_access_key": {"visibility": "masked", "label": "Test Return API + Access Key"}}}}, {"object": "CarrierType", "type": "OntracAccount", "readable": + "OnTrac", "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "OnTrac Account Number"}, "password": {"visibility": "password", + "label": "OnTrac API Password"}}, "test_credentials": {"account_number": {"visibility": + "visible", "label": "OnTrac Test Account Number"}, "password": {"visibility": + "password", "label": "OnTrac Test API Password"}}}}, {"object": "CarrierType", + "type": "OptimaAccount", "readable": "Optima", "logo": null, "fields": {"credentials": + {"username": {"visibility": "visible", "label": "Optima username"}, "password": + {"visibility": "password", "label": "Optima password"}, "account_number": + {"visibility": "visible", "label": "Optima account number"}}, "test_credentials": + {"username": {"visibility": "visible", "label": "Test Optima username"}, "password": + {"visibility": "password", "label": "Test Optima password"}, "account_number": + {"visibility": "visible", "label": "Test Optima account number"}}}}, {"object": + "CarrierType", "type": "OsmWorldwideAccount", "readable": "OSM Worldwide", + "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "Account Number"}, "mailer_id": {"visibility": "visible", + "label": "Mailer ID"}, "facility_code": {"visibility": "visible", "label": + "Facility Code/Cost Center ID for manifesting (optional)"}, "company_name": + {"visibility": "visible", "label": "Company Name"}, "aws_sftp_username": {"visibility": + "visible", "label": "SFTP Username"}}}}, {"object": "CarrierType", "type": + "PandionAccount", "readable": "Pandion", "logo": null, "fields": {"credentials": + {"api_key": {"visibility": "masked", "label": "Prod Pandion API Key"}}, "test_credentials": + {"api_key": {"visibility": "masked", "label": "Test Pandion API Key"}}}}, + {"object": "CarrierType", "type": "ParcelForceAccount", "readable": "Parcel + Force", "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "Parcelforce Contract Number"}, "username": {"visibility": + "visible", "label": "expressLink API Username"}, "password": {"visibility": + "password", "label": "expressLink API Password"}, "department_id": {"visibility": + "visible", "label": "Department ID - not required"}}, "test_credentials": + {"account_number": {"visibility": "visible", "label": "Parcelforce Test Contract + Number"}, "username": {"visibility": "visible", "label": "Test expressLink + API Username"}, "password": {"visibility": "password", "label": "Test expressLink + API Password"}, "department_id": {"visibility": "visible", "label": "Test + Department ID - not required"}}}}, {"object": "CarrierType", "type": "ParcllAccount", + "readable": "Cirro E-Commerce", "logo": null, "fields": {"credentials": {"api_key": + {"visibility": "masked", "label": "Cirro E-Commerce API key"}, "user_id": + {"visibility": "visible", "label": "Cirro E-Commerce User Id"}, "origin_hub": + {"visibility": "select", "label": "Cirro E-Commerce Origin Hub"}}, "test_credentials": + {"api_key": {"visibility": "masked", "label": "Test Cirro E-Commerce API key"}, + "user_id": {"visibility": "visible", "label": "Test Cirro E-Commerce User + Id"}, "origin_hub": {"visibility": "select", "label": "Test Cirro E-Commerce + Origin Hub"}}}}, {"object": "CarrierType", "type": "PassportGlobalAccount", + "readable": "Passport Global", "logo": null, "fields": {"credentials": {"api_key": + {"visibility": "masked", "label": "Passport Global API key"}, "email": {"visibility": + "visible", "label": "Customer email address registered with Passport Global"}, + "name": {"visibility": "visible", "label": "Customer name registered with + Passport Global"}, "company_name": {"visibility": "visible", "label": "Customer + company name registered with Passport Global"}, "phone": {"visibility": "visible", + "label": "Customer phone number registered with Passport Global (optional)"}}, + "test_credentials": {"api_key": {"visibility": "masked", "label": "Passport + Global Test API key"}, "email": {"visibility": "visible", "label": "Customer + email address registered with Passport Global"}, "name": {"visibility": "visible", + "label": "Customer name registered with Passport Global"}, "company_name": + {"visibility": "visible", "label": "Customer company name registered with + Passport Global"}, "phone": {"visibility": "visible", "label": "Customer phone + number registered with Passport Global (optional)"}}}}, {"object": "CarrierType", + "type": "PurolatorAccount", "readable": "Purolator", "logo": null, "fields": + {"credentials": {"account_number": {"visibility": "visible", "label": "Purolator + Account Number"}, "api_key": {"visibility": "masked", "label": "Production + API Key"}, "password": {"visibility": "password", "label": "Production API + Key Password"}}}}, {"object": "CarrierType", "type": "RoyalMailAccount", "readable": + "Royal Mail", "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "Royal Mail Account Number"}, "username": {"visibility": + "visible", "label": "OBA Email Address"}, "posting_location_number": {"visibility": + "visible", "label": "Posting Location Number"}}}}, {"object": "CarrierType", + "type": "RRDonnelleyAccount", "readable": "ePost Global", "logo": null, "fields": + {"credentials": {"account_number": {"visibility": "visible", "label": "ePostGlobal + Account Number"}}}}, {"object": "CarrierType", "type": "SendleAccount", "readable": + "Sendle", "logo": null, "fields": {"credentials": {"api_key": {"visibility": + "masked", "label": "Sendle API Key"}, "user_id": {"visibility": "visible", + "label": "Sendle ID"}}, "test_credentials": {"api_key": {"visibility": "masked", + "label": "Sendle Sandbox API Key"}, "user_id": {"visibility": "visible", "label": + "Sendle Sandbox ID"}}}}, {"object": "CarrierType", "type": "SfExpressAccount", + "readable": "SF Express", "logo": null, "fields": {"credentials": {"checkword": + {"visibility": "visible", "label": "SF Express checkword"}, "customer_code": + {"visibility": "visible", "label": "SF Express customer code"}, "customer_id": + {"visibility": "visible", "label": "SF Express customer id"}}, "test_credentials": + {"checkword": {"visibility": "visible", "label": "Test SF Express checkword"}, + "customer_code": {"visibility": "visible", "label": "Test SF Express customer + code"}, "customer_id": {"visibility": "visible", "label": "Test SF Express + customer id"}}}}, {"object": "CarrierType", "type": "SmartKargoAccount", "readable": + "SmartKargo", "logo": null, "fields": {"credentials": {"account_number": {"visibility": + "visible", "label": "SmartKargo account number"}}, "test_credentials": {"account_number": + {"visibility": "visible", "label": "Test SmartKargo account number"}}}}, {"object": + "CarrierType", "type": "SonicAccount", "readable": "Sonic", "logo": null, + "fields": {"credentials": {"username": {"visibility": "visible", "label": + "Sonic username"}, "password": {"visibility": "password", "label": "Sonic + password"}, "account_number": {"visibility": "visible", "label": "Sonic account + number"}}, "test_credentials": {"username": {"visibility": "visible", "label": + "Test Sonic username"}, "password": {"visibility": "password", "label": "Test + Sonic password"}, "account_number": {"visibility": "visible", "label": "Test + Sonic account number"}}}}, {"object": "CarrierType", "type": "SpeedeeAccount", + "readable": "Spee-Dee", "logo": null, "fields": {"credentials": {"account_number": + {"visibility": "visible", "label": "Spee-Dee Account Number"}}}}, {"object": + "CarrierType", "type": "SwyftAccount", "readable": "Swyft", "logo": null, + "fields": {"credentials": {"password": {"visibility": "password", "label": + "Swyft API Key"}}, "test_credentials": {"password": {"visibility": "password", + "label": "Test Swyft API Key"}}}}, {"object": "CarrierType", "type": "TforceConciseAccount", + "readable": "TForce", "logo": null, "fields": {"credentials": {"username": + {"visibility": "visible", "label": "TForce Username"}, "password": {"visibility": + "password", "label": "TForce Password"}, "account_number": {"visibility": + "visible", "label": "TForce Account Number"}}, "test_credentials": {"username": + {"visibility": "visible", "label": "Test TForce Username"}, "password": {"visibility": + "password", "label": "Test TForce Password"}, "account_number": {"visibility": + "visible", "label": "Test TForce Account Number"}}}}, {"object": "CarrierType", + "type": "TollAccount", "readable": "Toll", "logo": null, "fields": {"credentials": + {"account_number": {"visibility": "visible", "label": "Toll Account Number"}, + "business_unit": {"visibility": "visible", "label": "Toll Business Unit (Ex. + IPEC)"}, "source_system_code": {"visibility": "visible", "label": "Toll Source + System Code"}}, "test_credentials": {"account_number": {"visibility": "visible", + "label": "Toll Test Account Number"}, "business_unit": {"visibility": "visible", + "label": "Toll Business Unit (Ex. IPEC)"}, "source_system_code": {"visibility": + "visible", "label": "Toll Test Source System Code"}}}}, {"object": "CarrierType", + "type": "UdsAccount", "readable": "UDS", "logo": null, "fields": {"credentials": + {"ftp_username": {"visibility": "visible", "label": "FTP Username"}, "ftp_password": + {"visibility": "password", "label": "FTP Password"}}}}, {"object": "CarrierType", + "type": "UpsAccount", "readable": "UPS", "logo": null, "fields": {"credentials": + {"access_license_number": {"visibility": "invisible", "label": "UPS Access + License Number"}, "account_number": {"visibility": "readonly", "label": "UPS + Account Number"}, "user_id": {"visibility": "invisible", "label": "UPS.com + User ID"}, "password": {"visibility": "invisible", "label": "UPS.com Password"}}, + "creation_fields": {"registration_data": {"account_number": {"label": "UPS + Account Number", "visibility": "visible"}, "client_ip": {"label": "Client + IP", "visibility": "invisible"}, "name": {"label": "Company Contact Name", + "visibility": "visible"}, "title": {"label": "Company Contact Job Title", + "visibility": "visible"}, "company": {"label": "Company Name", "visibility": + "visible"}, "phone": {"label": "Company Phone", "visibility": "visible"}, + "email": {"label": "Company Email", "visibility": "visible"}, "website": {"label": + "Company Website", "visibility": "visible"}, "street1": {"label": "Shipping + Street 1", "visibility": "visible"}, "street2": {"label": "Shipping Street + 2", "visibility": "visible"}, "city": {"label": "Shipping City", "visibility": + "visible"}, "state": {"label": "Shipping State", "visibility": "visible"}, + "postal_code": {"label": "Shipping Postal Code", "visibility": "visible"}, + "country": {"label": "Shipping Country", "visibility": "visible"}, "invoice_number": + {"label": "UPS Invoice Number", "visibility": "visible"}, "invoice_date": + {"label": "UPS Invoice Date", "visibility": "visible"}, "invoice_amount": + {"label": "UPS Invoice Amount", "visibility": "visible"}, "invoice_currency": + {"label": "UPS Invoice Currency", "visibility": "visible"}, "invoice_control_id": + {"label": "UPS Invoice Control ID", "visibility": "visible"}}}, "custom_workflow": + true}}, {"object": "CarrierType", "type": "UpsIparcelAccount", "readable": + "UPS i-Parcel", "logo": null, "fields": {"credentials": {"api_key": {"visibility": + "masked", "label": "i-Parcel API key"}}}}, {"object": "CarrierType", "type": + "UpsMailInnovationsAccount", "readable": "UPS Mail Innovations", "logo": null, + "fields": {"credentials": {"account_number": {"visibility": "visible", "label": + "UPS Shipper Number"}, "user_id": {"visibility": "visible", "label": "UPS.com + User ID"}, "password": {"visibility": "password", "label": "UPS.com Password"}, + "customer_id": {"visibility": "visible", "label": "UPS customer id (optional)"}, + "customer_guid": {"visibility": "visible", "label": "UPS customer GUID (optional)"}}}}, + {"object": "CarrierType", "type": "UspsAccount", "readable": "USPS", "logo": + null, "fields": {"credentials": {"company_name": {"visibility": "visible", + "label": "Account Holder Name"}, "address_street": {"visibility": "visible", + "label": "Street Address"}, "address_city": {"visibility": "visible", "label": + "City"}, "address_state": {"visibility": "visible", "label": "State"}, "address_zip": + {"visibility": "visible", "label": "ZIP Code"}, "phone": {"visibility": "visible", + "label": "Phone Number"}, "email": {"visibility": "visible", "label": "Email + Address"}, "shipper_id": {"visibility": "visible", "label": "Shipper Identifier + (Optional)"}}}}, {"object": "CarrierType", "type": "VehoAccount", "readable": + "Veho", "logo": null, "fields": {"credentials": {"api_key": {"visibility": + "masked", "label": "Veho Production API Key"}}, "test_credentials": {"api_key": + {"visibility": "masked", "label": "Veho Test API Key"}}}}, {"object": "CarrierType", + "type": "XDeliveryAccount", "readable": "Maergo", "logo": null, "fields": + {"credentials": {"username": {"visibility": "visible", "label": "Maergo Username"}, + "password": {"visibility": "password", "label": "Maergo Password"}}, "test_credentials": + {"username": {"visibility": "visible", "label": "Test Maergo Username"}, "password": + {"visibility": "password", "label": "Test Maergo Password"}}}}]' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '38432' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf263e798d4c20010e384 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.030711' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_child_users_create.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_child_users_create.yaml new file mode 100644 index 00000000..93aacce2 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_child_users_create.yaml @@ -0,0 +1,662 @@ +interactions: +- request: + body: '{"user": {"name": "Test User"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '31' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/users + response: + body: + string: '{"id": "user_31754439d4524fbb8867d138de537e12", "object": "User", "parent_id": + "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test User", "phone_number": + "8005550100", "verified": true, "created_at": "2024-01-19T21:42:21Z", "default_carbon_offset": + false, "has_elevate_access": false, "children": [], "api_keys": [{"object": + "ApiKey", "key": "", "mode": "test", "created_at": "2024-01-19T21:42:21Z", + "active": true, "id": "ak_dffa08301f7d4a54895f7840d54d05e0"}, {"object": "ApiKey", + "key": "", "mode": "production", "created_at": "2024-01-19T21:42:21Z", + "active": true, "id": "ak_d386ae3ceee04b0880002cd39dca2587"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '691' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaecbde78b9fa7000d11a0 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.712418' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"user": {"name": "Test User"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '31' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/users + response: + body: + string: '{"id": "user_d26377e80676431d88c17d8b140d365a", "object": "User", "parent_id": + "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test User", "phone_number": + "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", "default_carbon_offset": + false, "has_elevate_access": false, "children": [], "api_keys": [{"object": + "ApiKey", "key": "", "mode": "test", "created_at": "2024-01-19T21:44:18Z", + "active": true, "id": "ak_92d46dfa461245bba1ec48aac1f2090d"}, {"object": "ApiKey", + "key": "", "mode": "production", "created_at": "2024-01-19T21:44:18Z", + "active": true, "id": "ak_8637c80064224594b9dfdf82efbb27b7"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '691' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaed32e78ba7cc000d56f3 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.693695' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"user": {"name": "Test User"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '31' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/users + response: + body: + string: '{"id": "user_72074c8f709a4c199c452fc45eee9c41", "object": "User", "parent_id": + "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test User", "phone_number": + "8005550100", "verified": true, "created_at": "2024-01-19T21:48:11Z", "default_carbon_offset": + false, "has_elevate_access": false, "children": [], "api_keys": [{"object": + "ApiKey", "key": "", "mode": "test", "created_at": "2024-01-19T21:48:11Z", + "active": true, "id": "ak_f7875890e11941159ffd203fd956a1d7"}, {"object": "ApiKey", + "key": "", "mode": "production", "created_at": "2024-01-19T21:48:11Z", + "active": true, "id": "ak_c41578b9187d47a998acbe19723d6793"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '691' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdae65aaee1be78bb06700114dce + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.872627' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/users/user_72074c8f709a4c199c452fc45eee9c41 + response: + body: + string: '' + headers: + cache-control: + - private, no-cache, no-store + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdac65aaee1ce78bb06800114e6a + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.120679' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 204 + message: No Content +- request: + body: '{"user": {"name": "Test User"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '31' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/users + response: + body: + string: '{"id": "user_9b717cab9b164882837df05940d91ef5", "object": "User", "parent_id": + "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test User", "phone_number": + "8005550100", "verified": true, "created_at": "2024-01-19T21:50:06Z", "default_carbon_offset": + false, "has_elevate_access": false, "children": [], "api_keys": [{"object": + "ApiKey", "key": "", "mode": "test", "created_at": "2024-01-19T21:50:06Z", + "active": true, "id": "ak_f922cea4730c40559d5af9cf24b375f0"}, {"object": "ApiKey", + "key": "", "mode": "production", "created_at": "2024-01-19T21:50:06Z", + "active": true, "id": "ak_d9b61263ec964a88a916155a74933fda"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '691' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda965aaee8ee78bb88a00118f96 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.718772' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/users/user_9b717cab9b164882837df05940d91ef5 + response: + body: + string: '' + headers: + cache-control: + - private, no-cache, no-store + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdad65aaee8fe78bb88b00119027 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.121762' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 204 + message: No Content +- request: + body: '{"user": {"name": "Test User"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '31' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/users + response: + body: + string: '{"id": "user_ef8759387f554d5ea6f8e7d8705b492b", "object": "User", "parent_id": + "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test User", "phone_number": + "8005550100", "verified": true, "created_at": "2024-01-19T21:59:26Z", "default_carbon_offset": + false, "has_elevate_access": false, "children": [], "api_keys": [{"object": + "ApiKey", "key": "", "mode": "test", "created_at": "2024-01-19T21:59:26Z", + "active": true, "id": "ak_43e2b29bf91e4900a2ff7316c36480dc"}, {"object": "ApiKey", + "key": "", "mode": "production", "created_at": "2024-01-19T21:59:26Z", + "active": true, "id": "ak_28f0d78c26d34e7fb720d15e02d83b17"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '691' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf0bee798c03c000f963a + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.721668' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/users/user_ef8759387f554d5ea6f8e7d8705b492b + response: + body: + string: '' + headers: + cache-control: + - private, no-cache, no-store + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaf0bfe798c03d000f9719 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.124792' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 204 + message: No Content +- request: + body: '{"user": {"name": "Test User"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '31' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/users + response: + body: + string: '{"id": "user_17374a40340d48d2af5cbe9c03449717", "object": "User", "parent_id": + "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test User", "phone_number": + "8005550100", "verified": true, "created_at": "2024-01-19T22:02:21Z", "default_carbon_offset": + false, "has_elevate_access": false, "children": [], "api_keys": [{"object": + "ApiKey", "key": "", "mode": "test", "created_at": "2024-01-19T22:02:21Z", + "active": true, "id": "ak_80d14fb3adba496f86c9f7b8d1ea279a"}, {"object": "ApiKey", + "key": "", "mode": "production", "created_at": "2024-01-19T22:02:21Z", + "active": true, "id": "ak_4b9927f606734bd7895cc915a71de8e5"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '691' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf16de798c89e001033ef + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.699605' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/users/user_17374a40340d48d2af5cbe9c03449717 + response: + body: + string: '' + headers: + cache-control: + - private, no-cache, no-store + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaf16ee798c89f001034ac + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.119342' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 204 + message: No Content +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_child_users_delete.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_child_users_delete.yaml new file mode 100644 index 00000000..3763c89d --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_child_users_delete.yaml @@ -0,0 +1,778 @@ +interactions: +- request: + body: '{"user": {"name": "Test User"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '31' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/users + response: + body: + string: '{"id": "user_e845881a9a8248a5bfe6c7ce7770aac0", "object": "User", "parent_id": + "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test User", "phone_number": + "8005550100", "verified": true, "created_at": "2024-01-19T21:42:24Z", "default_carbon_offset": + false, "has_elevate_access": false, "children": [], "api_keys": [{"object": + "ApiKey", "key": "", "mode": "test", "created_at": "2024-01-19T21:42:24Z", + "active": true, "id": "ak_e41b5330b4384282ad6d92c99c732917"}, {"object": "ApiKey", + "key": "", "mode": "production", "created_at": "2024-01-19T21:42:24Z", + "active": true, "id": "ak_30371cb814324279b1443561ffeebb08"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '691' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaecbfe78b9fac000d12e0 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.714436' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/users/user_e845881a9a8248a5bfe6c7ce7770aac0 + response: + body: + string: '' + headers: + cache-control: + - private, no-cache, no-store + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaecc0e78b9fad000d1371 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.120176' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 204 + message: No Content +- request: + body: '{"user": {"name": "Test User"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '31' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/users + response: + body: + string: '{"id": "user_64feda2b5aeb49c2b39de87fd2d979a1", "object": "User", "parent_id": + "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test User", "phone_number": + "8005550100", "verified": true, "created_at": "2024-01-19T21:44:20Z", "default_carbon_offset": + false, "has_elevate_access": false, "children": [], "api_keys": [{"object": + "ApiKey", "key": "", "mode": "test", "created_at": "2024-01-19T21:44:20Z", + "active": true, "id": "ak_c0feef48d31e44c9a06f1383b9e98a3c"}, {"object": "ApiKey", + "key": "", "mode": "production", "created_at": "2024-01-19T21:44:20Z", + "active": true, "id": "ak_c368943adb6548fb96a0adc5f81f1dfe"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '691' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaed34e78ba7e9000d58a9 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.709389' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/users/user_64feda2b5aeb49c2b39de87fd2d979a1 + response: + body: + string: '' + headers: + cache-control: + - private, no-cache, no-store + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaed35e78ba7ea000d5943 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.129054' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 204 + message: No Content +- request: + body: '{"user": {"name": "Test User"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '31' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/users + response: + body: + string: '{"id": "user_9f6ce92b089846628639a090df210af1", "object": "User", "parent_id": + "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test User", "phone_number": + "8005550100", "verified": true, "created_at": "2024-01-19T21:48:14Z", "default_carbon_offset": + false, "has_elevate_access": false, "children": [], "api_keys": [{"object": + "ApiKey", "key": "", "mode": "test", "created_at": "2024-01-19T21:48:14Z", + "active": true, "id": "ak_c46b58e251f14ef08f33fbf4936248bf"}, {"object": "ApiKey", + "key": "", "mode": "production", "created_at": "2024-01-19T21:48:14Z", + "active": true, "id": "ak_5c85bcf148e546e793e320e75a496bb9"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '691' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdac65aaee1ee78bb06d00114f64 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '1.011865' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/users/user_9f6ce92b089846628639a090df210af1 + response: + body: + string: '' + headers: + cache-control: + - private, no-cache, no-store + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdae65aaee1fe78bb06e00115016 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.127945' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 204 + message: No Content +- request: + body: '{"user": {"name": "Test User"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '31' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/users + response: + body: + string: '{"id": "user_8885b401094540409c977f2ecc30e0b6", "object": "User", "parent_id": + "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test User", "phone_number": + "8005550100", "verified": true, "created_at": "2024-01-19T21:50:09Z", "default_carbon_offset": + false, "has_elevate_access": false, "children": [], "api_keys": [{"object": + "ApiKey", "key": "", "mode": "test", "created_at": "2024-01-19T21:50:10Z", + "active": true, "id": "ak_a146829619524bf5903885c47bdda610"}, {"object": "ApiKey", + "key": "", "mode": "production", "created_at": "2024-01-19T21:50:10Z", + "active": true, "id": "ak_75ebdbc74c3e4c49a3353c1727d8f82b"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '691' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdac65aaee91e78bb8a700119196 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.745977' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/users/user_8885b401094540409c977f2ecc30e0b6 + response: + body: + string: '' + headers: + cache-control: + - private, no-cache, no-store + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdad65aaee92e78bb8a800119231 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.126052' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 204 + message: No Content +- request: + body: '{"user": {"name": "Test User"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '31' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/users + response: + body: + string: '{"id": "user_8741c9505414470b85ee9975e0db542e", "object": "User", "parent_id": + "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test User", "phone_number": + "8005550100", "verified": true, "created_at": "2024-01-19T21:59:29Z", "default_carbon_offset": + false, "has_elevate_access": false, "children": [], "api_keys": [{"object": + "ApiKey", "key": "", "mode": "test", "created_at": "2024-01-19T21:59:29Z", + "active": true, "id": "ak_4f294038e30e4f11bb0e129497b81347"}, {"object": "ApiKey", + "key": "", "mode": "production", "created_at": "2024-01-19T21:59:29Z", + "active": true, "id": "ak_8647b303e01746feb033179d4a49f611"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '691' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaf0c1e798c042000f98df + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.697638' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/users/user_8741c9505414470b85ee9975e0db542e + response: + body: + string: '' + headers: + cache-control: + - private, no-cache, no-store + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaf0c1e798c043000f9998 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.125316' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 204 + message: No Content +- request: + body: '{"user": {"name": "Test User"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '31' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/users + response: + body: + string: '{"id": "user_019a0be77a5f4e92811144058336a6c7", "object": "User", "parent_id": + "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test User", "phone_number": + "8005550100", "verified": true, "created_at": "2024-01-19T22:02:25Z", "default_carbon_offset": + false, "has_elevate_access": false, "children": [], "api_keys": [{"object": + "ApiKey", "key": "", "mode": "test", "created_at": "2024-01-19T22:02:25Z", + "active": true, "id": "ak_02aa455f7d2343d9b13c53e68b8748d9"}, {"object": "ApiKey", + "key": "", "mode": "production", "created_at": "2024-01-19T22:02:25Z", + "active": true, "id": "ak_6ac98383d1424d82a4b02a49eaca41c0"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '691' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaf170e798c8bd001036c1 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.772190' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/users/user_019a0be77a5f4e92811144058336a6c7 + response: + body: + string: '' + headers: + cache-control: + - private, no-cache, no-store + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaf171e798c8be00103789 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.131022' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 204 + message: No Content +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_child_users_list.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_child_users_list.yaml new file mode 100644 index 00000000..1461c18c --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_child_users_list.yaml @@ -0,0 +1,449 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/users/children + response: + body: + string: '{"children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:38Z"}, + {"id": "user_437e724f37de412db6df8821968d8d3c", "object": "User", "parent_id": + "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test User2", "phone_number": + "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z"}, {"id": + "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", + "name": "Child Account Name22", "phone_number": "8005550100", "verified": + true, "created_at": "2024-01-04T19:56:21Z"}, {"id": "user_31754439d4524fbb8867d138de537e12", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User", "phone_number": "8005550100", "verified": true, "created_at": + "2024-01-19T21:42:21Z"}], "has_more": false}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '900' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaecbfe78b9fab000d12ba + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.058079' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/users/children + response: + body: + string: '{"children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:38Z"}, + {"id": "user_437e724f37de412db6df8821968d8d3c", "object": "User", "parent_id": + "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test User2", "phone_number": + "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z"}, {"id": + "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", + "name": "Child Account Name22", "phone_number": "8005550100", "verified": + true, "created_at": "2024-01-04T19:56:21Z"}, {"id": "user_31754439d4524fbb8867d138de537e12", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User", "phone_number": "8005550100", "verified": true, "created_at": + "2024-01-19T21:42:21Z"}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z"}], + "has_more": false}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1114' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaed34e78ba7e8000d5873 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.035350' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/users/children + response: + body: + string: '{"children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:38Z"}, + {"id": "user_437e724f37de412db6df8821968d8d3c", "object": "User", "parent_id": + "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test User2", "phone_number": + "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z"}, {"id": + "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", + "name": "Child Account Name22", "phone_number": "8005550100", "verified": + true, "created_at": "2024-01-04T19:56:21Z"}, {"id": "user_31754439d4524fbb8867d138de537e12", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User", "phone_number": "8005550100", "verified": true, "created_at": + "2024-01-19T21:42:21Z"}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z"}], + "has_more": false}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1114' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdab65aaee1de78bb06c00114f1b + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.038356' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/users/children + response: + body: + string: '{"children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:38Z"}, + {"id": "user_437e724f37de412db6df8821968d8d3c", "object": "User", "parent_id": + "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test User2", "phone_number": + "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z"}, {"id": + "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", + "name": "Child Account Name22", "phone_number": "8005550100", "verified": + true, "created_at": "2024-01-04T19:56:21Z"}, {"id": "user_31754439d4524fbb8867d138de537e12", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User", "phone_number": "8005550100", "verified": true, "created_at": + "2024-01-19T21:42:21Z"}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z"}], + "has_more": false}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1114' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdae65aaee91e78bb88f00119119 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.228186' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/users/children + response: + body: + string: '{"children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:38Z"}, + {"id": "user_437e724f37de412db6df8821968d8d3c", "object": "User", "parent_id": + "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test User2", "phone_number": + "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z"}, {"id": + "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", + "name": "Child Account Name22", "phone_number": "8005550100", "verified": + true, "created_at": "2024-01-04T19:56:21Z"}, {"id": "user_31754439d4524fbb8867d138de537e12", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User", "phone_number": "8005550100", "verified": true, "created_at": + "2024-01-19T21:42:21Z"}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z"}], + "has_more": false}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1114' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaf0c0e798c041000f988b + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.058678' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/users/children + response: + body: + string: '{"children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:38Z"}, + {"id": "user_437e724f37de412db6df8821968d8d3c", "object": "User", "parent_id": + "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test User2", "phone_number": + "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z"}, {"id": + "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", + "name": "Child Account Name22", "phone_number": "8005550100", "verified": + true, "created_at": "2024-01-04T19:56:21Z"}, {"id": "user_31754439d4524fbb8867d138de537e12", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User", "phone_number": "8005550100", "verified": true, "created_at": + "2024-01-19T21:42:21Z"}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z"}], + "has_more": false}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1114' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf170e798c8a400103640 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.120449' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_customs_infos_create.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_customs_infos_create.yaml new file mode 100644 index 00000000..01eae214 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_customs_infos_create.yaml @@ -0,0 +1,652 @@ +interactions: +- request: + body: '{"customs_info": {"customs_certify": "true", "customs_signer": "Steve Brule", + "contents_type": "merchandise", "contents_explanation": "", "restriction_type": + "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": [{"description": "T-shirt", + "quantity": "1", "weight": "5", "value": "10", "code": "123", "hs_tariff_number": + "123456", "origin_country": "US"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '358' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/customs_infos + response: + body: + string: '{"id": "cstinfo_831ded88bcd742708daf7cd54cae8c1e", "object": "CustomsInfo", + "created_at": "2024-01-19T21:40:43Z", "updated_at": "2024-01-19T21:40:43Z", + "contents_explanation": "", "contents_type": "merchandise", "customs_certify": + true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": + "return", "restriction_comments": null, "restriction_type": "none", "mode": + "test", "declaration": null, "customs_items": [{"id": "cstitem_a2676810f53244c1a329c3a4e48c0a34", + "object": "CustomsItem", "created_at": "2024-01-19T21:40:43Z", "updated_at": + "2024-01-19T21:40:43Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/customs_infos/cstinfo_831ded88bcd742708daf7cd54cae8c1e + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaec5be78b9b65000cd067 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.041458' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"customs_info": {"customs_certify": "true", "customs_signer": "Steve Brule", + "contents_type": "merchandise", "contents_explanation": "", "restriction_type": + "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": [{"description": "T-shirt", + "quantity": "1", "weight": "5", "value": "10", "code": "123", "hs_tariff_number": + "123456", "origin_country": "US"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '358' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/customs_infos + response: + body: + string: '{"id": "cstinfo_3f271cfbce224c98b43c0390d40b352f", "object": "CustomsInfo", + "created_at": "2024-01-19T21:43:11Z", "updated_at": "2024-01-19T21:43:11Z", + "contents_explanation": "", "contents_type": "merchandise", "customs_certify": + true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": + "return", "restriction_comments": null, "restriction_type": "none", "mode": + "test", "declaration": null, "customs_items": [{"id": "cstitem_c3ea2a3f993f430b9d97846191dc308c", + "object": "CustomsItem", "created_at": "2024-01-19T21:43:11Z", "updated_at": + "2024-01-19T21:43:11Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/customs_infos/cstinfo_3f271cfbce224c98b43c0390d40b352f + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaecefe78ba389000d2e1f + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.038747' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"customs_info": {"customs_certify": "true", "customs_signer": "Steve Brule", + "contents_type": "merchandise", "contents_explanation": "", "restriction_type": + "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": [{"description": "T-shirt", + "quantity": "1", "weight": "5", "value": "10", "code": "123", "hs_tariff_number": + "123456", "origin_country": "US"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '358' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/customs_infos + response: + body: + string: '{"id": "cstinfo_a277484bbe0042889ab5617bc66f5c2f", "object": "CustomsInfo", + "created_at": "2024-01-19T21:47:02Z", "updated_at": "2024-01-19T21:47:02Z", + "contents_explanation": "", "contents_type": "merchandise", "customs_certify": + true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": + "return", "restriction_comments": null, "restriction_type": "none", "mode": + "test", "declaration": null, "customs_items": [{"id": "cstitem_24d398feeedd4762975c3c49ea46d0a2", + "object": "CustomsItem", "created_at": "2024-01-19T21:47:02Z", "updated_at": + "2024-01-19T21:47:02Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/customs_infos/cstinfo_a277484bbe0042889ab5617bc66f5c2f + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda865aaedd6e78bac2900112271 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.042840' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"customs_info": {"customs_certify": "true", "customs_signer": "Steve Brule", + "contents_type": "merchandise", "contents_explanation": "", "restriction_type": + "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": [{"description": "T-shirt", + "quantity": "1", "weight": "5", "value": "10", "code": "123", "hs_tariff_number": + "123456", "origin_country": "US"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '358' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/customs_infos + response: + body: + string: '{"id": "cstinfo_112e94eab5a4443dade68ed1d2d752ba", "object": "CustomsInfo", + "created_at": "2024-01-19T21:48:54Z", "updated_at": "2024-01-19T21:48:54Z", + "contents_explanation": "", "contents_type": "merchandise", "customs_certify": + true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": + "return", "restriction_comments": null, "restriction_type": "none", "mode": + "test", "declaration": null, "customs_items": [{"id": "cstitem_630c1982ba944539b48197dc3889edfb", + "object": "CustomsItem", "created_at": "2024-01-19T21:48:54Z", "updated_at": + "2024-01-19T21:48:54Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/customs_infos/cstinfo_112e94eab5a4443dade68ed1d2d752ba + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda765aaee46e78bb44a0011664b + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.041610' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"customs_info": {"customs_certify": "true", "customs_signer": "Steve Brule", + "contents_type": "merchandise", "contents_explanation": "", "restriction_type": + "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": [{"description": "T-shirt", + "quantity": "1", "weight": "5", "value": "10", "code": "123", "hs_tariff_number": + "123456", "origin_country": "US"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '358' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/customs_infos + response: + body: + string: '{"id": "cstinfo_9de3c7db152e4150a0cc1498822ab8a5", "object": "CustomsInfo", + "created_at": "2024-01-19T21:58:15Z", "updated_at": "2024-01-19T21:58:15Z", + "contents_explanation": "", "contents_type": "merchandise", "customs_certify": + true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": + "return", "restriction_comments": null, "restriction_type": "none", "mode": + "test", "declaration": null, "customs_items": [{"id": "cstitem_e0ffe268b2c748498720a38a4aaeb513", + "object": "CustomsItem", "created_at": "2024-01-19T21:58:15Z", "updated_at": + "2024-01-19T21:58:15Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/customs_infos/cstinfo_9de3c7db152e4150a0cc1498822ab8a5 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaf076e798bbdd000f6ba7 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.164688' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"customs_info": {"customs_certify": "true", "customs_signer": "Steve Brule", + "contents_type": "merchandise", "contents_explanation": "", "restriction_type": + "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": [{"description": "T-shirt", + "quantity": "1", "weight": "5", "value": "10", "code": "123", "hs_tariff_number": + "123456", "origin_country": "US"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '358' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/customs_infos + response: + body: + string: '{"id": "cstinfo_4535d303259c4ac8ab87446518429e93", "object": "CustomsInfo", + "created_at": "2024-01-19T22:01:09Z", "updated_at": "2024-01-19T22:01:09Z", + "contents_explanation": "", "contents_type": "merchandise", "customs_certify": + true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": + "return", "restriction_comments": null, "restriction_type": "none", "mode": + "test", "declaration": null, "customs_items": [{"id": "cstitem_c9b38fdc63724c0c8929b7e9d5d89cb3", + "object": "CustomsItem", "created_at": "2024-01-19T22:01:09Z", "updated_at": + "2024-01-19T22:01:09Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/customs_infos/cstinfo_4535d303259c4ac8ab87446518429e93 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaf125e798c43d000ff1dd + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.045200' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"customs_info": {"customs_certify": "true", "customs_signer": "Steve Brule", + "contents_type": "merchandise", "contents_explanation": "", "restriction_type": + "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": [{"description": "T-shirt", + "quantity": "1", "weight": "5", "value": "10", "code": "123", "hs_tariff_number": + "123456", "origin_country": "US"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '358' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/customs_infos + response: + body: + string: '{"id": "cstinfo_a608cd89b4e14787b3e91e2f3a5f7a29", "object": "CustomsInfo", + "created_at": "2024-01-19T22:04:55Z", "updated_at": "2024-01-19T22:04:55Z", + "contents_explanation": "", "contents_type": "merchandise", "customs_certify": + true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": + "return", "restriction_comments": null, "restriction_type": "none", "mode": + "test", "declaration": null, "customs_items": [{"id": "cstitem_7bc9a22d91fc40c890bd7422aa116b50", + "object": "CustomsItem", "created_at": "2024-01-19T22:04:55Z", "updated_at": + "2024-01-19T22:04:55Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/customs_infos/cstinfo_a608cd89b4e14787b3e91e2f3a5f7a29 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaf207e798cd210010a501 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.039566' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"customs_info": {"customs_certify": "true", "customs_signer": "Steve Brule", + "contents_type": "merchandise", "contents_explanation": "", "restriction_type": + "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": [{"description": "T-shirt", + "quantity": "1", "weight": "5", "value": "10", "code": "123", "hs_tariff_number": + "123456", "origin_country": "US"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '358' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/customs_infos + response: + body: + string: '{"id": "cstinfo_cc8fe736fe944217be2e662f303740e1", "object": "CustomsInfo", + "created_at": "2024-01-19T22:06:28Z", "updated_at": "2024-01-19T22:06:28Z", + "contents_explanation": "", "contents_type": "merchandise", "customs_certify": + true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": + "return", "restriction_comments": null, "restriction_type": "none", "mode": + "test", "declaration": null, "customs_items": [{"id": "cstitem_30e09467ace74fb1866fc4081895ee1b", + "object": "CustomsItem", "created_at": "2024-01-19T22:06:28Z", "updated_at": + "2024-01-19T22:06:28Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/customs_infos/cstinfo_cc8fe736fe944217be2e662f303740e1 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf264e798d4c30010e3e3 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.047002' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_customs_infos_retrieve.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_customs_infos_retrieve.yaml new file mode 100644 index 00000000..49c2e702 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_customs_infos_retrieve.yaml @@ -0,0 +1,1222 @@ +interactions: +- request: + body: '{"customs_info": {"customs_certify": "true", "customs_signer": "Steve Brule", + "contents_type": "merchandise", "contents_explanation": "", "restriction_type": + "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": [{"description": "T-shirt", + "quantity": "1", "weight": "5", "value": "10", "code": "123", "hs_tariff_number": + "123456", "origin_country": "US"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '358' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/customs_infos + response: + body: + string: '{"id": "cstinfo_5407d9771090494a8ef46d89d5994230", "object": "CustomsInfo", + "created_at": "2024-01-19T21:40:43Z", "updated_at": "2024-01-19T21:40:43Z", + "contents_explanation": "", "contents_type": "merchandise", "customs_certify": + true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": + "return", "restriction_comments": null, "restriction_type": "none", "mode": + "test", "declaration": null, "customs_items": [{"id": "cstitem_a75fa158444145deaf5287b2ab3bf6d7", + "object": "CustomsItem", "created_at": "2024-01-19T21:40:43Z", "updated_at": + "2024-01-19T21:40:43Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/customs_infos/cstinfo_5407d9771090494a8ef46d89d5994230 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaec5be78b9b66000cd092 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.046837' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/customs_infos/cstinfo_5407d9771090494a8ef46d89d5994230 + response: + body: + string: '{"id": "cstinfo_5407d9771090494a8ef46d89d5994230", "object": "CustomsInfo", + "created_at": "2024-01-19T21:40:43Z", "updated_at": "2024-01-19T21:40:43Z", + "contents_explanation": "", "contents_type": "merchandise", "customs_certify": + true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": + "return", "restriction_comments": null, "restriction_type": "none", "mode": + "test", "declaration": null, "customs_items": [{"id": "cstitem_a75fa158444145deaf5287b2ab3bf6d7", + "object": "CustomsItem", "created_at": "2024-01-19T21:40:43Z", "updated_at": + "2024-01-19T21:40:43Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaec5be78b9b67000cd0b8 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.031429' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"customs_info": {"customs_certify": "true", "customs_signer": "Steve Brule", + "contents_type": "merchandise", "contents_explanation": "", "restriction_type": + "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": [{"description": "T-shirt", + "quantity": "1", "weight": "5", "value": "10", "code": "123", "hs_tariff_number": + "123456", "origin_country": "US"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '358' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/customs_infos + response: + body: + string: '{"id": "cstinfo_3b8b4025ac1c4266b538cd81c5f5cc96", "object": "CustomsInfo", + "created_at": "2024-01-19T21:43:12Z", "updated_at": "2024-01-19T21:43:12Z", + "contents_explanation": "", "contents_type": "merchandise", "customs_certify": + true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": + "return", "restriction_comments": null, "restriction_type": "none", "mode": + "test", "declaration": null, "customs_items": [{"id": "cstitem_9c38e7d398c0482292e350e6b3354ac8", + "object": "CustomsItem", "created_at": "2024-01-19T21:43:12Z", "updated_at": + "2024-01-19T21:43:12Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/customs_infos/cstinfo_3b8b4025ac1c4266b538cd81c5f5cc96 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaecf0e78ba38a000d2e45 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.070604' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/customs_infos/cstinfo_3b8b4025ac1c4266b538cd81c5f5cc96 + response: + body: + string: '{"id": "cstinfo_3b8b4025ac1c4266b538cd81c5f5cc96", "object": "CustomsInfo", + "created_at": "2024-01-19T21:43:12Z", "updated_at": "2024-01-19T21:43:12Z", + "contents_explanation": "", "contents_type": "merchandise", "customs_certify": + true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": + "return", "restriction_comments": null, "restriction_type": "none", "mode": + "test", "declaration": null, "customs_items": [{"id": "cstitem_9c38e7d398c0482292e350e6b3354ac8", + "object": "CustomsItem", "created_at": "2024-01-19T21:43:12Z", "updated_at": + "2024-01-19T21:43:12Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaecf0e78ba38b000d2e7e + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.023632' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"customs_info": {"customs_certify": "true", "customs_signer": "Steve Brule", + "contents_type": "merchandise", "contents_explanation": "", "restriction_type": + "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": [{"description": "T-shirt", + "quantity": "1", "weight": "5", "value": "10", "code": "123", "hs_tariff_number": + "123456", "origin_country": "US"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '358' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/customs_infos + response: + body: + string: '{"id": "cstinfo_3f69fd490aa84979a87f4aaefe1494e4", "object": "CustomsInfo", + "created_at": "2024-01-19T21:47:02Z", "updated_at": "2024-01-19T21:47:02Z", + "contents_explanation": "", "contents_type": "merchandise", "customs_certify": + true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": + "return", "restriction_comments": null, "restriction_type": "none", "mode": + "test", "declaration": null, "customs_items": [{"id": "cstitem_5d0b1f0f117b400cb155086193d98dc3", + "object": "CustomsItem", "created_at": "2024-01-19T21:47:02Z", "updated_at": + "2024-01-19T21:47:02Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/customs_infos/cstinfo_3f69fd490aa84979a87f4aaefe1494e4 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda765aaedd6e78bac2a001122a4 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.039137' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/customs_infos/cstinfo_3f69fd490aa84979a87f4aaefe1494e4 + response: + body: + string: '{"id": "cstinfo_3f69fd490aa84979a87f4aaefe1494e4", "object": "CustomsInfo", + "created_at": "2024-01-19T21:47:02Z", "updated_at": "2024-01-19T21:47:02Z", + "contents_explanation": "", "contents_type": "merchandise", "customs_certify": + true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": + "return", "restriction_comments": null, "restriction_type": "none", "mode": + "test", "declaration": null, "customs_items": [{"id": "cstitem_5d0b1f0f117b400cb155086193d98dc3", + "object": "CustomsItem", "created_at": "2024-01-19T21:47:02Z", "updated_at": + "2024-01-19T21:47:02Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda865aaedd6e78bac2b001122ca + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.032768' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"customs_info": {"customs_certify": "true", "customs_signer": "Steve Brule", + "contents_type": "merchandise", "contents_explanation": "", "restriction_type": + "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": [{"description": "T-shirt", + "quantity": "1", "weight": "5", "value": "10", "code": "123", "hs_tariff_number": + "123456", "origin_country": "US"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '358' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/customs_infos + response: + body: + string: '{"id": "cstinfo_71804763a88948f68ab726c82e15f34a", "object": "CustomsInfo", + "created_at": "2024-01-19T21:48:54Z", "updated_at": "2024-01-19T21:48:54Z", + "contents_explanation": "", "contents_type": "merchandise", "customs_certify": + true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": + "return", "restriction_comments": null, "restriction_type": "none", "mode": + "test", "declaration": null, "customs_items": [{"id": "cstitem_ba5f0c862bb84b0dbf13b8121f5c2eb2", + "object": "CustomsItem", "created_at": "2024-01-19T21:48:54Z", "updated_at": + "2024-01-19T21:48:54Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/customs_infos/cstinfo_71804763a88948f68ab726c82e15f34a + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda765aaee46e78bb44b00116674 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.040777' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/customs_infos/cstinfo_71804763a88948f68ab726c82e15f34a + response: + body: + string: '{"id": "cstinfo_71804763a88948f68ab726c82e15f34a", "object": "CustomsInfo", + "created_at": "2024-01-19T21:48:54Z", "updated_at": "2024-01-19T21:48:54Z", + "contents_explanation": "", "contents_type": "merchandise", "customs_certify": + true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": + "return", "restriction_comments": null, "restriction_type": "none", "mode": + "test", "declaration": null, "customs_items": [{"id": "cstitem_ba5f0c862bb84b0dbf13b8121f5c2eb2", + "object": "CustomsItem", "created_at": "2024-01-19T21:48:54Z", "updated_at": + "2024-01-19T21:48:54Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda765aaee46e78bb44c00116699 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.030007' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"customs_info": {"customs_certify": "true", "customs_signer": "Steve Brule", + "contents_type": "merchandise", "contents_explanation": "", "restriction_type": + "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": [{"description": "T-shirt", + "quantity": "1", "weight": "5", "value": "10", "code": "123", "hs_tariff_number": + "123456", "origin_country": "US"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '358' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/customs_infos + response: + body: + string: '{"id": "cstinfo_360d29c60e9b4a39b47b15400dee5545", "object": "CustomsInfo", + "created_at": "2024-01-19T21:58:15Z", "updated_at": "2024-01-19T21:58:15Z", + "contents_explanation": "", "contents_type": "merchandise", "customs_certify": + true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": + "return", "restriction_comments": null, "restriction_type": "none", "mode": + "test", "declaration": null, "customs_items": [{"id": "cstitem_7ddda783f7b642f6a32599680aab8671", + "object": "CustomsItem", "created_at": "2024-01-19T21:58:15Z", "updated_at": + "2024-01-19T21:58:15Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/customs_infos/cstinfo_360d29c60e9b4a39b47b15400dee5545 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaf077e798bbde000f6bd6 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.037777' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/customs_infos/cstinfo_360d29c60e9b4a39b47b15400dee5545 + response: + body: + string: '{"id": "cstinfo_360d29c60e9b4a39b47b15400dee5545", "object": "CustomsInfo", + "created_at": "2024-01-19T21:58:15Z", "updated_at": "2024-01-19T21:58:15Z", + "contents_explanation": "", "contents_type": "merchandise", "customs_certify": + true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": + "return", "restriction_comments": null, "restriction_type": "none", "mode": + "test", "declaration": null, "customs_items": [{"id": "cstitem_7ddda783f7b642f6a32599680aab8671", + "object": "CustomsItem", "created_at": "2024-01-19T21:58:15Z", "updated_at": + "2024-01-19T21:58:15Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf077e798bbe2000f6bfe + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.026162' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"customs_info": {"customs_certify": "true", "customs_signer": "Steve Brule", + "contents_type": "merchandise", "contents_explanation": "", "restriction_type": + "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": [{"description": "T-shirt", + "quantity": "1", "weight": "5", "value": "10", "code": "123", "hs_tariff_number": + "123456", "origin_country": "US"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '358' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/customs_infos + response: + body: + string: '{"id": "cstinfo_d02d5f9b8efe483c868c917e448352c0", "object": "CustomsInfo", + "created_at": "2024-01-19T22:01:09Z", "updated_at": "2024-01-19T22:01:09Z", + "contents_explanation": "", "contents_type": "merchandise", "customs_certify": + true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": + "return", "restriction_comments": null, "restriction_type": "none", "mode": + "test", "declaration": null, "customs_items": [{"id": "cstitem_f0323e65fbc84dda866ef27f429f442c", + "object": "CustomsItem", "created_at": "2024-01-19T22:01:09Z", "updated_at": + "2024-01-19T22:01:09Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/customs_infos/cstinfo_d02d5f9b8efe483c868c917e448352c0 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaf125e798c43e000ff237 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.047734' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/customs_infos/cstinfo_d02d5f9b8efe483c868c917e448352c0 + response: + body: + string: '{"id": "cstinfo_d02d5f9b8efe483c868c917e448352c0", "object": "CustomsInfo", + "created_at": "2024-01-19T22:01:09Z", "updated_at": "2024-01-19T22:01:09Z", + "contents_explanation": "", "contents_type": "merchandise", "customs_certify": + true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": + "return", "restriction_comments": null, "restriction_type": "none", "mode": + "test", "declaration": null, "customs_items": [{"id": "cstitem_f0323e65fbc84dda866ef27f429f442c", + "object": "CustomsItem", "created_at": "2024-01-19T22:01:09Z", "updated_at": + "2024-01-19T22:01:09Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf125e798c43f000ff292 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.029700' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"customs_info": {"customs_certify": "true", "customs_signer": "Steve Brule", + "contents_type": "merchandise", "contents_explanation": "", "restriction_type": + "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": [{"description": "T-shirt", + "quantity": "1", "weight": "5", "value": "10", "code": "123", "hs_tariff_number": + "123456", "origin_country": "US"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '358' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/customs_infos + response: + body: + string: '{"id": "cstinfo_a313193ed10649ff9c687678d39f9812", "object": "CustomsInfo", + "created_at": "2024-01-19T22:04:56Z", "updated_at": "2024-01-19T22:04:56Z", + "contents_explanation": "", "contents_type": "merchandise", "customs_certify": + true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": + "return", "restriction_comments": null, "restriction_type": "none", "mode": + "test", "declaration": null, "customs_items": [{"id": "cstitem_d5537be33f144af48d480f81977ada48", + "object": "CustomsItem", "created_at": "2024-01-19T22:04:56Z", "updated_at": + "2024-01-19T22:04:56Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/customs_infos/cstinfo_a313193ed10649ff9c687678d39f9812 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaf207e798cd220010a526 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.051726' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/customs_infos/cstinfo_a313193ed10649ff9c687678d39f9812 + response: + body: + string: '{"id": "cstinfo_a313193ed10649ff9c687678d39f9812", "object": "CustomsInfo", + "created_at": "2024-01-19T22:04:56Z", "updated_at": "2024-01-19T22:04:56Z", + "contents_explanation": "", "contents_type": "merchandise", "customs_certify": + true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": + "return", "restriction_comments": null, "restriction_type": "none", "mode": + "test", "declaration": null, "customs_items": [{"id": "cstitem_d5537be33f144af48d480f81977ada48", + "object": "CustomsItem", "created_at": "2024-01-19T22:04:56Z", "updated_at": + "2024-01-19T22:04:56Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaf208e798cd230010a54d + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.027638' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"customs_info": {"customs_certify": "true", "customs_signer": "Steve Brule", + "contents_type": "merchandise", "contents_explanation": "", "restriction_type": + "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": [{"description": "T-shirt", + "quantity": "1", "weight": "5", "value": "10", "code": "123", "hs_tariff_number": + "123456", "origin_country": "US"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '358' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/customs_infos + response: + body: + string: '{"id": "cstinfo_0ccb7aa52d9442c281a58e559ecc674f", "object": "CustomsInfo", + "created_at": "2024-01-19T22:06:28Z", "updated_at": "2024-01-19T22:06:28Z", + "contents_explanation": "", "contents_type": "merchandise", "customs_certify": + true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": + "return", "restriction_comments": null, "restriction_type": "none", "mode": + "test", "declaration": null, "customs_items": [{"id": "cstitem_412a7169dde04386aecc4623bdd29d9d", + "object": "CustomsItem", "created_at": "2024-01-19T22:06:28Z", "updated_at": + "2024-01-19T22:06:28Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/customs_infos/cstinfo_0ccb7aa52d9442c281a58e559ecc674f + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf264e798d4db0010e421 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.043791' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/customs_infos/cstinfo_0ccb7aa52d9442c281a58e559ecc674f + response: + body: + string: '{"id": "cstinfo_0ccb7aa52d9442c281a58e559ecc674f", "object": "CustomsInfo", + "created_at": "2024-01-19T22:06:28Z", "updated_at": "2024-01-19T22:06:28Z", + "contents_explanation": "", "contents_type": "merchandise", "customs_certify": + true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": + "return", "restriction_comments": null, "restriction_type": "none", "mode": + "test", "declaration": null, "customs_items": [{"id": "cstitem_412a7169dde04386aecc4623bdd29d9d", + "object": "CustomsItem", "created_at": "2024-01-19T22:06:28Z", "updated_at": + "2024-01-19T22:06:28Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf264e798d4dc0010e46d + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.028625' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_customs_items_create.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_customs_items_create.yaml new file mode 100644 index 00000000..af2b17d3 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_customs_items_create.yaml @@ -0,0 +1,600 @@ +interactions: +- request: + body: '{"customs_item": {"description": "T-shirt", "quantity": "1", "weight": + "5", "value": "10", "code": "123", "hs_tariff_number": "123456", "origin_country": + "US"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '160' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/customs_items + response: + body: + string: '{"id": "cstitem_dc3bfcb1a9b248d9b460d670fde2ca6f", "object": "CustomsItem", + "created_at": "2024-01-19T21:40:43Z", "updated_at": "2024-01-19T21:40:43Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '370' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/customs_items/cstitem_dc3bfcb1a9b248d9b460d670fde2ca6f + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaec5be78b9b68000cd0d7 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.067647' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"customs_item": {"description": "T-shirt", "quantity": "1", "weight": + "5", "value": "10", "code": "123", "hs_tariff_number": "123456", "origin_country": + "US"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '160' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/customs_items + response: + body: + string: '{"id": "cstitem_7b57200519da4fcbbdbfa84bab94777d", "object": "CustomsItem", + "created_at": "2024-01-19T21:43:12Z", "updated_at": "2024-01-19T21:43:12Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '370' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/customs_items/cstitem_7b57200519da4fcbbdbfa84bab94777d + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaecf0e78ba38c000d2ead + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.033400' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"customs_item": {"description": "T-shirt", "quantity": "1", "weight": + "5", "value": "10", "code": "123", "hs_tariff_number": "123456", "origin_country": + "US"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '160' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/customs_items + response: + body: + string: '{"id": "cstitem_27780bbc804f44da8548578aa591a193", "object": "CustomsItem", + "created_at": "2024-01-19T21:47:03Z", "updated_at": "2024-01-19T21:47:03Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '370' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/customs_items/cstitem_27780bbc804f44da8548578aa591a193 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdab65aaedd7e78bac2d001122f4 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.036188' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"customs_item": {"description": "T-shirt", "quantity": "1", "weight": + "5", "value": "10", "code": "123", "hs_tariff_number": "123456", "origin_country": + "US"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '160' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/customs_items + response: + body: + string: '{"id": "cstitem_c43088935b3540b4b3d2705d2b5a978d", "object": "CustomsItem", + "created_at": "2024-01-19T21:48:55Z", "updated_at": "2024-01-19T21:48:55Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '370' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/customs_items/cstitem_c43088935b3540b4b3d2705d2b5a978d + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdad65aaee47e78bb44d001166da + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.034313' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"customs_item": {"description": "T-shirt", "quantity": "1", "weight": + "5", "value": "10", "code": "123", "hs_tariff_number": "123456", "origin_country": + "US"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '160' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/customs_items + response: + body: + string: '{"id": "cstitem_02ce1351b3d64c38af1a7facb36e91dc", "object": "CustomsItem", + "created_at": "2024-01-19T21:58:16Z", "updated_at": "2024-01-19T21:58:16Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '370' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/customs_items/cstitem_02ce1351b3d64c38af1a7facb36e91dc + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaf077e798bbfa000f6c36 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.033244' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"customs_item": {"description": "T-shirt", "quantity": "1", "weight": + "5", "value": "10", "code": "123", "hs_tariff_number": "123456", "origin_country": + "US"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '160' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/customs_items + response: + body: + string: '{"id": "cstitem_6a3c6c388fb14a4593897c40a0ac1d7b", "object": "CustomsItem", + "created_at": "2024-01-19T22:01:10Z", "updated_at": "2024-01-19T22:01:10Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '370' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/customs_items/cstitem_6a3c6c388fb14a4593897c40a0ac1d7b + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf126e798c440000ff2e9 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.027548' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"customs_item": {"description": "T-shirt", "quantity": "1", "weight": + "5", "value": "10", "code": "123", "hs_tariff_number": "123456", "origin_country": + "US"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '160' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/customs_items + response: + body: + string: '{"id": "cstitem_8e0badbe8b944896bd72ba6a9d0da148", "object": "CustomsItem", + "created_at": "2024-01-19T22:04:56Z", "updated_at": "2024-01-19T22:04:56Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '370' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/customs_items/cstitem_8e0badbe8b944896bd72ba6a9d0da148 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaf208e798cd240010a586 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.031632' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"customs_item": {"description": "T-shirt", "quantity": "1", "weight": + "5", "value": "10", "code": "123", "hs_tariff_number": "123456", "origin_country": + "US"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '160' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/customs_items + response: + body: + string: '{"id": "cstitem_b9c7656fdfe449cfb98e98f58f44ca39", "object": "CustomsItem", + "created_at": "2024-01-19T22:06:29Z", "updated_at": "2024-01-19T22:06:29Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '370' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/customs_items/cstitem_b9c7656fdfe449cfb98e98f58f44ca39 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf265e798d4dd0010e4a0 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.028109' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_customs_items_retrieve.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_customs_items_retrieve.yaml new file mode 100644 index 00000000..e9ab62ce --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_customs_items_retrieve.yaml @@ -0,0 +1,1126 @@ +interactions: +- request: + body: '{"customs_item": {"description": "T-shirt", "quantity": "1", "weight": + "5", "value": "10", "code": "123", "hs_tariff_number": "123456", "origin_country": + "US"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '160' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/customs_items + response: + body: + string: '{"id": "cstitem_beb82d4ae2a745bbbc769caf1d234a34", "object": "CustomsItem", + "created_at": "2024-01-19T21:40:44Z", "updated_at": "2024-01-19T21:40:44Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '370' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/customs_items/cstitem_beb82d4ae2a745bbbc769caf1d234a34 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaec5ce78b9b69000cd105 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.041566' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/customs_items/cstitem_beb82d4ae2a745bbbc769caf1d234a34 + response: + body: + string: '{"id": "cstitem_beb82d4ae2a745bbbc769caf1d234a34", "object": "CustomsItem", + "created_at": "2024-01-19T21:40:44Z", "updated_at": "2024-01-19T21:40:44Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '370' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaec5ce78b9b6a000cd142 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.023428' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"customs_item": {"description": "T-shirt", "quantity": "1", "weight": + "5", "value": "10", "code": "123", "hs_tariff_number": "123456", "origin_country": + "US"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '160' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/customs_items + response: + body: + string: '{"id": "cstitem_12da4b4f69084b459b6dedb79f51d89f", "object": "CustomsItem", + "created_at": "2024-01-19T21:43:13Z", "updated_at": "2024-01-19T21:43:13Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '370' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/customs_items/cstitem_12da4b4f69084b459b6dedb79f51d89f + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaecf1e78ba3a4000d2ed9 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.033511' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/customs_items/cstitem_12da4b4f69084b459b6dedb79f51d89f + response: + body: + string: '{"id": "cstitem_12da4b4f69084b459b6dedb79f51d89f", "object": "CustomsItem", + "created_at": "2024-01-19T21:43:13Z", "updated_at": "2024-01-19T21:43:13Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '370' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaecf1e78ba3a5000d2f06 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.025705' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"customs_item": {"description": "T-shirt", "quantity": "1", "weight": + "5", "value": "10", "code": "123", "hs_tariff_number": "123456", "origin_country": + "US"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '160' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/customs_items + response: + body: + string: '{"id": "cstitem_54eed18ca7df4976b589f90866e66a38", "object": "CustomsItem", + "created_at": "2024-01-19T21:47:03Z", "updated_at": "2024-01-19T21:47:03Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '370' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/customs_items/cstitem_54eed18ca7df4976b589f90866e66a38 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda965aaedd7e78bac2e00112320 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.035962' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/customs_items/cstitem_54eed18ca7df4976b589f90866e66a38 + response: + body: + string: '{"id": "cstitem_54eed18ca7df4976b589f90866e66a38", "object": "CustomsItem", + "created_at": "2024-01-19T21:47:03Z", "updated_at": "2024-01-19T21:47:03Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '370' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdac65aaedd7e78bac2f00112349 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.026935' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"customs_item": {"description": "T-shirt", "quantity": "1", "weight": + "5", "value": "10", "code": "123", "hs_tariff_number": "123456", "origin_country": + "US"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '160' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/customs_items + response: + body: + string: '{"id": "cstitem_a4482cfc1be64b38a4689609b74dd9b1", "object": "CustomsItem", + "created_at": "2024-01-19T21:48:55Z", "updated_at": "2024-01-19T21:48:55Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '370' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/customs_items/cstitem_a4482cfc1be64b38a4689609b74dd9b1 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdab65aaee47e78bb44e001166fe + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.034911' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/customs_items/cstitem_a4482cfc1be64b38a4689609b74dd9b1 + response: + body: + string: '{"id": "cstitem_a4482cfc1be64b38a4689609b74dd9b1", "object": "CustomsItem", + "created_at": "2024-01-19T21:48:55Z", "updated_at": "2024-01-19T21:48:55Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '370' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda965aaee47e78bb4660011671f + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.025247' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"customs_item": {"description": "T-shirt", "quantity": "1", "weight": + "5", "value": "10", "code": "123", "hs_tariff_number": "123456", "origin_country": + "US"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '160' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/customs_items + response: + body: + string: '{"id": "cstitem_b6beffb15acf4c9990635b4b6c97dceb", "object": "CustomsItem", + "created_at": "2024-01-19T21:58:16Z", "updated_at": "2024-01-19T21:58:16Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '370' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/customs_items/cstitem_b6beffb15acf4c9990635b4b6c97dceb + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaf078e798bbfb000f6c65 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.032660' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/customs_items/cstitem_b6beffb15acf4c9990635b4b6c97dceb + response: + body: + string: '{"id": "cstitem_b6beffb15acf4c9990635b4b6c97dceb", "object": "CustomsItem", + "created_at": "2024-01-19T21:58:16Z", "updated_at": "2024-01-19T21:58:16Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '370' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf078e798bbfc000f6c82 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.022378' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"customs_item": {"description": "T-shirt", "quantity": "1", "weight": + "5", "value": "10", "code": "123", "hs_tariff_number": "123456", "origin_country": + "US"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '160' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/customs_items + response: + body: + string: '{"id": "cstitem_1b966abb642042cb954b639a62ca7655", "object": "CustomsItem", + "created_at": "2024-01-19T22:01:10Z", "updated_at": "2024-01-19T22:01:10Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '370' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/customs_items/cstitem_1b966abb642042cb954b639a62ca7655 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaf126e798c441000ff372 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.032173' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/customs_items/cstitem_1b966abb642042cb954b639a62ca7655 + response: + body: + string: '{"id": "cstitem_1b966abb642042cb954b639a62ca7655", "object": "CustomsItem", + "created_at": "2024-01-19T22:01:10Z", "updated_at": "2024-01-19T22:01:10Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '370' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaf126e798c442000ff3b4 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.025089' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"customs_item": {"description": "T-shirt", "quantity": "1", "weight": + "5", "value": "10", "code": "123", "hs_tariff_number": "123456", "origin_country": + "US"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '160' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/customs_items + response: + body: + string: '{"id": "cstitem_eabb1fd0ab784b128e7ee71474eff386", "object": "CustomsItem", + "created_at": "2024-01-19T22:04:56Z", "updated_at": "2024-01-19T22:04:56Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '370' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/customs_items/cstitem_eabb1fd0ab784b128e7ee71474eff386 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf208e798cd250010a5ad + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.039756' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/customs_items/cstitem_eabb1fd0ab784b128e7ee71474eff386 + response: + body: + string: '{"id": "cstitem_eabb1fd0ab784b128e7ee71474eff386", "object": "CustomsItem", + "created_at": "2024-01-19T22:04:56Z", "updated_at": "2024-01-19T22:04:56Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '370' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf209e798cd260010a5d7 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.029896' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"customs_item": {"description": "T-shirt", "quantity": "1", "weight": + "5", "value": "10", "code": "123", "hs_tariff_number": "123456", "origin_country": + "US"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '160' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/customs_items + response: + body: + string: '{"id": "cstitem_4345c993055640b68d246dc2b04d8b9f", "object": "CustomsItem", + "created_at": "2024-01-19T22:06:29Z", "updated_at": "2024-01-19T22:06:29Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '370' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/customs_items/cstitem_4345c993055640b68d246dc2b04d8b9f + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf265e798d4de0010e4cf + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.030423' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/customs_items/cstitem_4345c993055640b68d246dc2b04d8b9f + response: + body: + string: '{"id": "cstitem_4345c993055640b68d246dc2b04d8b9f", "object": "CustomsItem", + "created_at": "2024-01-19T22:06:29Z", "updated_at": "2024-01-19T22:06:29Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '370' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaf265e798d4df0010e4f7 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.021960' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_endshipper_buy.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_endshipper_buy.yaml new file mode 100644 index 00000000..ab89df91 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_endshipper_buy.yaml @@ -0,0 +1,3440 @@ +interactions: +- request: + body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": + "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", + "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": + "FOO@EXAMPLE.COM"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '252' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/end_shippers + response: + body: + string: '{"id": "es_c1c717f7dbff4a188c92dfab2dcb67ad", "object": "EndShipper", + "mode": "test", "created_at": "2024-01-19T21:40:47+00:00", "updated_at": "2024-01-19T21:40:47+00:00", + "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", + "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '362' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaec5fe78b9b88000cd2f9 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.044720' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '885' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:40:47Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T21:40:48Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_f5ae2b124dfa422bbce11d7dd7766749", + "object": "CustomsInfo", "created_at": "2024-01-19T21:40:47Z", "updated_at": + "2024-01-19T21:40:47Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_e38f63f10ba845b2affb9b83f6bd5fae", "object": "CustomsItem", + "created_at": "2024-01-19T21:40:47Z", "updated_at": "2024-01-19T21:40:47Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_6857ed0cb71311ee92ba3cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:40:47+00:00", "updated_at": "2024-01-19T21:40:47+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_37698469493d42fc9414475e42e06cf4", "object": "Parcel", "created_at": + "2024-01-19T21:40:47Z", "updated_at": "2024-01-19T21:40:47Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_5257dd59081340f9b832d5e6109d5784", + "object": "Rate", "created_at": "2024-01-19T21:40:48Z", "updated_at": "2024-01-19T21:40:48Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_dcf8c9e3a01d4e08b25b5f88f39b0b1a", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_e14159fbc6684d88bbba290cebd97bdb", + "object": "Rate", "created_at": "2024-01-19T21:40:48Z", "updated_at": "2024-01-19T21:40:48Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_dcf8c9e3a01d4e08b25b5f88f39b0b1a", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_00cd9ffabed94a20a0112ffb19bfbbe2", + "object": "Rate", "created_at": "2024-01-19T21:40:48Z", "updated_at": "2024-01-19T21:40:48Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_dcf8c9e3a01d4e08b25b5f88f39b0b1a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_332d0a9355db4590bb0c596692ff48fa", "object": "Rate", "created_at": + "2024-01-19T21:40:48Z", "updated_at": "2024-01-19T21:40:48Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_dcf8c9e3a01d4e08b25b5f88f39b0b1a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_a16bc33d77bc434ab559383ea26c8016", "object": "Rate", "created_at": + "2024-01-19T21:40:48Z", "updated_at": "2024-01-19T21:40:48Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_dcf8c9e3a01d4e08b25b5f88f39b0b1a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_68550af9b71311ee92b93cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:40:47+00:00", "updated_at": "2024-01-19T21:40:47+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_6857ed0cb71311ee92ba3cecef1b359e", "object": "Address", "created_at": + "2024-01-19T21:40:47+00:00", "updated_at": "2024-01-19T21:40:47+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_68550af9b71311ee92b93cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:40:47+00:00", "updated_at": + "2024-01-19T21:40:47+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_dcf8c9e3a01d4e08b25b5f88f39b0b1a", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_dcf8c9e3a01d4e08b25b5f88f39b0b1a + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaec5fe78b9b89000cd323 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.899614' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"rate": {"id": "rate_e14159fbc6684d88bbba290cebd97bdb"}, "end_shipper_id": + "es_c1c717f7dbff4a188c92dfab2dcb67ad"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '114' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments/shp_dcf8c9e3a01d4e08b25b5f88f39b0b1a/buy + response: + body: + string: '{"created_at": "2024-01-19T21:40:47Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9434600207552010707589", "updated_at": "2024-01-19T21:40:49Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_f5ae2b124dfa422bbce11d7dd7766749", "object": "CustomsInfo", "created_at": + "2024-01-19T21:40:47Z", "updated_at": "2024-01-19T21:40:47Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_e38f63f10ba845b2affb9b83f6bd5fae", + "object": "CustomsItem", "created_at": "2024-01-19T21:40:47Z", "updated_at": + "2024-01-19T21:40:47Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_6857ed0cb71311ee92ba3cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:40:47+00:00", "updated_at": + "2024-01-19T21:40:47+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_37698469493d42fc9414475e42e06cf4", + "object": "Parcel", "created_at": "2024-01-19T21:40:47Z", "updated_at": "2024-01-19T21:40:47Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_18386a07b4bc4c27b181b0be7f8fa6b6", "created_at": "2024-01-19T21:40:49Z", + "updated_at": "2024-01-19T21:40:49Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:40:49Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8e1ee4970791240f99f95534289623efe.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_5257dd59081340f9b832d5e6109d5784", "object": + "Rate", "created_at": "2024-01-19T21:40:48Z", "updated_at": "2024-01-19T21:40:48Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_dcf8c9e3a01d4e08b25b5f88f39b0b1a", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_e14159fbc6684d88bbba290cebd97bdb", + "object": "Rate", "created_at": "2024-01-19T21:40:48Z", "updated_at": "2024-01-19T21:40:48Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_dcf8c9e3a01d4e08b25b5f88f39b0b1a", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_00cd9ffabed94a20a0112ffb19bfbbe2", + "object": "Rate", "created_at": "2024-01-19T21:40:48Z", "updated_at": "2024-01-19T21:40:48Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_dcf8c9e3a01d4e08b25b5f88f39b0b1a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_332d0a9355db4590bb0c596692ff48fa", "object": "Rate", "created_at": + "2024-01-19T21:40:48Z", "updated_at": "2024-01-19T21:40:48Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_dcf8c9e3a01d4e08b25b5f88f39b0b1a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_a16bc33d77bc434ab559383ea26c8016", "object": "Rate", "created_at": + "2024-01-19T21:40:48Z", "updated_at": "2024-01-19T21:40:48Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_dcf8c9e3a01d4e08b25b5f88f39b0b1a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_e14159fbc6684d88bbba290cebd97bdb", + "object": "Rate", "created_at": "2024-01-19T21:40:49Z", "updated_at": "2024-01-19T21:40:49Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_dcf8c9e3a01d4e08b25b5f88f39b0b1a", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_83f8ab2e8b7249898ca784087db0f055", + "object": "Tracker", "mode": "test", "tracking_code": "9434600207552010707589", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:40:49Z", + "updated_at": "2024-01-19T21:40:49Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_dcf8c9e3a01d4e08b25b5f88f39b0b1a", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzgzZjhhYjJlOGI3MjQ5ODk4Y2E3ODQwODdkYjBmMDU1"}, + "to_address": {"id": "adr_68550af9b71311ee92b93cecef1b359e", "object": "Address", + "created_at": "2024-01-19T21:40:47+00:00", "updated_at": "2024-01-19T21:40:49+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_6857ed0cb71311ee92ba3cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:40:47+00:00", "updated_at": + "2024-01-19T21:40:47+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_68550af9b71311ee92b93cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:40:47+00:00", "updated_at": "2024-01-19T21:40:49+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "6.79000", "charged": true, "refunded": false}], "id": "shp_dcf8c9e3a01d4e08b25b5f88f39b0b1a", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '9345' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaec60e78b9b8a000cd3db + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.855571' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": + "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", + "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": + "FOO@EXAMPLE.COM"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '252' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/end_shippers + response: + body: + string: '{"id": "es_5532332e68d64a4692505cbb1555558d", "object": "EndShipper", + "mode": "test", "created_at": "2024-01-19T21:43:16+00:00", "updated_at": "2024-01-19T21:43:16+00:00", + "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", + "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '362' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaecf4e78ba3ac000d3083 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.076619' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '885' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:43:16Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T21:43:17Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_bc9fae79c14c4c15b21d13d2935aa3b7", + "object": "CustomsInfo", "created_at": "2024-01-19T21:43:16Z", "updated_at": + "2024-01-19T21:43:16Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_cf9c3048ade54aec85c2c01cf5ac6d2c", "object": "CustomsItem", + "created_at": "2024-01-19T21:43:16Z", "updated_at": "2024-01-19T21:43:16Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_c101bd48b71311eeb518ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:43:16+00:00", "updated_at": "2024-01-19T21:43:16+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_fd9c8cf6b2ca4f539869fa0ddaca8212", "object": "Parcel", "created_at": + "2024-01-19T21:43:16Z", "updated_at": "2024-01-19T21:43:16Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_ea10f012141b43a992f0d1d978f2300c", + "object": "Rate", "created_at": "2024-01-19T21:43:17Z", "updated_at": "2024-01-19T21:43:17Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_507ef82c948d42a9961e60e95af0103a", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_2718e84285394378b0b2ce47bc200247", + "object": "Rate", "created_at": "2024-01-19T21:43:17Z", "updated_at": "2024-01-19T21:43:17Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_507ef82c948d42a9961e60e95af0103a", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b63aa29d31ac4f268c05e3e779c5e9ec", + "object": "Rate", "created_at": "2024-01-19T21:43:17Z", "updated_at": "2024-01-19T21:43:17Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_507ef82c948d42a9961e60e95af0103a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_97dc30fd69444106894a63244b8ca247", "object": "Rate", "created_at": + "2024-01-19T21:43:17Z", "updated_at": "2024-01-19T21:43:17Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_507ef82c948d42a9961e60e95af0103a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_05bd761c23e2439c9114aec4ef6dd7d1", "object": "Rate", "created_at": + "2024-01-19T21:43:17Z", "updated_at": "2024-01-19T21:43:17Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_507ef82c948d42a9961e60e95af0103a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_c0ff9890b71311eeb516ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:43:16+00:00", "updated_at": "2024-01-19T21:43:16+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_c101bd48b71311eeb518ac1f6bc539ae", "object": "Address", "created_at": + "2024-01-19T21:43:16+00:00", "updated_at": "2024-01-19T21:43:16+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_c0ff9890b71311eeb516ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:43:16+00:00", "updated_at": + "2024-01-19T21:43:16+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_507ef82c948d42a9961e60e95af0103a", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_507ef82c948d42a9961e60e95af0103a + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaecf4e78ba3ad000d30b5 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.724965' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"rate": {"id": "rate_2718e84285394378b0b2ce47bc200247"}, "end_shipper_id": + "es_5532332e68d64a4692505cbb1555558d"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '114' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments/shp_507ef82c948d42a9961e60e95af0103a/buy + response: + body: + string: '{"created_at": "2024-01-19T21:43:16Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9434600207552010707961", "updated_at": "2024-01-19T21:43:18Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_bc9fae79c14c4c15b21d13d2935aa3b7", "object": "CustomsInfo", "created_at": + "2024-01-19T21:43:16Z", "updated_at": "2024-01-19T21:43:16Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_cf9c3048ade54aec85c2c01cf5ac6d2c", + "object": "CustomsItem", "created_at": "2024-01-19T21:43:16Z", "updated_at": + "2024-01-19T21:43:16Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_c101bd48b71311eeb518ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:43:16+00:00", "updated_at": + "2024-01-19T21:43:16+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_fd9c8cf6b2ca4f539869fa0ddaca8212", + "object": "Parcel", "created_at": "2024-01-19T21:43:16Z", "updated_at": "2024-01-19T21:43:16Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_f4ed506dc44f48ffaec8139e2e973880", "created_at": "2024-01-19T21:43:17Z", + "updated_at": "2024-01-19T21:43:18Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:43:17Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8a76169aa84f443709076cb845152e2ae.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_ea10f012141b43a992f0d1d978f2300c", "object": + "Rate", "created_at": "2024-01-19T21:43:17Z", "updated_at": "2024-01-19T21:43:17Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_507ef82c948d42a9961e60e95af0103a", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_2718e84285394378b0b2ce47bc200247", + "object": "Rate", "created_at": "2024-01-19T21:43:17Z", "updated_at": "2024-01-19T21:43:17Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_507ef82c948d42a9961e60e95af0103a", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b63aa29d31ac4f268c05e3e779c5e9ec", + "object": "Rate", "created_at": "2024-01-19T21:43:17Z", "updated_at": "2024-01-19T21:43:17Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_507ef82c948d42a9961e60e95af0103a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_97dc30fd69444106894a63244b8ca247", "object": "Rate", "created_at": + "2024-01-19T21:43:17Z", "updated_at": "2024-01-19T21:43:17Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_507ef82c948d42a9961e60e95af0103a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_05bd761c23e2439c9114aec4ef6dd7d1", "object": "Rate", "created_at": + "2024-01-19T21:43:17Z", "updated_at": "2024-01-19T21:43:17Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_507ef82c948d42a9961e60e95af0103a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_2718e84285394378b0b2ce47bc200247", + "object": "Rate", "created_at": "2024-01-19T21:43:17Z", "updated_at": "2024-01-19T21:43:17Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_507ef82c948d42a9961e60e95af0103a", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_85776d98925a4f74bc4f95ce04180f9e", + "object": "Tracker", "mode": "test", "tracking_code": "9434600207552010707961", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:43:18Z", + "updated_at": "2024-01-19T21:43:18Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_507ef82c948d42a9961e60e95af0103a", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzg1Nzc2ZDk4OTI1YTRmNzRiYzRmOTVjZTA0MTgwZjll"}, + "to_address": {"id": "adr_c0ff9890b71311eeb516ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:43:16+00:00", "updated_at": "2024-01-19T21:43:17+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_c101bd48b71311eeb518ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:43:16+00:00", "updated_at": + "2024-01-19T21:43:16+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_c0ff9890b71311eeb516ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:43:16+00:00", "updated_at": "2024-01-19T21:43:17+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "6.79000", "charged": true, "refunded": false}], "id": "shp_507ef82c948d42a9961e60e95af0103a", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '9345' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaecf5e78ba3c5000d315c + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.791192' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": + "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", + "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": + "FOO@EXAMPLE.COM"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '252' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/end_shippers + response: + body: + string: '{"id": "es_173247690d7a47b397c26714ecff99b2", "object": "EndShipper", + "mode": "test", "created_at": "2024-01-19T21:47:06+00:00", "updated_at": "2024-01-19T21:47:06+00:00", + "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", + "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '362' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda865aaeddae78bac4d0011255e + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.050834' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '885' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:47:06Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T21:47:07Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_bd44a99e72694ceaa8b7479f73e68096", + "object": "CustomsInfo", "created_at": "2024-01-19T21:47:06Z", "updated_at": + "2024-01-19T21:47:06Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_592053f8edae4fa398927151fc0354d2", "object": "CustomsItem", + "created_at": "2024-01-19T21:47:06Z", "updated_at": "2024-01-19T21:47:06Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_4a543999b71411eea17eac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:47:06+00:00", "updated_at": "2024-01-19T21:47:06+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_de7af7ff1ce641bb85cdda207b10df5f", "object": "Parcel", "created_at": + "2024-01-19T21:47:06Z", "updated_at": "2024-01-19T21:47:06Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_0c6ea1843003441c91170e2af7e7de0d", + "object": "Rate", "created_at": "2024-01-19T21:47:07Z", "updated_at": "2024-01-19T21:47:07Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_13284ca6f7934809a57f6eb49df3c448", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_462abd52446542c1b773da7372543def", + "object": "Rate", "created_at": "2024-01-19T21:47:07Z", "updated_at": "2024-01-19T21:47:07Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_13284ca6f7934809a57f6eb49df3c448", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_89c2a7a1b5854379840289e7095e336e", + "object": "Rate", "created_at": "2024-01-19T21:47:07Z", "updated_at": "2024-01-19T21:47:07Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_13284ca6f7934809a57f6eb49df3c448", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_fecf4443662e466baf6e1e2679e13997", + "object": "Rate", "created_at": "2024-01-19T21:47:07Z", "updated_at": "2024-01-19T21:47:07Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_13284ca6f7934809a57f6eb49df3c448", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_26ebf9dbf262441f8721a67f5323dcd5", "object": "Rate", "created_at": + "2024-01-19T21:47:07Z", "updated_at": "2024-01-19T21:47:07Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_13284ca6f7934809a57f6eb49df3c448", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_4a516f04b71411eea263ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:47:06+00:00", "updated_at": "2024-01-19T21:47:06+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_4a543999b71411eea17eac1f6bc53342", "object": "Address", "created_at": + "2024-01-19T21:47:06+00:00", "updated_at": "2024-01-19T21:47:06+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_4a516f04b71411eea263ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:47:06+00:00", "updated_at": + "2024-01-19T21:47:06+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_13284ca6f7934809a57f6eb49df3c448", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_13284ca6f7934809a57f6eb49df3c448 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda865aaeddae78bac4e0011258f + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.761277' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"rate": {"id": "rate_89c2a7a1b5854379840289e7095e336e"}, "end_shipper_id": + "es_173247690d7a47b397c26714ecff99b2"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '114' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments/shp_13284ca6f7934809a57f6eb49df3c448/buy + response: + body: + string: '{"created_at": "2024-01-19T21:47:06Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9434600207552010708371", "updated_at": "2024-01-19T21:47:08Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_bd44a99e72694ceaa8b7479f73e68096", "object": "CustomsInfo", "created_at": + "2024-01-19T21:47:06Z", "updated_at": "2024-01-19T21:47:06Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_592053f8edae4fa398927151fc0354d2", + "object": "CustomsItem", "created_at": "2024-01-19T21:47:06Z", "updated_at": + "2024-01-19T21:47:06Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_4a543999b71411eea17eac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:47:06+00:00", "updated_at": + "2024-01-19T21:47:06+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_de7af7ff1ce641bb85cdda207b10df5f", + "object": "Parcel", "created_at": "2024-01-19T21:47:06Z", "updated_at": "2024-01-19T21:47:06Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_248f690964ee41499b7f76bd1fe4333d", "created_at": "2024-01-19T21:47:08Z", + "updated_at": "2024-01-19T21:47:08Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:47:08Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8b0ca15ef9f34487494390c9097a970ec.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_0c6ea1843003441c91170e2af7e7de0d", "object": + "Rate", "created_at": "2024-01-19T21:47:07Z", "updated_at": "2024-01-19T21:47:07Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_13284ca6f7934809a57f6eb49df3c448", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_462abd52446542c1b773da7372543def", + "object": "Rate", "created_at": "2024-01-19T21:47:07Z", "updated_at": "2024-01-19T21:47:07Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_13284ca6f7934809a57f6eb49df3c448", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_89c2a7a1b5854379840289e7095e336e", + "object": "Rate", "created_at": "2024-01-19T21:47:07Z", "updated_at": "2024-01-19T21:47:07Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_13284ca6f7934809a57f6eb49df3c448", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_fecf4443662e466baf6e1e2679e13997", + "object": "Rate", "created_at": "2024-01-19T21:47:07Z", "updated_at": "2024-01-19T21:47:07Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_13284ca6f7934809a57f6eb49df3c448", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_26ebf9dbf262441f8721a67f5323dcd5", "object": "Rate", "created_at": + "2024-01-19T21:47:07Z", "updated_at": "2024-01-19T21:47:07Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_13284ca6f7934809a57f6eb49df3c448", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_89c2a7a1b5854379840289e7095e336e", + "object": "Rate", "created_at": "2024-01-19T21:47:08Z", "updated_at": "2024-01-19T21:47:08Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_13284ca6f7934809a57f6eb49df3c448", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_c94a1eb8a8de4a2bb864c39d3ed11abe", + "object": "Tracker", "mode": "test", "tracking_code": "9434600207552010708371", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:47:08Z", + "updated_at": "2024-01-19T21:47:08Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_13284ca6f7934809a57f6eb49df3c448", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrX2M5NGExZWI4YThkZTRhMmJiODY0YzM5ZDNlZDExYWJl"}, + "to_address": {"id": "adr_4a516f04b71411eea263ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:47:06+00:00", "updated_at": "2024-01-19T21:47:08+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_4a543999b71411eea17eac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:47:06+00:00", "updated_at": + "2024-01-19T21:47:06+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_4a516f04b71411eea263ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:47:06+00:00", "updated_at": "2024-01-19T21:47:08+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "6.79000", "charged": true, "refunded": false}], "id": "shp_13284ca6f7934809a57f6eb49df3c448", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '9345' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda965aaeddbe78bac4f0011263e + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.944668' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": + "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", + "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": + "FOO@EXAMPLE.COM"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '252' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/end_shippers + response: + body: + string: '{"id": "es_ce8a41a2dda24013a7ad6e753fec38ce", "object": "EndShipper", + "mode": "test", "created_at": "2024-01-19T21:48:58+00:00", "updated_at": "2024-01-19T21:48:58+00:00", + "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", + "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '362' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda865aaee4ae78bb4870011689b + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.048417' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '885' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:48:58Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T21:48:59Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_529515260f144ea1a210fee543520029", + "object": "CustomsInfo", "created_at": "2024-01-19T21:48:58Z", "updated_at": + "2024-01-19T21:48:58Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_e9238ea49dc04498a6927f4f4bc7455c", "object": "CustomsItem", + "created_at": "2024-01-19T21:48:58Z", "updated_at": "2024-01-19T21:48:58Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_8d04b225b71411eeb3bb3cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:48:58+00:00", "updated_at": "2024-01-19T21:48:58+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_196c387b262f4e719b6fea3419443823", "object": "Parcel", "created_at": + "2024-01-19T21:48:58Z", "updated_at": "2024-01-19T21:48:58Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_8c7b5e06a3c042adabc7d39096e72366", + "object": "Rate", "created_at": "2024-01-19T21:48:59Z", "updated_at": "2024-01-19T21:48:59Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_328894b421344482a82c8ad0b66db729", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_e06741bf2cf8490f82dd69cc78f40d0a", + "object": "Rate", "created_at": "2024-01-19T21:48:59Z", "updated_at": "2024-01-19T21:48:59Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_328894b421344482a82c8ad0b66db729", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_ace854d92071406bb449779fd530d8c3", + "object": "Rate", "created_at": "2024-01-19T21:48:59Z", "updated_at": "2024-01-19T21:48:59Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_328894b421344482a82c8ad0b66db729", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_2937f806321042718de085187e67de80", + "object": "Rate", "created_at": "2024-01-19T21:48:59Z", "updated_at": "2024-01-19T21:48:59Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_328894b421344482a82c8ad0b66db729", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_1d75de43e36e4c58bfb785b3b3e157f1", "object": "Rate", "created_at": + "2024-01-19T21:48:59Z", "updated_at": "2024-01-19T21:48:59Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_328894b421344482a82c8ad0b66db729", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_8d020871b71411ee8545ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:48:58+00:00", "updated_at": "2024-01-19T21:48:58+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_8d04b225b71411eeb3bb3cecef1b359e", "object": "Address", "created_at": + "2024-01-19T21:48:58+00:00", "updated_at": "2024-01-19T21:48:58+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_8d020871b71411ee8545ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:48:58+00:00", "updated_at": + "2024-01-19T21:48:58+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_328894b421344482a82c8ad0b66db729", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_328894b421344482a82c8ad0b66db729 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda765aaee4ae78bb488001168c4 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.854149' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"rate": {"id": "rate_ace854d92071406bb449779fd530d8c3"}, "end_shipper_id": + "es_ce8a41a2dda24013a7ad6e753fec38ce"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '114' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments/shp_328894b421344482a82c8ad0b66db729/buy + response: + body: + string: '{"created_at": "2024-01-19T21:48:58Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9434600207552010708845", "updated_at": "2024-01-19T21:49:00Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_529515260f144ea1a210fee543520029", "object": "CustomsInfo", "created_at": + "2024-01-19T21:48:58Z", "updated_at": "2024-01-19T21:48:58Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_e9238ea49dc04498a6927f4f4bc7455c", + "object": "CustomsItem", "created_at": "2024-01-19T21:48:58Z", "updated_at": + "2024-01-19T21:48:58Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_8d04b225b71411eeb3bb3cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:48:58+00:00", "updated_at": + "2024-01-19T21:48:58+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_196c387b262f4e719b6fea3419443823", + "object": "Parcel", "created_at": "2024-01-19T21:48:58Z", "updated_at": "2024-01-19T21:48:58Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_f0f705de5e4047308aae2052bbaa5f52", "created_at": "2024-01-19T21:49:00Z", + "updated_at": "2024-01-19T21:49:00Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:49:00Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8ffe9ec350a8a48e782817c4cd9f85c08.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_8c7b5e06a3c042adabc7d39096e72366", "object": + "Rate", "created_at": "2024-01-19T21:48:59Z", "updated_at": "2024-01-19T21:48:59Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_328894b421344482a82c8ad0b66db729", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_e06741bf2cf8490f82dd69cc78f40d0a", + "object": "Rate", "created_at": "2024-01-19T21:48:59Z", "updated_at": "2024-01-19T21:48:59Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_328894b421344482a82c8ad0b66db729", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_ace854d92071406bb449779fd530d8c3", + "object": "Rate", "created_at": "2024-01-19T21:48:59Z", "updated_at": "2024-01-19T21:48:59Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_328894b421344482a82c8ad0b66db729", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_2937f806321042718de085187e67de80", + "object": "Rate", "created_at": "2024-01-19T21:48:59Z", "updated_at": "2024-01-19T21:48:59Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_328894b421344482a82c8ad0b66db729", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_1d75de43e36e4c58bfb785b3b3e157f1", "object": "Rate", "created_at": + "2024-01-19T21:48:59Z", "updated_at": "2024-01-19T21:48:59Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_328894b421344482a82c8ad0b66db729", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_ace854d92071406bb449779fd530d8c3", + "object": "Rate", "created_at": "2024-01-19T21:49:00Z", "updated_at": "2024-01-19T21:49:00Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_328894b421344482a82c8ad0b66db729", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_5e6dd189cd114032a8fc24dd3db2466a", + "object": "Tracker", "mode": "test", "tracking_code": "9434600207552010708845", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:49:00Z", + "updated_at": "2024-01-19T21:49:00Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_328894b421344482a82c8ad0b66db729", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzVlNmRkMTg5Y2QxMTQwMzJhOGZjMjRkZDNkYjI0NjZh"}, + "to_address": {"id": "adr_8d020871b71411ee8545ac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T21:48:58+00:00", "updated_at": "2024-01-19T21:48:59+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_8d04b225b71411eeb3bb3cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:48:58+00:00", "updated_at": + "2024-01-19T21:48:58+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_8d020871b71411ee8545ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:48:58+00:00", "updated_at": "2024-01-19T21:48:59+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "6.79000", "charged": true, "refunded": false}], "id": "shp_328894b421344482a82c8ad0b66db729", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '9345' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdaa65aaee4be78bb48900116972 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.809537' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": + "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", + "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": + "FOO@EXAMPLE.COM"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '252' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/end_shippers + response: + body: + string: '{"id": "es_02390ad699ce4b5cbcc23ff9ec117e36", "object": "EndShipper", + "mode": "test", "created_at": "2024-01-19T21:58:19+00:00", "updated_at": "2024-01-19T21:58:19+00:00", + "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", + "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '362' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf07be798bc03000f6e57 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.073732' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '885' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:58:20Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T21:58:20Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_3e301196859942bc93104da786dd1e09", + "object": "CustomsInfo", "created_at": "2024-01-19T21:58:20Z", "updated_at": + "2024-01-19T21:58:20Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_f52a01d2832a40b8b71b41a358139936", "object": "CustomsItem", + "created_at": "2024-01-19T21:58:20Z", "updated_at": "2024-01-19T21:58:20Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_db813df5b71511eea5adac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:58:19+00:00", "updated_at": "2024-01-19T21:58:19+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_bc8c75b97e694c218d0cb9751afc40ed", "object": "Parcel", "created_at": + "2024-01-19T21:58:20Z", "updated_at": "2024-01-19T21:58:20Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_224e306ca72a4bf2bf780f4818fe947f", + "object": "Rate", "created_at": "2024-01-19T21:58:20Z", "updated_at": "2024-01-19T21:58:20Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_e600bdcd679b426a9924e4660d9da442", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_da508487e3464336af429c8e03f25fbe", + "object": "Rate", "created_at": "2024-01-19T21:58:20Z", "updated_at": "2024-01-19T21:58:20Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_e600bdcd679b426a9924e4660d9da442", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f9cb0482cc6642f4ac06eed7f03f9478", + "object": "Rate", "created_at": "2024-01-19T21:58:20Z", "updated_at": "2024-01-19T21:58:20Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_e600bdcd679b426a9924e4660d9da442", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_cdaf3041dcf74240b6c7a0c606dc5c37", + "object": "Rate", "created_at": "2024-01-19T21:58:20Z", "updated_at": "2024-01-19T21:58:20Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_e600bdcd679b426a9924e4660d9da442", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_41e9a45c1c774b288d93787c96053f86", "object": "Rate", "created_at": + "2024-01-19T21:58:20Z", "updated_at": "2024-01-19T21:58:20Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_e600bdcd679b426a9924e4660d9da442", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_db7ee84ab71511eeb669ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:58:19+00:00", "updated_at": "2024-01-19T21:58:19+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_db813df5b71511eea5adac1f6bc53342", "object": "Address", "created_at": + "2024-01-19T21:58:19+00:00", "updated_at": "2024-01-19T21:58:19+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_db7ee84ab71511eeb669ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:58:19+00:00", "updated_at": + "2024-01-19T21:58:19+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_e600bdcd679b426a9924e4660d9da442", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_e600bdcd679b426a9924e4660d9da442 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf07be798bc1b000f6ea1 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.773214' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"rate": {"id": "rate_f9cb0482cc6642f4ac06eed7f03f9478"}, "end_shipper_id": + "es_02390ad699ce4b5cbcc23ff9ec117e36"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '114' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments/shp_e600bdcd679b426a9924e4660d9da442/buy + response: + body: + string: '{"created_at": "2024-01-19T21:58:20Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9434600207552010711357", "updated_at": "2024-01-19T21:58:21Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_3e301196859942bc93104da786dd1e09", "object": "CustomsInfo", "created_at": + "2024-01-19T21:58:20Z", "updated_at": "2024-01-19T21:58:20Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_f52a01d2832a40b8b71b41a358139936", + "object": "CustomsItem", "created_at": "2024-01-19T21:58:20Z", "updated_at": + "2024-01-19T21:58:20Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_db813df5b71511eea5adac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:58:19+00:00", "updated_at": + "2024-01-19T21:58:19+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_bc8c75b97e694c218d0cb9751afc40ed", + "object": "Parcel", "created_at": "2024-01-19T21:58:20Z", "updated_at": "2024-01-19T21:58:20Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_c6a4957ef00148e5b5d59e1967741bdd", "created_at": "2024-01-19T21:58:21Z", + "updated_at": "2024-01-19T21:58:21Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:58:21Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e82c3f4b15e36a401388727169dcfbf5f4.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_224e306ca72a4bf2bf780f4818fe947f", "object": + "Rate", "created_at": "2024-01-19T21:58:20Z", "updated_at": "2024-01-19T21:58:20Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_e600bdcd679b426a9924e4660d9da442", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_da508487e3464336af429c8e03f25fbe", + "object": "Rate", "created_at": "2024-01-19T21:58:20Z", "updated_at": "2024-01-19T21:58:20Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_e600bdcd679b426a9924e4660d9da442", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f9cb0482cc6642f4ac06eed7f03f9478", + "object": "Rate", "created_at": "2024-01-19T21:58:20Z", "updated_at": "2024-01-19T21:58:20Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_e600bdcd679b426a9924e4660d9da442", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_cdaf3041dcf74240b6c7a0c606dc5c37", + "object": "Rate", "created_at": "2024-01-19T21:58:20Z", "updated_at": "2024-01-19T21:58:20Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_e600bdcd679b426a9924e4660d9da442", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_41e9a45c1c774b288d93787c96053f86", "object": "Rate", "created_at": + "2024-01-19T21:58:20Z", "updated_at": "2024-01-19T21:58:20Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_e600bdcd679b426a9924e4660d9da442", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_f9cb0482cc6642f4ac06eed7f03f9478", + "object": "Rate", "created_at": "2024-01-19T21:58:21Z", "updated_at": "2024-01-19T21:58:21Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_e600bdcd679b426a9924e4660d9da442", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_f043b748ce0348eab74b87dc6997d0b0", + "object": "Tracker", "mode": "test", "tracking_code": "9434600207552010711357", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:58:21Z", + "updated_at": "2024-01-19T21:58:21Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_e600bdcd679b426a9924e4660d9da442", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrX2YwNDNiNzQ4Y2UwMzQ4ZWFiNzRiODdkYzY5OTdkMGIw"}, + "to_address": {"id": "adr_db7ee84ab71511eeb669ac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T21:58:19+00:00", "updated_at": "2024-01-19T21:58:21+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_db813df5b71511eea5adac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:58:19+00:00", "updated_at": + "2024-01-19T21:58:19+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_db7ee84ab71511eeb669ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:58:19+00:00", "updated_at": "2024-01-19T21:58:21+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "6.79000", "charged": true, "refunded": false}], "id": "shp_e600bdcd679b426a9924e4660d9da442", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '9345' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf07ce798bc1c000f6f34 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.856116' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": + "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", + "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": + "FOO@EXAMPLE.COM"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '252' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/end_shippers + response: + body: + string: '{"id": "es_a6efaa8188884f16976e49bf924344a4", "object": "EndShipper", + "mode": "test", "created_at": "2024-01-19T22:01:13+00:00", "updated_at": "2024-01-19T22:01:13+00:00", + "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", + "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '362' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaf129e798c460000ff6e0 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.082105' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '885' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T22:01:14Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T22:01:14Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_a9f3ee5139cb45c68d868ac7cbf8b506", + "object": "CustomsInfo", "created_at": "2024-01-19T22:01:14Z", "updated_at": + "2024-01-19T22:01:14Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_3592579bf6d847cc8703714ef7cb538e", "object": "CustomsItem", + "created_at": "2024-01-19T22:01:14Z", "updated_at": "2024-01-19T22:01:14Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_434529cbb71611ee84a63cecef1b359e", "object": + "Address", "created_at": "2024-01-19T22:01:14+00:00", "updated_at": "2024-01-19T22:01:14+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_2b7d579b8fbc43beb3620058ca504d42", "object": "Parcel", "created_at": + "2024-01-19T22:01:14Z", "updated_at": "2024-01-19T22:01:14Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_2cd755ddfcbd4c2ea3e22ed05929d1ca", + "object": "Rate", "created_at": "2024-01-19T22:01:14Z", "updated_at": "2024-01-19T22:01:14Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_f861bb8363354b6c854d42dc66b5026f", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_363980f45b2a4456a94b3d51b86ba1e7", + "object": "Rate", "created_at": "2024-01-19T22:01:14Z", "updated_at": "2024-01-19T22:01:14Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_f861bb8363354b6c854d42dc66b5026f", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_a24275c267c74482b41c76029cb9f894", + "object": "Rate", "created_at": "2024-01-19T22:01:14Z", "updated_at": "2024-01-19T22:01:14Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_f861bb8363354b6c854d42dc66b5026f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_0a401290828c4b3e9f402ef44ac9b324", "object": "Rate", "created_at": + "2024-01-19T22:01:14Z", "updated_at": "2024-01-19T22:01:14Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_f861bb8363354b6c854d42dc66b5026f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_de63388da5c84545a2305f412a0b4daf", "object": "Rate", "created_at": + "2024-01-19T22:01:14Z", "updated_at": "2024-01-19T22:01:14Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_f861bb8363354b6c854d42dc66b5026f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_43434065b71611ee88acac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T22:01:14+00:00", "updated_at": "2024-01-19T22:01:14+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_434529cbb71611ee84a63cecef1b359e", "object": "Address", "created_at": + "2024-01-19T22:01:14+00:00", "updated_at": "2024-01-19T22:01:14+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_43434065b71611ee88acac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T22:01:14+00:00", "updated_at": + "2024-01-19T22:01:14+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_f861bb8363354b6c854d42dc66b5026f", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_f861bb8363354b6c854d42dc66b5026f + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaf12ae798c462000ff735 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.706289' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"rate": {"id": "rate_363980f45b2a4456a94b3d51b86ba1e7"}, "end_shipper_id": + "es_a6efaa8188884f16976e49bf924344a4"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '114' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments/shp_f861bb8363354b6c854d42dc66b5026f/buy + response: + body: + string: '{"created_at": "2024-01-19T22:01:14Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9434600207552010711791", "updated_at": "2024-01-19T22:01:15Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_a9f3ee5139cb45c68d868ac7cbf8b506", "object": "CustomsInfo", "created_at": + "2024-01-19T22:01:14Z", "updated_at": "2024-01-19T22:01:14Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_3592579bf6d847cc8703714ef7cb538e", + "object": "CustomsItem", "created_at": "2024-01-19T22:01:14Z", "updated_at": + "2024-01-19T22:01:14Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_434529cbb71611ee84a63cecef1b359e", + "object": "Address", "created_at": "2024-01-19T22:01:14+00:00", "updated_at": + "2024-01-19T22:01:14+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_2b7d579b8fbc43beb3620058ca504d42", + "object": "Parcel", "created_at": "2024-01-19T22:01:14Z", "updated_at": "2024-01-19T22:01:14Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_85c573cccf004426a55dfa226a14edf5", "created_at": "2024-01-19T22:01:15Z", + "updated_at": "2024-01-19T22:01:15Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T22:01:15Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8e81df5090d1547388d0020186f82ac18.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_2cd755ddfcbd4c2ea3e22ed05929d1ca", "object": + "Rate", "created_at": "2024-01-19T22:01:14Z", "updated_at": "2024-01-19T22:01:14Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_f861bb8363354b6c854d42dc66b5026f", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_363980f45b2a4456a94b3d51b86ba1e7", + "object": "Rate", "created_at": "2024-01-19T22:01:14Z", "updated_at": "2024-01-19T22:01:14Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_f861bb8363354b6c854d42dc66b5026f", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_a24275c267c74482b41c76029cb9f894", + "object": "Rate", "created_at": "2024-01-19T22:01:14Z", "updated_at": "2024-01-19T22:01:14Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_f861bb8363354b6c854d42dc66b5026f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_0a401290828c4b3e9f402ef44ac9b324", "object": "Rate", "created_at": + "2024-01-19T22:01:14Z", "updated_at": "2024-01-19T22:01:14Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_f861bb8363354b6c854d42dc66b5026f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_de63388da5c84545a2305f412a0b4daf", "object": "Rate", "created_at": + "2024-01-19T22:01:14Z", "updated_at": "2024-01-19T22:01:14Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_f861bb8363354b6c854d42dc66b5026f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_363980f45b2a4456a94b3d51b86ba1e7", + "object": "Rate", "created_at": "2024-01-19T22:01:15Z", "updated_at": "2024-01-19T22:01:15Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_f861bb8363354b6c854d42dc66b5026f", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_704697cf959e48158582a67855c89088", + "object": "Tracker", "mode": "test", "tracking_code": "9434600207552010711791", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:01:15Z", + "updated_at": "2024-01-19T22:01:15Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_f861bb8363354b6c854d42dc66b5026f", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzcwNDY5N2NmOTU5ZTQ4MTU4NTgyYTY3ODU1Yzg5MDg4"}, + "to_address": {"id": "adr_43434065b71611ee88acac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T22:01:14+00:00", "updated_at": "2024-01-19T22:01:15+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_434529cbb71611ee84a63cecef1b359e", + "object": "Address", "created_at": "2024-01-19T22:01:14+00:00", "updated_at": + "2024-01-19T22:01:14+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_43434065b71611ee88acac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T22:01:14+00:00", "updated_at": "2024-01-19T22:01:15+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "6.79000", "charged": true, "refunded": false}], "id": "shp_f861bb8363354b6c854d42dc66b5026f", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '9345' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf12ae798c463000ff827 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.873449' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": + "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", + "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": + "FOO@EXAMPLE.COM"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '252' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/end_shippers + response: + body: + string: '{"id": "es_2afeae8e7c5440d1b44df4dfd19a82c0", "object": "EndShipper", + "mode": "test", "created_at": "2024-01-19T22:05:00+00:00", "updated_at": "2024-01-19T22:05:00+00:00", + "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", + "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '362' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaf20ce798cd440010a785 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.048058' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '885' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T22:05:00Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T22:05:01Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_89c04686212245e98f4d38780612ff78", + "object": "CustomsInfo", "created_at": "2024-01-19T22:05:00Z", "updated_at": + "2024-01-19T22:05:00Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_4fe6f59bc5ac4611ba6731fb69fbed5f", "object": "CustomsItem", + "created_at": "2024-01-19T22:05:00Z", "updated_at": "2024-01-19T22:05:00Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_ca20bd53b71611ee81aaac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T22:05:00+00:00", "updated_at": "2024-01-19T22:05:00+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_d6c345478ca648b0ac53f19e2cc1a179", "object": "Parcel", "created_at": + "2024-01-19T22:05:00Z", "updated_at": "2024-01-19T22:05:00Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_4a70c22572c44179b77d5c710263cdd5", + "object": "Rate", "created_at": "2024-01-19T22:05:00Z", "updated_at": "2024-01-19T22:05:00Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_0a2e2fe81da9465a8238561c2a9aa1cc", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_09d784799db04caf84aaeedfe49077b7", + "object": "Rate", "created_at": "2024-01-19T22:05:00Z", "updated_at": "2024-01-19T22:05:00Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_0a2e2fe81da9465a8238561c2a9aa1cc", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_98cadf9a77d24aa68614ae5caa224885", + "object": "Rate", "created_at": "2024-01-19T22:05:00Z", "updated_at": "2024-01-19T22:05:00Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_0a2e2fe81da9465a8238561c2a9aa1cc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_f40a08963ce246ca98d79dcc831eee89", "object": "Rate", "created_at": + "2024-01-19T22:05:00Z", "updated_at": "2024-01-19T22:05:00Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_0a2e2fe81da9465a8238561c2a9aa1cc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_58f86265fe2d406a9e85702e94cb67d1", "object": "Rate", "created_at": + "2024-01-19T22:05:00Z", "updated_at": "2024-01-19T22:05:00Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_0a2e2fe81da9465a8238561c2a9aa1cc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_ca1e5973b71611eeafb23cecef1b359e", "object": + "Address", "created_at": "2024-01-19T22:05:00+00:00", "updated_at": "2024-01-19T22:05:00+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_ca20bd53b71611ee81aaac1f6bc539aa", "object": "Address", "created_at": + "2024-01-19T22:05:00+00:00", "updated_at": "2024-01-19T22:05:00+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_ca1e5973b71611eeafb23cecef1b359e", + "object": "Address", "created_at": "2024-01-19T22:05:00+00:00", "updated_at": + "2024-01-19T22:05:00+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_0a2e2fe81da9465a8238561c2a9aa1cc", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_0a2e2fe81da9465a8238561c2a9aa1cc + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf20ce798cd450010a7b2 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.740702' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"rate": {"id": "rate_09d784799db04caf84aaeedfe49077b7"}, "end_shipper_id": + "es_2afeae8e7c5440d1b44df4dfd19a82c0"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '114' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments/shp_0a2e2fe81da9465a8238561c2a9aa1cc/buy + response: + body: + string: '{"created_at": "2024-01-19T22:05:00Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9434600207552010712521", "updated_at": "2024-01-19T22:05:01Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_89c04686212245e98f4d38780612ff78", "object": "CustomsInfo", "created_at": + "2024-01-19T22:05:00Z", "updated_at": "2024-01-19T22:05:00Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_4fe6f59bc5ac4611ba6731fb69fbed5f", + "object": "CustomsItem", "created_at": "2024-01-19T22:05:00Z", "updated_at": + "2024-01-19T22:05:00Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_ca20bd53b71611ee81aaac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T22:05:00+00:00", "updated_at": + "2024-01-19T22:05:00+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_d6c345478ca648b0ac53f19e2cc1a179", + "object": "Parcel", "created_at": "2024-01-19T22:05:00Z", "updated_at": "2024-01-19T22:05:00Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_42ea1a9a1ae946288a292c22a169ef94", "created_at": "2024-01-19T22:05:01Z", + "updated_at": "2024-01-19T22:05:01Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T22:05:01Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e85bebd23d0b684abda5207d4362605d68.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_4a70c22572c44179b77d5c710263cdd5", "object": + "Rate", "created_at": "2024-01-19T22:05:00Z", "updated_at": "2024-01-19T22:05:00Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_0a2e2fe81da9465a8238561c2a9aa1cc", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_09d784799db04caf84aaeedfe49077b7", + "object": "Rate", "created_at": "2024-01-19T22:05:00Z", "updated_at": "2024-01-19T22:05:00Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_0a2e2fe81da9465a8238561c2a9aa1cc", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_98cadf9a77d24aa68614ae5caa224885", + "object": "Rate", "created_at": "2024-01-19T22:05:00Z", "updated_at": "2024-01-19T22:05:00Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_0a2e2fe81da9465a8238561c2a9aa1cc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_f40a08963ce246ca98d79dcc831eee89", "object": "Rate", "created_at": + "2024-01-19T22:05:00Z", "updated_at": "2024-01-19T22:05:00Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_0a2e2fe81da9465a8238561c2a9aa1cc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_58f86265fe2d406a9e85702e94cb67d1", "object": "Rate", "created_at": + "2024-01-19T22:05:00Z", "updated_at": "2024-01-19T22:05:00Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_0a2e2fe81da9465a8238561c2a9aa1cc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_09d784799db04caf84aaeedfe49077b7", + "object": "Rate", "created_at": "2024-01-19T22:05:01Z", "updated_at": "2024-01-19T22:05:01Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_0a2e2fe81da9465a8238561c2a9aa1cc", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_9a409c420bea415e81644b4c06e10bb2", + "object": "Tracker", "mode": "test", "tracking_code": "9434600207552010712521", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:05:02Z", + "updated_at": "2024-01-19T22:05:02Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_0a2e2fe81da9465a8238561c2a9aa1cc", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzlhNDA5YzQyMGJlYTQxNWU4MTY0NGI0YzA2ZTEwYmIy"}, + "to_address": {"id": "adr_ca1e5973b71611eeafb23cecef1b359e", "object": "Address", + "created_at": "2024-01-19T22:05:00+00:00", "updated_at": "2024-01-19T22:05:01+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_ca20bd53b71611ee81aaac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T22:05:00+00:00", "updated_at": + "2024-01-19T22:05:00+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_ca1e5973b71611eeafb23cecef1b359e", "object": + "Address", "created_at": "2024-01-19T22:05:00+00:00", "updated_at": "2024-01-19T22:05:01+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "6.79000", "charged": true, "refunded": false}], "id": "shp_0a2e2fe81da9465a8238561c2a9aa1cc", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '9345' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf20de798cd470010a844 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.790396' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": + "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", + "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": + "FOO@EXAMPLE.COM"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '252' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/end_shippers + response: + body: + string: '{"id": "es_0a9c31c5de4b4b66bf767f02e49fbac7", "object": "EndShipper", + "mode": "test", "created_at": "2024-01-19T22:06:33+00:00", "updated_at": "2024-01-19T22:06:33+00:00", + "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", + "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '362' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaf269e798d5010010e703 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.056090' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '885' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T22:06:33Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T22:06:34Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_e475057d671549c09a727cf05763d2f8", + "object": "CustomsInfo", "created_at": "2024-01-19T22:06:33Z", "updated_at": + "2024-01-19T22:06:33Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_84b8fb02274d48d69dfc1a9339750c94", "object": "CustomsItem", + "created_at": "2024-01-19T22:06:33Z", "updated_at": "2024-01-19T22:06:33Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_01a465a2b71711ee94f3ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T22:06:33+00:00", "updated_at": "2024-01-19T22:06:33+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_28a4e5af1c1547cca7cb7fb21dd7ce77", "object": "Parcel", "created_at": + "2024-01-19T22:06:33Z", "updated_at": "2024-01-19T22:06:33Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_e69e3f033e2d48a3b50151929e000ac1", + "object": "Rate", "created_at": "2024-01-19T22:06:34Z", "updated_at": "2024-01-19T22:06:34Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_37793f6a36b84656b66685b8083842da", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c1a3428768bf4a1fa0e17ba355339aa5", + "object": "Rate", "created_at": "2024-01-19T22:06:34Z", "updated_at": "2024-01-19T22:06:34Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_37793f6a36b84656b66685b8083842da", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_98427d44b39d4a518e565860d32fb4fa", + "object": "Rate", "created_at": "2024-01-19T22:06:34Z", "updated_at": "2024-01-19T22:06:34Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_37793f6a36b84656b66685b8083842da", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_81893bd833164250bd453b8b87cc2228", + "object": "Rate", "created_at": "2024-01-19T22:06:34Z", "updated_at": "2024-01-19T22:06:34Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_37793f6a36b84656b66685b8083842da", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_8262adea651944b086550b6d8479e3a5", "object": "Rate", "created_at": + "2024-01-19T22:06:34Z", "updated_at": "2024-01-19T22:06:34Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_37793f6a36b84656b66685b8083842da", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_01a1c151b71711ee94f1ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T22:06:33+00:00", "updated_at": "2024-01-19T22:06:33+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_01a465a2b71711ee94f3ac1f6bc539aa", "object": "Address", "created_at": + "2024-01-19T22:06:33+00:00", "updated_at": "2024-01-19T22:06:33+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_01a1c151b71711ee94f1ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T22:06:33+00:00", "updated_at": + "2024-01-19T22:06:33+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_37793f6a36b84656b66685b8083842da", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_37793f6a36b84656b66685b8083842da + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf269e798d5020010e729 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.762176' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"rate": {"id": "rate_98427d44b39d4a518e565860d32fb4fa"}, "end_shipper_id": + "es_0a9c31c5de4b4b66bf767f02e49fbac7"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '114' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments/shp_37793f6a36b84656b66685b8083842da/buy + response: + body: + string: '{"created_at": "2024-01-19T22:06:33Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9434600207552010713108", "updated_at": "2024-01-19T22:06:35Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_e475057d671549c09a727cf05763d2f8", "object": "CustomsInfo", "created_at": + "2024-01-19T22:06:33Z", "updated_at": "2024-01-19T22:06:33Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_84b8fb02274d48d69dfc1a9339750c94", + "object": "CustomsItem", "created_at": "2024-01-19T22:06:33Z", "updated_at": + "2024-01-19T22:06:33Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_01a465a2b71711ee94f3ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T22:06:33+00:00", "updated_at": + "2024-01-19T22:06:33+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_28a4e5af1c1547cca7cb7fb21dd7ce77", + "object": "Parcel", "created_at": "2024-01-19T22:06:33Z", "updated_at": "2024-01-19T22:06:33Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_df924f7b27944f28975d06b13cac3ca2", "created_at": "2024-01-19T22:06:34Z", + "updated_at": "2024-01-19T22:06:34Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T22:06:34Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8a47e8a2dd4e34a4eb0ad077218e0ae2d.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_e69e3f033e2d48a3b50151929e000ac1", "object": + "Rate", "created_at": "2024-01-19T22:06:34Z", "updated_at": "2024-01-19T22:06:34Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_37793f6a36b84656b66685b8083842da", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c1a3428768bf4a1fa0e17ba355339aa5", + "object": "Rate", "created_at": "2024-01-19T22:06:34Z", "updated_at": "2024-01-19T22:06:34Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_37793f6a36b84656b66685b8083842da", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_98427d44b39d4a518e565860d32fb4fa", + "object": "Rate", "created_at": "2024-01-19T22:06:34Z", "updated_at": "2024-01-19T22:06:34Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_37793f6a36b84656b66685b8083842da", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_81893bd833164250bd453b8b87cc2228", + "object": "Rate", "created_at": "2024-01-19T22:06:34Z", "updated_at": "2024-01-19T22:06:34Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_37793f6a36b84656b66685b8083842da", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_8262adea651944b086550b6d8479e3a5", "object": "Rate", "created_at": + "2024-01-19T22:06:34Z", "updated_at": "2024-01-19T22:06:34Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_37793f6a36b84656b66685b8083842da", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_98427d44b39d4a518e565860d32fb4fa", + "object": "Rate", "created_at": "2024-01-19T22:06:34Z", "updated_at": "2024-01-19T22:06:34Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_37793f6a36b84656b66685b8083842da", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_d82413c7075543df8f19c9a8dbdf2162", + "object": "Tracker", "mode": "test", "tracking_code": "9434600207552010713108", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:06:35Z", + "updated_at": "2024-01-19T22:06:35Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_37793f6a36b84656b66685b8083842da", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrX2Q4MjQxM2M3MDc1NTQzZGY4ZjE5YzlhOGRiZGYyMTYy"}, + "to_address": {"id": "adr_01a1c151b71711ee94f1ac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T22:06:33+00:00", "updated_at": "2024-01-19T22:06:34+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_01a465a2b71711ee94f3ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T22:06:33+00:00", "updated_at": + "2024-01-19T22:06:33+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_01a1c151b71711ee94f1ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T22:06:33+00:00", "updated_at": "2024-01-19T22:06:34+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "6.79000", "charged": true, "refunded": false}], "id": "shp_37793f6a36b84656b66685b8083842da", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '9345' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf26ae798d5030010e7a9 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.747447' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_endshipper_create.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_endshipper_create.yaml new file mode 100644 index 00000000..19f9fff9 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_endshipper_create.yaml @@ -0,0 +1,580 @@ +interactions: +- request: + body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": + "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", + "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": + "FOO@EXAMPLE.COM"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '252' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/end_shippers + response: + body: + string: '{"id": "es_4c83da873476490ba46e9347783e21fe", "object": "EndShipper", + "mode": "test", "created_at": "2024-01-19T21:40:44+00:00", "updated_at": "2024-01-19T21:40:44+00:00", + "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", + "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '362' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaec5ce78b9b6b000cd169 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.051010' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": + "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", + "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": + "FOO@EXAMPLE.COM"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '252' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/end_shippers + response: + body: + string: '{"id": "es_ee187d5e101e4336aa890444d48ff539", "object": "EndShipper", + "mode": "test", "created_at": "2024-01-19T21:43:13+00:00", "updated_at": "2024-01-19T21:43:13+00:00", + "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", + "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '362' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaecf1e78ba3a6000d2f32 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.048605' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": + "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", + "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": + "FOO@EXAMPLE.COM"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '252' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/end_shippers + response: + body: + string: '{"id": "es_08413b09a7eb403982333c64d3b808aa", "object": "EndShipper", + "mode": "test", "created_at": "2024-01-19T21:47:04+00:00", "updated_at": "2024-01-19T21:47:04+00:00", + "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", + "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '362' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdae65aaedd8e78bac4700112385 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.049529' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": + "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", + "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": + "FOO@EXAMPLE.COM"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '252' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/end_shippers + response: + body: + string: '{"id": "es_fef26c21448a48faacc7d138626128e1", "object": "EndShipper", + "mode": "test", "created_at": "2024-01-19T21:48:56+00:00", "updated_at": "2024-01-19T21:48:56+00:00", + "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", + "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '362' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda965aaee48e78bb46700116746 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.049506' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": + "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", + "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": + "FOO@EXAMPLE.COM"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '252' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/end_shippers + response: + body: + string: '{"id": "es_298a62ff2a52443eabd4d70c06c230f4", "object": "EndShipper", + "mode": "test", "created_at": "2024-01-19T21:58:16+00:00", "updated_at": "2024-01-19T21:58:16+00:00", + "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", + "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '362' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaf078e798bbfd000f6cbd + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.050430' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": + "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", + "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": + "FOO@EXAMPLE.COM"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '252' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/end_shippers + response: + body: + string: '{"id": "es_5d2d8e27608141d28bbbd10fe194eadd", "object": "EndShipper", + "mode": "test", "created_at": "2024-01-19T22:01:11+00:00", "updated_at": "2024-01-19T22:01:11+00:00", + "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", + "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '362' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf127e798c443000ff41c + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.044197' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": + "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", + "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": + "FOO@EXAMPLE.COM"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '252' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/end_shippers + response: + body: + string: '{"id": "es_2c85422440cc4627bc9e781aab2f80fa", "object": "EndShipper", + "mode": "test", "created_at": "2024-01-19T22:04:57+00:00", "updated_at": "2024-01-19T22:04:57+00:00", + "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", + "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '362' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf209e798cd270010a605 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.051331' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": + "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", + "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": + "FOO@EXAMPLE.COM"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '252' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/end_shippers + response: + body: + string: '{"id": "es_16ce1e75051845b69c448611a68cdbd9", "object": "EndShipper", + "mode": "test", "created_at": "2024-01-19T22:06:30+00:00", "updated_at": "2024-01-19T22:06:30+00:00", + "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", + "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '362' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf266e798d4e40010e53b + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.048399' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_endshipper_list.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_endshipper_list.yaml new file mode 100644 index 00000000..b0ee46d6 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_endshipper_list.yaml @@ -0,0 +1,530 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/end_shippers?page_size=1 + response: + body: + string: '{"end_shippers": [{"id": "es_4c9d0f5f99374536908eb4949f909e1e", "object": + "EndShipper", "mode": "test", "created_at": "2022-10-05T19:50:55+00:00", "updated_at": + "2022-10-05T19:50:55+00:00", "name": "JACK SPARROW", "company": null, "street1": + "388 TOWNSEND ST APT 20", "street2": null, "city": "SAN FRANCISCO", "state": + "CA", "zip": "94107-1670", "country": "US", "phone": "5555555555", "email": + "TEST@EXAMPLE.COM"}], "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '402' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaec5ee78b9b85000cd220 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.558677' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/end_shippers?page_size=1 + response: + body: + string: '{"end_shippers": [{"id": "es_4c9d0f5f99374536908eb4949f909e1e", "object": + "EndShipper", "mode": "test", "created_at": "2022-10-05T19:50:55+00:00", "updated_at": + "2022-10-05T19:50:55+00:00", "name": "JACK SPARROW", "company": null, "street1": + "388 TOWNSEND ST APT 20", "street2": null, "city": "SAN FRANCISCO", "state": + "CA", "zip": "94107-1670", "country": "US", "phone": "5555555555", "email": + "TEST@EXAMPLE.COM"}], "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '402' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaecf2e78ba3a9000d2fb5 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.607746' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/end_shippers?page_size=1 + response: + body: + string: '{"end_shippers": [{"id": "es_4c9d0f5f99374536908eb4949f909e1e", "object": + "EndShipper", "mode": "test", "created_at": "2022-10-05T19:50:55+00:00", "updated_at": + "2022-10-05T19:50:55+00:00", "name": "JACK SPARROW", "company": null, "street1": + "388 TOWNSEND ST APT 20", "street2": null, "city": "SAN FRANCISCO", "state": + "CA", "zip": "94107-1670", "country": "US", "phone": "5555555555", "email": + "TEST@EXAMPLE.COM"}], "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '402' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdab65aaedd8e78bac4a00112426 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.581174' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/end_shippers?page_size=1 + response: + body: + string: '{"end_shippers": [{"id": "es_4c9d0f5f99374536908eb4949f909e1e", "object": + "EndShipper", "mode": "test", "created_at": "2022-10-05T19:50:55+00:00", "updated_at": + "2022-10-05T19:50:55+00:00", "name": "JACK SPARROW", "company": null, "street1": + "388 TOWNSEND ST APT 20", "street2": null, "city": "SAN FRANCISCO", "state": + "CA", "zip": "94107-1670", "country": "US", "phone": "5555555555", "email": + "TEST@EXAMPLE.COM"}], "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '402' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda965aaee49e78bb46a001167cf + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.559629' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/end_shippers?page_size=1 + response: + body: + string: '{"end_shippers": [{"id": "es_4c9d0f5f99374536908eb4949f909e1e", "object": + "EndShipper", "mode": "test", "created_at": "2022-10-05T19:50:55+00:00", "updated_at": + "2022-10-05T19:50:55+00:00", "name": "JACK SPARROW", "company": null, "street1": + "388 TOWNSEND ST APT 20", "street2": null, "city": "SAN FRANCISCO", "state": + "CA", "zip": "94107-1670", "country": "US", "phone": "5555555555", "email": + "TEST@EXAMPLE.COM"}], "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '402' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaf079e798bc00000f6d62 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.706038' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/end_shippers?page_size=1 + response: + body: + string: '{"end_shippers": [{"id": "es_4c9d0f5f99374536908eb4949f909e1e", "object": + "EndShipper", "mode": "test", "created_at": "2022-10-05T19:50:55+00:00", "updated_at": + "2022-10-05T19:50:55+00:00", "name": "JACK SPARROW", "company": null, "street1": + "388 TOWNSEND ST APT 20", "street2": null, "city": "SAN FRANCISCO", "state": + "CA", "zip": "94107-1670", "country": "US", "phone": "5555555555", "email": + "TEST@EXAMPLE.COM"}], "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '402' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf128e798c45d000ff530 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.570666' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/end_shippers?page_size=1 + response: + body: + string: '{"end_shippers": [{"id": "es_4c9d0f5f99374536908eb4949f909e1e", "object": + "EndShipper", "mode": "test", "created_at": "2022-10-05T19:50:55+00:00", "updated_at": + "2022-10-05T19:50:55+00:00", "name": "JACK SPARROW", "company": null, "street1": + "388 TOWNSEND ST APT 20", "street2": null, "city": "SAN FRANCISCO", "state": + "CA", "zip": "94107-1670", "country": "US", "phone": "5555555555", "email": + "TEST@EXAMPLE.COM"}], "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '402' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaf20ae798cd410010a694 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.555766' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/end_shippers?page_size=1 + response: + body: + string: '{"end_shippers": [{"id": "es_4c9d0f5f99374536908eb4949f909e1e", "object": + "EndShipper", "mode": "test", "created_at": "2022-10-05T19:50:55+00:00", "updated_at": + "2022-10-05T19:50:55+00:00", "name": "JACK SPARROW", "company": null, "street1": + "388 TOWNSEND ST APT 20", "street2": null, "city": "SAN FRANCISCO", "state": + "CA", "zip": "94107-1670", "country": "US", "phone": "5555555555", "email": + "TEST@EXAMPLE.COM"}], "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '402' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaf267e798d4fe0010e5ea + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.546653' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_endshipper_retrieve.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_endshipper_retrieve.yaml new file mode 100644 index 00000000..d6db7f97 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_endshipper_retrieve.yaml @@ -0,0 +1,1106 @@ +interactions: +- request: + body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": + "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", + "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": + "FOO@EXAMPLE.COM"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '252' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/end_shippers + response: + body: + string: '{"id": "es_731fce1430ab46daa9b237d1ddbe7e81", "object": "EndShipper", + "mode": "test", "created_at": "2024-01-19T21:40:45+00:00", "updated_at": "2024-01-19T21:40:45+00:00", + "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", + "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '362' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaec5de78b9b6c000cd195 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.064369' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/end_shippers/es_731fce1430ab46daa9b237d1ddbe7e81 + response: + body: + string: '{"id": "es_731fce1430ab46daa9b237d1ddbe7e81", "object": "EndShipper", + "mode": "test", "created_at": "2024-01-19T21:40:45+00:00", "updated_at": "2024-01-19T21:40:45+00:00", + "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", + "street2": null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", + "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '364' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaec5de78b9b6d000cd1fb + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.032242' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": + "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", + "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": + "FOO@EXAMPLE.COM"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '252' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/end_shippers + response: + body: + string: '{"id": "es_9a280831fb7649af8b1b8ed32af53c81", "object": "EndShipper", + "mode": "test", "created_at": "2024-01-19T21:43:14+00:00", "updated_at": "2024-01-19T21:43:14+00:00", + "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", + "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '362' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaecf2e78ba3a7000d2f58 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.053210' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/end_shippers/es_9a280831fb7649af8b1b8ed32af53c81 + response: + body: + string: '{"id": "es_9a280831fb7649af8b1b8ed32af53c81", "object": "EndShipper", + "mode": "test", "created_at": "2024-01-19T21:43:14+00:00", "updated_at": "2024-01-19T21:43:14+00:00", + "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", + "street2": null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", + "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '364' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaecf2e78ba3a8000d2f84 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.128444' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": + "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", + "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": + "FOO@EXAMPLE.COM"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '252' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/end_shippers + response: + body: + string: '{"id": "es_7e4d991c4a25449294a30744acb356e3", "object": "EndShipper", + "mode": "test", "created_at": "2024-01-19T21:47:04+00:00", "updated_at": "2024-01-19T21:47:04+00:00", + "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", + "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '362' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda865aaedd8e78bac48001123cc + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.049687' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/end_shippers/es_7e4d991c4a25449294a30744acb356e3 + response: + body: + string: '{"id": "es_7e4d991c4a25449294a30744acb356e3", "object": "EndShipper", + "mode": "test", "created_at": "2024-01-19T21:47:04+00:00", "updated_at": "2024-01-19T21:47:04+00:00", + "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", + "street2": null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", + "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '364' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdab65aaedd8e78bac49001123f6 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.031865' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": + "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", + "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": + "FOO@EXAMPLE.COM"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '252' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/end_shippers + response: + body: + string: '{"id": "es_e46e6e9381c34e5392b283c567ac9a49", "object": "EndShipper", + "mode": "test", "created_at": "2024-01-19T21:48:56+00:00", "updated_at": "2024-01-19T21:48:56+00:00", + "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", + "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '362' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdab65aaee48e78bb4680011677a + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.049473' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/end_shippers/es_e46e6e9381c34e5392b283c567ac9a49 + response: + body: + string: '{"id": "es_e46e6e9381c34e5392b283c567ac9a49", "object": "EndShipper", + "mode": "test", "created_at": "2024-01-19T21:48:56+00:00", "updated_at": "2024-01-19T21:48:56+00:00", + "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", + "street2": null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", + "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '364' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdaa65aaee48e78bb4690011679f + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.027858' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": + "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", + "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": + "FOO@EXAMPLE.COM"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '252' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/end_shippers + response: + body: + string: '{"id": "es_287f12311849436f849aa36548b3e54a", "object": "EndShipper", + "mode": "test", "created_at": "2024-01-19T21:58:17+00:00", "updated_at": "2024-01-19T21:58:17+00:00", + "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", + "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '362' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaf079e798bbfe000f6d01 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.049705' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/end_shippers/es_287f12311849436f849aa36548b3e54a + response: + body: + string: '{"id": "es_287f12311849436f849aa36548b3e54a", "object": "EndShipper", + "mode": "test", "created_at": "2024-01-19T21:58:17+00:00", "updated_at": "2024-01-19T21:58:17+00:00", + "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", + "street2": null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", + "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '364' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaf079e798bbff000f6d2a + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.028705' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": + "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", + "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": + "FOO@EXAMPLE.COM"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '252' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/end_shippers + response: + body: + string: '{"id": "es_1c8e95c73fe94188945eb74c5dc7099d", "object": "EndShipper", + "mode": "test", "created_at": "2024-01-19T22:01:11+00:00", "updated_at": "2024-01-19T22:01:11+00:00", + "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", + "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '362' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaf127e798c45b000ff48a + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.054516' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/end_shippers/es_1c8e95c73fe94188945eb74c5dc7099d + response: + body: + string: '{"id": "es_1c8e95c73fe94188945eb74c5dc7099d", "object": "EndShipper", + "mode": "test", "created_at": "2024-01-19T22:01:11+00:00", "updated_at": "2024-01-19T22:01:11+00:00", + "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", + "street2": null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", + "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '364' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaf127e798c45c000ff4d6 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.027254' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": + "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", + "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": + "FOO@EXAMPLE.COM"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '252' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/end_shippers + response: + body: + string: '{"id": "es_9a9537ede95e4c169e3033391cba2c32", "object": "EndShipper", + "mode": "test", "created_at": "2024-01-19T22:04:57+00:00", "updated_at": "2024-01-19T22:04:57+00:00", + "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", + "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '362' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf209e798cd280010a631 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.049366' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/end_shippers/es_9a9537ede95e4c169e3033391cba2c32 + response: + body: + string: '{"id": "es_9a9537ede95e4c169e3033391cba2c32", "object": "EndShipper", + "mode": "test", "created_at": "2024-01-19T22:04:57+00:00", "updated_at": "2024-01-19T22:04:57+00:00", + "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", + "street2": null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", + "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '364' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf20ae798cd400010a660 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.041027' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": + "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", + "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": + "FOO@EXAMPLE.COM"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '252' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/end_shippers + response: + body: + string: '{"id": "es_d48158780d39432793a984910c8222df", "object": "EndShipper", + "mode": "test", "created_at": "2024-01-19T22:06:30+00:00", "updated_at": "2024-01-19T22:06:30+00:00", + "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", + "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '362' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaf266e798d4fc0010e56d + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.089259' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/end_shippers/es_d48158780d39432793a984910c8222df + response: + body: + string: '{"id": "es_d48158780d39432793a984910c8222df", "object": "EndShipper", + "mode": "test", "created_at": "2024-01-19T22:06:30+00:00", "updated_at": "2024-01-19T22:06:30+00:00", + "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", + "street2": null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", + "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '364' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf267e798d4fd0010e591 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.032588' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_endshipper_update.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_endshipper_update.yaml new file mode 100644 index 00000000..36b2ab3e --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_endshipper_update.yaml @@ -0,0 +1,1154 @@ +interactions: +- request: + body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": + "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", + "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": + "FOO@EXAMPLE.COM"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '252' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/end_shippers + response: + body: + string: '{"id": "es_31c5fb3d5ac34efb898a113afd0bb2c6", "object": "EndShipper", + "mode": "test", "created_at": "2024-01-19T21:40:46+00:00", "updated_at": "2024-01-19T21:40:46+00:00", + "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", + "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '362' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaec5ee78b9b86000cd2a0 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.050564' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"address": {"name": "NEW NAME", "company": "BAZ", "street1": "164 TOWNSEND + STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", "state": "CA", + "zip": "94107", "country": "US", "phone": "555-555-5555", "email": "FOO@EXAMPLE.COM"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '239' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: PUT + uri: https://api.easypost.com/v2/end_shippers/es_31c5fb3d5ac34efb898a113afd0bb2c6 + response: + body: + string: '{"id": "es_31c5fb3d5ac34efb898a113afd0bb2c6", "object": "EndShipper", + "mode": "test", "created_at": "2024-01-19T21:40:46+00:00", "updated_at": "2024-01-19T21:40:47+00:00", + "name": "NEW NAME", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", + "country": "US", "phone": "555-555-5555", "email": "FOO@EXAMPLE.COM"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '363' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaec5fe78b9b87000cd2d0 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.053061' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": + "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", + "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": + "FOO@EXAMPLE.COM"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '252' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/end_shippers + response: + body: + string: '{"id": "es_6b5537518d304069a97c746f46c82a9e", "object": "EndShipper", + "mode": "test", "created_at": "2024-01-19T21:43:15+00:00", "updated_at": "2024-01-19T21:43:15+00:00", + "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", + "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '362' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaecf3e78ba3aa000d3036 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.048223' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"address": {"name": "NEW NAME", "company": "BAZ", "street1": "164 TOWNSEND + STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", "state": "CA", + "zip": "94107", "country": "US", "phone": "555-555-5555", "email": "FOO@EXAMPLE.COM"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '239' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: PUT + uri: https://api.easypost.com/v2/end_shippers/es_6b5537518d304069a97c746f46c82a9e + response: + body: + string: '{"id": "es_6b5537518d304069a97c746f46c82a9e", "object": "EndShipper", + "mode": "test", "created_at": "2024-01-19T21:43:15+00:00", "updated_at": "2024-01-19T21:43:15+00:00", + "name": "NEW NAME", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", + "country": "US", "phone": "555-555-5555", "email": "FOO@EXAMPLE.COM"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '363' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaecf3e78ba3ab000d305f + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.056037' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": + "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", + "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": + "FOO@EXAMPLE.COM"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '252' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/end_shippers + response: + body: + string: '{"id": "es_e9d594ea4d81402ab05b7ab7778c8536", "object": "EndShipper", + "mode": "test", "created_at": "2024-01-19T21:47:06+00:00", "updated_at": "2024-01-19T21:47:06+00:00", + "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", + "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '362' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdac65aaedd9e78bac4b001124fa + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.046273' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"address": {"name": "NEW NAME", "company": "BAZ", "street1": "164 TOWNSEND + STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", "state": "CA", + "zip": "94107", "country": "US", "phone": "555-555-5555", "email": "FOO@EXAMPLE.COM"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '239' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: PUT + uri: https://api.easypost.com/v2/end_shippers/es_e9d594ea4d81402ab05b7ab7778c8536 + response: + body: + string: '{"id": "es_e9d594ea4d81402ab05b7ab7778c8536", "object": "EndShipper", + "mode": "test", "created_at": "2024-01-19T21:47:06+00:00", "updated_at": "2024-01-19T21:47:06+00:00", + "name": "NEW NAME", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", + "country": "US", "phone": "555-555-5555", "email": "FOO@EXAMPLE.COM"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '363' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdaa65aaeddae78bac4c00112528 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.053804' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": + "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", + "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": + "FOO@EXAMPLE.COM"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '252' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/end_shippers + response: + body: + string: '{"id": "es_9b5322a7c12749aea746e69f35bd8cd3", "object": "EndShipper", + "mode": "test", "created_at": "2024-01-19T21:48:57+00:00", "updated_at": "2024-01-19T21:48:57+00:00", + "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", + "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '362' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda865aaee49e78bb46e0011683f + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.053994' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"address": {"name": "NEW NAME", "company": "BAZ", "street1": "164 TOWNSEND + STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", "state": "CA", + "zip": "94107", "country": "US", "phone": "555-555-5555", "email": "FOO@EXAMPLE.COM"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '239' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: PUT + uri: https://api.easypost.com/v2/end_shippers/es_9b5322a7c12749aea746e69f35bd8cd3 + response: + body: + string: '{"id": "es_9b5322a7c12749aea746e69f35bd8cd3", "object": "EndShipper", + "mode": "test", "created_at": "2024-01-19T21:48:57+00:00", "updated_at": "2024-01-19T21:48:58+00:00", + "name": "NEW NAME", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", + "country": "US", "phone": "555-555-5555", "email": "FOO@EXAMPLE.COM"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '363' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdac65aaee4ae78bb46f00116865 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.060051' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": + "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", + "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": + "FOO@EXAMPLE.COM"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '252' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/end_shippers + response: + body: + string: '{"id": "es_c1c3ebf4c76546e9bfc25e95fb79ba9e", "object": "EndShipper", + "mode": "test", "created_at": "2024-01-19T21:58:18+00:00", "updated_at": "2024-01-19T21:58:18+00:00", + "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", + "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '362' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf07ae798bc01000f6e08 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.051346' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"address": {"name": "NEW NAME", "company": "BAZ", "street1": "164 TOWNSEND + STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", "state": "CA", + "zip": "94107", "country": "US", "phone": "555-555-5555", "email": "FOO@EXAMPLE.COM"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '239' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: PUT + uri: https://api.easypost.com/v2/end_shippers/es_c1c3ebf4c76546e9bfc25e95fb79ba9e + response: + body: + string: '{"id": "es_c1c3ebf4c76546e9bfc25e95fb79ba9e", "object": "EndShipper", + "mode": "test", "created_at": "2024-01-19T21:58:18+00:00", "updated_at": "2024-01-19T21:58:19+00:00", + "name": "NEW NAME", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", + "country": "US", "phone": "555-555-5555", "email": "FOO@EXAMPLE.COM"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '363' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf07be798bc02000f6e2d + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.059946' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": + "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", + "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": + "FOO@EXAMPLE.COM"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '252' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/end_shippers + response: + body: + string: '{"id": "es_9b6d220d3c8b4521bc2d9c421360851a", "object": "EndShipper", + "mode": "test", "created_at": "2024-01-19T22:01:13+00:00", "updated_at": "2024-01-19T22:01:13+00:00", + "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", + "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '362' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf129e798c45e000ff62b + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.047490' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"address": {"name": "NEW NAME", "company": "BAZ", "street1": "164 TOWNSEND + STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", "state": "CA", + "zip": "94107", "country": "US", "phone": "555-555-5555", "email": "FOO@EXAMPLE.COM"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '239' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: PUT + uri: https://api.easypost.com/v2/end_shippers/es_9b6d220d3c8b4521bc2d9c421360851a + response: + body: + string: '{"id": "es_9b6d220d3c8b4521bc2d9c421360851a", "object": "EndShipper", + "mode": "test", "created_at": "2024-01-19T22:01:13+00:00", "updated_at": "2024-01-19T22:01:13+00:00", + "name": "NEW NAME", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", + "country": "US", "phone": "555-555-5555", "email": "FOO@EXAMPLE.COM"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '363' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf129e798c45f000ff67b + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.063159' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": + "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", + "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": + "FOO@EXAMPLE.COM"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '252' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/end_shippers + response: + body: + string: '{"id": "es_c0135a54d355484d912fb1e15b523f6b", "object": "EndShipper", + "mode": "test", "created_at": "2024-01-19T22:04:59+00:00", "updated_at": "2024-01-19T22:04:59+00:00", + "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", + "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '362' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaf20be798cd420010a714 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.051346' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"address": {"name": "NEW NAME", "company": "BAZ", "street1": "164 TOWNSEND + STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", "state": "CA", + "zip": "94107", "country": "US", "phone": "555-555-5555", "email": "FOO@EXAMPLE.COM"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '239' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: PUT + uri: https://api.easypost.com/v2/end_shippers/es_c0135a54d355484d912fb1e15b523f6b + response: + body: + string: '{"id": "es_c0135a54d355484d912fb1e15b523f6b", "object": "EndShipper", + "mode": "test", "created_at": "2024-01-19T22:04:59+00:00", "updated_at": "2024-01-19T22:04:59+00:00", + "name": "NEW NAME", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", + "country": "US", "phone": "555-555-5555", "email": "FOO@EXAMPLE.COM"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '363' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf20be798cd430010a73f + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.052657' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": + "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", + "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": + "FOO@EXAMPLE.COM"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '252' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/end_shippers + response: + body: + string: '{"id": "es_2fc285fa69034b89a0229aa26fb503a4", "object": "EndShipper", + "mode": "test", "created_at": "2024-01-19T22:06:32+00:00", "updated_at": "2024-01-19T22:06:32+00:00", + "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", + "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '362' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf268e798d4ff0010e682 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.051325' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"address": {"name": "NEW NAME", "company": "BAZ", "street1": "164 TOWNSEND + STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", "state": "CA", + "zip": "94107", "country": "US", "phone": "555-555-5555", "email": "FOO@EXAMPLE.COM"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '239' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: PUT + uri: https://api.easypost.com/v2/end_shippers/es_2fc285fa69034b89a0229aa26fb503a4 + response: + body: + string: '{"id": "es_2fc285fa69034b89a0229aa26fb503a4", "object": "EndShipper", + "mode": "test", "created_at": "2024-01-19T22:06:32+00:00", "updated_at": "2024-01-19T22:06:32+00:00", + "name": "NEW NAME", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", + "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", + "country": "US", "phone": "555-555-5555", "email": "FOO@EXAMPLE.COM"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '363' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf268e798d5000010e6c0 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.058235' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_events_list.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_events_list.yaml new file mode 100644 index 00000000..d9d7f4cc --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_events_list.yaml @@ -0,0 +1,518 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/events?page_size=1 + response: + body: + string: '{"events": [{"description": "tracker.created", "id": "evt_66b02f04b71311ee8835730b68571ca4", + "user_id": "user_54356a6b96c940d8913961a3c7b909f2", "status": "pending", "created_at": + "2024-01-19T21:40:45.014Z", "mode": "test", "object": "Event"}], "has_more": + true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '246' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaec62e78b9b8b000cd487 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.235362' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/events?page_size=1 + response: + body: + string: '{"events": [{"description": "tracker.updated", "id": "evt_c12dbc30b71311ee8f436f5ac31b88fe", + "user_id": "user_54356a6b96c940d8913961a3c7b909f2", "status": "pending", "created_at": + "2024-01-19T21:43:16.832Z", "mode": "test", "object": "Event"}], "has_more": + true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '246' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaecf6e78ba3c7000d3243 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.206909' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/events?page_size=1 + response: + body: + string: '{"events": [{"description": "tracker.updated", "id": "evt_4b821c3cb71411ee95a71df9e14ca8c8", + "user_id": "user_54356a6b96c940d8913961a3c7b909f2", "status": "pending", "created_at": + "2024-01-19T21:47:08.911Z", "mode": "test", "object": "Event"}], "has_more": + true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '246' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdaa65aaeddde78bac500011270e + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.287512' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/events?page_size=1 + response: + body: + string: '{"events": [{"description": "tracker.updated", "id": "evt_8e2cd112b71411eea1b4370c718b34d9", + "user_id": "user_54356a6b96c940d8913961a3c7b909f2", "status": "pending", "created_at": + "2024-01-19T21:49:00.759Z", "mode": "test", "object": "Event"}], "has_more": + true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '246' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdae65aaee4de78bb48a00116a1b + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.197061' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/events?page_size=1 + response: + body: + string: '{"events": [{"description": "tracker.created", "id": "evt_db26704eb71511eea7d64b9025ddf0bd", + "user_id": "user_54356a6b96c940d8913961a3c7b909f2", "status": "pending", "created_at": + "2024-01-19T21:58:19.398Z", "mode": "test", "object": "Event"}], "has_more": + true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '246' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaf07ee798bc1d000f6ff1 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.224767' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/events?page_size=1 + response: + body: + string: '{"events": [{"description": "tracker.updated", "id": "evt_446c69fab71611ee8cc11d1e13bbe4f7", + "user_id": "user_54356a6b96c940d8913961a3c7b909f2", "status": "pending", "created_at": + "2024-01-19T22:01:16.018Z", "mode": "test", "object": "Event"}], "has_more": + true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '246' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf12ce798c464000ff97f + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.248036' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/events?page_size=1 + response: + body: + string: '{"events": [{"description": "tracker.updated", "id": "evt_cb277494b71611ee9f8d37b28712ee0a", + "user_id": "user_54356a6b96c940d8913961a3c7b909f2", "status": "pending", "created_at": + "2024-01-19T22:05:02.058Z", "mode": "test", "object": "Event"}], "has_more": + true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '246' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf20ee798d0580010a8fc + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.209228' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/events?page_size=1 + response: + body: + string: '{"events": [{"description": "tracker.updated", "id": "evt_ffbb5518b71611ee8ca739fe56cbbea4", + "user_id": "user_54356a6b96c940d8913961a3c7b909f2", "status": "pending", "created_at": + "2024-01-19T22:06:30.269Z", "mode": "test", "object": "Event"}], "has_more": + true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '246' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaf26be798d5040010e882 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.183650' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_events_retrieve.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_events_retrieve.yaml new file mode 100644 index 00000000..b33d3b59 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_events_retrieve.yaml @@ -0,0 +1,1036 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/events?page_size=1 + response: + body: + string: '{"events": [{"description": "tracker.created", "id": "evt_66b02f04b71311ee8835730b68571ca4", + "user_id": "user_54356a6b96c940d8913961a3c7b909f2", "status": "pending", "created_at": + "2024-01-19T21:40:45.014Z", "mode": "test", "object": "Event"}], "has_more": + true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '246' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaec62e78b9b8c000cd4d1 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.173469' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/events/evt_66b02f04b71311ee8835730b68571ca4 + response: + body: + string: '{"description": "tracker.created", "mode": "test", "previous_attributes": + {}, "created_at": "2024-01-19T21:40:45.000Z", "pending_urls": [], "completed_urls": + [], "updated_at": "2024-01-19T21:40:45.000Z", "id": "evt_66b02f04b71311ee8835730b68571ca4", + "user_id": "user_54356a6b96c940d8913961a3c7b909f2", "status": "pending", "object": + "Event"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '320' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaec62e78b9b8d000cd509 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.029943' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/events?page_size=1 + response: + body: + string: '{"events": [{"description": "tracker.updated", "id": "evt_c12dbc30b71311ee8f436f5ac31b88fe", + "user_id": "user_54356a6b96c940d8913961a3c7b909f2", "status": "pending", "created_at": + "2024-01-19T21:43:16.832Z", "mode": "test", "object": "Event"}], "has_more": + true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '246' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaecf7e78ba3c8000d328a + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.200475' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/events/evt_c12dbc30b71311ee8f436f5ac31b88fe + response: + body: + string: '{"description": "tracker.updated", "mode": "test", "previous_attributes": + {"status": "unknown"}, "created_at": "2024-01-19T21:43:17.000Z", "pending_urls": + [], "completed_urls": [], "updated_at": "2024-01-19T21:43:17.000Z", "id": + "evt_c12dbc30b71311ee8f436f5ac31b88fe", "user_id": "user_54356a6b96c940d8913961a3c7b909f2", + "status": "pending", "object": "Event"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '338' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaecf7e78ba3c9000d32d7 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.031979' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/events?page_size=1 + response: + body: + string: '{"events": [{"description": "tracker.updated", "id": "evt_4b821c3cb71411ee95a71df9e14ca8c8", + "user_id": "user_54356a6b96c940d8913961a3c7b909f2", "status": "pending", "created_at": + "2024-01-19T21:47:08.911Z", "mode": "test", "object": "Event"}], "has_more": + true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '246' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdac65aaeddde78bac6800112754 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.238259' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/events/evt_4b821c3cb71411ee95a71df9e14ca8c8 + response: + body: + string: '{"description": "tracker.updated", "mode": "test", "previous_attributes": + {"status": "in_transit"}, "created_at": "2024-01-19T21:47:09.000Z", "pending_urls": + [], "completed_urls": [], "updated_at": "2024-01-19T21:47:09.000Z", "id": + "evt_4b821c3cb71411ee95a71df9e14ca8c8", "user_id": "user_54356a6b96c940d8913961a3c7b909f2", + "status": "pending", "object": "Event"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '341' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdaa65aaeddee78bac6900112797 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.030740' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/events?page_size=1 + response: + body: + string: '{"events": [{"description": "tracker.updated", "id": "evt_8e2cd112b71411eea1b4370c718b34d9", + "user_id": "user_54356a6b96c940d8913961a3c7b909f2", "status": "pending", "created_at": + "2024-01-19T21:49:00.759Z", "mode": "test", "object": "Event"}], "has_more": + true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '246' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdab65aaee4de78bb48b00116a78 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.260220' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/events/evt_8e2cd112b71411eea1b4370c718b34d9 + response: + body: + string: '{"description": "tracker.updated", "mode": "test", "previous_attributes": + {"status": "unknown"}, "created_at": "2024-01-19T21:49:01.000Z", "pending_urls": + [], "completed_urls": [], "updated_at": "2024-01-19T21:49:01.000Z", "id": + "evt_8e2cd112b71411eea1b4370c718b34d9", "user_id": "user_54356a6b96c940d8913961a3c7b909f2", + "status": "pending", "object": "Event"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '338' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda965aaee4de78bb48c00116ac8 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.029918' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/events?page_size=1 + response: + body: + string: '{"events": [{"description": "tracker.created", "id": "evt_db26704eb71511eea7d64b9025ddf0bd", + "user_id": "user_54356a6b96c940d8913961a3c7b909f2", "status": "pending", "created_at": + "2024-01-19T21:58:19.398Z", "mode": "test", "object": "Event"}], "has_more": + true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '246' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf07ee798bc1e000f703b + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.207032' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/events/evt_db26704eb71511eea7d64b9025ddf0bd + response: + body: + string: '{"description": "tracker.created", "mode": "test", "previous_attributes": + {}, "created_at": "2024-01-19T21:58:19.000Z", "pending_urls": [], "completed_urls": + [], "updated_at": "2024-01-19T21:58:19.000Z", "id": "evt_db26704eb71511eea7d64b9025ddf0bd", + "user_id": "user_54356a6b96c940d8913961a3c7b909f2", "status": "pending", "object": + "Event"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '320' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf07fe798bc1f000f7079 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.030801' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/events?page_size=1 + response: + body: + string: '{"events": [{"description": "tracker.updated", "id": "evt_446c69fab71611ee8cc11d1e13bbe4f7", + "user_id": "user_54356a6b96c940d8913961a3c7b909f2", "status": "pending", "created_at": + "2024-01-19T22:01:16.018Z", "mode": "test", "object": "Event"}], "has_more": + true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '246' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf12ce798c47c000ffa3b + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.227133' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/events/evt_446c69fab71611ee8cc11d1e13bbe4f7 + response: + body: + string: '{"description": "tracker.updated", "mode": "test", "previous_attributes": + {"status": "pre_transit"}, "created_at": "2024-01-19T22:01:16.000Z", "pending_urls": + [], "completed_urls": [], "updated_at": "2024-01-19T22:01:16.000Z", "id": + "evt_446c69fab71611ee8cc11d1e13bbe4f7", "user_id": "user_54356a6b96c940d8913961a3c7b909f2", + "status": "pending", "object": "Event"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '342' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf12de798c47d000ffab7 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.033675' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/events?page_size=1 + response: + body: + string: '{"events": [{"description": "tracker.updated", "id": "evt_cb277494b71611ee9f8d37b28712ee0a", + "user_id": "user_54356a6b96c940d8913961a3c7b909f2", "status": "pending", "created_at": + "2024-01-19T22:05:02.058Z", "mode": "test", "object": "Event"}], "has_more": + true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '246' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaf20fe798d0590010a956 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.217494' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/events/evt_cb277494b71611ee9f8d37b28712ee0a + response: + body: + string: '{"description": "tracker.updated", "mode": "test", "previous_attributes": + {"status": "pre_transit"}, "created_at": "2024-01-19T22:05:02.000Z", "pending_urls": + [], "completed_urls": [], "updated_at": "2024-01-19T22:05:02.000Z", "id": + "evt_cb277494b71611ee9f8d37b28712ee0a", "user_id": "user_54356a6b96c940d8913961a3c7b909f2", + "status": "pending", "object": "Event"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '342' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaf20fe798d05a0010a9a2 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.030364' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/events?page_size=1 + response: + body: + string: '{"events": [{"description": "tracker.updated", "id": "evt_ffbb5518b71611ee8ca739fe56cbbea4", + "user_id": "user_54356a6b96c940d8913961a3c7b909f2", "status": "pending", "created_at": + "2024-01-19T22:06:30.269Z", "mode": "test", "object": "Event"}], "has_more": + true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '246' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf26ce798d5050010e8ca + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.257703' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/events/evt_ffbb5518b71611ee8ca739fe56cbbea4 + response: + body: + string: '{"description": "tracker.updated", "mode": "test", "previous_attributes": + {"status": "pre_transit"}, "created_at": "2024-01-19T22:06:30.000Z", "pending_urls": + [], "completed_urls": [], "updated_at": "2024-01-19T22:06:30.000Z", "id": + "evt_ffbb5518b71611ee8ca739fe56cbbea4", "user_id": "user_54356a6b96c940d8913961a3c7b909f2", + "status": "pending", "object": "Event"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '342' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf26ce798d51d0010e90d + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.032197' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_forms_create.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_forms_create.yaml new file mode 100644 index 00000000..3c03727d --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_forms_create.yaml @@ -0,0 +1,3060 @@ +interactions: +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:40:51Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010707603", "updated_at": "2024-01-19T21:40:52Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_38ecc3f3705e49c991c0dc6291dc784d", "object": "CustomsInfo", "created_at": + "2024-01-19T21:40:51Z", "updated_at": "2024-01-19T21:40:51Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_0aae18e08ec34a51b6c4075698eba8ef", + "object": "CustomsItem", "created_at": "2024-01-19T21:40:51Z", "updated_at": + "2024-01-19T21:40:51Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_6a6af012b71311ee93943cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:40:51+00:00", "updated_at": + "2024-01-19T21:40:51+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_219d7ac310664dfa97e2982c4fac0238", + "object": "Parcel", "created_at": "2024-01-19T21:40:51Z", "updated_at": "2024-01-19T21:40:51Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_3d83fe2e299342768fa5f28bedf21afd", "created_at": "2024-01-19T21:40:51Z", + "updated_at": "2024-01-19T21:40:52Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:40:51Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e81fb54b2c23e84e9ea9b447fee1f9247d.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_0278b6d89b0243d1841f570619840fe3", "object": + "Rate", "created_at": "2024-01-19T21:40:51Z", "updated_at": "2024-01-19T21:40:51Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_5d6acc1b88f44743955ee35c7ca4e611", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_939f7dc9c1714ec7b89955cd7f10edd1", + "object": "Rate", "created_at": "2024-01-19T21:40:51Z", "updated_at": "2024-01-19T21:40:51Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_5d6acc1b88f44743955ee35c7ca4e611", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_ecf947499c164960a9f247cd1f889da4", + "object": "Rate", "created_at": "2024-01-19T21:40:51Z", "updated_at": "2024-01-19T21:40:51Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_5d6acc1b88f44743955ee35c7ca4e611", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_06bf3189ade6419baa087a4d3c90c020", + "object": "Rate", "created_at": "2024-01-19T21:40:51Z", "updated_at": "2024-01-19T21:40:51Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_5d6acc1b88f44743955ee35c7ca4e611", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_a74f0eec9b934571a791053f4ab68612", "object": "Rate", "created_at": + "2024-01-19T21:40:51Z", "updated_at": "2024-01-19T21:40:51Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_5d6acc1b88f44743955ee35c7ca4e611", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_939f7dc9c1714ec7b89955cd7f10edd1", + "object": "Rate", "created_at": "2024-01-19T21:40:51Z", "updated_at": "2024-01-19T21:40:51Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_5d6acc1b88f44743955ee35c7ca4e611", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_0d39ddeae6034088b1fcd67766019d55", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010707603", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:40:52Z", + "updated_at": "2024-01-19T21:40:52Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_5d6acc1b88f44743955ee35c7ca4e611", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzBkMzlkZGVhZTYwMzQwODhiMWZjZDY3NzY2MDE5ZDU1"}, + "to_address": {"id": "adr_6a67a697b71311ee9536ac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T21:40:51+00:00", "updated_at": "2024-01-19T21:40:51+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_6a6af012b71311ee93943cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:40:51+00:00", "updated_at": + "2024-01-19T21:40:51+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_6a67a697b71311ee9536ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:40:51+00:00", "updated_at": "2024-01-19T21:40:51+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_5d6acc1b88f44743955ee35c7ca4e611", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_5d6acc1b88f44743955ee35c7ca4e611 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaec63e78b9b8e000cd535 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.148150' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"form": {"type": "return_packing_slip", "barcode": "RMA12345678900", "line_items": + [{"product": {"title": "Square Reader", "barcode": "855658003251"}, "units": + 8}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '166' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments/shp_5d6acc1b88f44743955ee35c7ca4e611/forms + response: + body: + string: '{"created_at": "2024-01-19T21:40:51Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010707603", "updated_at": "2024-01-19T21:40:52Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_38ecc3f3705e49c991c0dc6291dc784d", "object": "CustomsInfo", "created_at": + "2024-01-19T21:40:51Z", "updated_at": "2024-01-19T21:40:51Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_0aae18e08ec34a51b6c4075698eba8ef", + "object": "CustomsItem", "created_at": "2024-01-19T21:40:51Z", "updated_at": + "2024-01-19T21:40:51Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_6a6af012b71311ee93943cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:40:51+00:00", "updated_at": + "2024-01-19T21:40:51+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_219d7ac310664dfa97e2982c4fac0238", + "object": "Parcel", "created_at": "2024-01-19T21:40:51Z", "updated_at": "2024-01-19T21:40:51Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_3d83fe2e299342768fa5f28bedf21afd", "created_at": "2024-01-19T21:40:51Z", + "updated_at": "2024-01-19T21:40:52Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:40:51Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e81fb54b2c23e84e9ea9b447fee1f9247d.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_0278b6d89b0243d1841f570619840fe3", "object": + "Rate", "created_at": "2024-01-19T21:40:51Z", "updated_at": "2024-01-19T21:40:51Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_5d6acc1b88f44743955ee35c7ca4e611", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_939f7dc9c1714ec7b89955cd7f10edd1", + "object": "Rate", "created_at": "2024-01-19T21:40:51Z", "updated_at": "2024-01-19T21:40:51Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_5d6acc1b88f44743955ee35c7ca4e611", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_ecf947499c164960a9f247cd1f889da4", + "object": "Rate", "created_at": "2024-01-19T21:40:51Z", "updated_at": "2024-01-19T21:40:51Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_5d6acc1b88f44743955ee35c7ca4e611", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_06bf3189ade6419baa087a4d3c90c020", + "object": "Rate", "created_at": "2024-01-19T21:40:51Z", "updated_at": "2024-01-19T21:40:51Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_5d6acc1b88f44743955ee35c7ca4e611", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_a74f0eec9b934571a791053f4ab68612", "object": "Rate", "created_at": + "2024-01-19T21:40:51Z", "updated_at": "2024-01-19T21:40:51Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_5d6acc1b88f44743955ee35c7ca4e611", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_939f7dc9c1714ec7b89955cd7f10edd1", + "object": "Rate", "created_at": "2024-01-19T21:40:51Z", "updated_at": "2024-01-19T21:40:51Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_5d6acc1b88f44743955ee35c7ca4e611", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_0d39ddeae6034088b1fcd67766019d55", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010707603", + "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:40:52Z", + "updated_at": "2024-01-19T21:40:52Z", "signed_by": null, "weight": null, "est_delivery_date": + "2024-01-19T21:40:52Z", "shipment_id": "shp_5d6acc1b88f44743955ee35c7ca4e611", + "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": + "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-19T21:40:52Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", + "message": "Shipping Label Created", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-20T10:17:52Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": + null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": + null}, "public_url": "https://track.easypost.com/djE6dHJrXzBkMzlkZGVhZTYwMzQwODhiMWZjZDY3NzY2MDE5ZDU1"}, + "to_address": {"id": "adr_6a67a697b71311ee9536ac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T21:40:51+00:00", "updated_at": "2024-01-19T21:40:51+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_6a6af012b71311ee93943cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:40:51+00:00", "updated_at": + "2024-01-19T21:40:51+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_6a67a697b71311ee9536ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:40:51+00:00", "updated_at": "2024-01-19T21:40:51+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [{"object": "Form", "id": "form_4294f2d334234c8a80738948c33832c3", + "created_at": "2024-01-19T21:40:53Z", "updated_at": "2024-01-19T21:40:53Z", + "mode": "test", "form_type": "return_packing_slip", "form_url": "https://easypost-files.s3-us-west-2.amazonaws.com/files/form/20240119/14aa86aa8235479fab4e14069ae0e4dd.pdf", + "submitted_electronically": null}], "fees": [{"object": "Fee", "type": "LabelFee", + "amount": "0.00000", "charged": true, "refunded": false}, {"object": "Fee", + "type": "PostageFee", "amount": "7.99000", "charged": true, "refunded": false}], + "id": "shp_5d6acc1b88f44743955ee35c7ca4e611", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '9814' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_5d6acc1b88f44743955ee35c7ca4e611/forms/return_packing_slip + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaec64e78b9ba6000cd639 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.684883' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:43:19Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010707979", "updated_at": "2024-01-19T21:43:20Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_8e6846560d0b4fb19eeef9150302c00b", "object": "CustomsInfo", "created_at": + "2024-01-19T21:43:19Z", "updated_at": "2024-01-19T21:43:19Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_90adbae022304f1fabefa08af84a0c54", + "object": "CustomsItem", "created_at": "2024-01-19T21:43:19Z", "updated_at": + "2024-01-19T21:43:19Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_c2f22beeb71311eeb5e9ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:43:19+00:00", "updated_at": + "2024-01-19T21:43:19+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_5c53aec27c924b12bf6b01a6ee87a25c", + "object": "Parcel", "created_at": "2024-01-19T21:43:19Z", "updated_at": "2024-01-19T21:43:19Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_41add3fbc48f4e3c95b227f4362e608b", "created_at": "2024-01-19T21:43:20Z", + "updated_at": "2024-01-19T21:43:20Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:43:20Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e84dc9ad6c1820460c8f5606dcdbeb1c66.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_dba3d7887f4944788907d4ff038c8e1f", "object": + "Rate", "created_at": "2024-01-19T21:43:19Z", "updated_at": "2024-01-19T21:43:19Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_cfa4e63a716b42ceb7dbf98e892944d5", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_3d96c3ab5a054189a59acbe685c06365", + "object": "Rate", "created_at": "2024-01-19T21:43:19Z", "updated_at": "2024-01-19T21:43:19Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_cfa4e63a716b42ceb7dbf98e892944d5", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_ee26eb91a5c44c128d523475f247fedc", + "object": "Rate", "created_at": "2024-01-19T21:43:19Z", "updated_at": "2024-01-19T21:43:19Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_cfa4e63a716b42ceb7dbf98e892944d5", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4f167ff3010747bc9bb0f941e0a739df", + "object": "Rate", "created_at": "2024-01-19T21:43:19Z", "updated_at": "2024-01-19T21:43:19Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_cfa4e63a716b42ceb7dbf98e892944d5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_5a2b2e05f8ed4e4f975fa3f287c2fd05", "object": "Rate", "created_at": + "2024-01-19T21:43:19Z", "updated_at": "2024-01-19T21:43:19Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_cfa4e63a716b42ceb7dbf98e892944d5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_3d96c3ab5a054189a59acbe685c06365", + "object": "Rate", "created_at": "2024-01-19T21:43:20Z", "updated_at": "2024-01-19T21:43:20Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_cfa4e63a716b42ceb7dbf98e892944d5", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_a91696ddb1e141fa85c2312e45207e8e", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010707979", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:43:20Z", + "updated_at": "2024-01-19T21:43:20Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_cfa4e63a716b42ceb7dbf98e892944d5", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrX2E5MTY5NmRkYjFlMTQxZmE4NWMyMzEyZTQ1MjA3ZThl"}, + "to_address": {"id": "adr_c2ef5d1db71311eeb590ac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T21:43:19+00:00", "updated_at": "2024-01-19T21:43:20+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_c2f22beeb71311eeb5e9ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:43:19+00:00", "updated_at": + "2024-01-19T21:43:19+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_c2ef5d1db71311eeb590ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:43:19+00:00", "updated_at": "2024-01-19T21:43:20+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_cfa4e63a716b42ceb7dbf98e892944d5", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_cfa4e63a716b42ceb7dbf98e892944d5 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaecf7e78ba3ca000d3306 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.178803' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"form": {"type": "return_packing_slip", "barcode": "RMA12345678900", "line_items": + [{"product": {"title": "Square Reader", "barcode": "855658003251"}, "units": + 8}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '166' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments/shp_cfa4e63a716b42ceb7dbf98e892944d5/forms + response: + body: + string: '{"created_at": "2024-01-19T21:43:19Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010707979", "updated_at": "2024-01-19T21:43:20Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_8e6846560d0b4fb19eeef9150302c00b", "object": "CustomsInfo", "created_at": + "2024-01-19T21:43:19Z", "updated_at": "2024-01-19T21:43:19Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_90adbae022304f1fabefa08af84a0c54", + "object": "CustomsItem", "created_at": "2024-01-19T21:43:19Z", "updated_at": + "2024-01-19T21:43:19Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_c2f22beeb71311eeb5e9ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:43:19+00:00", "updated_at": + "2024-01-19T21:43:19+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_5c53aec27c924b12bf6b01a6ee87a25c", + "object": "Parcel", "created_at": "2024-01-19T21:43:19Z", "updated_at": "2024-01-19T21:43:19Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_41add3fbc48f4e3c95b227f4362e608b", "created_at": "2024-01-19T21:43:20Z", + "updated_at": "2024-01-19T21:43:20Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:43:20Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e84dc9ad6c1820460c8f5606dcdbeb1c66.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_dba3d7887f4944788907d4ff038c8e1f", "object": + "Rate", "created_at": "2024-01-19T21:43:19Z", "updated_at": "2024-01-19T21:43:19Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_cfa4e63a716b42ceb7dbf98e892944d5", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_3d96c3ab5a054189a59acbe685c06365", + "object": "Rate", "created_at": "2024-01-19T21:43:19Z", "updated_at": "2024-01-19T21:43:19Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_cfa4e63a716b42ceb7dbf98e892944d5", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_ee26eb91a5c44c128d523475f247fedc", + "object": "Rate", "created_at": "2024-01-19T21:43:19Z", "updated_at": "2024-01-19T21:43:19Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_cfa4e63a716b42ceb7dbf98e892944d5", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4f167ff3010747bc9bb0f941e0a739df", + "object": "Rate", "created_at": "2024-01-19T21:43:19Z", "updated_at": "2024-01-19T21:43:19Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_cfa4e63a716b42ceb7dbf98e892944d5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_5a2b2e05f8ed4e4f975fa3f287c2fd05", "object": "Rate", "created_at": + "2024-01-19T21:43:19Z", "updated_at": "2024-01-19T21:43:19Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_cfa4e63a716b42ceb7dbf98e892944d5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_3d96c3ab5a054189a59acbe685c06365", + "object": "Rate", "created_at": "2024-01-19T21:43:20Z", "updated_at": "2024-01-19T21:43:20Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_cfa4e63a716b42ceb7dbf98e892944d5", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_a91696ddb1e141fa85c2312e45207e8e", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010707979", + "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:43:20Z", + "updated_at": "2024-01-19T21:43:21Z", "signed_by": null, "weight": null, "est_delivery_date": + "2024-01-19T21:43:20Z", "shipment_id": "shp_cfa4e63a716b42ceb7dbf98e892944d5", + "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": + "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-19T21:43:20Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", + "message": "Shipping Label Created", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-20T10:20:20Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": + null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": + null}, "public_url": "https://track.easypost.com/djE6dHJrX2E5MTY5NmRkYjFlMTQxZmE4NWMyMzEyZTQ1MjA3ZThl"}, + "to_address": {"id": "adr_c2ef5d1db71311eeb590ac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T21:43:19+00:00", "updated_at": "2024-01-19T21:43:20+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_c2f22beeb71311eeb5e9ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:43:19+00:00", "updated_at": + "2024-01-19T21:43:19+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_c2ef5d1db71311eeb590ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:43:19+00:00", "updated_at": "2024-01-19T21:43:20+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [{"object": "Form", "id": "form_6002892a77fb4d0a981a46bb37c040d8", + "created_at": "2024-01-19T21:43:21Z", "updated_at": "2024-01-19T21:43:21Z", + "mode": "test", "form_type": "return_packing_slip", "form_url": "https://easypost-files.s3-us-west-2.amazonaws.com/files/form/20240119/4522fa5a55d640aa811b4936456de2c9.pdf", + "submitted_electronically": null}], "fees": [{"object": "Fee", "type": "LabelFee", + "amount": "0.00000", "charged": true, "refunded": false}, {"object": "Fee", + "type": "PostageFee", "amount": "7.99000", "charged": true, "refunded": false}], + "id": "shp_cfa4e63a716b42ceb7dbf98e892944d5", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '9814' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_cfa4e63a716b42ceb7dbf98e892944d5/forms/return_packing_slip + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaecf9e78ba3cb000d33e5 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.691219' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:47:10Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010708389", "updated_at": "2024-01-19T21:47:11Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_5bda3122112145cdb91fa603ae005cc2", "object": "CustomsInfo", "created_at": + "2024-01-19T21:47:10Z", "updated_at": "2024-01-19T21:47:10Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_a5faa978719242478e989250ab225316", + "object": "CustomsItem", "created_at": "2024-01-19T21:47:10Z", "updated_at": + "2024-01-19T21:47:10Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_4c8d4469b71411eea219ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:47:10+00:00", "updated_at": + "2024-01-19T21:47:10+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_c3a4c9517a3c4a7199956c6026894122", + "object": "Parcel", "created_at": "2024-01-19T21:47:10Z", "updated_at": "2024-01-19T21:47:10Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_59a4cf6f384b41108b5e770984394921", "created_at": "2024-01-19T21:47:11Z", + "updated_at": "2024-01-19T21:47:11Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:47:11Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e88f7487801c0343dcb0b050504cef3bab.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_3aa1c37639674cbfae63957016d98d5d", "object": + "Rate", "created_at": "2024-01-19T21:47:10Z", "updated_at": "2024-01-19T21:47:10Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_6a2aba6eeefb4f55bbb71374b7401a4e", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_e6031cedb5874e0596ce5796ba505819", + "object": "Rate", "created_at": "2024-01-19T21:47:10Z", "updated_at": "2024-01-19T21:47:10Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_6a2aba6eeefb4f55bbb71374b7401a4e", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_ba114dc34da24ba8855a6239dd34b919", + "object": "Rate", "created_at": "2024-01-19T21:47:10Z", "updated_at": "2024-01-19T21:47:10Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_6a2aba6eeefb4f55bbb71374b7401a4e", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_ddf211d44faa471d9bcde435b88f2768", + "object": "Rate", "created_at": "2024-01-19T21:47:10Z", "updated_at": "2024-01-19T21:47:10Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_6a2aba6eeefb4f55bbb71374b7401a4e", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_ed0477b780544c7cacf3ef22bf2ba831", "object": "Rate", "created_at": + "2024-01-19T21:47:10Z", "updated_at": "2024-01-19T21:47:10Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_6a2aba6eeefb4f55bbb71374b7401a4e", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_e6031cedb5874e0596ce5796ba505819", + "object": "Rate", "created_at": "2024-01-19T21:47:11Z", "updated_at": "2024-01-19T21:47:11Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_6a2aba6eeefb4f55bbb71374b7401a4e", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_4397260b18a2435bb9af8b522d15030e", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708389", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:47:11Z", + "updated_at": "2024-01-19T21:47:11Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_6a2aba6eeefb4f55bbb71374b7401a4e", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzQzOTcyNjBiMThhMjQzNWJiOWFmOGI1MjJkMTUwMzBl"}, + "to_address": {"id": "adr_4c8b9e86b71411eeb179ac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T21:47:10+00:00", "updated_at": "2024-01-19T21:47:10+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_4c8d4469b71411eea219ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:47:10+00:00", "updated_at": + "2024-01-19T21:47:10+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_4c8b9e86b71411eeb179ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:47:10+00:00", "updated_at": "2024-01-19T21:47:10+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_6a2aba6eeefb4f55bbb71374b7401a4e", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_6a2aba6eeefb4f55bbb71374b7401a4e + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdad65aaeddee78bac6a001127c3 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.966832' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"form": {"type": "return_packing_slip", "barcode": "RMA12345678900", "line_items": + [{"product": {"title": "Square Reader", "barcode": "855658003251"}, "units": + 8}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '166' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments/shp_6a2aba6eeefb4f55bbb71374b7401a4e/forms + response: + body: + string: '{"created_at": "2024-01-19T21:47:10Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010708389", "updated_at": "2024-01-19T21:47:11Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_5bda3122112145cdb91fa603ae005cc2", "object": "CustomsInfo", "created_at": + "2024-01-19T21:47:10Z", "updated_at": "2024-01-19T21:47:10Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_a5faa978719242478e989250ab225316", + "object": "CustomsItem", "created_at": "2024-01-19T21:47:10Z", "updated_at": + "2024-01-19T21:47:10Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_4c8d4469b71411eea219ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:47:10+00:00", "updated_at": + "2024-01-19T21:47:10+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_c3a4c9517a3c4a7199956c6026894122", + "object": "Parcel", "created_at": "2024-01-19T21:47:10Z", "updated_at": "2024-01-19T21:47:10Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_59a4cf6f384b41108b5e770984394921", "created_at": "2024-01-19T21:47:11Z", + "updated_at": "2024-01-19T21:47:11Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:47:11Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e88f7487801c0343dcb0b050504cef3bab.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_3aa1c37639674cbfae63957016d98d5d", "object": + "Rate", "created_at": "2024-01-19T21:47:10Z", "updated_at": "2024-01-19T21:47:10Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_6a2aba6eeefb4f55bbb71374b7401a4e", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_e6031cedb5874e0596ce5796ba505819", + "object": "Rate", "created_at": "2024-01-19T21:47:10Z", "updated_at": "2024-01-19T21:47:10Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_6a2aba6eeefb4f55bbb71374b7401a4e", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_ba114dc34da24ba8855a6239dd34b919", + "object": "Rate", "created_at": "2024-01-19T21:47:10Z", "updated_at": "2024-01-19T21:47:10Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_6a2aba6eeefb4f55bbb71374b7401a4e", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_ddf211d44faa471d9bcde435b88f2768", + "object": "Rate", "created_at": "2024-01-19T21:47:10Z", "updated_at": "2024-01-19T21:47:10Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_6a2aba6eeefb4f55bbb71374b7401a4e", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_ed0477b780544c7cacf3ef22bf2ba831", "object": "Rate", "created_at": + "2024-01-19T21:47:10Z", "updated_at": "2024-01-19T21:47:10Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_6a2aba6eeefb4f55bbb71374b7401a4e", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_e6031cedb5874e0596ce5796ba505819", + "object": "Rate", "created_at": "2024-01-19T21:47:11Z", "updated_at": "2024-01-19T21:47:11Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_6a2aba6eeefb4f55bbb71374b7401a4e", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_4397260b18a2435bb9af8b522d15030e", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708389", + "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:47:11Z", + "updated_at": "2024-01-19T21:47:11Z", "signed_by": null, "weight": null, "est_delivery_date": + "2024-01-19T21:47:11Z", "shipment_id": "shp_6a2aba6eeefb4f55bbb71374b7401a4e", + "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": + "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-19T21:47:11Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", + "message": "Shipping Label Created", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-20T10:24:11Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": + null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": + null}, "public_url": "https://track.easypost.com/djE6dHJrXzQzOTcyNjBiMThhMjQzNWJiOWFmOGI1MjJkMTUwMzBl"}, + "to_address": {"id": "adr_4c8b9e86b71411eeb179ac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T21:47:10+00:00", "updated_at": "2024-01-19T21:47:10+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_4c8d4469b71411eea219ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:47:10+00:00", "updated_at": + "2024-01-19T21:47:10+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_4c8b9e86b71411eeb179ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:47:10+00:00", "updated_at": "2024-01-19T21:47:10+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [{"object": "Form", "id": "form_fcf2fdf2329447abb9d7d8347d78b460", + "created_at": "2024-01-19T21:47:12Z", "updated_at": "2024-01-19T21:47:12Z", + "mode": "test", "form_type": "return_packing_slip", "form_url": "https://easypost-files.s3-us-west-2.amazonaws.com/files/form/20240119/c405e4cc897a43dbaee4bccacd396556.pdf", + "submitted_electronically": null}], "fees": [{"object": "Fee", "type": "LabelFee", + "amount": "0.00000", "charged": true, "refunded": false}, {"object": "Fee", + "type": "PostageFee", "amount": "7.99000", "charged": true, "refunded": false}], + "id": "shp_6a2aba6eeefb4f55bbb71374b7401a4e", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '9814' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_6a2aba6eeefb4f55bbb71374b7401a4e/forms/return_packing_slip + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdaa65aaeddfe78bac6b001128a9 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.676964' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:49:02Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010708877", "updated_at": "2024-01-19T21:49:03Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_ec3830c61eda404d9f96ce23cbea0218", "object": "CustomsInfo", "created_at": + "2024-01-19T21:49:02Z", "updated_at": "2024-01-19T21:49:02Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_cb57079ceb6d48f5ab254f755a0cde9b", + "object": "CustomsItem", "created_at": "2024-01-19T21:49:02Z", "updated_at": + "2024-01-19T21:49:02Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_8f20394db71411ee85f4ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:49:02+00:00", "updated_at": + "2024-01-19T21:49:02+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_801684df328647c89e3bc7c6554da7aa", + "object": "Parcel", "created_at": "2024-01-19T21:49:02Z", "updated_at": "2024-01-19T21:49:02Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_43f40292f05642bd9f00ab7ad4b8089c", "created_at": "2024-01-19T21:49:02Z", + "updated_at": "2024-01-19T21:49:03Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:49:02Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e880ebabbe97d94d509e4275f75ea7215b.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_2b79992be31b4233bf39281a7a07a675", "object": + "Rate", "created_at": "2024-01-19T21:49:02Z", "updated_at": "2024-01-19T21:49:02Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_007ec538288d4a0b985e2044483a6add", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_d27c6350818a466980ae857a2876edd1", + "object": "Rate", "created_at": "2024-01-19T21:49:02Z", "updated_at": "2024-01-19T21:49:02Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_007ec538288d4a0b985e2044483a6add", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_a1e62fdb58194e9a831588b5f1675058", + "object": "Rate", "created_at": "2024-01-19T21:49:02Z", "updated_at": "2024-01-19T21:49:02Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_007ec538288d4a0b985e2044483a6add", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_3c9f268a14054d23aa57ed32e47998d3", + "object": "Rate", "created_at": "2024-01-19T21:49:02Z", "updated_at": "2024-01-19T21:49:02Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_007ec538288d4a0b985e2044483a6add", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_48fcf4922a854460931152a00fb7d19e", "object": "Rate", "created_at": + "2024-01-19T21:49:02Z", "updated_at": "2024-01-19T21:49:02Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_007ec538288d4a0b985e2044483a6add", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_d27c6350818a466980ae857a2876edd1", + "object": "Rate", "created_at": "2024-01-19T21:49:02Z", "updated_at": "2024-01-19T21:49:02Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_007ec538288d4a0b985e2044483a6add", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_3aa97362cae14aa883ebfa90e5ba6043", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708877", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:49:03Z", + "updated_at": "2024-01-19T21:49:03Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_007ec538288d4a0b985e2044483a6add", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzNhYTk3MzYyY2FlMTRhYTg4M2ViZmE5MGU1YmE2MDQz"}, + "to_address": {"id": "adr_8f1e5448b71411eeb785ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:49:02+00:00", "updated_at": "2024-01-19T21:49:02+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_8f20394db71411ee85f4ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:49:02+00:00", "updated_at": + "2024-01-19T21:49:02+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_8f1e5448b71411eeb785ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:49:02+00:00", "updated_at": "2024-01-19T21:49:02+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_007ec538288d4a0b985e2044483a6add", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_007ec538288d4a0b985e2044483a6add + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda965aaee4ee78bb48d00116afb + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '1.021831' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"form": {"type": "return_packing_slip", "barcode": "RMA12345678900", "line_items": + [{"product": {"title": "Square Reader", "barcode": "855658003251"}, "units": + 8}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '166' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments/shp_007ec538288d4a0b985e2044483a6add/forms + response: + body: + string: '{"created_at": "2024-01-19T21:49:02Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010708877", "updated_at": "2024-01-19T21:49:03Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_ec3830c61eda404d9f96ce23cbea0218", "object": "CustomsInfo", "created_at": + "2024-01-19T21:49:02Z", "updated_at": "2024-01-19T21:49:02Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_cb57079ceb6d48f5ab254f755a0cde9b", + "object": "CustomsItem", "created_at": "2024-01-19T21:49:02Z", "updated_at": + "2024-01-19T21:49:02Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_8f20394db71411ee85f4ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:49:02+00:00", "updated_at": + "2024-01-19T21:49:02+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_801684df328647c89e3bc7c6554da7aa", + "object": "Parcel", "created_at": "2024-01-19T21:49:02Z", "updated_at": "2024-01-19T21:49:02Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_43f40292f05642bd9f00ab7ad4b8089c", "created_at": "2024-01-19T21:49:02Z", + "updated_at": "2024-01-19T21:49:03Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:49:02Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e880ebabbe97d94d509e4275f75ea7215b.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_2b79992be31b4233bf39281a7a07a675", "object": + "Rate", "created_at": "2024-01-19T21:49:02Z", "updated_at": "2024-01-19T21:49:02Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_007ec538288d4a0b985e2044483a6add", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_d27c6350818a466980ae857a2876edd1", + "object": "Rate", "created_at": "2024-01-19T21:49:02Z", "updated_at": "2024-01-19T21:49:02Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_007ec538288d4a0b985e2044483a6add", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_a1e62fdb58194e9a831588b5f1675058", + "object": "Rate", "created_at": "2024-01-19T21:49:02Z", "updated_at": "2024-01-19T21:49:02Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_007ec538288d4a0b985e2044483a6add", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_3c9f268a14054d23aa57ed32e47998d3", + "object": "Rate", "created_at": "2024-01-19T21:49:02Z", "updated_at": "2024-01-19T21:49:02Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_007ec538288d4a0b985e2044483a6add", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_48fcf4922a854460931152a00fb7d19e", "object": "Rate", "created_at": + "2024-01-19T21:49:02Z", "updated_at": "2024-01-19T21:49:02Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_007ec538288d4a0b985e2044483a6add", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_d27c6350818a466980ae857a2876edd1", + "object": "Rate", "created_at": "2024-01-19T21:49:02Z", "updated_at": "2024-01-19T21:49:02Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_007ec538288d4a0b985e2044483a6add", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_3aa97362cae14aa883ebfa90e5ba6043", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708877", + "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:49:03Z", + "updated_at": "2024-01-19T21:49:03Z", "signed_by": null, "weight": null, "est_delivery_date": + "2024-01-19T21:49:03Z", "shipment_id": "shp_007ec538288d4a0b985e2044483a6add", + "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": + "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-19T21:49:03Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", + "message": "Shipping Label Created", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-20T10:26:03Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": + null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": + null}, "public_url": "https://track.easypost.com/djE6dHJrXzNhYTk3MzYyY2FlMTRhYTg4M2ViZmE5MGU1YmE2MDQz"}, + "to_address": {"id": "adr_8f1e5448b71411eeb785ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:49:02+00:00", "updated_at": "2024-01-19T21:49:02+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_8f20394db71411ee85f4ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:49:02+00:00", "updated_at": + "2024-01-19T21:49:02+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_8f1e5448b71411eeb785ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:49:02+00:00", "updated_at": "2024-01-19T21:49:02+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [{"object": "Form", "id": "form_a31e70f11a9a42348e03b8cc22869682", + "created_at": "2024-01-19T21:49:04Z", "updated_at": "2024-01-19T21:49:04Z", + "mode": "test", "form_type": "return_packing_slip", "form_url": "https://easypost-files.s3-us-west-2.amazonaws.com/files/form/20240119/9248dccc915a4524b4df17dc335110a3.pdf", + "submitted_electronically": null}], "fees": [{"object": "Fee", "type": "LabelFee", + "amount": "0.00000", "charged": true, "refunded": false}, {"object": "Fee", + "type": "PostageFee", "amount": "7.99000", "charged": true, "refunded": false}], + "id": "shp_007ec538288d4a0b985e2044483a6add", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '9814' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_007ec538288d4a0b985e2044483a6add/forms/return_packing_slip + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda965aaee4fe78bb48e00116be1 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.639800' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:58:23Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010711389", "updated_at": "2024-01-19T21:58:24Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_95f7857ac9ad4c599f4992d3947c6db2", "object": "CustomsInfo", "created_at": + "2024-01-19T21:58:23Z", "updated_at": "2024-01-19T21:58:23Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_54fde56103d74d0193d278445580724c", + "object": "CustomsItem", "created_at": "2024-01-19T21:58:23Z", "updated_at": + "2024-01-19T21:58:23Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_ddb57295b71511eea89eac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:58:23+00:00", "updated_at": + "2024-01-19T21:58:23+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_d1c6ba0af97d46f8954f2c767428abd6", + "object": "Parcel", "created_at": "2024-01-19T21:58:23Z", "updated_at": "2024-01-19T21:58:23Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_8a438eacd62a492f9f71c6d9e9afc26a", "created_at": "2024-01-19T21:58:24Z", + "updated_at": "2024-01-19T21:58:24Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:58:24Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8385741bb1c674b6891edfe570eaf1396.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_08a24c94032143a78975e4f59d2daeef", "object": + "Rate", "created_at": "2024-01-19T21:58:23Z", "updated_at": "2024-01-19T21:58:23Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_328a74fa737044a4adf02d2a1ee30029", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f4c7f1fe271f4b7aae90a3c68703e349", + "object": "Rate", "created_at": "2024-01-19T21:58:23Z", "updated_at": "2024-01-19T21:58:23Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_328a74fa737044a4adf02d2a1ee30029", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_daae698c19234407909f7b54b0d39ce2", + "object": "Rate", "created_at": "2024-01-19T21:58:23Z", "updated_at": "2024-01-19T21:58:23Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_328a74fa737044a4adf02d2a1ee30029", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_f346407036bb4e8c8dfc54b032110551", "object": "Rate", "created_at": + "2024-01-19T21:58:23Z", "updated_at": "2024-01-19T21:58:23Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_328a74fa737044a4adf02d2a1ee30029", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_8dd2a1f7d5fe482a910c7376e80a9230", "object": "Rate", "created_at": + "2024-01-19T21:58:23Z", "updated_at": "2024-01-19T21:58:23Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_328a74fa737044a4adf02d2a1ee30029", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_08a24c94032143a78975e4f59d2daeef", + "object": "Rate", "created_at": "2024-01-19T21:58:24Z", "updated_at": "2024-01-19T21:58:24Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_328a74fa737044a4adf02d2a1ee30029", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_53c7186f3de142a29b241d44b7ed6fa6", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711389", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:58:24Z", + "updated_at": "2024-01-19T21:58:24Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_328a74fa737044a4adf02d2a1ee30029", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzUzYzcxODZmM2RlMTQyYTI5YjI0MWQ0NGI3ZWQ2ZmE2"}, + "to_address": {"id": "adr_ddb2d598b71511eea49c3cecef1b359e", "object": "Address", + "created_at": "2024-01-19T21:58:23+00:00", "updated_at": "2024-01-19T21:58:23+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_ddb57295b71511eea89eac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:58:23+00:00", "updated_at": + "2024-01-19T21:58:23+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_ddb2d598b71511eea49c3cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:58:23+00:00", "updated_at": "2024-01-19T21:58:23+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_328a74fa737044a4adf02d2a1ee30029", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_328a74fa737044a4adf02d2a1ee30029 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf07fe798bc21000f70a5 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.909717' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"form": {"type": "return_packing_slip", "barcode": "RMA12345678900", "line_items": + [{"product": {"title": "Square Reader", "barcode": "855658003251"}, "units": + 8}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '166' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments/shp_328a74fa737044a4adf02d2a1ee30029/forms + response: + body: + string: '{"created_at": "2024-01-19T21:58:23Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010711389", "updated_at": "2024-01-19T21:58:24Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_95f7857ac9ad4c599f4992d3947c6db2", "object": "CustomsInfo", "created_at": + "2024-01-19T21:58:23Z", "updated_at": "2024-01-19T21:58:23Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_54fde56103d74d0193d278445580724c", + "object": "CustomsItem", "created_at": "2024-01-19T21:58:23Z", "updated_at": + "2024-01-19T21:58:23Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_ddb57295b71511eea89eac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:58:23+00:00", "updated_at": + "2024-01-19T21:58:23+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_d1c6ba0af97d46f8954f2c767428abd6", + "object": "Parcel", "created_at": "2024-01-19T21:58:23Z", "updated_at": "2024-01-19T21:58:23Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_8a438eacd62a492f9f71c6d9e9afc26a", "created_at": "2024-01-19T21:58:24Z", + "updated_at": "2024-01-19T21:58:24Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:58:24Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8385741bb1c674b6891edfe570eaf1396.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_08a24c94032143a78975e4f59d2daeef", "object": + "Rate", "created_at": "2024-01-19T21:58:23Z", "updated_at": "2024-01-19T21:58:23Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_328a74fa737044a4adf02d2a1ee30029", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f4c7f1fe271f4b7aae90a3c68703e349", + "object": "Rate", "created_at": "2024-01-19T21:58:23Z", "updated_at": "2024-01-19T21:58:23Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_328a74fa737044a4adf02d2a1ee30029", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_daae698c19234407909f7b54b0d39ce2", + "object": "Rate", "created_at": "2024-01-19T21:58:23Z", "updated_at": "2024-01-19T21:58:23Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_328a74fa737044a4adf02d2a1ee30029", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_f346407036bb4e8c8dfc54b032110551", "object": "Rate", "created_at": + "2024-01-19T21:58:23Z", "updated_at": "2024-01-19T21:58:23Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_328a74fa737044a4adf02d2a1ee30029", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_8dd2a1f7d5fe482a910c7376e80a9230", "object": "Rate", "created_at": + "2024-01-19T21:58:23Z", "updated_at": "2024-01-19T21:58:23Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_328a74fa737044a4adf02d2a1ee30029", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_08a24c94032143a78975e4f59d2daeef", + "object": "Rate", "created_at": "2024-01-19T21:58:24Z", "updated_at": "2024-01-19T21:58:24Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_328a74fa737044a4adf02d2a1ee30029", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_53c7186f3de142a29b241d44b7ed6fa6", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711389", + "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:58:24Z", + "updated_at": "2024-01-19T21:58:24Z", "signed_by": null, "weight": null, "est_delivery_date": + "2024-01-19T21:58:24Z", "shipment_id": "shp_328a74fa737044a4adf02d2a1ee30029", + "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": + "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-19T21:58:24Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", + "message": "Shipping Label Created", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-20T10:35:24Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": + null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": + null}, "public_url": "https://track.easypost.com/djE6dHJrXzUzYzcxODZmM2RlMTQyYTI5YjI0MWQ0NGI3ZWQ2ZmE2"}, + "to_address": {"id": "adr_ddb2d598b71511eea49c3cecef1b359e", "object": "Address", + "created_at": "2024-01-19T21:58:23+00:00", "updated_at": "2024-01-19T21:58:23+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_ddb57295b71511eea89eac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:58:23+00:00", "updated_at": + "2024-01-19T21:58:23+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_ddb2d598b71511eea49c3cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:58:23+00:00", "updated_at": "2024-01-19T21:58:23+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [{"object": "Form", "id": "form_f154c4d29dcb49a3a942044a8f3aaf34", + "created_at": "2024-01-19T21:58:25Z", "updated_at": "2024-01-19T21:58:25Z", + "mode": "test", "form_type": "return_packing_slip", "form_url": "https://easypost-files.s3-us-west-2.amazonaws.com/files/form/20240119/f40fa8cbe22b44f0acbb052d8663f9d7.pdf", + "submitted_electronically": null}], "fees": [{"object": "Fee", "type": "LabelFee", + "amount": "0.00000", "charged": true, "refunded": false}, {"object": "Fee", + "type": "PostageFee", "amount": "7.99000", "charged": true, "refunded": false}], + "id": "shp_328a74fa737044a4adf02d2a1ee30029", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '9814' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_328a74fa737044a4adf02d2a1ee30029/forms/return_packing_slip + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaf080e798bc22000f7145 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.589453' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T22:01:17Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010711815", "updated_at": "2024-01-19T22:01:18Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_c8f543366b4c488e88bf6d1400c50bc6", "object": "CustomsInfo", "created_at": + "2024-01-19T22:01:17Z", "updated_at": "2024-01-19T22:01:17Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_addb88a4504e416bb473720d16f0ed3e", + "object": "CustomsItem", "created_at": "2024-01-19T22:01:17Z", "updated_at": + "2024-01-19T22:01:17Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_45852e66b71611ee9786ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T22:01:17+00:00", "updated_at": + "2024-01-19T22:01:17+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_bf57901fe0914e6b857b408aa58f5343", + "object": "Parcel", "created_at": "2024-01-19T22:01:17Z", "updated_at": "2024-01-19T22:01:17Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_3466f99e363a456f87551369d31f6329", "created_at": "2024-01-19T22:01:18Z", + "updated_at": "2024-01-19T22:01:18Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T22:01:18Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8d6a13b7a60764e21a5ea1435e84b0b0c.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_b39a261a45904a428f418e1d4c2f34a5", "object": + "Rate", "created_at": "2024-01-19T22:01:18Z", "updated_at": "2024-01-19T22:01:18Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_97d65932431e4562a0a68c78a80c7a3c", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c5791b31336e4e4f90a7c4b2ea75338f", + "object": "Rate", "created_at": "2024-01-19T22:01:18Z", "updated_at": "2024-01-19T22:01:18Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_97d65932431e4562a0a68c78a80c7a3c", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_49c55d373b524f9690e87ebf36b2629b", + "object": "Rate", "created_at": "2024-01-19T22:01:18Z", "updated_at": "2024-01-19T22:01:18Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_97d65932431e4562a0a68c78a80c7a3c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_f9bb07784a7644678c3efb2a8a98705b", "object": "Rate", "created_at": + "2024-01-19T22:01:18Z", "updated_at": "2024-01-19T22:01:18Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_97d65932431e4562a0a68c78a80c7a3c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_f05fc27aa30b44909e4f3268333acc3c", "object": "Rate", "created_at": + "2024-01-19T22:01:18Z", "updated_at": "2024-01-19T22:01:18Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_97d65932431e4562a0a68c78a80c7a3c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_b39a261a45904a428f418e1d4c2f34a5", + "object": "Rate", "created_at": "2024-01-19T22:01:18Z", "updated_at": "2024-01-19T22:01:18Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_97d65932431e4562a0a68c78a80c7a3c", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_3777dff7dfe94c3fbd967990ed18fd76", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711815", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:01:18Z", + "updated_at": "2024-01-19T22:01:18Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_97d65932431e4562a0a68c78a80c7a3c", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzM3NzdkZmY3ZGZlOTRjM2ZiZDk2Nzk5MGVkMThmZDc2"}, + "to_address": {"id": "adr_4582ce32b71611ee85733cecef1b359e", "object": "Address", + "created_at": "2024-01-19T22:01:17+00:00", "updated_at": "2024-01-19T22:01:18+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_45852e66b71611ee9786ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T22:01:17+00:00", "updated_at": + "2024-01-19T22:01:17+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_4582ce32b71611ee85733cecef1b359e", "object": + "Address", "created_at": "2024-01-19T22:01:17+00:00", "updated_at": "2024-01-19T22:01:18+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_97d65932431e4562a0a68c78a80c7a3c", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_97d65932431e4562a0a68c78a80c7a3c + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf12de798c47e000ffb08 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.089660' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"form": {"type": "return_packing_slip", "barcode": "RMA12345678900", "line_items": + [{"product": {"title": "Square Reader", "barcode": "855658003251"}, "units": + 8}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '166' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments/shp_97d65932431e4562a0a68c78a80c7a3c/forms + response: + body: + string: '{"created_at": "2024-01-19T22:01:17Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010711815", "updated_at": "2024-01-19T22:01:18Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_c8f543366b4c488e88bf6d1400c50bc6", "object": "CustomsInfo", "created_at": + "2024-01-19T22:01:17Z", "updated_at": "2024-01-19T22:01:17Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_addb88a4504e416bb473720d16f0ed3e", + "object": "CustomsItem", "created_at": "2024-01-19T22:01:17Z", "updated_at": + "2024-01-19T22:01:17Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_45852e66b71611ee9786ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T22:01:17+00:00", "updated_at": + "2024-01-19T22:01:17+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_bf57901fe0914e6b857b408aa58f5343", + "object": "Parcel", "created_at": "2024-01-19T22:01:17Z", "updated_at": "2024-01-19T22:01:17Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_3466f99e363a456f87551369d31f6329", "created_at": "2024-01-19T22:01:18Z", + "updated_at": "2024-01-19T22:01:18Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T22:01:18Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8d6a13b7a60764e21a5ea1435e84b0b0c.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_b39a261a45904a428f418e1d4c2f34a5", "object": + "Rate", "created_at": "2024-01-19T22:01:18Z", "updated_at": "2024-01-19T22:01:18Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_97d65932431e4562a0a68c78a80c7a3c", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c5791b31336e4e4f90a7c4b2ea75338f", + "object": "Rate", "created_at": "2024-01-19T22:01:18Z", "updated_at": "2024-01-19T22:01:18Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_97d65932431e4562a0a68c78a80c7a3c", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_49c55d373b524f9690e87ebf36b2629b", + "object": "Rate", "created_at": "2024-01-19T22:01:18Z", "updated_at": "2024-01-19T22:01:18Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_97d65932431e4562a0a68c78a80c7a3c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_f9bb07784a7644678c3efb2a8a98705b", "object": "Rate", "created_at": + "2024-01-19T22:01:18Z", "updated_at": "2024-01-19T22:01:18Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_97d65932431e4562a0a68c78a80c7a3c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_f05fc27aa30b44909e4f3268333acc3c", "object": "Rate", "created_at": + "2024-01-19T22:01:18Z", "updated_at": "2024-01-19T22:01:18Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_97d65932431e4562a0a68c78a80c7a3c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_b39a261a45904a428f418e1d4c2f34a5", + "object": "Rate", "created_at": "2024-01-19T22:01:18Z", "updated_at": "2024-01-19T22:01:18Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_97d65932431e4562a0a68c78a80c7a3c", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_3777dff7dfe94c3fbd967990ed18fd76", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711815", + "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T22:01:18Z", + "updated_at": "2024-01-19T22:01:18Z", "signed_by": null, "weight": null, "est_delivery_date": + "2024-01-19T22:01:18Z", "shipment_id": "shp_97d65932431e4562a0a68c78a80c7a3c", + "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": + "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-19T22:01:18Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", + "message": "Shipping Label Created", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-20T10:38:18Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": + null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": + null}, "public_url": "https://track.easypost.com/djE6dHJrXzM3NzdkZmY3ZGZlOTRjM2ZiZDk2Nzk5MGVkMThmZDc2"}, + "to_address": {"id": "adr_4582ce32b71611ee85733cecef1b359e", "object": "Address", + "created_at": "2024-01-19T22:01:17+00:00", "updated_at": "2024-01-19T22:01:18+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_45852e66b71611ee9786ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T22:01:17+00:00", "updated_at": + "2024-01-19T22:01:17+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_4582ce32b71611ee85733cecef1b359e", "object": + "Address", "created_at": "2024-01-19T22:01:17+00:00", "updated_at": "2024-01-19T22:01:18+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [{"object": "Form", "id": "form_dc081a8aad5c40adb4899d923e132b0e", + "created_at": "2024-01-19T22:01:19Z", "updated_at": "2024-01-19T22:01:19Z", + "mode": "test", "form_type": "return_packing_slip", "form_url": "https://easypost-files.s3-us-west-2.amazonaws.com/files/form/20240119/e11d6493920e4700ad6f0428eb141a32.pdf", + "submitted_electronically": null}], "fees": [{"object": "Fee", "type": "LabelFee", + "amount": "0.00000", "charged": true, "refunded": false}, {"object": "Fee", + "type": "PostageFee", "amount": "7.99000", "charged": true, "refunded": false}], + "id": "shp_97d65932431e4562a0a68c78a80c7a3c", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '9814' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_97d65932431e4562a0a68c78a80c7a3c/forms/return_packing_slip + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaf12fe798c47f000ffc5f + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.695620' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T22:05:03Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010712546", "updated_at": "2024-01-19T22:05:04Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_e7d9083f1098482bb026ab8f2cedf4b4", "object": "CustomsInfo", "created_at": + "2024-01-19T22:05:03Z", "updated_at": "2024-01-19T22:05:03Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_ffea7edbb23f4f05b3f61ccd304c2bb4", + "object": "CustomsItem", "created_at": "2024-01-19T22:05:03Z", "updated_at": + "2024-01-19T22:05:03Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_cc3fc437b71611eeb229ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:05:03+00:00", "updated_at": + "2024-01-19T22:05:03+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_fb13c3f9282242b5b1ed2670af08360e", + "object": "Parcel", "created_at": "2024-01-19T22:05:03Z", "updated_at": "2024-01-19T22:05:03Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_637c1f10151744068006a156d6c39cd1", "created_at": "2024-01-19T22:05:04Z", + "updated_at": "2024-01-19T22:05:04Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T22:05:04Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e80bb8f6b212944e0fab4b28247fbf594d.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_91e1a2f7d8764098b5b1133db8fa5145", "object": + "Rate", "created_at": "2024-01-19T22:05:04Z", "updated_at": "2024-01-19T22:05:04Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_4629fe94f4494692b8b689e0f4866acf", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_cce878a3aafa419faeaa6f631444289c", + "object": "Rate", "created_at": "2024-01-19T22:05:04Z", "updated_at": "2024-01-19T22:05:04Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_4629fe94f4494692b8b689e0f4866acf", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_36e3f4dddeea465aabd042dcc2ed77cf", + "object": "Rate", "created_at": "2024-01-19T22:05:04Z", "updated_at": "2024-01-19T22:05:04Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_4629fe94f4494692b8b689e0f4866acf", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_8d3ee147d4f244a799ee07944f67d9b8", + "object": "Rate", "created_at": "2024-01-19T22:05:04Z", "updated_at": "2024-01-19T22:05:04Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_4629fe94f4494692b8b689e0f4866acf", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_a1e5b84fac27475c964400353bb9de85", "object": "Rate", "created_at": + "2024-01-19T22:05:04Z", "updated_at": "2024-01-19T22:05:04Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_4629fe94f4494692b8b689e0f4866acf", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_cce878a3aafa419faeaa6f631444289c", + "object": "Rate", "created_at": "2024-01-19T22:05:04Z", "updated_at": "2024-01-19T22:05:04Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_4629fe94f4494692b8b689e0f4866acf", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_b08830aad6cc43ddb28c44c4a642b3fc", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010712546", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:05:04Z", + "updated_at": "2024-01-19T22:05:04Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_4629fe94f4494692b8b689e0f4866acf", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrX2IwODgzMGFhZDZjYzQzZGRiMjhjNDRjNGE2NDJiM2Zj"}, + "to_address": {"id": "adr_cc3d640cb71611eeb49bac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T22:05:03+00:00", "updated_at": "2024-01-19T22:05:04+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_cc3fc437b71611eeb229ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:05:03+00:00", "updated_at": + "2024-01-19T22:05:03+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_cc3d640cb71611eeb49bac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T22:05:03+00:00", "updated_at": "2024-01-19T22:05:04+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_4629fe94f4494692b8b689e0f4866acf", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_4629fe94f4494692b8b689e0f4866acf + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaf20fe798d05b0010a9eb + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.001298' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"form": {"type": "return_packing_slip", "barcode": "RMA12345678900", "line_items": + [{"product": {"title": "Square Reader", "barcode": "855658003251"}, "units": + 8}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '166' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments/shp_4629fe94f4494692b8b689e0f4866acf/forms + response: + body: + string: '{"created_at": "2024-01-19T22:05:03Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010712546", "updated_at": "2024-01-19T22:05:04Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_e7d9083f1098482bb026ab8f2cedf4b4", "object": "CustomsInfo", "created_at": + "2024-01-19T22:05:03Z", "updated_at": "2024-01-19T22:05:03Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_ffea7edbb23f4f05b3f61ccd304c2bb4", + "object": "CustomsItem", "created_at": "2024-01-19T22:05:03Z", "updated_at": + "2024-01-19T22:05:03Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_cc3fc437b71611eeb229ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:05:03+00:00", "updated_at": + "2024-01-19T22:05:03+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_fb13c3f9282242b5b1ed2670af08360e", + "object": "Parcel", "created_at": "2024-01-19T22:05:03Z", "updated_at": "2024-01-19T22:05:03Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_637c1f10151744068006a156d6c39cd1", "created_at": "2024-01-19T22:05:04Z", + "updated_at": "2024-01-19T22:05:04Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T22:05:04Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e80bb8f6b212944e0fab4b28247fbf594d.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_91e1a2f7d8764098b5b1133db8fa5145", "object": + "Rate", "created_at": "2024-01-19T22:05:04Z", "updated_at": "2024-01-19T22:05:04Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_4629fe94f4494692b8b689e0f4866acf", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_cce878a3aafa419faeaa6f631444289c", + "object": "Rate", "created_at": "2024-01-19T22:05:04Z", "updated_at": "2024-01-19T22:05:04Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_4629fe94f4494692b8b689e0f4866acf", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_36e3f4dddeea465aabd042dcc2ed77cf", + "object": "Rate", "created_at": "2024-01-19T22:05:04Z", "updated_at": "2024-01-19T22:05:04Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_4629fe94f4494692b8b689e0f4866acf", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_8d3ee147d4f244a799ee07944f67d9b8", + "object": "Rate", "created_at": "2024-01-19T22:05:04Z", "updated_at": "2024-01-19T22:05:04Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_4629fe94f4494692b8b689e0f4866acf", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_a1e5b84fac27475c964400353bb9de85", "object": "Rate", "created_at": + "2024-01-19T22:05:04Z", "updated_at": "2024-01-19T22:05:04Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_4629fe94f4494692b8b689e0f4866acf", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_cce878a3aafa419faeaa6f631444289c", + "object": "Rate", "created_at": "2024-01-19T22:05:04Z", "updated_at": "2024-01-19T22:05:04Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_4629fe94f4494692b8b689e0f4866acf", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_b08830aad6cc43ddb28c44c4a642b3fc", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010712546", + "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T22:05:04Z", + "updated_at": "2024-01-19T22:05:04Z", "signed_by": null, "weight": null, "est_delivery_date": + "2024-01-19T22:05:04Z", "shipment_id": "shp_4629fe94f4494692b8b689e0f4866acf", + "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": + "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-19T22:05:04Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", + "message": "Shipping Label Created", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-20T10:42:04Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": + null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": + null}, "public_url": "https://track.easypost.com/djE6dHJrX2IwODgzMGFhZDZjYzQzZGRiMjhjNDRjNGE2NDJiM2Zj"}, + "to_address": {"id": "adr_cc3d640cb71611eeb49bac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T22:05:03+00:00", "updated_at": "2024-01-19T22:05:04+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_cc3fc437b71611eeb229ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:05:03+00:00", "updated_at": + "2024-01-19T22:05:03+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_cc3d640cb71611eeb49bac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T22:05:03+00:00", "updated_at": "2024-01-19T22:05:04+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [{"object": "Form", "id": "form_4b15cdfc1e074557a80f5383c788d155", + "created_at": "2024-01-19T22:05:05Z", "updated_at": "2024-01-19T22:05:05Z", + "mode": "test", "form_type": "return_packing_slip", "form_url": "https://easypost-files.s3-us-west-2.amazonaws.com/files/form/20240119/e7a6df70e3b14d07a1af9ec350b67d86.pdf", + "submitted_electronically": null}], "fees": [{"object": "Fee", "type": "LabelFee", + "amount": "0.00000", "charged": true, "refunded": false}, {"object": "Fee", + "type": "PostageFee", "amount": "7.99000", "charged": true, "refunded": false}], + "id": "shp_4629fe94f4494692b8b689e0f4866acf", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '9814' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_4629fe94f4494692b8b689e0f4866acf/forms/return_packing_slip + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaf211e798d05d0010aac0 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.680226' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T22:06:37Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010713130", "updated_at": "2024-01-19T22:06:38Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_6424f9c6c56a45e0a053d41bab765366", "object": "CustomsInfo", "created_at": + "2024-01-19T22:06:37Z", "updated_at": "2024-01-19T22:06:37Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_f3b93149111747b685e79f7e45123555", + "object": "CustomsItem", "created_at": "2024-01-19T22:06:37Z", "updated_at": + "2024-01-19T22:06:37Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_03d0ac30b71711ee8522ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:06:37+00:00", "updated_at": + "2024-01-19T22:06:37+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_aba631355c144c79b47714219c99b56a", + "object": "Parcel", "created_at": "2024-01-19T22:06:37Z", "updated_at": "2024-01-19T22:06:37Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_24118cf8a19e46aa88507abf3ac31460", "created_at": "2024-01-19T22:06:37Z", + "updated_at": "2024-01-19T22:06:38Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T22:06:37Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e85006b77f7f2f4a44b65598f187ea2830.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_bff27d36ac6c4b09a9637f99acddaeb8", "object": + "Rate", "created_at": "2024-01-19T22:06:37Z", "updated_at": "2024-01-19T22:06:37Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_04f452cb0a14438c93d21970a907560f", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_069d6fd9fd8548b8aae17a80a08cb664", + "object": "Rate", "created_at": "2024-01-19T22:06:37Z", "updated_at": "2024-01-19T22:06:37Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_04f452cb0a14438c93d21970a907560f", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_6f5f0c38a162400291fa06e7a76cb5f7", + "object": "Rate", "created_at": "2024-01-19T22:06:37Z", "updated_at": "2024-01-19T22:06:37Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_04f452cb0a14438c93d21970a907560f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_50a8cb70d1e24035b9ab15e714d3f3ce", "object": "Rate", "created_at": + "2024-01-19T22:06:37Z", "updated_at": "2024-01-19T22:06:37Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_04f452cb0a14438c93d21970a907560f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_87d724718ad14eb384f691c06a302751", "object": "Rate", "created_at": + "2024-01-19T22:06:37Z", "updated_at": "2024-01-19T22:06:37Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_04f452cb0a14438c93d21970a907560f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_bff27d36ac6c4b09a9637f99acddaeb8", + "object": "Rate", "created_at": "2024-01-19T22:06:37Z", "updated_at": "2024-01-19T22:06:37Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_04f452cb0a14438c93d21970a907560f", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_4ef6c65400804e3f98cb3c2b0056b8b9", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010713130", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:06:38Z", + "updated_at": "2024-01-19T22:06:38Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_04f452cb0a14438c93d21970a907560f", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzRlZjZjNjU0MDA4MDRlM2Y5OGNiM2MyYjAwNTZiOGI5"}, + "to_address": {"id": "adr_03cba68eb71711ee959cac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T22:06:37+00:00", "updated_at": "2024-01-19T22:06:37+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_03d0ac30b71711ee8522ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:06:37+00:00", "updated_at": + "2024-01-19T22:06:37+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_03cba68eb71711ee959cac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T22:06:37+00:00", "updated_at": "2024-01-19T22:06:37+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_04f452cb0a14438c93d21970a907560f", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_04f452cb0a14438c93d21970a907560f + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaf26de798d51e0010e946 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.116937' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"form": {"type": "return_packing_slip", "barcode": "RMA12345678900", "line_items": + [{"product": {"title": "Square Reader", "barcode": "855658003251"}, "units": + 8}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '166' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments/shp_04f452cb0a14438c93d21970a907560f/forms + response: + body: + string: '{"created_at": "2024-01-19T22:06:37Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010713130", "updated_at": "2024-01-19T22:06:38Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_6424f9c6c56a45e0a053d41bab765366", "object": "CustomsInfo", "created_at": + "2024-01-19T22:06:37Z", "updated_at": "2024-01-19T22:06:37Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_f3b93149111747b685e79f7e45123555", + "object": "CustomsItem", "created_at": "2024-01-19T22:06:37Z", "updated_at": + "2024-01-19T22:06:37Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_03d0ac30b71711ee8522ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:06:37+00:00", "updated_at": + "2024-01-19T22:06:37+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_aba631355c144c79b47714219c99b56a", + "object": "Parcel", "created_at": "2024-01-19T22:06:37Z", "updated_at": "2024-01-19T22:06:37Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_24118cf8a19e46aa88507abf3ac31460", "created_at": "2024-01-19T22:06:37Z", + "updated_at": "2024-01-19T22:06:38Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T22:06:37Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e85006b77f7f2f4a44b65598f187ea2830.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_bff27d36ac6c4b09a9637f99acddaeb8", "object": + "Rate", "created_at": "2024-01-19T22:06:37Z", "updated_at": "2024-01-19T22:06:37Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_04f452cb0a14438c93d21970a907560f", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_069d6fd9fd8548b8aae17a80a08cb664", + "object": "Rate", "created_at": "2024-01-19T22:06:37Z", "updated_at": "2024-01-19T22:06:37Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_04f452cb0a14438c93d21970a907560f", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_6f5f0c38a162400291fa06e7a76cb5f7", + "object": "Rate", "created_at": "2024-01-19T22:06:37Z", "updated_at": "2024-01-19T22:06:37Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_04f452cb0a14438c93d21970a907560f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_50a8cb70d1e24035b9ab15e714d3f3ce", "object": "Rate", "created_at": + "2024-01-19T22:06:37Z", "updated_at": "2024-01-19T22:06:37Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_04f452cb0a14438c93d21970a907560f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_87d724718ad14eb384f691c06a302751", "object": "Rate", "created_at": + "2024-01-19T22:06:37Z", "updated_at": "2024-01-19T22:06:37Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_04f452cb0a14438c93d21970a907560f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_bff27d36ac6c4b09a9637f99acddaeb8", + "object": "Rate", "created_at": "2024-01-19T22:06:37Z", "updated_at": "2024-01-19T22:06:37Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_04f452cb0a14438c93d21970a907560f", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_4ef6c65400804e3f98cb3c2b0056b8b9", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010713130", + "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T22:06:38Z", + "updated_at": "2024-01-19T22:06:38Z", "signed_by": null, "weight": null, "est_delivery_date": + "2024-01-19T22:06:38Z", "shipment_id": "shp_04f452cb0a14438c93d21970a907560f", + "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": + "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-19T22:06:38Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", + "message": "Shipping Label Created", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-20T10:43:38Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": + null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": + null}, "public_url": "https://track.easypost.com/djE6dHJrXzRlZjZjNjU0MDA4MDRlM2Y5OGNiM2MyYjAwNTZiOGI5"}, + "to_address": {"id": "adr_03cba68eb71711ee959cac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T22:06:37+00:00", "updated_at": "2024-01-19T22:06:37+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_03d0ac30b71711ee8522ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:06:37+00:00", "updated_at": + "2024-01-19T22:06:37+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_03cba68eb71711ee959cac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T22:06:37+00:00", "updated_at": "2024-01-19T22:06:37+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [{"object": "Form", "id": "form_4b25d2d2ef1648a4b45b51acc478f026", + "created_at": "2024-01-19T22:06:38Z", "updated_at": "2024-01-19T22:06:38Z", + "mode": "test", "form_type": "return_packing_slip", "form_url": "https://easypost-files.s3-us-west-2.amazonaws.com/files/form/20240119/31d3ac862c2d42079d47e43bfc6a00b9.pdf", + "submitted_electronically": null}], "fees": [{"object": "Fee", "type": "LabelFee", + "amount": "0.00000", "charged": true, "refunded": false}, {"object": "Fee", + "type": "PostageFee", "amount": "7.99000", "charged": true, "refunded": false}], + "id": "shp_04f452cb0a14438c93d21970a907560f", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '9814' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_04f452cb0a14438c93d21970a907560f/forms/return_packing_slip + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf26ee798d51f0010ea19 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.674338' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_insurance_create.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_insurance_create.yaml new file mode 100644 index 00000000..783013f6 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_insurance_create.yaml @@ -0,0 +1,870 @@ +interactions: +- request: + body: '{"insurance": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "tracking_code": "9400110898825022579493", + "carrier": "USPS", "amount": "100.00"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '530' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/insurances + response: + body: + string: '{"id": "ins_0c65f26dcda8479c865bef2e4cb90af3", "object": "Insurance", + "mode": "test", "reference": null, "status": "pending", "amount": "100.00000", + "provider": "easypost", "provider_id": null, "to_address": {"id": "adr_6beb8718b71311eea58dac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:40:53+00:00", "updated_at": + "2024-01-19T21:40:53+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": + "179 N HARBOR DR", "street2": "", "city": "REDONDO BEACH", "state": "CA", + "zip": "90277-2506", "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "from_address": {"id": "adr_6bf0bbe4b71311ee96f5ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:40:53+00:00", "updated_at": "2024-01-19T21:40:53+00:00", + "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": + "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": + "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", + "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": + null, "verifications": {"zip4": {"success": true, "errors": [], "details": + null}, "delivery": {"success": true, "errors": [], "details": {"latitude": + 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, + "shipment_id": null, "tracker": {"id": "trk_6479b5feac8244899897f8b474148608", + "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", + "status": "error", "status_detail": null, "created_at": "2024-01-19T21:32:23Z", + "updated_at": "2024-01-19T21:32:23Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": + "TrackingDetail", "message": "In test mode, only test tracking numbers are + valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", + "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T21:32:23Z", + "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": + "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], + "carrier_detail": null, "finalized": true, "is_return": false, "public_url": + "https://track.easypost.com/djE6dHJrXzY0NzliNWZlYWM4MjQ0ODk5ODk3ZjhiNDc0MTQ4NjA4", + "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": + "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": + false}, "messages": [], "created_at": "2024-01-19T21:40:53Z", "updated_at": + "2024-01-19T21:40:53Z"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2661' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/insurances/ins_0c65f26dcda8479c865bef2e4cb90af3 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaec65e78b9baa000cd6eb + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.175286' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"insurance": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "tracking_code": "9400110898825022579493", + "carrier": "USPS", "amount": "100.00"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '530' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/insurances + response: + body: + string: '{"id": "ins_06f489dff78d4107be8b7f1b77099a8e", "object": "Insurance", + "mode": "test", "reference": null, "status": "pending", "amount": "100.00000", + "provider": "easypost", "provider_id": null, "to_address": {"id": "adr_c471f5a7b71311eeb67aac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:43:22+00:00", "updated_at": + "2024-01-19T21:43:22+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": + "179 N HARBOR DR", "street2": "", "city": "REDONDO BEACH", "state": "CA", + "zip": "90277-2506", "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "from_address": {"id": "adr_c4780174b71311eeb67dac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:43:22+00:00", "updated_at": "2024-01-19T21:43:22+00:00", + "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": + "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": + "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", + "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": + null, "verifications": {"zip4": {"success": true, "errors": [], "details": + null}, "delivery": {"success": true, "errors": [], "details": {"latitude": + 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, + "shipment_id": null, "tracker": {"id": "trk_0d317281c8314376810372b729bd9a05", + "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", + "status": "error", "status_detail": null, "created_at": "2024-01-19T21:40:53Z", + "updated_at": "2024-01-19T21:40:53Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": + "TrackingDetail", "message": "In test mode, only test tracking numbers are + valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", + "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T21:40:53Z", + "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": + "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], + "carrier_detail": null, "finalized": true, "is_return": false, "public_url": + "https://track.easypost.com/djE6dHJrXzBkMzE3MjgxYzgzMTQzNzY4MTAzNzJiNzI5YmQ5YTA1", + "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": + "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": + false}, "messages": [], "created_at": "2024-01-19T21:43:22Z", "updated_at": + "2024-01-19T21:43:22Z"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2661' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/insurances/ins_06f489dff78d4107be8b7f1b77099a8e + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaecfae78ba3cc000d3497 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.179569' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"insurance": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "tracking_code": "9400110898825022579493", + "carrier": "USPS", "amount": "100.00"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '530' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/insurances + response: + body: + string: '{"id": "ins_a168418213374a6b8f9be17762ba4743", "object": "Insurance", + "mode": "test", "reference": null, "status": "pending", "amount": "100.00000", + "provider": "easypost", "provider_id": null, "to_address": {"id": "adr_4e08ce93b71411eea365ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:47:13+00:00", "updated_at": + "2024-01-19T21:47:13+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": + "179 N HARBOR DR", "street2": "", "city": "REDONDO BEACH", "state": "CA", + "zip": "90277-2506", "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "from_address": {"id": "adr_4e0e03b0b71411eea06a3cecef1b359e", "object": "Address", + "created_at": "2024-01-19T21:47:13+00:00", "updated_at": "2024-01-19T21:47:13+00:00", + "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": + "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": + "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", + "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": + null, "verifications": {"zip4": {"success": true, "errors": [], "details": + null}, "delivery": {"success": true, "errors": [], "details": {"latitude": + 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, + "shipment_id": null, "tracker": {"id": "trk_aa1880f4f8b340f18dc9fe16b2b06148", + "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", + "status": "error", "status_detail": null, "created_at": "2024-01-19T21:43:22Z", + "updated_at": "2024-01-19T21:43:22Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": + "TrackingDetail", "message": "In test mode, only test tracking numbers are + valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", + "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T21:43:22Z", + "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": + "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], + "carrier_detail": null, "finalized": true, "is_return": false, "public_url": + "https://track.easypost.com/djE6dHJrX2FhMTg4MGY0ZjhiMzQwZjE4ZGM5ZmUxNmIyYjA2MTQ4", + "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": + "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": + false}, "messages": [], "created_at": "2024-01-19T21:47:13Z", "updated_at": + "2024-01-19T21:47:13Z"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2661' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/insurances/ins_a168418213374a6b8f9be17762ba4743 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdaa65aaede1e78bac6c0011296f + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.173485' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"insurance": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "tracking_code": "9400110898825022579493", + "carrier": "USPS", "amount": "100.00"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '530' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/insurances + response: + body: + string: '{"id": "ins_98b4aae9d5f240c28f7b95f48eaa2a6e", "object": "Insurance", + "mode": "test", "reference": null, "status": "pending", "amount": "100.00000", + "provider": "easypost", "provider_id": null, "to_address": {"id": "adr_9091468db71411eeb69eac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:49:04+00:00", "updated_at": + "2024-01-19T21:49:04+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": + "179 N HARBOR DR", "street2": "", "city": "REDONDO BEACH", "state": "CA", + "zip": "90277-2506", "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "from_address": {"id": "adr_90969396b71411eeb6a0ac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T21:49:04+00:00", "updated_at": "2024-01-19T21:49:04+00:00", + "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": + "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": + "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", + "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": + null, "verifications": {"zip4": {"success": true, "errors": [], "details": + null}, "delivery": {"success": true, "errors": [], "details": {"latitude": + 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, + "shipment_id": null, "tracker": {"id": "trk_b77f49eb252e4cd4ad106668d9fd99c2", + "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", + "status": "error", "status_detail": null, "created_at": "2024-01-19T21:47:13Z", + "updated_at": "2024-01-19T21:47:13Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": + "TrackingDetail", "message": "In test mode, only test tracking numbers are + valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", + "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T21:47:13Z", + "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": + "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], + "carrier_detail": null, "finalized": true, "is_return": false, "public_url": + "https://track.easypost.com/djE6dHJrX2I3N2Y0OWViMjUyZTRjZDRhZDEwNjY2OGQ5ZmQ5OWMy", + "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": + "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": + false}, "messages": [], "created_at": "2024-01-19T21:49:04Z", "updated_at": + "2024-01-19T21:49:04Z"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2661' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/insurances/ins_98b4aae9d5f240c28f7b95f48eaa2a6e + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdae65aaee50e78bb48f00116c86 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.183866' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"insurance": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "tracking_code": "9400110898825022579493", + "carrier": "USPS", "amount": "100.00"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '530' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/insurances + response: + body: + string: '{"id": "ins_afb14346beb740988100098e18089437", "object": "Insurance", + "mode": "test", "reference": null, "status": "pending", "amount": "100.00000", + "provider": "easypost", "provider_id": null, "to_address": {"id": "adr_df072e59b71511eea4f53cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:58:25+00:00", "updated_at": + "2024-01-19T21:58:25+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": + "179 N HARBOR DR", "street2": "", "city": "REDONDO BEACH", "state": "CA", + "zip": "90277-2506", "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "from_address": {"id": "adr_df0cec70b71511eea8f5ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:58:25+00:00", "updated_at": "2024-01-19T21:58:25+00:00", + "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": + "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": + "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", + "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": + null, "verifications": {"zip4": {"success": true, "errors": [], "details": + null}, "delivery": {"success": true, "errors": [], "details": {"latitude": + 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, + "shipment_id": null, "tracker": {"id": "trk_5aa2f8f307dd4f47a7d73daccbff4743", + "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", + "status": "error", "status_detail": null, "created_at": "2024-01-19T21:49:04Z", + "updated_at": "2024-01-19T21:49:04Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": + "TrackingDetail", "message": "In test mode, only test tracking numbers are + valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", + "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T21:49:04Z", + "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": + "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], + "carrier_detail": null, "finalized": true, "is_return": false, "public_url": + "https://track.easypost.com/djE6dHJrXzVhYTJmOGYzMDdkZDRmNDdhN2Q3M2RhY2NiZmY0NzQz", + "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": + "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": + false}, "messages": [], "created_at": "2024-01-19T21:58:25Z", "updated_at": + "2024-01-19T21:58:25Z"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2661' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/insurances/ins_afb14346beb740988100098e18089437 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf081e798bc23000f71e8 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.171329' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"insurance": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "tracking_code": "9400110898825022579493", + "carrier": "USPS", "amount": "100.00"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '530' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/insurances + response: + body: + string: '{"id": "ins_8ff16f049eca4bf18be8f285432badb0", "object": "Insurance", + "mode": "test", "reference": null, "status": "pending", "amount": "100.00000", + "provider": "easypost", "provider_id": null, "to_address": {"id": "adr_46fc641cb71611ee89efac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T22:01:20+00:00", "updated_at": + "2024-01-19T22:01:20+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": + "179 N HARBOR DR", "street2": "", "city": "REDONDO BEACH", "state": "CA", + "zip": "90277-2506", "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "from_address": {"id": "adr_47022d00b71611ee9811ac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T22:01:20+00:00", "updated_at": "2024-01-19T22:01:20+00:00", + "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": + "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": + "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", + "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": + null, "verifications": {"zip4": {"success": true, "errors": [], "details": + null}, "delivery": {"success": true, "errors": [], "details": {"latitude": + 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, + "shipment_id": null, "tracker": {"id": "trk_5063b8124d43497d996bb4b27ea0f589", + "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", + "status": "error", "status_detail": null, "created_at": "2024-01-19T21:58:26Z", + "updated_at": "2024-01-19T21:58:26Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": + "TrackingDetail", "message": "In test mode, only test tracking numbers are + valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", + "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T21:58:26Z", + "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": + "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], + "carrier_detail": null, "finalized": true, "is_return": false, "public_url": + "https://track.easypost.com/djE6dHJrXzUwNjNiODEyNGQ0MzQ5N2Q5OTZiYjRiMjdlYTBmNTg5", + "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": + "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": + false}, "messages": [], "created_at": "2024-01-19T22:01:20Z", "updated_at": + "2024-01-19T22:01:20Z"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2661' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/insurances/ins_8ff16f049eca4bf18be8f285432badb0 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf130e798c480000ffd73 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.181301' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"insurance": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "tracking_code": "9400110898825022579493", + "carrier": "USPS", "amount": "100.00"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '530' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/insurances + response: + body: + string: '{"id": "ins_65246d2065c94992b3d0716652f1ce39", "object": "Insurance", + "mode": "test", "reference": null, "status": "pending", "amount": "100.00000", + "provider": "easypost", "provider_id": null, "to_address": {"id": "adr_cdb725e6b71611eeb294ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:05:06+00:00", "updated_at": + "2024-01-19T22:05:06+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": + "179 N HARBOR DR", "street2": "", "city": "REDONDO BEACH", "state": "CA", + "zip": "90277-2506", "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "from_address": {"id": "adr_cdbcfb33b71611eeb09e3cecef1b359e", "object": "Address", + "created_at": "2024-01-19T22:05:06+00:00", "updated_at": "2024-01-19T22:05:06+00:00", + "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": + "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": + "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", + "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": + null, "verifications": {"zip4": {"success": true, "errors": [], "details": + null}, "delivery": {"success": true, "errors": [], "details": {"latitude": + 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, + "shipment_id": null, "tracker": {"id": "trk_3e96a3ad7fa9452faac62be5327888b2", + "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", + "status": "error", "status_detail": null, "created_at": "2024-01-19T22:01:20Z", + "updated_at": "2024-01-19T22:01:20Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": + "TrackingDetail", "message": "In test mode, only test tracking numbers are + valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", + "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T22:01:20Z", + "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": + "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], + "carrier_detail": null, "finalized": true, "is_return": false, "public_url": + "https://track.easypost.com/djE6dHJrXzNlOTZhM2FkN2ZhOTQ1MmZhYWM2MmJlNTMyNzg4OGIy", + "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": + "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": + false}, "messages": [], "created_at": "2024-01-19T22:05:06Z", "updated_at": + "2024-01-19T22:05:06Z"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2661' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/insurances/ins_65246d2065c94992b3d0716652f1ce39 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf212e798d05e0010ab82 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.162789' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"insurance": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "tracking_code": "9400110898825022579493", + "carrier": "USPS", "amount": "100.00"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '530' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/insurances + response: + body: + string: '{"id": "ins_c7d3957fe5cc4ff2a7a4e076b8a8fe05", "object": "Insurance", + "mode": "test", "reference": null, "status": "pending", "amount": "100.00000", + "provider": "easypost", "provider_id": null, "to_address": {"id": "adr_0560e9abb71711ee9626ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T22:06:39+00:00", "updated_at": + "2024-01-19T22:06:39+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": + "179 N HARBOR DR", "street2": "", "city": "REDONDO BEACH", "state": "CA", + "zip": "90277-2506", "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "from_address": {"id": "adr_05678bcdb71711ee84263cecef1b359e", "object": "Address", + "created_at": "2024-01-19T22:06:39+00:00", "updated_at": "2024-01-19T22:06:39+00:00", + "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": + "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": + "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", + "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": + null, "verifications": {"zip4": {"success": true, "errors": [], "details": + null}, "delivery": {"success": true, "errors": [], "details": {"latitude": + 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, + "shipment_id": null, "tracker": {"id": "trk_348eb15782424f5a95027c8bad7277b0", + "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", + "status": "error", "status_detail": null, "created_at": "2024-01-19T22:05:06Z", + "updated_at": "2024-01-19T22:05:06Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": + "TrackingDetail", "message": "In test mode, only test tracking numbers are + valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", + "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T22:05:06Z", + "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": + "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], + "carrier_detail": null, "finalized": true, "is_return": false, "public_url": + "https://track.easypost.com/djE6dHJrXzM0OGViMTU3ODI0MjRmNWE5NTAyN2M4YmFkNzI3N2Iw", + "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": + "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": + false}, "messages": [], "created_at": "2024-01-19T22:06:39Z", "updated_at": + "2024-01-19T22:06:39Z"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2661' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/insurances/ins_c7d3957fe5cc4ff2a7a4e076b8a8fe05 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaf26fe798d5200010eac8 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.370986' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_insurance_list.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_insurance_list.yaml new file mode 100644 index 00000000..9f58720f --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_insurance_list.yaml @@ -0,0 +1,782 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/insurances?page_size=1 + response: + body: + string: '{"insurances": [{"id": "ins_0c65f26dcda8479c865bef2e4cb90af3", "object": + "Insurance", "mode": "test", "reference": null, "status": "pending", "amount": + "100.00000", "provider": "easypost", "provider_id": null, "to_address": {"id": + "adr_6beb8718b71311eea58dac1f6bc539aa", "object": "Address", "created_at": + "2024-01-19T21:40:53+00:00", "updated_at": "2024-01-19T21:40:53+00:00", "name": + "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", "street2": + null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", "country": + "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", "mode": + "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "from_address": {"id": "adr_6bf0bbe4b71311ee96f5ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:40:53+00:00", "updated_at": "2024-01-19T21:40:53+00:00", + "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": + null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": + "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", + "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": + null, "verifications": {"zip4": {"success": true, "errors": [], "details": + null}, "delivery": {"success": true, "errors": [], "details": {"latitude": + 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, + "shipment_id": null, "tracker": {"id": "trk_0d317281c8314376810372b729bd9a05", + "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", + "status": "error", "status_detail": null, "created_at": "2024-01-19T21:40:53Z", + "updated_at": "2024-01-19T21:40:53Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": + "TrackingDetail", "message": "In test mode, only test tracking numbers are + valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", + "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T21:40:53Z", + "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": + "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], + "carrier_detail": null, "finalized": true, "is_return": false, "public_url": + "https://track.easypost.com/djE6dHJrXzBkMzE3MjgxYzgzMTQzNzY4MTAzNzJiNzI5YmQ5YTA1", + "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": + "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": + false}, "messages": [], "created_at": "2024-01-19T21:40:53Z", "updated_at": + "2024-01-19T21:40:53Z"}], "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2698' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaec66e78b9bad000cd7b6 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.102891' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/insurances?page_size=1 + response: + body: + string: '{"insurances": [{"id": "ins_06f489dff78d4107be8b7f1b77099a8e", "object": + "Insurance", "mode": "test", "reference": null, "status": "pending", "amount": + "100.00000", "provider": "easypost", "provider_id": null, "to_address": {"id": + "adr_c471f5a7b71311eeb67aac1f6bc539ae", "object": "Address", "created_at": + "2024-01-19T21:43:22+00:00", "updated_at": "2024-01-19T21:43:22+00:00", "name": + "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", "street2": + null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", "country": + "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", "mode": + "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "from_address": {"id": "adr_c4780174b71311eeb67dac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:43:22+00:00", "updated_at": "2024-01-19T21:43:22+00:00", + "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": + null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": + "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", + "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": + null, "verifications": {"zip4": {"success": true, "errors": [], "details": + null}, "delivery": {"success": true, "errors": [], "details": {"latitude": + 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, + "shipment_id": null, "tracker": {"id": "trk_aa1880f4f8b340f18dc9fe16b2b06148", + "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", + "status": "error", "status_detail": null, "created_at": "2024-01-19T21:43:22Z", + "updated_at": "2024-01-19T21:43:22Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": + "TrackingDetail", "message": "In test mode, only test tracking numbers are + valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", + "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T21:43:22Z", + "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": + "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], + "carrier_detail": null, "finalized": true, "is_return": false, "public_url": + "https://track.easypost.com/djE6dHJrX2FhMTg4MGY0ZjhiMzQwZjE4ZGM5ZmUxNmIyYjA2MTQ4", + "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": + "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": + false}, "messages": [], "created_at": "2024-01-19T21:43:22Z", "updated_at": + "2024-01-19T21:43:22Z"}], "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2698' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaecfbe78ba3e6000d3539 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.101624' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/insurances?page_size=1 + response: + body: + string: '{"insurances": [{"id": "ins_a168418213374a6b8f9be17762ba4743", "object": + "Insurance", "mode": "test", "reference": null, "status": "pending", "amount": + "100.00000", "provider": "easypost", "provider_id": null, "to_address": {"id": + "adr_4e08ce93b71411eea365ac1f6bc539ae", "object": "Address", "created_at": + "2024-01-19T21:47:13+00:00", "updated_at": "2024-01-19T21:47:13+00:00", "name": + "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", "street2": + null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", "country": + "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", "mode": + "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "from_address": {"id": "adr_4e0e03b0b71411eea06a3cecef1b359e", "object": "Address", + "created_at": "2024-01-19T21:47:13+00:00", "updated_at": "2024-01-19T21:47:13+00:00", + "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": + null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": + "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", + "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": + null, "verifications": {"zip4": {"success": true, "errors": [], "details": + null}, "delivery": {"success": true, "errors": [], "details": {"latitude": + 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, + "shipment_id": null, "tracker": {"id": "trk_b77f49eb252e4cd4ad106668d9fd99c2", + "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", + "status": "error", "status_detail": null, "created_at": "2024-01-19T21:47:13Z", + "updated_at": "2024-01-19T21:47:13Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": + "TrackingDetail", "message": "In test mode, only test tracking numbers are + valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", + "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T21:47:13Z", + "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": + "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], + "carrier_detail": null, "finalized": true, "is_return": false, "public_url": + "https://track.easypost.com/djE6dHJrX2I3N2Y0OWViMjUyZTRjZDRhZDEwNjY2OGQ5ZmQ5OWMy", + "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": + "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": + false}, "messages": [], "created_at": "2024-01-19T21:47:13Z", "updated_at": + "2024-01-19T21:47:13Z"}], "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2698' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdae65aaede2e78bac6f00112a2f + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.093665' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/insurances?page_size=1 + response: + body: + string: '{"insurances": [{"id": "ins_98b4aae9d5f240c28f7b95f48eaa2a6e", "object": + "Insurance", "mode": "test", "reference": null, "status": "pending", "amount": + "100.00000", "provider": "easypost", "provider_id": null, "to_address": {"id": + "adr_9091468db71411eeb69eac1f6bc53342", "object": "Address", "created_at": + "2024-01-19T21:49:04+00:00", "updated_at": "2024-01-19T21:49:04+00:00", "name": + "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", "street2": + null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", "country": + "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", "mode": + "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "from_address": {"id": "adr_90969396b71411eeb6a0ac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T21:49:04+00:00", "updated_at": "2024-01-19T21:49:04+00:00", + "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": + null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": + "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", + "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": + null, "verifications": {"zip4": {"success": true, "errors": [], "details": + null}, "delivery": {"success": true, "errors": [], "details": {"latitude": + 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, + "shipment_id": null, "tracker": {"id": "trk_5aa2f8f307dd4f47a7d73daccbff4743", + "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", + "status": "error", "status_detail": null, "created_at": "2024-01-19T21:49:04Z", + "updated_at": "2024-01-19T21:49:04Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": + "TrackingDetail", "message": "In test mode, only test tracking numbers are + valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", + "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T21:49:04Z", + "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": + "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], + "carrier_detail": null, "finalized": true, "is_return": false, "public_url": + "https://track.easypost.com/djE6dHJrXzVhYTJmOGYzMDdkZDRmNDdhN2Q3M2RhY2NiZmY0NzQz", + "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": + "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": + false}, "messages": [], "created_at": "2024-01-19T21:49:04Z", "updated_at": + "2024-01-19T21:49:04Z"}], "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2698' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdaa65aaee52e78bb4a900116d71 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.081733' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/insurances?page_size=1 + response: + body: + string: '{"insurances": [{"id": "ins_afb14346beb740988100098e18089437", "object": + "Insurance", "mode": "test", "reference": null, "status": "pending", "amount": + "100.00000", "provider": "easypost", "provider_id": null, "to_address": {"id": + "adr_df072e59b71511eea4f53cecef1b359e", "object": "Address", "created_at": + "2024-01-19T21:58:25+00:00", "updated_at": "2024-01-19T21:58:25+00:00", "name": + "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", "street2": + null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", "country": + "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", "mode": + "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "from_address": {"id": "adr_df0cec70b71511eea8f5ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:58:25+00:00", "updated_at": "2024-01-19T21:58:25+00:00", + "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": + null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": + "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", + "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": + null, "verifications": {"zip4": {"success": true, "errors": [], "details": + null}, "delivery": {"success": true, "errors": [], "details": {"latitude": + 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, + "shipment_id": null, "tracker": {"id": "trk_5063b8124d43497d996bb4b27ea0f589", + "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", + "status": "error", "status_detail": null, "created_at": "2024-01-19T21:58:26Z", + "updated_at": "2024-01-19T21:58:26Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": + "TrackingDetail", "message": "In test mode, only test tracking numbers are + valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", + "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T21:58:26Z", + "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": + "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], + "carrier_detail": null, "finalized": true, "is_return": false, "public_url": + "https://track.easypost.com/djE6dHJrXzUwNjNiODEyNGQ0MzQ5N2Q5OTZiYjRiMjdlYTBmNTg5", + "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": + "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": + false}, "messages": [], "created_at": "2024-01-19T21:58:25Z", "updated_at": + "2024-01-19T21:58:25Z"}], "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2698' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf083e798bc3d000f7276 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.088918' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/insurances?page_size=1 + response: + body: + string: '{"insurances": [{"id": "ins_8ff16f049eca4bf18be8f285432badb0", "object": + "Insurance", "mode": "test", "reference": null, "status": "pending", "amount": + "100.00000", "provider": "easypost", "provider_id": null, "to_address": {"id": + "adr_46fc641cb71611ee89efac1f6bc539ae", "object": "Address", "created_at": + "2024-01-19T22:01:20+00:00", "updated_at": "2024-01-19T22:01:20+00:00", "name": + "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", "street2": + null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", "country": + "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", "mode": + "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "from_address": {"id": "adr_47022d00b71611ee9811ac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T22:01:20+00:00", "updated_at": "2024-01-19T22:01:20+00:00", + "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": + null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": + "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", + "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": + null, "verifications": {"zip4": {"success": true, "errors": [], "details": + null}, "delivery": {"success": true, "errors": [], "details": {"latitude": + 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, + "shipment_id": null, "tracker": {"id": "trk_3e96a3ad7fa9452faac62be5327888b2", + "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", + "status": "error", "status_detail": null, "created_at": "2024-01-19T22:01:20Z", + "updated_at": "2024-01-19T22:01:20Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": + "TrackingDetail", "message": "In test mode, only test tracking numbers are + valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", + "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T22:01:20Z", + "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": + "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], + "carrier_detail": null, "finalized": true, "is_return": false, "public_url": + "https://track.easypost.com/djE6dHJrXzNlOTZhM2FkN2ZhOTQ1MmZhYWM2MmJlNTMyNzg4OGIy", + "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": + "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": + false}, "messages": [], "created_at": "2024-01-19T22:01:20Z", "updated_at": + "2024-01-19T22:01:20Z"}], "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2698' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaf131e798c483000ffeb7 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.098488' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/insurances?page_size=1 + response: + body: + string: '{"insurances": [{"id": "ins_65246d2065c94992b3d0716652f1ce39", "object": + "Insurance", "mode": "test", "reference": null, "status": "pending", "amount": + "100.00000", "provider": "easypost", "provider_id": null, "to_address": {"id": + "adr_cdb725e6b71611eeb294ac1f6bc53342", "object": "Address", "created_at": + "2024-01-19T22:05:06+00:00", "updated_at": "2024-01-19T22:05:06+00:00", "name": + "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", "street2": + null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", "country": + "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", "mode": + "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "from_address": {"id": "adr_cdbcfb33b71611eeb09e3cecef1b359e", "object": "Address", + "created_at": "2024-01-19T22:05:06+00:00", "updated_at": "2024-01-19T22:05:06+00:00", + "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": + null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": + "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", + "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": + null, "verifications": {"zip4": {"success": true, "errors": [], "details": + null}, "delivery": {"success": true, "errors": [], "details": {"latitude": + 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, + "shipment_id": null, "tracker": {"id": "trk_348eb15782424f5a95027c8bad7277b0", + "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", + "status": "error", "status_detail": null, "created_at": "2024-01-19T22:05:06Z", + "updated_at": "2024-01-19T22:05:06Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": + "TrackingDetail", "message": "In test mode, only test tracking numbers are + valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", + "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T22:05:06Z", + "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": + "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], + "carrier_detail": null, "finalized": true, "is_return": false, "public_url": + "https://track.easypost.com/djE6dHJrXzM0OGViMTU3ODI0MjRmNWE5NTAyN2M4YmFkNzI3N2Iw", + "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": + "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": + false}, "messages": [], "created_at": "2024-01-19T22:05:06Z", "updated_at": + "2024-01-19T22:05:06Z"}], "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2698' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf213e798d0610010ac33 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.080054' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/insurances?page_size=1 + response: + body: + string: '{"insurances": [{"id": "ins_c7d3957fe5cc4ff2a7a4e076b8a8fe05", "object": + "Insurance", "mode": "test", "reference": null, "status": "pending", "amount": + "100.00000", "provider": "easypost", "provider_id": null, "to_address": {"id": + "adr_0560e9abb71711ee9626ac1f6bc539aa", "object": "Address", "created_at": + "2024-01-19T22:06:39+00:00", "updated_at": "2024-01-19T22:06:39+00:00", "name": + "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", "street2": + null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", "country": + "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", "mode": + "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "from_address": {"id": "adr_05678bcdb71711ee84263cecef1b359e", "object": "Address", + "created_at": "2024-01-19T22:06:39+00:00", "updated_at": "2024-01-19T22:06:39+00:00", + "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": + null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": + "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", + "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": + null, "verifications": {"zip4": {"success": true, "errors": [], "details": + null}, "delivery": {"success": true, "errors": [], "details": {"latitude": + 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, + "shipment_id": null, "tracker": {"id": "trk_af091540b9824ce5ab2fc1c84d01d7ef", + "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", + "status": "error", "status_detail": null, "created_at": "2024-01-19T22:06:39Z", + "updated_at": "2024-01-19T22:06:39Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": + "TrackingDetail", "message": "In test mode, only test tracking numbers are + valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", + "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T22:06:39Z", + "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": + "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], + "carrier_detail": null, "finalized": true, "is_return": false, "public_url": + "https://track.easypost.com/djE6dHJrX2FmMDkxNTQwYjk4MjRjZTVhYjJmYzFjODRkMDFkN2Vm", + "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": + "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": + false}, "messages": [], "created_at": "2024-01-19T22:06:39Z", "updated_at": + "2024-01-19T22:06:39Z"}], "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2698' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf271e798d5230010ebb9 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.092762' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_insurance_retrieve.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_insurance_retrieve.yaml new file mode 100644 index 00000000..057fd3da --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_insurance_retrieve.yaml @@ -0,0 +1,1550 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/insurances?page_size=1 + response: + body: + string: '{"insurances": [{"id": "ins_0c65f26dcda8479c865bef2e4cb90af3", "object": + "Insurance", "mode": "test", "reference": null, "status": "pending", "amount": + "100.00000", "provider": "easypost", "provider_id": null, "to_address": {"id": + "adr_6beb8718b71311eea58dac1f6bc539aa", "object": "Address", "created_at": + "2024-01-19T21:40:53+00:00", "updated_at": "2024-01-19T21:40:53+00:00", "name": + "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", "street2": + null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", "country": + "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", "mode": + "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "from_address": {"id": "adr_6bf0bbe4b71311ee96f5ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:40:53+00:00", "updated_at": "2024-01-19T21:40:53+00:00", + "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": + null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": + "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", + "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": + null, "verifications": {"zip4": {"success": true, "errors": [], "details": + null}, "delivery": {"success": true, "errors": [], "details": {"latitude": + 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, + "shipment_id": null, "tracker": {"id": "trk_0d317281c8314376810372b729bd9a05", + "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", + "status": "error", "status_detail": null, "created_at": "2024-01-19T21:40:53Z", + "updated_at": "2024-01-19T21:40:53Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": + "TrackingDetail", "message": "In test mode, only test tracking numbers are + valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", + "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T21:40:53Z", + "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": + "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], + "carrier_detail": null, "finalized": true, "is_return": false, "public_url": + "https://track.easypost.com/djE6dHJrXzBkMzE3MjgxYzgzMTQzNzY4MTAzNzJiNzI5YmQ5YTA1", + "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": + "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": + false}, "messages": [], "created_at": "2024-01-19T21:40:53Z", "updated_at": + "2024-01-19T21:40:53Z"}], "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2698' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaec66e78b9bab000cd73e + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.095191' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/insurances/ins_0c65f26dcda8479c865bef2e4cb90af3 + response: + body: + string: '{"id": "ins_0c65f26dcda8479c865bef2e4cb90af3", "object": "Insurance", + "mode": "test", "reference": null, "status": "pending", "amount": "100.00000", + "provider": "easypost", "provider_id": null, "to_address": {"id": "adr_6beb8718b71311eea58dac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:40:53+00:00", "updated_at": + "2024-01-19T21:40:53+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": + "179 N HARBOR DR", "street2": null, "city": "REDONDO BEACH", "state": "CA", + "zip": "90277-2506", "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "from_address": {"id": "adr_6bf0bbe4b71311ee96f5ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:40:53+00:00", "updated_at": "2024-01-19T21:40:53+00:00", + "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": + null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": + "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", + "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": + null, "verifications": {"zip4": {"success": true, "errors": [], "details": + null}, "delivery": {"success": true, "errors": [], "details": {"latitude": + 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, + "shipment_id": null, "tracker": {"id": "trk_0d317281c8314376810372b729bd9a05", + "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", + "status": "error", "status_detail": null, "created_at": "2024-01-19T21:40:53Z", + "updated_at": "2024-01-19T21:40:53Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": + "TrackingDetail", "message": "In test mode, only test tracking numbers are + valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", + "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T21:40:53Z", + "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": + "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], + "carrier_detail": null, "finalized": true, "is_return": false, "public_url": + "https://track.easypost.com/djE6dHJrXzBkMzE3MjgxYzgzMTQzNzY4MTAzNzJiNzI5YmQ5YTA1", + "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": + "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": + false}, "messages": [], "created_at": "2024-01-19T21:40:53Z", "updated_at": + "2024-01-19T21:40:53Z"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2665' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaec66e78b9bac000cd787 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.089199' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/insurances?page_size=1 + response: + body: + string: '{"insurances": [{"id": "ins_06f489dff78d4107be8b7f1b77099a8e", "object": + "Insurance", "mode": "test", "reference": null, "status": "pending", "amount": + "100.00000", "provider": "easypost", "provider_id": null, "to_address": {"id": + "adr_c471f5a7b71311eeb67aac1f6bc539ae", "object": "Address", "created_at": + "2024-01-19T21:43:22+00:00", "updated_at": "2024-01-19T21:43:22+00:00", "name": + "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", "street2": + null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", "country": + "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", "mode": + "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "from_address": {"id": "adr_c4780174b71311eeb67dac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:43:22+00:00", "updated_at": "2024-01-19T21:43:22+00:00", + "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": + null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": + "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", + "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": + null, "verifications": {"zip4": {"success": true, "errors": [], "details": + null}, "delivery": {"success": true, "errors": [], "details": {"latitude": + 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, + "shipment_id": null, "tracker": {"id": "trk_aa1880f4f8b340f18dc9fe16b2b06148", + "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", + "status": "error", "status_detail": null, "created_at": "2024-01-19T21:43:22Z", + "updated_at": "2024-01-19T21:43:22Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": + "TrackingDetail", "message": "In test mode, only test tracking numbers are + valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", + "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T21:43:22Z", + "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": + "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], + "carrier_detail": null, "finalized": true, "is_return": false, "public_url": + "https://track.easypost.com/djE6dHJrX2FhMTg4MGY0ZjhiMzQwZjE4ZGM5ZmUxNmIyYjA2MTQ4", + "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": + "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": + false}, "messages": [], "created_at": "2024-01-19T21:43:22Z", "updated_at": + "2024-01-19T21:43:22Z"}], "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2698' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaecfae78ba3cd000d34d3 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.099493' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/insurances/ins_06f489dff78d4107be8b7f1b77099a8e + response: + body: + string: '{"id": "ins_06f489dff78d4107be8b7f1b77099a8e", "object": "Insurance", + "mode": "test", "reference": null, "status": "pending", "amount": "100.00000", + "provider": "easypost", "provider_id": null, "to_address": {"id": "adr_c471f5a7b71311eeb67aac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:43:22+00:00", "updated_at": + "2024-01-19T21:43:22+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": + "179 N HARBOR DR", "street2": null, "city": "REDONDO BEACH", "state": "CA", + "zip": "90277-2506", "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "from_address": {"id": "adr_c4780174b71311eeb67dac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:43:22+00:00", "updated_at": "2024-01-19T21:43:22+00:00", + "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": + null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": + "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", + "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": + null, "verifications": {"zip4": {"success": true, "errors": [], "details": + null}, "delivery": {"success": true, "errors": [], "details": {"latitude": + 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, + "shipment_id": null, "tracker": {"id": "trk_aa1880f4f8b340f18dc9fe16b2b06148", + "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", + "status": "error", "status_detail": null, "created_at": "2024-01-19T21:43:22Z", + "updated_at": "2024-01-19T21:43:22Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": + "TrackingDetail", "message": "In test mode, only test tracking numbers are + valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", + "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T21:43:22Z", + "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": + "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], + "carrier_detail": null, "finalized": true, "is_return": false, "public_url": + "https://track.easypost.com/djE6dHJrX2FhMTg4MGY0ZjhiMzQwZjE4ZGM5ZmUxNmIyYjA2MTQ4", + "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": + "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": + false}, "messages": [], "created_at": "2024-01-19T21:43:22Z", "updated_at": + "2024-01-19T21:43:22Z"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2665' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaecfbe78ba3ce000d3505 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.103940' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/insurances?page_size=1 + response: + body: + string: '{"insurances": [{"id": "ins_a168418213374a6b8f9be17762ba4743", "object": + "Insurance", "mode": "test", "reference": null, "status": "pending", "amount": + "100.00000", "provider": "easypost", "provider_id": null, "to_address": {"id": + "adr_4e08ce93b71411eea365ac1f6bc539ae", "object": "Address", "created_at": + "2024-01-19T21:47:13+00:00", "updated_at": "2024-01-19T21:47:13+00:00", "name": + "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", "street2": + null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", "country": + "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", "mode": + "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "from_address": {"id": "adr_4e0e03b0b71411eea06a3cecef1b359e", "object": "Address", + "created_at": "2024-01-19T21:47:13+00:00", "updated_at": "2024-01-19T21:47:13+00:00", + "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": + null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": + "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", + "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": + null, "verifications": {"zip4": {"success": true, "errors": [], "details": + null}, "delivery": {"success": true, "errors": [], "details": {"latitude": + 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, + "shipment_id": null, "tracker": {"id": "trk_b77f49eb252e4cd4ad106668d9fd99c2", + "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", + "status": "error", "status_detail": null, "created_at": "2024-01-19T21:47:13Z", + "updated_at": "2024-01-19T21:47:13Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": + "TrackingDetail", "message": "In test mode, only test tracking numbers are + valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", + "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T21:47:13Z", + "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": + "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], + "carrier_detail": null, "finalized": true, "is_return": false, "public_url": + "https://track.easypost.com/djE6dHJrX2I3N2Y0OWViMjUyZTRjZDRhZDEwNjY2OGQ5ZmQ5OWMy", + "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": + "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": + false}, "messages": [], "created_at": "2024-01-19T21:47:13Z", "updated_at": + "2024-01-19T21:47:13Z"}], "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2698' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdab65aaede1e78bac6d001129b4 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.098219' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/insurances/ins_a168418213374a6b8f9be17762ba4743 + response: + body: + string: '{"id": "ins_a168418213374a6b8f9be17762ba4743", "object": "Insurance", + "mode": "test", "reference": null, "status": "pending", "amount": "100.00000", + "provider": "easypost", "provider_id": null, "to_address": {"id": "adr_4e08ce93b71411eea365ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:47:13+00:00", "updated_at": + "2024-01-19T21:47:13+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": + "179 N HARBOR DR", "street2": null, "city": "REDONDO BEACH", "state": "CA", + "zip": "90277-2506", "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "from_address": {"id": "adr_4e0e03b0b71411eea06a3cecef1b359e", "object": "Address", + "created_at": "2024-01-19T21:47:13+00:00", "updated_at": "2024-01-19T21:47:13+00:00", + "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": + null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": + "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", + "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": + null, "verifications": {"zip4": {"success": true, "errors": [], "details": + null}, "delivery": {"success": true, "errors": [], "details": {"latitude": + 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, + "shipment_id": null, "tracker": {"id": "trk_b77f49eb252e4cd4ad106668d9fd99c2", + "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", + "status": "error", "status_detail": null, "created_at": "2024-01-19T21:47:13Z", + "updated_at": "2024-01-19T21:47:13Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": + "TrackingDetail", "message": "In test mode, only test tracking numbers are + valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", + "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T21:47:13Z", + "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": + "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], + "carrier_detail": null, "finalized": true, "is_return": false, "public_url": + "https://track.easypost.com/djE6dHJrX2I3N2Y0OWViMjUyZTRjZDRhZDEwNjY2OGQ5ZmQ5OWMy", + "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": + "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": + false}, "messages": [], "created_at": "2024-01-19T21:47:13Z", "updated_at": + "2024-01-19T21:47:13Z"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2665' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdae65aaede1e78bac6e001129f3 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.075527' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/insurances?page_size=1 + response: + body: + string: '{"insurances": [{"id": "ins_98b4aae9d5f240c28f7b95f48eaa2a6e", "object": + "Insurance", "mode": "test", "reference": null, "status": "pending", "amount": + "100.00000", "provider": "easypost", "provider_id": null, "to_address": {"id": + "adr_9091468db71411eeb69eac1f6bc53342", "object": "Address", "created_at": + "2024-01-19T21:49:04+00:00", "updated_at": "2024-01-19T21:49:04+00:00", "name": + "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", "street2": + null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", "country": + "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", "mode": + "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "from_address": {"id": "adr_90969396b71411eeb6a0ac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T21:49:04+00:00", "updated_at": "2024-01-19T21:49:04+00:00", + "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": + null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": + "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", + "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": + null, "verifications": {"zip4": {"success": true, "errors": [], "details": + null}, "delivery": {"success": true, "errors": [], "details": {"latitude": + 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, + "shipment_id": null, "tracker": {"id": "trk_5aa2f8f307dd4f47a7d73daccbff4743", + "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", + "status": "error", "status_detail": null, "created_at": "2024-01-19T21:49:04Z", + "updated_at": "2024-01-19T21:49:04Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": + "TrackingDetail", "message": "In test mode, only test tracking numbers are + valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", + "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T21:49:04Z", + "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": + "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], + "carrier_detail": null, "finalized": true, "is_return": false, "public_url": + "https://track.easypost.com/djE6dHJrXzVhYTJmOGYzMDdkZDRmNDdhN2Q3M2RhY2NiZmY0NzQz", + "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": + "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": + false}, "messages": [], "created_at": "2024-01-19T21:49:04Z", "updated_at": + "2024-01-19T21:49:04Z"}], "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2698' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda865aaee51e78bb49000116d06 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.094373' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/insurances/ins_98b4aae9d5f240c28f7b95f48eaa2a6e + response: + body: + string: '{"id": "ins_98b4aae9d5f240c28f7b95f48eaa2a6e", "object": "Insurance", + "mode": "test", "reference": null, "status": "pending", "amount": "100.00000", + "provider": "easypost", "provider_id": null, "to_address": {"id": "adr_9091468db71411eeb69eac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:49:04+00:00", "updated_at": + "2024-01-19T21:49:04+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": + "179 N HARBOR DR", "street2": null, "city": "REDONDO BEACH", "state": "CA", + "zip": "90277-2506", "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "from_address": {"id": "adr_90969396b71411eeb6a0ac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T21:49:04+00:00", "updated_at": "2024-01-19T21:49:04+00:00", + "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": + null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": + "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", + "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": + null, "verifications": {"zip4": {"success": true, "errors": [], "details": + null}, "delivery": {"success": true, "errors": [], "details": {"latitude": + 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, + "shipment_id": null, "tracker": {"id": "trk_5aa2f8f307dd4f47a7d73daccbff4743", + "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", + "status": "error", "status_detail": null, "created_at": "2024-01-19T21:49:04Z", + "updated_at": "2024-01-19T21:49:04Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": + "TrackingDetail", "message": "In test mode, only test tracking numbers are + valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", + "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T21:49:04Z", + "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": + "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], + "carrier_detail": null, "finalized": true, "is_return": false, "public_url": + "https://track.easypost.com/djE6dHJrXzVhYTJmOGYzMDdkZDRmNDdhN2Q3M2RhY2NiZmY0NzQz", + "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": + "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": + false}, "messages": [], "created_at": "2024-01-19T21:49:04Z", "updated_at": + "2024-01-19T21:49:04Z"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2665' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdab65aaee51e78bb4a800116d3c + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.072889' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/insurances?page_size=1 + response: + body: + string: '{"insurances": [{"id": "ins_afb14346beb740988100098e18089437", "object": + "Insurance", "mode": "test", "reference": null, "status": "pending", "amount": + "100.00000", "provider": "easypost", "provider_id": null, "to_address": {"id": + "adr_df072e59b71511eea4f53cecef1b359e", "object": "Address", "created_at": + "2024-01-19T21:58:25+00:00", "updated_at": "2024-01-19T21:58:25+00:00", "name": + "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", "street2": + null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", "country": + "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", "mode": + "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "from_address": {"id": "adr_df0cec70b71511eea8f5ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:58:25+00:00", "updated_at": "2024-01-19T21:58:25+00:00", + "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": + null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": + "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", + "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": + null, "verifications": {"zip4": {"success": true, "errors": [], "details": + null}, "delivery": {"success": true, "errors": [], "details": {"latitude": + 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, + "shipment_id": null, "tracker": {"id": "trk_5063b8124d43497d996bb4b27ea0f589", + "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", + "status": "error", "status_detail": null, "created_at": "2024-01-19T21:58:26Z", + "updated_at": "2024-01-19T21:58:26Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": + "TrackingDetail", "message": "In test mode, only test tracking numbers are + valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", + "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T21:58:26Z", + "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": + "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], + "carrier_detail": null, "finalized": true, "is_return": false, "public_url": + "https://track.easypost.com/djE6dHJrXzUwNjNiODEyNGQ0MzQ5N2Q5OTZiYjRiMjdlYTBmNTg5", + "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": + "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": + false}, "messages": [], "created_at": "2024-01-19T21:58:25Z", "updated_at": + "2024-01-19T21:58:25Z"}], "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2698' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf082e798bc24000f7224 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.095736' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/insurances/ins_afb14346beb740988100098e18089437 + response: + body: + string: '{"id": "ins_afb14346beb740988100098e18089437", "object": "Insurance", + "mode": "test", "reference": null, "status": "pending", "amount": "100.00000", + "provider": "easypost", "provider_id": null, "to_address": {"id": "adr_df072e59b71511eea4f53cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:58:25+00:00", "updated_at": + "2024-01-19T21:58:25+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": + "179 N HARBOR DR", "street2": null, "city": "REDONDO BEACH", "state": "CA", + "zip": "90277-2506", "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "from_address": {"id": "adr_df0cec70b71511eea8f5ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:58:25+00:00", "updated_at": "2024-01-19T21:58:25+00:00", + "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": + null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": + "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", + "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": + null, "verifications": {"zip4": {"success": true, "errors": [], "details": + null}, "delivery": {"success": true, "errors": [], "details": {"latitude": + 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, + "shipment_id": null, "tracker": {"id": "trk_5063b8124d43497d996bb4b27ea0f589", + "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", + "status": "error", "status_detail": null, "created_at": "2024-01-19T21:58:26Z", + "updated_at": "2024-01-19T21:58:26Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": + "TrackingDetail", "message": "In test mode, only test tracking numbers are + valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", + "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T21:58:26Z", + "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": + "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], + "carrier_detail": null, "finalized": true, "is_return": false, "public_url": + "https://track.easypost.com/djE6dHJrXzUwNjNiODEyNGQ0MzQ5N2Q5OTZiYjRiMjdlYTBmNTg5", + "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": + "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": + false}, "messages": [], "created_at": "2024-01-19T21:58:25Z", "updated_at": + "2024-01-19T21:58:25Z"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2665' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaf082e798bc3c000f7251 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.076089' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/insurances?page_size=1 + response: + body: + string: '{"insurances": [{"id": "ins_8ff16f049eca4bf18be8f285432badb0", "object": + "Insurance", "mode": "test", "reference": null, "status": "pending", "amount": + "100.00000", "provider": "easypost", "provider_id": null, "to_address": {"id": + "adr_46fc641cb71611ee89efac1f6bc539ae", "object": "Address", "created_at": + "2024-01-19T22:01:20+00:00", "updated_at": "2024-01-19T22:01:20+00:00", "name": + "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", "street2": + null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", "country": + "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", "mode": + "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "from_address": {"id": "adr_47022d00b71611ee9811ac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T22:01:20+00:00", "updated_at": "2024-01-19T22:01:20+00:00", + "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": + null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": + "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", + "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": + null, "verifications": {"zip4": {"success": true, "errors": [], "details": + null}, "delivery": {"success": true, "errors": [], "details": {"latitude": + 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, + "shipment_id": null, "tracker": {"id": "trk_3e96a3ad7fa9452faac62be5327888b2", + "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", + "status": "error", "status_detail": null, "created_at": "2024-01-19T22:01:20Z", + "updated_at": "2024-01-19T22:01:20Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": + "TrackingDetail", "message": "In test mode, only test tracking numbers are + valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", + "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T22:01:20Z", + "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": + "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], + "carrier_detail": null, "finalized": true, "is_return": false, "public_url": + "https://track.easypost.com/djE6dHJrXzNlOTZhM2FkN2ZhOTQ1MmZhYWM2MmJlNTMyNzg4OGIy", + "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": + "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": + false}, "messages": [], "created_at": "2024-01-19T22:01:20Z", "updated_at": + "2024-01-19T22:01:20Z"}], "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2698' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaf130e798c481000ffdf3 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.088360' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/insurances/ins_8ff16f049eca4bf18be8f285432badb0 + response: + body: + string: '{"id": "ins_8ff16f049eca4bf18be8f285432badb0", "object": "Insurance", + "mode": "test", "reference": null, "status": "pending", "amount": "100.00000", + "provider": "easypost", "provider_id": null, "to_address": {"id": "adr_46fc641cb71611ee89efac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T22:01:20+00:00", "updated_at": + "2024-01-19T22:01:20+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": + "179 N HARBOR DR", "street2": null, "city": "REDONDO BEACH", "state": "CA", + "zip": "90277-2506", "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "from_address": {"id": "adr_47022d00b71611ee9811ac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T22:01:20+00:00", "updated_at": "2024-01-19T22:01:20+00:00", + "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": + null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": + "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", + "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": + null, "verifications": {"zip4": {"success": true, "errors": [], "details": + null}, "delivery": {"success": true, "errors": [], "details": {"latitude": + 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, + "shipment_id": null, "tracker": {"id": "trk_3e96a3ad7fa9452faac62be5327888b2", + "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", + "status": "error", "status_detail": null, "created_at": "2024-01-19T22:01:20Z", + "updated_at": "2024-01-19T22:01:20Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": + "TrackingDetail", "message": "In test mode, only test tracking numbers are + valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", + "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T22:01:20Z", + "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": + "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], + "carrier_detail": null, "finalized": true, "is_return": false, "public_url": + "https://track.easypost.com/djE6dHJrXzNlOTZhM2FkN2ZhOTQ1MmZhYWM2MmJlNTMyNzg4OGIy", + "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": + "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": + false}, "messages": [], "created_at": "2024-01-19T22:01:20Z", "updated_at": + "2024-01-19T22:01:20Z"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2665' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf131e798c482000ffe49 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.086423' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/insurances?page_size=1 + response: + body: + string: '{"insurances": [{"id": "ins_65246d2065c94992b3d0716652f1ce39", "object": + "Insurance", "mode": "test", "reference": null, "status": "pending", "amount": + "100.00000", "provider": "easypost", "provider_id": null, "to_address": {"id": + "adr_cdb725e6b71611eeb294ac1f6bc53342", "object": "Address", "created_at": + "2024-01-19T22:05:06+00:00", "updated_at": "2024-01-19T22:05:06+00:00", "name": + "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", "street2": + null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", "country": + "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", "mode": + "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "from_address": {"id": "adr_cdbcfb33b71611eeb09e3cecef1b359e", "object": "Address", + "created_at": "2024-01-19T22:05:06+00:00", "updated_at": "2024-01-19T22:05:06+00:00", + "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": + null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": + "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", + "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": + null, "verifications": {"zip4": {"success": true, "errors": [], "details": + null}, "delivery": {"success": true, "errors": [], "details": {"latitude": + 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, + "shipment_id": null, "tracker": {"id": "trk_348eb15782424f5a95027c8bad7277b0", + "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", + "status": "error", "status_detail": null, "created_at": "2024-01-19T22:05:06Z", + "updated_at": "2024-01-19T22:05:06Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": + "TrackingDetail", "message": "In test mode, only test tracking numbers are + valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", + "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T22:05:06Z", + "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": + "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], + "carrier_detail": null, "finalized": true, "is_return": false, "public_url": + "https://track.easypost.com/djE6dHJrXzM0OGViMTU3ODI0MjRmNWE5NTAyN2M4YmFkNzI3N2Iw", + "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": + "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": + false}, "messages": [], "created_at": "2024-01-19T22:05:06Z", "updated_at": + "2024-01-19T22:05:06Z"}], "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2698' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf212e798d05f0010abcb + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.089489' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/insurances/ins_65246d2065c94992b3d0716652f1ce39 + response: + body: + string: '{"id": "ins_65246d2065c94992b3d0716652f1ce39", "object": "Insurance", + "mode": "test", "reference": null, "status": "pending", "amount": "100.00000", + "provider": "easypost", "provider_id": null, "to_address": {"id": "adr_cdb725e6b71611eeb294ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:05:06+00:00", "updated_at": + "2024-01-19T22:05:06+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": + "179 N HARBOR DR", "street2": null, "city": "REDONDO BEACH", "state": "CA", + "zip": "90277-2506", "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "from_address": {"id": "adr_cdbcfb33b71611eeb09e3cecef1b359e", "object": "Address", + "created_at": "2024-01-19T22:05:06+00:00", "updated_at": "2024-01-19T22:05:06+00:00", + "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": + null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": + "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", + "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": + null, "verifications": {"zip4": {"success": true, "errors": [], "details": + null}, "delivery": {"success": true, "errors": [], "details": {"latitude": + 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, + "shipment_id": null, "tracker": {"id": "trk_348eb15782424f5a95027c8bad7277b0", + "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", + "status": "error", "status_detail": null, "created_at": "2024-01-19T22:05:06Z", + "updated_at": "2024-01-19T22:05:06Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": + "TrackingDetail", "message": "In test mode, only test tracking numbers are + valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", + "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T22:05:06Z", + "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": + "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], + "carrier_detail": null, "finalized": true, "is_return": false, "public_url": + "https://track.easypost.com/djE6dHJrXzM0OGViMTU3ODI0MjRmNWE5NTAyN2M4YmFkNzI3N2Iw", + "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": + "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": + false}, "messages": [], "created_at": "2024-01-19T22:05:06Z", "updated_at": + "2024-01-19T22:05:06Z"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2665' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf213e798d0600010abfe + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.093625' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/insurances?page_size=1 + response: + body: + string: '{"insurances": [{"id": "ins_c7d3957fe5cc4ff2a7a4e076b8a8fe05", "object": + "Insurance", "mode": "test", "reference": null, "status": "pending", "amount": + "100.00000", "provider": "easypost", "provider_id": null, "to_address": {"id": + "adr_0560e9abb71711ee9626ac1f6bc539aa", "object": "Address", "created_at": + "2024-01-19T22:06:39+00:00", "updated_at": "2024-01-19T22:06:39+00:00", "name": + "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", "street2": + null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", "country": + "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", "mode": + "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "from_address": {"id": "adr_05678bcdb71711ee84263cecef1b359e", "object": "Address", + "created_at": "2024-01-19T22:06:39+00:00", "updated_at": "2024-01-19T22:06:39+00:00", + "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": + null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": + "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", + "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": + null, "verifications": {"zip4": {"success": true, "errors": [], "details": + null}, "delivery": {"success": true, "errors": [], "details": {"latitude": + 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, + "shipment_id": null, "tracker": {"id": "trk_af091540b9824ce5ab2fc1c84d01d7ef", + "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", + "status": "error", "status_detail": null, "created_at": "2024-01-19T22:06:39Z", + "updated_at": "2024-01-19T22:06:39Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": + "TrackingDetail", "message": "In test mode, only test tracking numbers are + valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", + "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T22:06:39Z", + "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": + "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], + "carrier_detail": null, "finalized": true, "is_return": false, "public_url": + "https://track.easypost.com/djE6dHJrX2FmMDkxNTQwYjk4MjRjZTVhYjJmYzFjODRkMDFkN2Vm", + "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": + "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": + false}, "messages": [], "created_at": "2024-01-19T22:06:39Z", "updated_at": + "2024-01-19T22:06:39Z"}], "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2698' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf270e798d5210010eb4a + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.083982' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/insurances/ins_c7d3957fe5cc4ff2a7a4e076b8a8fe05 + response: + body: + string: '{"id": "ins_c7d3957fe5cc4ff2a7a4e076b8a8fe05", "object": "Insurance", + "mode": "test", "reference": null, "status": "pending", "amount": "100.00000", + "provider": "easypost", "provider_id": null, "to_address": {"id": "adr_0560e9abb71711ee9626ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T22:06:39+00:00", "updated_at": + "2024-01-19T22:06:39+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": + "179 N HARBOR DR", "street2": null, "city": "REDONDO BEACH", "state": "CA", + "zip": "90277-2506", "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "from_address": {"id": "adr_05678bcdb71711ee84263cecef1b359e", "object": "Address", + "created_at": "2024-01-19T22:06:39+00:00", "updated_at": "2024-01-19T22:06:39+00:00", + "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": + null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": + "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", + "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": + null, "verifications": {"zip4": {"success": true, "errors": [], "details": + null}, "delivery": {"success": true, "errors": [], "details": {"latitude": + 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, + "shipment_id": null, "tracker": {"id": "trk_af091540b9824ce5ab2fc1c84d01d7ef", + "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", + "status": "error", "status_detail": null, "created_at": "2024-01-19T22:06:39Z", + "updated_at": "2024-01-19T22:06:39Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": + "TrackingDetail", "message": "In test mode, only test tracking numbers are + valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", + "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T22:06:39Z", + "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": + "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], + "carrier_detail": null, "finalized": true, "is_return": false, "public_url": + "https://track.easypost.com/djE6dHJrX2FmMDkxNTQwYjk4MjRjZTVhYjJmYzFjODRkMDFkN2Vm", + "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": + "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": + false}, "messages": [], "created_at": "2024-01-19T22:06:39Z", "updated_at": + "2024-01-19T22:06:39Z"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2665' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaf270e798d5220010eb6e + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.083496' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_options_create_with_options.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_options_create_with_options.yaml new file mode 100644 index 00000000..0b37d591 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_options_create_with_options.yaml @@ -0,0 +1,1380 @@ +interactions: +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "options": {"print_custom_1": + "Custom label message"}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '940' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:40:55Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"print_custom_1": "Custom label + message", "currency": "USD", "print_custom": [{"value": "Custom label message"}], + "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, "status": + "unknown", "tracking_code": null, "updated_at": "2024-01-19T21:40:56Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_7c83f1010fb34baf9918aa9e67cdebc0", "object": "CustomsInfo", "created_at": + "2024-01-19T21:40:55Z", "updated_at": "2024-01-19T21:40:55Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_897e45137fe5445b8fd25b531fc37493", + "object": "CustomsItem", "created_at": "2024-01-19T21:40:55Z", "updated_at": + "2024-01-19T21:40:55Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_6ccfb677b71311ee974bac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:40:55+00:00", "updated_at": + "2024-01-19T21:40:55+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_ae2d7d66d6c94f63b588d552a7abe104", + "object": "Parcel", "created_at": "2024-01-19T21:40:55Z", "updated_at": "2024-01-19T21:40:55Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_caad818c21154e50b502f50656955b9a", + "object": "Rate", "created_at": "2024-01-19T21:40:56Z", "updated_at": "2024-01-19T21:40:56Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_6602fa67597a43a3abdc4b044cef3fe0", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_77f385ab06f64e2caf8a0b8c29390eee", + "object": "Rate", "created_at": "2024-01-19T21:40:56Z", "updated_at": "2024-01-19T21:40:56Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_6602fa67597a43a3abdc4b044cef3fe0", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_47009bdbca044be1b9effe5ef8abb17f", + "object": "Rate", "created_at": "2024-01-19T21:40:56Z", "updated_at": "2024-01-19T21:40:56Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_6602fa67597a43a3abdc4b044cef3fe0", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f7a4973a87f646fe9c3ff93cfdff1de4", + "object": "Rate", "created_at": "2024-01-19T21:40:56Z", "updated_at": "2024-01-19T21:40:56Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_6602fa67597a43a3abdc4b044cef3fe0", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_5e08b7a12bf040d690cd045d878beb67", "object": "Rate", "created_at": + "2024-01-19T21:40:56Z", "updated_at": "2024-01-19T21:40:56Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_6602fa67597a43a3abdc4b044cef3fe0", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_6cccdebbb71311ee9631ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:40:55+00:00", "updated_at": "2024-01-19T21:40:55+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_6ccfb677b71311ee974bac1f6bc539ae", "object": "Address", "created_at": + "2024-01-19T21:40:55+00:00", "updated_at": "2024-01-19T21:40:55+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_6cccdebbb71311ee9631ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:40:55+00:00", "updated_at": + "2024-01-19T21:40:55+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_6602fa67597a43a3abdc4b044cef3fe0", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7309' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_6602fa67597a43a3abdc4b044cef3fe0 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaec67e78b9bae000cd7f0 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.835109' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "options": {"print_custom_1": + "Custom label message"}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '940' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:43:23Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"print_custom_1": "Custom label + message", "currency": "USD", "print_custom": [{"value": "Custom label message"}], + "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, "status": + "unknown", "tracking_code": null, "updated_at": "2024-01-19T21:43:24Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_9bd6bf89fb5c46728cbe17edf6bb370e", "object": "CustomsInfo", "created_at": + "2024-01-19T21:43:23Z", "updated_at": "2024-01-19T21:43:23Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_c1e6ea5cf8f34552b0fcab7e86673c27", + "object": "CustomsItem", "created_at": "2024-01-19T21:43:23Z", "updated_at": + "2024-01-19T21:43:23Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_c557faacb71311eeb4593cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:43:23+00:00", "updated_at": + "2024-01-19T21:43:23+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_92f34e7668fd4fcd96cae21c685a2dd1", + "object": "Parcel", "created_at": "2024-01-19T21:43:23Z", "updated_at": "2024-01-19T21:43:23Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_64b12833401b474da91a4f0b28a05061", + "object": "Rate", "created_at": "2024-01-19T21:43:24Z", "updated_at": "2024-01-19T21:43:24Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_c4b31ae86b264bb48b7525971abd80a8", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_0212ed42399e4922b4b059bb1c49cb41", + "object": "Rate", "created_at": "2024-01-19T21:43:24Z", "updated_at": "2024-01-19T21:43:24Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_c4b31ae86b264bb48b7525971abd80a8", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_1e6ce963062242018ea66cadc59b076c", + "object": "Rate", "created_at": "2024-01-19T21:43:24Z", "updated_at": "2024-01-19T21:43:24Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_c4b31ae86b264bb48b7525971abd80a8", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_bb8a39919b3b45e3be41199695ab2c0f", + "object": "Rate", "created_at": "2024-01-19T21:43:24Z", "updated_at": "2024-01-19T21:43:24Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_c4b31ae86b264bb48b7525971abd80a8", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_19eb21cfc9634089a190694b9ded84cd", "object": "Rate", "created_at": + "2024-01-19T21:43:24Z", "updated_at": "2024-01-19T21:43:24Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_c4b31ae86b264bb48b7525971abd80a8", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_c5556725b71311ee85c8ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:43:23+00:00", "updated_at": "2024-01-19T21:43:23+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_c557faacb71311eeb4593cecef1b359e", "object": "Address", "created_at": + "2024-01-19T21:43:23+00:00", "updated_at": "2024-01-19T21:43:23+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_c5556725b71311ee85c8ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:43:23+00:00", "updated_at": + "2024-01-19T21:43:23+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_c4b31ae86b264bb48b7525971abd80a8", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7309' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_c4b31ae86b264bb48b7525971abd80a8 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaecfbe78ba3e7000d3580 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.751440' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "options": {"print_custom_1": + "Custom label message"}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '940' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:47:14Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"print_custom_1": "Custom label + message", "currency": "USD", "print_custom": [{"value": "Custom label message"}], + "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, "status": + "unknown", "tracking_code": null, "updated_at": "2024-01-19T21:47:15Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_747e14512c7448f6ba9303405b731a3a", "object": "CustomsInfo", "created_at": + "2024-01-19T21:47:14Z", "updated_at": "2024-01-19T21:47:14Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_4c435b412c764e768adf592c177c4eb7", + "object": "CustomsItem", "created_at": "2024-01-19T21:47:14Z", "updated_at": + "2024-01-19T21:47:14Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_4ee6e758b71411eea0b13cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:47:14+00:00", "updated_at": + "2024-01-19T21:47:14+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_194e15ae618646eaba0a6e855a91138b", + "object": "Parcel", "created_at": "2024-01-19T21:47:14Z", "updated_at": "2024-01-19T21:47:14Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_1fa9c43e6f7a4d8dad5b3d0c7bf164ed", + "object": "Rate", "created_at": "2024-01-19T21:47:15Z", "updated_at": "2024-01-19T21:47:15Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_1844b7a6f1f24257afd7a5926465a532", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_221deffadbf943e2a34c04c3cc9e7177", + "object": "Rate", "created_at": "2024-01-19T21:47:15Z", "updated_at": "2024-01-19T21:47:15Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_1844b7a6f1f24257afd7a5926465a532", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_28c2200d2e894a7abc136e71f924279f", + "object": "Rate", "created_at": "2024-01-19T21:47:15Z", "updated_at": "2024-01-19T21:47:15Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_1844b7a6f1f24257afd7a5926465a532", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_046746a8bb144fd29473701fad16c83e", + "object": "Rate", "created_at": "2024-01-19T21:47:15Z", "updated_at": "2024-01-19T21:47:15Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_1844b7a6f1f24257afd7a5926465a532", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_922cc219eebf462bb4e0521a6bc4d804", "object": "Rate", "created_at": + "2024-01-19T21:47:15Z", "updated_at": "2024-01-19T21:47:15Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_1844b7a6f1f24257afd7a5926465a532", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_4ee4bf98b71411eea3a5ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:47:14+00:00", "updated_at": "2024-01-19T21:47:14+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_4ee6e758b71411eea0b13cecef1b359e", "object": "Address", "created_at": + "2024-01-19T21:47:14+00:00", "updated_at": "2024-01-19T21:47:14+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_4ee4bf98b71411eea3a5ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:47:14+00:00", "updated_at": + "2024-01-19T21:47:14+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_1844b7a6f1f24257afd7a5926465a532", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7309' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_1844b7a6f1f24257afd7a5926465a532 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdae65aaede2e78bac7000112a69 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.862218' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "options": {"print_custom_1": + "Custom label message"}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '940' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:49:06Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"print_custom_1": "Custom label + message", "currency": "USD", "print_custom": [{"value": "Custom label message"}], + "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, "status": + "unknown", "tracking_code": null, "updated_at": "2024-01-19T21:49:07Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_997d7faa84424860ab3dd343aa28d672", "object": "CustomsInfo", "created_at": + "2024-01-19T21:49:06Z", "updated_at": "2024-01-19T21:49:06Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_95699ed548244d84aae3b2d01236dbc9", + "object": "CustomsItem", "created_at": "2024-01-19T21:49:06Z", "updated_at": + "2024-01-19T21:49:06Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_91958776b71411ee86ccac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:49:06+00:00", "updated_at": + "2024-01-19T21:49:06+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_a8ca96bc01114c4898dcf38803642f60", + "object": "Parcel", "created_at": "2024-01-19T21:49:06Z", "updated_at": "2024-01-19T21:49:06Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_fa17b3eac9c747f8a43aa2c45fcf1dbc", + "object": "Rate", "created_at": "2024-01-19T21:49:07Z", "updated_at": "2024-01-19T21:49:07Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_0a527dc6c713468884e58700bf897608", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_881fec7ff5ee487aba474879e89322f8", + "object": "Rate", "created_at": "2024-01-19T21:49:07Z", "updated_at": "2024-01-19T21:49:07Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_0a527dc6c713468884e58700bf897608", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f4d05b1616bf4cc987eb9ebd1ffab64c", + "object": "Rate", "created_at": "2024-01-19T21:49:07Z", "updated_at": "2024-01-19T21:49:07Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_0a527dc6c713468884e58700bf897608", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b8869ad31af440f6b21b42634cfb7d38", + "object": "Rate", "created_at": "2024-01-19T21:49:07Z", "updated_at": "2024-01-19T21:49:07Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_0a527dc6c713468884e58700bf897608", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_e83c7cb7027d48d9ab4f0d64a5fa04a3", "object": "Rate", "created_at": + "2024-01-19T21:49:07Z", "updated_at": "2024-01-19T21:49:07Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_0a527dc6c713468884e58700bf897608", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_9192e26fb71411ee86c9ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:49:06+00:00", "updated_at": "2024-01-19T21:49:06+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_91958776b71411ee86ccac1f6bc539aa", "object": "Address", "created_at": + "2024-01-19T21:49:06+00:00", "updated_at": "2024-01-19T21:49:06+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_9192e26fb71411ee86c9ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:49:06+00:00", "updated_at": + "2024-01-19T21:49:06+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_0a527dc6c713468884e58700bf897608", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7309' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_0a527dc6c713468884e58700bf897608 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdaa65aaee52e78bb4aa00116da2 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.808043' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "options": {"print_custom_1": + "Custom label message"}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '940' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:58:27Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"print_custom_1": "Custom label + message", "currency": "USD", "print_custom": [{"value": "Custom label message"}], + "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, "status": + "unknown", "tracking_code": null, "updated_at": "2024-01-19T21:58:28Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_b7c827bbd6d34ff8929157c4d88636a1", "object": "CustomsInfo", "created_at": + "2024-01-19T21:58:27Z", "updated_at": "2024-01-19T21:58:27Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_d4919d7239704751beb4af99bfaab0f7", + "object": "CustomsItem", "created_at": "2024-01-19T21:58:27Z", "updated_at": + "2024-01-19T21:58:27Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_dffa7f26b71511eea938ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:58:27+00:00", "updated_at": + "2024-01-19T21:58:27+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_b19d301707c24d83a468e651574853f7", + "object": "Parcel", "created_at": "2024-01-19T21:58:27Z", "updated_at": "2024-01-19T21:58:27Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_df1e6e882c594b4284e903ee6dce8a84", + "object": "Rate", "created_at": "2024-01-19T21:58:28Z", "updated_at": "2024-01-19T21:58:28Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_6d7d5eb2f6624879840b8775446b7824", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_74989860512f4425871b5a2b50c0c3e9", + "object": "Rate", "created_at": "2024-01-19T21:58:28Z", "updated_at": "2024-01-19T21:58:28Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_6d7d5eb2f6624879840b8775446b7824", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_6e30c6bec2d7438dbd4124ca01a55043", + "object": "Rate", "created_at": "2024-01-19T21:58:28Z", "updated_at": "2024-01-19T21:58:28Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_6d7d5eb2f6624879840b8775446b7824", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_c2c1f82eae9a44cb898167d6221d3309", "object": "Rate", "created_at": + "2024-01-19T21:58:28Z", "updated_at": "2024-01-19T21:58:28Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_6d7d5eb2f6624879840b8775446b7824", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_0815052cd87a4ce5bcc03f3b025e1290", "object": "Rate", "created_at": + "2024-01-19T21:58:28Z", "updated_at": "2024-01-19T21:58:28Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_6d7d5eb2f6624879840b8775446b7824", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_dff76b48b71511eeb7aaac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:58:27+00:00", "updated_at": "2024-01-19T21:58:27+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_dffa7f26b71511eea938ac1f6bc539ae", "object": "Address", "created_at": + "2024-01-19T21:58:27+00:00", "updated_at": "2024-01-19T21:58:27+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_dff76b48b71511eeb7aaac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:58:27+00:00", "updated_at": + "2024-01-19T21:58:27+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_6d7d5eb2f6624879840b8775446b7824", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7309' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_6d7d5eb2f6624879840b8775446b7824 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaf083e798bc3e000f72a2 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.955026' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "options": {"print_custom_1": + "Custom label message"}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '940' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T22:01:22Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"print_custom_1": "Custom label + message", "currency": "USD", "print_custom": [{"value": "Custom label message"}], + "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, "status": + "unknown", "tracking_code": null, "updated_at": "2024-01-19T22:01:22Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_85ca4ef125b54da4b177bf266ceaafd6", "object": "CustomsInfo", "created_at": + "2024-01-19T22:01:22Z", "updated_at": "2024-01-19T22:01:22Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_a055261c99944590a5ec4cc30769c609", + "object": "CustomsItem", "created_at": "2024-01-19T22:01:22Z", "updated_at": + "2024-01-19T22:01:22Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_47f9f571b71611ee864d3cecef1b359e", + "object": "Address", "created_at": "2024-01-19T22:01:21+00:00", "updated_at": + "2024-01-19T22:01:21+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_b7c86ea6b86740c494df92c837806273", + "object": "Parcel", "created_at": "2024-01-19T22:01:21Z", "updated_at": "2024-01-19T22:01:21Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_9275a7b320674988b89203ff474bda10", + "object": "Rate", "created_at": "2024-01-19T22:01:22Z", "updated_at": "2024-01-19T22:01:22Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_ca16cd89356f41ec885edaf83ad9b9ba", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_9eeff9f09fec4b3f9dd9461ab7942407", + "object": "Rate", "created_at": "2024-01-19T22:01:22Z", "updated_at": "2024-01-19T22:01:22Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_ca16cd89356f41ec885edaf83ad9b9ba", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_2c1b72ff3e6745b8b29496b5ee28ebbd", + "object": "Rate", "created_at": "2024-01-19T22:01:22Z", "updated_at": "2024-01-19T22:01:22Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_ca16cd89356f41ec885edaf83ad9b9ba", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_44ebf49c5efd44479f5fc07b741e8963", + "object": "Rate", "created_at": "2024-01-19T22:01:22Z", "updated_at": "2024-01-19T22:01:22Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_ca16cd89356f41ec885edaf83ad9b9ba", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_cc96540781ef424d8a301e374b73cb7e", "object": "Rate", "created_at": + "2024-01-19T22:01:22Z", "updated_at": "2024-01-19T22:01:22Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_ca16cd89356f41ec885edaf83ad9b9ba", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_47f77747b71611ee8875ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T22:01:21+00:00", "updated_at": "2024-01-19T22:01:21+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_47f9f571b71611ee864d3cecef1b359e", "object": "Address", "created_at": + "2024-01-19T22:01:21+00:00", "updated_at": "2024-01-19T22:01:21+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_47f77747b71611ee8875ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:01:21+00:00", "updated_at": + "2024-01-19T22:01:21+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_ca16cd89356f41ec885edaf83ad9b9ba", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7309' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_ca16cd89356f41ec885edaf83ad9b9ba + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaf131e798c484000fff1a + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.778032' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "options": {"print_custom_1": + "Custom label message"}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '940' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T22:05:08Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"print_custom_1": "Custom label + message", "currency": "USD", "print_custom": [{"value": "Custom label message"}], + "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, "status": + "unknown", "tracking_code": null, "updated_at": "2024-01-19T22:05:08Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_450f231467a9432488c744eef9d62e74", "object": "CustomsInfo", "created_at": + "2024-01-19T22:05:07Z", "updated_at": "2024-01-19T22:05:07Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_a981e3f7f8b14badba3850af63585147", + "object": "CustomsItem", "created_at": "2024-01-19T22:05:07Z", "updated_at": + "2024-01-19T22:05:07Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_ceac4918b71611eeb2dbac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:05:07+00:00", "updated_at": + "2024-01-19T22:05:07+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_f25cd36a538a4a8e8ada8eaa41d43f37", + "object": "Parcel", "created_at": "2024-01-19T22:05:07Z", "updated_at": "2024-01-19T22:05:07Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_fc687a23783e4f7988c5aa88c18d99c6", + "object": "Rate", "created_at": "2024-01-19T22:05:08Z", "updated_at": "2024-01-19T22:05:08Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_66e6053c515b48098908810696e62ceb", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_0582e536d9f44e469969703ac28df958", + "object": "Rate", "created_at": "2024-01-19T22:05:08Z", "updated_at": "2024-01-19T22:05:08Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_66e6053c515b48098908810696e62ceb", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_7454dfa1a0414e5c831d4d7154685cce", + "object": "Rate", "created_at": "2024-01-19T22:05:08Z", "updated_at": "2024-01-19T22:05:08Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_66e6053c515b48098908810696e62ceb", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_9999d6d0d3c54cd8be78db13f4af7f91", + "object": "Rate", "created_at": "2024-01-19T22:05:08Z", "updated_at": "2024-01-19T22:05:08Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_66e6053c515b48098908810696e62ceb", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_48e577c07a8a4106b6fd22ad7918a149", "object": "Rate", "created_at": + "2024-01-19T22:05:08Z", "updated_at": "2024-01-19T22:05:08Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_66e6053c515b48098908810696e62ceb", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_ceaa2670b71611eeb536ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T22:05:07+00:00", "updated_at": "2024-01-19T22:05:07+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_ceac4918b71611eeb2dbac1f6bc53342", "object": "Address", "created_at": + "2024-01-19T22:05:07+00:00", "updated_at": "2024-01-19T22:05:07+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_ceaa2670b71611eeb536ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T22:05:07+00:00", "updated_at": + "2024-01-19T22:05:07+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_66e6053c515b48098908810696e62ceb", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7309' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_66e6053c515b48098908810696e62ceb + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaf213e798d0790010ac6c + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.708487' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "options": {"print_custom_1": + "Custom label message"}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '940' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T22:06:41Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"print_custom_1": "Custom label + message", "currency": "USD", "print_custom": [{"value": "Custom label message"}], + "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, "status": + "unknown", "tracking_code": null, "updated_at": "2024-01-19T22:06:42Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_7b9c4ef4ffc249e990c1a4b13306e321", "object": "CustomsInfo", "created_at": + "2024-01-19T22:06:41Z", "updated_at": "2024-01-19T22:06:41Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_5ac044a6041847bb8b1b088ae2d641bb", + "object": "CustomsItem", "created_at": "2024-01-19T22:06:41Z", "updated_at": + "2024-01-19T22:06:41Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_068b6ff1b71711ee84973cecef1b359e", + "object": "Address", "created_at": "2024-01-19T22:06:41+00:00", "updated_at": + "2024-01-19T22:06:41+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_4142d0fb639e4dd6a3ffdba5e23a3f58", + "object": "Parcel", "created_at": "2024-01-19T22:06:41Z", "updated_at": "2024-01-19T22:06:41Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_b02e660de5824bb8abd0d9e0072af45b", + "object": "Rate", "created_at": "2024-01-19T22:06:42Z", "updated_at": "2024-01-19T22:06:42Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_4cf7c80690a54f0185efa25ef21b05a7", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_a7d4fe8b51454a64a3858b7753dabca9", + "object": "Rate", "created_at": "2024-01-19T22:06:42Z", "updated_at": "2024-01-19T22:06:42Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_4cf7c80690a54f0185efa25ef21b05a7", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_87b5356d368c4b8d9c2536bedd60350c", + "object": "Rate", "created_at": "2024-01-19T22:06:42Z", "updated_at": "2024-01-19T22:06:42Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_4cf7c80690a54f0185efa25ef21b05a7", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_2139308b6c184c0aa92806cdfe7a60b5", + "object": "Rate", "created_at": "2024-01-19T22:06:42Z", "updated_at": "2024-01-19T22:06:42Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_4cf7c80690a54f0185efa25ef21b05a7", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_28194cbb178843289d4c84baa4d6d702", "object": "Rate", "created_at": + "2024-01-19T22:06:42Z", "updated_at": "2024-01-19T22:06:42Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_4cf7c80690a54f0185efa25ef21b05a7", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_0688a7a7b71711ee9689ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T22:06:41+00:00", "updated_at": "2024-01-19T22:06:41+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_068b6ff1b71711ee84973cecef1b359e", "object": "Address", "created_at": + "2024-01-19T22:06:41+00:00", "updated_at": "2024-01-19T22:06:41+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_0688a7a7b71711ee9689ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T22:06:41+00:00", "updated_at": + "2024-01-19T22:06:41+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_4cf7c80690a54f0185efa25ef21b05a7", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7309' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_4cf7c80690a54f0185efa25ef21b05a7 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaf271e798d5240010ebfd + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.706818' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_orders_buy.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_orders_buy.yaml new file mode 100644 index 00000000..f61cb3ef --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_orders_buy.yaml @@ -0,0 +1,3804 @@ +interactions: +- request: + body: '{"order": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 N + Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "shipments": [{"parcel": {"weight": + "10.2"}}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '491' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/orders + response: + body: + string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": + "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", + "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", + "message": "Unauthorized. Please check credentials and try again"}, {"carrier": + "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": + "rate_error", "message": "Unauthorized. Please check credentials and try again"}, + {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "created_at": "2024-01-19T21:40:57Z", "updated_at": "2024-01-19T21:40:58Z", + "customs_info": null, "from_address": {"id": "adr_6e41e4a5b71311ee97ceac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:40:57+00:00", "updated_at": + "2024-01-19T21:40:57+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "to_address": {"id": "adr_6e3fba44b71311ee96afac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T21:40:57+00:00", "updated_at": "2024-01-19T21:40:57+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "buyer_address": {"id": "adr_6e3fba44b71311ee96afac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:40:57+00:00", "updated_at": + "2024-01-19T21:40:57+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "return_address": {"id": + "adr_6e41e4a5b71311ee97ceac1f6bc539ae", "object": "Address", "created_at": + "2024-01-19T21:40:57+00:00", "updated_at": "2024-01-19T21:40:57+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T21:40:57Z", + "is_return": false, "messages": [{"carrier": "DhlEcs", "carrier_account_id": + "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_0d64fd488c1444cf9bc16f858703e28f", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_b1a0a1bc45844159812e0224d53948ea", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_99007e1aeb66421faf82676f1199481e", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_c3cbbd21bc97400bbbaed6d030909476", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}], "mode": "test", "options": {"currency": + "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, + "status": "unknown", "tracking_code": null, "updated_at": "2024-01-19T21:40:57Z", + "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": + null, "from_address": {"id": "adr_6e41e4a5b71311ee97ceac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:40:57+00:00", "updated_at": "2024-01-19T21:40:57+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": "order_c9ac9440c9b14226baf7e2de4e9b43b8", + "parcel": {"id": "prcl_fa3d9b3650e6497a96aaa24aae987560", "object": "Parcel", + "created_at": "2024-01-19T21:40:57Z", "updated_at": "2024-01-19T21:40:57Z", + "length": null, "width": null, "height": null, "predefined_package": null, + "weight": 10.2, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_a0ccacd39a7d477f8bb62010398efd61", + "object": "Rate", "created_at": "2024-01-19T21:40:58Z", "updated_at": "2024-01-19T21:40:58Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", + "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": + "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_4247b1c0069e44ca9562013f148896da", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_5a9f414cda3946248ebbfa1d5df9f9e8", + "object": "Rate", "created_at": "2024-01-19T21:40:58Z", "updated_at": "2024-01-19T21:40:58Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_4247b1c0069e44ca9562013f148896da", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_f46e6837bc104d58b1b36d247664204a", "object": "Rate", "created_at": + "2024-01-19T21:40:58Z", "updated_at": "2024-01-19T21:40:58Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_4247b1c0069e44ca9562013f148896da", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_878b7574c72845528abe04f2316a255c", "object": "Rate", "created_at": + "2024-01-19T21:40:58Z", "updated_at": "2024-01-19T21:40:58Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", + "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_4247b1c0069e44ca9562013f148896da", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_a370ea5586c8487b995e0c5e0eea92ae", "object": "Rate", "created_at": + "2024-01-19T21:40:58Z", "updated_at": "2024-01-19T21:40:58Z", "mode": "test", + "service": "Priority", "carrier": "USPS", "rate": "6.95", "currency": "USD", + "retail_rate": "10.20", "retail_currency": "USD", "list_rate": "8.24", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": + "shp_4247b1c0069e44ca9562013f148896da", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_6e3fba44b71311ee96afac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:40:57+00:00", "updated_at": "2024-01-19T21:40:57+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_6e41e4a5b71311ee97ceac1f6bc539ae", "object": "Address", "created_at": + "2024-01-19T21:40:57+00:00", "updated_at": "2024-01-19T21:40:57+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_6e3fba44b71311ee96afac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:40:57+00:00", "updated_at": + "2024-01-19T21:40:57+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_4247b1c0069e44ca9562013f148896da", "object": "Shipment"}], "rates": + [{"id": "rate_a0ccacd39a7d477f8bb62010398efd61", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "GroundAdvantage", "carrier": + "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_4247b1c0069e44ca9562013f148896da", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_5a9f414cda3946248ebbfa1d5df9f9e8", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "First", "carrier": "USPS", "rate": "4.81", "currency": "USD", + "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_4247b1c0069e44ca9562013f148896da", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_f46e6837bc104d58b1b36d247664204a", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "ParcelSelect", "carrier": + "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_4247b1c0069e44ca9562013f148896da", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_878b7574c72845528abe04f2316a255c", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", + "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_4247b1c0069e44ca9562013f148896da", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_a370ea5586c8487b995e0c5e0eea92ae", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "Priority", "carrier": + "USPS", "rate": "6.95", "currency": "USD", "retail_rate": "10.20", "retail_currency": + "USD", "list_rate": "8.24", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 2, "shipment_id": "shp_4247b1c0069e44ca9562013f148896da", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], "id": "order_c9ac9440c9b14226baf7e2de4e9b43b8", + "object": "Order"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '12214' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/orders/order_c9ac9440c9b14226baf7e2de4e9b43b8 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaec69e78b9ebf000cd96c + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.888221' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"carrier": "USPS", "service": "First"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '39' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/orders/order_c9ac9440c9b14226baf7e2de4e9b43b8/buy + response: + body: + string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": + "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", + "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", + "message": "Unauthorized. Please check credentials and try again"}, {"carrier": + "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": + "rate_error", "message": "Unauthorized. Please check credentials and try again"}, + {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "created_at": "2024-01-19T21:40:57Z", "updated_at": "2024-01-19T21:40:58Z", + "customs_info": null, "from_address": {"id": "adr_6e41e4a5b71311ee97ceac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:40:57+00:00", "updated_at": + "2024-01-19T21:40:57+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "to_address": {"id": "adr_6e3fba44b71311ee96afac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T21:40:57+00:00", "updated_at": "2024-01-19T21:40:59+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "buyer_address": {"id": "adr_6e3fba44b71311ee96afac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:40:57+00:00", "updated_at": "2024-01-19T21:40:59+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "return_address": {"id": "adr_6e41e4a5b71311ee97ceac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:40:57+00:00", "updated_at": "2024-01-19T21:40:57+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T21:40:57Z", + "is_return": false, "messages": [], "mode": "test", "options": {"currency": + "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, + "status": "unknown", "tracking_code": "9400100207552010707617", "updated_at": + "2024-01-19T21:40:59Z", "batch_id": null, "batch_status": null, "batch_message": + null, "customs_info": null, "from_address": {"id": "adr_6e41e4a5b71311ee97ceac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:40:57+00:00", "updated_at": + "2024-01-19T21:40:57+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": "order_c9ac9440c9b14226baf7e2de4e9b43b8", "parcel": + {"id": "prcl_fa3d9b3650e6497a96aaa24aae987560", "object": "Parcel", "created_at": + "2024-01-19T21:40:57Z", "updated_at": "2024-01-19T21:40:57Z", "length": null, + "width": null, "height": null, "predefined_package": null, "weight": 10.2, + "mode": "test"}, "postage_label": {"object": "PostageLabel", "id": "pl_0fc65726a88e422c8dd01e6b33a7d89d", + "created_at": "2024-01-19T21:40:59Z", "updated_at": "2024-01-19T21:40:59Z", + "date_advance": 0, "integrated_form": "none", "label_date": "2024-01-19T21:40:59Z", + "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": + "image/png", "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8e7c19abb9fdd42719607060930ad4eaf.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_a0ccacd39a7d477f8bb62010398efd61", "object": + "Rate", "created_at": "2024-01-19T21:40:58Z", "updated_at": "2024-01-19T21:40:58Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", + "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": + "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_4247b1c0069e44ca9562013f148896da", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_5a9f414cda3946248ebbfa1d5df9f9e8", + "object": "Rate", "created_at": "2024-01-19T21:40:58Z", "updated_at": "2024-01-19T21:40:58Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_4247b1c0069e44ca9562013f148896da", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_f46e6837bc104d58b1b36d247664204a", "object": "Rate", "created_at": + "2024-01-19T21:40:58Z", "updated_at": "2024-01-19T21:40:58Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_4247b1c0069e44ca9562013f148896da", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_878b7574c72845528abe04f2316a255c", "object": "Rate", "created_at": + "2024-01-19T21:40:58Z", "updated_at": "2024-01-19T21:40:58Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", + "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_4247b1c0069e44ca9562013f148896da", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_a370ea5586c8487b995e0c5e0eea92ae", "object": "Rate", "created_at": + "2024-01-19T21:40:58Z", "updated_at": "2024-01-19T21:40:58Z", "mode": "test", + "service": "Priority", "carrier": "USPS", "rate": "6.95", "currency": "USD", + "retail_rate": "10.20", "retail_currency": "USD", "list_rate": "8.24", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": + "shp_4247b1c0069e44ca9562013f148896da", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_5a9f414cda3946248ebbfa1d5df9f9e8", + "object": "Rate", "created_at": "2024-01-19T21:40:59Z", "updated_at": "2024-01-19T21:40:59Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_4247b1c0069e44ca9562013f148896da", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + "tracker": {"id": "trk_96c00f083f8b402cb0d735b68cf121bc", "object": "Tracker", + "mode": "test", "tracking_code": "9400100207552010707617", "status": "unknown", + "status_detail": "unknown", "created_at": "2024-01-19T21:41:00Z", "updated_at": + "2024-01-19T21:41:00Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_4247b1c0069e44ca9562013f148896da", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzk2YzAwZjA4M2Y4YjQwMmNiMGQ3MzViNjhjZjEyMWJj"}, + "to_address": {"id": "adr_6e3fba44b71311ee96afac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T21:40:57+00:00", "updated_at": "2024-01-19T21:40:59+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_6e41e4a5b71311ee97ceac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:40:57+00:00", "updated_at": + "2024-01-19T21:40:57+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_6e3fba44b71311ee96afac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:40:57+00:00", "updated_at": "2024-01-19T21:40:59+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "4.81000", "charged": true, "refunded": false}], "id": "shp_4247b1c0069e44ca9562013f148896da", + "object": "Shipment"}], "rates": [{"id": "rate_a0ccacd39a7d477f8bb62010398efd61", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_4247b1c0069e44ca9562013f148896da", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_5a9f414cda3946248ebbfa1d5df9f9e8", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "First", "carrier": "USPS", + "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_4247b1c0069e44ca9562013f148896da", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f46e6837bc104d58b1b36d247664204a", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_4247b1c0069e44ca9562013f148896da", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_878b7574c72845528abe04f2316a255c", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "Express", "carrier": + "USPS", "rate": "31.25", "currency": "USD", "retail_rate": "35.80", "retail_currency": + "USD", "list_rate": "31.25", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + false, "est_delivery_days": null, "shipment_id": "shp_4247b1c0069e44ca9562013f148896da", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_a370ea5586c8487b995e0c5e0eea92ae", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "Priority", "carrier": "USPS", "rate": "6.95", "currency": "USD", + "retail_rate": "10.20", "retail_currency": "USD", "list_rate": "8.24", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": + "shp_4247b1c0069e44ca9562013f148896da", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "id": "order_c9ac9440c9b14226baf7e2de4e9b43b8", "object": "Order"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '13704' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaec6be78b9ec0000cda43 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.076673' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"order": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 N + Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "shipments": [{"parcel": {"weight": + "10.2"}}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '491' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/orders + response: + body: + string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": + "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", + "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", + "message": "Unauthorized. Please check credentials and try again"}, {"carrier": + "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": + "rate_error", "message": "Unauthorized. Please check credentials and try again"}, + {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "created_at": "2024-01-19T21:43:26Z", "updated_at": "2024-01-19T21:43:26Z", + "customs_info": null, "from_address": {"id": "adr_c6d8eb4fb71311eeb4e93cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:43:26+00:00", "updated_at": + "2024-01-19T21:43:26+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "to_address": {"id": "adr_c6d73225b71311eeb75bac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:43:26+00:00", "updated_at": "2024-01-19T21:43:26+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "buyer_address": {"id": "adr_c6d73225b71311eeb75bac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:43:26+00:00", "updated_at": + "2024-01-19T21:43:26+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "return_address": {"id": + "adr_c6d8eb4fb71311eeb4e93cecef1b359e", "object": "Address", "created_at": + "2024-01-19T21:43:26+00:00", "updated_at": "2024-01-19T21:43:26+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T21:43:26Z", + "is_return": false, "messages": [{"carrier": "DhlEcs", "carrier_account_id": + "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_b1a0a1bc45844159812e0224d53948ea", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_99007e1aeb66421faf82676f1199481e", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_0d64fd488c1444cf9bc16f858703e28f", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_c3cbbd21bc97400bbbaed6d030909476", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}], "mode": "test", "options": {"currency": + "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, + "status": "unknown", "tracking_code": null, "updated_at": "2024-01-19T21:43:26Z", + "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": + null, "from_address": {"id": "adr_c6d8eb4fb71311eeb4e93cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:43:26+00:00", "updated_at": "2024-01-19T21:43:26+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": "order_49bded523b3c4f61a3802e7fddffc605", + "parcel": {"id": "prcl_9efb5813b8b54e649a7cc17a19d9e02a", "object": "Parcel", + "created_at": "2024-01-19T21:43:26Z", "updated_at": "2024-01-19T21:43:26Z", + "length": null, "width": null, "height": null, "predefined_package": null, + "weight": 10.2, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_f2f18e2650a24db08d25e37c694b044b", + "object": "Rate", "created_at": "2024-01-19T21:43:26Z", "updated_at": "2024-01-19T21:43:26Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "31.25", + "currency": "USD", "retail_rate": "35.80", "retail_currency": "USD", "list_rate": + "31.25", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_41b1192749024b85ac1eb9a7917c1630", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_87aef48b8d6f47c2932eb4d90230a474", + "object": "Rate", "created_at": "2024-01-19T21:43:26Z", "updated_at": "2024-01-19T21:43:26Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", + "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": + "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_41b1192749024b85ac1eb9a7917c1630", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_26856d5bd4bc40c2b60f48b0ae3fee85", + "object": "Rate", "created_at": "2024-01-19T21:43:26Z", "updated_at": "2024-01-19T21:43:26Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", + "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": + "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_41b1192749024b85ac1eb9a7917c1630", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f7c1f0a86f374c4bb06cfd818d5a09e0", + "object": "Rate", "created_at": "2024-01-19T21:43:26Z", "updated_at": "2024-01-19T21:43:26Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_41b1192749024b85ac1eb9a7917c1630", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_efcba4100d5e4fe488daf731ef2925af", "object": "Rate", "created_at": + "2024-01-19T21:43:26Z", "updated_at": "2024-01-19T21:43:26Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_41b1192749024b85ac1eb9a7917c1630", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_c6d73225b71311eeb75bac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:43:26+00:00", "updated_at": "2024-01-19T21:43:26+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_c6d8eb4fb71311eeb4e93cecef1b359e", "object": "Address", "created_at": + "2024-01-19T21:43:26+00:00", "updated_at": "2024-01-19T21:43:26+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_c6d73225b71311eeb75bac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:43:26+00:00", "updated_at": + "2024-01-19T21:43:26+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_41b1192749024b85ac1eb9a7917c1630", "object": "Shipment"}], "rates": + [{"id": "rate_f2f18e2650a24db08d25e37c694b044b", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "Express", "carrier": + "USPS", "rate": "31.25", "currency": "USD", "retail_rate": "35.80", "retail_currency": + "USD", "list_rate": "31.25", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + false, "est_delivery_days": null, "shipment_id": "shp_41b1192749024b85ac1eb9a7917c1630", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_87aef48b8d6f47c2932eb4d90230a474", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "Priority", "carrier": "USPS", "rate": "6.95", "currency": "USD", + "retail_rate": "10.20", "retail_currency": "USD", "list_rate": "8.24", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": + "shp_41b1192749024b85ac1eb9a7917c1630", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_26856d5bd4bc40c2b60f48b0ae3fee85", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "GroundAdvantage", "carrier": + "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_41b1192749024b85ac1eb9a7917c1630", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f7c1f0a86f374c4bb06cfd818d5a09e0", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "First", "carrier": "USPS", "rate": "4.81", "currency": "USD", + "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_41b1192749024b85ac1eb9a7917c1630", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_efcba4100d5e4fe488daf731ef2925af", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "ParcelSelect", "carrier": + "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_41b1192749024b85ac1eb9a7917c1630", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], "id": "order_49bded523b3c4f61a3802e7fddffc605", + "object": "Order"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '12214' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/orders/order_49bded523b3c4f61a3802e7fddffc605 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaecfee78ba3eb000d3722 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.672557' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"carrier": "USPS", "service": "First"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '39' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/orders/order_49bded523b3c4f61a3802e7fddffc605/buy + response: + body: + string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": + "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", + "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", + "message": "Unauthorized. Please check credentials and try again"}, {"carrier": + "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": + "rate_error", "message": "Unauthorized. Please check credentials and try again"}, + {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "created_at": "2024-01-19T21:43:26Z", "updated_at": "2024-01-19T21:43:26Z", + "customs_info": null, "from_address": {"id": "adr_c6d8eb4fb71311eeb4e93cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:43:26+00:00", "updated_at": + "2024-01-19T21:43:26+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "to_address": {"id": "adr_c6d73225b71311eeb75bac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:43:26+00:00", "updated_at": "2024-01-19T21:43:27+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "buyer_address": {"id": "adr_c6d73225b71311eeb75bac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:43:26+00:00", "updated_at": "2024-01-19T21:43:27+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "return_address": {"id": "adr_c6d8eb4fb71311eeb4e93cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:43:26+00:00", "updated_at": "2024-01-19T21:43:26+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T21:43:26Z", + "is_return": false, "messages": [], "mode": "test", "options": {"currency": + "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, + "status": "unknown", "tracking_code": "9400100207552010707990", "updated_at": + "2024-01-19T21:43:27Z", "batch_id": null, "batch_status": null, "batch_message": + null, "customs_info": null, "from_address": {"id": "adr_c6d8eb4fb71311eeb4e93cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:43:26+00:00", "updated_at": + "2024-01-19T21:43:26+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": "order_49bded523b3c4f61a3802e7fddffc605", "parcel": + {"id": "prcl_9efb5813b8b54e649a7cc17a19d9e02a", "object": "Parcel", "created_at": + "2024-01-19T21:43:26Z", "updated_at": "2024-01-19T21:43:26Z", "length": null, + "width": null, "height": null, "predefined_package": null, "weight": 10.2, + "mode": "test"}, "postage_label": {"object": "PostageLabel", "id": "pl_3deaf1e95ab541d58886da669b19d0ae", + "created_at": "2024-01-19T21:43:27Z", "updated_at": "2024-01-19T21:43:27Z", + "date_advance": 0, "integrated_form": "none", "label_date": "2024-01-19T21:43:27Z", + "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": + "image/png", "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e82aa278fba88d47f78a8b92dd169a1cf2.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_f2f18e2650a24db08d25e37c694b044b", "object": + "Rate", "created_at": "2024-01-19T21:43:26Z", "updated_at": "2024-01-19T21:43:26Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "31.25", + "currency": "USD", "retail_rate": "35.80", "retail_currency": "USD", "list_rate": + "31.25", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_41b1192749024b85ac1eb9a7917c1630", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_87aef48b8d6f47c2932eb4d90230a474", + "object": "Rate", "created_at": "2024-01-19T21:43:26Z", "updated_at": "2024-01-19T21:43:26Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", + "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": + "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_41b1192749024b85ac1eb9a7917c1630", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_26856d5bd4bc40c2b60f48b0ae3fee85", + "object": "Rate", "created_at": "2024-01-19T21:43:26Z", "updated_at": "2024-01-19T21:43:26Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", + "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": + "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_41b1192749024b85ac1eb9a7917c1630", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f7c1f0a86f374c4bb06cfd818d5a09e0", + "object": "Rate", "created_at": "2024-01-19T21:43:26Z", "updated_at": "2024-01-19T21:43:26Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_41b1192749024b85ac1eb9a7917c1630", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_efcba4100d5e4fe488daf731ef2925af", "object": "Rate", "created_at": + "2024-01-19T21:43:26Z", "updated_at": "2024-01-19T21:43:26Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_41b1192749024b85ac1eb9a7917c1630", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_f7c1f0a86f374c4bb06cfd818d5a09e0", + "object": "Rate", "created_at": "2024-01-19T21:43:27Z", "updated_at": "2024-01-19T21:43:27Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_41b1192749024b85ac1eb9a7917c1630", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + "tracker": {"id": "trk_3d89ba6cda194655b7ae98118ed0b6b1", "object": "Tracker", + "mode": "test", "tracking_code": "9400100207552010707990", "status": "unknown", + "status_detail": "unknown", "created_at": "2024-01-19T21:43:28Z", "updated_at": + "2024-01-19T21:43:28Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_41b1192749024b85ac1eb9a7917c1630", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzNkODliYTZjZGExOTQ2NTViN2FlOTgxMThlZDBiNmIx"}, + "to_address": {"id": "adr_c6d73225b71311eeb75bac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:43:26+00:00", "updated_at": "2024-01-19T21:43:27+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_c6d8eb4fb71311eeb4e93cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:43:26+00:00", "updated_at": + "2024-01-19T21:43:26+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_c6d73225b71311eeb75bac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:43:26+00:00", "updated_at": "2024-01-19T21:43:27+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "4.81000", "charged": true, "refunded": false}], "id": "shp_41b1192749024b85ac1eb9a7917c1630", + "object": "Shipment"}], "rates": [{"id": "rate_f2f18e2650a24db08d25e37c694b044b", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", + "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_41b1192749024b85ac1eb9a7917c1630", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_87aef48b8d6f47c2932eb4d90230a474", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "Priority", "carrier": + "USPS", "rate": "6.95", "currency": "USD", "retail_rate": "10.20", "retail_currency": + "USD", "list_rate": "8.24", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 2, "shipment_id": "shp_41b1192749024b85ac1eb9a7917c1630", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_26856d5bd4bc40c2b60f48b0ae3fee85", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_41b1192749024b85ac1eb9a7917c1630", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_f7c1f0a86f374c4bb06cfd818d5a09e0", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "First", "carrier": "USPS", + "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_41b1192749024b85ac1eb9a7917c1630", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_efcba4100d5e4fe488daf731ef2925af", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_41b1192749024b85ac1eb9a7917c1630", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "id": "order_49bded523b3c4f61a3802e7fddffc605", "object": "Order"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '13704' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaecffe78ba3ed000d37ad + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.861396' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"order": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 N + Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "shipments": [{"parcel": {"weight": + "10.2"}}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '491' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/orders + response: + body: + string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": + "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", + "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", + "message": "Unauthorized. Please check credentials and try again"}, {"carrier": + "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", "type": + "rate_error", "message": "Unauthorized. Please check credentials and try again"}, + {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "created_at": "2024-01-19T21:47:18Z", "updated_at": "2024-01-19T21:47:18Z", + "customs_info": null, "from_address": {"id": "adr_50fad79fb71411eea1303cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:47:18+00:00", "updated_at": + "2024-01-19T21:47:18+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "to_address": {"id": "adr_50f74371b71411eea348ac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T21:47:18+00:00", "updated_at": "2024-01-19T21:47:18+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "buyer_address": {"id": "adr_50f74371b71411eea348ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:47:18+00:00", "updated_at": + "2024-01-19T21:47:18+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "return_address": {"id": + "adr_50fad79fb71411eea1303cecef1b359e", "object": "Address", "created_at": + "2024-01-19T21:47:18+00:00", "updated_at": "2024-01-19T21:47:18+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T21:47:18Z", + "is_return": false, "messages": [{"carrier": "DhlEcs", "carrier_account_id": + "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_0d64fd488c1444cf9bc16f858703e28f", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_99007e1aeb66421faf82676f1199481e", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_b1a0a1bc45844159812e0224d53948ea", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_c3cbbd21bc97400bbbaed6d030909476", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}], "mode": "test", "options": {"currency": + "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, + "status": "unknown", "tracking_code": null, "updated_at": "2024-01-19T21:47:18Z", + "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": + null, "from_address": {"id": "adr_50fad79fb71411eea1303cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:47:18+00:00", "updated_at": "2024-01-19T21:47:18+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": "order_36b6e4f0af8b4d36b576acc56a359998", + "parcel": {"id": "prcl_3bfe0567b0654b26b88110341ca90c54", "object": "Parcel", + "created_at": "2024-01-19T21:47:18Z", "updated_at": "2024-01-19T21:47:18Z", + "length": null, "width": null, "height": null, "predefined_package": null, + "weight": 10.2, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_20e89b1ce44f4aa49b9165b16a1c564b", + "object": "Rate", "created_at": "2024-01-19T21:47:18Z", "updated_at": "2024-01-19T21:47:18Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "31.25", + "currency": "USD", "retail_rate": "35.80", "retail_currency": "USD", "list_rate": + "31.25", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_8138d87fccd5471da8131ca9afc00bd3", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_3454c5af83ab471cb2e3e3a477343cb8", + "object": "Rate", "created_at": "2024-01-19T21:47:18Z", "updated_at": "2024-01-19T21:47:18Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", + "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": + "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_8138d87fccd5471da8131ca9afc00bd3", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c9ff32ed65664f2f8b4fe2d39cbb04a8", + "object": "Rate", "created_at": "2024-01-19T21:47:18Z", "updated_at": "2024-01-19T21:47:18Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", + "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": + "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_8138d87fccd5471da8131ca9afc00bd3", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_af13a5d1c3884bba995ca9b0bc61e1f1", + "object": "Rate", "created_at": "2024-01-19T21:47:18Z", "updated_at": "2024-01-19T21:47:18Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_8138d87fccd5471da8131ca9afc00bd3", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_31f5c6c7c8634bfe8793d3f443c5bff3", "object": "Rate", "created_at": + "2024-01-19T21:47:18Z", "updated_at": "2024-01-19T21:47:18Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_8138d87fccd5471da8131ca9afc00bd3", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_50f74371b71411eea348ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:47:18+00:00", "updated_at": "2024-01-19T21:47:18+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_50fad79fb71411eea1303cecef1b359e", "object": "Address", "created_at": + "2024-01-19T21:47:18+00:00", "updated_at": "2024-01-19T21:47:18+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_50f74371b71411eea348ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:47:18+00:00", "updated_at": + "2024-01-19T21:47:18+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_8138d87fccd5471da8131ca9afc00bd3", "object": "Shipment"}], "rates": + [{"id": "rate_20e89b1ce44f4aa49b9165b16a1c564b", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "Express", "carrier": + "USPS", "rate": "31.25", "currency": "USD", "retail_rate": "35.80", "retail_currency": + "USD", "list_rate": "31.25", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + false, "est_delivery_days": null, "shipment_id": "shp_8138d87fccd5471da8131ca9afc00bd3", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_3454c5af83ab471cb2e3e3a477343cb8", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "Priority", "carrier": "USPS", "rate": "6.95", "currency": "USD", + "retail_rate": "10.20", "retail_currency": "USD", "list_rate": "8.24", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": + "shp_8138d87fccd5471da8131ca9afc00bd3", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_c9ff32ed65664f2f8b4fe2d39cbb04a8", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "GroundAdvantage", "carrier": + "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_8138d87fccd5471da8131ca9afc00bd3", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_af13a5d1c3884bba995ca9b0bc61e1f1", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "First", "carrier": "USPS", "rate": "4.81", "currency": "USD", + "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_8138d87fccd5471da8131ca9afc00bd3", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_31f5c6c7c8634bfe8793d3f443c5bff3", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "ParcelSelect", "carrier": + "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_8138d87fccd5471da8131ca9afc00bd3", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], "id": "order_36b6e4f0af8b4d36b576acc56a359998", + "object": "Order"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '12214' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/orders/order_36b6e4f0af8b4d36b576acc56a359998 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdac65aaede6e78bac8b00112ca4 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.890396' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"carrier": "USPS", "service": "First"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '39' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/orders/order_36b6e4f0af8b4d36b576acc56a359998/buy + response: + body: + string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": + "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", + "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", + "message": "Unauthorized. Please check credentials and try again"}, {"carrier": + "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", "type": + "rate_error", "message": "Unauthorized. Please check credentials and try again"}, + {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "created_at": "2024-01-19T21:47:18Z", "updated_at": "2024-01-19T21:47:18Z", + "customs_info": null, "from_address": {"id": "adr_50fad79fb71411eea1303cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:47:18+00:00", "updated_at": + "2024-01-19T21:47:18+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "to_address": {"id": "adr_50f74371b71411eea348ac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T21:47:18+00:00", "updated_at": "2024-01-19T21:47:19+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "buyer_address": {"id": "adr_50f74371b71411eea348ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:47:18+00:00", "updated_at": "2024-01-19T21:47:19+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "return_address": {"id": "adr_50fad79fb71411eea1303cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:47:18+00:00", "updated_at": "2024-01-19T21:47:18+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T21:47:18Z", + "is_return": false, "messages": [], "mode": "test", "options": {"currency": + "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, + "status": "unknown", "tracking_code": "9400100207552010708416", "updated_at": + "2024-01-19T21:47:19Z", "batch_id": null, "batch_status": null, "batch_message": + null, "customs_info": null, "from_address": {"id": "adr_50fad79fb71411eea1303cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:47:18+00:00", "updated_at": + "2024-01-19T21:47:18+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": "order_36b6e4f0af8b4d36b576acc56a359998", "parcel": + {"id": "prcl_3bfe0567b0654b26b88110341ca90c54", "object": "Parcel", "created_at": + "2024-01-19T21:47:18Z", "updated_at": "2024-01-19T21:47:18Z", "length": null, + "width": null, "height": null, "predefined_package": null, "weight": 10.2, + "mode": "test"}, "postage_label": {"object": "PostageLabel", "id": "pl_0e931056be4241cdbe30b6813c7ec708", + "created_at": "2024-01-19T21:47:19Z", "updated_at": "2024-01-19T21:47:19Z", + "date_advance": 0, "integrated_form": "none", "label_date": "2024-01-19T21:47:19Z", + "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": + "image/png", "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e85ab76349a76f4fecae42de2e75258442.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_20e89b1ce44f4aa49b9165b16a1c564b", "object": + "Rate", "created_at": "2024-01-19T21:47:18Z", "updated_at": "2024-01-19T21:47:18Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "31.25", + "currency": "USD", "retail_rate": "35.80", "retail_currency": "USD", "list_rate": + "31.25", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_8138d87fccd5471da8131ca9afc00bd3", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_3454c5af83ab471cb2e3e3a477343cb8", + "object": "Rate", "created_at": "2024-01-19T21:47:18Z", "updated_at": "2024-01-19T21:47:18Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", + "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": + "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_8138d87fccd5471da8131ca9afc00bd3", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c9ff32ed65664f2f8b4fe2d39cbb04a8", + "object": "Rate", "created_at": "2024-01-19T21:47:18Z", "updated_at": "2024-01-19T21:47:18Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", + "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": + "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_8138d87fccd5471da8131ca9afc00bd3", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_af13a5d1c3884bba995ca9b0bc61e1f1", + "object": "Rate", "created_at": "2024-01-19T21:47:18Z", "updated_at": "2024-01-19T21:47:18Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_8138d87fccd5471da8131ca9afc00bd3", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_31f5c6c7c8634bfe8793d3f443c5bff3", "object": "Rate", "created_at": + "2024-01-19T21:47:18Z", "updated_at": "2024-01-19T21:47:18Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_8138d87fccd5471da8131ca9afc00bd3", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_af13a5d1c3884bba995ca9b0bc61e1f1", + "object": "Rate", "created_at": "2024-01-19T21:47:19Z", "updated_at": "2024-01-19T21:47:19Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_8138d87fccd5471da8131ca9afc00bd3", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + "tracker": {"id": "trk_040ee9699e8b41479cde7b365a2f0702", "object": "Tracker", + "mode": "test", "tracking_code": "9400100207552010708416", "status": "unknown", + "status_detail": "unknown", "created_at": "2024-01-19T21:47:20Z", "updated_at": + "2024-01-19T21:47:20Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_8138d87fccd5471da8131ca9afc00bd3", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzA0MGVlOTY5OWU4YjQxNDc5Y2RlN2IzNjVhMmYwNzAy"}, + "to_address": {"id": "adr_50f74371b71411eea348ac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T21:47:18+00:00", "updated_at": "2024-01-19T21:47:19+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_50fad79fb71411eea1303cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:47:18+00:00", "updated_at": + "2024-01-19T21:47:18+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_50f74371b71411eea348ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:47:18+00:00", "updated_at": "2024-01-19T21:47:19+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "4.81000", "charged": true, "refunded": false}], "id": "shp_8138d87fccd5471da8131ca9afc00bd3", + "object": "Shipment"}], "rates": [{"id": "rate_20e89b1ce44f4aa49b9165b16a1c564b", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", + "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_8138d87fccd5471da8131ca9afc00bd3", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_3454c5af83ab471cb2e3e3a477343cb8", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "Priority", "carrier": + "USPS", "rate": "6.95", "currency": "USD", "retail_rate": "10.20", "retail_currency": + "USD", "list_rate": "8.24", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 2, "shipment_id": "shp_8138d87fccd5471da8131ca9afc00bd3", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c9ff32ed65664f2f8b4fe2d39cbb04a8", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_8138d87fccd5471da8131ca9afc00bd3", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_af13a5d1c3884bba995ca9b0bc61e1f1", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "First", "carrier": "USPS", + "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_8138d87fccd5471da8131ca9afc00bd3", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_31f5c6c7c8634bfe8793d3f443c5bff3", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_8138d87fccd5471da8131ca9afc00bd3", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "id": "order_36b6e4f0af8b4d36b576acc56a359998", "object": "Order"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '13704' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda965aaede7e78bac8c00112d6d + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.889607' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"order": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 N + Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "shipments": [{"parcel": {"weight": + "10.2"}}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '491' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/orders + response: + body: + string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": + "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", + "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", + "message": "Unauthorized. Please check credentials and try again"}, {"carrier": + "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", "type": + "rate_error", "message": "Unauthorized. Please check credentials and try again"}, + {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "created_at": "2024-01-19T21:49:10Z", "updated_at": "2024-01-19T21:49:11Z", + "customs_info": null, "from_address": {"id": "adr_93f86a0bb71411eeb6023cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:49:10+00:00", "updated_at": + "2024-01-19T21:49:10+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "to_address": {"id": "adr_93f6c663b71411eeb92eac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:49:10+00:00", "updated_at": "2024-01-19T21:49:10+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "buyer_address": {"id": "adr_93f6c663b71411eeb92eac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:49:10+00:00", "updated_at": + "2024-01-19T21:49:10+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "return_address": {"id": + "adr_93f86a0bb71411eeb6023cecef1b359e", "object": "Address", "created_at": + "2024-01-19T21:49:10+00:00", "updated_at": "2024-01-19T21:49:10+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T21:49:10Z", + "is_return": false, "messages": [{"carrier": "DhlEcs", "carrier_account_id": + "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_b1a0a1bc45844159812e0224d53948ea", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_c3cbbd21bc97400bbbaed6d030909476", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_0d64fd488c1444cf9bc16f858703e28f", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_99007e1aeb66421faf82676f1199481e", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}], "mode": "test", "options": {"currency": + "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, + "status": "unknown", "tracking_code": null, "updated_at": "2024-01-19T21:49:10Z", + "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": + null, "from_address": {"id": "adr_93f86a0bb71411eeb6023cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:49:10+00:00", "updated_at": "2024-01-19T21:49:10+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": "order_69862c6c7cf34be1bb943fd776ac2ac6", + "parcel": {"id": "prcl_014ca01de73647a7b56f6ca9fa282dac", "object": "Parcel", + "created_at": "2024-01-19T21:49:10Z", "updated_at": "2024-01-19T21:49:10Z", + "length": null, "width": null, "height": null, "predefined_package": null, + "weight": 10.2, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_fa781b4266dc4c2b83e56e50899dea7f", + "object": "Rate", "created_at": "2024-01-19T21:49:11Z", "updated_at": "2024-01-19T21:49:11Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", + "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": + "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_69e5899abf5647eba870d2e4d1bf5c43", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_2534c459092e4fe2814783253faf49d8", + "object": "Rate", "created_at": "2024-01-19T21:49:11Z", "updated_at": "2024-01-19T21:49:11Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_69e5899abf5647eba870d2e4d1bf5c43", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_328a0c50195e4ef0a2893866a5c2022a", "object": "Rate", "created_at": + "2024-01-19T21:49:11Z", "updated_at": "2024-01-19T21:49:11Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_69e5899abf5647eba870d2e4d1bf5c43", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_f978e52fbfd5469ea3ce986cab7389e8", "object": "Rate", "created_at": + "2024-01-19T21:49:11Z", "updated_at": "2024-01-19T21:49:11Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", + "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_69e5899abf5647eba870d2e4d1bf5c43", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_4ad15e5c456e4b569f28220b550d5980", "object": "Rate", "created_at": + "2024-01-19T21:49:11Z", "updated_at": "2024-01-19T21:49:11Z", "mode": "test", + "service": "Priority", "carrier": "USPS", "rate": "6.95", "currency": "USD", + "retail_rate": "10.20", "retail_currency": "USD", "list_rate": "8.24", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": + "shp_69e5899abf5647eba870d2e4d1bf5c43", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_93f6c663b71411eeb92eac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:49:10+00:00", "updated_at": "2024-01-19T21:49:10+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_93f86a0bb71411eeb6023cecef1b359e", "object": "Address", "created_at": + "2024-01-19T21:49:10+00:00", "updated_at": "2024-01-19T21:49:10+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_93f6c663b71411eeb92eac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:49:10+00:00", "updated_at": + "2024-01-19T21:49:10+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_69e5899abf5647eba870d2e4d1bf5c43", "object": "Shipment"}], "rates": + [{"id": "rate_fa781b4266dc4c2b83e56e50899dea7f", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "GroundAdvantage", "carrier": + "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_69e5899abf5647eba870d2e4d1bf5c43", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_2534c459092e4fe2814783253faf49d8", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "First", "carrier": "USPS", "rate": "4.81", "currency": "USD", + "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_69e5899abf5647eba870d2e4d1bf5c43", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_328a0c50195e4ef0a2893866a5c2022a", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "ParcelSelect", "carrier": + "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_69e5899abf5647eba870d2e4d1bf5c43", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f978e52fbfd5469ea3ce986cab7389e8", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", + "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_69e5899abf5647eba870d2e4d1bf5c43", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_4ad15e5c456e4b569f28220b550d5980", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "Priority", "carrier": + "USPS", "rate": "6.95", "currency": "USD", "retail_rate": "10.20", "retail_currency": + "USD", "list_rate": "8.24", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 2, "shipment_id": "shp_69e5899abf5647eba870d2e4d1bf5c43", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], "id": "order_69862c6c7cf34be1bb943fd776ac2ac6", + "object": "Order"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '12214' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/orders/order_69862c6c7cf34be1bb943fd776ac2ac6 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdad65aaee56e78bb4ae00117003 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.891973' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"carrier": "USPS", "service": "First"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '39' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/orders/order_69862c6c7cf34be1bb943fd776ac2ac6/buy + response: + body: + string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": + "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", + "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", + "message": "Unauthorized. Please check credentials and try again"}, {"carrier": + "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", "type": + "rate_error", "message": "Unauthorized. Please check credentials and try again"}, + {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "created_at": "2024-01-19T21:49:10Z", "updated_at": "2024-01-19T21:49:11Z", + "customs_info": null, "from_address": {"id": "adr_93f86a0bb71411eeb6023cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:49:10+00:00", "updated_at": + "2024-01-19T21:49:10+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "to_address": {"id": "adr_93f6c663b71411eeb92eac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:49:10+00:00", "updated_at": "2024-01-19T21:49:11+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "buyer_address": {"id": "adr_93f6c663b71411eeb92eac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:49:10+00:00", "updated_at": "2024-01-19T21:49:11+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "return_address": {"id": "adr_93f86a0bb71411eeb6023cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:49:10+00:00", "updated_at": "2024-01-19T21:49:10+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T21:49:10Z", + "is_return": false, "messages": [], "mode": "test", "options": {"currency": + "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, + "status": "unknown", "tracking_code": "9400100207552010708911", "updated_at": + "2024-01-19T21:49:12Z", "batch_id": null, "batch_status": null, "batch_message": + null, "customs_info": null, "from_address": {"id": "adr_93f86a0bb71411eeb6023cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:49:10+00:00", "updated_at": + "2024-01-19T21:49:10+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": "order_69862c6c7cf34be1bb943fd776ac2ac6", "parcel": + {"id": "prcl_014ca01de73647a7b56f6ca9fa282dac", "object": "Parcel", "created_at": + "2024-01-19T21:49:10Z", "updated_at": "2024-01-19T21:49:10Z", "length": null, + "width": null, "height": null, "predefined_package": null, "weight": 10.2, + "mode": "test"}, "postage_label": {"object": "PostageLabel", "id": "pl_96b607b70f1c4f6aa6a253e9f7459062", + "created_at": "2024-01-19T21:49:12Z", "updated_at": "2024-01-19T21:49:12Z", + "date_advance": 0, "integrated_form": "none", "label_date": "2024-01-19T21:49:12Z", + "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": + "image/png", "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e83034b5fc2ea24819be59ef155a957513.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_fa781b4266dc4c2b83e56e50899dea7f", "object": + "Rate", "created_at": "2024-01-19T21:49:11Z", "updated_at": "2024-01-19T21:49:11Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", + "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": + "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_69e5899abf5647eba870d2e4d1bf5c43", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_2534c459092e4fe2814783253faf49d8", + "object": "Rate", "created_at": "2024-01-19T21:49:11Z", "updated_at": "2024-01-19T21:49:11Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_69e5899abf5647eba870d2e4d1bf5c43", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_328a0c50195e4ef0a2893866a5c2022a", "object": "Rate", "created_at": + "2024-01-19T21:49:11Z", "updated_at": "2024-01-19T21:49:11Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_69e5899abf5647eba870d2e4d1bf5c43", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_f978e52fbfd5469ea3ce986cab7389e8", "object": "Rate", "created_at": + "2024-01-19T21:49:11Z", "updated_at": "2024-01-19T21:49:11Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", + "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_69e5899abf5647eba870d2e4d1bf5c43", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_4ad15e5c456e4b569f28220b550d5980", "object": "Rate", "created_at": + "2024-01-19T21:49:11Z", "updated_at": "2024-01-19T21:49:11Z", "mode": "test", + "service": "Priority", "carrier": "USPS", "rate": "6.95", "currency": "USD", + "retail_rate": "10.20", "retail_currency": "USD", "list_rate": "8.24", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": + "shp_69e5899abf5647eba870d2e4d1bf5c43", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_2534c459092e4fe2814783253faf49d8", + "object": "Rate", "created_at": "2024-01-19T21:49:12Z", "updated_at": "2024-01-19T21:49:12Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_69e5899abf5647eba870d2e4d1bf5c43", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + "tracker": {"id": "trk_17de8d47fe954bde9650b95d6661f6a9", "object": "Tracker", + "mode": "test", "tracking_code": "9400100207552010708911", "status": "unknown", + "status_detail": "unknown", "created_at": "2024-01-19T21:49:12Z", "updated_at": + "2024-01-19T21:49:12Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_69e5899abf5647eba870d2e4d1bf5c43", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzE3ZGU4ZDQ3ZmU5NTRiZGU5NjUwYjk1ZDY2NjFmNmE5"}, + "to_address": {"id": "adr_93f6c663b71411eeb92eac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:49:10+00:00", "updated_at": "2024-01-19T21:49:11+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_93f86a0bb71411eeb6023cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:49:10+00:00", "updated_at": + "2024-01-19T21:49:10+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_93f6c663b71411eeb92eac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:49:10+00:00", "updated_at": "2024-01-19T21:49:11+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "4.81000", "charged": true, "refunded": false}], "id": "shp_69e5899abf5647eba870d2e4d1bf5c43", + "object": "Shipment"}], "rates": [{"id": "rate_fa781b4266dc4c2b83e56e50899dea7f", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_69e5899abf5647eba870d2e4d1bf5c43", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_2534c459092e4fe2814783253faf49d8", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "First", "carrier": "USPS", + "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_69e5899abf5647eba870d2e4d1bf5c43", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_328a0c50195e4ef0a2893866a5c2022a", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_69e5899abf5647eba870d2e4d1bf5c43", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_f978e52fbfd5469ea3ce986cab7389e8", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "Express", "carrier": + "USPS", "rate": "31.25", "currency": "USD", "retail_rate": "35.80", "retail_currency": + "USD", "list_rate": "31.25", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + false, "est_delivery_days": null, "shipment_id": "shp_69e5899abf5647eba870d2e4d1bf5c43", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4ad15e5c456e4b569f28220b550d5980", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "Priority", "carrier": "USPS", "rate": "6.95", "currency": "USD", + "retail_rate": "10.20", "retail_currency": "USD", "list_rate": "8.24", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": + "shp_69e5899abf5647eba870d2e4d1bf5c43", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "id": "order_69862c6c7cf34be1bb943fd776ac2ac6", "object": "Order"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '13704' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda765aaee57e78bb4af001170ba + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.987669' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"order": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 N + Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "shipments": [{"parcel": {"weight": + "10.2"}}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '491' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/orders + response: + body: + string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": + "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", + "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", + "message": "Unauthorized. Please check credentials and try again"}, {"carrier": + "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", "type": + "rate_error", "message": "Unauthorized. Please check credentials and try again"}, + {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "created_at": "2024-01-19T21:58:31Z", "updated_at": "2024-01-19T21:58:31Z", + "customs_info": null, "from_address": {"id": "adr_e23fe17eb71511eea9c2ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:58:31+00:00", "updated_at": + "2024-01-19T21:58:31+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "to_address": {"id": "adr_e23e177bb71511eea5ce3cecef1b359e", "object": "Address", + "created_at": "2024-01-19T21:58:31+00:00", "updated_at": "2024-01-19T21:58:31+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "buyer_address": {"id": "adr_e23e177bb71511eea5ce3cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:58:31+00:00", "updated_at": + "2024-01-19T21:58:31+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "return_address": {"id": + "adr_e23fe17eb71511eea9c2ac1f6bc539ae", "object": "Address", "created_at": + "2024-01-19T21:58:31+00:00", "updated_at": "2024-01-19T21:58:31+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T21:58:31Z", + "is_return": false, "messages": [{"carrier": "DhlEcs", "carrier_account_id": + "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_0d64fd488c1444cf9bc16f858703e28f", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_99007e1aeb66421faf82676f1199481e", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_b1a0a1bc45844159812e0224d53948ea", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_c3cbbd21bc97400bbbaed6d030909476", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}], "mode": "test", "options": {"currency": + "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, + "status": "unknown", "tracking_code": null, "updated_at": "2024-01-19T21:58:31Z", + "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": + null, "from_address": {"id": "adr_e23fe17eb71511eea9c2ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:58:31+00:00", "updated_at": "2024-01-19T21:58:31+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": "order_964fa6d16c4844ec91caebdef7a5fd95", + "parcel": {"id": "prcl_f33dc47d9d51491c851f56e6eb771cdf", "object": "Parcel", + "created_at": "2024-01-19T21:58:31Z", "updated_at": "2024-01-19T21:58:31Z", + "length": null, "width": null, "height": null, "predefined_package": null, + "weight": 10.2, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_9be259a8300142cfa3e7f13f4e1cc38e", + "object": "Rate", "created_at": "2024-01-19T21:58:31Z", "updated_at": "2024-01-19T21:58:31Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "31.25", + "currency": "USD", "retail_rate": "35.80", "retail_currency": "USD", "list_rate": + "31.25", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_f792e52526664b4ebca3fb234000fed5", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_1ff8d9b4e5ba4758ae230b7cf93cfc4e", + "object": "Rate", "created_at": "2024-01-19T21:58:31Z", "updated_at": "2024-01-19T21:58:31Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", + "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": + "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_f792e52526664b4ebca3fb234000fed5", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_e568b2b6df774c3eb3e0bb2727dc7bed", + "object": "Rate", "created_at": "2024-01-19T21:58:31Z", "updated_at": "2024-01-19T21:58:31Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", + "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": + "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_f792e52526664b4ebca3fb234000fed5", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_d22103863f6742e39824cb2c30301cdd", + "object": "Rate", "created_at": "2024-01-19T21:58:31Z", "updated_at": "2024-01-19T21:58:31Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_f792e52526664b4ebca3fb234000fed5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_2cd70271b57c4af690f831e1d32621c6", "object": "Rate", "created_at": + "2024-01-19T21:58:31Z", "updated_at": "2024-01-19T21:58:31Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_f792e52526664b4ebca3fb234000fed5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_e23e177bb71511eea5ce3cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:58:31+00:00", "updated_at": "2024-01-19T21:58:31+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_e23fe17eb71511eea9c2ac1f6bc539ae", "object": "Address", "created_at": + "2024-01-19T21:58:31+00:00", "updated_at": "2024-01-19T21:58:31+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_e23e177bb71511eea5ce3cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:58:31+00:00", "updated_at": + "2024-01-19T21:58:31+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_f792e52526664b4ebca3fb234000fed5", "object": "Shipment"}], "rates": + [{"id": "rate_9be259a8300142cfa3e7f13f4e1cc38e", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "Express", "carrier": + "USPS", "rate": "31.25", "currency": "USD", "retail_rate": "35.80", "retail_currency": + "USD", "list_rate": "31.25", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + false, "est_delivery_days": null, "shipment_id": "shp_f792e52526664b4ebca3fb234000fed5", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_1ff8d9b4e5ba4758ae230b7cf93cfc4e", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "Priority", "carrier": "USPS", "rate": "6.95", "currency": "USD", + "retail_rate": "10.20", "retail_currency": "USD", "list_rate": "8.24", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": + "shp_f792e52526664b4ebca3fb234000fed5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_e568b2b6df774c3eb3e0bb2727dc7bed", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "GroundAdvantage", "carrier": + "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_f792e52526664b4ebca3fb234000fed5", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_d22103863f6742e39824cb2c30301cdd", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "First", "carrier": "USPS", "rate": "4.81", "currency": "USD", + "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_f792e52526664b4ebca3fb234000fed5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_2cd70271b57c4af690f831e1d32621c6", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "ParcelSelect", "carrier": + "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_f792e52526664b4ebca3fb234000fed5", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], "id": "order_964fa6d16c4844ec91caebdef7a5fd95", + "object": "Order"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '12214' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/orders/order_964fa6d16c4844ec91caebdef7a5fd95 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaf087e798bf55000f7441 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.667719' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"carrier": "USPS", "service": "First"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '39' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/orders/order_964fa6d16c4844ec91caebdef7a5fd95/buy + response: + body: + string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": + "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", + "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", + "message": "Unauthorized. Please check credentials and try again"}, {"carrier": + "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", "type": + "rate_error", "message": "Unauthorized. Please check credentials and try again"}, + {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "created_at": "2024-01-19T21:58:31Z", "updated_at": "2024-01-19T21:58:31Z", + "customs_info": null, "from_address": {"id": "adr_e23fe17eb71511eea9c2ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:58:31+00:00", "updated_at": + "2024-01-19T21:58:31+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "to_address": {"id": "adr_e23e177bb71511eea5ce3cecef1b359e", "object": "Address", + "created_at": "2024-01-19T21:58:31+00:00", "updated_at": "2024-01-19T21:58:32+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "buyer_address": {"id": "adr_e23e177bb71511eea5ce3cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:58:31+00:00", "updated_at": "2024-01-19T21:58:32+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "return_address": {"id": "adr_e23fe17eb71511eea9c2ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:58:31+00:00", "updated_at": "2024-01-19T21:58:31+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T21:58:31Z", + "is_return": false, "messages": [], "mode": "test", "options": {"currency": + "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, + "status": "unknown", "tracking_code": "9400100207552010711416", "updated_at": + "2024-01-19T21:58:33Z", "batch_id": null, "batch_status": null, "batch_message": + null, "customs_info": null, "from_address": {"id": "adr_e23fe17eb71511eea9c2ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:58:31+00:00", "updated_at": + "2024-01-19T21:58:31+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": "order_964fa6d16c4844ec91caebdef7a5fd95", "parcel": + {"id": "prcl_f33dc47d9d51491c851f56e6eb771cdf", "object": "Parcel", "created_at": + "2024-01-19T21:58:31Z", "updated_at": "2024-01-19T21:58:31Z", "length": null, + "width": null, "height": null, "predefined_package": null, "weight": 10.2, + "mode": "test"}, "postage_label": {"object": "PostageLabel", "id": "pl_c2c2274d920a475eb1b5c0aae1740a95", + "created_at": "2024-01-19T21:58:32Z", "updated_at": "2024-01-19T21:58:32Z", + "date_advance": 0, "integrated_form": "none", "label_date": "2024-01-19T21:58:32Z", + "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": + "image/png", "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e809cd985173094d018c3350072f63389f.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_9be259a8300142cfa3e7f13f4e1cc38e", "object": + "Rate", "created_at": "2024-01-19T21:58:31Z", "updated_at": "2024-01-19T21:58:31Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "31.25", + "currency": "USD", "retail_rate": "35.80", "retail_currency": "USD", "list_rate": + "31.25", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_f792e52526664b4ebca3fb234000fed5", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_1ff8d9b4e5ba4758ae230b7cf93cfc4e", + "object": "Rate", "created_at": "2024-01-19T21:58:31Z", "updated_at": "2024-01-19T21:58:31Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", + "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": + "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_f792e52526664b4ebca3fb234000fed5", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_e568b2b6df774c3eb3e0bb2727dc7bed", + "object": "Rate", "created_at": "2024-01-19T21:58:31Z", "updated_at": "2024-01-19T21:58:31Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", + "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": + "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_f792e52526664b4ebca3fb234000fed5", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_d22103863f6742e39824cb2c30301cdd", + "object": "Rate", "created_at": "2024-01-19T21:58:31Z", "updated_at": "2024-01-19T21:58:31Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_f792e52526664b4ebca3fb234000fed5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_2cd70271b57c4af690f831e1d32621c6", "object": "Rate", "created_at": + "2024-01-19T21:58:31Z", "updated_at": "2024-01-19T21:58:31Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_f792e52526664b4ebca3fb234000fed5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_d22103863f6742e39824cb2c30301cdd", + "object": "Rate", "created_at": "2024-01-19T21:58:32Z", "updated_at": "2024-01-19T21:58:32Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_f792e52526664b4ebca3fb234000fed5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + "tracker": {"id": "trk_bbb0aab60ee9438ab956d89c4f7be685", "object": "Tracker", + "mode": "test", "tracking_code": "9400100207552010711416", "status": "unknown", + "status_detail": "unknown", "created_at": "2024-01-19T21:58:33Z", "updated_at": + "2024-01-19T21:58:33Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_f792e52526664b4ebca3fb234000fed5", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrX2JiYjBhYWI2MGVlOTQzOGFiOTU2ZDg5YzRmN2JlNjg1"}, + "to_address": {"id": "adr_e23e177bb71511eea5ce3cecef1b359e", "object": "Address", + "created_at": "2024-01-19T21:58:31+00:00", "updated_at": "2024-01-19T21:58:32+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_e23fe17eb71511eea9c2ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:58:31+00:00", "updated_at": + "2024-01-19T21:58:31+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_e23e177bb71511eea5ce3cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:58:31+00:00", "updated_at": "2024-01-19T21:58:32+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "4.81000", "charged": true, "refunded": false}], "id": "shp_f792e52526664b4ebca3fb234000fed5", + "object": "Shipment"}], "rates": [{"id": "rate_9be259a8300142cfa3e7f13f4e1cc38e", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", + "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_f792e52526664b4ebca3fb234000fed5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_1ff8d9b4e5ba4758ae230b7cf93cfc4e", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "Priority", "carrier": + "USPS", "rate": "6.95", "currency": "USD", "retail_rate": "10.20", "retail_currency": + "USD", "list_rate": "8.24", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 2, "shipment_id": "shp_f792e52526664b4ebca3fb234000fed5", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_e568b2b6df774c3eb3e0bb2727dc7bed", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_f792e52526664b4ebca3fb234000fed5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_d22103863f6742e39824cb2c30301cdd", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "First", "carrier": "USPS", + "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_f792e52526664b4ebca3fb234000fed5", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_2cd70271b57c4af690f831e1d32621c6", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_f792e52526664b4ebca3fb234000fed5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "id": "order_964fa6d16c4844ec91caebdef7a5fd95", "object": "Order"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '13704' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf088e798bf56000f74ac + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.907136' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"order": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 N + Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "shipments": [{"parcel": {"weight": + "10.2"}}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '491' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/orders + response: + body: + string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": + "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", + "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", "type": "rate_error", + "message": "Unauthorized. Please check credentials and try again"}, {"carrier": + "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", "type": + "rate_error", "message": "Unauthorized. Please check credentials and try again"}, + {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "created_at": "2024-01-19T22:01:26Z", "updated_at": "2024-01-19T22:01:26Z", + "customs_info": null, "from_address": {"id": "adr_4a6bf519b71611ee9930ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T22:01:26+00:00", "updated_at": + "2024-01-19T22:01:26+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "to_address": {"id": "adr_4a6a3e47b71611ee8b02ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T22:01:26+00:00", "updated_at": "2024-01-19T22:01:26+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "buyer_address": {"id": "adr_4a6a3e47b71611ee8b02ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T22:01:26+00:00", "updated_at": + "2024-01-19T22:01:26+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "return_address": {"id": + "adr_4a6bf519b71611ee9930ac1f6bc539aa", "object": "Address", "created_at": + "2024-01-19T22:01:26+00:00", "updated_at": "2024-01-19T22:01:26+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T22:01:26Z", + "is_return": false, "messages": [{"carrier": "DhlEcs", "carrier_account_id": + "ca_b1a0a1bc45844159812e0224d53948ea", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_c3cbbd21bc97400bbbaed6d030909476", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_0d64fd488c1444cf9bc16f858703e28f", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_99007e1aeb66421faf82676f1199481e", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}], "mode": "test", "options": {"currency": + "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, + "status": "unknown", "tracking_code": null, "updated_at": "2024-01-19T22:01:26Z", + "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": + null, "from_address": {"id": "adr_4a6bf519b71611ee9930ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T22:01:26+00:00", "updated_at": "2024-01-19T22:01:26+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": "order_540e70f74ce44a16a8bc8509f30567d9", + "parcel": {"id": "prcl_299df57752a24ff2ab350489b92fd988", "object": "Parcel", + "created_at": "2024-01-19T22:01:26Z", "updated_at": "2024-01-19T22:01:26Z", + "length": null, "width": null, "height": null, "predefined_package": null, + "weight": 10.2, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_1d209f0d74db4a7eba3e63941ac37585", + "object": "Rate", "created_at": "2024-01-19T22:01:26Z", "updated_at": "2024-01-19T22:01:26Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", + "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": + "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_295321a6d1304a2da11ffba21e0e3a87", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_03f0810ec86d45c598f45ca296e2727c", + "object": "Rate", "created_at": "2024-01-19T22:01:26Z", "updated_at": "2024-01-19T22:01:26Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", + "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": + "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_295321a6d1304a2da11ffba21e0e3a87", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_967a9ecce7fd4b2ebf78bb6cf6003c08", + "object": "Rate", "created_at": "2024-01-19T22:01:26Z", "updated_at": "2024-01-19T22:01:26Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_295321a6d1304a2da11ffba21e0e3a87", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_1843c7500ca440e6a3fb654e8075546e", "object": "Rate", "created_at": + "2024-01-19T22:01:26Z", "updated_at": "2024-01-19T22:01:26Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_295321a6d1304a2da11ffba21e0e3a87", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_fc84d53a2e064bdabc8255cae8db67dd", "object": "Rate", "created_at": + "2024-01-19T22:01:26Z", "updated_at": "2024-01-19T22:01:26Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", + "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_295321a6d1304a2da11ffba21e0e3a87", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_4a6a3e47b71611ee8b02ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T22:01:26+00:00", "updated_at": "2024-01-19T22:01:26+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_4a6bf519b71611ee9930ac1f6bc539aa", "object": "Address", "created_at": + "2024-01-19T22:01:26+00:00", "updated_at": "2024-01-19T22:01:26+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_4a6a3e47b71611ee8b02ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T22:01:26+00:00", "updated_at": + "2024-01-19T22:01:26+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_295321a6d1304a2da11ffba21e0e3a87", "object": "Shipment"}], "rates": + [{"id": "rate_1d209f0d74db4a7eba3e63941ac37585", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "Priority", "carrier": + "USPS", "rate": "6.95", "currency": "USD", "retail_rate": "10.20", "retail_currency": + "USD", "list_rate": "8.24", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 2, "shipment_id": "shp_295321a6d1304a2da11ffba21e0e3a87", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_03f0810ec86d45c598f45ca296e2727c", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_295321a6d1304a2da11ffba21e0e3a87", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_967a9ecce7fd4b2ebf78bb6cf6003c08", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "First", "carrier": "USPS", + "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_295321a6d1304a2da11ffba21e0e3a87", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_1843c7500ca440e6a3fb654e8075546e", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_295321a6d1304a2da11ffba21e0e3a87", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_fc84d53a2e064bdabc8255cae8db67dd", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "Express", "carrier": + "USPS", "rate": "31.25", "currency": "USD", "retail_rate": "35.80", "retail_currency": + "USD", "list_rate": "31.25", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + false, "est_delivery_days": null, "shipment_id": "shp_295321a6d1304a2da11ffba21e0e3a87", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], "id": "order_540e70f74ce44a16a8bc8509f30567d9", + "object": "Order"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '12214' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/orders/order_540e70f74ce44a16a8bc8509f30567d9 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaf136e798c4a000100352 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.666889' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"carrier": "USPS", "service": "First"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '39' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/orders/order_540e70f74ce44a16a8bc8509f30567d9/buy + response: + body: + string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": + "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", + "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", "type": "rate_error", + "message": "Unauthorized. Please check credentials and try again"}, {"carrier": + "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", "type": + "rate_error", "message": "Unauthorized. Please check credentials and try again"}, + {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "created_at": "2024-01-19T22:01:26Z", "updated_at": "2024-01-19T22:01:26Z", + "customs_info": null, "from_address": {"id": "adr_4a6bf519b71611ee9930ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T22:01:26+00:00", "updated_at": + "2024-01-19T22:01:26+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "to_address": {"id": "adr_4a6a3e47b71611ee8b02ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T22:01:26+00:00", "updated_at": "2024-01-19T22:01:27+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "buyer_address": {"id": "adr_4a6a3e47b71611ee8b02ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T22:01:26+00:00", "updated_at": "2024-01-19T22:01:27+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "return_address": {"id": "adr_4a6bf519b71611ee9930ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T22:01:26+00:00", "updated_at": "2024-01-19T22:01:26+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T22:01:26Z", + "is_return": false, "messages": [], "mode": "test", "options": {"currency": + "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, + "status": "unknown", "tracking_code": "9400100207552010711836", "updated_at": + "2024-01-19T22:01:27Z", "batch_id": null, "batch_status": null, "batch_message": + null, "customs_info": null, "from_address": {"id": "adr_4a6bf519b71611ee9930ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T22:01:26+00:00", "updated_at": + "2024-01-19T22:01:26+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": "order_540e70f74ce44a16a8bc8509f30567d9", "parcel": + {"id": "prcl_299df57752a24ff2ab350489b92fd988", "object": "Parcel", "created_at": + "2024-01-19T22:01:26Z", "updated_at": "2024-01-19T22:01:26Z", "length": null, + "width": null, "height": null, "predefined_package": null, "weight": 10.2, + "mode": "test"}, "postage_label": {"object": "PostageLabel", "id": "pl_6ffb4becb05446aaa6758ecbec9af78f", + "created_at": "2024-01-19T22:01:27Z", "updated_at": "2024-01-19T22:01:27Z", + "date_advance": 0, "integrated_form": "none", "label_date": "2024-01-19T22:01:27Z", + "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": + "image/png", "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8d3435239449e4dedb271b02179095ee0.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_1d209f0d74db4a7eba3e63941ac37585", "object": + "Rate", "created_at": "2024-01-19T22:01:26Z", "updated_at": "2024-01-19T22:01:26Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", + "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": + "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_295321a6d1304a2da11ffba21e0e3a87", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_03f0810ec86d45c598f45ca296e2727c", + "object": "Rate", "created_at": "2024-01-19T22:01:26Z", "updated_at": "2024-01-19T22:01:26Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", + "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": + "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_295321a6d1304a2da11ffba21e0e3a87", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_967a9ecce7fd4b2ebf78bb6cf6003c08", + "object": "Rate", "created_at": "2024-01-19T22:01:26Z", "updated_at": "2024-01-19T22:01:26Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_295321a6d1304a2da11ffba21e0e3a87", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_1843c7500ca440e6a3fb654e8075546e", "object": "Rate", "created_at": + "2024-01-19T22:01:26Z", "updated_at": "2024-01-19T22:01:26Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_295321a6d1304a2da11ffba21e0e3a87", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_fc84d53a2e064bdabc8255cae8db67dd", "object": "Rate", "created_at": + "2024-01-19T22:01:26Z", "updated_at": "2024-01-19T22:01:26Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", + "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_295321a6d1304a2da11ffba21e0e3a87", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_967a9ecce7fd4b2ebf78bb6cf6003c08", + "object": "Rate", "created_at": "2024-01-19T22:01:27Z", "updated_at": "2024-01-19T22:01:27Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_295321a6d1304a2da11ffba21e0e3a87", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + "tracker": {"id": "trk_2fd9a17bcd0047c2a7b9b776bd4c13ff", "object": "Tracker", + "mode": "test", "tracking_code": "9400100207552010711836", "status": "unknown", + "status_detail": "unknown", "created_at": "2024-01-19T22:01:27Z", "updated_at": + "2024-01-19T22:01:27Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_295321a6d1304a2da11ffba21e0e3a87", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzJmZDlhMTdiY2QwMDQ3YzJhN2I5Yjc3NmJkNGMxM2Zm"}, + "to_address": {"id": "adr_4a6a3e47b71611ee8b02ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T22:01:26+00:00", "updated_at": "2024-01-19T22:01:27+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_4a6bf519b71611ee9930ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T22:01:26+00:00", "updated_at": + "2024-01-19T22:01:26+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_4a6a3e47b71611ee8b02ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T22:01:26+00:00", "updated_at": "2024-01-19T22:01:27+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "4.81000", "charged": true, "refunded": false}], "id": "shp_295321a6d1304a2da11ffba21e0e3a87", + "object": "Shipment"}], "rates": [{"id": "rate_1d209f0d74db4a7eba3e63941ac37585", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "Priority", "carrier": "USPS", "rate": "6.95", "currency": "USD", + "retail_rate": "10.20", "retail_currency": "USD", "list_rate": "8.24", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": + "shp_295321a6d1304a2da11ffba21e0e3a87", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_03f0810ec86d45c598f45ca296e2727c", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "GroundAdvantage", "carrier": + "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_295321a6d1304a2da11ffba21e0e3a87", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_967a9ecce7fd4b2ebf78bb6cf6003c08", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "First", "carrier": "USPS", "rate": "4.81", "currency": "USD", + "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_295321a6d1304a2da11ffba21e0e3a87", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_1843c7500ca440e6a3fb654e8075546e", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "ParcelSelect", "carrier": + "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_295321a6d1304a2da11ffba21e0e3a87", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_fc84d53a2e064bdabc8255cae8db67dd", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", + "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_295321a6d1304a2da11ffba21e0e3a87", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "id": "order_540e70f74ce44a16a8bc8509f30567d9", "object": "Order"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '13704' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf136e798c4a100100416 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.875437' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"order": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 N + Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "shipments": [{"parcel": {"weight": + "10.2"}}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '491' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/orders + response: + body: + string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": + "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", + "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", "type": "rate_error", + "message": "Unauthorized. Please check credentials and try again"}, {"carrier": + "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", "type": + "rate_error", "message": "Unauthorized. Please check credentials and try again"}, + {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "created_at": "2024-01-19T22:05:12Z", "updated_at": "2024-01-19T22:05:12Z", + "customs_info": null, "from_address": {"id": "adr_d1123926b71611ee839fac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T22:05:11+00:00", "updated_at": + "2024-01-19T22:05:11+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "to_address": {"id": "adr_d10dbf81b71611eeb393ac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T22:05:11+00:00", "updated_at": "2024-01-19T22:05:11+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "buyer_address": {"id": "adr_d10dbf81b71611eeb393ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:05:11+00:00", "updated_at": + "2024-01-19T22:05:11+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "return_address": {"id": + "adr_d1123926b71611ee839fac1f6bc539aa", "object": "Address", "created_at": + "2024-01-19T22:05:11+00:00", "updated_at": "2024-01-19T22:05:11+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T22:05:12Z", + "is_return": false, "messages": [{"carrier": "DhlEcs", "carrier_account_id": + "ca_99007e1aeb66421faf82676f1199481e", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_b1a0a1bc45844159812e0224d53948ea", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_c3cbbd21bc97400bbbaed6d030909476", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_0d64fd488c1444cf9bc16f858703e28f", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}], "mode": "test", "options": {"currency": + "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, + "status": "unknown", "tracking_code": null, "updated_at": "2024-01-19T22:05:12Z", + "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": + null, "from_address": {"id": "adr_d1123926b71611ee839fac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T22:05:11+00:00", "updated_at": "2024-01-19T22:05:11+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": "order_94ae5b583f8e47a58b6c32b7f71ee2ac", + "parcel": {"id": "prcl_38d5ae14e8744281806ac7c5973599c7", "object": "Parcel", + "created_at": "2024-01-19T22:05:12Z", "updated_at": "2024-01-19T22:05:12Z", + "length": null, "width": null, "height": null, "predefined_package": null, + "weight": 10.2, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_2152da846cca4ef4a570ae05c6763bad", + "object": "Rate", "created_at": "2024-01-19T22:05:12Z", "updated_at": "2024-01-19T22:05:12Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "31.25", + "currency": "USD", "retail_rate": "35.80", "retail_currency": "USD", "list_rate": + "31.25", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_c431daa1be48449f838a3f857e08a33d", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_859426c21003434d90e7cf273fbc3f4d", + "object": "Rate", "created_at": "2024-01-19T22:05:12Z", "updated_at": "2024-01-19T22:05:12Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", + "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": + "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_c431daa1be48449f838a3f857e08a33d", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b426ca32b7c847efb1cb01a2cbafb100", + "object": "Rate", "created_at": "2024-01-19T22:05:12Z", "updated_at": "2024-01-19T22:05:12Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", + "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": + "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_c431daa1be48449f838a3f857e08a33d", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b96af376298c478b9dd0f3340e8865b8", + "object": "Rate", "created_at": "2024-01-19T22:05:12Z", "updated_at": "2024-01-19T22:05:12Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_c431daa1be48449f838a3f857e08a33d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_c0ed3ce327834518827f811cd90892ce", "object": "Rate", "created_at": + "2024-01-19T22:05:12Z", "updated_at": "2024-01-19T22:05:12Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_c431daa1be48449f838a3f857e08a33d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_d10dbf81b71611eeb393ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T22:05:11+00:00", "updated_at": "2024-01-19T22:05:11+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_d1123926b71611ee839fac1f6bc539aa", "object": "Address", "created_at": + "2024-01-19T22:05:11+00:00", "updated_at": "2024-01-19T22:05:11+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_d10dbf81b71611eeb393ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:05:11+00:00", "updated_at": + "2024-01-19T22:05:11+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_c431daa1be48449f838a3f857e08a33d", "object": "Shipment"}], "rates": + [{"id": "rate_2152da846cca4ef4a570ae05c6763bad", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "Express", "carrier": + "USPS", "rate": "31.25", "currency": "USD", "retail_rate": "35.80", "retail_currency": + "USD", "list_rate": "31.25", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + false, "est_delivery_days": null, "shipment_id": "shp_c431daa1be48449f838a3f857e08a33d", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_859426c21003434d90e7cf273fbc3f4d", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "Priority", "carrier": "USPS", "rate": "6.95", "currency": "USD", + "retail_rate": "10.20", "retail_currency": "USD", "list_rate": "8.24", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": + "shp_c431daa1be48449f838a3f857e08a33d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_b426ca32b7c847efb1cb01a2cbafb100", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "GroundAdvantage", "carrier": + "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_c431daa1be48449f838a3f857e08a33d", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b96af376298c478b9dd0f3340e8865b8", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "First", "carrier": "USPS", "rate": "4.81", "currency": "USD", + "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_c431daa1be48449f838a3f857e08a33d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_c0ed3ce327834518827f811cd90892ce", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "ParcelSelect", "carrier": + "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_c431daa1be48449f838a3f857e08a33d", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], "id": "order_94ae5b583f8e47a58b6c32b7f71ee2ac", + "object": "Order"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '12214' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/orders/order_94ae5b583f8e47a58b6c32b7f71ee2ac + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf217e798d07d0010af5c + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.784121' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"carrier": "USPS", "service": "First"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '39' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/orders/order_94ae5b583f8e47a58b6c32b7f71ee2ac/buy + response: + body: + string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": + "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", + "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", "type": "rate_error", + "message": "Unauthorized. Please check credentials and try again"}, {"carrier": + "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", "type": + "rate_error", "message": "Unauthorized. Please check credentials and try again"}, + {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "created_at": "2024-01-19T22:05:12Z", "updated_at": "2024-01-19T22:05:12Z", + "customs_info": null, "from_address": {"id": "adr_d1123926b71611ee839fac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T22:05:11+00:00", "updated_at": + "2024-01-19T22:05:11+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "to_address": {"id": "adr_d10dbf81b71611eeb393ac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T22:05:11+00:00", "updated_at": "2024-01-19T22:05:13+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "buyer_address": {"id": "adr_d10dbf81b71611eeb393ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T22:05:11+00:00", "updated_at": "2024-01-19T22:05:13+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "return_address": {"id": "adr_d1123926b71611ee839fac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T22:05:11+00:00", "updated_at": "2024-01-19T22:05:11+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T22:05:12Z", + "is_return": false, "messages": [], "mode": "test", "options": {"currency": + "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, + "status": "unknown", "tracking_code": "9400100207552010712604", "updated_at": + "2024-01-19T22:05:13Z", "batch_id": null, "batch_status": null, "batch_message": + null, "customs_info": null, "from_address": {"id": "adr_d1123926b71611ee839fac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T22:05:11+00:00", "updated_at": + "2024-01-19T22:05:11+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": "order_94ae5b583f8e47a58b6c32b7f71ee2ac", "parcel": + {"id": "prcl_38d5ae14e8744281806ac7c5973599c7", "object": "Parcel", "created_at": + "2024-01-19T22:05:12Z", "updated_at": "2024-01-19T22:05:12Z", "length": null, + "width": null, "height": null, "predefined_package": null, "weight": 10.2, + "mode": "test"}, "postage_label": {"object": "PostageLabel", "id": "pl_74f168a3f60f4224b091149cd3a7b815", + "created_at": "2024-01-19T22:05:13Z", "updated_at": "2024-01-19T22:05:13Z", + "date_advance": 0, "integrated_form": "none", "label_date": "2024-01-19T22:05:13Z", + "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": + "image/png", "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e822c34a117ab449a98fd068e253595866.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_2152da846cca4ef4a570ae05c6763bad", "object": + "Rate", "created_at": "2024-01-19T22:05:12Z", "updated_at": "2024-01-19T22:05:12Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "31.25", + "currency": "USD", "retail_rate": "35.80", "retail_currency": "USD", "list_rate": + "31.25", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_c431daa1be48449f838a3f857e08a33d", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_859426c21003434d90e7cf273fbc3f4d", + "object": "Rate", "created_at": "2024-01-19T22:05:12Z", "updated_at": "2024-01-19T22:05:12Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", + "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": + "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_c431daa1be48449f838a3f857e08a33d", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b426ca32b7c847efb1cb01a2cbafb100", + "object": "Rate", "created_at": "2024-01-19T22:05:12Z", "updated_at": "2024-01-19T22:05:12Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", + "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": + "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_c431daa1be48449f838a3f857e08a33d", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b96af376298c478b9dd0f3340e8865b8", + "object": "Rate", "created_at": "2024-01-19T22:05:12Z", "updated_at": "2024-01-19T22:05:12Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_c431daa1be48449f838a3f857e08a33d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_c0ed3ce327834518827f811cd90892ce", "object": "Rate", "created_at": + "2024-01-19T22:05:12Z", "updated_at": "2024-01-19T22:05:12Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_c431daa1be48449f838a3f857e08a33d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_b96af376298c478b9dd0f3340e8865b8", + "object": "Rate", "created_at": "2024-01-19T22:05:13Z", "updated_at": "2024-01-19T22:05:13Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_c431daa1be48449f838a3f857e08a33d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + "tracker": {"id": "trk_8af95c23ad1f4ff4b8efaac64439b3c4", "object": "Tracker", + "mode": "test", "tracking_code": "9400100207552010712604", "status": "unknown", + "status_detail": "unknown", "created_at": "2024-01-19T22:05:13Z", "updated_at": + "2024-01-19T22:05:13Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_c431daa1be48449f838a3f857e08a33d", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzhhZjk1YzIzYWQxZjRmZjRiOGVmYWFjNjQ0MzliM2M0"}, + "to_address": {"id": "adr_d10dbf81b71611eeb393ac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T22:05:11+00:00", "updated_at": "2024-01-19T22:05:13+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_d1123926b71611ee839fac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T22:05:11+00:00", "updated_at": + "2024-01-19T22:05:11+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_d10dbf81b71611eeb393ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T22:05:11+00:00", "updated_at": "2024-01-19T22:05:13+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "4.81000", "charged": true, "refunded": false}], "id": "shp_c431daa1be48449f838a3f857e08a33d", + "object": "Shipment"}], "rates": [{"id": "rate_2152da846cca4ef4a570ae05c6763bad", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", + "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_c431daa1be48449f838a3f857e08a33d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_859426c21003434d90e7cf273fbc3f4d", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "Priority", "carrier": + "USPS", "rate": "6.95", "currency": "USD", "retail_rate": "10.20", "retail_currency": + "USD", "list_rate": "8.24", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 2, "shipment_id": "shp_c431daa1be48449f838a3f857e08a33d", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b426ca32b7c847efb1cb01a2cbafb100", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_c431daa1be48449f838a3f857e08a33d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_b96af376298c478b9dd0f3340e8865b8", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "First", "carrier": "USPS", + "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_c431daa1be48449f838a3f857e08a33d", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c0ed3ce327834518827f811cd90892ce", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_c431daa1be48449f838a3f857e08a33d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "id": "order_94ae5b583f8e47a58b6c32b7f71ee2ac", "object": "Order"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '13704' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaf219e798d07e0010b044 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.991528' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"order": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 N + Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "shipments": [{"parcel": {"weight": + "10.2"}}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '491' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/orders + response: + body: + string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": + "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", + "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", "type": "rate_error", + "message": "Unauthorized. Please check credentials and try again"}, {"carrier": + "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": + "rate_error", "message": "Unauthorized. Please check credentials and try again"}, + {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "created_at": "2024-01-19T22:06:45Z", "updated_at": "2024-01-19T22:06:46Z", + "customs_info": null, "from_address": {"id": "adr_08d689afb71711ee855d3cecef1b359e", + "object": "Address", "created_at": "2024-01-19T22:06:45+00:00", "updated_at": + "2024-01-19T22:06:45+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "to_address": {"id": "adr_08d4ba82b71711ee9769ac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T22:06:45+00:00", "updated_at": "2024-01-19T22:06:45+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "buyer_address": {"id": "adr_08d4ba82b71711ee9769ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T22:06:45+00:00", "updated_at": + "2024-01-19T22:06:45+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "return_address": {"id": + "adr_08d689afb71711ee855d3cecef1b359e", "object": "Address", "created_at": + "2024-01-19T22:06:45+00:00", "updated_at": "2024-01-19T22:06:45+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T22:06:45Z", + "is_return": false, "messages": [{"carrier": "DhlEcs", "carrier_account_id": + "ca_99007e1aeb66421faf82676f1199481e", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_c3cbbd21bc97400bbbaed6d030909476", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_b1a0a1bc45844159812e0224d53948ea", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_0d64fd488c1444cf9bc16f858703e28f", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}], "mode": "test", "options": {"currency": + "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, + "status": "unknown", "tracking_code": null, "updated_at": "2024-01-19T22:06:45Z", + "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": + null, "from_address": {"id": "adr_08d689afb71711ee855d3cecef1b359e", "object": + "Address", "created_at": "2024-01-19T22:06:45+00:00", "updated_at": "2024-01-19T22:06:45+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": "order_44572b1e925342fababb94c67cca8292", + "parcel": {"id": "prcl_92ca5d3034b14d80851d218f518b01a2", "object": "Parcel", + "created_at": "2024-01-19T22:06:45Z", "updated_at": "2024-01-19T22:06:45Z", + "length": null, "width": null, "height": null, "predefined_package": null, + "weight": 10.2, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_b3aee1cf42d9497bb591126539a7a052", + "object": "Rate", "created_at": "2024-01-19T22:06:46Z", "updated_at": "2024-01-19T22:06:46Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", + "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": + "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_ad619fd0e6734b27b3e369d2cf9313f5", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_057d8b8d6516413aac61fdf93a545975", + "object": "Rate", "created_at": "2024-01-19T22:06:46Z", "updated_at": "2024-01-19T22:06:46Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", + "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": + "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_ad619fd0e6734b27b3e369d2cf9313f5", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_2b01d28e8a7c4149ab20ccbcf29a5952", + "object": "Rate", "created_at": "2024-01-19T22:06:46Z", "updated_at": "2024-01-19T22:06:46Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_ad619fd0e6734b27b3e369d2cf9313f5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_ded1e495460149e8b94ad766f724145d", "object": "Rate", "created_at": + "2024-01-19T22:06:46Z", "updated_at": "2024-01-19T22:06:46Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_ad619fd0e6734b27b3e369d2cf9313f5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_f34ab6fcdcf04c2592b1ec54cb983239", "object": "Rate", "created_at": + "2024-01-19T22:06:46Z", "updated_at": "2024-01-19T22:06:46Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", + "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_ad619fd0e6734b27b3e369d2cf9313f5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_08d4ba82b71711ee9769ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T22:06:45+00:00", "updated_at": "2024-01-19T22:06:45+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_08d689afb71711ee855d3cecef1b359e", "object": "Address", "created_at": + "2024-01-19T22:06:45+00:00", "updated_at": "2024-01-19T22:06:45+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_08d4ba82b71711ee9769ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T22:06:45+00:00", "updated_at": + "2024-01-19T22:06:45+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_ad619fd0e6734b27b3e369d2cf9313f5", "object": "Shipment"}], "rates": + [{"id": "rate_b3aee1cf42d9497bb591126539a7a052", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "Priority", "carrier": + "USPS", "rate": "6.95", "currency": "USD", "retail_rate": "10.20", "retail_currency": + "USD", "list_rate": "8.24", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 2, "shipment_id": "shp_ad619fd0e6734b27b3e369d2cf9313f5", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_057d8b8d6516413aac61fdf93a545975", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_ad619fd0e6734b27b3e369d2cf9313f5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_2b01d28e8a7c4149ab20ccbcf29a5952", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "First", "carrier": "USPS", + "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_ad619fd0e6734b27b3e369d2cf9313f5", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_ded1e495460149e8b94ad766f724145d", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_ad619fd0e6734b27b3e369d2cf9313f5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_f34ab6fcdcf04c2592b1ec54cb983239", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "Express", "carrier": + "USPS", "rate": "31.25", "currency": "USD", "retail_rate": "35.80", "retail_currency": + "USD", "list_rate": "31.25", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + false, "est_delivery_days": null, "shipment_id": "shp_ad619fd0e6734b27b3e369d2cf9313f5", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], "id": "order_44572b1e925342fababb94c67cca8292", + "object": "Order"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '12214' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/orders/order_44572b1e925342fababb94c67cca8292 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaf275e798d53f0010ee7e + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.667432' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"carrier": "USPS", "service": "First"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '39' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/orders/order_44572b1e925342fababb94c67cca8292/buy + response: + body: + string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": + "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", + "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", "type": "rate_error", + "message": "Unauthorized. Please check credentials and try again"}, {"carrier": + "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": + "rate_error", "message": "Unauthorized. Please check credentials and try again"}, + {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "created_at": "2024-01-19T22:06:45Z", "updated_at": "2024-01-19T22:06:46Z", + "customs_info": null, "from_address": {"id": "adr_08d689afb71711ee855d3cecef1b359e", + "object": "Address", "created_at": "2024-01-19T22:06:45+00:00", "updated_at": + "2024-01-19T22:06:45+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "to_address": {"id": "adr_08d4ba82b71711ee9769ac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T22:06:45+00:00", "updated_at": "2024-01-19T22:06:46+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "buyer_address": {"id": "adr_08d4ba82b71711ee9769ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T22:06:45+00:00", "updated_at": "2024-01-19T22:06:46+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "return_address": {"id": "adr_08d689afb71711ee855d3cecef1b359e", "object": + "Address", "created_at": "2024-01-19T22:06:45+00:00", "updated_at": "2024-01-19T22:06:45+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T22:06:45Z", + "is_return": false, "messages": [], "mode": "test", "options": {"currency": + "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, + "status": "unknown", "tracking_code": "9400100207552010713175", "updated_at": + "2024-01-19T22:06:47Z", "batch_id": null, "batch_status": null, "batch_message": + null, "customs_info": null, "from_address": {"id": "adr_08d689afb71711ee855d3cecef1b359e", + "object": "Address", "created_at": "2024-01-19T22:06:45+00:00", "updated_at": + "2024-01-19T22:06:45+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": "order_44572b1e925342fababb94c67cca8292", "parcel": + {"id": "prcl_92ca5d3034b14d80851d218f518b01a2", "object": "Parcel", "created_at": + "2024-01-19T22:06:45Z", "updated_at": "2024-01-19T22:06:45Z", "length": null, + "width": null, "height": null, "predefined_package": null, "weight": 10.2, + "mode": "test"}, "postage_label": {"object": "PostageLabel", "id": "pl_faf332fd56294e918c9593682b15c7c5", + "created_at": "2024-01-19T22:06:46Z", "updated_at": "2024-01-19T22:06:47Z", + "date_advance": 0, "integrated_form": "none", "label_date": "2024-01-19T22:06:46Z", + "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": + "image/png", "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e85397ca33ed6447558b2ef31c70893531.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_b3aee1cf42d9497bb591126539a7a052", "object": + "Rate", "created_at": "2024-01-19T22:06:46Z", "updated_at": "2024-01-19T22:06:46Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", + "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": + "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_ad619fd0e6734b27b3e369d2cf9313f5", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_057d8b8d6516413aac61fdf93a545975", + "object": "Rate", "created_at": "2024-01-19T22:06:46Z", "updated_at": "2024-01-19T22:06:46Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", + "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": + "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_ad619fd0e6734b27b3e369d2cf9313f5", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_2b01d28e8a7c4149ab20ccbcf29a5952", + "object": "Rate", "created_at": "2024-01-19T22:06:46Z", "updated_at": "2024-01-19T22:06:46Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_ad619fd0e6734b27b3e369d2cf9313f5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_ded1e495460149e8b94ad766f724145d", "object": "Rate", "created_at": + "2024-01-19T22:06:46Z", "updated_at": "2024-01-19T22:06:46Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_ad619fd0e6734b27b3e369d2cf9313f5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_f34ab6fcdcf04c2592b1ec54cb983239", "object": "Rate", "created_at": + "2024-01-19T22:06:46Z", "updated_at": "2024-01-19T22:06:46Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", + "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_ad619fd0e6734b27b3e369d2cf9313f5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_2b01d28e8a7c4149ab20ccbcf29a5952", + "object": "Rate", "created_at": "2024-01-19T22:06:46Z", "updated_at": "2024-01-19T22:06:46Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_ad619fd0e6734b27b3e369d2cf9313f5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + "tracker": {"id": "trk_d73b622258634457bba13d948079a3e6", "object": "Tracker", + "mode": "test", "tracking_code": "9400100207552010713175", "status": "unknown", + "status_detail": "unknown", "created_at": "2024-01-19T22:06:47Z", "updated_at": + "2024-01-19T22:06:47Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_ad619fd0e6734b27b3e369d2cf9313f5", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrX2Q3M2I2MjIyNTg2MzQ0NTdiYmExM2Q5NDgwNzlhM2U2"}, + "to_address": {"id": "adr_08d4ba82b71711ee9769ac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T22:06:45+00:00", "updated_at": "2024-01-19T22:06:46+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_08d689afb71711ee855d3cecef1b359e", + "object": "Address", "created_at": "2024-01-19T22:06:45+00:00", "updated_at": + "2024-01-19T22:06:45+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_08d4ba82b71711ee9769ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T22:06:45+00:00", "updated_at": "2024-01-19T22:06:46+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "4.81000", "charged": true, "refunded": false}], "id": "shp_ad619fd0e6734b27b3e369d2cf9313f5", + "object": "Shipment"}], "rates": [{"id": "rate_b3aee1cf42d9497bb591126539a7a052", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "Priority", "carrier": "USPS", "rate": "6.95", "currency": "USD", + "retail_rate": "10.20", "retail_currency": "USD", "list_rate": "8.24", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": + "shp_ad619fd0e6734b27b3e369d2cf9313f5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_057d8b8d6516413aac61fdf93a545975", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "GroundAdvantage", "carrier": + "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_ad619fd0e6734b27b3e369d2cf9313f5", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_2b01d28e8a7c4149ab20ccbcf29a5952", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "First", "carrier": "USPS", "rate": "4.81", "currency": "USD", + "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_ad619fd0e6734b27b3e369d2cf9313f5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_ded1e495460149e8b94ad766f724145d", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "ParcelSelect", "carrier": + "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_ad619fd0e6734b27b3e369d2cf9313f5", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f34ab6fcdcf04c2592b1ec54cb983239", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", + "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_ad619fd0e6734b27b3e369d2cf9313f5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "id": "order_44572b1e925342fababb94c67cca8292", "object": "Order"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '13704' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaf276e798d5400010ef10 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.806651' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_orders_create.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_orders_create.yaml new file mode 100644 index 00000000..dd6d75e4 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_orders_create.yaml @@ -0,0 +1,1388 @@ +interactions: +- request: + body: '{"order": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 N + Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "shipments": [{"parcel": {"weight": + "10.2"}}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '491' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/orders + response: + body: + string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": + "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", + "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", + "message": "Unauthorized. Please check credentials and try again"}, {"carrier": + "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": + "rate_error", "message": "Unauthorized. Please check credentials and try again"}, + {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "created_at": "2024-01-19T21:47:15Z", "updated_at": "2024-01-19T21:47:16Z", + "customs_info": null, "from_address": {"id": "adr_4f938043b71411eea2f2ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:47:15+00:00", "updated_at": + "2024-01-19T21:47:15+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "to_address": {"id": "adr_4f91cfcfb71411eea2f1ac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T21:47:15+00:00", "updated_at": "2024-01-19T21:47:15+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "buyer_address": {"id": "adr_4f91cfcfb71411eea2f1ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:47:15+00:00", "updated_at": + "2024-01-19T21:47:15+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "return_address": {"id": + "adr_4f938043b71411eea2f2ac1f6bc53342", "object": "Address", "created_at": + "2024-01-19T21:47:15+00:00", "updated_at": "2024-01-19T21:47:15+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T21:47:15Z", + "is_return": false, "messages": [{"carrier": "DhlEcs", "carrier_account_id": + "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_b1a0a1bc45844159812e0224d53948ea", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_c3cbbd21bc97400bbbaed6d030909476", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_99007e1aeb66421faf82676f1199481e", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_0d64fd488c1444cf9bc16f858703e28f", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}], "mode": "test", "options": {"currency": + "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, + "status": "unknown", "tracking_code": null, "updated_at": "2024-01-19T21:47:15Z", + "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": + null, "from_address": {"id": "adr_4f938043b71411eea2f2ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:47:15+00:00", "updated_at": "2024-01-19T21:47:15+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": "order_fd0d98639ea047f0a48d8ff737f317b2", + "parcel": {"id": "prcl_c8daca0797224644b22bc238a250ff0e", "object": "Parcel", + "created_at": "2024-01-19T21:47:15Z", "updated_at": "2024-01-19T21:47:15Z", + "length": null, "width": null, "height": null, "predefined_package": null, + "weight": 10.2, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_0dcd85915704404989569b945799b52f", + "object": "Rate", "created_at": "2024-01-19T21:47:16Z", "updated_at": "2024-01-19T21:47:16Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", + "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": + "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_8b0c0f5ead074e8fb9cf3b840c22454d", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_7e59c26baccf40b7b23ccc045b248ebf", + "object": "Rate", "created_at": "2024-01-19T21:47:16Z", "updated_at": "2024-01-19T21:47:16Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", + "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": + "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_8b0c0f5ead074e8fb9cf3b840c22454d", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b231b564a8234095b5b8aef24aa765e6", + "object": "Rate", "created_at": "2024-01-19T21:47:16Z", "updated_at": "2024-01-19T21:47:16Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_8b0c0f5ead074e8fb9cf3b840c22454d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_7591b10c8e6e46cb9faa1eb63e636679", "object": "Rate", "created_at": + "2024-01-19T21:47:16Z", "updated_at": "2024-01-19T21:47:16Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_8b0c0f5ead074e8fb9cf3b840c22454d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_5290a94545ac426c9a2107026b7844da", "object": "Rate", "created_at": + "2024-01-19T21:47:16Z", "updated_at": "2024-01-19T21:47:16Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", + "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_8b0c0f5ead074e8fb9cf3b840c22454d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_4f91cfcfb71411eea2f1ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:47:15+00:00", "updated_at": "2024-01-19T21:47:15+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_4f938043b71411eea2f2ac1f6bc53342", "object": "Address", "created_at": + "2024-01-19T21:47:15+00:00", "updated_at": "2024-01-19T21:47:15+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_4f91cfcfb71411eea2f1ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:47:15+00:00", "updated_at": + "2024-01-19T21:47:15+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_8b0c0f5ead074e8fb9cf3b840c22454d", "object": "Shipment"}], "rates": + [{"id": "rate_0dcd85915704404989569b945799b52f", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "Priority", "carrier": + "USPS", "rate": "6.95", "currency": "USD", "retail_rate": "10.20", "retail_currency": + "USD", "list_rate": "8.24", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 2, "shipment_id": "shp_8b0c0f5ead074e8fb9cf3b840c22454d", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_7e59c26baccf40b7b23ccc045b248ebf", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_8b0c0f5ead074e8fb9cf3b840c22454d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_b231b564a8234095b5b8aef24aa765e6", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "First", "carrier": "USPS", + "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_8b0c0f5ead074e8fb9cf3b840c22454d", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_7591b10c8e6e46cb9faa1eb63e636679", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_8b0c0f5ead074e8fb9cf3b840c22454d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_5290a94545ac426c9a2107026b7844da", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "Express", "carrier": + "USPS", "rate": "31.25", "currency": "USD", "retail_rate": "35.80", "retail_currency": + "USD", "list_rate": "31.25", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + false, "est_delivery_days": null, "shipment_id": "shp_8b0c0f5ead074e8fb9cf3b840c22454d", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], "id": "order_fd0d98639ea047f0a48d8ff737f317b2", + "object": "Order"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '12214' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/orders/order_fd0d98639ea047f0a48d8ff737f317b2 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdaa65aaede3e78bac7100112b17 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.688339' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"order": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 N + Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "shipments": [{"parcel": {"weight": + "10.2"}}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '491' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/orders + response: + body: + string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": + "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", + "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", "type": "rate_error", + "message": "Unauthorized. Please check credentials and try again"}, {"carrier": + "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", "type": + "rate_error", "message": "Unauthorized. Please check credentials and try again"}, + {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "created_at": "2024-01-19T21:49:07Z", "updated_at": "2024-01-19T21:49:08Z", + "customs_info": null, "from_address": {"id": "adr_923850f3b71411eeb8a5ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:49:07+00:00", "updated_at": + "2024-01-19T21:49:07+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "to_address": {"id": "adr_923606f5b71411eeb5813cecef1b359e", "object": "Address", + "created_at": "2024-01-19T21:49:07+00:00", "updated_at": "2024-01-19T21:49:07+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "buyer_address": {"id": "adr_923606f5b71411eeb5813cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:49:07+00:00", "updated_at": + "2024-01-19T21:49:07+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "return_address": {"id": + "adr_923850f3b71411eeb8a5ac1f6bc539ae", "object": "Address", "created_at": + "2024-01-19T21:49:07+00:00", "updated_at": "2024-01-19T21:49:07+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T21:49:07Z", + "is_return": false, "messages": [{"carrier": "DhlEcs", "carrier_account_id": + "ca_0d64fd488c1444cf9bc16f858703e28f", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_99007e1aeb66421faf82676f1199481e", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_c3cbbd21bc97400bbbaed6d030909476", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_b1a0a1bc45844159812e0224d53948ea", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}], "mode": "test", "options": {"currency": + "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, + "status": "unknown", "tracking_code": null, "updated_at": "2024-01-19T21:49:07Z", + "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": + null, "from_address": {"id": "adr_923850f3b71411eeb8a5ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:49:07+00:00", "updated_at": "2024-01-19T21:49:07+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": "order_1bc474389c6a40b0b5e1a2395ca63e7a", + "parcel": {"id": "prcl_1c536fa8cc17488d8d742751df05fc37", "object": "Parcel", + "created_at": "2024-01-19T21:49:07Z", "updated_at": "2024-01-19T21:49:07Z", + "length": null, "width": null, "height": null, "predefined_package": null, + "weight": 10.2, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_0eb1edcaf8114db085fbe2d1fe14b9f6", + "object": "Rate", "created_at": "2024-01-19T21:49:08Z", "updated_at": "2024-01-19T21:49:08Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", + "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": + "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_1a1f26411b1f4adfacd4029531edf2e2", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_3d69745cac95461294d1df667a06318e", + "object": "Rate", "created_at": "2024-01-19T21:49:08Z", "updated_at": "2024-01-19T21:49:08Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", + "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": + "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_1a1f26411b1f4adfacd4029531edf2e2", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_d4ae1b4d9976494ab7cd57e2c1bf2dc8", + "object": "Rate", "created_at": "2024-01-19T21:49:08Z", "updated_at": "2024-01-19T21:49:08Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_1a1f26411b1f4adfacd4029531edf2e2", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_84ef24f2442e40eab963ed0101eb54a0", "object": "Rate", "created_at": + "2024-01-19T21:49:08Z", "updated_at": "2024-01-19T21:49:08Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_1a1f26411b1f4adfacd4029531edf2e2", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_adeeaa7f2a2e49f0807813609de079d8", "object": "Rate", "created_at": + "2024-01-19T21:49:08Z", "updated_at": "2024-01-19T21:49:08Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", + "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_1a1f26411b1f4adfacd4029531edf2e2", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_923606f5b71411eeb5813cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:49:07+00:00", "updated_at": "2024-01-19T21:49:07+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_923850f3b71411eeb8a5ac1f6bc539ae", "object": "Address", "created_at": + "2024-01-19T21:49:07+00:00", "updated_at": "2024-01-19T21:49:07+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_923606f5b71411eeb5813cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:49:07+00:00", "updated_at": + "2024-01-19T21:49:07+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_1a1f26411b1f4adfacd4029531edf2e2", "object": "Shipment"}], "rates": + [{"id": "rate_0eb1edcaf8114db085fbe2d1fe14b9f6", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "Priority", "carrier": + "USPS", "rate": "6.95", "currency": "USD", "retail_rate": "10.20", "retail_currency": + "USD", "list_rate": "8.24", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 2, "shipment_id": "shp_1a1f26411b1f4adfacd4029531edf2e2", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_3d69745cac95461294d1df667a06318e", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_1a1f26411b1f4adfacd4029531edf2e2", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_d4ae1b4d9976494ab7cd57e2c1bf2dc8", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "First", "carrier": "USPS", + "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_1a1f26411b1f4adfacd4029531edf2e2", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_84ef24f2442e40eab963ed0101eb54a0", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_1a1f26411b1f4adfacd4029531edf2e2", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_adeeaa7f2a2e49f0807813609de079d8", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "Express", "carrier": + "USPS", "rate": "31.25", "currency": "USD", "retail_rate": "35.80", "retail_currency": + "USD", "list_rate": "31.25", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + false, "est_delivery_days": null, "shipment_id": "shp_1a1f26411b1f4adfacd4029531edf2e2", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], "id": "order_1bc474389c6a40b0b5e1a2395ca63e7a", + "object": "Order"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '12214' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/orders/order_1bc474389c6a40b0b5e1a2395ca63e7a + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdae65aaee53e78bb4ab00116e57 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.779618' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"order": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 N + Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "shipments": [{"parcel": {"weight": + "10.2"}}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '491' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/orders + response: + body: + string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": + "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", + "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", + "message": "Unauthorized. Please check credentials and try again"}, {"carrier": + "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", "type": + "rate_error", "message": "Unauthorized. Please check credentials and try again"}, + {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "created_at": "2024-01-19T21:58:28Z", "updated_at": "2024-01-19T21:58:29Z", + "customs_info": null, "from_address": {"id": "adr_e0bf0c3fb71511eeb7d6ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:58:28+00:00", "updated_at": + "2024-01-19T21:58:28+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "to_address": {"id": "adr_e0bd1ee1b71511eea969ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:58:28+00:00", "updated_at": "2024-01-19T21:58:28+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "buyer_address": {"id": "adr_e0bd1ee1b71511eea969ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:58:28+00:00", "updated_at": + "2024-01-19T21:58:28+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "return_address": {"id": + "adr_e0bf0c3fb71511eeb7d6ac1f6bc539aa", "object": "Address", "created_at": + "2024-01-19T21:58:28+00:00", "updated_at": "2024-01-19T21:58:28+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T21:58:28Z", + "is_return": false, "messages": [{"carrier": "DhlEcs", "carrier_account_id": + "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_0d64fd488c1444cf9bc16f858703e28f", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_c3cbbd21bc97400bbbaed6d030909476", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_99007e1aeb66421faf82676f1199481e", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_b1a0a1bc45844159812e0224d53948ea", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}], "mode": "test", "options": {"currency": + "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, + "status": "unknown", "tracking_code": null, "updated_at": "2024-01-19T21:58:28Z", + "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": + null, "from_address": {"id": "adr_e0bf0c3fb71511eeb7d6ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:58:28+00:00", "updated_at": "2024-01-19T21:58:28+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": "order_a40c55e16b3d4e3cbf913086747d9d64", + "parcel": {"id": "prcl_ef8a01b515c44ab4a2f6a547affc0f7e", "object": "Parcel", + "created_at": "2024-01-19T21:58:28Z", "updated_at": "2024-01-19T21:58:28Z", + "length": null, "width": null, "height": null, "predefined_package": null, + "weight": 10.2, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_c9a03def83b14ba085c35500aebe4764", + "object": "Rate", "created_at": "2024-01-19T21:58:29Z", "updated_at": "2024-01-19T21:58:29Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", + "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": + "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_3b219214e43443fd9dc883ab1b43a3f2", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_570338e5e3bb403699a8a8c2fd300dc9", + "object": "Rate", "created_at": "2024-01-19T21:58:29Z", "updated_at": "2024-01-19T21:58:29Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", + "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": + "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_3b219214e43443fd9dc883ab1b43a3f2", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_d2714dd0c2a04eddba0ce73593978d5b", + "object": "Rate", "created_at": "2024-01-19T21:58:29Z", "updated_at": "2024-01-19T21:58:29Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_3b219214e43443fd9dc883ab1b43a3f2", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_a495f6cb23e949588e9232461a0a3f7f", "object": "Rate", "created_at": + "2024-01-19T21:58:29Z", "updated_at": "2024-01-19T21:58:29Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_3b219214e43443fd9dc883ab1b43a3f2", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_ee7205aa38e34bcb8073851fb1b4c170", "object": "Rate", "created_at": + "2024-01-19T21:58:29Z", "updated_at": "2024-01-19T21:58:29Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", + "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_3b219214e43443fd9dc883ab1b43a3f2", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_e0bd1ee1b71511eea969ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:58:28+00:00", "updated_at": "2024-01-19T21:58:28+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_e0bf0c3fb71511eeb7d6ac1f6bc539aa", "object": "Address", "created_at": + "2024-01-19T21:58:28+00:00", "updated_at": "2024-01-19T21:58:28+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_e0bd1ee1b71511eea969ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:58:28+00:00", "updated_at": + "2024-01-19T21:58:28+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_3b219214e43443fd9dc883ab1b43a3f2", "object": "Shipment"}], "rates": + [{"id": "rate_c9a03def83b14ba085c35500aebe4764", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "Priority", "carrier": + "USPS", "rate": "6.95", "currency": "USD", "retail_rate": "10.20", "retail_currency": + "USD", "list_rate": "8.24", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 2, "shipment_id": "shp_3b219214e43443fd9dc883ab1b43a3f2", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_570338e5e3bb403699a8a8c2fd300dc9", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_3b219214e43443fd9dc883ab1b43a3f2", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_d2714dd0c2a04eddba0ce73593978d5b", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "First", "carrier": "USPS", + "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_3b219214e43443fd9dc883ab1b43a3f2", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_a495f6cb23e949588e9232461a0a3f7f", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_3b219214e43443fd9dc883ab1b43a3f2", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_ee7205aa38e34bcb8073851fb1b4c170", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "Express", "carrier": + "USPS", "rate": "31.25", "currency": "USD", "retail_rate": "35.80", "retail_currency": + "USD", "list_rate": "31.25", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + false, "est_delivery_days": null, "shipment_id": "shp_3b219214e43443fd9dc883ab1b43a3f2", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], "id": "order_a40c55e16b3d4e3cbf913086747d9d64", + "object": "Order"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '12214' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/orders/order_a40c55e16b3d4e3cbf913086747d9d64 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf084e798bc40000f7337 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.661285' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"order": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 N + Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "shipments": [{"parcel": {"weight": + "10.2"}}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '491' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/orders + response: + body: + string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": + "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", + "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", + "message": "Unauthorized. Please check credentials and try again"}, {"carrier": + "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", "type": + "rate_error", "message": "Unauthorized. Please check credentials and try again"}, + {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "created_at": "2024-01-19T22:01:23Z", "updated_at": "2024-01-19T22:01:23Z", + "customs_info": null, "from_address": {"id": "adr_48a44e03b71611ee9892ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T22:01:23+00:00", "updated_at": + "2024-01-19T22:01:23+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "to_address": {"id": "adr_48a2aa8fb71611ee8a66ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T22:01:23+00:00", "updated_at": "2024-01-19T22:01:23+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "buyer_address": {"id": "adr_48a2aa8fb71611ee8a66ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T22:01:23+00:00", "updated_at": + "2024-01-19T22:01:23+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "return_address": {"id": + "adr_48a44e03b71611ee9892ac1f6bc539aa", "object": "Address", "created_at": + "2024-01-19T22:01:23+00:00", "updated_at": "2024-01-19T22:01:23+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T22:01:23Z", + "is_return": false, "messages": [{"carrier": "DhlEcs", "carrier_account_id": + "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_b1a0a1bc45844159812e0224d53948ea", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_c3cbbd21bc97400bbbaed6d030909476", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_99007e1aeb66421faf82676f1199481e", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_0d64fd488c1444cf9bc16f858703e28f", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}], "mode": "test", "options": {"currency": + "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, + "status": "unknown", "tracking_code": null, "updated_at": "2024-01-19T22:01:23Z", + "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": + null, "from_address": {"id": "adr_48a44e03b71611ee9892ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T22:01:23+00:00", "updated_at": "2024-01-19T22:01:23+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": "order_07cf9bc8a27e44dfbe78bdc0a29e9adb", + "parcel": {"id": "prcl_5b8e862d1d8145428168db971460f272", "object": "Parcel", + "created_at": "2024-01-19T22:01:23Z", "updated_at": "2024-01-19T22:01:23Z", + "length": null, "width": null, "height": null, "predefined_package": null, + "weight": 10.2, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_b7ac3b155cde444e96c118e0a4b84c46", + "object": "Rate", "created_at": "2024-01-19T22:01:23Z", "updated_at": "2024-01-19T22:01:23Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", + "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": + "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_cc0d40e2826a431e82da1ec69244c4b7", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_770e481366df4ea6bdda5e5db21154dc", + "object": "Rate", "created_at": "2024-01-19T22:01:23Z", "updated_at": "2024-01-19T22:01:23Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_cc0d40e2826a431e82da1ec69244c4b7", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_44f00f64cbf64614b6cd88f688ad1ae7", "object": "Rate", "created_at": + "2024-01-19T22:01:23Z", "updated_at": "2024-01-19T22:01:23Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_cc0d40e2826a431e82da1ec69244c4b7", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_56514380fe0a470fb96ff11a9b158968", "object": "Rate", "created_at": + "2024-01-19T22:01:23Z", "updated_at": "2024-01-19T22:01:23Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", + "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_cc0d40e2826a431e82da1ec69244c4b7", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_750f318303f54fb09ec6fdfe08deb975", "object": "Rate", "created_at": + "2024-01-19T22:01:23Z", "updated_at": "2024-01-19T22:01:23Z", "mode": "test", + "service": "Priority", "carrier": "USPS", "rate": "6.95", "currency": "USD", + "retail_rate": "10.20", "retail_currency": "USD", "list_rate": "8.24", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": + "shp_cc0d40e2826a431e82da1ec69244c4b7", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_48a2aa8fb71611ee8a66ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T22:01:23+00:00", "updated_at": "2024-01-19T22:01:23+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_48a44e03b71611ee9892ac1f6bc539aa", "object": "Address", "created_at": + "2024-01-19T22:01:23+00:00", "updated_at": "2024-01-19T22:01:23+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_48a2aa8fb71611ee8a66ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T22:01:23+00:00", "updated_at": + "2024-01-19T22:01:23+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_cc0d40e2826a431e82da1ec69244c4b7", "object": "Shipment"}], "rates": + [{"id": "rate_b7ac3b155cde444e96c118e0a4b84c46", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "GroundAdvantage", "carrier": + "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_cc0d40e2826a431e82da1ec69244c4b7", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_770e481366df4ea6bdda5e5db21154dc", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "First", "carrier": "USPS", "rate": "4.81", "currency": "USD", + "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_cc0d40e2826a431e82da1ec69244c4b7", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_44f00f64cbf64614b6cd88f688ad1ae7", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "ParcelSelect", "carrier": + "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_cc0d40e2826a431e82da1ec69244c4b7", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_56514380fe0a470fb96ff11a9b158968", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", + "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_cc0d40e2826a431e82da1ec69244c4b7", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_750f318303f54fb09ec6fdfe08deb975", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "Priority", "carrier": + "USPS", "rate": "6.95", "currency": "USD", "retail_rate": "10.20", "retail_currency": + "USD", "list_rate": "8.24", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 2, "shipment_id": "shp_cc0d40e2826a431e82da1ec69244c4b7", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], "id": "order_07cf9bc8a27e44dfbe78bdc0a29e9adb", + "object": "Order"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '12214' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/orders/order_07cf9bc8a27e44dfbe78bdc0a29e9adb + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf133e798c4850010003b + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.650145' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"order": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 N + Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "shipments": [{"parcel": {"weight": + "10.2"}}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '491' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/orders + response: + body: + string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": + "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", + "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", "type": "rate_error", + "message": "Unauthorized. Please check credentials and try again"}, {"carrier": + "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", "type": + "rate_error", "message": "Unauthorized. Please check credentials and try again"}, + {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "created_at": "2024-01-19T22:05:09Z", "updated_at": "2024-01-19T22:05:09Z", + "customs_info": null, "from_address": {"id": "adr_cf591a75b71611eeb30cac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:05:09+00:00", "updated_at": + "2024-01-19T22:05:09+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "to_address": {"id": "adr_cf576db2b71611eeb569ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T22:05:09+00:00", "updated_at": "2024-01-19T22:05:09+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "buyer_address": {"id": "adr_cf576db2b71611eeb569ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T22:05:09+00:00", "updated_at": + "2024-01-19T22:05:09+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "return_address": {"id": + "adr_cf591a75b71611eeb30cac1f6bc53342", "object": "Address", "created_at": + "2024-01-19T22:05:09+00:00", "updated_at": "2024-01-19T22:05:09+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T22:05:09Z", + "is_return": false, "messages": [{"carrier": "DhlEcs", "carrier_account_id": + "ca_c3cbbd21bc97400bbbaed6d030909476", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_99007e1aeb66421faf82676f1199481e", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_b1a0a1bc45844159812e0224d53948ea", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_0d64fd488c1444cf9bc16f858703e28f", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}], "mode": "test", "options": {"currency": + "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, + "status": "unknown", "tracking_code": null, "updated_at": "2024-01-19T22:05:09Z", + "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": + null, "from_address": {"id": "adr_cf591a75b71611eeb30cac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T22:05:09+00:00", "updated_at": "2024-01-19T22:05:09+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": "order_be1a4a2daf584c15b15b4de4683369c4", + "parcel": {"id": "prcl_e3d06b79c3c843dcaad86d32c05ae2d4", "object": "Parcel", + "created_at": "2024-01-19T22:05:09Z", "updated_at": "2024-01-19T22:05:09Z", + "length": null, "width": null, "height": null, "predefined_package": null, + "weight": 10.2, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_0900cbb8d1af4fe886b831f31d1ad551", + "object": "Rate", "created_at": "2024-01-19T22:05:09Z", "updated_at": "2024-01-19T22:05:09Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", + "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": + "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_f59fe7ef15c643d4b2d75aecdbf251fc", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_aaa7d56e1600467dbd28c0a4b67e72eb", + "object": "Rate", "created_at": "2024-01-19T22:05:09Z", "updated_at": "2024-01-19T22:05:09Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", + "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": + "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_f59fe7ef15c643d4b2d75aecdbf251fc", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b5d9ec0600514a5285748929c28f8456", + "object": "Rate", "created_at": "2024-01-19T22:05:09Z", "updated_at": "2024-01-19T22:05:09Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_f59fe7ef15c643d4b2d75aecdbf251fc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_920e34eb6f854c6281f37a2b0d6eaaf1", "object": "Rate", "created_at": + "2024-01-19T22:05:09Z", "updated_at": "2024-01-19T22:05:09Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_f59fe7ef15c643d4b2d75aecdbf251fc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_bc9b3056aee74867bfcb785cb1842e19", "object": "Rate", "created_at": + "2024-01-19T22:05:09Z", "updated_at": "2024-01-19T22:05:09Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", + "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_f59fe7ef15c643d4b2d75aecdbf251fc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_cf576db2b71611eeb569ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T22:05:09+00:00", "updated_at": "2024-01-19T22:05:09+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_cf591a75b71611eeb30cac1f6bc53342", "object": "Address", "created_at": + "2024-01-19T22:05:09+00:00", "updated_at": "2024-01-19T22:05:09+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_cf576db2b71611eeb569ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T22:05:09+00:00", "updated_at": + "2024-01-19T22:05:09+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_f59fe7ef15c643d4b2d75aecdbf251fc", "object": "Shipment"}], "rates": + [{"id": "rate_0900cbb8d1af4fe886b831f31d1ad551", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "Priority", "carrier": + "USPS", "rate": "6.95", "currency": "USD", "retail_rate": "10.20", "retail_currency": + "USD", "list_rate": "8.24", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 2, "shipment_id": "shp_f59fe7ef15c643d4b2d75aecdbf251fc", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_aaa7d56e1600467dbd28c0a4b67e72eb", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_f59fe7ef15c643d4b2d75aecdbf251fc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_b5d9ec0600514a5285748929c28f8456", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "First", "carrier": "USPS", + "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_f59fe7ef15c643d4b2d75aecdbf251fc", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_920e34eb6f854c6281f37a2b0d6eaaf1", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_f59fe7ef15c643d4b2d75aecdbf251fc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_bc9b3056aee74867bfcb785cb1842e19", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "Express", "carrier": + "USPS", "rate": "31.25", "currency": "USD", "retail_rate": "35.80", "retail_currency": + "USD", "list_rate": "31.25", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + false, "est_delivery_days": null, "shipment_id": "shp_f59fe7ef15c643d4b2d75aecdbf251fc", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], "id": "order_be1a4a2daf584c15b15b4de4683369c4", + "object": "Order"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '12214' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/orders/order_be1a4a2daf584c15b15b4de4683369c4 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaf215e798d07a0010ad2a + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.754082' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"order": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 N + Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "shipments": [{"parcel": {"weight": + "10.2"}}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '491' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/orders + response: + body: + string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": + "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", + "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", "type": "rate_error", + "message": "Unauthorized. Please check credentials and try again"}, {"carrier": + "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": + "rate_error", "message": "Unauthorized. Please check credentials and try again"}, + {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "created_at": "2024-01-19T22:06:42Z", "updated_at": "2024-01-19T22:06:43Z", + "customs_info": null, "from_address": {"id": "adr_072e622bb71711ee892cac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T22:06:42+00:00", "updated_at": + "2024-01-19T22:06:42+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "to_address": {"id": "adr_072cfbd3b71711ee96c9ac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T22:06:42+00:00", "updated_at": "2024-01-19T22:06:42+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "buyer_address": {"id": "adr_072cfbd3b71711ee96c9ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T22:06:42+00:00", "updated_at": + "2024-01-19T22:06:42+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "return_address": {"id": + "adr_072e622bb71711ee892cac1f6bc539ae", "object": "Address", "created_at": + "2024-01-19T22:06:42+00:00", "updated_at": "2024-01-19T22:06:42+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T22:06:42Z", + "is_return": false, "messages": [{"carrier": "DhlEcs", "carrier_account_id": + "ca_b1a0a1bc45844159812e0224d53948ea", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_c3cbbd21bc97400bbbaed6d030909476", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_0d64fd488c1444cf9bc16f858703e28f", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_99007e1aeb66421faf82676f1199481e", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}], "mode": "test", "options": {"currency": + "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, + "status": "unknown", "tracking_code": null, "updated_at": "2024-01-19T22:06:42Z", + "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": + null, "from_address": {"id": "adr_072e622bb71711ee892cac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T22:06:42+00:00", "updated_at": "2024-01-19T22:06:42+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": "order_b00ef6adfc1c46029585c09ea97f7f88", + "parcel": {"id": "prcl_d96a06ce51684fb8a7a5d697c77dfe8f", "object": "Parcel", + "created_at": "2024-01-19T22:06:42Z", "updated_at": "2024-01-19T22:06:42Z", + "length": null, "width": null, "height": null, "predefined_package": null, + "weight": 10.2, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_07520752907a4295a8a0577666b35a9e", + "object": "Rate", "created_at": "2024-01-19T22:06:43Z", "updated_at": "2024-01-19T22:06:43Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "31.25", + "currency": "USD", "retail_rate": "35.80", "retail_currency": "USD", "list_rate": + "31.25", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_0083d100a313497fa7f0478b86438caa", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b8140328fc934e50baa873f67c569d11", + "object": "Rate", "created_at": "2024-01-19T22:06:43Z", "updated_at": "2024-01-19T22:06:43Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", + "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": + "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_0083d100a313497fa7f0478b86438caa", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_d48a28c6211c4b129322eddc088145c9", + "object": "Rate", "created_at": "2024-01-19T22:06:43Z", "updated_at": "2024-01-19T22:06:43Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", + "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": + "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_0083d100a313497fa7f0478b86438caa", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_12a5599322714761afe59cf87383e310", + "object": "Rate", "created_at": "2024-01-19T22:06:43Z", "updated_at": "2024-01-19T22:06:43Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_0083d100a313497fa7f0478b86438caa", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_bcf3b532b23c4c8cad0e96cd4b6f2fd1", "object": "Rate", "created_at": + "2024-01-19T22:06:43Z", "updated_at": "2024-01-19T22:06:43Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_0083d100a313497fa7f0478b86438caa", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_072cfbd3b71711ee96c9ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T22:06:42+00:00", "updated_at": "2024-01-19T22:06:42+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_072e622bb71711ee892cac1f6bc539ae", "object": "Address", "created_at": + "2024-01-19T22:06:42+00:00", "updated_at": "2024-01-19T22:06:42+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_072cfbd3b71711ee96c9ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T22:06:42+00:00", "updated_at": + "2024-01-19T22:06:42+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_0083d100a313497fa7f0478b86438caa", "object": "Shipment"}], "rates": + [{"id": "rate_07520752907a4295a8a0577666b35a9e", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "Express", "carrier": + "USPS", "rate": "31.25", "currency": "USD", "retail_rate": "35.80", "retail_currency": + "USD", "list_rate": "31.25", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + false, "est_delivery_days": null, "shipment_id": "shp_0083d100a313497fa7f0478b86438caa", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b8140328fc934e50baa873f67c569d11", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "Priority", "carrier": "USPS", "rate": "6.95", "currency": "USD", + "retail_rate": "10.20", "retail_currency": "USD", "list_rate": "8.24", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": + "shp_0083d100a313497fa7f0478b86438caa", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_d48a28c6211c4b129322eddc088145c9", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "GroundAdvantage", "carrier": + "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_0083d100a313497fa7f0478b86438caa", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_12a5599322714761afe59cf87383e310", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "First", "carrier": "USPS", "rate": "4.81", "currency": "USD", + "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_0083d100a313497fa7f0478b86438caa", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_bcf3b532b23c4c8cad0e96cd4b6f2fd1", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "ParcelSelect", "carrier": + "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_0083d100a313497fa7f0478b86438caa", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], "id": "order_b00ef6adfc1c46029585c09ea97f7f88", + "object": "Order"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '12214' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/orders/order_b00ef6adfc1c46029585c09ea97f7f88 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaf272e798d5250010ecb2 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.752539' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_orders_one_call_buy.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_orders_one_call_buy.yaml new file mode 100644 index 00000000..c360b6d5 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_orders_one_call_buy.yaml @@ -0,0 +1,1674 @@ +interactions: +- request: + body: '{"order": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 N + Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "shipments": [{"parcel": {"weight": + "10.2"}}], "carrier": "USPS", "service": "First", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '591' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/orders + response: + body: + string: '{"messages": [], "mode": "test", "reference": "", "is_return": false, + "options": {"currency": "USD", "payment": {"type": "SENDER"}}, "created_at": + "2024-01-19T21:41:00Z", "updated_at": "2024-01-19T21:41:00Z", "customs_info": + null, "from_address": {"id": "adr_6ffbd0f5b71311ee975cac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:41:00+00:00", "updated_at": "2024-01-19T21:41:00+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "to_address": {"id": "adr_6ffa7cc8b71311ee9870ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:41:00+00:00", "updated_at": + "2024-01-19T21:41:00+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": + "179 N HARBOR DR", "street2": "", "city": "REDONDO BEACH", "state": "CA", + "zip": "90277-2506", "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "buyer_address": {"id": "adr_6ffa7cc8b71311ee9870ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:41:00+00:00", "updated_at": "2024-01-19T21:41:00+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "return_address": {"id": "adr_6ffbd0f5b71311ee975cac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:41:00+00:00", "updated_at": "2024-01-19T21:41:00+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T21:41:00Z", + "is_return": false, "messages": [], "mode": "test", "options": {"currency": + "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, + "status": "unknown", "tracking_code": "9400100207552010707624", "updated_at": + "2024-01-19T21:41:01Z", "batch_id": null, "batch_status": null, "batch_message": + null, "customs_info": null, "from_address": {"id": "adr_6ffbd0f5b71311ee975cac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:41:00+00:00", "updated_at": + "2024-01-19T21:41:00+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": "order_19252a72d5e842a988e3a776cc3825df", "parcel": + {"id": "prcl_d2fa368783e34a63984048f7e4195f97", "object": "Parcel", "created_at": + "2024-01-19T21:41:00Z", "updated_at": "2024-01-19T21:41:00Z", "length": null, + "width": null, "height": null, "predefined_package": null, "weight": 10.2, + "mode": "test"}, "postage_label": {"object": "PostageLabel", "id": "pl_8dea8cf6e5624d149b8ec5eede8fe324", + "created_at": "2024-01-19T21:41:01Z", "updated_at": "2024-01-19T21:41:01Z", + "date_advance": 0, "integrated_form": "none", "label_date": "2024-01-19T21:41:01Z", + "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": + "image/png", "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e84cb1f227b69f47e098494d9950a28d37.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_104fbc9045af4099a0b6d679aad9e96d", "object": + "Rate", "created_at": "2024-01-19T21:41:00Z", "updated_at": "2024-01-19T21:41:00Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "31.25", + "currency": "USD", "retail_rate": "35.80", "retail_currency": "USD", "list_rate": + "31.25", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_52ca0171eee7472186bb4e287b79cd0c", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_330b37e88e5241fba2f83133a2c74cc9", + "object": "Rate", "created_at": "2024-01-19T21:41:00Z", "updated_at": "2024-01-19T21:41:00Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", + "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": + "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_52ca0171eee7472186bb4e287b79cd0c", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_9ab5c8c508504dbb9b3750e1465a8ad4", + "object": "Rate", "created_at": "2024-01-19T21:41:00Z", "updated_at": "2024-01-19T21:41:00Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", + "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": + "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_52ca0171eee7472186bb4e287b79cd0c", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_ebd4a1a455e54eecb92f42250768eb59", + "object": "Rate", "created_at": "2024-01-19T21:41:00Z", "updated_at": "2024-01-19T21:41:00Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_52ca0171eee7472186bb4e287b79cd0c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_dad332e765dc47b3a4fc03d4f072c964", "object": "Rate", "created_at": + "2024-01-19T21:41:00Z", "updated_at": "2024-01-19T21:41:00Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_52ca0171eee7472186bb4e287b79cd0c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_ebd4a1a455e54eecb92f42250768eb59", + "object": "Rate", "created_at": "2024-01-19T21:41:01Z", "updated_at": "2024-01-19T21:41:01Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_52ca0171eee7472186bb4e287b79cd0c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + "tracker": {"id": "trk_1283fa3ec9374b4f939ca13020bd4b83", "object": "Tracker", + "mode": "test", "tracking_code": "9400100207552010707624", "status": "unknown", + "status_detail": "unknown", "created_at": "2024-01-19T21:41:01Z", "updated_at": + "2024-01-19T21:41:01Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_52ca0171eee7472186bb4e287b79cd0c", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzEyODNmYTNlYzkzNzRiNGY5MzljYTEzMDIwYmQ0Yjgz"}, + "to_address": {"id": "adr_6ffa7cc8b71311ee9870ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:41:00+00:00", "updated_at": "2024-01-19T21:41:00+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_6ffbd0f5b71311ee975cac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:41:00+00:00", "updated_at": + "2024-01-19T21:41:00+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_6ffa7cc8b71311ee9870ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:41:00+00:00", "updated_at": "2024-01-19T21:41:00+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "4.81000", "charged": true, "refunded": false}], "id": "shp_52ca0171eee7472186bb4e287b79cd0c", + "object": "Shipment"}], "rates": [{"id": "rate_104fbc9045af4099a0b6d679aad9e96d", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", + "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_52ca0171eee7472186bb4e287b79cd0c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_330b37e88e5241fba2f83133a2c74cc9", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "Priority", "carrier": + "USPS", "rate": "6.95", "currency": "USD", "retail_rate": "10.20", "retail_currency": + "USD", "list_rate": "8.24", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 2, "shipment_id": "shp_52ca0171eee7472186bb4e287b79cd0c", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_9ab5c8c508504dbb9b3750e1465a8ad4", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_52ca0171eee7472186bb4e287b79cd0c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_ebd4a1a455e54eecb92f42250768eb59", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "First", "carrier": "USPS", + "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_52ca0171eee7472186bb4e287b79cd0c", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_dad332e765dc47b3a4fc03d4f072c964", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_52ca0171eee7472186bb4e287b79cd0c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "id": "order_19252a72d5e842a988e3a776cc3825df", "object": "Order"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '12715' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/orders/order_19252a72d5e842a988e3a776cc3825df + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaec6ce78b9ec1000cdb2c + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.090692' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"order": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 N + Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "shipments": [{"parcel": {"weight": + "10.2"}}], "carrier": "USPS", "service": "First", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '591' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/orders + response: + body: + string: '{"messages": [], "mode": "test", "reference": "", "is_return": false, + "options": {"currency": "USD", "payment": {"type": "SENDER"}}, "created_at": + "2024-01-19T21:43:28Z", "updated_at": "2024-01-19T21:43:28Z", "customs_info": + null, "from_address": {"id": "adr_c8168112b71311eeb779ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:43:28+00:00", "updated_at": "2024-01-19T21:43:28+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "to_address": {"id": "adr_c8153325b71311eeb53b3cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:43:28+00:00", "updated_at": + "2024-01-19T21:43:28+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": + "179 N HARBOR DR", "street2": "", "city": "REDONDO BEACH", "state": "CA", + "zip": "90277-2506", "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "buyer_address": {"id": "adr_c8153325b71311eeb53b3cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:43:28+00:00", "updated_at": "2024-01-19T21:43:28+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "return_address": {"id": "adr_c8168112b71311eeb779ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:43:28+00:00", "updated_at": "2024-01-19T21:43:28+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T21:43:28Z", + "is_return": false, "messages": [], "mode": "test", "options": {"currency": + "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, + "status": "unknown", "tracking_code": "9400100207552010708003", "updated_at": + "2024-01-19T21:43:29Z", "batch_id": null, "batch_status": null, "batch_message": + null, "customs_info": null, "from_address": {"id": "adr_c8168112b71311eeb779ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:43:28+00:00", "updated_at": + "2024-01-19T21:43:28+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": "order_bfc986fe1ccc4685999863f6133a858c", "parcel": + {"id": "prcl_d8fb639d45d34d21a7fe60768455a70d", "object": "Parcel", "created_at": + "2024-01-19T21:43:28Z", "updated_at": "2024-01-19T21:43:28Z", "length": null, + "width": null, "height": null, "predefined_package": null, "weight": 10.2, + "mode": "test"}, "postage_label": {"object": "PostageLabel", "id": "pl_248d4d257cf745a4836cccaa262b149a", + "created_at": "2024-01-19T21:43:28Z", "updated_at": "2024-01-19T21:43:29Z", + "date_advance": 0, "integrated_form": "none", "label_date": "2024-01-19T21:43:28Z", + "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": + "image/png", "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e831228967a61646ae94ed51babcdc3f17.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_1e235cbf86964afa85e1cef745b09d9f", "object": + "Rate", "created_at": "2024-01-19T21:43:28Z", "updated_at": "2024-01-19T21:43:28Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", + "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": + "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_62b569b3b4cc4a9789b70b8200ec594b", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_5da7ae6f219747ada67423d0e9ce282d", + "object": "Rate", "created_at": "2024-01-19T21:43:28Z", "updated_at": "2024-01-19T21:43:28Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", + "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": + "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_62b569b3b4cc4a9789b70b8200ec594b", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_a7ef6eb32eac48299559b6cc21219d12", + "object": "Rate", "created_at": "2024-01-19T21:43:28Z", "updated_at": "2024-01-19T21:43:28Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_62b569b3b4cc4a9789b70b8200ec594b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_b5b3daea93a945a4b5fb4cfb1a20a677", "object": "Rate", "created_at": + "2024-01-19T21:43:28Z", "updated_at": "2024-01-19T21:43:28Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_62b569b3b4cc4a9789b70b8200ec594b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_20ff3370e4834163b3c51fdcd2d873d3", "object": "Rate", "created_at": + "2024-01-19T21:43:28Z", "updated_at": "2024-01-19T21:43:28Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", + "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_62b569b3b4cc4a9789b70b8200ec594b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_a7ef6eb32eac48299559b6cc21219d12", + "object": "Rate", "created_at": "2024-01-19T21:43:28Z", "updated_at": "2024-01-19T21:43:28Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_62b569b3b4cc4a9789b70b8200ec594b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + "tracker": {"id": "trk_bf6a18a2bbd342ddaf9c8a28a2f12af3", "object": "Tracker", + "mode": "test", "tracking_code": "9400100207552010708003", "status": "unknown", + "status_detail": "unknown", "created_at": "2024-01-19T21:43:29Z", "updated_at": + "2024-01-19T21:43:29Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_62b569b3b4cc4a9789b70b8200ec594b", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrX2JmNmExOGEyYmJkMzQyZGRhZjljOGEyOGEyZjEyYWYz"}, + "to_address": {"id": "adr_c8153325b71311eeb53b3cecef1b359e", "object": "Address", + "created_at": "2024-01-19T21:43:28+00:00", "updated_at": "2024-01-19T21:43:28+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_c8168112b71311eeb779ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:43:28+00:00", "updated_at": + "2024-01-19T21:43:28+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_c8153325b71311eeb53b3cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:43:28+00:00", "updated_at": "2024-01-19T21:43:28+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "4.81000", "charged": true, "refunded": false}], "id": "shp_62b569b3b4cc4a9789b70b8200ec594b", + "object": "Shipment"}], "rates": [{"id": "rate_1e235cbf86964afa85e1cef745b09d9f", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "Priority", "carrier": "USPS", "rate": "6.95", "currency": "USD", + "retail_rate": "10.20", "retail_currency": "USD", "list_rate": "8.24", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": + "shp_62b569b3b4cc4a9789b70b8200ec594b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_5da7ae6f219747ada67423d0e9ce282d", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "GroundAdvantage", "carrier": + "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_62b569b3b4cc4a9789b70b8200ec594b", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_a7ef6eb32eac48299559b6cc21219d12", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "First", "carrier": "USPS", "rate": "4.81", "currency": "USD", + "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_62b569b3b4cc4a9789b70b8200ec594b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_b5b3daea93a945a4b5fb4cfb1a20a677", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "ParcelSelect", "carrier": + "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_62b569b3b4cc4a9789b70b8200ec594b", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_20ff3370e4834163b3c51fdcd2d873d3", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", + "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_62b569b3b4cc4a9789b70b8200ec594b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "id": "order_bfc986fe1ccc4685999863f6133a858c", "object": "Order"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '12715' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/orders/order_bfc986fe1ccc4685999863f6133a858c + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaed00e78ba3ee000d384a + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.070184' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"order": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 N + Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "shipments": [{"parcel": {"weight": + "10.2"}}], "carrier": "USPS", "service": "First", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '591' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/orders + response: + body: + string: '{"messages": [], "mode": "test", "reference": "", "is_return": false, + "options": {"currency": "USD", "payment": {"type": "SENDER"}}, "created_at": + "2024-01-19T21:47:20Z", "updated_at": "2024-01-19T21:47:20Z", "customs_info": + null, "from_address": {"id": "adr_525e5804b71411eea3b3ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:47:20+00:00", "updated_at": "2024-01-19T21:47:20+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "to_address": {"id": "adr_525d2437b71411eeb321ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:47:20+00:00", "updated_at": + "2024-01-19T21:47:20+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": + "179 N HARBOR DR", "street2": "", "city": "REDONDO BEACH", "state": "CA", + "zip": "90277-2506", "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "buyer_address": {"id": "adr_525d2437b71411eeb321ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:47:20+00:00", "updated_at": "2024-01-19T21:47:20+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "return_address": {"id": "adr_525e5804b71411eea3b3ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:47:20+00:00", "updated_at": "2024-01-19T21:47:20+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T21:47:20Z", + "is_return": false, "messages": [], "mode": "test", "options": {"currency": + "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, + "status": "unknown", "tracking_code": "9400100207552010708423", "updated_at": + "2024-01-19T21:47:21Z", "batch_id": null, "batch_status": null, "batch_message": + null, "customs_info": null, "from_address": {"id": "adr_525e5804b71411eea3b3ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:47:20+00:00", "updated_at": + "2024-01-19T21:47:20+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": "order_20487d47440f4f24b75d793bc491ab2a", "parcel": + {"id": "prcl_2ff6d2607f4c479b85de2423e2dfb23a", "object": "Parcel", "created_at": + "2024-01-19T21:47:20Z", "updated_at": "2024-01-19T21:47:20Z", "length": null, + "width": null, "height": null, "predefined_package": null, "weight": 10.2, + "mode": "test"}, "postage_label": {"object": "PostageLabel", "id": "pl_31417c611c8542908d234686fd1856ed", + "created_at": "2024-01-19T21:47:20Z", "updated_at": "2024-01-19T21:47:21Z", + "date_advance": 0, "integrated_form": "none", "label_date": "2024-01-19T21:47:20Z", + "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": + "image/png", "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8de14695d6bff486194d5b97156421939.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_0343b2ab7c54461ba83d9a4f06e67343", "object": + "Rate", "created_at": "2024-01-19T21:47:20Z", "updated_at": "2024-01-19T21:47:20Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", + "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": + "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_ab0472a0ecf341998013db5b03a85ff6", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_56c0251cafbf4658ae459d67af1097b7", + "object": "Rate", "created_at": "2024-01-19T21:47:20Z", "updated_at": "2024-01-19T21:47:20Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", + "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": + "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_ab0472a0ecf341998013db5b03a85ff6", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_d17db50d0f564b9fbce76771251e8d06", + "object": "Rate", "created_at": "2024-01-19T21:47:20Z", "updated_at": "2024-01-19T21:47:20Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_ab0472a0ecf341998013db5b03a85ff6", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_c1921cce687a4a61a79c2506c7c590e8", "object": "Rate", "created_at": + "2024-01-19T21:47:20Z", "updated_at": "2024-01-19T21:47:20Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_ab0472a0ecf341998013db5b03a85ff6", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_7b8d2177c1df433a8cd42b7d6a89d120", "object": "Rate", "created_at": + "2024-01-19T21:47:20Z", "updated_at": "2024-01-19T21:47:20Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", + "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_ab0472a0ecf341998013db5b03a85ff6", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_d17db50d0f564b9fbce76771251e8d06", + "object": "Rate", "created_at": "2024-01-19T21:47:21Z", "updated_at": "2024-01-19T21:47:21Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_ab0472a0ecf341998013db5b03a85ff6", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + "tracker": {"id": "trk_7ce3fa1fd66b493a9effbaab240f1462", "object": "Tracker", + "mode": "test", "tracking_code": "9400100207552010708423", "status": "unknown", + "status_detail": "unknown", "created_at": "2024-01-19T21:47:21Z", "updated_at": + "2024-01-19T21:47:21Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_ab0472a0ecf341998013db5b03a85ff6", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzdjZTNmYTFmZDY2YjQ5M2E5ZWZmYmFhYjI0MGYxNDYy"}, + "to_address": {"id": "adr_525d2437b71411eeb321ac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T21:47:20+00:00", "updated_at": "2024-01-19T21:47:20+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_525e5804b71411eea3b3ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:47:20+00:00", "updated_at": + "2024-01-19T21:47:20+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_525d2437b71411eeb321ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:47:20+00:00", "updated_at": "2024-01-19T21:47:20+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "4.81000", "charged": true, "refunded": false}], "id": "shp_ab0472a0ecf341998013db5b03a85ff6", + "object": "Shipment"}], "rates": [{"id": "rate_0343b2ab7c54461ba83d9a4f06e67343", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "Priority", "carrier": "USPS", "rate": "6.95", "currency": "USD", + "retail_rate": "10.20", "retail_currency": "USD", "list_rate": "8.24", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": + "shp_ab0472a0ecf341998013db5b03a85ff6", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_56c0251cafbf4658ae459d67af1097b7", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "GroundAdvantage", "carrier": + "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_ab0472a0ecf341998013db5b03a85ff6", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_d17db50d0f564b9fbce76771251e8d06", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "First", "carrier": "USPS", "rate": "4.81", "currency": "USD", + "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_ab0472a0ecf341998013db5b03a85ff6", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_c1921cce687a4a61a79c2506c7c590e8", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "ParcelSelect", "carrier": + "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_ab0472a0ecf341998013db5b03a85ff6", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_7b8d2177c1df433a8cd42b7d6a89d120", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", + "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_ab0472a0ecf341998013db5b03a85ff6", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "id": "order_20487d47440f4f24b75d793bc491ab2a", "object": "Order"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '12715' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/orders/order_20487d47440f4f24b75d793bc491ab2a + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdac65aaede8e78bac8e00112e44 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '1.064388' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"order": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 N + Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "shipments": [{"parcel": {"weight": + "10.2"}}], "carrier": "USPS", "service": "First", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '591' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/orders + response: + body: + string: '{"messages": [], "mode": "test", "reference": "", "is_return": false, + "options": {"currency": "USD", "payment": {"type": "SENDER"}}, "created_at": + "2024-01-19T21:49:12Z", "updated_at": "2024-01-19T21:49:12Z", "customs_info": + null, "from_address": {"id": "adr_956c568cb71411eeb6883cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:49:12+00:00", "updated_at": "2024-01-19T21:49:12+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "to_address": {"id": "adr_956a9a08b71411ee87faac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:49:12+00:00", "updated_at": + "2024-01-19T21:49:13+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": + "179 N HARBOR DR", "street2": "", "city": "REDONDO BEACH", "state": "CA", + "zip": "90277-2506", "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "buyer_address": {"id": "adr_956a9a08b71411ee87faac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:49:12+00:00", "updated_at": "2024-01-19T21:49:13+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "return_address": {"id": "adr_956c568cb71411eeb6883cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:49:12+00:00", "updated_at": "2024-01-19T21:49:12+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T21:49:12Z", + "is_return": false, "messages": [], "mode": "test", "options": {"currency": + "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, + "status": "unknown", "tracking_code": "9400100207552010708935", "updated_at": + "2024-01-19T21:49:15Z", "batch_id": null, "batch_status": null, "batch_message": + null, "customs_info": null, "from_address": {"id": "adr_956c568cb71411eeb6883cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:49:12+00:00", "updated_at": + "2024-01-19T21:49:12+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": "order_5df737ead783486a82c3a86f7e703294", "parcel": + {"id": "prcl_c14749271c1048de93aae86d29d6b722", "object": "Parcel", "created_at": + "2024-01-19T21:49:12Z", "updated_at": "2024-01-19T21:49:12Z", "length": null, + "width": null, "height": null, "predefined_package": null, "weight": 10.2, + "mode": "test"}, "postage_label": {"object": "PostageLabel", "id": "pl_b864c00bae034856a80fe5226a1fd8ae", + "created_at": "2024-01-19T21:49:13Z", "updated_at": "2024-01-19T21:49:15Z", + "date_advance": 0, "integrated_form": "none", "label_date": "2024-01-19T21:49:13Z", + "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": + "image/png", "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8bb4b250e1c9a41718a5133d0aca59475.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_e2c5db5fc379488ca331d84f0ca05fd4", "object": + "Rate", "created_at": "2024-01-19T21:49:13Z", "updated_at": "2024-01-19T21:49:13Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "31.25", + "currency": "USD", "retail_rate": "35.80", "retail_currency": "USD", "list_rate": + "31.25", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_195c3aeb2f404a62bcba531148dc809d", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_69b201f5050f4605b3d7e4db164dee62", + "object": "Rate", "created_at": "2024-01-19T21:49:13Z", "updated_at": "2024-01-19T21:49:13Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", + "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": + "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_195c3aeb2f404a62bcba531148dc809d", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_8a44859bd381401b80e016d96bddbf26", + "object": "Rate", "created_at": "2024-01-19T21:49:13Z", "updated_at": "2024-01-19T21:49:13Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", + "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": + "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_195c3aeb2f404a62bcba531148dc809d", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_0043b24e79784276aa96d2ea8b56f64d", + "object": "Rate", "created_at": "2024-01-19T21:49:13Z", "updated_at": "2024-01-19T21:49:13Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_195c3aeb2f404a62bcba531148dc809d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_03ae235ec63a4ea5b9fb6c17a322b609", "object": "Rate", "created_at": + "2024-01-19T21:49:13Z", "updated_at": "2024-01-19T21:49:13Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_195c3aeb2f404a62bcba531148dc809d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_0043b24e79784276aa96d2ea8b56f64d", + "object": "Rate", "created_at": "2024-01-19T21:49:13Z", "updated_at": "2024-01-19T21:49:13Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_195c3aeb2f404a62bcba531148dc809d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + "tracker": {"id": "trk_9c4f4b2ed904405fa64d7f384567f196", "object": "Tracker", + "mode": "test", "tracking_code": "9400100207552010708935", "status": "unknown", + "status_detail": "unknown", "created_at": "2024-01-19T21:49:15Z", "updated_at": + "2024-01-19T21:49:15Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_195c3aeb2f404a62bcba531148dc809d", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzljNGY0YjJlZDkwNDQwNWZhNjRkN2YzODQ1NjdmMTk2"}, + "to_address": {"id": "adr_956a9a08b71411ee87faac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T21:49:12+00:00", "updated_at": "2024-01-19T21:49:13+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_956c568cb71411eeb6883cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:49:12+00:00", "updated_at": + "2024-01-19T21:49:12+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_956a9a08b71411ee87faac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:49:12+00:00", "updated_at": "2024-01-19T21:49:13+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "4.81000", "charged": true, "refunded": false}], "id": "shp_195c3aeb2f404a62bcba531148dc809d", + "object": "Shipment"}], "rates": [{"id": "rate_e2c5db5fc379488ca331d84f0ca05fd4", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", + "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_195c3aeb2f404a62bcba531148dc809d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_69b201f5050f4605b3d7e4db164dee62", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "Priority", "carrier": + "USPS", "rate": "6.95", "currency": "USD", "retail_rate": "10.20", "retail_currency": + "USD", "list_rate": "8.24", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 2, "shipment_id": "shp_195c3aeb2f404a62bcba531148dc809d", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_8a44859bd381401b80e016d96bddbf26", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_195c3aeb2f404a62bcba531148dc809d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_0043b24e79784276aa96d2ea8b56f64d", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "First", "carrier": "USPS", + "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_195c3aeb2f404a62bcba531148dc809d", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_03ae235ec63a4ea5b9fb6c17a322b609", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_195c3aeb2f404a62bcba531148dc809d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "id": "order_5df737ead783486a82c3a86f7e703294", "object": "Order"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '12715' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/orders/order_5df737ead783486a82c3a86f7e703294 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdad65aaee58e78bb4b000117194 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '2.929349' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"order": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 N + Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "shipments": [{"parcel": {"weight": + "10.2"}}], "carrier": "USPS", "service": "First", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '591' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/orders + response: + body: + string: '{"messages": [], "mode": "test", "reference": "", "is_return": false, + "options": {"currency": "USD", "payment": {"type": "SENDER"}}, "created_at": + "2024-01-19T21:58:33Z", "updated_at": "2024-01-19T21:58:33Z", "customs_info": + null, "from_address": {"id": "adr_e3c0824cb71511eea6403cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:58:33+00:00", "updated_at": "2024-01-19T21:58:33+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "to_address": {"id": "adr_e3beb71db71511eeaa38ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:58:33+00:00", "updated_at": + "2024-01-19T21:58:34+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": + "179 N HARBOR DR", "street2": "", "city": "REDONDO BEACH", "state": "CA", + "zip": "90277-2506", "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "buyer_address": {"id": "adr_e3beb71db71511eeaa38ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:58:33+00:00", "updated_at": "2024-01-19T21:58:34+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "return_address": {"id": "adr_e3c0824cb71511eea6403cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:58:33+00:00", "updated_at": "2024-01-19T21:58:33+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T21:58:33Z", + "is_return": false, "messages": [], "mode": "test", "options": {"currency": + "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, + "status": "unknown", "tracking_code": "9400100207552010711430", "updated_at": + "2024-01-19T21:58:34Z", "batch_id": null, "batch_status": null, "batch_message": + null, "customs_info": null, "from_address": {"id": "adr_e3c0824cb71511eea6403cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:58:33+00:00", "updated_at": + "2024-01-19T21:58:33+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": "order_d5d6acd940224936a65b4ba0f6fc38bd", "parcel": + {"id": "prcl_b0dc0d96cc3e4c1caa9da3e60d500eba", "object": "Parcel", "created_at": + "2024-01-19T21:58:33Z", "updated_at": "2024-01-19T21:58:33Z", "length": null, + "width": null, "height": null, "predefined_package": null, "weight": 10.2, + "mode": "test"}, "postage_label": {"object": "PostageLabel", "id": "pl_2f0f75b9fde64ac48a6149cde9be4f9e", + "created_at": "2024-01-19T21:58:34Z", "updated_at": "2024-01-19T21:58:34Z", + "date_advance": 0, "integrated_form": "none", "label_date": "2024-01-19T21:58:34Z", + "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": + "image/png", "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e854b61aa3699d48a5a6cd529d037ef43c.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_2939e250b0054cdca164f7fa19ff40b6", "object": + "Rate", "created_at": "2024-01-19T21:58:33Z", "updated_at": "2024-01-19T21:58:33Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", + "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": + "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_6fd6121d927940a3bde5dfbc8aefca6c", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_ed9895617f354f0fa9deb07348cda299", + "object": "Rate", "created_at": "2024-01-19T21:58:33Z", "updated_at": "2024-01-19T21:58:33Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_6fd6121d927940a3bde5dfbc8aefca6c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_2ba7740542ed429aa263ffc5e3f1af6f", "object": "Rate", "created_at": + "2024-01-19T21:58:33Z", "updated_at": "2024-01-19T21:58:33Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_6fd6121d927940a3bde5dfbc8aefca6c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_7185ac0f7ecb4d2fa1bd51ea97109838", "object": "Rate", "created_at": + "2024-01-19T21:58:33Z", "updated_at": "2024-01-19T21:58:33Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", + "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_6fd6121d927940a3bde5dfbc8aefca6c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_f6abd53e5cf94c19bb21421d80774475", "object": "Rate", "created_at": + "2024-01-19T21:58:33Z", "updated_at": "2024-01-19T21:58:33Z", "mode": "test", + "service": "Priority", "carrier": "USPS", "rate": "6.95", "currency": "USD", + "retail_rate": "10.20", "retail_currency": "USD", "list_rate": "8.24", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": + "shp_6fd6121d927940a3bde5dfbc8aefca6c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_ed9895617f354f0fa9deb07348cda299", + "object": "Rate", "created_at": "2024-01-19T21:58:34Z", "updated_at": "2024-01-19T21:58:34Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_6fd6121d927940a3bde5dfbc8aefca6c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + "tracker": {"id": "trk_d0f88c1029d242f4a1272d0273b766e1", "object": "Tracker", + "mode": "test", "tracking_code": "9400100207552010711430", "status": "unknown", + "status_detail": "unknown", "created_at": "2024-01-19T21:58:34Z", "updated_at": + "2024-01-19T21:58:34Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_6fd6121d927940a3bde5dfbc8aefca6c", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrX2QwZjg4YzEwMjlkMjQyZjRhMTI3MmQwMjczYjc2NmUx"}, + "to_address": {"id": "adr_e3beb71db71511eeaa38ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:58:33+00:00", "updated_at": "2024-01-19T21:58:34+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_e3c0824cb71511eea6403cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:58:33+00:00", "updated_at": + "2024-01-19T21:58:33+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_e3beb71db71511eeaa38ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:58:33+00:00", "updated_at": "2024-01-19T21:58:34+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "4.81000", "charged": true, "refunded": false}], "id": "shp_6fd6121d927940a3bde5dfbc8aefca6c", + "object": "Shipment"}], "rates": [{"id": "rate_2939e250b0054cdca164f7fa19ff40b6", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_6fd6121d927940a3bde5dfbc8aefca6c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_ed9895617f354f0fa9deb07348cda299", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "First", "carrier": "USPS", + "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_6fd6121d927940a3bde5dfbc8aefca6c", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_2ba7740542ed429aa263ffc5e3f1af6f", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_6fd6121d927940a3bde5dfbc8aefca6c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_7185ac0f7ecb4d2fa1bd51ea97109838", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "Express", "carrier": + "USPS", "rate": "31.25", "currency": "USD", "retail_rate": "35.80", "retail_currency": + "USD", "list_rate": "31.25", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + false, "est_delivery_days": null, "shipment_id": "shp_6fd6121d927940a3bde5dfbc8aefca6c", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f6abd53e5cf94c19bb21421d80774475", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "Priority", "carrier": "USPS", "rate": "6.95", "currency": "USD", + "retail_rate": "10.20", "retail_currency": "USD", "list_rate": "8.24", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": + "shp_6fd6121d927940a3bde5dfbc8aefca6c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "id": "order_d5d6acd940224936a65b4ba0f6fc38bd", "object": "Order"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '12715' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/orders/order_d5d6acd940224936a65b4ba0f6fc38bd + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaf089e798bf57000f7580 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.205888' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"order": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 N + Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "shipments": [{"parcel": {"weight": + "10.2"}}], "carrier": "USPS", "service": "First", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '591' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/orders + response: + body: + string: '{"messages": [], "mode": "test", "reference": "", "is_return": false, + "options": {"currency": "USD", "payment": {"type": "SENDER"}}, "created_at": + "2024-01-19T22:01:28Z", "updated_at": "2024-01-19T22:01:28Z", "customs_info": + null, "from_address": {"id": "adr_4bd0d62db71611ee9990ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T22:01:28+00:00", "updated_at": "2024-01-19T22:01:28+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "to_address": {"id": "adr_4bc5ddd0b71611ee89baac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:01:28+00:00", "updated_at": + "2024-01-19T22:01:28+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": + "179 N HARBOR DR", "street2": "", "city": "REDONDO BEACH", "state": "CA", + "zip": "90277-2506", "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "buyer_address": {"id": "adr_4bc5ddd0b71611ee89baac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T22:01:28+00:00", "updated_at": "2024-01-19T22:01:28+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "return_address": {"id": "adr_4bd0d62db71611ee9990ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T22:01:28+00:00", "updated_at": "2024-01-19T22:01:28+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T22:01:28Z", + "is_return": false, "messages": [], "mode": "test", "options": {"currency": + "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, + "status": "unknown", "tracking_code": "9400100207552010711843", "updated_at": + "2024-01-19T22:01:29Z", "batch_id": null, "batch_status": null, "batch_message": + null, "customs_info": null, "from_address": {"id": "adr_4bd0d62db71611ee9990ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T22:01:28+00:00", "updated_at": + "2024-01-19T22:01:28+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": "order_f0e7f0af52d740488c8a4b62aa2f1bd1", "parcel": + {"id": "prcl_ec995b8d52ec4b79921bbe69950aa504", "object": "Parcel", "created_at": + "2024-01-19T22:01:28Z", "updated_at": "2024-01-19T22:01:28Z", "length": null, + "width": null, "height": null, "predefined_package": null, "weight": 10.2, + "mode": "test"}, "postage_label": {"object": "PostageLabel", "id": "pl_d2b0ed08982346539585d663ecc1ff9a", + "created_at": "2024-01-19T22:01:28Z", "updated_at": "2024-01-19T22:01:29Z", + "date_advance": 0, "integrated_form": "none", "label_date": "2024-01-19T22:01:28Z", + "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": + "image/png", "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8fe370bfa8dfa40d5bbe6d899889c7b47.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_fb37f09c6dc245dab228e01451610a74", "object": + "Rate", "created_at": "2024-01-19T22:01:28Z", "updated_at": "2024-01-19T22:01:28Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "31.25", + "currency": "USD", "retail_rate": "35.80", "retail_currency": "USD", "list_rate": + "31.25", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_d39bfb57e2a34b868d9afc688eb33f4b", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_1aa90c18dc074e269c31605043358e67", + "object": "Rate", "created_at": "2024-01-19T22:01:28Z", "updated_at": "2024-01-19T22:01:28Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", + "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": + "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_d39bfb57e2a34b868d9afc688eb33f4b", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_26bcf7dd10e047c682c32f15bdd25cc9", + "object": "Rate", "created_at": "2024-01-19T22:01:28Z", "updated_at": "2024-01-19T22:01:28Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", + "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": + "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_d39bfb57e2a34b868d9afc688eb33f4b", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_7ca5e83243e947c18d66b1c6cf6554ce", + "object": "Rate", "created_at": "2024-01-19T22:01:28Z", "updated_at": "2024-01-19T22:01:28Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_d39bfb57e2a34b868d9afc688eb33f4b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_5317f5e53a8c4c56a0b36e7e6e9f5cb2", "object": "Rate", "created_at": + "2024-01-19T22:01:28Z", "updated_at": "2024-01-19T22:01:28Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_d39bfb57e2a34b868d9afc688eb33f4b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_7ca5e83243e947c18d66b1c6cf6554ce", + "object": "Rate", "created_at": "2024-01-19T22:01:29Z", "updated_at": "2024-01-19T22:01:29Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_d39bfb57e2a34b868d9afc688eb33f4b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + "tracker": {"id": "trk_e24c0025b8914fafb8ce8386401b0a2c", "object": "Tracker", + "mode": "test", "tracking_code": "9400100207552010711843", "status": "unknown", + "status_detail": "unknown", "created_at": "2024-01-19T22:01:29Z", "updated_at": + "2024-01-19T22:01:29Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_d39bfb57e2a34b868d9afc688eb33f4b", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrX2UyNGMwMDI1Yjg5MTRmYWZiOGNlODM4NjQwMWIwYTJj"}, + "to_address": {"id": "adr_4bc5ddd0b71611ee89baac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T22:01:28+00:00", "updated_at": "2024-01-19T22:01:28+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_4bd0d62db71611ee9990ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T22:01:28+00:00", "updated_at": + "2024-01-19T22:01:28+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_4bc5ddd0b71611ee89baac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T22:01:28+00:00", "updated_at": "2024-01-19T22:01:28+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "4.81000", "charged": true, "refunded": false}], "id": "shp_d39bfb57e2a34b868d9afc688eb33f4b", + "object": "Shipment"}], "rates": [{"id": "rate_fb37f09c6dc245dab228e01451610a74", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", + "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_d39bfb57e2a34b868d9afc688eb33f4b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_1aa90c18dc074e269c31605043358e67", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "Priority", "carrier": + "USPS", "rate": "6.95", "currency": "USD", "retail_rate": "10.20", "retail_currency": + "USD", "list_rate": "8.24", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 2, "shipment_id": "shp_d39bfb57e2a34b868d9afc688eb33f4b", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_26bcf7dd10e047c682c32f15bdd25cc9", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_d39bfb57e2a34b868d9afc688eb33f4b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_7ca5e83243e947c18d66b1c6cf6554ce", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "First", "carrier": "USPS", + "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_d39bfb57e2a34b868d9afc688eb33f4b", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_5317f5e53a8c4c56a0b36e7e6e9f5cb2", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_d39bfb57e2a34b868d9afc688eb33f4b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "id": "order_f0e7f0af52d740488c8a4b62aa2f1bd1", "object": "Order"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '12715' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/orders/order_f0e7f0af52d740488c8a4b62aa2f1bd1 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf138e798c4a200100573 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.073007' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"order": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 N + Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "shipments": [{"parcel": {"weight": + "10.2"}}], "carrier": "USPS", "service": "First", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '591' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/orders + response: + body: + string: '{"messages": [], "mode": "test", "reference": "", "is_return": false, + "options": {"currency": "USD", "payment": {"type": "SENDER"}}, "created_at": + "2024-01-19T22:05:14Z", "updated_at": "2024-01-19T22:05:14Z", "customs_info": + null, "from_address": {"id": "adr_d2c19494b71611eeb6acac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T22:05:14+00:00", "updated_at": "2024-01-19T22:05:14+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "to_address": {"id": "adr_d2bfe7ecb71611eeb2363cecef1b359e", + "object": "Address", "created_at": "2024-01-19T22:05:14+00:00", "updated_at": + "2024-01-19T22:05:15+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": + "179 N HARBOR DR", "street2": "", "city": "REDONDO BEACH", "state": "CA", + "zip": "90277-2506", "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "buyer_address": {"id": "adr_d2bfe7ecb71611eeb2363cecef1b359e", "object": + "Address", "created_at": "2024-01-19T22:05:14+00:00", "updated_at": "2024-01-19T22:05:15+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "return_address": {"id": "adr_d2c19494b71611eeb6acac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T22:05:14+00:00", "updated_at": "2024-01-19T22:05:14+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T22:05:14Z", + "is_return": false, "messages": [], "mode": "test", "options": {"currency": + "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, + "status": "unknown", "tracking_code": "9400100207552010712611", "updated_at": + "2024-01-19T22:05:15Z", "batch_id": null, "batch_status": null, "batch_message": + null, "customs_info": null, "from_address": {"id": "adr_d2c19494b71611eeb6acac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T22:05:14+00:00", "updated_at": + "2024-01-19T22:05:14+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": "order_3f9abdc281b240c59a8d1607ae9e9f85", "parcel": + {"id": "prcl_c54f180d719c4ccf8af560cfa2b3f2c2", "object": "Parcel", "created_at": + "2024-01-19T22:05:14Z", "updated_at": "2024-01-19T22:05:14Z", "length": null, + "width": null, "height": null, "predefined_package": null, "weight": 10.2, + "mode": "test"}, "postage_label": {"object": "PostageLabel", "id": "pl_ac8bb4c086b14ac8a8c30d85eba0b49e", + "created_at": "2024-01-19T22:05:15Z", "updated_at": "2024-01-19T22:05:15Z", + "date_advance": 0, "integrated_form": "none", "label_date": "2024-01-19T22:05:15Z", + "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": + "image/png", "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e83533a3fc7432493881ecd95f4d585ca1.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_7c236afdd6384c98bb5cbe69cafe739e", "object": + "Rate", "created_at": "2024-01-19T22:05:14Z", "updated_at": "2024-01-19T22:05:14Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", + "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": + "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_05d8c247054d4ffbbdc375530245ac1c", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_79eefdb098a24c289e86ffb04eb579b3", + "object": "Rate", "created_at": "2024-01-19T22:05:14Z", "updated_at": "2024-01-19T22:05:14Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", + "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": + "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_05d8c247054d4ffbbdc375530245ac1c", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_deae0185bc384e3a85d04e184e027f5f", + "object": "Rate", "created_at": "2024-01-19T22:05:14Z", "updated_at": "2024-01-19T22:05:14Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_05d8c247054d4ffbbdc375530245ac1c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_6f5bfdf6a64f430790e9fcc2e1d08269", "object": "Rate", "created_at": + "2024-01-19T22:05:14Z", "updated_at": "2024-01-19T22:05:14Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_05d8c247054d4ffbbdc375530245ac1c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_189277a61a164cc5b01c71745a2a778f", "object": "Rate", "created_at": + "2024-01-19T22:05:14Z", "updated_at": "2024-01-19T22:05:14Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", + "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_05d8c247054d4ffbbdc375530245ac1c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_deae0185bc384e3a85d04e184e027f5f", + "object": "Rate", "created_at": "2024-01-19T22:05:15Z", "updated_at": "2024-01-19T22:05:15Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_05d8c247054d4ffbbdc375530245ac1c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + "tracker": {"id": "trk_582d4800b86d4fb0b240f794a0d0f56d", "object": "Tracker", + "mode": "test", "tracking_code": "9400100207552010712611", "status": "unknown", + "status_detail": "unknown", "created_at": "2024-01-19T22:05:15Z", "updated_at": + "2024-01-19T22:05:15Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_05d8c247054d4ffbbdc375530245ac1c", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzU4MmQ0ODAwYjg2ZDRmYjBiMjQwZjc5NGEwZDBmNTZk"}, + "to_address": {"id": "adr_d2bfe7ecb71611eeb2363cecef1b359e", "object": "Address", + "created_at": "2024-01-19T22:05:14+00:00", "updated_at": "2024-01-19T22:05:15+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_d2c19494b71611eeb6acac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T22:05:14+00:00", "updated_at": + "2024-01-19T22:05:14+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_d2bfe7ecb71611eeb2363cecef1b359e", "object": + "Address", "created_at": "2024-01-19T22:05:14+00:00", "updated_at": "2024-01-19T22:05:15+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "4.81000", "charged": true, "refunded": false}], "id": "shp_05d8c247054d4ffbbdc375530245ac1c", + "object": "Shipment"}], "rates": [{"id": "rate_7c236afdd6384c98bb5cbe69cafe739e", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "Priority", "carrier": "USPS", "rate": "6.95", "currency": "USD", + "retail_rate": "10.20", "retail_currency": "USD", "list_rate": "8.24", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": + "shp_05d8c247054d4ffbbdc375530245ac1c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_79eefdb098a24c289e86ffb04eb579b3", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "GroundAdvantage", "carrier": + "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_05d8c247054d4ffbbdc375530245ac1c", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_deae0185bc384e3a85d04e184e027f5f", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "First", "carrier": "USPS", "rate": "4.81", "currency": "USD", + "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_05d8c247054d4ffbbdc375530245ac1c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_6f5bfdf6a64f430790e9fcc2e1d08269", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "ParcelSelect", "carrier": + "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_05d8c247054d4ffbbdc375530245ac1c", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_189277a61a164cc5b01c71745a2a778f", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", + "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_05d8c247054d4ffbbdc375530245ac1c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "id": "order_3f9abdc281b240c59a8d1607ae9e9f85", "object": "Order"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '12715' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/orders/order_3f9abdc281b240c59a8d1607ae9e9f85 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaf21ae798d07f0010b17f + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.983597' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_orders_retrieve.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_orders_retrieve.yaml new file mode 100644 index 00000000..a640f383 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_orders_retrieve.yaml @@ -0,0 +1,3510 @@ +interactions: +- request: + body: '{"order": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 N + Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "shipments": [{"parcel": {"weight": + "10.2"}}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '491' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/orders + response: + body: + string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": + "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", + "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", + "message": "Unauthorized. Please check credentials and try again"}, {"carrier": + "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", "type": + "rate_error", "message": "Unauthorized. Please check credentials and try again"}, + {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "created_at": "2024-01-19T21:40:56Z", "updated_at": "2024-01-19T21:40:56Z", + "customs_info": null, "from_address": {"id": "adr_6d758732b71311ee94bf3cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:40:56+00:00", "updated_at": + "2024-01-19T21:40:56+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "to_address": {"id": "adr_6d74014ab71311ee9785ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:40:56+00:00", "updated_at": "2024-01-19T21:40:56+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "buyer_address": {"id": "adr_6d74014ab71311ee9785ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:40:56+00:00", "updated_at": + "2024-01-19T21:40:56+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "return_address": {"id": + "adr_6d758732b71311ee94bf3cecef1b359e", "object": "Address", "created_at": + "2024-01-19T21:40:56+00:00", "updated_at": "2024-01-19T21:40:56+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T21:40:56Z", + "is_return": false, "messages": [{"carrier": "DhlEcs", "carrier_account_id": + "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_b1a0a1bc45844159812e0224d53948ea", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_0d64fd488c1444cf9bc16f858703e28f", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_c3cbbd21bc97400bbbaed6d030909476", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_99007e1aeb66421faf82676f1199481e", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}], "mode": "test", "options": {"currency": + "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, + "status": "unknown", "tracking_code": null, "updated_at": "2024-01-19T21:40:56Z", + "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": + null, "from_address": {"id": "adr_6d758732b71311ee94bf3cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:40:56+00:00", "updated_at": "2024-01-19T21:40:56+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": "order_fcf81fc26e43489899a6112bd0061467", + "parcel": {"id": "prcl_274f07bdf22e4013b41eee914f26e18e", "object": "Parcel", + "created_at": "2024-01-19T21:40:56Z", "updated_at": "2024-01-19T21:40:56Z", + "length": null, "width": null, "height": null, "predefined_package": null, + "weight": 10.2, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_210feb28a8c8473db2399ab959b97f2e", + "object": "Rate", "created_at": "2024-01-19T21:40:56Z", "updated_at": "2024-01-19T21:40:56Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "31.25", + "currency": "USD", "retail_rate": "35.80", "retail_currency": "USD", "list_rate": + "31.25", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_138b2b99e6d74814a2db9ea63727b982", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_247a0fdc8cc1480fb6247339f80c3221", + "object": "Rate", "created_at": "2024-01-19T21:40:56Z", "updated_at": "2024-01-19T21:40:56Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", + "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": + "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_138b2b99e6d74814a2db9ea63727b982", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_df42cf300fa64b5eb3ff715c51bb2083", + "object": "Rate", "created_at": "2024-01-19T21:40:56Z", "updated_at": "2024-01-19T21:40:56Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", + "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": + "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_138b2b99e6d74814a2db9ea63727b982", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_0fee866b3cb1468d9a2624bd83eb1ebb", + "object": "Rate", "created_at": "2024-01-19T21:40:56Z", "updated_at": "2024-01-19T21:40:56Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_138b2b99e6d74814a2db9ea63727b982", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_24fda70f7e1645cc8e18efb7107ba3a4", "object": "Rate", "created_at": + "2024-01-19T21:40:56Z", "updated_at": "2024-01-19T21:40:56Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_138b2b99e6d74814a2db9ea63727b982", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_6d74014ab71311ee9785ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:40:56+00:00", "updated_at": "2024-01-19T21:40:56+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_6d758732b71311ee94bf3cecef1b359e", "object": "Address", "created_at": + "2024-01-19T21:40:56+00:00", "updated_at": "2024-01-19T21:40:56+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_6d74014ab71311ee9785ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:40:56+00:00", "updated_at": + "2024-01-19T21:40:56+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_138b2b99e6d74814a2db9ea63727b982", "object": "Shipment"}], "rates": + [{"id": "rate_210feb28a8c8473db2399ab959b97f2e", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "Express", "carrier": + "USPS", "rate": "31.25", "currency": "USD", "retail_rate": "35.80", "retail_currency": + "USD", "list_rate": "31.25", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + false, "est_delivery_days": null, "shipment_id": "shp_138b2b99e6d74814a2db9ea63727b982", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_247a0fdc8cc1480fb6247339f80c3221", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "Priority", "carrier": "USPS", "rate": "6.95", "currency": "USD", + "retail_rate": "10.20", "retail_currency": "USD", "list_rate": "8.24", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": + "shp_138b2b99e6d74814a2db9ea63727b982", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_df42cf300fa64b5eb3ff715c51bb2083", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "GroundAdvantage", "carrier": + "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_138b2b99e6d74814a2db9ea63727b982", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_0fee866b3cb1468d9a2624bd83eb1ebb", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "First", "carrier": "USPS", "rate": "4.81", "currency": "USD", + "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_138b2b99e6d74814a2db9ea63727b982", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_24fda70f7e1645cc8e18efb7107ba3a4", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "ParcelSelect", "carrier": + "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_138b2b99e6d74814a2db9ea63727b982", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], "id": "order_fcf81fc26e43489899a6112bd0061467", + "object": "Order"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '12214' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/orders/order_fcf81fc26e43489899a6112bd0061467 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaec68e78b9baf000cd8a2 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.642836' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/orders/order_fcf81fc26e43489899a6112bd0061467 + response: + body: + string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": + "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", + "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", + "message": "Unauthorized. Please check credentials and try again"}, {"carrier": + "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", "type": + "rate_error", "message": "Unauthorized. Please check credentials and try again"}, + {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "created_at": "2024-01-19T21:40:56Z", "updated_at": "2024-01-19T21:40:56Z", + "customs_info": null, "from_address": {"id": "adr_6d758732b71311ee94bf3cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:40:56+00:00", "updated_at": + "2024-01-19T21:40:56+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "to_address": {"id": "adr_6d74014ab71311ee9785ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:40:56+00:00", "updated_at": "2024-01-19T21:40:56+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "buyer_address": {"id": "adr_6d74014ab71311ee9785ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:40:56+00:00", "updated_at": + "2024-01-19T21:40:56+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "return_address": {"id": + "adr_6d758732b71311ee94bf3cecef1b359e", "object": "Address", "created_at": + "2024-01-19T21:40:56+00:00", "updated_at": "2024-01-19T21:40:56+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T21:40:56Z", + "is_return": false, "messages": [], "mode": "test", "options": {"currency": + "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, + "status": "unknown", "tracking_code": null, "updated_at": "2024-01-19T21:40:56Z", + "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": + null, "from_address": {"id": "adr_6d758732b71311ee94bf3cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:40:56+00:00", "updated_at": "2024-01-19T21:40:56+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": "order_fcf81fc26e43489899a6112bd0061467", + "parcel": {"id": "prcl_274f07bdf22e4013b41eee914f26e18e", "object": "Parcel", + "created_at": "2024-01-19T21:40:56Z", "updated_at": "2024-01-19T21:40:56Z", + "length": null, "width": null, "height": null, "predefined_package": null, + "weight": 10.2, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_210feb28a8c8473db2399ab959b97f2e", + "object": "Rate", "created_at": "2024-01-19T21:40:56Z", "updated_at": "2024-01-19T21:40:56Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "31.25", + "currency": "USD", "retail_rate": "35.80", "retail_currency": "USD", "list_rate": + "31.25", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_138b2b99e6d74814a2db9ea63727b982", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_247a0fdc8cc1480fb6247339f80c3221", + "object": "Rate", "created_at": "2024-01-19T21:40:56Z", "updated_at": "2024-01-19T21:40:56Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", + "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": + "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_138b2b99e6d74814a2db9ea63727b982", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_df42cf300fa64b5eb3ff715c51bb2083", + "object": "Rate", "created_at": "2024-01-19T21:40:56Z", "updated_at": "2024-01-19T21:40:56Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", + "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": + "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_138b2b99e6d74814a2db9ea63727b982", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_0fee866b3cb1468d9a2624bd83eb1ebb", + "object": "Rate", "created_at": "2024-01-19T21:40:56Z", "updated_at": "2024-01-19T21:40:56Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_138b2b99e6d74814a2db9ea63727b982", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_24fda70f7e1645cc8e18efb7107ba3a4", "object": "Rate", "created_at": + "2024-01-19T21:40:56Z", "updated_at": "2024-01-19T21:40:56Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_138b2b99e6d74814a2db9ea63727b982", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_6d74014ab71311ee9785ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:40:56+00:00", "updated_at": "2024-01-19T21:40:56+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_6d758732b71311ee94bf3cecef1b359e", "object": "Address", "created_at": + "2024-01-19T21:40:56+00:00", "updated_at": "2024-01-19T21:40:56+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_6d74014ab71311ee9785ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:40:56+00:00", "updated_at": + "2024-01-19T21:40:56+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_138b2b99e6d74814a2db9ea63727b982", "object": "Shipment"}], "rates": + [{"id": "rate_210feb28a8c8473db2399ab959b97f2e", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "Express", "carrier": + "USPS", "rate": "31.25", "currency": "USD", "retail_rate": "35.80", "retail_currency": + "USD", "list_rate": "31.25", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + false, "est_delivery_days": null, "shipment_id": "shp_138b2b99e6d74814a2db9ea63727b982", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_247a0fdc8cc1480fb6247339f80c3221", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "Priority", "carrier": "USPS", "rate": "6.95", "currency": "USD", + "retail_rate": "10.20", "retail_currency": "USD", "list_rate": "8.24", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": + "shp_138b2b99e6d74814a2db9ea63727b982", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_df42cf300fa64b5eb3ff715c51bb2083", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "GroundAdvantage", "carrier": + "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_138b2b99e6d74814a2db9ea63727b982", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_0fee866b3cb1468d9a2624bd83eb1ebb", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "First", "carrier": "USPS", "rate": "4.81", "currency": "USD", + "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_138b2b99e6d74814a2db9ea63727b982", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_24fda70f7e1645cc8e18efb7107ba3a4", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "ParcelSelect", "carrier": + "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_138b2b99e6d74814a2db9ea63727b982", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], "id": "order_fcf81fc26e43489899a6112bd0061467", + "object": "Order"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '11225' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaec69e78b9ebe000cd93d + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.096202' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"order": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 N + Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "shipments": [{"parcel": {"weight": + "10.2"}}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '491' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/orders + response: + body: + string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": + "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", + "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", "type": "rate_error", + "message": "Unauthorized. Please check credentials and try again"}, {"carrier": + "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", "type": + "rate_error", "message": "Unauthorized. Please check credentials and try again"}, + {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "created_at": "2024-01-19T21:43:24Z", "updated_at": "2024-01-19T21:43:25Z", + "customs_info": null, "from_address": {"id": "adr_c5f569dbb71311ee8601ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:43:24+00:00", "updated_at": + "2024-01-19T21:43:24+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "to_address": {"id": "adr_c5f3a3abb71311eeb70aac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:43:24+00:00", "updated_at": "2024-01-19T21:43:24+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "buyer_address": {"id": "adr_c5f3a3abb71311eeb70aac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:43:24+00:00", "updated_at": + "2024-01-19T21:43:24+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "return_address": {"id": + "adr_c5f569dbb71311ee8601ac1f6bc539aa", "object": "Address", "created_at": + "2024-01-19T21:43:24+00:00", "updated_at": "2024-01-19T21:43:24+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T21:43:24Z", + "is_return": false, "messages": [{"carrier": "DhlEcs", "carrier_account_id": + "ca_99007e1aeb66421faf82676f1199481e", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_b1a0a1bc45844159812e0224d53948ea", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_0d64fd488c1444cf9bc16f858703e28f", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_c3cbbd21bc97400bbbaed6d030909476", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}], "mode": "test", "options": {"currency": + "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, + "status": "unknown", "tracking_code": null, "updated_at": "2024-01-19T21:43:24Z", + "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": + null, "from_address": {"id": "adr_c5f569dbb71311ee8601ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:43:24+00:00", "updated_at": "2024-01-19T21:43:24+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": "order_e0179237d9a149f1b3194c03999870dc", + "parcel": {"id": "prcl_d0b6912aefbe4864b4a9ffc742780396", "object": "Parcel", + "created_at": "2024-01-19T21:43:24Z", "updated_at": "2024-01-19T21:43:24Z", + "length": null, "width": null, "height": null, "predefined_package": null, + "weight": 10.2, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_c08a540c83304b06ae20c71b318721c8", + "object": "Rate", "created_at": "2024-01-19T21:43:25Z", "updated_at": "2024-01-19T21:43:25Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "31.25", + "currency": "USD", "retail_rate": "35.80", "retail_currency": "USD", "list_rate": + "31.25", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_949965fab4e94686afd91f6739c7782b", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_15834bf14cc3453998a1a2b7dfec7cdb", + "object": "Rate", "created_at": "2024-01-19T21:43:25Z", "updated_at": "2024-01-19T21:43:25Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", + "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": + "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_949965fab4e94686afd91f6739c7782b", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_3e459c89f4b5465f97bfcdce05a824da", + "object": "Rate", "created_at": "2024-01-19T21:43:25Z", "updated_at": "2024-01-19T21:43:25Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", + "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": + "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_949965fab4e94686afd91f6739c7782b", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_44743c17e8964c2cace2f88ec066dd12", + "object": "Rate", "created_at": "2024-01-19T21:43:25Z", "updated_at": "2024-01-19T21:43:25Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_949965fab4e94686afd91f6739c7782b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_adb0c7dfa1d84f48a3ae058ee072a54d", "object": "Rate", "created_at": + "2024-01-19T21:43:25Z", "updated_at": "2024-01-19T21:43:25Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_949965fab4e94686afd91f6739c7782b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_c5f3a3abb71311eeb70aac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:43:24+00:00", "updated_at": "2024-01-19T21:43:24+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_c5f569dbb71311ee8601ac1f6bc539aa", "object": "Address", "created_at": + "2024-01-19T21:43:24+00:00", "updated_at": "2024-01-19T21:43:24+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_c5f3a3abb71311eeb70aac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:43:24+00:00", "updated_at": + "2024-01-19T21:43:24+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_949965fab4e94686afd91f6739c7782b", "object": "Shipment"}], "rates": + [{"id": "rate_c08a540c83304b06ae20c71b318721c8", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "Express", "carrier": + "USPS", "rate": "31.25", "currency": "USD", "retail_rate": "35.80", "retail_currency": + "USD", "list_rate": "31.25", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + false, "est_delivery_days": null, "shipment_id": "shp_949965fab4e94686afd91f6739c7782b", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_15834bf14cc3453998a1a2b7dfec7cdb", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "Priority", "carrier": "USPS", "rate": "6.95", "currency": "USD", + "retail_rate": "10.20", "retail_currency": "USD", "list_rate": "8.24", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": + "shp_949965fab4e94686afd91f6739c7782b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_3e459c89f4b5465f97bfcdce05a824da", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "GroundAdvantage", "carrier": + "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_949965fab4e94686afd91f6739c7782b", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_44743c17e8964c2cace2f88ec066dd12", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "First", "carrier": "USPS", "rate": "4.81", "currency": "USD", + "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_949965fab4e94686afd91f6739c7782b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_adb0c7dfa1d84f48a3ae058ee072a54d", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "ParcelSelect", "carrier": + "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_949965fab4e94686afd91f6739c7782b", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], "id": "order_e0179237d9a149f1b3194c03999870dc", + "object": "Order"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '12214' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/orders/order_e0179237d9a149f1b3194c03999870dc + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaecfce78ba3e8000d363d + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.875921' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/orders/order_e0179237d9a149f1b3194c03999870dc + response: + body: + string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": + "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", + "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", "type": "rate_error", + "message": "Unauthorized. Please check credentials and try again"}, {"carrier": + "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", "type": + "rate_error", "message": "Unauthorized. Please check credentials and try again"}, + {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "created_at": "2024-01-19T21:43:24Z", "updated_at": "2024-01-19T21:43:25Z", + "customs_info": null, "from_address": {"id": "adr_c5f569dbb71311ee8601ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:43:24+00:00", "updated_at": + "2024-01-19T21:43:24+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "to_address": {"id": "adr_c5f3a3abb71311eeb70aac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:43:24+00:00", "updated_at": "2024-01-19T21:43:24+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "buyer_address": {"id": "adr_c5f3a3abb71311eeb70aac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:43:24+00:00", "updated_at": + "2024-01-19T21:43:24+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "return_address": {"id": + "adr_c5f569dbb71311ee8601ac1f6bc539aa", "object": "Address", "created_at": + "2024-01-19T21:43:24+00:00", "updated_at": "2024-01-19T21:43:24+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T21:43:24Z", + "is_return": false, "messages": [], "mode": "test", "options": {"currency": + "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, + "status": "unknown", "tracking_code": null, "updated_at": "2024-01-19T21:43:24Z", + "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": + null, "from_address": {"id": "adr_c5f569dbb71311ee8601ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:43:24+00:00", "updated_at": "2024-01-19T21:43:24+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": "order_e0179237d9a149f1b3194c03999870dc", + "parcel": {"id": "prcl_d0b6912aefbe4864b4a9ffc742780396", "object": "Parcel", + "created_at": "2024-01-19T21:43:24Z", "updated_at": "2024-01-19T21:43:24Z", + "length": null, "width": null, "height": null, "predefined_package": null, + "weight": 10.2, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_c08a540c83304b06ae20c71b318721c8", + "object": "Rate", "created_at": "2024-01-19T21:43:25Z", "updated_at": "2024-01-19T21:43:25Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "31.25", + "currency": "USD", "retail_rate": "35.80", "retail_currency": "USD", "list_rate": + "31.25", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_949965fab4e94686afd91f6739c7782b", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_15834bf14cc3453998a1a2b7dfec7cdb", + "object": "Rate", "created_at": "2024-01-19T21:43:25Z", "updated_at": "2024-01-19T21:43:25Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", + "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": + "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_949965fab4e94686afd91f6739c7782b", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_3e459c89f4b5465f97bfcdce05a824da", + "object": "Rate", "created_at": "2024-01-19T21:43:25Z", "updated_at": "2024-01-19T21:43:25Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", + "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": + "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_949965fab4e94686afd91f6739c7782b", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_44743c17e8964c2cace2f88ec066dd12", + "object": "Rate", "created_at": "2024-01-19T21:43:25Z", "updated_at": "2024-01-19T21:43:25Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_949965fab4e94686afd91f6739c7782b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_adb0c7dfa1d84f48a3ae058ee072a54d", "object": "Rate", "created_at": + "2024-01-19T21:43:25Z", "updated_at": "2024-01-19T21:43:25Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_949965fab4e94686afd91f6739c7782b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_c5f3a3abb71311eeb70aac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:43:24+00:00", "updated_at": "2024-01-19T21:43:24+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_c5f569dbb71311ee8601ac1f6bc539aa", "object": "Address", "created_at": + "2024-01-19T21:43:24+00:00", "updated_at": "2024-01-19T21:43:24+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_c5f3a3abb71311eeb70aac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:43:24+00:00", "updated_at": + "2024-01-19T21:43:24+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_949965fab4e94686afd91f6739c7782b", "object": "Shipment"}], "rates": + [{"id": "rate_c08a540c83304b06ae20c71b318721c8", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "Express", "carrier": + "USPS", "rate": "31.25", "currency": "USD", "retail_rate": "35.80", "retail_currency": + "USD", "list_rate": "31.25", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + false, "est_delivery_days": null, "shipment_id": "shp_949965fab4e94686afd91f6739c7782b", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_15834bf14cc3453998a1a2b7dfec7cdb", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "Priority", "carrier": "USPS", "rate": "6.95", "currency": "USD", + "retail_rate": "10.20", "retail_currency": "USD", "list_rate": "8.24", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": + "shp_949965fab4e94686afd91f6739c7782b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_3e459c89f4b5465f97bfcdce05a824da", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "GroundAdvantage", "carrier": + "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_949965fab4e94686afd91f6739c7782b", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_44743c17e8964c2cace2f88ec066dd12", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "First", "carrier": "USPS", "rate": "4.81", "currency": "USD", + "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_949965fab4e94686afd91f6739c7782b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_adb0c7dfa1d84f48a3ae058ee072a54d", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "ParcelSelect", "carrier": + "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_949965fab4e94686afd91f6739c7782b", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], "id": "order_e0179237d9a149f1b3194c03999870dc", + "object": "Order"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '11225' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaecfde78ba3e9000d36e6 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.088717' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"order": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 N + Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "shipments": [{"parcel": {"weight": + "10.2"}}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '491' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/orders + response: + body: + string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": + "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", + "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", + "message": "Unauthorized. Please check credentials and try again"}, {"carrier": + "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", "type": + "rate_error", "message": "Unauthorized. Please check credentials and try again"}, + {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "created_at": "2024-01-19T21:47:16Z", "updated_at": "2024-01-19T21:47:17Z", + "customs_info": null, "from_address": {"id": "adr_502740d9b71411eea30fac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:47:16+00:00", "updated_at": + "2024-01-19T21:47:16+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "to_address": {"id": "adr_5025db83b71411eea3f6ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:47:16+00:00", "updated_at": "2024-01-19T21:47:16+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "buyer_address": {"id": "adr_5025db83b71411eea3f6ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:47:16+00:00", "updated_at": + "2024-01-19T21:47:16+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "return_address": {"id": + "adr_502740d9b71411eea30fac1f6bc53342", "object": "Address", "created_at": + "2024-01-19T21:47:16+00:00", "updated_at": "2024-01-19T21:47:16+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T21:47:16Z", + "is_return": false, "messages": [{"carrier": "DhlEcs", "carrier_account_id": + "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_0d64fd488c1444cf9bc16f858703e28f", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_99007e1aeb66421faf82676f1199481e", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_b1a0a1bc45844159812e0224d53948ea", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_c3cbbd21bc97400bbbaed6d030909476", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}], "mode": "test", "options": {"currency": + "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, + "status": "unknown", "tracking_code": null, "updated_at": "2024-01-19T21:47:16Z", + "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": + null, "from_address": {"id": "adr_502740d9b71411eea30fac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:47:16+00:00", "updated_at": "2024-01-19T21:47:16+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": "order_4b7750389f1a4eb3896a5a1fcff3d03a", + "parcel": {"id": "prcl_c92fe840c52b489089de6a40a347e538", "object": "Parcel", + "created_at": "2024-01-19T21:47:16Z", "updated_at": "2024-01-19T21:47:16Z", + "length": null, "width": null, "height": null, "predefined_package": null, + "weight": 10.2, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_976c3930ee5f48c98ba6c0f7d28a2e9e", + "object": "Rate", "created_at": "2024-01-19T21:47:17Z", "updated_at": "2024-01-19T21:47:17Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", + "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": + "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_a22877bb1ad44d28b3d3b0688975a32c", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_577f059682da4aa4854a38fd3091ee13", + "object": "Rate", "created_at": "2024-01-19T21:47:17Z", "updated_at": "2024-01-19T21:47:17Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", + "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": + "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_a22877bb1ad44d28b3d3b0688975a32c", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_5fc32894fb20408f934c7b7d0d0fd112", + "object": "Rate", "created_at": "2024-01-19T21:47:17Z", "updated_at": "2024-01-19T21:47:17Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_a22877bb1ad44d28b3d3b0688975a32c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_6fc1034228bd47f0a411b5135468e3e0", "object": "Rate", "created_at": + "2024-01-19T21:47:17Z", "updated_at": "2024-01-19T21:47:17Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_a22877bb1ad44d28b3d3b0688975a32c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_3dc18195b48a4d07b331094323bfa823", "object": "Rate", "created_at": + "2024-01-19T21:47:17Z", "updated_at": "2024-01-19T21:47:17Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", + "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_a22877bb1ad44d28b3d3b0688975a32c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_5025db83b71411eea3f6ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:47:16+00:00", "updated_at": "2024-01-19T21:47:16+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_502740d9b71411eea30fac1f6bc53342", "object": "Address", "created_at": + "2024-01-19T21:47:16+00:00", "updated_at": "2024-01-19T21:47:16+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_5025db83b71411eea3f6ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:47:16+00:00", "updated_at": + "2024-01-19T21:47:16+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_a22877bb1ad44d28b3d3b0688975a32c", "object": "Shipment"}], "rates": + [{"id": "rate_976c3930ee5f48c98ba6c0f7d28a2e9e", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "Priority", "carrier": + "USPS", "rate": "6.95", "currency": "USD", "retail_rate": "10.20", "retail_currency": + "USD", "list_rate": "8.24", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 2, "shipment_id": "shp_a22877bb1ad44d28b3d3b0688975a32c", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_577f059682da4aa4854a38fd3091ee13", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_a22877bb1ad44d28b3d3b0688975a32c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_5fc32894fb20408f934c7b7d0d0fd112", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "First", "carrier": "USPS", + "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_a22877bb1ad44d28b3d3b0688975a32c", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_6fc1034228bd47f0a411b5135468e3e0", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_a22877bb1ad44d28b3d3b0688975a32c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_3dc18195b48a4d07b331094323bfa823", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "Express", "carrier": + "USPS", "rate": "31.25", "currency": "USD", "retail_rate": "35.80", "retail_currency": + "USD", "list_rate": "31.25", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + false, "est_delivery_days": null, "shipment_id": "shp_a22877bb1ad44d28b3d3b0688975a32c", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], "id": "order_4b7750389f1a4eb3896a5a1fcff3d03a", + "object": "Order"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '12214' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/orders/order_4b7750389f1a4eb3896a5a1fcff3d03a + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda765aaede4e78bac8900112bb4 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.658749' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/orders/order_4b7750389f1a4eb3896a5a1fcff3d03a + response: + body: + string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": + "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", + "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", + "message": "Unauthorized. Please check credentials and try again"}, {"carrier": + "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", "type": + "rate_error", "message": "Unauthorized. Please check credentials and try again"}, + {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "created_at": "2024-01-19T21:47:16Z", "updated_at": "2024-01-19T21:47:17Z", + "customs_info": null, "from_address": {"id": "adr_502740d9b71411eea30fac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:47:16+00:00", "updated_at": + "2024-01-19T21:47:16+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "to_address": {"id": "adr_5025db83b71411eea3f6ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:47:16+00:00", "updated_at": "2024-01-19T21:47:16+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "buyer_address": {"id": "adr_5025db83b71411eea3f6ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:47:16+00:00", "updated_at": + "2024-01-19T21:47:16+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "return_address": {"id": + "adr_502740d9b71411eea30fac1f6bc53342", "object": "Address", "created_at": + "2024-01-19T21:47:16+00:00", "updated_at": "2024-01-19T21:47:16+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T21:47:16Z", + "is_return": false, "messages": [], "mode": "test", "options": {"currency": + "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, + "status": "unknown", "tracking_code": null, "updated_at": "2024-01-19T21:47:16Z", + "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": + null, "from_address": {"id": "adr_502740d9b71411eea30fac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:47:16+00:00", "updated_at": "2024-01-19T21:47:16+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": "order_4b7750389f1a4eb3896a5a1fcff3d03a", + "parcel": {"id": "prcl_c92fe840c52b489089de6a40a347e538", "object": "Parcel", + "created_at": "2024-01-19T21:47:16Z", "updated_at": "2024-01-19T21:47:16Z", + "length": null, "width": null, "height": null, "predefined_package": null, + "weight": 10.2, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_976c3930ee5f48c98ba6c0f7d28a2e9e", + "object": "Rate", "created_at": "2024-01-19T21:47:17Z", "updated_at": "2024-01-19T21:47:17Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", + "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": + "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_a22877bb1ad44d28b3d3b0688975a32c", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_577f059682da4aa4854a38fd3091ee13", + "object": "Rate", "created_at": "2024-01-19T21:47:17Z", "updated_at": "2024-01-19T21:47:17Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", + "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": + "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_a22877bb1ad44d28b3d3b0688975a32c", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_5fc32894fb20408f934c7b7d0d0fd112", + "object": "Rate", "created_at": "2024-01-19T21:47:17Z", "updated_at": "2024-01-19T21:47:17Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_a22877bb1ad44d28b3d3b0688975a32c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_6fc1034228bd47f0a411b5135468e3e0", "object": "Rate", "created_at": + "2024-01-19T21:47:17Z", "updated_at": "2024-01-19T21:47:17Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_a22877bb1ad44d28b3d3b0688975a32c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_3dc18195b48a4d07b331094323bfa823", "object": "Rate", "created_at": + "2024-01-19T21:47:17Z", "updated_at": "2024-01-19T21:47:17Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", + "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_a22877bb1ad44d28b3d3b0688975a32c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_5025db83b71411eea3f6ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:47:16+00:00", "updated_at": "2024-01-19T21:47:16+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_502740d9b71411eea30fac1f6bc53342", "object": "Address", "created_at": + "2024-01-19T21:47:16+00:00", "updated_at": "2024-01-19T21:47:16+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_5025db83b71411eea3f6ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:47:16+00:00", "updated_at": + "2024-01-19T21:47:16+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_a22877bb1ad44d28b3d3b0688975a32c", "object": "Shipment"}], "rates": + [{"id": "rate_976c3930ee5f48c98ba6c0f7d28a2e9e", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "Priority", "carrier": + "USPS", "rate": "6.95", "currency": "USD", "retail_rate": "10.20", "retail_currency": + "USD", "list_rate": "8.24", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 2, "shipment_id": "shp_a22877bb1ad44d28b3d3b0688975a32c", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_577f059682da4aa4854a38fd3091ee13", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_a22877bb1ad44d28b3d3b0688975a32c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_5fc32894fb20408f934c7b7d0d0fd112", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "First", "carrier": "USPS", + "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_a22877bb1ad44d28b3d3b0688975a32c", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_6fc1034228bd47f0a411b5135468e3e0", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_a22877bb1ad44d28b3d3b0688975a32c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_3dc18195b48a4d07b331094323bfa823", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "Express", "carrier": + "USPS", "rate": "31.25", "currency": "USD", "retail_rate": "35.80", "retail_currency": + "USD", "list_rate": "31.25", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + false, "est_delivery_days": null, "shipment_id": "shp_a22877bb1ad44d28b3d3b0688975a32c", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], "id": "order_4b7750389f1a4eb3896a5a1fcff3d03a", + "object": "Order"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '11225' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdad65aaede5e78bac8a00112c4c + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.090527' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"order": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 N + Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "shipments": [{"parcel": {"weight": + "10.2"}}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '491' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/orders + response: + body: + string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": + "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", + "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", "type": "rate_error", + "message": "Unauthorized. Please check credentials and try again"}, {"carrier": + "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", "type": + "rate_error", "message": "Unauthorized. Please check credentials and try again"}, + {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "created_at": "2024-01-19T21:49:08Z", "updated_at": "2024-01-19T21:49:09Z", + "customs_info": null, "from_address": {"id": "adr_92d7e651b71411eeb5b63cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:49:08+00:00", "updated_at": + "2024-01-19T21:49:08+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "to_address": {"id": "adr_92d63ed6b71411ee8736ac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T21:49:08+00:00", "updated_at": "2024-01-19T21:49:08+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "buyer_address": {"id": "adr_92d63ed6b71411ee8736ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:49:08+00:00", "updated_at": + "2024-01-19T21:49:08+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "return_address": {"id": + "adr_92d7e651b71411eeb5b63cecef1b359e", "object": "Address", "created_at": + "2024-01-19T21:49:08+00:00", "updated_at": "2024-01-19T21:49:08+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T21:49:08Z", + "is_return": false, "messages": [{"carrier": "DhlEcs", "carrier_account_id": + "ca_0d64fd488c1444cf9bc16f858703e28f", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_c3cbbd21bc97400bbbaed6d030909476", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_99007e1aeb66421faf82676f1199481e", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_b1a0a1bc45844159812e0224d53948ea", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}], "mode": "test", "options": {"currency": + "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, + "status": "unknown", "tracking_code": null, "updated_at": "2024-01-19T21:49:08Z", + "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": + null, "from_address": {"id": "adr_92d7e651b71411eeb5b63cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:49:08+00:00", "updated_at": "2024-01-19T21:49:08+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": "order_5a6e332ef01d42d5bd54c7204d980b6a", + "parcel": {"id": "prcl_071f9622bc964d5fb53f123967e4e189", "object": "Parcel", + "created_at": "2024-01-19T21:49:08Z", "updated_at": "2024-01-19T21:49:08Z", + "length": null, "width": null, "height": null, "predefined_package": null, + "weight": 10.2, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_33fd1a804ba248979388c4ca3932bbb1", + "object": "Rate", "created_at": "2024-01-19T21:49:09Z", "updated_at": "2024-01-19T21:49:09Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", + "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": + "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_c362da5f8d8b4453bae192bc5815fa3d", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f4da3c6dee38483bac55e35d4396537f", + "object": "Rate", "created_at": "2024-01-19T21:49:09Z", "updated_at": "2024-01-19T21:49:09Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", + "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": + "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_c362da5f8d8b4453bae192bc5815fa3d", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_115121042daf4796804e9c124151d963", + "object": "Rate", "created_at": "2024-01-19T21:49:09Z", "updated_at": "2024-01-19T21:49:09Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_c362da5f8d8b4453bae192bc5815fa3d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_fa459f22005345e2876d3143ccdd9289", "object": "Rate", "created_at": + "2024-01-19T21:49:09Z", "updated_at": "2024-01-19T21:49:09Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_c362da5f8d8b4453bae192bc5815fa3d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_aaf59bdf20b34636a662014e6f791549", "object": "Rate", "created_at": + "2024-01-19T21:49:09Z", "updated_at": "2024-01-19T21:49:09Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", + "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_c362da5f8d8b4453bae192bc5815fa3d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_92d63ed6b71411ee8736ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:49:08+00:00", "updated_at": "2024-01-19T21:49:08+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_92d7e651b71411eeb5b63cecef1b359e", "object": "Address", "created_at": + "2024-01-19T21:49:08+00:00", "updated_at": "2024-01-19T21:49:08+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_92d63ed6b71411ee8736ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:49:08+00:00", "updated_at": + "2024-01-19T21:49:08+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_c362da5f8d8b4453bae192bc5815fa3d", "object": "Shipment"}], "rates": + [{"id": "rate_33fd1a804ba248979388c4ca3932bbb1", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "Priority", "carrier": + "USPS", "rate": "6.95", "currency": "USD", "retail_rate": "10.20", "retail_currency": + "USD", "list_rate": "8.24", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 2, "shipment_id": "shp_c362da5f8d8b4453bae192bc5815fa3d", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f4da3c6dee38483bac55e35d4396537f", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_c362da5f8d8b4453bae192bc5815fa3d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_115121042daf4796804e9c124151d963", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "First", "carrier": "USPS", + "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_c362da5f8d8b4453bae192bc5815fa3d", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_fa459f22005345e2876d3143ccdd9289", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_c362da5f8d8b4453bae192bc5815fa3d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_aaf59bdf20b34636a662014e6f791549", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "Express", "carrier": + "USPS", "rate": "31.25", "currency": "USD", "retail_rate": "35.80", "retail_currency": + "USD", "list_rate": "31.25", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + false, "est_delivery_days": null, "shipment_id": "shp_c362da5f8d8b4453bae192bc5815fa3d", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], "id": "order_5a6e332ef01d42d5bd54c7204d980b6a", + "object": "Order"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '12214' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/orders/order_5a6e332ef01d42d5bd54c7204d980b6a + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdad65aaee54e78bb4ac00116ef3 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '1.046006' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/orders/order_5a6e332ef01d42d5bd54c7204d980b6a + response: + body: + string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": + "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", + "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", "type": "rate_error", + "message": "Unauthorized. Please check credentials and try again"}, {"carrier": + "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", "type": + "rate_error", "message": "Unauthorized. Please check credentials and try again"}, + {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "created_at": "2024-01-19T21:49:08Z", "updated_at": "2024-01-19T21:49:09Z", + "customs_info": null, "from_address": {"id": "adr_92d7e651b71411eeb5b63cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:49:08+00:00", "updated_at": + "2024-01-19T21:49:08+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "to_address": {"id": "adr_92d63ed6b71411ee8736ac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T21:49:08+00:00", "updated_at": "2024-01-19T21:49:08+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "buyer_address": {"id": "adr_92d63ed6b71411ee8736ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:49:08+00:00", "updated_at": + "2024-01-19T21:49:08+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "return_address": {"id": + "adr_92d7e651b71411eeb5b63cecef1b359e", "object": "Address", "created_at": + "2024-01-19T21:49:08+00:00", "updated_at": "2024-01-19T21:49:08+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T21:49:08Z", + "is_return": false, "messages": [], "mode": "test", "options": {"currency": + "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, + "status": "unknown", "tracking_code": null, "updated_at": "2024-01-19T21:49:08Z", + "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": + null, "from_address": {"id": "adr_92d7e651b71411eeb5b63cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:49:08+00:00", "updated_at": "2024-01-19T21:49:08+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": "order_5a6e332ef01d42d5bd54c7204d980b6a", + "parcel": {"id": "prcl_071f9622bc964d5fb53f123967e4e189", "object": "Parcel", + "created_at": "2024-01-19T21:49:08Z", "updated_at": "2024-01-19T21:49:08Z", + "length": null, "width": null, "height": null, "predefined_package": null, + "weight": 10.2, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_33fd1a804ba248979388c4ca3932bbb1", + "object": "Rate", "created_at": "2024-01-19T21:49:09Z", "updated_at": "2024-01-19T21:49:09Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", + "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": + "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_c362da5f8d8b4453bae192bc5815fa3d", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f4da3c6dee38483bac55e35d4396537f", + "object": "Rate", "created_at": "2024-01-19T21:49:09Z", "updated_at": "2024-01-19T21:49:09Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", + "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": + "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_c362da5f8d8b4453bae192bc5815fa3d", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_115121042daf4796804e9c124151d963", + "object": "Rate", "created_at": "2024-01-19T21:49:09Z", "updated_at": "2024-01-19T21:49:09Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_c362da5f8d8b4453bae192bc5815fa3d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_fa459f22005345e2876d3143ccdd9289", "object": "Rate", "created_at": + "2024-01-19T21:49:09Z", "updated_at": "2024-01-19T21:49:09Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_c362da5f8d8b4453bae192bc5815fa3d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_aaf59bdf20b34636a662014e6f791549", "object": "Rate", "created_at": + "2024-01-19T21:49:09Z", "updated_at": "2024-01-19T21:49:09Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", + "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_c362da5f8d8b4453bae192bc5815fa3d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_92d63ed6b71411ee8736ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:49:08+00:00", "updated_at": "2024-01-19T21:49:08+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_92d7e651b71411eeb5b63cecef1b359e", "object": "Address", "created_at": + "2024-01-19T21:49:08+00:00", "updated_at": "2024-01-19T21:49:08+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_92d63ed6b71411ee8736ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:49:08+00:00", "updated_at": + "2024-01-19T21:49:08+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_c362da5f8d8b4453bae192bc5815fa3d", "object": "Shipment"}], "rates": + [{"id": "rate_33fd1a804ba248979388c4ca3932bbb1", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "Priority", "carrier": + "USPS", "rate": "6.95", "currency": "USD", "retail_rate": "10.20", "retail_currency": + "USD", "list_rate": "8.24", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 2, "shipment_id": "shp_c362da5f8d8b4453bae192bc5815fa3d", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f4da3c6dee38483bac55e35d4396537f", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_c362da5f8d8b4453bae192bc5815fa3d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_115121042daf4796804e9c124151d963", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "First", "carrier": "USPS", + "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_c362da5f8d8b4453bae192bc5815fa3d", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_fa459f22005345e2876d3143ccdd9289", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_c362da5f8d8b4453bae192bc5815fa3d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_aaf59bdf20b34636a662014e6f791549", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "Express", "carrier": + "USPS", "rate": "31.25", "currency": "USD", "retail_rate": "35.80", "retail_currency": + "USD", "list_rate": "31.25", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + false, "est_delivery_days": null, "shipment_id": "shp_c362da5f8d8b4453bae192bc5815fa3d", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], "id": "order_5a6e332ef01d42d5bd54c7204d980b6a", + "object": "Order"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '11225' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdab65aaee55e78bb4ad00116fbd + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.112630' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"order": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 N + Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "shipments": [{"parcel": {"weight": + "10.2"}}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '491' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/orders + response: + body: + string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": + "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", + "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", + "message": "Unauthorized. Please check credentials and try again"}, {"carrier": + "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": + "rate_error", "message": "Unauthorized. Please check credentials and try again"}, + {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "created_at": "2024-01-19T21:58:29Z", "updated_at": "2024-01-19T21:58:30Z", + "customs_info": null, "from_address": {"id": "adr_e15cb99cb71511eea77fac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:58:29+00:00", "updated_at": + "2024-01-19T21:58:29+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "to_address": {"id": "adr_e15744a3b71511eeb808ac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T21:58:29+00:00", "updated_at": "2024-01-19T21:58:29+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "buyer_address": {"id": "adr_e15744a3b71511eeb808ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:58:29+00:00", "updated_at": + "2024-01-19T21:58:29+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "return_address": {"id": + "adr_e15cb99cb71511eea77fac1f6bc53342", "object": "Address", "created_at": + "2024-01-19T21:58:29+00:00", "updated_at": "2024-01-19T21:58:29+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T21:58:29Z", + "is_return": false, "messages": [{"carrier": "DhlEcs", "carrier_account_id": + "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_0d64fd488c1444cf9bc16f858703e28f", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_99007e1aeb66421faf82676f1199481e", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_b1a0a1bc45844159812e0224d53948ea", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_c3cbbd21bc97400bbbaed6d030909476", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}], "mode": "test", "options": {"currency": + "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, + "status": "unknown", "tracking_code": null, "updated_at": "2024-01-19T21:58:29Z", + "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": + null, "from_address": {"id": "adr_e15cb99cb71511eea77fac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:58:29+00:00", "updated_at": "2024-01-19T21:58:29+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": "order_91b2616d2ce84011be15e58cc918e027", + "parcel": {"id": "prcl_9c40febd0ba64d57a114fed5656adb19", "object": "Parcel", + "created_at": "2024-01-19T21:58:29Z", "updated_at": "2024-01-19T21:58:29Z", + "length": null, "width": null, "height": null, "predefined_package": null, + "weight": 10.2, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_facb41993c13427282ffad696561a300", + "object": "Rate", "created_at": "2024-01-19T21:58:30Z", "updated_at": "2024-01-19T21:58:30Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "31.25", + "currency": "USD", "retail_rate": "35.80", "retail_currency": "USD", "list_rate": + "31.25", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_5ee9e08769bc4287ad8e847027288c1d", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_fd2ad00dce454949b8ac890c39f3c4c8", + "object": "Rate", "created_at": "2024-01-19T21:58:30Z", "updated_at": "2024-01-19T21:58:30Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", + "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": + "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_5ee9e08769bc4287ad8e847027288c1d", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_0836fc27debe4a2eacc54249d21e3325", + "object": "Rate", "created_at": "2024-01-19T21:58:30Z", "updated_at": "2024-01-19T21:58:30Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", + "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": + "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_5ee9e08769bc4287ad8e847027288c1d", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_115ff4ec0f5a41019888f2b17745aa44", + "object": "Rate", "created_at": "2024-01-19T21:58:30Z", "updated_at": "2024-01-19T21:58:30Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_5ee9e08769bc4287ad8e847027288c1d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_600f617db6bb402aab6937f775aa6d18", "object": "Rate", "created_at": + "2024-01-19T21:58:30Z", "updated_at": "2024-01-19T21:58:30Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_5ee9e08769bc4287ad8e847027288c1d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_e15744a3b71511eeb808ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:58:29+00:00", "updated_at": "2024-01-19T21:58:29+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_e15cb99cb71511eea77fac1f6bc53342", "object": "Address", "created_at": + "2024-01-19T21:58:29+00:00", "updated_at": "2024-01-19T21:58:29+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_e15744a3b71511eeb808ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:58:29+00:00", "updated_at": + "2024-01-19T21:58:29+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_5ee9e08769bc4287ad8e847027288c1d", "object": "Shipment"}], "rates": + [{"id": "rate_facb41993c13427282ffad696561a300", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "Express", "carrier": + "USPS", "rate": "31.25", "currency": "USD", "retail_rate": "35.80", "retail_currency": + "USD", "list_rate": "31.25", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + false, "est_delivery_days": null, "shipment_id": "shp_5ee9e08769bc4287ad8e847027288c1d", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_fd2ad00dce454949b8ac890c39f3c4c8", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "Priority", "carrier": "USPS", "rate": "6.95", "currency": "USD", + "retail_rate": "10.20", "retail_currency": "USD", "list_rate": "8.24", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": + "shp_5ee9e08769bc4287ad8e847027288c1d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_0836fc27debe4a2eacc54249d21e3325", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "GroundAdvantage", "carrier": + "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_5ee9e08769bc4287ad8e847027288c1d", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_115ff4ec0f5a41019888f2b17745aa44", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "First", "carrier": "USPS", "rate": "4.81", "currency": "USD", + "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_5ee9e08769bc4287ad8e847027288c1d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_600f617db6bb402aab6937f775aa6d18", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "ParcelSelect", "carrier": + "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_5ee9e08769bc4287ad8e847027288c1d", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], "id": "order_91b2616d2ce84011be15e58cc918e027", + "object": "Order"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '12214' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/orders/order_91b2616d2ce84011be15e58cc918e027 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf085e798bc41000f73a7 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.692206' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/orders/order_91b2616d2ce84011be15e58cc918e027 + response: + body: + string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": + "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", + "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", + "message": "Unauthorized. Please check credentials and try again"}, {"carrier": + "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": + "rate_error", "message": "Unauthorized. Please check credentials and try again"}, + {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "created_at": "2024-01-19T21:58:29Z", "updated_at": "2024-01-19T21:58:30Z", + "customs_info": null, "from_address": {"id": "adr_e15cb99cb71511eea77fac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:58:29+00:00", "updated_at": + "2024-01-19T21:58:29+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "to_address": {"id": "adr_e15744a3b71511eeb808ac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T21:58:29+00:00", "updated_at": "2024-01-19T21:58:29+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "buyer_address": {"id": "adr_e15744a3b71511eeb808ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:58:29+00:00", "updated_at": + "2024-01-19T21:58:29+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "return_address": {"id": + "adr_e15cb99cb71511eea77fac1f6bc53342", "object": "Address", "created_at": + "2024-01-19T21:58:29+00:00", "updated_at": "2024-01-19T21:58:29+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T21:58:29Z", + "is_return": false, "messages": [], "mode": "test", "options": {"currency": + "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, + "status": "unknown", "tracking_code": null, "updated_at": "2024-01-19T21:58:29Z", + "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": + null, "from_address": {"id": "adr_e15cb99cb71511eea77fac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:58:29+00:00", "updated_at": "2024-01-19T21:58:29+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": "order_91b2616d2ce84011be15e58cc918e027", + "parcel": {"id": "prcl_9c40febd0ba64d57a114fed5656adb19", "object": "Parcel", + "created_at": "2024-01-19T21:58:29Z", "updated_at": "2024-01-19T21:58:29Z", + "length": null, "width": null, "height": null, "predefined_package": null, + "weight": 10.2, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_facb41993c13427282ffad696561a300", + "object": "Rate", "created_at": "2024-01-19T21:58:30Z", "updated_at": "2024-01-19T21:58:30Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "31.25", + "currency": "USD", "retail_rate": "35.80", "retail_currency": "USD", "list_rate": + "31.25", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_5ee9e08769bc4287ad8e847027288c1d", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_fd2ad00dce454949b8ac890c39f3c4c8", + "object": "Rate", "created_at": "2024-01-19T21:58:30Z", "updated_at": "2024-01-19T21:58:30Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", + "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": + "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_5ee9e08769bc4287ad8e847027288c1d", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_0836fc27debe4a2eacc54249d21e3325", + "object": "Rate", "created_at": "2024-01-19T21:58:30Z", "updated_at": "2024-01-19T21:58:30Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", + "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": + "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_5ee9e08769bc4287ad8e847027288c1d", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_115ff4ec0f5a41019888f2b17745aa44", + "object": "Rate", "created_at": "2024-01-19T21:58:30Z", "updated_at": "2024-01-19T21:58:30Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_5ee9e08769bc4287ad8e847027288c1d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_600f617db6bb402aab6937f775aa6d18", "object": "Rate", "created_at": + "2024-01-19T21:58:30Z", "updated_at": "2024-01-19T21:58:30Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_5ee9e08769bc4287ad8e847027288c1d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_e15744a3b71511eeb808ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:58:29+00:00", "updated_at": "2024-01-19T21:58:29+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_e15cb99cb71511eea77fac1f6bc53342", "object": "Address", "created_at": + "2024-01-19T21:58:29+00:00", "updated_at": "2024-01-19T21:58:29+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_e15744a3b71511eeb808ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:58:29+00:00", "updated_at": + "2024-01-19T21:58:29+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_5ee9e08769bc4287ad8e847027288c1d", "object": "Shipment"}], "rates": + [{"id": "rate_facb41993c13427282ffad696561a300", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "Express", "carrier": + "USPS", "rate": "31.25", "currency": "USD", "retail_rate": "35.80", "retail_currency": + "USD", "list_rate": "31.25", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + false, "est_delivery_days": null, "shipment_id": "shp_5ee9e08769bc4287ad8e847027288c1d", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_fd2ad00dce454949b8ac890c39f3c4c8", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "Priority", "carrier": "USPS", "rate": "6.95", "currency": "USD", + "retail_rate": "10.20", "retail_currency": "USD", "list_rate": "8.24", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": + "shp_5ee9e08769bc4287ad8e847027288c1d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_0836fc27debe4a2eacc54249d21e3325", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "GroundAdvantage", "carrier": + "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_5ee9e08769bc4287ad8e847027288c1d", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_115ff4ec0f5a41019888f2b17745aa44", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "First", "carrier": "USPS", "rate": "4.81", "currency": "USD", + "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_5ee9e08769bc4287ad8e847027288c1d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_600f617db6bb402aab6937f775aa6d18", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "ParcelSelect", "carrier": + "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_5ee9e08769bc4287ad8e847027288c1d", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], "id": "order_91b2616d2ce84011be15e58cc918e027", + "object": "Order"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '11225' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf086e798bc42000f7406 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.090495' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"order": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 N + Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "shipments": [{"parcel": {"weight": + "10.2"}}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '491' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/orders + response: + body: + string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": + "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", + "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", "type": "rate_error", + "message": "Unauthorized. Please check credentials and try again"}, {"carrier": + "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", "type": + "rate_error", "message": "Unauthorized. Please check credentials and try again"}, + {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "created_at": "2024-01-19T22:01:24Z", "updated_at": "2024-01-19T22:01:24Z", + "customs_info": null, "from_address": {"id": "adr_4954a6d5b71611ee88e6ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:01:24+00:00", "updated_at": + "2024-01-19T22:01:24+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "to_address": {"id": "adr_495058e2b71611ee88e3ac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T22:01:24+00:00", "updated_at": "2024-01-19T22:01:24+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "buyer_address": {"id": "adr_495058e2b71611ee88e3ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:01:24+00:00", "updated_at": + "2024-01-19T22:01:24+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "return_address": {"id": + "adr_4954a6d5b71611ee88e6ac1f6bc53342", "object": "Address", "created_at": + "2024-01-19T22:01:24+00:00", "updated_at": "2024-01-19T22:01:24+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T22:01:24Z", + "is_return": false, "messages": [{"carrier": "DhlEcs", "carrier_account_id": + "ca_0d64fd488c1444cf9bc16f858703e28f", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_c3cbbd21bc97400bbbaed6d030909476", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_b1a0a1bc45844159812e0224d53948ea", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_99007e1aeb66421faf82676f1199481e", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}], "mode": "test", "options": {"currency": + "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, + "status": "unknown", "tracking_code": null, "updated_at": "2024-01-19T22:01:24Z", + "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": + null, "from_address": {"id": "adr_4954a6d5b71611ee88e6ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T22:01:24+00:00", "updated_at": "2024-01-19T22:01:24+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": "order_f8cada9d567840aa94b6125b31d14709", + "parcel": {"id": "prcl_12e597f959e34134ae344ade340a0822", "object": "Parcel", + "created_at": "2024-01-19T22:01:24Z", "updated_at": "2024-01-19T22:01:24Z", + "length": null, "width": null, "height": null, "predefined_package": null, + "weight": 10.2, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_73dde1abac0845bb939d7ec09c2c4a5e", + "object": "Rate", "created_at": "2024-01-19T22:01:24Z", "updated_at": "2024-01-19T22:01:24Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", + "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": + "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_dd59ad75cc4a4e889bee9d46495fa0bd", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_9fd036851145450da16aebac79b9a269", + "object": "Rate", "created_at": "2024-01-19T22:01:24Z", "updated_at": "2024-01-19T22:01:24Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", + "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": + "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_dd59ad75cc4a4e889bee9d46495fa0bd", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_46e839694ae94cca8dda8d45c651281d", + "object": "Rate", "created_at": "2024-01-19T22:01:24Z", "updated_at": "2024-01-19T22:01:24Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_dd59ad75cc4a4e889bee9d46495fa0bd", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_04c1f65676914ae6817573d1c1fa3bd2", "object": "Rate", "created_at": + "2024-01-19T22:01:24Z", "updated_at": "2024-01-19T22:01:24Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_dd59ad75cc4a4e889bee9d46495fa0bd", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_a65edeb4b53d42ccb7e8e9f757243363", "object": "Rate", "created_at": + "2024-01-19T22:01:24Z", "updated_at": "2024-01-19T22:01:24Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", + "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_dd59ad75cc4a4e889bee9d46495fa0bd", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_495058e2b71611ee88e3ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T22:01:24+00:00", "updated_at": "2024-01-19T22:01:24+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_4954a6d5b71611ee88e6ac1f6bc53342", "object": "Address", "created_at": + "2024-01-19T22:01:24+00:00", "updated_at": "2024-01-19T22:01:24+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_495058e2b71611ee88e3ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:01:24+00:00", "updated_at": + "2024-01-19T22:01:24+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_dd59ad75cc4a4e889bee9d46495fa0bd", "object": "Shipment"}], "rates": + [{"id": "rate_73dde1abac0845bb939d7ec09c2c4a5e", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "Priority", "carrier": + "USPS", "rate": "6.95", "currency": "USD", "retail_rate": "10.20", "retail_currency": + "USD", "list_rate": "8.24", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 2, "shipment_id": "shp_dd59ad75cc4a4e889bee9d46495fa0bd", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_9fd036851145450da16aebac79b9a269", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_dd59ad75cc4a4e889bee9d46495fa0bd", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_46e839694ae94cca8dda8d45c651281d", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "First", "carrier": "USPS", + "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_dd59ad75cc4a4e889bee9d46495fa0bd", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_04c1f65676914ae6817573d1c1fa3bd2", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_dd59ad75cc4a4e889bee9d46495fa0bd", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_a65edeb4b53d42ccb7e8e9f757243363", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "Express", "carrier": + "USPS", "rate": "31.25", "currency": "USD", "retail_rate": "35.80", "retail_currency": + "USD", "list_rate": "31.25", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + false, "est_delivery_days": null, "shipment_id": "shp_dd59ad75cc4a4e889bee9d46495fa0bd", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], "id": "order_f8cada9d567840aa94b6125b31d14709", + "object": "Order"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '12214' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/orders/order_f8cada9d567840aa94b6125b31d14709 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf134e798c49e0010016d + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.750337' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/orders/order_f8cada9d567840aa94b6125b31d14709 + response: + body: + string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": + "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", + "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", "type": "rate_error", + "message": "Unauthorized. Please check credentials and try again"}, {"carrier": + "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", "type": + "rate_error", "message": "Unauthorized. Please check credentials and try again"}, + {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "created_at": "2024-01-19T22:01:24Z", "updated_at": "2024-01-19T22:01:24Z", + "customs_info": null, "from_address": {"id": "adr_4954a6d5b71611ee88e6ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:01:24+00:00", "updated_at": + "2024-01-19T22:01:24+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "to_address": {"id": "adr_495058e2b71611ee88e3ac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T22:01:24+00:00", "updated_at": "2024-01-19T22:01:24+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "buyer_address": {"id": "adr_495058e2b71611ee88e3ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:01:24+00:00", "updated_at": + "2024-01-19T22:01:24+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "return_address": {"id": + "adr_4954a6d5b71611ee88e6ac1f6bc53342", "object": "Address", "created_at": + "2024-01-19T22:01:24+00:00", "updated_at": "2024-01-19T22:01:24+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T22:01:24Z", + "is_return": false, "messages": [], "mode": "test", "options": {"currency": + "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, + "status": "unknown", "tracking_code": null, "updated_at": "2024-01-19T22:01:24Z", + "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": + null, "from_address": {"id": "adr_4954a6d5b71611ee88e6ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T22:01:24+00:00", "updated_at": "2024-01-19T22:01:24+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": "order_f8cada9d567840aa94b6125b31d14709", + "parcel": {"id": "prcl_12e597f959e34134ae344ade340a0822", "object": "Parcel", + "created_at": "2024-01-19T22:01:24Z", "updated_at": "2024-01-19T22:01:24Z", + "length": null, "width": null, "height": null, "predefined_package": null, + "weight": 10.2, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_73dde1abac0845bb939d7ec09c2c4a5e", + "object": "Rate", "created_at": "2024-01-19T22:01:24Z", "updated_at": "2024-01-19T22:01:24Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", + "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": + "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_dd59ad75cc4a4e889bee9d46495fa0bd", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_9fd036851145450da16aebac79b9a269", + "object": "Rate", "created_at": "2024-01-19T22:01:24Z", "updated_at": "2024-01-19T22:01:24Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", + "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": + "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_dd59ad75cc4a4e889bee9d46495fa0bd", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_46e839694ae94cca8dda8d45c651281d", + "object": "Rate", "created_at": "2024-01-19T22:01:24Z", "updated_at": "2024-01-19T22:01:24Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_dd59ad75cc4a4e889bee9d46495fa0bd", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_04c1f65676914ae6817573d1c1fa3bd2", "object": "Rate", "created_at": + "2024-01-19T22:01:24Z", "updated_at": "2024-01-19T22:01:24Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_dd59ad75cc4a4e889bee9d46495fa0bd", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_a65edeb4b53d42ccb7e8e9f757243363", "object": "Rate", "created_at": + "2024-01-19T22:01:24Z", "updated_at": "2024-01-19T22:01:24Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", + "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_dd59ad75cc4a4e889bee9d46495fa0bd", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_495058e2b71611ee88e3ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T22:01:24+00:00", "updated_at": "2024-01-19T22:01:24+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_4954a6d5b71611ee88e6ac1f6bc53342", "object": "Address", "created_at": + "2024-01-19T22:01:24+00:00", "updated_at": "2024-01-19T22:01:24+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_495058e2b71611ee88e3ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:01:24+00:00", "updated_at": + "2024-01-19T22:01:24+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_dd59ad75cc4a4e889bee9d46495fa0bd", "object": "Shipment"}], "rates": + [{"id": "rate_73dde1abac0845bb939d7ec09c2c4a5e", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "Priority", "carrier": + "USPS", "rate": "6.95", "currency": "USD", "retail_rate": "10.20", "retail_currency": + "USD", "list_rate": "8.24", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 2, "shipment_id": "shp_dd59ad75cc4a4e889bee9d46495fa0bd", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_9fd036851145450da16aebac79b9a269", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_dd59ad75cc4a4e889bee9d46495fa0bd", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_46e839694ae94cca8dda8d45c651281d", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "First", "carrier": "USPS", + "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_dd59ad75cc4a4e889bee9d46495fa0bd", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_04c1f65676914ae6817573d1c1fa3bd2", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_dd59ad75cc4a4e889bee9d46495fa0bd", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_a65edeb4b53d42ccb7e8e9f757243363", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "Express", "carrier": + "USPS", "rate": "31.25", "currency": "USD", "retail_rate": "35.80", "retail_currency": + "USD", "list_rate": "31.25", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + false, "est_delivery_days": null, "shipment_id": "shp_dd59ad75cc4a4e889bee9d46495fa0bd", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], "id": "order_f8cada9d567840aa94b6125b31d14709", + "object": "Order"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '11225' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf135e798c49f001002ba + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.102325' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"order": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 N + Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "shipments": [{"parcel": {"weight": + "10.2"}}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '491' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/orders + response: + body: + string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": + "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", + "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", "type": "rate_error", + "message": "Unauthorized. Please check credentials and try again"}, {"carrier": + "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", "type": + "rate_error", "message": "Unauthorized. Please check credentials and try again"}, + {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "created_at": "2024-01-19T22:05:10Z", "updated_at": "2024-01-19T22:05:11Z", + "customs_info": null, "from_address": {"id": "adr_d0203065b71611eeb5a6ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T22:05:10+00:00", "updated_at": + "2024-01-19T22:05:10+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "to_address": {"id": "adr_d01e64b7b71611eeb33cac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T22:05:10+00:00", "updated_at": "2024-01-19T22:05:10+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "buyer_address": {"id": "adr_d01e64b7b71611eeb33cac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:05:10+00:00", "updated_at": + "2024-01-19T22:05:10+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "return_address": {"id": + "adr_d0203065b71611eeb5a6ac1f6bc539ae", "object": "Address", "created_at": + "2024-01-19T22:05:10+00:00", "updated_at": "2024-01-19T22:05:10+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T22:05:10Z", + "is_return": false, "messages": [{"carrier": "DhlEcs", "carrier_account_id": + "ca_0d64fd488c1444cf9bc16f858703e28f", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_c3cbbd21bc97400bbbaed6d030909476", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_99007e1aeb66421faf82676f1199481e", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_b1a0a1bc45844159812e0224d53948ea", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}], "mode": "test", "options": {"currency": + "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, + "status": "unknown", "tracking_code": null, "updated_at": "2024-01-19T22:05:10Z", + "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": + null, "from_address": {"id": "adr_d0203065b71611eeb5a6ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T22:05:10+00:00", "updated_at": "2024-01-19T22:05:10+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": "order_c04f90b3029c4395a25c2fee0933b965", + "parcel": {"id": "prcl_e0e6f39fdc814de188b4ef80de6e9b9a", "object": "Parcel", + "created_at": "2024-01-19T22:05:10Z", "updated_at": "2024-01-19T22:05:10Z", + "length": null, "width": null, "height": null, "predefined_package": null, + "weight": 10.2, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_3bddd9262cee47b2af04faf532edf549", + "object": "Rate", "created_at": "2024-01-19T22:05:11Z", "updated_at": "2024-01-19T22:05:11Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "31.25", + "currency": "USD", "retail_rate": "35.80", "retail_currency": "USD", "list_rate": + "31.25", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_f8af84505218441ba2fbecca5cbc876f", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c74ab9d396134386a6a82921d2abafb3", + "object": "Rate", "created_at": "2024-01-19T22:05:11Z", "updated_at": "2024-01-19T22:05:11Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", + "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": + "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_f8af84505218441ba2fbecca5cbc876f", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_06b24b7a846a4e5db9beaa485b37a54d", + "object": "Rate", "created_at": "2024-01-19T22:05:11Z", "updated_at": "2024-01-19T22:05:11Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", + "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": + "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_f8af84505218441ba2fbecca5cbc876f", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_55032c1909614c168e598bd2a1cbf592", + "object": "Rate", "created_at": "2024-01-19T22:05:11Z", "updated_at": "2024-01-19T22:05:11Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_f8af84505218441ba2fbecca5cbc876f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_a14d46b9d1d54e12aaad7d7e95b7f660", "object": "Rate", "created_at": + "2024-01-19T22:05:11Z", "updated_at": "2024-01-19T22:05:11Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_f8af84505218441ba2fbecca5cbc876f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_d01e64b7b71611eeb33cac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T22:05:10+00:00", "updated_at": "2024-01-19T22:05:10+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_d0203065b71611eeb5a6ac1f6bc539ae", "object": "Address", "created_at": + "2024-01-19T22:05:10+00:00", "updated_at": "2024-01-19T22:05:10+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_d01e64b7b71611eeb33cac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:05:10+00:00", "updated_at": + "2024-01-19T22:05:10+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_f8af84505218441ba2fbecca5cbc876f", "object": "Shipment"}], "rates": + [{"id": "rate_3bddd9262cee47b2af04faf532edf549", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "Express", "carrier": + "USPS", "rate": "31.25", "currency": "USD", "retail_rate": "35.80", "retail_currency": + "USD", "list_rate": "31.25", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + false, "est_delivery_days": null, "shipment_id": "shp_f8af84505218441ba2fbecca5cbc876f", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c74ab9d396134386a6a82921d2abafb3", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "Priority", "carrier": "USPS", "rate": "6.95", "currency": "USD", + "retail_rate": "10.20", "retail_currency": "USD", "list_rate": "8.24", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": + "shp_f8af84505218441ba2fbecca5cbc876f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_06b24b7a846a4e5db9beaa485b37a54d", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "GroundAdvantage", "carrier": + "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_f8af84505218441ba2fbecca5cbc876f", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_55032c1909614c168e598bd2a1cbf592", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "First", "carrier": "USPS", "rate": "4.81", "currency": "USD", + "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_f8af84505218441ba2fbecca5cbc876f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_a14d46b9d1d54e12aaad7d7e95b7f660", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "ParcelSelect", "carrier": + "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_f8af84505218441ba2fbecca5cbc876f", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], "id": "order_c04f90b3029c4395a25c2fee0933b965", + "object": "Order"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '12214' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/orders/order_c04f90b3029c4395a25c2fee0933b965 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf216e798d07b0010ae09 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.697542' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/orders/order_c04f90b3029c4395a25c2fee0933b965 + response: + body: + string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": + "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", + "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", "type": "rate_error", + "message": "Unauthorized. Please check credentials and try again"}, {"carrier": + "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", "type": + "rate_error", "message": "Unauthorized. Please check credentials and try again"}, + {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "created_at": "2024-01-19T22:05:10Z", "updated_at": "2024-01-19T22:05:11Z", + "customs_info": null, "from_address": {"id": "adr_d0203065b71611eeb5a6ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T22:05:10+00:00", "updated_at": + "2024-01-19T22:05:10+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "to_address": {"id": "adr_d01e64b7b71611eeb33cac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T22:05:10+00:00", "updated_at": "2024-01-19T22:05:10+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "buyer_address": {"id": "adr_d01e64b7b71611eeb33cac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:05:10+00:00", "updated_at": + "2024-01-19T22:05:10+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "return_address": {"id": + "adr_d0203065b71611eeb5a6ac1f6bc539ae", "object": "Address", "created_at": + "2024-01-19T22:05:10+00:00", "updated_at": "2024-01-19T22:05:10+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T22:05:10Z", + "is_return": false, "messages": [], "mode": "test", "options": {"currency": + "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, + "status": "unknown", "tracking_code": null, "updated_at": "2024-01-19T22:05:10Z", + "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": + null, "from_address": {"id": "adr_d0203065b71611eeb5a6ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T22:05:10+00:00", "updated_at": "2024-01-19T22:05:10+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": "order_c04f90b3029c4395a25c2fee0933b965", + "parcel": {"id": "prcl_e0e6f39fdc814de188b4ef80de6e9b9a", "object": "Parcel", + "created_at": "2024-01-19T22:05:10Z", "updated_at": "2024-01-19T22:05:10Z", + "length": null, "width": null, "height": null, "predefined_package": null, + "weight": 10.2, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_3bddd9262cee47b2af04faf532edf549", + "object": "Rate", "created_at": "2024-01-19T22:05:11Z", "updated_at": "2024-01-19T22:05:11Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "31.25", + "currency": "USD", "retail_rate": "35.80", "retail_currency": "USD", "list_rate": + "31.25", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_f8af84505218441ba2fbecca5cbc876f", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c74ab9d396134386a6a82921d2abafb3", + "object": "Rate", "created_at": "2024-01-19T22:05:11Z", "updated_at": "2024-01-19T22:05:11Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", + "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": + "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_f8af84505218441ba2fbecca5cbc876f", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_06b24b7a846a4e5db9beaa485b37a54d", + "object": "Rate", "created_at": "2024-01-19T22:05:11Z", "updated_at": "2024-01-19T22:05:11Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", + "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": + "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_f8af84505218441ba2fbecca5cbc876f", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_55032c1909614c168e598bd2a1cbf592", + "object": "Rate", "created_at": "2024-01-19T22:05:11Z", "updated_at": "2024-01-19T22:05:11Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_f8af84505218441ba2fbecca5cbc876f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_a14d46b9d1d54e12aaad7d7e95b7f660", "object": "Rate", "created_at": + "2024-01-19T22:05:11Z", "updated_at": "2024-01-19T22:05:11Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_f8af84505218441ba2fbecca5cbc876f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_d01e64b7b71611eeb33cac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T22:05:10+00:00", "updated_at": "2024-01-19T22:05:10+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_d0203065b71611eeb5a6ac1f6bc539ae", "object": "Address", "created_at": + "2024-01-19T22:05:10+00:00", "updated_at": "2024-01-19T22:05:10+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_d01e64b7b71611eeb33cac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:05:10+00:00", "updated_at": + "2024-01-19T22:05:10+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_f8af84505218441ba2fbecca5cbc876f", "object": "Shipment"}], "rates": + [{"id": "rate_3bddd9262cee47b2af04faf532edf549", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "Express", "carrier": + "USPS", "rate": "31.25", "currency": "USD", "retail_rate": "35.80", "retail_currency": + "USD", "list_rate": "31.25", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + false, "est_delivery_days": null, "shipment_id": "shp_f8af84505218441ba2fbecca5cbc876f", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c74ab9d396134386a6a82921d2abafb3", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "Priority", "carrier": "USPS", "rate": "6.95", "currency": "USD", + "retail_rate": "10.20", "retail_currency": "USD", "list_rate": "8.24", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": + "shp_f8af84505218441ba2fbecca5cbc876f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_06b24b7a846a4e5db9beaa485b37a54d", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "GroundAdvantage", "carrier": + "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_f8af84505218441ba2fbecca5cbc876f", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_55032c1909614c168e598bd2a1cbf592", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "First", "carrier": "USPS", "rate": "4.81", "currency": "USD", + "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_f8af84505218441ba2fbecca5cbc876f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_a14d46b9d1d54e12aaad7d7e95b7f660", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "ParcelSelect", "carrier": + "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_f8af84505218441ba2fbecca5cbc876f", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], "id": "order_c04f90b3029c4395a25c2fee0933b965", + "object": "Order"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '11225' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf217e798d07c0010aed1 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.097533' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"order": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 N + Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "shipments": [{"parcel": {"weight": + "10.2"}}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '491' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/orders + response: + body: + string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": + "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", + "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", + "message": "Unauthorized. Please check credentials and try again"}, {"carrier": + "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", "type": + "rate_error", "message": "Unauthorized. Please check credentials and try again"}, + {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "created_at": "2024-01-19T22:06:44Z", "updated_at": "2024-01-19T22:06:44Z", + "customs_info": null, "from_address": {"id": "adr_07e76d4fb71711ee8697ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:06:43+00:00", "updated_at": + "2024-01-19T22:06:43+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "to_address": {"id": "adr_07e618a3b71711ee85073cecef1b359e", "object": "Address", + "created_at": "2024-01-19T22:06:43+00:00", "updated_at": "2024-01-19T22:06:43+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "buyer_address": {"id": "adr_07e618a3b71711ee85073cecef1b359e", + "object": "Address", "created_at": "2024-01-19T22:06:43+00:00", "updated_at": + "2024-01-19T22:06:43+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "return_address": {"id": + "adr_07e76d4fb71711ee8697ac1f6bc53342", "object": "Address", "created_at": + "2024-01-19T22:06:43+00:00", "updated_at": "2024-01-19T22:06:43+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T22:06:44Z", + "is_return": false, "messages": [{"carrier": "DhlEcs", "carrier_account_id": + "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_b1a0a1bc45844159812e0224d53948ea", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_99007e1aeb66421faf82676f1199481e", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_c3cbbd21bc97400bbbaed6d030909476", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_0d64fd488c1444cf9bc16f858703e28f", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}], "mode": "test", "options": {"currency": + "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, + "status": "unknown", "tracking_code": null, "updated_at": "2024-01-19T22:06:44Z", + "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": + null, "from_address": {"id": "adr_07e76d4fb71711ee8697ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T22:06:43+00:00", "updated_at": "2024-01-19T22:06:43+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": "order_bb3f64f9028a4d0eafd955020763a2af", + "parcel": {"id": "prcl_4883076055c44d75a819636e59508c29", "object": "Parcel", + "created_at": "2024-01-19T22:06:44Z", "updated_at": "2024-01-19T22:06:44Z", + "length": null, "width": null, "height": null, "predefined_package": null, + "weight": 10.2, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_2b22bdda9e98425b988d13094f456404", + "object": "Rate", "created_at": "2024-01-19T22:06:44Z", "updated_at": "2024-01-19T22:06:44Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", + "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": + "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_343dae0a05b148369fd5a43bf6a2ed86", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_3a35bdce8e5341989bc6f55d92fc88f1", + "object": "Rate", "created_at": "2024-01-19T22:06:44Z", "updated_at": "2024-01-19T22:06:44Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", + "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": + "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_343dae0a05b148369fd5a43bf6a2ed86", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_973147d9d7684979b2718dd755fb9b45", + "object": "Rate", "created_at": "2024-01-19T22:06:44Z", "updated_at": "2024-01-19T22:06:44Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_343dae0a05b148369fd5a43bf6a2ed86", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_5b3ec6e32ce544ecb8c2910a3fe2b1de", "object": "Rate", "created_at": + "2024-01-19T22:06:44Z", "updated_at": "2024-01-19T22:06:44Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_343dae0a05b148369fd5a43bf6a2ed86", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_125c36b9fb0d46aba0d122c607dfe805", "object": "Rate", "created_at": + "2024-01-19T22:06:44Z", "updated_at": "2024-01-19T22:06:44Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", + "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_343dae0a05b148369fd5a43bf6a2ed86", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_07e618a3b71711ee85073cecef1b359e", "object": + "Address", "created_at": "2024-01-19T22:06:43+00:00", "updated_at": "2024-01-19T22:06:43+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_07e76d4fb71711ee8697ac1f6bc53342", "object": "Address", "created_at": + "2024-01-19T22:06:43+00:00", "updated_at": "2024-01-19T22:06:43+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_07e618a3b71711ee85073cecef1b359e", + "object": "Address", "created_at": "2024-01-19T22:06:43+00:00", "updated_at": + "2024-01-19T22:06:43+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_343dae0a05b148369fd5a43bf6a2ed86", "object": "Shipment"}], "rates": + [{"id": "rate_2b22bdda9e98425b988d13094f456404", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "Priority", "carrier": + "USPS", "rate": "6.95", "currency": "USD", "retail_rate": "10.20", "retail_currency": + "USD", "list_rate": "8.24", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 2, "shipment_id": "shp_343dae0a05b148369fd5a43bf6a2ed86", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_3a35bdce8e5341989bc6f55d92fc88f1", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_343dae0a05b148369fd5a43bf6a2ed86", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_973147d9d7684979b2718dd755fb9b45", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "First", "carrier": "USPS", + "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_343dae0a05b148369fd5a43bf6a2ed86", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_5b3ec6e32ce544ecb8c2910a3fe2b1de", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_343dae0a05b148369fd5a43bf6a2ed86", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_125c36b9fb0d46aba0d122c607dfe805", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "Express", "carrier": + "USPS", "rate": "31.25", "currency": "USD", "retail_rate": "35.80", "retail_currency": + "USD", "list_rate": "31.25", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + false, "est_delivery_days": null, "shipment_id": "shp_343dae0a05b148369fd5a43bf6a2ed86", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], "id": "order_bb3f64f9028a4d0eafd955020763a2af", + "object": "Order"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '12214' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/orders/order_bb3f64f9028a4d0eafd955020763a2af + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaf273e798d5260010ed77 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.673872' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/orders/order_bb3f64f9028a4d0eafd955020763a2af + response: + body: + string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": + "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", + "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", + "message": "Unauthorized. Please check credentials and try again"}, {"carrier": + "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", "type": + "rate_error", "message": "Unauthorized. Please check credentials and try again"}, + {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "created_at": "2024-01-19T22:06:44Z", "updated_at": "2024-01-19T22:06:44Z", + "customs_info": null, "from_address": {"id": "adr_07e76d4fb71711ee8697ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:06:43+00:00", "updated_at": + "2024-01-19T22:06:43+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "to_address": {"id": "adr_07e618a3b71711ee85073cecef1b359e", "object": "Address", + "created_at": "2024-01-19T22:06:43+00:00", "updated_at": "2024-01-19T22:06:43+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "buyer_address": {"id": "adr_07e618a3b71711ee85073cecef1b359e", + "object": "Address", "created_at": "2024-01-19T22:06:43+00:00", "updated_at": + "2024-01-19T22:06:43+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "return_address": {"id": + "adr_07e76d4fb71711ee8697ac1f6bc53342", "object": "Address", "created_at": + "2024-01-19T22:06:43+00:00", "updated_at": "2024-01-19T22:06:43+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T22:06:44Z", + "is_return": false, "messages": [], "mode": "test", "options": {"currency": + "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, + "status": "unknown", "tracking_code": null, "updated_at": "2024-01-19T22:06:44Z", + "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": + null, "from_address": {"id": "adr_07e76d4fb71711ee8697ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T22:06:43+00:00", "updated_at": "2024-01-19T22:06:43+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": "order_bb3f64f9028a4d0eafd955020763a2af", + "parcel": {"id": "prcl_4883076055c44d75a819636e59508c29", "object": "Parcel", + "created_at": "2024-01-19T22:06:44Z", "updated_at": "2024-01-19T22:06:44Z", + "length": null, "width": null, "height": null, "predefined_package": null, + "weight": 10.2, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_2b22bdda9e98425b988d13094f456404", + "object": "Rate", "created_at": "2024-01-19T22:06:44Z", "updated_at": "2024-01-19T22:06:44Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", + "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": + "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_343dae0a05b148369fd5a43bf6a2ed86", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_3a35bdce8e5341989bc6f55d92fc88f1", + "object": "Rate", "created_at": "2024-01-19T22:06:44Z", "updated_at": "2024-01-19T22:06:44Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", + "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": + "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_343dae0a05b148369fd5a43bf6a2ed86", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_973147d9d7684979b2718dd755fb9b45", + "object": "Rate", "created_at": "2024-01-19T22:06:44Z", "updated_at": "2024-01-19T22:06:44Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_343dae0a05b148369fd5a43bf6a2ed86", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_5b3ec6e32ce544ecb8c2910a3fe2b1de", "object": "Rate", "created_at": + "2024-01-19T22:06:44Z", "updated_at": "2024-01-19T22:06:44Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_343dae0a05b148369fd5a43bf6a2ed86", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_125c36b9fb0d46aba0d122c607dfe805", "object": "Rate", "created_at": + "2024-01-19T22:06:44Z", "updated_at": "2024-01-19T22:06:44Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", + "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_343dae0a05b148369fd5a43bf6a2ed86", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_07e618a3b71711ee85073cecef1b359e", "object": + "Address", "created_at": "2024-01-19T22:06:43+00:00", "updated_at": "2024-01-19T22:06:43+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_07e76d4fb71711ee8697ac1f6bc53342", "object": "Address", "created_at": + "2024-01-19T22:06:43+00:00", "updated_at": "2024-01-19T22:06:43+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_07e618a3b71711ee85073cecef1b359e", + "object": "Address", "created_at": "2024-01-19T22:06:43+00:00", "updated_at": + "2024-01-19T22:06:43+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_343dae0a05b148369fd5a43bf6a2ed86", "object": "Shipment"}], "rates": + [{"id": "rate_2b22bdda9e98425b988d13094f456404", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "Priority", "carrier": + "USPS", "rate": "6.95", "currency": "USD", "retail_rate": "10.20", "retail_currency": + "USD", "list_rate": "8.24", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 2, "shipment_id": "shp_343dae0a05b148369fd5a43bf6a2ed86", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_3a35bdce8e5341989bc6f55d92fc88f1", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_343dae0a05b148369fd5a43bf6a2ed86", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_973147d9d7684979b2718dd755fb9b45", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "First", "carrier": "USPS", + "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": + "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "shipment_id": "shp_343dae0a05b148369fd5a43bf6a2ed86", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_5b3ec6e32ce544ecb8c2910a3fe2b1de", + "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_343dae0a05b148369fd5a43bf6a2ed86", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_125c36b9fb0d46aba0d122c607dfe805", "object": "Rate", "created_at": + null, "updated_at": null, "mode": "test", "service": "Express", "carrier": + "USPS", "rate": "31.25", "currency": "USD", "retail_rate": "35.80", "retail_currency": + "USD", "list_rate": "31.25", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + false, "est_delivery_days": null, "shipment_id": "shp_343dae0a05b148369fd5a43bf6a2ed86", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], "id": "order_bb3f64f9028a4d0eafd955020763a2af", + "object": "Order"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '11225' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf274e798d53e0010ee1a + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.099197' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_pagination_get_next_page.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_pagination_get_next_page.yaml new file mode 100644 index 00000000..98f9c843 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_pagination_get_next_page.yaml @@ -0,0 +1,818 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/shipments?page_size=5 + response: + body: + string: '{"shipments": [{"created_at": "2024-01-19T22:06:45Z", "is_return": + false, "messages": [], "mode": "test", "options": {"currency": "USD", "payment": + {"type": "SENDER"}, "date_advance": 0}, "reference": null, "status": "delivered", + "tracking_code": "9400100207552010713175", "updated_at": "2024-01-19T22:10:55Z", + "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": + null, "from_address": {"id": "adr_08d689afb71711ee855d3cecef1b359e", "object": + "Address", "created_at": "2024-01-19T22:06:45+00:00", "updated_at": "2024-01-19T22:06:45+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": "order_44572b1e925342fababb94c67cca8292", + "parcel": {"id": "prcl_92ca5d3034b14d80851d218f518b01a2", "object": "Parcel", + "created_at": "2024-01-19T22:06:45Z", "updated_at": "2024-01-19T22:06:45Z", + "length": null, "width": null, "height": null, "predefined_package": null, + "weight": 10.2, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_faf332fd56294e918c9593682b15c7c5", "created_at": "2024-01-19T22:06:46Z", + "updated_at": "2024-01-19T22:06:47Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T22:06:46Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e85397ca33ed6447558b2ef31c70893531.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_b3aee1cf42d9497bb591126539a7a052", "object": + "Rate", "created_at": "2024-01-19T22:06:46Z", "updated_at": "2024-01-19T22:06:46Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", + "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": + "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_ad619fd0e6734b27b3e369d2cf9313f5", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_057d8b8d6516413aac61fdf93a545975", + "object": "Rate", "created_at": "2024-01-19T22:06:46Z", "updated_at": "2024-01-19T22:06:46Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", + "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": + "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_ad619fd0e6734b27b3e369d2cf9313f5", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_2b01d28e8a7c4149ab20ccbcf29a5952", + "object": "Rate", "created_at": "2024-01-19T22:06:46Z", "updated_at": "2024-01-19T22:06:46Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_ad619fd0e6734b27b3e369d2cf9313f5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_ded1e495460149e8b94ad766f724145d", "object": "Rate", "created_at": + "2024-01-19T22:06:46Z", "updated_at": "2024-01-19T22:06:46Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_ad619fd0e6734b27b3e369d2cf9313f5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_f34ab6fcdcf04c2592b1ec54cb983239", "object": "Rate", "created_at": + "2024-01-19T22:06:46Z", "updated_at": "2024-01-19T22:06:46Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", + "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_ad619fd0e6734b27b3e369d2cf9313f5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_2b01d28e8a7c4149ab20ccbcf29a5952", + "object": "Rate", "created_at": "2024-01-19T22:06:46Z", "updated_at": "2024-01-19T22:06:46Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": + "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_ad619fd0e6734b27b3e369d2cf9313f5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + "tracker": {"id": "trk_d73b622258634457bba13d948079a3e6", "object": "Tracker", + "mode": "test", "tracking_code": "9400100207552010713175", "status": "delivered", + "status_detail": "arrived_at_destination", "created_at": "2024-01-19T22:06:47Z", + "updated_at": "2024-01-19T22:09:47Z", "signed_by": "John Tester", "weight": + null, "est_delivery_date": "2024-01-19T22:09:47Z", "shipment_id": "shp_ad619fd0e6734b27b3e369d2cf9313f5", + "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": + "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-19T22:09:47Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", + "message": "Shipping Label Created", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-20T10:46:47Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}, {"object": + "TrackingDetail", "message": "Arrived at USPS Origin Facility", "description": + "", "status": "in_transit", "status_detail": "arrived_at_facility", "datetime": + "2023-12-20T20:51:47Z", "source": "USPS", "carrier_code": "", "tracking_location": + {"object": "TrackingLocation", "city": "NORTH HOUSTON", "state": "TX", "country": + null, "zip": "77315"}}, {"object": "TrackingDetail", "message": "Arrived at + USPS Facility", "description": "", "status": "in_transit", "status_detail": + "arrived_at_facility", "datetime": "2023-12-21T22:27:47Z", "source": "USPS", + "carrier_code": "", "tracking_location": {"object": "TrackingLocation", "city": + "COLUMBIA", "state": "SC", "country": null, "zip": "29201"}}, {"object": "TrackingDetail", + "message": "Arrived at Post Office", "description": "", "status": "in_transit", + "status_detail": "arrived_at_facility", "datetime": "2023-12-22T01:18:47Z", + "source": "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "CHARLESTON", "state": "SC", "country": null, "zip": "29407"}}, {"object": + "TrackingDetail", "message": "Sorting Complete", "description": "", "status": + "in_transit", "status_detail": "status_update", "datetime": "2023-12-22T06:58:47Z", + "source": "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "CHARLESTON", "state": "SC", "country": null, "zip": "29407"}}, {"object": + "TrackingDetail", "message": "Out for Delivery", "description": "", "status": + "out_for_delivery", "status_detail": "out_for_delivery", "datetime": "2023-12-22T07:08:47Z", + "source": "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "CHARLESTON", "state": "SC", "country": null, "zip": "29407"}}, {"object": + "TrackingDetail", "message": "Delivered", "description": "", "status": "delivered", + "status_detail": "arrived_at_destination", "datetime": "2023-12-22T12:00:47Z", + "source": "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "CHARLESTON", "state": "SC", "country": null, "zip": "29407"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "NORTH HOUSTON", "state": "TX", "country": + null, "zip": "77315"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + {"object": "TrackingLocation", "city": "CHARLESTON", "state": "SC", "country": + null, "zip": "29407"}, "guaranteed_delivery_date": null, "alternate_identifier": + null, "initial_delivery_attempt": "2023-12-22T12:00:47Z"}, "public_url": "https://track.easypost.com/djE6dHJrX2Q3M2I2MjIyNTg2MzQ0NTdiYmExM2Q5NDgwNzlhM2U2"}, + "to_address": {"id": "adr_08d4ba82b71711ee9769ac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T22:06:45+00:00", "updated_at": "2024-01-19T22:06:46+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_08d689afb71711ee855d3cecef1b359e", + "object": "Address", "created_at": "2024-01-19T22:06:45+00:00", "updated_at": + "2024-01-19T22:06:45+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_08d4ba82b71711ee9769ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T22:06:45+00:00", "updated_at": "2024-01-19T22:06:46+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "4.81000", "charged": true, "refunded": false}], "id": "shp_ad619fd0e6734b27b3e369d2cf9313f5", + "object": "Shipment"}, {"created_at": "2024-01-19T22:06:37Z", "is_return": + false, "messages": [], "mode": "test", "options": {"currency": "USD", "payment": + {"type": "SENDER"}, "date_advance": 0}, "reference": null, "status": "delivered", + "tracking_code": "9405500207552010713130", "updated_at": "2024-01-19T22:12:15Z", + "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": + {"id": "cstinfo_6424f9c6c56a45e0a053d41bab765366", "object": "CustomsInfo", + "created_at": "2024-01-19T22:06:37Z", "updated_at": "2024-01-19T22:06:37Z", + "contents_explanation": "", "contents_type": "merchandise", "customs_certify": + true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": + "return", "restriction_comments": null, "restriction_type": "none", "mode": + "test", "declaration": null, "customs_items": [{"id": "cstitem_f3b93149111747b685e79f7e45123555", + "object": "CustomsItem", "created_at": "2024-01-19T22:06:37Z", "updated_at": + "2024-01-19T22:06:37Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_03d0ac30b71711ee8522ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:06:37+00:00", "updated_at": + "2024-01-19T22:06:37+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_aba631355c144c79b47714219c99b56a", + "object": "Parcel", "created_at": "2024-01-19T22:06:37Z", "updated_at": "2024-01-19T22:06:37Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_24118cf8a19e46aa88507abf3ac31460", "created_at": "2024-01-19T22:06:37Z", + "updated_at": "2024-01-19T22:06:38Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T22:06:37Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e85006b77f7f2f4a44b65598f187ea2830.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_bff27d36ac6c4b09a9637f99acddaeb8", "object": + "Rate", "created_at": "2024-01-19T22:06:37Z", "updated_at": "2024-01-19T22:06:37Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_04f452cb0a14438c93d21970a907560f", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_069d6fd9fd8548b8aae17a80a08cb664", + "object": "Rate", "created_at": "2024-01-19T22:06:37Z", "updated_at": "2024-01-19T22:06:37Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_04f452cb0a14438c93d21970a907560f", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_6f5f0c38a162400291fa06e7a76cb5f7", + "object": "Rate", "created_at": "2024-01-19T22:06:37Z", "updated_at": "2024-01-19T22:06:37Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_04f452cb0a14438c93d21970a907560f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_50a8cb70d1e24035b9ab15e714d3f3ce", "object": "Rate", "created_at": + "2024-01-19T22:06:37Z", "updated_at": "2024-01-19T22:06:37Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_04f452cb0a14438c93d21970a907560f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_87d724718ad14eb384f691c06a302751", "object": "Rate", "created_at": + "2024-01-19T22:06:37Z", "updated_at": "2024-01-19T22:06:37Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_04f452cb0a14438c93d21970a907560f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_bff27d36ac6c4b09a9637f99acddaeb8", + "object": "Rate", "created_at": "2024-01-19T22:06:37Z", "updated_at": "2024-01-19T22:06:37Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_04f452cb0a14438c93d21970a907560f", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_4ef6c65400804e3f98cb3c2b0056b8b9", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010713130", + "status": "delivered", "status_detail": "arrived_at_destination", "created_at": + "2024-01-19T22:06:38Z", "updated_at": "2024-01-19T22:09:38Z", "signed_by": + "John Tester", "weight": null, "est_delivery_date": "2024-01-19T22:09:38Z", + "shipment_id": "shp_04f452cb0a14438c93d21970a907560f", "carrier": "USPS", + "tracking_details": [{"object": "TrackingDetail", "message": "Pre-Shipment + Info Sent to USPS", "description": "", "status": "pre_transit", "status_detail": + "status_update", "datetime": "2023-12-19T22:09:38Z", "source": "USPS", "carrier_code": + "", "tracking_location": {"object": "TrackingLocation", "city": null, "state": + null, "country": null, "zip": null}}, {"object": "TrackingDetail", "message": + "Shipping Label Created", "description": "", "status": "pre_transit", "status_detail": + "status_update", "datetime": "2023-12-20T10:46:38Z", "source": "USPS", "carrier_code": + "", "tracking_location": {"object": "TrackingLocation", "city": "HOUSTON", + "state": "TX", "country": null, "zip": "77063"}}, {"object": "TrackingDetail", + "message": "Arrived at USPS Origin Facility", "description": "", "status": + "in_transit", "status_detail": "arrived_at_facility", "datetime": "2023-12-20T20:51:38Z", + "source": "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "NORTH HOUSTON", "state": "TX", "country": null, "zip": "77315"}}, + {"object": "TrackingDetail", "message": "Arrived at USPS Facility", "description": + "", "status": "in_transit", "status_detail": "arrived_at_facility", "datetime": + "2023-12-21T22:27:38Z", "source": "USPS", "carrier_code": "", "tracking_location": + {"object": "TrackingLocation", "city": "COLUMBIA", "state": "SC", "country": + null, "zip": "29201"}}, {"object": "TrackingDetail", "message": "Arrived at + Post Office", "description": "", "status": "in_transit", "status_detail": + "arrived_at_facility", "datetime": "2023-12-22T01:18:38Z", "source": "USPS", + "carrier_code": "", "tracking_location": {"object": "TrackingLocation", "city": + "CHARLESTON", "state": "SC", "country": null, "zip": "29407"}}, {"object": + "TrackingDetail", "message": "Sorting Complete", "description": "", "status": + "in_transit", "status_detail": "status_update", "datetime": "2023-12-22T06:58:38Z", + "source": "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "CHARLESTON", "state": "SC", "country": null, "zip": "29407"}}, {"object": + "TrackingDetail", "message": "Out for Delivery", "description": "", "status": + "out_for_delivery", "status_detail": "out_for_delivery", "datetime": "2023-12-22T07:08:38Z", + "source": "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "CHARLESTON", "state": "SC", "country": null, "zip": "29407"}}, {"object": + "TrackingDetail", "message": "Delivered", "description": "", "status": "delivered", + "status_detail": "arrived_at_destination", "datetime": "2023-12-22T12:00:38Z", + "source": "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "CHARLESTON", "state": "SC", "country": null, "zip": "29407"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "NORTH HOUSTON", "state": "TX", "country": + null, "zip": "77315"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + {"object": "TrackingLocation", "city": "CHARLESTON", "state": "SC", "country": + null, "zip": "29407"}, "guaranteed_delivery_date": null, "alternate_identifier": + null, "initial_delivery_attempt": "2023-12-22T12:00:38Z"}, "public_url": "https://track.easypost.com/djE6dHJrXzRlZjZjNjU0MDA4MDRlM2Y5OGNiM2MyYjAwNTZiOGI5"}, + "to_address": {"id": "adr_03cba68eb71711ee959cac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T22:06:37+00:00", "updated_at": "2024-01-19T22:06:37+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_03d0ac30b71711ee8522ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:06:37+00:00", "updated_at": + "2024-01-19T22:06:37+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_03cba68eb71711ee959cac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T22:06:37+00:00", "updated_at": "2024-01-19T22:06:37+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [{"object": "Form", "id": "form_4b25d2d2ef1648a4b45b51acc478f026", + "created_at": "2024-01-19T22:06:38Z", "updated_at": "2024-01-19T22:06:38Z", + "mode": "test", "form_type": "return_packing_slip", "form_url": "https://easypost-files.s3-us-west-2.amazonaws.com/files/form/20240119/31d3ac862c2d42079d47e43bfc6a00b9.pdf", + "submitted_electronically": null}], "fees": [{"object": "Fee", "type": "LabelFee", + "amount": "0.00000", "charged": true, "refunded": false}, {"object": "Fee", + "type": "PostageFee", "amount": "7.99000", "charged": true, "refunded": false}], + "id": "shp_04f452cb0a14438c93d21970a907560f", "object": "Shipment"}, {"created_at": + "2024-01-19T22:06:33Z", "is_return": false, "messages": [{"carrier": "DhlEcs", + "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", + "message": "Unauthorized. Please check credentials and try again"}, {"carrier": + "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", "type": + "rate_error", "message": "Unauthorized. Please check credentials and try again"}, + {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "delivered", "tracking_code": + "9434600207552010713108", "updated_at": "2024-01-19T22:11:52Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_e475057d671549c09a727cf05763d2f8", "object": "CustomsInfo", "created_at": + "2024-01-19T22:06:33Z", "updated_at": "2024-01-19T22:06:33Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_84b8fb02274d48d69dfc1a9339750c94", + "object": "CustomsItem", "created_at": "2024-01-19T22:06:33Z", "updated_at": + "2024-01-19T22:06:33Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_01a465a2b71711ee94f3ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T22:06:33+00:00", "updated_at": + "2024-01-19T22:06:33+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_28a4e5af1c1547cca7cb7fb21dd7ce77", + "object": "Parcel", "created_at": "2024-01-19T22:06:33Z", "updated_at": "2024-01-19T22:06:33Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_df924f7b27944f28975d06b13cac3ca2", "created_at": "2024-01-19T22:06:34Z", + "updated_at": "2024-01-19T22:06:34Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T22:06:34Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8a47e8a2dd4e34a4eb0ad077218e0ae2d.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_e69e3f033e2d48a3b50151929e000ac1", "object": + "Rate", "created_at": "2024-01-19T22:06:34Z", "updated_at": "2024-01-19T22:06:34Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_37793f6a36b84656b66685b8083842da", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c1a3428768bf4a1fa0e17ba355339aa5", + "object": "Rate", "created_at": "2024-01-19T22:06:34Z", "updated_at": "2024-01-19T22:06:34Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_37793f6a36b84656b66685b8083842da", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_98427d44b39d4a518e565860d32fb4fa", + "object": "Rate", "created_at": "2024-01-19T22:06:34Z", "updated_at": "2024-01-19T22:06:34Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_37793f6a36b84656b66685b8083842da", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_81893bd833164250bd453b8b87cc2228", + "object": "Rate", "created_at": "2024-01-19T22:06:34Z", "updated_at": "2024-01-19T22:06:34Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_37793f6a36b84656b66685b8083842da", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_8262adea651944b086550b6d8479e3a5", "object": "Rate", "created_at": + "2024-01-19T22:06:34Z", "updated_at": "2024-01-19T22:06:34Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_37793f6a36b84656b66685b8083842da", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_98427d44b39d4a518e565860d32fb4fa", + "object": "Rate", "created_at": "2024-01-19T22:06:34Z", "updated_at": "2024-01-19T22:06:34Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_37793f6a36b84656b66685b8083842da", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_d82413c7075543df8f19c9a8dbdf2162", + "object": "Tracker", "mode": "test", "tracking_code": "9434600207552010713108", + "status": "delivered", "status_detail": "arrived_at_destination", "created_at": + "2024-01-19T22:06:35Z", "updated_at": "2024-01-19T22:09:35Z", "signed_by": + "John Tester", "weight": null, "est_delivery_date": "2024-01-19T22:09:35Z", + "shipment_id": "shp_37793f6a36b84656b66685b8083842da", "carrier": "USPS", + "tracking_details": [{"object": "TrackingDetail", "message": "Pre-Shipment + Info Sent to USPS", "description": "", "status": "pre_transit", "status_detail": + "status_update", "datetime": "2023-12-19T22:09:35Z", "source": "USPS", "carrier_code": + "", "tracking_location": {"object": "TrackingLocation", "city": null, "state": + null, "country": null, "zip": null}}, {"object": "TrackingDetail", "message": + "Shipping Label Created", "description": "", "status": "pre_transit", "status_detail": + "status_update", "datetime": "2023-12-20T10:46:35Z", "source": "USPS", "carrier_code": + "", "tracking_location": {"object": "TrackingLocation", "city": "HOUSTON", + "state": "TX", "country": null, "zip": "77063"}}, {"object": "TrackingDetail", + "message": "Arrived at USPS Origin Facility", "description": "", "status": + "in_transit", "status_detail": "arrived_at_facility", "datetime": "2023-12-20T20:51:35Z", + "source": "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "NORTH HOUSTON", "state": "TX", "country": null, "zip": "77315"}}, + {"object": "TrackingDetail", "message": "Arrived at USPS Facility", "description": + "", "status": "in_transit", "status_detail": "arrived_at_facility", "datetime": + "2023-12-21T22:27:35Z", "source": "USPS", "carrier_code": "", "tracking_location": + {"object": "TrackingLocation", "city": "COLUMBIA", "state": "SC", "country": + null, "zip": "29201"}}, {"object": "TrackingDetail", "message": "Arrived at + Post Office", "description": "", "status": "in_transit", "status_detail": + "arrived_at_facility", "datetime": "2023-12-22T01:18:35Z", "source": "USPS", + "carrier_code": "", "tracking_location": {"object": "TrackingLocation", "city": + "CHARLESTON", "state": "SC", "country": null, "zip": "29407"}}, {"object": + "TrackingDetail", "message": "Sorting Complete", "description": "", "status": + "in_transit", "status_detail": "status_update", "datetime": "2023-12-22T06:58:35Z", + "source": "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "CHARLESTON", "state": "SC", "country": null, "zip": "29407"}}, {"object": + "TrackingDetail", "message": "Out for Delivery", "description": "", "status": + "out_for_delivery", "status_detail": "out_for_delivery", "datetime": "2023-12-22T07:08:35Z", + "source": "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "CHARLESTON", "state": "SC", "country": null, "zip": "29407"}}, {"object": + "TrackingDetail", "message": "Delivered", "description": "", "status": "delivered", + "status_detail": "arrived_at_destination", "datetime": "2023-12-22T12:00:35Z", + "source": "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "CHARLESTON", "state": "SC", "country": null, "zip": "29407"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "NORTH HOUSTON", "state": "TX", "country": + null, "zip": "77315"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + {"object": "TrackingLocation", "city": "CHARLESTON", "state": "SC", "country": + null, "zip": "29407"}, "guaranteed_delivery_date": null, "alternate_identifier": + null, "initial_delivery_attempt": "2023-12-22T12:00:35Z"}, "public_url": "https://track.easypost.com/djE6dHJrX2Q4MjQxM2M3MDc1NTQzZGY4ZjE5YzlhOGRiZGYyMTYy"}, + "to_address": {"id": "adr_01a1c151b71711ee94f1ac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T22:06:33+00:00", "updated_at": "2024-01-19T22:06:34+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_01a465a2b71711ee94f3ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T22:06:33+00:00", "updated_at": + "2024-01-19T22:06:33+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_01a1c151b71711ee94f1ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T22:06:33+00:00", "updated_at": "2024-01-19T22:06:34+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "6.79000", "charged": true, "refunded": false}], "id": "shp_37793f6a36b84656b66685b8083842da", + "object": "Shipment"}, {"created_at": "2024-01-19T22:06:20Z", "is_return": + false, "messages": [], "mode": "test", "options": {"currency": "USD", "payment": + {"type": "SENDER"}, "date_advance": 0}, "reference": null, "status": "delivered", + "tracking_code": "9405500207552010713055", "updated_at": "2024-01-19T22:11:33Z", + "batch_id": "batch_b156200979fe4cf98561510ad83f4af8", "batch_status": "postage_purchased", + "batch_message": null, "customs_info": {"id": "cstinfo_e2ddfa812ba848e6aa9930cc473d5136", + "object": "CustomsInfo", "created_at": "2024-01-19T22:06:20Z", "updated_at": + "2024-01-19T22:06:20Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_a0bb0e0e73c544358cc1008b7210e4b1", "object": "CustomsItem", + "created_at": "2024-01-19T22:06:20Z", "updated_at": "2024-01-19T22:06:20Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_fa2b357fb71611ee92c7ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T22:06:20+00:00", "updated_at": "2024-01-19T22:06:20+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_a6c2b732d8394805bbec2fce230437b4", "object": "Parcel", "created_at": + "2024-01-19T22:06:20Z", "updated_at": "2024-01-19T22:06:20Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": {"object": "PostageLabel", "id": "pl_26bcf757e15e49e68a5e2f13a47c829a", + "created_at": "2024-01-19T22:06:21Z", "updated_at": "2024-01-19T22:06:22Z", + "date_advance": 0, "integrated_form": "none", "label_date": "2024-01-19T22:06:21Z", + "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": + "image/png", "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8bed99f07f01e455facfc1ed6c235b2ed.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_4bcdc4ea51f749fabc3a30a422e2887f", "object": + "Rate", "created_at": "2024-01-19T22:06:21Z", "updated_at": "2024-01-19T22:06:21Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_33cc9d16742943eb8781414ccad42cd0", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_6913fc7aa38742c08c9a03fe5fbd2396", + "object": "Rate", "created_at": "2024-01-19T22:06:21Z", "updated_at": "2024-01-19T22:06:21Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_33cc9d16742943eb8781414ccad42cd0", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_7d4dd9d49ed140749cc498d2ef9f1093", + "object": "Rate", "created_at": "2024-01-19T22:06:21Z", "updated_at": "2024-01-19T22:06:21Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_33cc9d16742943eb8781414ccad42cd0", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4119c2543f5743db885a09041ca61263", + "object": "Rate", "created_at": "2024-01-19T22:06:21Z", "updated_at": "2024-01-19T22:06:21Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_33cc9d16742943eb8781414ccad42cd0", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_2a3d9d14335f477e8dd3539898c434da", "object": "Rate", "created_at": + "2024-01-19T22:06:21Z", "updated_at": "2024-01-19T22:06:21Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_33cc9d16742943eb8781414ccad42cd0", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_6913fc7aa38742c08c9a03fe5fbd2396", + "object": "Rate", "created_at": "2024-01-19T22:06:21Z", "updated_at": "2024-01-19T22:06:21Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_33cc9d16742943eb8781414ccad42cd0", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_5a982181f48644da9cc95966fe4411f2", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010713055", + "status": "delivered", "status_detail": "arrived_at_destination", "created_at": + "2024-01-19T22:06:22Z", "updated_at": "2024-01-19T22:09:22Z", "signed_by": + "John Tester", "weight": null, "est_delivery_date": "2024-01-19T22:09:22Z", + "shipment_id": "shp_33cc9d16742943eb8781414ccad42cd0", "carrier": "USPS", + "tracking_details": [{"object": "TrackingDetail", "message": "Pre-Shipment + Info Sent to USPS", "description": "", "status": "pre_transit", "status_detail": + "status_update", "datetime": "2023-12-19T22:09:22Z", "source": "USPS", "carrier_code": + "", "tracking_location": {"object": "TrackingLocation", "city": null, "state": + null, "country": null, "zip": null}}, {"object": "TrackingDetail", "message": + "Shipping Label Created", "description": "", "status": "pre_transit", "status_detail": + "status_update", "datetime": "2023-12-20T10:46:22Z", "source": "USPS", "carrier_code": + "", "tracking_location": {"object": "TrackingLocation", "city": "HOUSTON", + "state": "TX", "country": null, "zip": "77063"}}, {"object": "TrackingDetail", + "message": "Arrived at USPS Origin Facility", "description": "", "status": + "in_transit", "status_detail": "arrived_at_facility", "datetime": "2023-12-20T20:51:22Z", + "source": "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "NORTH HOUSTON", "state": "TX", "country": null, "zip": "77315"}}, + {"object": "TrackingDetail", "message": "Arrived at USPS Facility", "description": + "", "status": "in_transit", "status_detail": "arrived_at_facility", "datetime": + "2023-12-21T22:27:22Z", "source": "USPS", "carrier_code": "", "tracking_location": + {"object": "TrackingLocation", "city": "COLUMBIA", "state": "SC", "country": + null, "zip": "29201"}}, {"object": "TrackingDetail", "message": "Arrived at + Post Office", "description": "", "status": "in_transit", "status_detail": + "arrived_at_facility", "datetime": "2023-12-22T01:18:22Z", "source": "USPS", + "carrier_code": "", "tracking_location": {"object": "TrackingLocation", "city": + "CHARLESTON", "state": "SC", "country": null, "zip": "29407"}}, {"object": + "TrackingDetail", "message": "Sorting Complete", "description": "", "status": + "in_transit", "status_detail": "status_update", "datetime": "2023-12-22T06:58:22Z", + "source": "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "CHARLESTON", "state": "SC", "country": null, "zip": "29407"}}, {"object": + "TrackingDetail", "message": "Out for Delivery", "description": "", "status": + "out_for_delivery", "status_detail": "out_for_delivery", "datetime": "2023-12-22T07:08:22Z", + "source": "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "CHARLESTON", "state": "SC", "country": null, "zip": "29407"}}, {"object": + "TrackingDetail", "message": "Delivered", "description": "", "status": "delivered", + "status_detail": "arrived_at_destination", "datetime": "2023-12-22T12:00:22Z", + "source": "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "CHARLESTON", "state": "SC", "country": null, "zip": "29407"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "NORTH HOUSTON", "state": "TX", "country": + null, "zip": "77315"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + {"object": "TrackingLocation", "city": "CHARLESTON", "state": "SC", "country": + null, "zip": "29407"}, "guaranteed_delivery_date": null, "alternate_identifier": + null, "initial_delivery_attempt": "2023-12-22T12:00:22Z"}, "public_url": "https://track.easypost.com/djE6dHJrXzVhOTgyMTgxZjQ4NjQ0ZGE5Y2M5NTk2NmZlNDQxMWYy"}, + "to_address": {"id": "adr_fa292731b71611ee853aac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T22:06:20+00:00", "updated_at": "2024-01-19T22:06:21+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_fa2b357fb71611ee92c7ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T22:06:20+00:00", "updated_at": + "2024-01-19T22:06:20+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_fa292731b71611ee853aac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T22:06:20+00:00", "updated_at": "2024-01-19T22:06:21+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_33cc9d16742943eb8781414ccad42cd0", + "object": "Shipment"}, {"created_at": "2024-01-19T22:06:18Z", "is_return": + false, "messages": [], "mode": "test", "options": {"currency": "USD", "payment": + {"type": "SENDER"}, "date_advance": 0}, "reference": null, "status": "delivered", + "tracking_code": "9405500207552010713031", "updated_at": "2024-01-19T22:10:31Z", + "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": + {"id": "cstinfo_f870e5d5c96845519e25c0783fd86865", "object": "CustomsInfo", + "created_at": "2024-01-19T22:06:18Z", "updated_at": "2024-01-19T22:06:18Z", + "contents_explanation": "", "contents_type": "merchandise", "customs_certify": + true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": + "return", "restriction_comments": null, "restriction_type": "none", "mode": + "test", "declaration": null, "customs_items": [{"id": "cstitem_a112d495ae614e929e3cd3aad56473bc", + "object": "CustomsItem", "created_at": "2024-01-19T22:06:18Z", "updated_at": + "2024-01-19T22:06:18Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_f89127b5b71611ee84c3ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T22:06:18+00:00", "updated_at": + "2024-01-19T22:06:18+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_ca7617c3932a4e9f9247d794bea7e43a", + "object": "Parcel", "created_at": "2024-01-19T22:06:18Z", "updated_at": "2024-01-19T22:06:18Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_8810e2db5a4d4254b2ed9f2dd9fc2210", "created_at": "2024-01-19T22:06:18Z", + "updated_at": "2024-01-19T22:06:19Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T22:06:18Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e88aaa098aa4fb4c6782dddd6ed8640470.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_76948d41826a43f283eeb775f88cedf2", "object": + "Rate", "created_at": "2024-01-19T22:06:18Z", "updated_at": "2024-01-19T22:06:18Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_55387450c6444cfc961f910a4a5ac1b0", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_6b1ce99db1ee4c229dfb77d1118a660b", + "object": "Rate", "created_at": "2024-01-19T22:06:18Z", "updated_at": "2024-01-19T22:06:18Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_55387450c6444cfc961f910a4a5ac1b0", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_a140eea1cf2c4cc2b1fba6a37384595f", + "object": "Rate", "created_at": "2024-01-19T22:06:18Z", "updated_at": "2024-01-19T22:06:18Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_55387450c6444cfc961f910a4a5ac1b0", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4368f613d729497a897603bd3ac59541", + "object": "Rate", "created_at": "2024-01-19T22:06:18Z", "updated_at": "2024-01-19T22:06:18Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_55387450c6444cfc961f910a4a5ac1b0", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_b8ebafcdb40746efba4626377aefcf32", "object": "Rate", "created_at": + "2024-01-19T22:06:18Z", "updated_at": "2024-01-19T22:06:18Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_55387450c6444cfc961f910a4a5ac1b0", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_6b1ce99db1ee4c229dfb77d1118a660b", + "object": "Rate", "created_at": "2024-01-19T22:06:19Z", "updated_at": "2024-01-19T22:06:19Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_55387450c6444cfc961f910a4a5ac1b0", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_299cbea4490d44239fbc2d0c12661070", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010713031", + "status": "delivered", "status_detail": "arrived_at_destination", "created_at": + "2024-01-19T22:06:19Z", "updated_at": "2024-01-19T22:09:19Z", "signed_by": + "John Tester", "weight": null, "est_delivery_date": "2024-01-19T22:09:19Z", + "shipment_id": "shp_55387450c6444cfc961f910a4a5ac1b0", "carrier": "USPS", + "tracking_details": [{"object": "TrackingDetail", "message": "Pre-Shipment + Info Sent to USPS", "description": "", "status": "pre_transit", "status_detail": + "status_update", "datetime": "2023-12-19T22:09:19Z", "source": "USPS", "carrier_code": + "", "tracking_location": {"object": "TrackingLocation", "city": null, "state": + null, "country": null, "zip": null}}, {"object": "TrackingDetail", "message": + "Shipping Label Created", "description": "", "status": "pre_transit", "status_detail": + "status_update", "datetime": "2023-12-20T10:46:19Z", "source": "USPS", "carrier_code": + "", "tracking_location": {"object": "TrackingLocation", "city": "HOUSTON", + "state": "TX", "country": null, "zip": "77063"}}, {"object": "TrackingDetail", + "message": "Arrived at USPS Origin Facility", "description": "", "status": + "in_transit", "status_detail": "arrived_at_facility", "datetime": "2023-12-20T20:51:19Z", + "source": "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "NORTH HOUSTON", "state": "TX", "country": null, "zip": "77315"}}, + {"object": "TrackingDetail", "message": "Arrived at USPS Facility", "description": + "", "status": "in_transit", "status_detail": "arrived_at_facility", "datetime": + "2023-12-21T22:27:19Z", "source": "USPS", "carrier_code": "", "tracking_location": + {"object": "TrackingLocation", "city": "COLUMBIA", "state": "SC", "country": + null, "zip": "29201"}}, {"object": "TrackingDetail", "message": "Arrived at + Post Office", "description": "", "status": "in_transit", "status_detail": + "arrived_at_facility", "datetime": "2023-12-22T01:18:19Z", "source": "USPS", + "carrier_code": "", "tracking_location": {"object": "TrackingLocation", "city": + "CHARLESTON", "state": "SC", "country": null, "zip": "29407"}}, {"object": + "TrackingDetail", "message": "Sorting Complete", "description": "", "status": + "in_transit", "status_detail": "status_update", "datetime": "2023-12-22T06:58:19Z", + "source": "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "CHARLESTON", "state": "SC", "country": null, "zip": "29407"}}, {"object": + "TrackingDetail", "message": "Out for Delivery", "description": "", "status": + "out_for_delivery", "status_detail": "out_for_delivery", "datetime": "2023-12-22T07:08:19Z", + "source": "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "CHARLESTON", "state": "SC", "country": null, "zip": "29407"}}, {"object": + "TrackingDetail", "message": "Delivered", "description": "", "status": "delivered", + "status_detail": "arrived_at_destination", "datetime": "2023-12-22T12:00:19Z", + "source": "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "CHARLESTON", "state": "SC", "country": null, "zip": "29407"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "NORTH HOUSTON", "state": "TX", "country": + null, "zip": "77315"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + {"object": "TrackingLocation", "city": "CHARLESTON", "state": "SC", "country": + null, "zip": "29407"}, "guaranteed_delivery_date": null, "alternate_identifier": + null, "initial_delivery_attempt": "2023-12-22T12:00:19Z"}, "public_url": "https://track.easypost.com/djE6dHJrXzI5OWNiZWE0NDkwZDQ0MjM5ZmJjMmQwYzEyNjYxMDcw"}, + "to_address": {"id": "adr_f88ea932b71611ee84c2ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T22:06:18+00:00", "updated_at": "2024-01-19T22:06:18+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_f89127b5b71611ee84c3ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T22:06:18+00:00", "updated_at": + "2024-01-19T22:06:18+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_f88ea932b71611ee84c2ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T22:06:18+00:00", "updated_at": "2024-01-19T22:06:18+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_55387450c6444cfc961f910a4a5ac1b0", + "object": "Shipment"}], "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '58235' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda865ab074fe799e1a800207891 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.685415' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_parcels_create.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_parcels_create.yaml new file mode 100644 index 00000000..fe48b7e6 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_parcels_create.yaml @@ -0,0 +1,503 @@ +interactions: +- request: + body: '{"parcel": {"length": "20.2", "width": "10.9", "height": "5", "weight": + "65.9"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '80' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/parcels + response: + body: + string: '{"id": "prcl_58f88a512a02497e8137327927906c04", "object": "Parcel", + "created_at": "2024-01-19T21:41:01Z", "updated_at": "2024-01-19T21:41:01Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '230' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/parcels/prcl_58f88a512a02497e8137327927906c04 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaec6de78b9ec2000cdf18 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.036018' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"parcel": {"length": "20.2", "width": "10.9", "height": "5", "weight": + "65.9"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '80' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/parcels + response: + body: + string: '{"id": "prcl_d4b5719f0f554f6dbd0a4bc9e97b1c5a", "object": "Parcel", + "created_at": "2024-01-19T21:43:29Z", "updated_at": "2024-01-19T21:43:29Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '230' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/parcels/prcl_d4b5719f0f554f6dbd0a4bc9e97b1c5a + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaed01e78ba409000d38ed + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.041518' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"parcel": {"length": "20.2", "width": "10.9", "height": "5", "weight": + "65.9"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '80' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/parcels + response: + body: + string: '{"id": "prcl_51626667f27042b6a055c5e97c2f2cc8", "object": "Parcel", + "created_at": "2024-01-19T21:47:21Z", "updated_at": "2024-01-19T21:47:21Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '230' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/parcels/prcl_51626667f27042b6a055c5e97c2f2cc8 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdad65aaede9e78bac8f00112f0a + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.033816' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"parcel": {"length": "20.2", "width": "10.9", "height": "5", "weight": + "65.9"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '80' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/parcels + response: + body: + string: '{"id": "prcl_bd57657d36654902854e82241fe1ed44", "object": "Parcel", + "created_at": "2024-01-19T21:49:16Z", "updated_at": "2024-01-19T21:49:16Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '230' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/parcels/prcl_bd57657d36654902854e82241fe1ed44 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdaa65aaee5ce78bb4b10011736d + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.137447' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"parcel": {"length": "20.2", "width": "10.9", "height": "5", "weight": + "65.9"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '80' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/parcels + response: + body: + string: '{"id": "prcl_ba86c73ac0eb48209b21894ef515129a", "object": "Parcel", + "created_at": "2024-01-19T21:58:35Z", "updated_at": "2024-01-19T21:58:35Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '230' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/parcels/prcl_ba86c73ac0eb48209b21894ef515129a + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaf08be798bf58000f764f + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.034210' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"parcel": {"length": "20.2", "width": "10.9", "height": "5", "weight": + "65.9"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '80' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/parcels + response: + body: + string: '{"id": "prcl_61c269cfa0f94ce1ba152e062289f13b", "object": "Parcel", + "created_at": "2024-01-19T22:01:29Z", "updated_at": "2024-01-19T22:01:29Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '230' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/parcels/prcl_61c269cfa0f94ce1ba152e062289f13b + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf139e798c4a3001006f0 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.034616' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"parcel": {"length": "20.2", "width": "10.9", "height": "5", "weight": + "65.9"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '80' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/parcels + response: + body: + string: '{"id": "prcl_b88721f9a1ba4ac594672afbfb16e848", "object": "Parcel", + "created_at": "2024-01-19T22:05:16Z", "updated_at": "2024-01-19T22:05:16Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '230' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/parcels/prcl_b88721f9a1ba4ac594672afbfb16e848 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf21ce798d0810010b267 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.030804' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_parcels_retrieve.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_parcels_retrieve.yaml new file mode 100644 index 00000000..e195298c --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_parcels_retrieve.yaml @@ -0,0 +1,951 @@ +interactions: +- request: + body: '{"parcel": {"length": "20.2", "width": "10.9", "height": "5", "weight": + "65.9"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '80' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/parcels + response: + body: + string: '{"id": "prcl_723c9187b4894dc187a748ab429e9cf6", "object": "Parcel", + "created_at": "2024-01-19T21:41:02Z", "updated_at": "2024-01-19T21:41:02Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '230' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/parcels/prcl_723c9187b4894dc187a748ab429e9cf6 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaec6ee78b9ec3000ce005 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.054105' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/parcels/prcl_723c9187b4894dc187a748ab429e9cf6 + response: + body: + string: '{"id": "prcl_723c9187b4894dc187a748ab429e9cf6", "object": "Parcel", + "created_at": "2024-01-19T21:41:02Z", "updated_at": "2024-01-19T21:41:02Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '230' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaec6ee78b9ec4000ce1af + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.026328' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"parcel": {"length": "20.2", "width": "10.9", "height": "5", "weight": + "65.9"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '80' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/parcels + response: + body: + string: '{"id": "prcl_d9b57b24913d462bbab480af4382d32f", "object": "Parcel", + "created_at": "2024-01-19T21:43:30Z", "updated_at": "2024-01-19T21:43:30Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '230' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/parcels/prcl_d9b57b24913d462bbab480af4382d32f + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaed02e78ba40a000d390e + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.032470' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/parcels/prcl_d9b57b24913d462bbab480af4382d32f + response: + body: + string: '{"id": "prcl_d9b57b24913d462bbab480af4382d32f", "object": "Parcel", + "created_at": "2024-01-19T21:43:30Z", "updated_at": "2024-01-19T21:43:30Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '230' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaed02e78ba40b000d3934 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.025904' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"parcel": {"length": "20.2", "width": "10.9", "height": "5", "weight": + "65.9"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '80' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/parcels + response: + body: + string: '{"id": "prcl_e6fcaa80846743639938e679426e70a1", "object": "Parcel", + "created_at": "2024-01-19T21:47:22Z", "updated_at": "2024-01-19T21:47:22Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '230' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/parcels/prcl_e6fcaa80846743639938e679426e70a1 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda865aaedeae78bac9000112f3b + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.036944' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/parcels/prcl_e6fcaa80846743639938e679426e70a1 + response: + body: + string: '{"id": "prcl_e6fcaa80846743639938e679426e70a1", "object": "Parcel", + "created_at": "2024-01-19T21:47:22Z", "updated_at": "2024-01-19T21:47:22Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '230' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdad65aaedeae78bac9100112f61 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.024403' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"parcel": {"length": "20.2", "width": "10.9", "height": "5", "weight": + "65.9"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '80' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/parcels + response: + body: + string: '{"id": "prcl_66fd6693c2c74f87ae775261e50c19f3", "object": "Parcel", + "created_at": "2024-01-19T21:49:16Z", "updated_at": "2024-01-19T21:49:16Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '230' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/parcels/prcl_66fd6693c2c74f87ae775261e50c19f3 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda965aaee5ce78bb4c90011739e + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.042966' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/parcels/prcl_66fd6693c2c74f87ae775261e50c19f3 + response: + body: + string: '{"id": "prcl_66fd6693c2c74f87ae775261e50c19f3", "object": "Parcel", + "created_at": "2024-01-19T21:49:16Z", "updated_at": "2024-01-19T21:49:16Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '230' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdaa65aaee5ce78bb4ca001173be + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.026602' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"parcel": {"length": "20.2", "width": "10.9", "height": "5", "weight": + "65.9"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '80' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/parcels + response: + body: + string: '{"id": "prcl_f24474843001475d87fa02b31201bbd9", "object": "Parcel", + "created_at": "2024-01-19T21:58:35Z", "updated_at": "2024-01-19T21:58:35Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '230' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/parcels/prcl_f24474843001475d87fa02b31201bbd9 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaf08be798bf59000f7690 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.047402' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/parcels/prcl_f24474843001475d87fa02b31201bbd9 + response: + body: + string: '{"id": "prcl_f24474843001475d87fa02b31201bbd9", "object": "Parcel", + "created_at": "2024-01-19T21:58:35Z", "updated_at": "2024-01-19T21:58:35Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '230' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf08ce798bf5a000f76be + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.025513' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"parcel": {"length": "20.2", "width": "10.9", "height": "5", "weight": + "65.9"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '80' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/parcels + response: + body: + string: '{"id": "prcl_5e0e7df829724332860ab482e3f762b1", "object": "Parcel", + "created_at": "2024-01-19T22:01:30Z", "updated_at": "2024-01-19T22:01:30Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '230' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/parcels/prcl_5e0e7df829724332860ab482e3f762b1 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaf13ae798c4a400100733 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.034790' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/parcels/prcl_5e0e7df829724332860ab482e3f762b1 + response: + body: + string: '{"id": "prcl_5e0e7df829724332860ab482e3f762b1", "object": "Parcel", + "created_at": "2024-01-19T22:01:30Z", "updated_at": "2024-01-19T22:01:30Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '230' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf13ae798c4a500100775 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.032602' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"parcel": {"length": "20.2", "width": "10.9", "height": "5", "weight": + "65.9"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '80' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/parcels + response: + body: + string: '{"id": "prcl_42b552be1f7646a6921edda395cde2d7", "object": "Parcel", + "created_at": "2024-01-19T22:05:16Z", "updated_at": "2024-01-19T22:05:16Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '230' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/parcels/prcl_42b552be1f7646a6921edda395cde2d7 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf21ce798d0820010b2a6 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.034165' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/parcels/prcl_42b552be1f7646a6921edda395cde2d7 + response: + body: + string: '{"id": "prcl_42b552be1f7646a6921edda395cde2d7", "object": "Parcel", + "created_at": "2024-01-19T22:05:16Z", "updated_at": "2024-01-19T22:05:16Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '230' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaf21ce798d09a0010b2e5 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.024654' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_pickups_buy.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_pickups_buy.yaml new file mode 100644 index 00000000..1ad07f0e --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_pickups_buy.yaml @@ -0,0 +1,2470 @@ +interactions: +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:41:09Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010707665", "updated_at": "2024-01-19T21:41:10Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_bd845d80c8c9444dac16b5ce2113a776", "object": "CustomsInfo", "created_at": + "2024-01-19T21:41:08Z", "updated_at": "2024-01-19T21:41:08Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_7aaf3780d09840fa8ad09f253a685586", + "object": "CustomsItem", "created_at": "2024-01-19T21:41:08Z", "updated_at": + "2024-01-19T21:41:08Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_74ecbfacb71311ee9945ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:41:08+00:00", "updated_at": + "2024-01-19T21:41:08+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_71cc37d017774e199fcde9638f9f5843", + "object": "Parcel", "created_at": "2024-01-19T21:41:08Z", "updated_at": "2024-01-19T21:41:08Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_106f5dd663bb40abbc0a8b27b2f44671", "created_at": "2024-01-19T21:41:09Z", + "updated_at": "2024-01-19T21:41:09Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:41:09Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8c797f7d71e75450f9c846197ab442e73.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_674516cb2d734389a2c6fc96f20f9133", "object": + "Rate", "created_at": "2024-01-19T21:41:09Z", "updated_at": "2024-01-19T21:41:09Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_0c127b7810a9497cae43f197a89077cc", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_cf64c3884eb0404ebacedfe06676b191", + "object": "Rate", "created_at": "2024-01-19T21:41:09Z", "updated_at": "2024-01-19T21:41:09Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_0c127b7810a9497cae43f197a89077cc", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_9fe3fb32c37d4a3493957af1c4f901f5", + "object": "Rate", "created_at": "2024-01-19T21:41:09Z", "updated_at": "2024-01-19T21:41:09Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_0c127b7810a9497cae43f197a89077cc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_72b11fbbf94e4af3a3674e5f1278321b", "object": "Rate", "created_at": + "2024-01-19T21:41:09Z", "updated_at": "2024-01-19T21:41:09Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_0c127b7810a9497cae43f197a89077cc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_1eef36916b344e9e9bc55027c2816432", "object": "Rate", "created_at": + "2024-01-19T21:41:09Z", "updated_at": "2024-01-19T21:41:09Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_0c127b7810a9497cae43f197a89077cc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_674516cb2d734389a2c6fc96f20f9133", + "object": "Rate", "created_at": "2024-01-19T21:41:09Z", "updated_at": "2024-01-19T21:41:09Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_0c127b7810a9497cae43f197a89077cc", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_cbe4079b0cf346778c265e2cf472f46b", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010707665", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:41:10Z", + "updated_at": "2024-01-19T21:41:10Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_0c127b7810a9497cae43f197a89077cc", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrX2NiZTQwNzliMGNmMzQ2Nzc4YzI2NWUyY2Y0NzJmNDZi"}, + "to_address": {"id": "adr_74e9a626b71311ee9a32ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:41:08+00:00", "updated_at": "2024-01-19T21:41:09+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_74ecbfacb71311ee9945ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:41:08+00:00", "updated_at": + "2024-01-19T21:41:08+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_74e9a626b71311ee9a32ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:41:08+00:00", "updated_at": "2024-01-19T21:41:09+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_0c127b7810a9497cae43f197a89077cc", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_0c127b7810a9497cae43f197a89077cc + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaec74e78b9ee1000ce9d9 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.394914' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"pickup": {"reference": "my-first-pickup", "min_datetime": "2024-01-22", + "max_datetime": "2024-01-22", "shipment": {"id": "shp_0c127b7810a9497cae43f197a89077cc"}, + "address": {"name": "Dr. Steve Brule", "street1": "179 N Harbor Dr", "city": + "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "phone": "8573875756", + "email": "dr_steve_brule@gmail.com"}, "is_account_address": "false", "instructions": + "Special pickup instructions"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '445' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/pickups + response: + body: + string: '{"id": "pickup_db5cb87e14e94e159a444af91d8fcdc2", "object": "Pickup", + "created_at": "2024-01-19T21:41:10Z", "updated_at": "2024-01-19T21:41:10Z", + "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": + "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": + false, "instructions": "Special pickup instructions", "messages": [], "confirmation": + null, "address": {"id": "adr_75f030e9b71311eea934ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:41:10+00:00", "updated_at": "2024-01-19T21:41:10+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": + [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", + "created_at": "2024-01-19T21:41:11Z", "updated_at": "2024-01-19T21:41:11Z", + "carrier": "USPS", "pickup_id": "pickup_db5cb87e14e94e159a444af91d8fcdc2", + "id": "pickuprate_b74039cec56944a8a21d28dce270a31b", "object": "PickupRate"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1184' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaec76e78b9ee2000ceae3 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.616938' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"carrier": "USPS", "service": "NextDay"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '41' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/pickups/pickup_db5cb87e14e94e159a444af91d8fcdc2/buy + response: + body: + string: '{"id": "pickup_db5cb87e14e94e159a444af91d8fcdc2", "object": "Pickup", + "created_at": "2024-01-19T21:41:10Z", "updated_at": "2024-01-19T21:41:22Z", + "mode": "test", "status": "scheduled", "reference": "my-first-pickup", "min_datetime": + "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": + false, "instructions": "Special pickup instructions", "messages": [], "confirmation": + "WTC64043474", "address": {"id": "adr_75f030e9b71311eea934ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:41:10+00:00", "updated_at": "2024-01-19T21:41:10+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": + [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", + "created_at": "2024-01-19T21:41:11Z", "updated_at": "2024-01-19T21:41:11Z", + "carrier": "USPS", "pickup_id": "pickup_db5cb87e14e94e159a444af91d8fcdc2", + "id": "pickuprate_b74039cec56944a8a21d28dce270a31b", "object": "PickupRate"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1195' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaec81e78b9ee5000cf159 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.021983' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:43:35Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010708037", "updated_at": "2024-01-19T21:43:36Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_77ff2f09613e47c59564f0c3163d0d2b", "object": "CustomsInfo", "created_at": + "2024-01-19T21:43:35Z", "updated_at": "2024-01-19T21:43:35Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_ec2775377a24445ba331b2105d606479", + "object": "CustomsItem", "created_at": "2024-01-19T21:43:35Z", "updated_at": + "2024-01-19T21:43:35Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_cc51fa04b71311eeb912ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:43:35+00:00", "updated_at": + "2024-01-19T21:43:35+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_57115dd1caa445fe98e5f1d442fd3d1d", + "object": "Parcel", "created_at": "2024-01-19T21:43:35Z", "updated_at": "2024-01-19T21:43:35Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_459f3dd2cb1a4d40b784ecf69c2dd283", "created_at": "2024-01-19T21:43:36Z", + "updated_at": "2024-01-19T21:43:36Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:43:36Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8f9888133e6144f8fb145385aaf57218e.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_325e2c33f2804cbe8c9435ad57860688", "object": + "Rate", "created_at": "2024-01-19T21:43:35Z", "updated_at": "2024-01-19T21:43:35Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_9c39af795f3f40c884fd166f9964d554", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_5c0ca79fa1b44d45a6773776d0931f7c", + "object": "Rate", "created_at": "2024-01-19T21:43:35Z", "updated_at": "2024-01-19T21:43:35Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_9c39af795f3f40c884fd166f9964d554", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_d7c9914d09f642429dfd9c54b2e4d9e6", "object": "Rate", "created_at": + "2024-01-19T21:43:35Z", "updated_at": "2024-01-19T21:43:35Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_9c39af795f3f40c884fd166f9964d554", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_5edcd96946a74c3fa9b668090be0c71a", "object": "Rate", "created_at": + "2024-01-19T21:43:35Z", "updated_at": "2024-01-19T21:43:35Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_9c39af795f3f40c884fd166f9964d554", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_b1d3a552048848fdb5dd90b92837bb93", "object": "Rate", "created_at": + "2024-01-19T21:43:35Z", "updated_at": "2024-01-19T21:43:35Z", "mode": "test", + "service": "Priority", "carrier": "USPS", "rate": "7.99", "currency": "USD", + "retail_rate": "14.05", "retail_currency": "USD", "list_rate": "10.27", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": + "shp_9c39af795f3f40c884fd166f9964d554", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_b1d3a552048848fdb5dd90b92837bb93", + "object": "Rate", "created_at": "2024-01-19T21:43:36Z", "updated_at": "2024-01-19T21:43:36Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_9c39af795f3f40c884fd166f9964d554", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_39598a376735435aa528d27b4114bc0d", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708037", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:43:36Z", + "updated_at": "2024-01-19T21:43:36Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_9c39af795f3f40c884fd166f9964d554", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzM5NTk4YTM3NjczNTQzNWFhNTI4ZDI3YjQxMTRiYzBk"}, + "to_address": {"id": "adr_cc509fb5b71311ee8829ac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T21:43:35+00:00", "updated_at": "2024-01-19T21:43:35+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_cc51fa04b71311eeb912ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:43:35+00:00", "updated_at": + "2024-01-19T21:43:35+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_cc509fb5b71311ee8829ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:43:35+00:00", "updated_at": "2024-01-19T21:43:35+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_9c39af795f3f40c884fd166f9964d554", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_9c39af795f3f40c884fd166f9964d554 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaed07e78ba42d000d3c91 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.046452' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"pickup": {"reference": "my-first-pickup", "min_datetime": "2024-01-22", + "max_datetime": "2024-01-22", "shipment": {"id": "shp_9c39af795f3f40c884fd166f9964d554"}, + "address": {"name": "Dr. Steve Brule", "street1": "179 N Harbor Dr", "city": + "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "phone": "8573875756", + "email": "dr_steve_brule@gmail.com"}, "is_account_address": "false", "instructions": + "Special pickup instructions"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '445' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/pickups + response: + body: + string: '{"id": "pickup_0d2db549cef84521aed50ad972379243", "object": "Pickup", + "created_at": "2024-01-19T21:43:36Z", "updated_at": "2024-01-19T21:43:36Z", + "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": + "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": + false, "instructions": "Special pickup instructions", "messages": [], "confirmation": + null, "address": {"id": "adr_cd22f619b71311eeb950ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:43:36+00:00", "updated_at": "2024-01-19T21:43:36+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": + [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", + "created_at": "2024-01-19T21:43:37Z", "updated_at": "2024-01-19T21:43:37Z", + "carrier": "USPS", "pickup_id": "pickup_0d2db549cef84521aed50ad972379243", + "id": "pickuprate_c6b735739c8648c39e05d598f842ae40", "object": "PickupRate"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1184' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaed08e78ba42f000d3d43 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.712283' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"carrier": "USPS", "service": "NextDay"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '41' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/pickups/pickup_0d2db549cef84521aed50ad972379243/buy + response: + body: + string: '{"id": "pickup_0d2db549cef84521aed50ad972379243", "object": "Pickup", + "created_at": "2024-01-19T21:43:36Z", "updated_at": "2024-01-19T21:43:38Z", + "mode": "test", "status": "scheduled", "reference": "my-first-pickup", "min_datetime": + "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": + false, "instructions": "Special pickup instructions", "messages": [], "confirmation": + "WTC64043434", "address": {"id": "adr_cd22f619b71311eeb950ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:43:36+00:00", "updated_at": "2024-01-19T21:43:36+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": + [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", + "created_at": "2024-01-19T21:43:37Z", "updated_at": "2024-01-19T21:43:37Z", + "carrier": "USPS", "pickup_id": "pickup_0d2db549cef84521aed50ad972379243", + "id": "pickuprate_c6b735739c8648c39e05d598f842ae40", "object": "PickupRate"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1195' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaed09e78ba430000d3de0 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.985871' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:47:27Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010708464", "updated_at": "2024-01-19T21:47:28Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_7be2148bfd6a4ef0955ee1c35a88b642", "object": "CustomsInfo", "created_at": + "2024-01-19T21:47:27Z", "updated_at": "2024-01-19T21:47:27Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_53aa77a27f1a4bc8b82ba5cb071b9bf9", + "object": "CustomsItem", "created_at": "2024-01-19T21:47:27Z", "updated_at": + "2024-01-19T21:47:27Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_56abd0f7b71411eea2a53cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:47:27+00:00", "updated_at": + "2024-01-19T21:47:27+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_a3b107f4e1c44050bca4b95c8071bee2", + "object": "Parcel", "created_at": "2024-01-19T21:47:27Z", "updated_at": "2024-01-19T21:47:27Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_3e22b876236446cb96c127a8656d6ba7", "created_at": "2024-01-19T21:47:28Z", + "updated_at": "2024-01-19T21:47:28Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:47:28Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e85c29a00e67b4457fb1c123d4747d74e1.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_d53c187e48ff4836a4c7d2182f33b288", "object": + "Rate", "created_at": "2024-01-19T21:47:27Z", "updated_at": "2024-01-19T21:47:27Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_d87f39ecf2db4f688cc297ac8a3c24b1", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_0bfc8ab9976a4217831da4b14bbda8fb", + "object": "Rate", "created_at": "2024-01-19T21:47:27Z", "updated_at": "2024-01-19T21:47:27Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_d87f39ecf2db4f688cc297ac8a3c24b1", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_356e752aa5d14b5d921c72dd1210f43f", + "object": "Rate", "created_at": "2024-01-19T21:47:27Z", "updated_at": "2024-01-19T21:47:27Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_d87f39ecf2db4f688cc297ac8a3c24b1", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_ec585bbe08f44d6bb93e055229156dfe", + "object": "Rate", "created_at": "2024-01-19T21:47:27Z", "updated_at": "2024-01-19T21:47:27Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_d87f39ecf2db4f688cc297ac8a3c24b1", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_406d5b462b7646518d046fbd05d5ce32", "object": "Rate", "created_at": + "2024-01-19T21:47:27Z", "updated_at": "2024-01-19T21:47:27Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_d87f39ecf2db4f688cc297ac8a3c24b1", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_0bfc8ab9976a4217831da4b14bbda8fb", + "object": "Rate", "created_at": "2024-01-19T21:47:28Z", "updated_at": "2024-01-19T21:47:28Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_d87f39ecf2db4f688cc297ac8a3c24b1", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_45ca8bbcf6c942b6aa85f8758256bcb1", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708464", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:47:28Z", + "updated_at": "2024-01-19T21:47:28Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_d87f39ecf2db4f688cc297ac8a3c24b1", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzQ1Y2E4YmJjZjZjOTQyYjZhYTg1Zjg3NTgyNTZiY2Ix"}, + "to_address": {"id": "adr_56a8cfc4b71411eea4d6ac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T21:47:27+00:00", "updated_at": "2024-01-19T21:47:27+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_56abd0f7b71411eea2a53cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:47:27+00:00", "updated_at": + "2024-01-19T21:47:27+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_56a8cfc4b71411eea4d6ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:47:27+00:00", "updated_at": "2024-01-19T21:47:27+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_d87f39ecf2db4f688cc297ac8a3c24b1", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_d87f39ecf2db4f688cc297ac8a3c24b1 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdac65aaedefe78bacae001132c9 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '1.202343' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"pickup": {"reference": "my-first-pickup", "min_datetime": "2024-01-22", + "max_datetime": "2024-01-22", "shipment": {"id": "shp_d87f39ecf2db4f688cc297ac8a3c24b1"}, + "address": {"name": "Dr. Steve Brule", "street1": "179 N Harbor Dr", "city": + "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "phone": "8573875756", + "email": "dr_steve_brule@gmail.com"}, "is_account_address": "false", "instructions": + "Special pickup instructions"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '445' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/pickups + response: + body: + string: '{"id": "pickup_4e40e44c98d44564ac1d556765117d02", "object": "Pickup", + "created_at": "2024-01-19T21:47:29Z", "updated_at": "2024-01-19T21:47:29Z", + "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": + "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": + false, "instructions": "Special pickup instructions", "messages": [], "confirmation": + null, "address": {"id": "adr_5781c945b71411eea505ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:47:29+00:00", "updated_at": "2024-01-19T21:47:29+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": + [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", + "created_at": "2024-01-19T21:47:29Z", "updated_at": "2024-01-19T21:47:29Z", + "carrier": "USPS", "pickup_id": "pickup_4e40e44c98d44564ac1d556765117d02", + "id": "pickuprate_5a8e9dce0c884a6c8b36eba7ca1fe748", "object": "PickupRate"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1184' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdac65aaedf1e78bacaf001133a2 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.633179' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"carrier": "USPS", "service": "NextDay"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '41' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/pickups/pickup_4e40e44c98d44564ac1d556765117d02/buy + response: + body: + string: '{"id": "pickup_4e40e44c98d44564ac1d556765117d02", "object": "Pickup", + "created_at": "2024-01-19T21:47:29Z", "updated_at": "2024-01-19T21:47:30Z", + "mode": "test", "status": "scheduled", "reference": "my-first-pickup", "min_datetime": + "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": + false, "instructions": "Special pickup instructions", "messages": [], "confirmation": + "WTC64043278", "address": {"id": "adr_5781c945b71411eea505ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:47:29+00:00", "updated_at": "2024-01-19T21:47:29+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": + [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", + "created_at": "2024-01-19T21:47:29Z", "updated_at": "2024-01-19T21:47:29Z", + "carrier": "USPS", "pickup_id": "pickup_4e40e44c98d44564ac1d556765117d02", + "id": "pickuprate_5a8e9dce0c884a6c8b36eba7ca1fe748", "object": "PickupRate"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1195' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdaa65aaedf1e78bacb000113423 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.829707' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:49:22Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010708990", "updated_at": "2024-01-19T21:49:23Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_0e0f34b10fe7448fab0f8ab2aaadf5ce", "object": "CustomsInfo", "created_at": + "2024-01-19T21:49:22Z", "updated_at": "2024-01-19T21:49:22Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_32573289991342189133ac0a5301b1ae", + "object": "CustomsItem", "created_at": "2024-01-19T21:49:22Z", "updated_at": + "2024-01-19T21:49:22Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_9b46728cb71411eeb88b3cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:49:22+00:00", "updated_at": + "2024-01-19T21:49:22+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_6b4c309bea1a466f9325aa0018ad8ac9", + "object": "Parcel", "created_at": "2024-01-19T21:49:22Z", "updated_at": "2024-01-19T21:49:22Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_0f63eafdaef8473ab3bb13892676fedc", "created_at": "2024-01-19T21:49:23Z", + "updated_at": "2024-01-19T21:49:23Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:49:23Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e82e85ebebe5db44a9abd8dccd775a62fb.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_b7d09b8ac50d48429f28277c775980c1", "object": + "Rate", "created_at": "2024-01-19T21:49:22Z", "updated_at": "2024-01-19T21:49:22Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_063b4eebf50b4ce092073d3a1e163bf3", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_8f99ea92547d471993bf736dc78573ee", + "object": "Rate", "created_at": "2024-01-19T21:49:22Z", "updated_at": "2024-01-19T21:49:22Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_063b4eebf50b4ce092073d3a1e163bf3", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_edabedbb07534400af70b7fd722c509f", + "object": "Rate", "created_at": "2024-01-19T21:49:22Z", "updated_at": "2024-01-19T21:49:22Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_063b4eebf50b4ce092073d3a1e163bf3", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_cc5aa5264e95452ba22777e1cbadf8d3", "object": "Rate", "created_at": + "2024-01-19T21:49:22Z", "updated_at": "2024-01-19T21:49:22Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_063b4eebf50b4ce092073d3a1e163bf3", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_99c2955da03b4a96a43b8cb312a6c3ea", "object": "Rate", "created_at": + "2024-01-19T21:49:22Z", "updated_at": "2024-01-19T21:49:22Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_063b4eebf50b4ce092073d3a1e163bf3", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_b7d09b8ac50d48429f28277c775980c1", + "object": "Rate", "created_at": "2024-01-19T21:49:23Z", "updated_at": "2024-01-19T21:49:23Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_063b4eebf50b4ce092073d3a1e163bf3", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_ea029c821a9b4492b73b381076478d2d", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708990", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:49:23Z", + "updated_at": "2024-01-19T21:49:23Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_063b4eebf50b4ce092073d3a1e163bf3", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrX2VhMDI5YzgyMWE5YjQ0OTJiNzNiMzgxMDc2NDc4ZDJk"}, + "to_address": {"id": "adr_9b43c75ab71411eeba1eac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T21:49:22+00:00", "updated_at": "2024-01-19T21:49:23+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_9b46728cb71411eeb88b3cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:49:22+00:00", "updated_at": + "2024-01-19T21:49:22+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_9b43c75ab71411eeba1eac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:49:22+00:00", "updated_at": "2024-01-19T21:49:23+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_063b4eebf50b4ce092073d3a1e163bf3", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_063b4eebf50b4ce092073d3a1e163bf3 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda765aaee62e78bb4d100117737 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.994791' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"pickup": {"reference": "my-first-pickup", "min_datetime": "2024-01-22", + "max_datetime": "2024-01-22", "shipment": {"id": "shp_063b4eebf50b4ce092073d3a1e163bf3"}, + "address": {"name": "Dr. Steve Brule", "street1": "179 N Harbor Dr", "city": + "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "phone": "8573875756", + "email": "dr_steve_brule@gmail.com"}, "is_account_address": "false", "instructions": + "Special pickup instructions"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '445' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/pickups + response: + body: + string: '{"id": "pickup_fd187b12c6aa465c8965587eebe3c57e", "object": "Pickup", + "created_at": "2024-01-19T21:49:24Z", "updated_at": "2024-01-19T21:49:24Z", + "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": + "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": + false, "instructions": "Special pickup instructions", "messages": [], "confirmation": + null, "address": {"id": "adr_9bfec4e3b71411eeba50ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:49:23+00:00", "updated_at": "2024-01-19T21:49:23+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": + [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", + "created_at": "2024-01-19T21:49:24Z", "updated_at": "2024-01-19T21:49:24Z", + "carrier": "USPS", "pickup_id": "pickup_fd187b12c6aa465c8965587eebe3c57e", + "id": "pickuprate_7d3321d2eb2c4493942ad6bb4fa7a04a", "object": "PickupRate"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1184' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda865aaee63e78bb4d2001177cb + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.705818' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"carrier": "USPS", "service": "NextDay"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '41' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/pickups/pickup_fd187b12c6aa465c8965587eebe3c57e/buy + response: + body: + string: '{"id": "pickup_fd187b12c6aa465c8965587eebe3c57e", "object": "Pickup", + "created_at": "2024-01-19T21:49:24Z", "updated_at": "2024-01-19T21:49:25Z", + "mode": "test", "status": "scheduled", "reference": "my-first-pickup", "min_datetime": + "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": + false, "instructions": "Special pickup instructions", "messages": [], "confirmation": + "WTC64043488", "address": {"id": "adr_9bfec4e3b71411eeba50ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:49:23+00:00", "updated_at": "2024-01-19T21:49:23+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": + [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", + "created_at": "2024-01-19T21:49:24Z", "updated_at": "2024-01-19T21:49:24Z", + "carrier": "USPS", "pickup_id": "pickup_fd187b12c6aa465c8965587eebe3c57e", + "id": "pickuprate_7d3321d2eb2c4493942ad6bb4fa7a04a", "object": "PickupRate"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1195' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdab65aaee64e78bb4ea00117845 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.828842' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:58:41Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010711464", "updated_at": "2024-01-19T21:58:42Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_b2621d944a5b415e92ce7cdf76b52c13", "object": "CustomsInfo", "created_at": + "2024-01-19T21:58:41Z", "updated_at": "2024-01-19T21:58:41Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_97ecbf4fb3e34922905677fb4d3211cb", + "object": "CustomsItem", "created_at": "2024-01-19T21:58:41Z", "updated_at": + "2024-01-19T21:58:41Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_e859733eb71511eeba33ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:58:41+00:00", "updated_at": + "2024-01-19T21:58:41+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_79844ad153594b269c6513f7a0e270c0", + "object": "Parcel", "created_at": "2024-01-19T21:58:41Z", "updated_at": "2024-01-19T21:58:41Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_ae28cbf4c0e14e3cac05509f7aae90e5", "created_at": "2024-01-19T21:58:42Z", + "updated_at": "2024-01-19T21:58:42Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:58:42Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e893d0540d5e9e4539b38b552189d4fc76.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_c162e991a8474237886ac9c1de7c5b99", "object": + "Rate", "created_at": "2024-01-19T21:58:41Z", "updated_at": "2024-01-19T21:58:41Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_70d9e3c237394794a887b61148d8bddd", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_503ef40ca605477c992dfc0ec76384d8", + "object": "Rate", "created_at": "2024-01-19T21:58:41Z", "updated_at": "2024-01-19T21:58:41Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_70d9e3c237394794a887b61148d8bddd", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_9e7ae5dff4a44e62be7a2a7a65e1f4b1", + "object": "Rate", "created_at": "2024-01-19T21:58:41Z", "updated_at": "2024-01-19T21:58:41Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_70d9e3c237394794a887b61148d8bddd", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_584e3f4c733040679bd78a8c6802ff32", + "object": "Rate", "created_at": "2024-01-19T21:58:41Z", "updated_at": "2024-01-19T21:58:41Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_70d9e3c237394794a887b61148d8bddd", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_27b8f6f922de4154acc86f8effaa3fcf", "object": "Rate", "created_at": + "2024-01-19T21:58:41Z", "updated_at": "2024-01-19T21:58:41Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_70d9e3c237394794a887b61148d8bddd", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_503ef40ca605477c992dfc0ec76384d8", + "object": "Rate", "created_at": "2024-01-19T21:58:42Z", "updated_at": "2024-01-19T21:58:42Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_70d9e3c237394794a887b61148d8bddd", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_e34d16545d3c431984ffc6b5ee12bc8b", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711464", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:58:42Z", + "updated_at": "2024-01-19T21:58:42Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_70d9e3c237394794a887b61148d8bddd", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrX2UzNGQxNjU0NWQzYzQzMTk4NGZmYzZiNWVlMTJiYzhi"}, + "to_address": {"id": "adr_e8570356b71511eea7a03cecef1b359e", "object": "Address", + "created_at": "2024-01-19T21:58:41+00:00", "updated_at": "2024-01-19T21:58:41+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_e859733eb71511eeba33ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:58:41+00:00", "updated_at": + "2024-01-19T21:58:41+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_e8570356b71511eea7a03cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:58:41+00:00", "updated_at": "2024-01-19T21:58:41+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_70d9e3c237394794a887b61148d8bddd", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_70d9e3c237394794a887b61148d8bddd + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf091e798bf78000f7968 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.058581' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"pickup": {"reference": "my-first-pickup", "min_datetime": "2024-01-22", + "max_datetime": "2024-01-22", "shipment": {"id": "shp_70d9e3c237394794a887b61148d8bddd"}, + "address": {"name": "Dr. Steve Brule", "street1": "179 N Harbor Dr", "city": + "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "phone": "8573875756", + "email": "dr_steve_brule@gmail.com"}, "is_account_address": "false", "instructions": + "Special pickup instructions"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '445' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/pickups + response: + body: + string: '{"id": "pickup_fbbc2d562c11468fba26fba5bb5017f0", "object": "Pickup", + "created_at": "2024-01-19T21:58:42Z", "updated_at": "2024-01-19T21:58:42Z", + "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": + "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": + false, "instructions": "Special pickup instructions", "messages": [], "confirmation": + null, "address": {"id": "adr_e91b9921b71511eeabdaac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:58:42+00:00", "updated_at": "2024-01-19T21:58:42+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": + [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", + "created_at": "2024-01-19T21:58:43Z", "updated_at": "2024-01-19T21:58:43Z", + "carrier": "USPS", "pickup_id": "pickup_fbbc2d562c11468fba26fba5bb5017f0", + "id": "pickuprate_0fe420fc2e1a436792ac76936918e8c6", "object": "PickupRate"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1184' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf092e798bf79000f7a2e + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.718468' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"carrier": "USPS", "service": "NextDay"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '41' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/pickups/pickup_fbbc2d562c11468fba26fba5bb5017f0/buy + response: + body: + string: '{"id": "pickup_fbbc2d562c11468fba26fba5bb5017f0", "object": "Pickup", + "created_at": "2024-01-19T21:58:42Z", "updated_at": "2024-01-19T21:58:44Z", + "mode": "test", "status": "scheduled", "reference": "my-first-pickup", "min_datetime": + "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": + false, "instructions": "Special pickup instructions", "messages": [], "confirmation": + "WTC64043516", "address": {"id": "adr_e91b9921b71511eeabdaac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:58:42+00:00", "updated_at": "2024-01-19T21:58:42+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": + [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", + "created_at": "2024-01-19T21:58:43Z", "updated_at": "2024-01-19T21:58:43Z", + "carrier": "USPS", "pickup_id": "pickup_fbbc2d562c11468fba26fba5bb5017f0", + "id": "pickuprate_0fe420fc2e1a436792ac76936918e8c6", "object": "PickupRate"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1195' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaf093e798bf7a000f7ab8 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.917081' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T22:01:35Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010711891", "updated_at": "2024-01-19T22:01:36Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_58f78d4dc5c243d684fc78afee0dce5a", "object": "CustomsInfo", "created_at": + "2024-01-19T22:01:35Z", "updated_at": "2024-01-19T22:01:35Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_749a2be5316c4f2ebdca35ac71c2782c", + "object": "CustomsItem", "created_at": "2024-01-19T22:01:35Z", "updated_at": + "2024-01-19T22:01:35Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_503ed388b71611ee8b12ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:01:35+00:00", "updated_at": + "2024-01-19T22:01:35+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_8859d99e2f524eff9e4c40aea42adb3a", + "object": "Parcel", "created_at": "2024-01-19T22:01:35Z", "updated_at": "2024-01-19T22:01:35Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_f3aab24695cd4dc8893e6368ffa72822", "created_at": "2024-01-19T22:01:36Z", + "updated_at": "2024-01-19T22:01:36Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T22:01:36Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e87fe62e6ae3d34fcb8ea82a28b2f30680.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_cef3b9a14d8d464c995befbeb2940280", "object": + "Rate", "created_at": "2024-01-19T22:01:36Z", "updated_at": "2024-01-19T22:01:36Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_5340913ad6b540a08d3dffc8fc60c94a", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_41f146a319374a26b8bbebd3c34683ba", + "object": "Rate", "created_at": "2024-01-19T22:01:36Z", "updated_at": "2024-01-19T22:01:36Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_5340913ad6b540a08d3dffc8fc60c94a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_5aacbcedf75c49baa6bcd0dec0d174d3", "object": "Rate", "created_at": + "2024-01-19T22:01:36Z", "updated_at": "2024-01-19T22:01:36Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_5340913ad6b540a08d3dffc8fc60c94a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_6cddef2c1a304736beda319cc443bab4", "object": "Rate", "created_at": + "2024-01-19T22:01:36Z", "updated_at": "2024-01-19T22:01:36Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_5340913ad6b540a08d3dffc8fc60c94a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_dbeda69e9d4849b2a67347fd5ffb15ac", "object": "Rate", "created_at": + "2024-01-19T22:01:36Z", "updated_at": "2024-01-19T22:01:36Z", "mode": "test", + "service": "Priority", "carrier": "USPS", "rate": "7.99", "currency": "USD", + "retail_rate": "14.05", "retail_currency": "USD", "list_rate": "10.27", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": + "shp_5340913ad6b540a08d3dffc8fc60c94a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_dbeda69e9d4849b2a67347fd5ffb15ac", + "object": "Rate", "created_at": "2024-01-19T22:01:36Z", "updated_at": "2024-01-19T22:01:36Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_5340913ad6b540a08d3dffc8fc60c94a", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_40db8f3584b34f35b706baa2e9dbf97c", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711891", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:01:36Z", + "updated_at": "2024-01-19T22:01:36Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_5340913ad6b540a08d3dffc8fc60c94a", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzQwZGI4ZjM1ODRiMzRmMzViNzA2YmFhMmU5ZGJmOTdj"}, + "to_address": {"id": "adr_503c1fbab71611ee8ccaac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T22:01:35+00:00", "updated_at": "2024-01-19T22:01:36+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_503ed388b71611ee8b12ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:01:35+00:00", "updated_at": + "2024-01-19T22:01:35+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_503c1fbab71611ee8ccaac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T22:01:35+00:00", "updated_at": "2024-01-19T22:01:36+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_5340913ad6b540a08d3dffc8fc60c94a", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_5340913ad6b540a08d3dffc8fc60c94a + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaf13fe798c4c600100cd1 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.948231' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"pickup": {"reference": "my-first-pickup", "min_datetime": "2024-01-22", + "max_datetime": "2024-01-22", "shipment": {"id": "shp_5340913ad6b540a08d3dffc8fc60c94a"}, + "address": {"name": "Dr. Steve Brule", "street1": "179 N Harbor Dr", "city": + "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "phone": "8573875756", + "email": "dr_steve_brule@gmail.com"}, "is_account_address": "false", "instructions": + "Special pickup instructions"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '445' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/pickups + response: + body: + string: '{"id": "pickup_cf6094ad2c0c40deabdb25eb25afb4a6", "object": "Pickup", + "created_at": "2024-01-19T22:01:37Z", "updated_at": "2024-01-19T22:01:37Z", + "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": + "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": + false, "instructions": "Special pickup instructions", "messages": [], "confirmation": + null, "address": {"id": "adr_50f0d42eb71611ee89263cecef1b359e", "object": + "Address", "created_at": "2024-01-19T22:01:37+00:00", "updated_at": "2024-01-19T22:01:37+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": + [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", + "created_at": "2024-01-19T22:01:37Z", "updated_at": "2024-01-19T22:01:37Z", + "carrier": "USPS", "pickup_id": "pickup_cf6094ad2c0c40deabdb25eb25afb4a6", + "id": "pickuprate_a5ec323be3e24b339fab0ef6ec5be37e", "object": "PickupRate"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1184' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf140e798c7d600100de5 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.643820' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"carrier": "USPS", "service": "NextDay"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '41' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/pickups/pickup_cf6094ad2c0c40deabdb25eb25afb4a6/buy + response: + body: + string: '{"id": "pickup_cf6094ad2c0c40deabdb25eb25afb4a6", "object": "Pickup", + "created_at": "2024-01-19T22:01:37Z", "updated_at": "2024-01-19T22:01:38Z", + "mode": "test", "status": "scheduled", "reference": "my-first-pickup", "min_datetime": + "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": + false, "instructions": "Special pickup instructions", "messages": [], "confirmation": + "WTC64043610", "address": {"id": "adr_50f0d42eb71611ee89263cecef1b359e", "object": + "Address", "created_at": "2024-01-19T22:01:37+00:00", "updated_at": "2024-01-19T22:01:37+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": + [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", + "created_at": "2024-01-19T22:01:37Z", "updated_at": "2024-01-19T22:01:37Z", + "carrier": "USPS", "pickup_id": "pickup_cf6094ad2c0c40deabdb25eb25afb4a6", + "id": "pickuprate_a5ec323be3e24b339fab0ef6ec5be37e", "object": "PickupRate"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1195' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaf142e798c7d700100efc + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.910559' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T22:05:22Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010712669", "updated_at": "2024-01-19T22:05:23Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_970e6b27b45e4b26bd64d0b95555a725", "object": "CustomsInfo", "created_at": + "2024-01-19T22:05:22Z", "updated_at": "2024-01-19T22:05:22Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_6eb3e409d709401b876b3b04f5db9e07", + "object": "CustomsItem", "created_at": "2024-01-19T22:05:22Z", "updated_at": + "2024-01-19T22:05:22Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_d78f06b6b71611eeb40a3cecef1b359e", + "object": "Address", "created_at": "2024-01-19T22:05:22+00:00", "updated_at": + "2024-01-19T22:05:22+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_b8e2a934b9ae40f2840bf6153b60c33a", + "object": "Parcel", "created_at": "2024-01-19T22:05:22Z", "updated_at": "2024-01-19T22:05:22Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_c8b1245a5ec542df9eddc9f833275e3f", "created_at": "2024-01-19T22:05:23Z", + "updated_at": "2024-01-19T22:05:23Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T22:05:23Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e86245712a837d4091b5ca5c3ef1fe8a22.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_1003c002de6c4dd4b6019c1e65fe34d0", "object": + "Rate", "created_at": "2024-01-19T22:05:23Z", "updated_at": "2024-01-19T22:05:23Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_aacd087852974fb0a64015414f158415", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_366600bb8ed6422e845025d75d96dbf1", + "object": "Rate", "created_at": "2024-01-19T22:05:23Z", "updated_at": "2024-01-19T22:05:23Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_aacd087852974fb0a64015414f158415", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_047f9a0ba9bf42dbbf13496c00bce0d9", + "object": "Rate", "created_at": "2024-01-19T22:05:23Z", "updated_at": "2024-01-19T22:05:23Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_aacd087852974fb0a64015414f158415", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_49c5c25d5cc74f30a935aaaf96a45de1", "object": "Rate", "created_at": + "2024-01-19T22:05:23Z", "updated_at": "2024-01-19T22:05:23Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_aacd087852974fb0a64015414f158415", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_8820bebdea454fbbb4b1daeac59ff02a", "object": "Rate", "created_at": + "2024-01-19T22:05:23Z", "updated_at": "2024-01-19T22:05:23Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_aacd087852974fb0a64015414f158415", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_1003c002de6c4dd4b6019c1e65fe34d0", + "object": "Rate", "created_at": "2024-01-19T22:05:23Z", "updated_at": "2024-01-19T22:05:23Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_aacd087852974fb0a64015414f158415", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_241cc9c441274f9a928d601813be9bba", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010712669", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:05:23Z", + "updated_at": "2024-01-19T22:05:23Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_aacd087852974fb0a64015414f158415", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzI0MWNjOWM0NDEyNzRmOWE5MjhkNjAxODEzYmU5YmJh"}, + "to_address": {"id": "adr_d78c923db71611eeb895ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T22:05:22+00:00", "updated_at": "2024-01-19T22:05:23+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_d78f06b6b71611eeb40a3cecef1b359e", + "object": "Address", "created_at": "2024-01-19T22:05:22+00:00", "updated_at": + "2024-01-19T22:05:22+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_d78c923db71611eeb895ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T22:05:22+00:00", "updated_at": "2024-01-19T22:05:23+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_aacd087852974fb0a64015414f158415", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_aacd087852974fb0a64015414f158415 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf222e798d0a00010b6f3 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.888784' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"pickup": {"reference": "my-first-pickup", "min_datetime": "2024-01-22", + "max_datetime": "2024-01-22", "shipment": {"id": "shp_aacd087852974fb0a64015414f158415"}, + "address": {"name": "Dr. Steve Brule", "street1": "179 N Harbor Dr", "city": + "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "phone": "8573875756", + "email": "dr_steve_brule@gmail.com"}, "is_account_address": "false", "instructions": + "Special pickup instructions"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '445' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/pickups + response: + body: + string: '{"id": "pickup_56522c26a7484d8e91fb5be29e6bd85e", "object": "Pickup", + "created_at": "2024-01-19T22:05:24Z", "updated_at": "2024-01-19T22:05:24Z", + "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": + "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": + false, "instructions": "Special pickup instructions", "messages": [], "confirmation": + null, "address": {"id": "adr_d837f6cfb71611eeb665ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T22:05:23+00:00", "updated_at": "2024-01-19T22:05:23+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": + [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", + "created_at": "2024-01-19T22:05:24Z", "updated_at": "2024-01-19T22:05:24Z", + "carrier": "USPS", "pickup_id": "pickup_56522c26a7484d8e91fb5be29e6bd85e", + "id": "pickuprate_207ffd6606db416999bf4ef94808d697", "object": "PickupRate"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1184' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaf223e798d0a10010b7b1 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.674134' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"carrier": "USPS", "service": "NextDay"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '41' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/pickups/pickup_56522c26a7484d8e91fb5be29e6bd85e/buy + response: + body: + string: '{"id": "pickup_56522c26a7484d8e91fb5be29e6bd85e", "object": "Pickup", + "created_at": "2024-01-19T22:05:24Z", "updated_at": "2024-01-19T22:05:25Z", + "mode": "test", "status": "scheduled", "reference": "my-first-pickup", "min_datetime": + "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": + false, "instructions": "Special pickup instructions", "messages": [], "confirmation": + "WTC64043530", "address": {"id": "adr_d837f6cfb71611eeb665ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T22:05:23+00:00", "updated_at": "2024-01-19T22:05:23+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": + [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", + "created_at": "2024-01-19T22:05:24Z", "updated_at": "2024-01-19T22:05:24Z", + "carrier": "USPS", "pickup_id": "pickup_56522c26a7484d8e91fb5be29e6bd85e", + "id": "pickuprate_207ffd6606db416999bf4ef94808d697", "object": "PickupRate"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1195' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf224e798d0a20010b862 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.936133' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_pickups_cancel.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_pickups_cancel.yaml new file mode 100644 index 00000000..285d264a --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_pickups_cancel.yaml @@ -0,0 +1,3032 @@ +interactions: +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:41:22Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010707696", "updated_at": "2024-01-19T21:41:23Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_b89f75f170ab401bbe6812b4edbbfe36", "object": "CustomsInfo", "created_at": + "2024-01-19T21:41:22Z", "updated_at": "2024-01-19T21:41:22Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_d0d055b113cc47b888b7e9f0ca918255", + "object": "CustomsItem", "created_at": "2024-01-19T21:41:22Z", "updated_at": + "2024-01-19T21:41:22Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_7d329560b71311ee9d28ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:41:22+00:00", "updated_at": + "2024-01-19T21:41:22+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_bfb0c09a7aa54834bab257068b7ebd3f", + "object": "Parcel", "created_at": "2024-01-19T21:41:22Z", "updated_at": "2024-01-19T21:41:22Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_d9b6019a5efa476db3c0d442260603f0", "created_at": "2024-01-19T21:41:23Z", + "updated_at": "2024-01-19T21:41:23Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:41:23Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e85326875e5da547fba455b82c084b7678.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_fa5e493de369479f987a5b2e1921b3a3", "object": + "Rate", "created_at": "2024-01-19T21:41:22Z", "updated_at": "2024-01-19T21:41:22Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_0a37e8e18012447688bf4bc06e543aaf", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_9b39f009f5d64d6995f9cc4c1aef3d2f", + "object": "Rate", "created_at": "2024-01-19T21:41:22Z", "updated_at": "2024-01-19T21:41:22Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_0a37e8e18012447688bf4bc06e543aaf", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_43a7718acd31468eb26486ccd68a1ffa", + "object": "Rate", "created_at": "2024-01-19T21:41:22Z", "updated_at": "2024-01-19T21:41:22Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_0a37e8e18012447688bf4bc06e543aaf", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_5508350b813c4fdfa66da6781453975d", + "object": "Rate", "created_at": "2024-01-19T21:41:22Z", "updated_at": "2024-01-19T21:41:22Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_0a37e8e18012447688bf4bc06e543aaf", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_3b655d048d974484be23850930c00feb", "object": "Rate", "created_at": + "2024-01-19T21:41:22Z", "updated_at": "2024-01-19T21:41:22Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_0a37e8e18012447688bf4bc06e543aaf", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_9b39f009f5d64d6995f9cc4c1aef3d2f", + "object": "Rate", "created_at": "2024-01-19T21:41:23Z", "updated_at": "2024-01-19T21:41:23Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_0a37e8e18012447688bf4bc06e543aaf", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_b98a3527696a49059c5d947df54a9ec0", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010707696", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:41:23Z", + "updated_at": "2024-01-19T21:41:23Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_0a37e8e18012447688bf4bc06e543aaf", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrX2I5OGEzNTI3Njk2YTQ5MDU5YzVkOTQ3ZGY1NGE5ZWMw"}, + "to_address": {"id": "adr_7d3074c4b71311ee9a7e3cecef1b359e", "object": "Address", + "created_at": "2024-01-19T21:41:22+00:00", "updated_at": "2024-01-19T21:41:23+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_7d329560b71311ee9d28ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:41:22+00:00", "updated_at": + "2024-01-19T21:41:22+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_7d3074c4b71311ee9a7e3cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:41:22+00:00", "updated_at": "2024-01-19T21:41:23+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_0a37e8e18012447688bf4bc06e543aaf", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_0a37e8e18012447688bf4bc06e543aaf + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaec82e78b9ee6000cf1fe + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.142325' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"pickup": {"reference": "my-first-pickup", "min_datetime": "2024-01-22", + "max_datetime": "2024-01-22", "shipment": {"id": "shp_0a37e8e18012447688bf4bc06e543aaf"}, + "address": {"name": "Dr. Steve Brule", "street1": "179 N Harbor Dr", "city": + "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "phone": "8573875756", + "email": "dr_steve_brule@gmail.com"}, "is_account_address": "false", "instructions": + "Special pickup instructions"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '445' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/pickups + response: + body: + string: '{"id": "pickup_d5d09755c5144ed0b37d82bfb85e64a1", "object": "Pickup", + "created_at": "2024-01-19T21:41:24Z", "updated_at": "2024-01-19T21:41:24Z", + "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": + "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": + false, "instructions": "Special pickup instructions", "messages": [], "confirmation": + null, "address": {"id": "adr_7e05555db71311eeac0dac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:41:24+00:00", "updated_at": "2024-01-19T21:41:24+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": + [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", + "created_at": "2024-01-19T21:41:24Z", "updated_at": "2024-01-19T21:41:24Z", + "carrier": "USPS", "pickup_id": "pickup_d5d09755c5144ed0b37d82bfb85e64a1", + "id": "pickuprate_0abf056bc3b7484eab8179368a2dbf02", "object": "PickupRate"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1184' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaec84e78b9ee7000cf2bd + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.659848' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"carrier": "USPS", "service": "NextDay"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '41' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/pickups/pickup_d5d09755c5144ed0b37d82bfb85e64a1/buy + response: + body: + string: '{"id": "pickup_d5d09755c5144ed0b37d82bfb85e64a1", "object": "Pickup", + "created_at": "2024-01-19T21:41:24Z", "updated_at": "2024-01-19T21:41:36Z", + "mode": "test", "status": "scheduled", "reference": "my-first-pickup", "min_datetime": + "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": + false, "instructions": "Special pickup instructions", "messages": [], "confirmation": + "WTC64043432", "address": {"id": "adr_7e05555db71311eeac0dac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:41:24+00:00", "updated_at": "2024-01-19T21:41:24+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": + [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", + "created_at": "2024-01-19T21:41:24Z", "updated_at": "2024-01-19T21:41:24Z", + "carrier": "USPS", "pickup_id": "pickup_d5d09755c5144ed0b37d82bfb85e64a1", + "id": "pickuprate_0abf056bc3b7484eab8179368a2dbf02", "object": "PickupRate"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1195' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaec8fe78b9f02000cf82d + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.001596' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/pickups/pickup_d5d09755c5144ed0b37d82bfb85e64a1/cancel + response: + body: + string: '{"id": "pickup_d5d09755c5144ed0b37d82bfb85e64a1", "object": "Pickup", + "created_at": "2024-01-19T21:41:24Z", "updated_at": "2024-01-19T21:41:47Z", + "mode": "test", "status": "canceled", "reference": "my-first-pickup", "min_datetime": + "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": + false, "instructions": "Special pickup instructions", "messages": [], "confirmation": + "WTC64043432", "address": {"id": "adr_7e05555db71311eeac0dac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:41:24+00:00", "updated_at": "2024-01-19T21:41:24+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": + [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", + "created_at": "2024-01-19T21:41:24Z", "updated_at": "2024-01-19T21:41:24Z", + "carrier": "USPS", "pickup_id": "pickup_d5d09755c5144ed0b37d82bfb85e64a1", + "id": "pickuprate_0abf056bc3b7484eab8179368a2dbf02", "object": "PickupRate"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1194' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaec9ae78b9f03000cfe79 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.741693' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:43:39Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010708051", "updated_at": "2024-01-19T21:43:40Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_b19a00ad14ad41f5a91d97a03bf9ccbb", "object": "CustomsInfo", "created_at": + "2024-01-19T21:43:39Z", "updated_at": "2024-01-19T21:43:39Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_c01c558bec2446feb13c3a7589decd18", + "object": "CustomsItem", "created_at": "2024-01-19T21:43:39Z", "updated_at": + "2024-01-19T21:43:39Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_ce77fef1b71311eeb9e6ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:43:39+00:00", "updated_at": + "2024-01-19T21:43:39+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_bf2dada9d3364d378e9bda3763f37ebe", + "object": "Parcel", "created_at": "2024-01-19T21:43:39Z", "updated_at": "2024-01-19T21:43:39Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_18c2cf799f17448f85a90ed4c65e05b3", "created_at": "2024-01-19T21:43:39Z", + "updated_at": "2024-01-19T21:43:39Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:43:39Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e800999458e85f404fbf3517528f0cf013.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_9c7d1bf505cb47859078d98a4793aaa4", "object": + "Rate", "created_at": "2024-01-19T21:43:39Z", "updated_at": "2024-01-19T21:43:39Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_ba0630d2747042eb81b101832d013cec", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_8155a0810f4247ff993f283ad898c73f", + "object": "Rate", "created_at": "2024-01-19T21:43:39Z", "updated_at": "2024-01-19T21:43:39Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_ba0630d2747042eb81b101832d013cec", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_bdd139a6066e4cc89e7b418387af13a1", "object": "Rate", "created_at": + "2024-01-19T21:43:39Z", "updated_at": "2024-01-19T21:43:39Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_ba0630d2747042eb81b101832d013cec", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_a392d0d185a249c69beb91de806d0979", "object": "Rate", "created_at": + "2024-01-19T21:43:39Z", "updated_at": "2024-01-19T21:43:39Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_ba0630d2747042eb81b101832d013cec", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_19558261c77a4e8abc29d7ff9f82a4f2", "object": "Rate", "created_at": + "2024-01-19T21:43:39Z", "updated_at": "2024-01-19T21:43:39Z", "mode": "test", + "service": "Priority", "carrier": "USPS", "rate": "7.99", "currency": "USD", + "retail_rate": "14.05", "retail_currency": "USD", "list_rate": "10.27", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": + "shp_ba0630d2747042eb81b101832d013cec", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_19558261c77a4e8abc29d7ff9f82a4f2", + "object": "Rate", "created_at": "2024-01-19T21:43:39Z", "updated_at": "2024-01-19T21:43:39Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_ba0630d2747042eb81b101832d013cec", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_47473dca1e694be7b7c4dfb170721a25", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708051", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:43:40Z", + "updated_at": "2024-01-19T21:43:40Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_ba0630d2747042eb81b101832d013cec", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzQ3NDczZGNhMWU2OTRiZTdiN2M0ZGZiMTcwNzIxYTI1"}, + "to_address": {"id": "adr_ce763607b71311eeb77d3cecef1b359e", "object": "Address", + "created_at": "2024-01-19T21:43:39+00:00", "updated_at": "2024-01-19T21:43:39+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_ce77fef1b71311eeb9e6ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:43:39+00:00", "updated_at": + "2024-01-19T21:43:39+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_ce763607b71311eeb77d3cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:43:39+00:00", "updated_at": "2024-01-19T21:43:39+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_ba0630d2747042eb81b101832d013cec", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_ba0630d2747042eb81b101832d013cec + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaed0be78ba431000d3e9d + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.148161' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"pickup": {"reference": "my-first-pickup", "min_datetime": "2024-01-22", + "max_datetime": "2024-01-22", "shipment": {"id": "shp_ba0630d2747042eb81b101832d013cec"}, + "address": {"name": "Dr. Steve Brule", "street1": "179 N Harbor Dr", "city": + "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "phone": "8573875756", + "email": "dr_steve_brule@gmail.com"}, "is_account_address": "false", "instructions": + "Special pickup instructions"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '445' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/pickups + response: + body: + string: '{"id": "pickup_2389239e31cb482687a6a5cde2d113dd", "object": "Pickup", + "created_at": "2024-01-19T21:43:40Z", "updated_at": "2024-01-19T21:43:40Z", + "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": + "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": + false, "instructions": "Special pickup instructions", "messages": [], "confirmation": + null, "address": {"id": "adr_cf754e8cb71311eeba1eac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:43:40+00:00", "updated_at": "2024-01-19T21:43:40+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": + [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", + "created_at": "2024-01-19T21:43:41Z", "updated_at": "2024-01-19T21:43:41Z", + "carrier": "USPS", "pickup_id": "pickup_2389239e31cb482687a6a5cde2d113dd", + "id": "pickuprate_92dfb8c3d2fe46f188aa0ad6ce9046bf", "object": "PickupRate"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1184' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaed0ce78ba740000d3f61 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.596636' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"carrier": "USPS", "service": "NextDay"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '41' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/pickups/pickup_2389239e31cb482687a6a5cde2d113dd/buy + response: + body: + string: '{"id": "pickup_2389239e31cb482687a6a5cde2d113dd", "object": "Pickup", + "created_at": "2024-01-19T21:43:40Z", "updated_at": "2024-01-19T21:43:42Z", + "mode": "test", "status": "scheduled", "reference": "my-first-pickup", "min_datetime": + "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": + false, "instructions": "Special pickup instructions", "messages": [], "confirmation": + "WTC64043436", "address": {"id": "adr_cf754e8cb71311eeba1eac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:43:40+00:00", "updated_at": "2024-01-19T21:43:40+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": + [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", + "created_at": "2024-01-19T21:43:41Z", "updated_at": "2024-01-19T21:43:41Z", + "carrier": "USPS", "pickup_id": "pickup_2389239e31cb482687a6a5cde2d113dd", + "id": "pickuprate_92dfb8c3d2fe46f188aa0ad6ce9046bf", "object": "PickupRate"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1195' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaed0de78ba741000d3fd3 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.747726' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/pickups/pickup_2389239e31cb482687a6a5cde2d113dd/cancel + response: + body: + string: '{"id": "pickup_2389239e31cb482687a6a5cde2d113dd", "object": "Pickup", + "created_at": "2024-01-19T21:43:40Z", "updated_at": "2024-01-19T21:43:43Z", + "mode": "test", "status": "canceled", "reference": "my-first-pickup", "min_datetime": + "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": + false, "instructions": "Special pickup instructions", "messages": [], "confirmation": + "WTC64043436", "address": {"id": "adr_cf754e8cb71311eeba1eac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:43:40+00:00", "updated_at": "2024-01-19T21:43:40+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": + [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", + "created_at": "2024-01-19T21:43:41Z", "updated_at": "2024-01-19T21:43:41Z", + "carrier": "USPS", "pickup_id": "pickup_2389239e31cb482687a6a5cde2d113dd", + "id": "pickuprate_92dfb8c3d2fe46f188aa0ad6ce9046bf", "object": "PickupRate"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1194' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaed0ee78ba742000d4041 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.628073' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:47:31Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010708495", "updated_at": "2024-01-19T21:47:32Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_8b47bb07cbdc4e738a8c35b5b20399de", "object": "CustomsInfo", "created_at": + "2024-01-19T21:47:31Z", "updated_at": "2024-01-19T21:47:31Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_ac88e709a89f40188b5fb0a7e04b7a5b", + "object": "CustomsItem", "created_at": "2024-01-19T21:47:31Z", "updated_at": + "2024-01-19T21:47:31Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_58c92a20b71411eeb4ebac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:47:31+00:00", "updated_at": + "2024-01-19T21:47:31+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_616598647c1e409aafb90bfb1ae78e96", + "object": "Parcel", "created_at": "2024-01-19T21:47:31Z", "updated_at": "2024-01-19T21:47:31Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_f3623eca742b48d8b3f42e2e88744893", "created_at": "2024-01-19T21:47:31Z", + "updated_at": "2024-01-19T21:47:32Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:47:31Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e86dba6dab43114358a7ec68d096668e22.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_0fcdd323b09b42f2a9cce901610453a8", "object": + "Rate", "created_at": "2024-01-19T21:47:31Z", "updated_at": "2024-01-19T21:47:31Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_226ded86eb5547f8a2d91ea94e839c03", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4a7490da519d497f92e2b4f192c32b61", + "object": "Rate", "created_at": "2024-01-19T21:47:31Z", "updated_at": "2024-01-19T21:47:31Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_226ded86eb5547f8a2d91ea94e839c03", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_036aa4f19ebc4b23be00752fc2e33744", + "object": "Rate", "created_at": "2024-01-19T21:47:31Z", "updated_at": "2024-01-19T21:47:31Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_226ded86eb5547f8a2d91ea94e839c03", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_449d153e68da496883747707dfed166b", + "object": "Rate", "created_at": "2024-01-19T21:47:31Z", "updated_at": "2024-01-19T21:47:31Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_226ded86eb5547f8a2d91ea94e839c03", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_90069acc14644174bb5fd25a4ed3390a", "object": "Rate", "created_at": + "2024-01-19T21:47:31Z", "updated_at": "2024-01-19T21:47:31Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_226ded86eb5547f8a2d91ea94e839c03", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_4a7490da519d497f92e2b4f192c32b61", + "object": "Rate", "created_at": "2024-01-19T21:47:31Z", "updated_at": "2024-01-19T21:47:31Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_226ded86eb5547f8a2d91ea94e839c03", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_4904f84212034d7e8aa1e0427a9b881e", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708495", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:47:32Z", + "updated_at": "2024-01-19T21:47:32Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_226ded86eb5547f8a2d91ea94e839c03", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzQ5MDRmODQyMTIwMzRkN2U4YWExZTA0MjdhOWI4ODFl"}, + "to_address": {"id": "adr_58c37d43b71411eea55dac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T21:47:31+00:00", "updated_at": "2024-01-19T21:47:31+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_58c92a20b71411eeb4ebac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:47:31+00:00", "updated_at": + "2024-01-19T21:47:31+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_58c37d43b71411eea55dac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:47:31+00:00", "updated_at": "2024-01-19T21:47:31+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_226ded86eb5547f8a2d91ea94e839c03", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_226ded86eb5547f8a2d91ea94e839c03 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdaa65aaedf3e78bacb1001134c7 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '1.106146' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"pickup": {"reference": "my-first-pickup", "min_datetime": "2024-01-22", + "max_datetime": "2024-01-22", "shipment": {"id": "shp_226ded86eb5547f8a2d91ea94e839c03"}, + "address": {"name": "Dr. Steve Brule", "street1": "179 N Harbor Dr", "city": + "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "phone": "8573875756", + "email": "dr_steve_brule@gmail.com"}, "is_account_address": "false", "instructions": + "Special pickup instructions"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '445' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/pickups + response: + body: + string: '{"id": "pickup_e0867e986e444028a9aee76e447b6dd5", "object": "Pickup", + "created_at": "2024-01-19T21:47:32Z", "updated_at": "2024-01-19T21:47:32Z", + "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": + "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": + false, "instructions": "Special pickup instructions", "messages": [], "confirmation": + null, "address": {"id": "adr_598f8455b71411eea68cac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:47:32+00:00", "updated_at": "2024-01-19T21:47:32+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": + [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", + "created_at": "2024-01-19T21:47:33Z", "updated_at": "2024-01-19T21:47:33Z", + "carrier": "USPS", "pickup_id": "pickup_e0867e986e444028a9aee76e447b6dd5", + "id": "pickuprate_96ef69200e4d4c4182d34a75543a7391", "object": "PickupRate"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1184' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdad65aaedf4e78bacb20011357f + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.646224' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"carrier": "USPS", "service": "NextDay"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '41' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/pickups/pickup_e0867e986e444028a9aee76e447b6dd5/buy + response: + body: + string: '{"id": "pickup_e0867e986e444028a9aee76e447b6dd5", "object": "Pickup", + "created_at": "2024-01-19T21:47:32Z", "updated_at": "2024-01-19T21:47:34Z", + "mode": "test", "status": "scheduled", "reference": "my-first-pickup", "min_datetime": + "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": + false, "instructions": "Special pickup instructions", "messages": [], "confirmation": + "WTC64043520", "address": {"id": "adr_598f8455b71411eea68cac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:47:32+00:00", "updated_at": "2024-01-19T21:47:32+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": + [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", + "created_at": "2024-01-19T21:47:33Z", "updated_at": "2024-01-19T21:47:33Z", + "carrier": "USPS", "pickup_id": "pickup_e0867e986e444028a9aee76e447b6dd5", + "id": "pickuprate_96ef69200e4d4c4182d34a75543a7391", "object": "PickupRate"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1195' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdad65aaedf5e78bacb30011362d + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.766272' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/pickups/pickup_e0867e986e444028a9aee76e447b6dd5/cancel + response: + body: + string: '{"id": "pickup_e0867e986e444028a9aee76e447b6dd5", "object": "Pickup", + "created_at": "2024-01-19T21:47:32Z", "updated_at": "2024-01-19T21:47:34Z", + "mode": "test", "status": "canceled", "reference": "my-first-pickup", "min_datetime": + "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": + false, "instructions": "Special pickup instructions", "messages": [], "confirmation": + "WTC64043520", "address": {"id": "adr_598f8455b71411eea68cac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:47:32+00:00", "updated_at": "2024-01-19T21:47:32+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": + [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", + "created_at": "2024-01-19T21:47:33Z", "updated_at": "2024-01-19T21:47:33Z", + "carrier": "USPS", "pickup_id": "pickup_e0867e986e444028a9aee76e447b6dd5", + "id": "pickuprate_96ef69200e4d4c4182d34a75543a7391", "object": "PickupRate"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1194' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdaa65aaedf6e78bafc2001136ca + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.626838' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:49:26Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010709027", "updated_at": "2024-01-19T21:49:27Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_8892260371ed42b39722a18a1a00ecec", "object": "CustomsInfo", "created_at": + "2024-01-19T21:49:26Z", "updated_at": "2024-01-19T21:49:26Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_debd703a8d9c4d248fe72c9ce7dc1319", + "object": "CustomsItem", "created_at": "2024-01-19T21:49:26Z", "updated_at": + "2024-01-19T21:49:26Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_9d45eff5b71411eebab1ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:49:26+00:00", "updated_at": + "2024-01-19T21:49:26+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_4428ebc94b3b42dd99c9c1ebcbc671e8", + "object": "Parcel", "created_at": "2024-01-19T21:49:26Z", "updated_at": "2024-01-19T21:49:26Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_6dab529603a64a2193b0dbc90bb08926", "created_at": "2024-01-19T21:49:26Z", + "updated_at": "2024-01-19T21:49:27Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:49:26Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e887ee548f47594e36aa091b3f1c97dd4e.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_f49eec10ffa44b95b2ca4859babe7e04", "object": + "Rate", "created_at": "2024-01-19T21:49:26Z", "updated_at": "2024-01-19T21:49:26Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_03b9a49ebbf447fbbc64ff1dbafa6ab3", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_fea5082ef0d94b29871fa3ee7303b90f", + "object": "Rate", "created_at": "2024-01-19T21:49:26Z", "updated_at": "2024-01-19T21:49:26Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_03b9a49ebbf447fbbc64ff1dbafa6ab3", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_feb1d94685bd42a88934f5579d850f16", + "object": "Rate", "created_at": "2024-01-19T21:49:26Z", "updated_at": "2024-01-19T21:49:26Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_03b9a49ebbf447fbbc64ff1dbafa6ab3", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b75d0c766d75405daafc28c8fd5bd8f6", + "object": "Rate", "created_at": "2024-01-19T21:49:26Z", "updated_at": "2024-01-19T21:49:26Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_03b9a49ebbf447fbbc64ff1dbafa6ab3", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_91a186ace6034f688f328cf3d9ba962c", "object": "Rate", "created_at": + "2024-01-19T21:49:26Z", "updated_at": "2024-01-19T21:49:26Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_03b9a49ebbf447fbbc64ff1dbafa6ab3", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_fea5082ef0d94b29871fa3ee7303b90f", + "object": "Rate", "created_at": "2024-01-19T21:49:26Z", "updated_at": "2024-01-19T21:49:26Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_03b9a49ebbf447fbbc64ff1dbafa6ab3", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_844917aa11a74339929a59a0ef2507c1", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010709027", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:49:27Z", + "updated_at": "2024-01-19T21:49:27Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_03b9a49ebbf447fbbc64ff1dbafa6ab3", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzg0NDkxN2FhMTFhNzQzMzk5MjlhNTlhMGVmMjUwN2Mx"}, + "to_address": {"id": "adr_9d43adf3b71411eeb9223cecef1b359e", "object": "Address", + "created_at": "2024-01-19T21:49:26+00:00", "updated_at": "2024-01-19T21:49:26+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_9d45eff5b71411eebab1ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:49:26+00:00", "updated_at": + "2024-01-19T21:49:26+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_9d43adf3b71411eeb9223cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:49:26+00:00", "updated_at": "2024-01-19T21:49:26+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_03b9a49ebbf447fbbc64ff1dbafa6ab3", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_03b9a49ebbf447fbbc64ff1dbafa6ab3 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda865aaee66e78bb4eb001178df + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '1.137192' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"pickup": {"reference": "my-first-pickup", "min_datetime": "2024-01-22", + "max_datetime": "2024-01-22", "shipment": {"id": "shp_03b9a49ebbf447fbbc64ff1dbafa6ab3"}, + "address": {"name": "Dr. Steve Brule", "street1": "179 N Harbor Dr", "city": + "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "phone": "8573875756", + "email": "dr_steve_brule@gmail.com"}, "is_account_address": "false", "instructions": + "Special pickup instructions"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '445' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/pickups + response: + body: + string: '{"id": "pickup_1fb8ae6ac266419ea4d12356a697da78", "object": "Pickup", + "created_at": "2024-01-19T21:49:27Z", "updated_at": "2024-01-19T21:49:27Z", + "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": + "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": + false, "instructions": "Special pickup instructions", "messages": [], "confirmation": + null, "address": {"id": "adr_9e1ec009b71411eebc6cac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:49:27+00:00", "updated_at": "2024-01-19T21:49:27+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": + [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", + "created_at": "2024-01-19T21:49:28Z", "updated_at": "2024-01-19T21:49:28Z", + "carrier": "USPS", "pickup_id": "pickup_1fb8ae6ac266419ea4d12356a697da78", + "id": "pickuprate_0084475cc53b49aca905e32ec250b742", "object": "PickupRate"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1184' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdac65aaee67e78bb4ec001179a1 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.623283' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"carrier": "USPS", "service": "NextDay"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '41' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/pickups/pickup_1fb8ae6ac266419ea4d12356a697da78/buy + response: + body: + string: '{"id": "pickup_1fb8ae6ac266419ea4d12356a697da78", "object": "Pickup", + "created_at": "2024-01-19T21:49:27Z", "updated_at": "2024-01-19T21:49:29Z", + "mode": "test", "status": "scheduled", "reference": "my-first-pickup", "min_datetime": + "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": + false, "instructions": "Special pickup instructions", "messages": [], "confirmation": + "WTC64043490", "address": {"id": "adr_9e1ec009b71411eebc6cac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:49:27+00:00", "updated_at": "2024-01-19T21:49:27+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": + [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", + "created_at": "2024-01-19T21:49:28Z", "updated_at": "2024-01-19T21:49:28Z", + "carrier": "USPS", "pickup_id": "pickup_1fb8ae6ac266419ea4d12356a697da78", + "id": "pickuprate_0084475cc53b49aca905e32ec250b742", "object": "PickupRate"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1195' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdaa65aaee68e78bb4ed00117a04 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.721589' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/pickups/pickup_1fb8ae6ac266419ea4d12356a697da78/cancel + response: + body: + string: '{"id": "pickup_1fb8ae6ac266419ea4d12356a697da78", "object": "Pickup", + "created_at": "2024-01-19T21:49:27Z", "updated_at": "2024-01-19T21:49:29Z", + "mode": "test", "status": "canceled", "reference": "my-first-pickup", "min_datetime": + "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": + false, "instructions": "Special pickup instructions", "messages": [], "confirmation": + "WTC64043490", "address": {"id": "adr_9e1ec009b71411eebc6cac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:49:27+00:00", "updated_at": "2024-01-19T21:49:27+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": + [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", + "created_at": "2024-01-19T21:49:28Z", "updated_at": "2024-01-19T21:49:28Z", + "carrier": "USPS", "pickup_id": "pickup_1fb8ae6ac266419ea4d12356a697da78", + "id": "pickuprate_0084475cc53b49aca905e32ec250b742", "object": "PickupRate"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1194' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdaa65aaee69e78bb4ee00117a8c + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.656369' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:58:45Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010711488", "updated_at": "2024-01-19T21:58:46Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_b9d01a925fdc40488ad5809bc812f47f", "object": "CustomsInfo", "created_at": + "2024-01-19T21:58:45Z", "updated_at": "2024-01-19T21:58:45Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_0adf6a1218974ab98eee3a4cf5ec394e", + "object": "CustomsItem", "created_at": "2024-01-19T21:58:45Z", "updated_at": + "2024-01-19T21:58:45Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_ea973360b71511eea84b3cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:58:45+00:00", "updated_at": + "2024-01-19T21:58:45+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_d94c2778a7304112b52b96a25fd82cbb", + "object": "Parcel", "created_at": "2024-01-19T21:58:45Z", "updated_at": "2024-01-19T21:58:45Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_acf142f35f2341f3b3c6b1d86a64227b", "created_at": "2024-01-19T21:58:45Z", + "updated_at": "2024-01-19T21:58:46Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:58:45Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e84254f7675b9b44fc9d3330fdb88f9378.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_0cad48047c874873a61fe381c173d5df", "object": + "Rate", "created_at": "2024-01-19T21:58:45Z", "updated_at": "2024-01-19T21:58:45Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_15493801144940a68542aa7189a7a957", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_e53e7b22032a4f96a727c8c3c4d7a0a5", + "object": "Rate", "created_at": "2024-01-19T21:58:45Z", "updated_at": "2024-01-19T21:58:45Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_15493801144940a68542aa7189a7a957", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_17ecc23ebd504bf6919a19ebe2aae21d", + "object": "Rate", "created_at": "2024-01-19T21:58:45Z", "updated_at": "2024-01-19T21:58:45Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_15493801144940a68542aa7189a7a957", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_5eb6541d59524ad69285bf9d096d26ce", + "object": "Rate", "created_at": "2024-01-19T21:58:45Z", "updated_at": "2024-01-19T21:58:45Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_15493801144940a68542aa7189a7a957", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_4908cc3c8d9d4de1ad713530e7fac247", "object": "Rate", "created_at": + "2024-01-19T21:58:45Z", "updated_at": "2024-01-19T21:58:45Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_15493801144940a68542aa7189a7a957", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_e53e7b22032a4f96a727c8c3c4d7a0a5", + "object": "Rate", "created_at": "2024-01-19T21:58:45Z", "updated_at": "2024-01-19T21:58:45Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_15493801144940a68542aa7189a7a957", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_0236bc8af515490b92c5ea80097c0cd5", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711488", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:58:46Z", + "updated_at": "2024-01-19T21:58:46Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_15493801144940a68542aa7189a7a957", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzAyMzZiYzhhZjUxNTQ5MGI5MmM1ZWE4MDA5N2MwY2Q1"}, + "to_address": {"id": "adr_ea9437abb71511eeac40ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:58:45+00:00", "updated_at": "2024-01-19T21:58:45+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_ea973360b71511eea84b3cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:58:45+00:00", "updated_at": + "2024-01-19T21:58:45+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_ea9437abb71511eeac40ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:58:45+00:00", "updated_at": "2024-01-19T21:58:45+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_15493801144940a68542aa7189a7a957", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_15493801144940a68542aa7189a7a957 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaf095e798bf7b000f7b41 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.108007' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"pickup": {"reference": "my-first-pickup", "min_datetime": "2024-01-22", + "max_datetime": "2024-01-22", "shipment": {"id": "shp_15493801144940a68542aa7189a7a957"}, + "address": {"name": "Dr. Steve Brule", "street1": "179 N Harbor Dr", "city": + "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "phone": "8573875756", + "email": "dr_steve_brule@gmail.com"}, "is_account_address": "false", "instructions": + "Special pickup instructions"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '445' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/pickups + response: + body: + string: '{"id": "pickup_064183bea7894c70867484d3fdb62439", "object": "Pickup", + "created_at": "2024-01-19T21:58:46Z", "updated_at": "2024-01-19T21:58:46Z", + "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": + "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": + false, "instructions": "Special pickup instructions", "messages": [], "confirmation": + null, "address": {"id": "adr_eb711a4ab71511eeac93ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:58:46+00:00", "updated_at": "2024-01-19T21:58:46+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": + [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", + "created_at": "2024-01-19T21:58:47Z", "updated_at": "2024-01-19T21:58:47Z", + "carrier": "USPS", "pickup_id": "pickup_064183bea7894c70867484d3fdb62439", + "id": "pickuprate_e67334c26846412a95068930800e155b", "object": "PickupRate"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1184' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaf096e798bf7c000f7c2e + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.585584' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"carrier": "USPS", "service": "NextDay"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '41' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/pickups/pickup_064183bea7894c70867484d3fdb62439/buy + response: + body: + string: '{"id": "pickup_064183bea7894c70867484d3fdb62439", "object": "Pickup", + "created_at": "2024-01-19T21:58:46Z", "updated_at": "2024-01-19T21:58:48Z", + "mode": "test", "status": "scheduled", "reference": "my-first-pickup", "min_datetime": + "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": + false, "instructions": "Special pickup instructions", "messages": [], "confirmation": + "WTC64043518", "address": {"id": "adr_eb711a4ab71511eeac93ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:58:46+00:00", "updated_at": "2024-01-19T21:58:46+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": + [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", + "created_at": "2024-01-19T21:58:47Z", "updated_at": "2024-01-19T21:58:47Z", + "carrier": "USPS", "pickup_id": "pickup_064183bea7894c70867484d3fdb62439", + "id": "pickuprate_e67334c26846412a95068930800e155b", "object": "PickupRate"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1195' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf097e798bf7d000f7c91 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.732377' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/pickups/pickup_064183bea7894c70867484d3fdb62439/cancel + response: + body: + string: '{"id": "pickup_064183bea7894c70867484d3fdb62439", "object": "Pickup", + "created_at": "2024-01-19T21:58:46Z", "updated_at": "2024-01-19T21:58:49Z", + "mode": "test", "status": "canceled", "reference": "my-first-pickup", "min_datetime": + "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": + false, "instructions": "Special pickup instructions", "messages": [], "confirmation": + "WTC64043518", "address": {"id": "adr_eb711a4ab71511eeac93ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:58:46+00:00", "updated_at": "2024-01-19T21:58:46+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": + [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", + "created_at": "2024-01-19T21:58:47Z", "updated_at": "2024-01-19T21:58:47Z", + "carrier": "USPS", "pickup_id": "pickup_064183bea7894c70867484d3fdb62439", + "id": "pickuprate_e67334c26846412a95068930800e155b", "object": "PickupRate"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1194' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf098e798bf7e000f7d1a + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.659832' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T22:01:39Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010711938", "updated_at": "2024-01-19T22:01:40Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_ff9819cb21e448e08a235721af3a1e7d", "object": "CustomsInfo", "created_at": + "2024-01-19T22:01:39Z", "updated_at": "2024-01-19T22:01:39Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_3289ac41b53b4e87ae82a21344cb7c4c", + "object": "CustomsItem", "created_at": "2024-01-19T22:01:39Z", "updated_at": + "2024-01-19T22:01:39Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_5267db2ab71611ee89973cecef1b359e", + "object": "Address", "created_at": "2024-01-19T22:01:39+00:00", "updated_at": + "2024-01-19T22:01:39+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_71da847310d04221a191a2b24d37fc80", + "object": "Parcel", "created_at": "2024-01-19T22:01:39Z", "updated_at": "2024-01-19T22:01:39Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_412334871c6a4669bd466665c7a565bd", "created_at": "2024-01-19T22:01:40Z", + "updated_at": "2024-01-19T22:01:40Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T22:01:40Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8ab42f2c4825d4146a106ef3a3c475ada.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_dce8ab21f2c14d4381b3ab260ac3935a", "object": + "Rate", "created_at": "2024-01-19T22:01:39Z", "updated_at": "2024-01-19T22:01:39Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_f4d626fafc6648edbecacde472123eac", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_7e66a0bcede340189d0ddd613fc70e5f", + "object": "Rate", "created_at": "2024-01-19T22:01:39Z", "updated_at": "2024-01-19T22:01:39Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_f4d626fafc6648edbecacde472123eac", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_095e57cb4ed14ac1bedc98dd81867e92", + "object": "Rate", "created_at": "2024-01-19T22:01:39Z", "updated_at": "2024-01-19T22:01:39Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_f4d626fafc6648edbecacde472123eac", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_3e2ec353b30a4791a576743d14d58de5", "object": "Rate", "created_at": + "2024-01-19T22:01:39Z", "updated_at": "2024-01-19T22:01:39Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_f4d626fafc6648edbecacde472123eac", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_04ada69ced764783bf577a300006aa6c", "object": "Rate", "created_at": + "2024-01-19T22:01:39Z", "updated_at": "2024-01-19T22:01:39Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_f4d626fafc6648edbecacde472123eac", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_dce8ab21f2c14d4381b3ab260ac3935a", + "object": "Rate", "created_at": "2024-01-19T22:01:40Z", "updated_at": "2024-01-19T22:01:40Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_f4d626fafc6648edbecacde472123eac", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_f21df4a69d184e99ad01123ea4a53bcb", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711938", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:01:40Z", + "updated_at": "2024-01-19T22:01:40Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_f4d626fafc6648edbecacde472123eac", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrX2YyMWRmNGE2OWQxODRlOTlhZDAxMTIzZWE0YTUzYmNi"}, + "to_address": {"id": "adr_5261b768b71611ee89953cecef1b359e", "object": "Address", + "created_at": "2024-01-19T22:01:39+00:00", "updated_at": "2024-01-19T22:01:39+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_5267db2ab71611ee89973cecef1b359e", + "object": "Address", "created_at": "2024-01-19T22:01:39+00:00", "updated_at": + "2024-01-19T22:01:39+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_5261b768b71611ee89953cecef1b359e", "object": + "Address", "created_at": "2024-01-19T22:01:39+00:00", "updated_at": "2024-01-19T22:01:39+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_f4d626fafc6648edbecacde472123eac", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_f4d626fafc6648edbecacde472123eac + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaf143e798c7db00101012 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.290269' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"pickup": {"reference": "my-first-pickup", "min_datetime": "2024-01-22", + "max_datetime": "2024-01-22", "shipment": {"id": "shp_f4d626fafc6648edbecacde472123eac"}, + "address": {"name": "Dr. Steve Brule", "street1": "179 N Harbor Dr", "city": + "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "phone": "8573875756", + "email": "dr_steve_brule@gmail.com"}, "is_account_address": "false", "instructions": + "Special pickup instructions"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '445' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/pickups + response: + body: + string: '{"id": "pickup_3ef99068b332460583ba018701ef044c", "object": "Pickup", + "created_at": "2024-01-19T22:01:41Z", "updated_at": "2024-01-19T22:01:41Z", + "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": + "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": + false, "instructions": "Special pickup instructions", "messages": [], "confirmation": + null, "address": {"id": "adr_534aa39bb71611ee8d9cac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T22:01:40+00:00", "updated_at": "2024-01-19T22:01:40+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": + [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", + "created_at": "2024-01-19T22:01:41Z", "updated_at": "2024-01-19T22:01:41Z", + "carrier": "USPS", "pickup_id": "pickup_3ef99068b332460583ba018701ef044c", + "id": "pickuprate_a1c1d1a477574007a8fca0ae61374762", "object": "PickupRate"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1184' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf144e798c7dd0010117b + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.666414' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"carrier": "USPS", "service": "NextDay"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '41' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/pickups/pickup_3ef99068b332460583ba018701ef044c/buy + response: + body: + string: '{"id": "pickup_3ef99068b332460583ba018701ef044c", "object": "Pickup", + "created_at": "2024-01-19T22:01:41Z", "updated_at": "2024-01-19T22:01:42Z", + "mode": "test", "status": "scheduled", "reference": "my-first-pickup", "min_datetime": + "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": + false, "instructions": "Special pickup instructions", "messages": [], "confirmation": + "WTC64043612", "address": {"id": "adr_534aa39bb71611ee8d9cac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T22:01:40+00:00", "updated_at": "2024-01-19T22:01:40+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": + [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", + "created_at": "2024-01-19T22:01:41Z", "updated_at": "2024-01-19T22:01:41Z", + "carrier": "USPS", "pickup_id": "pickup_3ef99068b332460583ba018701ef044c", + "id": "pickuprate_a1c1d1a477574007a8fca0ae61374762", "object": "PickupRate"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1195' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf145e798c7de00101258 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.716662' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/pickups/pickup_3ef99068b332460583ba018701ef044c/cancel + response: + body: + string: '{"id": "pickup_3ef99068b332460583ba018701ef044c", "object": "Pickup", + "created_at": "2024-01-19T22:01:41Z", "updated_at": "2024-01-19T22:01:43Z", + "mode": "test", "status": "canceled", "reference": "my-first-pickup", "min_datetime": + "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": + false, "instructions": "Special pickup instructions", "messages": [], "confirmation": + "WTC64043612", "address": {"id": "adr_534aa39bb71611ee8d9cac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T22:01:40+00:00", "updated_at": "2024-01-19T22:01:40+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": + [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", + "created_at": "2024-01-19T22:01:41Z", "updated_at": "2024-01-19T22:01:41Z", + "carrier": "USPS", "pickup_id": "pickup_3ef99068b332460583ba018701ef044c", + "id": "pickuprate_a1c1d1a477574007a8fca0ae61374762", "object": "PickupRate"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1194' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaf146e798c7df00101367 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.753728' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T22:05:26Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010712683", "updated_at": "2024-01-19T22:05:27Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_5887140e5d2649eda9fa3ee085c6b95d", "object": "CustomsInfo", "created_at": + "2024-01-19T22:05:26Z", "updated_at": "2024-01-19T22:05:26Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_89984b37272b45bd84cb80062391e2ef", + "object": "CustomsItem", "created_at": "2024-01-19T22:05:26Z", "updated_at": + "2024-01-19T22:05:26Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_d9986f66b71611eeb707ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:05:26+00:00", "updated_at": + "2024-01-19T22:05:26+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_8e625c217d404204a67aa31f5ffb9f07", + "object": "Parcel", "created_at": "2024-01-19T22:05:26Z", "updated_at": "2024-01-19T22:05:26Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_c51deb8bde3a401a99790d87a0cf5fb6", "created_at": "2024-01-19T22:05:26Z", + "updated_at": "2024-01-19T22:05:27Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T22:05:26Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8081993d628944089bd3985e82117983b.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_d738cf375a334c91932cf66bf06d3245", "object": + "Rate", "created_at": "2024-01-19T22:05:26Z", "updated_at": "2024-01-19T22:05:26Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_02eae2ec05f94bf18973657c9ca8022f", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_98d54219248c4e83bdfe6d3e15c68ccf", + "object": "Rate", "created_at": "2024-01-19T22:05:26Z", "updated_at": "2024-01-19T22:05:26Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_02eae2ec05f94bf18973657c9ca8022f", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b56be5d2754f464093c1450c6b72b9b3", + "object": "Rate", "created_at": "2024-01-19T22:05:26Z", "updated_at": "2024-01-19T22:05:26Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_02eae2ec05f94bf18973657c9ca8022f", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_2bd4bd0095e04f1f88bd7d376523b3dd", + "object": "Rate", "created_at": "2024-01-19T22:05:26Z", "updated_at": "2024-01-19T22:05:26Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_02eae2ec05f94bf18973657c9ca8022f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_50bc590ea92943f0b9c63ad46d7319d3", "object": "Rate", "created_at": + "2024-01-19T22:05:26Z", "updated_at": "2024-01-19T22:05:26Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_02eae2ec05f94bf18973657c9ca8022f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_98d54219248c4e83bdfe6d3e15c68ccf", + "object": "Rate", "created_at": "2024-01-19T22:05:26Z", "updated_at": "2024-01-19T22:05:26Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_02eae2ec05f94bf18973657c9ca8022f", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_6a7c446ede5244f38a883bd6c2150d52", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010712683", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:05:27Z", + "updated_at": "2024-01-19T22:05:27Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_02eae2ec05f94bf18973657c9ca8022f", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzZhN2M0NDZlZGU1MjQ0ZjM4YTg4M2JkNmMyMTUwZDUy"}, + "to_address": {"id": "adr_d9964dc0b71611eeb988ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T22:05:26+00:00", "updated_at": "2024-01-19T22:05:26+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_d9986f66b71611eeb707ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:05:26+00:00", "updated_at": + "2024-01-19T22:05:26+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_d9964dc0b71611eeb988ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T22:05:26+00:00", "updated_at": "2024-01-19T22:05:26+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_02eae2ec05f94bf18973657c9ca8022f", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_02eae2ec05f94bf18973657c9ca8022f + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf226e798d0bb0010b95d + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.077869' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"pickup": {"reference": "my-first-pickup", "min_datetime": "2024-01-22", + "max_datetime": "2024-01-22", "shipment": {"id": "shp_02eae2ec05f94bf18973657c9ca8022f"}, + "address": {"name": "Dr. Steve Brule", "street1": "179 N Harbor Dr", "city": + "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "phone": "8573875756", + "email": "dr_steve_brule@gmail.com"}, "is_account_address": "false", "instructions": + "Special pickup instructions"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '445' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/pickups + response: + body: + string: '{"id": "pickup_283f2915cc7b42c1889195ddb6519ef7", "object": "Pickup", + "created_at": "2024-01-19T22:05:27Z", "updated_at": "2024-01-19T22:05:27Z", + "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": + "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": + false, "instructions": "Special pickup instructions", "messages": [], "confirmation": + null, "address": {"id": "adr_da725a65b71611ee878dac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T22:05:27+00:00", "updated_at": "2024-01-19T22:05:27+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": + [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", + "created_at": "2024-01-19T22:05:28Z", "updated_at": "2024-01-19T22:05:28Z", + "carrier": "USPS", "pickup_id": "pickup_283f2915cc7b42c1889195ddb6519ef7", + "id": "pickuprate_ca16cbcc4c4e4ad3b2be59e9f79505ca", "object": "PickupRate"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1184' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf227e798d0bc0010ba7a + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.643003' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"carrier": "USPS", "service": "NextDay"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '41' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/pickups/pickup_283f2915cc7b42c1889195ddb6519ef7/buy + response: + body: + string: '{"id": "pickup_283f2915cc7b42c1889195ddb6519ef7", "object": "Pickup", + "created_at": "2024-01-19T22:05:27Z", "updated_at": "2024-01-19T22:05:29Z", + "mode": "test", "status": "scheduled", "reference": "my-first-pickup", "min_datetime": + "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": + false, "instructions": "Special pickup instructions", "messages": [], "confirmation": + "WTC64043622", "address": {"id": "adr_da725a65b71611ee878dac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T22:05:27+00:00", "updated_at": "2024-01-19T22:05:27+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": + [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", + "created_at": "2024-01-19T22:05:28Z", "updated_at": "2024-01-19T22:05:28Z", + "carrier": "USPS", "pickup_id": "pickup_283f2915cc7b42c1889195ddb6519ef7", + "id": "pickuprate_ca16cbcc4c4e4ad3b2be59e9f79505ca", "object": "PickupRate"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1195' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaf228e798d0bd0010bb2b + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.021222' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/pickups/pickup_283f2915cc7b42c1889195ddb6519ef7/cancel + response: + body: + string: '{"id": "pickup_283f2915cc7b42c1889195ddb6519ef7", "object": "Pickup", + "created_at": "2024-01-19T22:05:27Z", "updated_at": "2024-01-19T22:05:30Z", + "mode": "test", "status": "canceled", "reference": "my-first-pickup", "min_datetime": + "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": + false, "instructions": "Special pickup instructions", "messages": [], "confirmation": + "WTC64043622", "address": {"id": "adr_da725a65b71611ee878dac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T22:05:27+00:00", "updated_at": "2024-01-19T22:05:27+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": + [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", + "created_at": "2024-01-19T22:05:28Z", "updated_at": "2024-01-19T22:05:28Z", + "carrier": "USPS", "pickup_id": "pickup_283f2915cc7b42c1889195ddb6519ef7", + "id": "pickuprate_ca16cbcc4c4e4ad3b2be59e9f79505ca", "object": "PickupRate"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1194' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf229e798d0be0010bc01 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.603076' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_pickups_create.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_pickups_create.yaml new file mode 100644 index 00000000..f52ca5a8 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_pickups_create.yaml @@ -0,0 +1,1908 @@ +interactions: +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:41:03Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010707634", "updated_at": "2024-01-19T21:41:03Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_5025135e248146a6882e4300749b01ce", "object": "CustomsInfo", "created_at": + "2024-01-19T21:41:03Z", "updated_at": "2024-01-19T21:41:03Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_c530d6aefbdc496280fe9957d14b4f04", + "object": "CustomsItem", "created_at": "2024-01-19T21:41:03Z", "updated_at": + "2024-01-19T21:41:03Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_717baf9cb71311eea782ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:41:03+00:00", "updated_at": + "2024-01-19T21:41:03+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_f9444363cfb44419b97740c88975456e", + "object": "Parcel", "created_at": "2024-01-19T21:41:03Z", "updated_at": "2024-01-19T21:41:03Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_a17796130eba4563abd9459e69056c72", "created_at": "2024-01-19T21:41:03Z", + "updated_at": "2024-01-19T21:41:03Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:41:03Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e885969facc49a43389502672abd1eda49.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_0ac8251712fc458a9058752379e0dd10", "object": + "Rate", "created_at": "2024-01-19T21:41:03Z", "updated_at": "2024-01-19T21:41:03Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_9a75d3843ea2486994108462b478aca5", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_5bb53c844292451b947af7f7da7e3098", + "object": "Rate", "created_at": "2024-01-19T21:41:03Z", "updated_at": "2024-01-19T21:41:03Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_9a75d3843ea2486994108462b478aca5", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_6b05f37cd65945ba99706846d62b3ef1", + "object": "Rate", "created_at": "2024-01-19T21:41:03Z", "updated_at": "2024-01-19T21:41:03Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_9a75d3843ea2486994108462b478aca5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_d826eb38431c4028a3d6d89344e4deb3", "object": "Rate", "created_at": + "2024-01-19T21:41:03Z", "updated_at": "2024-01-19T21:41:03Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_9a75d3843ea2486994108462b478aca5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_737d62bd170b4d078318a139ffdedc0f", "object": "Rate", "created_at": + "2024-01-19T21:41:03Z", "updated_at": "2024-01-19T21:41:03Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_9a75d3843ea2486994108462b478aca5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_0ac8251712fc458a9058752379e0dd10", + "object": "Rate", "created_at": "2024-01-19T21:41:03Z", "updated_at": "2024-01-19T21:41:03Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_9a75d3843ea2486994108462b478aca5", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_8519ef3da0654930aaaaf96961214d56", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010707634", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:41:03Z", + "updated_at": "2024-01-19T21:41:03Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_9a75d3843ea2486994108462b478aca5", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzg1MTllZjNkYTA2NTQ5MzBhYWFhZjk2OTYxMjE0ZDU2"}, + "to_address": {"id": "adr_71792a6eb71311eea780ac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T21:41:03+00:00", "updated_at": "2024-01-19T21:41:03+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_717baf9cb71311eea782ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:41:03+00:00", "updated_at": + "2024-01-19T21:41:03+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_71792a6eb71311eea780ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:41:03+00:00", "updated_at": "2024-01-19T21:41:03+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_9a75d3843ea2486994108462b478aca5", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_9a75d3843ea2486994108462b478aca5 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaec6fe78b9ec5000ce265 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.923451' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"pickup": {"reference": "my-first-pickup", "min_datetime": "2024-01-22", + "max_datetime": "2024-01-22", "shipment": {"id": "shp_9a75d3843ea2486994108462b478aca5"}, + "address": {"name": "Dr. Steve Brule", "street1": "179 N Harbor Dr", "city": + "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "phone": "8573875756", + "email": "dr_steve_brule@gmail.com"}, "is_account_address": "false", "instructions": + "Special pickup instructions"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '445' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/pickups + response: + body: + string: '{"id": "pickup_2c46d329efad4c5cab02c9a03ff96a2b", "object": "Pickup", + "created_at": "2024-01-19T21:41:04Z", "updated_at": "2024-01-19T21:41:04Z", + "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": + "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": + false, "instructions": "Special pickup instructions", "messages": [], "confirmation": + null, "address": {"id": "adr_72442a6eb71311ee984aac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:41:04+00:00", "updated_at": "2024-01-19T21:41:04+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": + [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", + "created_at": "2024-01-19T21:41:05Z", "updated_at": "2024-01-19T21:41:05Z", + "carrier": "USPS", "pickup_id": "pickup_2c46d329efad4c5cab02c9a03ff96a2b", + "id": "pickuprate_0633e96b11f24a2ebe689ce23b248412", "object": "PickupRate"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1184' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaec70e78b9ec6000ce62a + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.014208' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:43:30Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010708013", "updated_at": "2024-01-19T21:43:31Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_e1e88b4f064a4151b81c95ea01448cb6", "object": "CustomsInfo", "created_at": + "2024-01-19T21:43:30Z", "updated_at": "2024-01-19T21:43:30Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_30676f16c1cd4792874626ecac6ff5ff", + "object": "CustomsItem", "created_at": "2024-01-19T21:43:30Z", "updated_at": + "2024-01-19T21:43:30Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_c96b5fcdb71311ee8707ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:43:30+00:00", "updated_at": + "2024-01-19T21:43:30+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_d22d4d0d952a4b5bb716377419850ba3", + "object": "Parcel", "created_at": "2024-01-19T21:43:30Z", "updated_at": "2024-01-19T21:43:30Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_5e7592b3b2ae4fdd975569d7e16dce9f", "created_at": "2024-01-19T21:43:31Z", + "updated_at": "2024-01-19T21:43:31Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:43:31Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e849db17c52eb645b2ba131921e2b5b4d7.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_5f67a0c2ecd144bba0bd4909432bfb3f", "object": + "Rate", "created_at": "2024-01-19T21:43:30Z", "updated_at": "2024-01-19T21:43:30Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_27fbe94be1da4be797d83da1ec21096d", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_1e8d9b7ed3e94811a92d4c9463f58323", + "object": "Rate", "created_at": "2024-01-19T21:43:30Z", "updated_at": "2024-01-19T21:43:30Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_27fbe94be1da4be797d83da1ec21096d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_f656510eaf5b42e1ae8df35adf986b84", "object": "Rate", "created_at": + "2024-01-19T21:43:30Z", "updated_at": "2024-01-19T21:43:30Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_27fbe94be1da4be797d83da1ec21096d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_27ed5b0bcb6e4e219a3ccb11bc9b5815", "object": "Rate", "created_at": + "2024-01-19T21:43:30Z", "updated_at": "2024-01-19T21:43:30Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_27fbe94be1da4be797d83da1ec21096d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_0c13e0ce8b0a49bf83f9c39c1335d43c", "object": "Rate", "created_at": + "2024-01-19T21:43:30Z", "updated_at": "2024-01-19T21:43:30Z", "mode": "test", + "service": "Priority", "carrier": "USPS", "rate": "7.99", "currency": "USD", + "retail_rate": "14.05", "retail_currency": "USD", "list_rate": "10.27", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": + "shp_27fbe94be1da4be797d83da1ec21096d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_0c13e0ce8b0a49bf83f9c39c1335d43c", + "object": "Rate", "created_at": "2024-01-19T21:43:31Z", "updated_at": "2024-01-19T21:43:31Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_27fbe94be1da4be797d83da1ec21096d", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_a090057afee546fbb4ce6bc74b55c696", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708013", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:43:31Z", + "updated_at": "2024-01-19T21:43:31Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_27fbe94be1da4be797d83da1ec21096d", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrX2EwOTAwNTdhZmVlNTQ2ZmJiNGNlNmJjNzRiNTVjNjk2"}, + "to_address": {"id": "adr_c968d172b71311ee8705ac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T21:43:30+00:00", "updated_at": "2024-01-19T21:43:30+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_c96b5fcdb71311ee8707ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:43:30+00:00", "updated_at": + "2024-01-19T21:43:30+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_c968d172b71311ee8705ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:43:30+00:00", "updated_at": "2024-01-19T21:43:30+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_27fbe94be1da4be797d83da1ec21096d", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_27fbe94be1da4be797d83da1ec21096d + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaed02e78ba40c000d3954 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.987971' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"pickup": {"reference": "my-first-pickup", "min_datetime": "2024-01-22", + "max_datetime": "2024-01-22", "shipment": {"id": "shp_27fbe94be1da4be797d83da1ec21096d"}, + "address": {"name": "Dr. Steve Brule", "street1": "179 N Harbor Dr", "city": + "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "phone": "8573875756", + "email": "dr_steve_brule@gmail.com"}, "is_account_address": "false", "instructions": + "Special pickup instructions"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '445' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/pickups + response: + body: + string: '{"id": "pickup_8c4c92e3da4049228a96d54b18dfcfaf", "object": "Pickup", + "created_at": "2024-01-19T21:43:31Z", "updated_at": "2024-01-19T21:43:31Z", + "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": + "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": + false, "instructions": "Special pickup instructions", "messages": [], "confirmation": + null, "address": {"id": "adr_ca230db0b71311eeb845ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:43:31+00:00", "updated_at": "2024-01-19T21:43:31+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": + [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", + "created_at": "2024-01-19T21:43:32Z", "updated_at": "2024-01-19T21:43:32Z", + "carrier": "USPS", "pickup_id": "pickup_8c4c92e3da4049228a96d54b18dfcfaf", + "id": "pickuprate_501827c1b4a4441abf86c3bca90ef161", "object": "PickupRate"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1184' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaed03e78ba40d000d39ff + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.823097' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:47:22Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010708440", "updated_at": "2024-01-19T21:47:23Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_8551e1b203d94ce38600d29b3189f51b", "object": "CustomsInfo", "created_at": + "2024-01-19T21:47:22Z", "updated_at": "2024-01-19T21:47:22Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_373a2b70b1ff44a1b6cc64134bf91574", + "object": "CustomsItem", "created_at": "2024-01-19T21:47:22Z", "updated_at": + "2024-01-19T21:47:22Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_53b60207b71411eea4f9ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:47:22+00:00", "updated_at": + "2024-01-19T21:47:22+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_c204295b1de9431d9ee869173b10bcc4", + "object": "Parcel", "created_at": "2024-01-19T21:47:22Z", "updated_at": "2024-01-19T21:47:22Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_f1bdb80f050d4a36b575605a555ae366", "created_at": "2024-01-19T21:47:23Z", + "updated_at": "2024-01-19T21:47:23Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:47:23Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e88ffa73e7f9c549c1ab049a0469cb40fa.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_126e184b78ae41b28198a76a9b8160db", "object": + "Rate", "created_at": "2024-01-19T21:47:22Z", "updated_at": "2024-01-19T21:47:22Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_5bedb807a0fc4cb4a9a4d4b48fe69245", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_289c670eed0e4578971119822cd3a3f9", + "object": "Rate", "created_at": "2024-01-19T21:47:22Z", "updated_at": "2024-01-19T21:47:22Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_5bedb807a0fc4cb4a9a4d4b48fe69245", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_145724a566154573842a8454e3c32019", + "object": "Rate", "created_at": "2024-01-19T21:47:22Z", "updated_at": "2024-01-19T21:47:22Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_5bedb807a0fc4cb4a9a4d4b48fe69245", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_5d924f7f745442cb9b94cc9a94056277", + "object": "Rate", "created_at": "2024-01-19T21:47:22Z", "updated_at": "2024-01-19T21:47:22Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_5bedb807a0fc4cb4a9a4d4b48fe69245", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_194ed08a82cc4de2904a3ab59321b090", "object": "Rate", "created_at": + "2024-01-19T21:47:22Z", "updated_at": "2024-01-19T21:47:22Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_5bedb807a0fc4cb4a9a4d4b48fe69245", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_289c670eed0e4578971119822cd3a3f9", + "object": "Rate", "created_at": "2024-01-19T21:47:23Z", "updated_at": "2024-01-19T21:47:23Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_5bedb807a0fc4cb4a9a4d4b48fe69245", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_0d5891368f0045869d88515382e7f4c9", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708440", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:47:23Z", + "updated_at": "2024-01-19T21:47:23Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_5bedb807a0fc4cb4a9a4d4b48fe69245", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzBkNTg5MTM2OGYwMDQ1ODY5ZDg4NTE1MzgyZTdmNGM5"}, + "to_address": {"id": "adr_53b3b63fb71411eea1eb3cecef1b359e", "object": "Address", + "created_at": "2024-01-19T21:47:22+00:00", "updated_at": "2024-01-19T21:47:22+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_53b60207b71411eea4f9ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:47:22+00:00", "updated_at": + "2024-01-19T21:47:22+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_53b3b63fb71411eea1eb3cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:47:22+00:00", "updated_at": "2024-01-19T21:47:22+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_5bedb807a0fc4cb4a9a4d4b48fe69245", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_5bedb807a0fc4cb4a9a4d4b48fe69245 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdab65aaedeae78bac9200112f94 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.997949' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"pickup": {"reference": "my-first-pickup", "min_datetime": "2024-01-22", + "max_datetime": "2024-01-22", "shipment": {"id": "shp_5bedb807a0fc4cb4a9a4d4b48fe69245"}, + "address": {"name": "Dr. Steve Brule", "street1": "179 N Harbor Dr", "city": + "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "phone": "8573875756", + "email": "dr_steve_brule@gmail.com"}, "is_account_address": "false", "instructions": + "Special pickup instructions"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '445' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/pickups + response: + body: + string: '{"id": "pickup_e1dfd6282d8642a7806417d150b01107", "object": "Pickup", + "created_at": "2024-01-19T21:47:23Z", "updated_at": "2024-01-19T21:47:23Z", + "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": + "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": + false, "instructions": "Special pickup instructions", "messages": [], "confirmation": + null, "address": {"id": "adr_546d814db71411eeb3aaac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:47:23+00:00", "updated_at": "2024-01-19T21:47:23+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": + [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", + "created_at": "2024-01-19T21:47:24Z", "updated_at": "2024-01-19T21:47:24Z", + "carrier": "USPS", "pickup_id": "pickup_e1dfd6282d8642a7806417d150b01107", + "id": "pickuprate_e2d2de5bbea94afaad2b7659dc7042dc", "object": "PickupRate"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1184' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdac65aaedebe78bacaa00113056 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.767450' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:49:17Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010708969", "updated_at": "2024-01-19T21:49:18Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_768d7ca85c6f4f4fa82ea81e84e75835", "object": "CustomsInfo", "created_at": + "2024-01-19T21:49:17Z", "updated_at": "2024-01-19T21:49:17Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_465f3cd5e6d44753984c90aacd76fd1d", + "object": "CustomsItem", "created_at": "2024-01-19T21:49:17Z", "updated_at": + "2024-01-19T21:49:17Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_97f030aeb71411eeb908ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:49:17+00:00", "updated_at": + "2024-01-19T21:49:17+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_e000e48ce198484e8970070e410592f2", + "object": "Parcel", "created_at": "2024-01-19T21:49:17Z", "updated_at": "2024-01-19T21:49:17Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_f4befbf097f34764a97aa1f985a4433e", "created_at": "2024-01-19T21:49:17Z", + "updated_at": "2024-01-19T21:49:18Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:49:17Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e801f3251dc6474185a9e837947011d89e.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_67261f0adacc4064ae2b9bc554cdb83b", "object": + "Rate", "created_at": "2024-01-19T21:49:17Z", "updated_at": "2024-01-19T21:49:17Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_413379ec3b8a4f31a92990f152009fa4", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_3e74e83941fe43b98ac3252de7fc0dc7", + "object": "Rate", "created_at": "2024-01-19T21:49:17Z", "updated_at": "2024-01-19T21:49:17Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_413379ec3b8a4f31a92990f152009fa4", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_1e4f380e5ebb4680b16f0765df8540b6", + "object": "Rate", "created_at": "2024-01-19T21:49:17Z", "updated_at": "2024-01-19T21:49:17Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_413379ec3b8a4f31a92990f152009fa4", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_9639fb2076f149469ec5f27cefa0767f", + "object": "Rate", "created_at": "2024-01-19T21:49:17Z", "updated_at": "2024-01-19T21:49:17Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_413379ec3b8a4f31a92990f152009fa4", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_b36cfe163f314777b195ab9e7ac36dfd", "object": "Rate", "created_at": + "2024-01-19T21:49:17Z", "updated_at": "2024-01-19T21:49:17Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_413379ec3b8a4f31a92990f152009fa4", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_3e74e83941fe43b98ac3252de7fc0dc7", + "object": "Rate", "created_at": "2024-01-19T21:49:17Z", "updated_at": "2024-01-19T21:49:17Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_413379ec3b8a4f31a92990f152009fa4", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_0132b7c654304d4796fb39a16edb2984", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708969", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:49:18Z", + "updated_at": "2024-01-19T21:49:18Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_413379ec3b8a4f31a92990f152009fa4", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzAxMzJiN2M2NTQzMDRkNDc5NmZiMzlhMTZlZGIyOTg0"}, + "to_address": {"id": "adr_97ed994db71411eeb7763cecef1b359e", "object": "Address", + "created_at": "2024-01-19T21:49:17+00:00", "updated_at": "2024-01-19T21:49:17+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_97f030aeb71411eeb908ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:49:17+00:00", "updated_at": + "2024-01-19T21:49:17+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_97ed994db71411eeb7763cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:49:17+00:00", "updated_at": "2024-01-19T21:49:17+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_413379ec3b8a4f31a92990f152009fa4", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_413379ec3b8a4f31a92990f152009fa4 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdad65aaee5de78bb4cb001173f3 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '1.189872' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"pickup": {"reference": "my-first-pickup", "min_datetime": "2024-01-22", + "max_datetime": "2024-01-22", "shipment": {"id": "shp_413379ec3b8a4f31a92990f152009fa4"}, + "address": {"name": "Dr. Steve Brule", "street1": "179 N Harbor Dr", "city": + "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "phone": "8573875756", + "email": "dr_steve_brule@gmail.com"}, "is_account_address": "false", "instructions": + "Special pickup instructions"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '445' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/pickups + response: + body: + string: '{"id": "pickup_7c6611429b364d679f055018c7231bd4", "object": "Pickup", + "created_at": "2024-01-19T21:49:18Z", "updated_at": "2024-01-19T21:49:18Z", + "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": + "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": + false, "instructions": "Special pickup instructions", "messages": [], "confirmation": + null, "address": {"id": "adr_98c50aa3b71411eeb93fac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:49:18+00:00", "updated_at": "2024-01-19T21:49:18+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": + [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", + "created_at": "2024-01-19T21:49:19Z", "updated_at": "2024-01-19T21:49:19Z", + "carrier": "USPS", "pickup_id": "pickup_7c6611429b364d679f055018c7231bd4", + "id": "pickuprate_59fd8995f09d4ae6955a3fe3b351e66c", "object": "PickupRate"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1184' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdac65aaee5ee78bb4cc0011750b + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '1.025280' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:58:36Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010711440", "updated_at": "2024-01-19T21:58:37Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_cdd538f6e3c047aeb0249d3447658f02", "object": "CustomsInfo", "created_at": + "2024-01-19T21:58:36Z", "updated_at": "2024-01-19T21:58:36Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_2458721f0fbc4af5a08861fefe5aa62f", + "object": "CustomsItem", "created_at": "2024-01-19T21:58:36Z", "updated_at": + "2024-01-19T21:58:36Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_e557662fb71511eeaad6ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:58:36+00:00", "updated_at": + "2024-01-19T21:58:36+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_5c5dc8ea54074f999c122b85ac997c59", + "object": "Parcel", "created_at": "2024-01-19T21:58:36Z", "updated_at": "2024-01-19T21:58:36Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_8f5427b0d7a440d68397d7d03d55002b", "created_at": "2024-01-19T21:58:37Z", + "updated_at": "2024-01-19T21:58:37Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:58:37Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e85aea285a2ee541baa833fdfc84b494de.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_cc6603787d4943ffb21f08e1ff9ae5a9", "object": + "Rate", "created_at": "2024-01-19T21:58:36Z", "updated_at": "2024-01-19T21:58:36Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_1359447d0fd144ae854d5cc0d89cf66f", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4802447389514f0f977d7dfa0a8f6888", + "object": "Rate", "created_at": "2024-01-19T21:58:36Z", "updated_at": "2024-01-19T21:58:36Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_1359447d0fd144ae854d5cc0d89cf66f", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_957dabafebdc4224ad6670136fbcbe1b", + "object": "Rate", "created_at": "2024-01-19T21:58:36Z", "updated_at": "2024-01-19T21:58:36Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_1359447d0fd144ae854d5cc0d89cf66f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_c057196060984fd2a8e1325534d05b55", "object": "Rate", "created_at": + "2024-01-19T21:58:36Z", "updated_at": "2024-01-19T21:58:36Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_1359447d0fd144ae854d5cc0d89cf66f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_213796b04de44313937cfe4b7d110787", "object": "Rate", "created_at": + "2024-01-19T21:58:36Z", "updated_at": "2024-01-19T21:58:36Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_1359447d0fd144ae854d5cc0d89cf66f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_cc6603787d4943ffb21f08e1ff9ae5a9", + "object": "Rate", "created_at": "2024-01-19T21:58:37Z", "updated_at": "2024-01-19T21:58:37Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_1359447d0fd144ae854d5cc0d89cf66f", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_e9c7aadc05594d669a101f3cb289f426", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711440", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:58:37Z", + "updated_at": "2024-01-19T21:58:37Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_1359447d0fd144ae854d5cc0d89cf66f", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrX2U5YzdhYWRjMDU1OTRkNjY5YTEwMWYzY2IyODlmNDI2"}, + "to_address": {"id": "adr_e5552e78b71511eea6c93cecef1b359e", "object": "Address", + "created_at": "2024-01-19T21:58:36+00:00", "updated_at": "2024-01-19T21:58:36+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_e557662fb71511eeaad6ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:58:36+00:00", "updated_at": + "2024-01-19T21:58:36+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_e5552e78b71511eea6c93cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:58:36+00:00", "updated_at": "2024-01-19T21:58:36+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_1359447d0fd144ae854d5cc0d89cf66f", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_1359447d0fd144ae854d5cc0d89cf66f + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaf08ce798bf5b000f76e8 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.017323' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"pickup": {"reference": "my-first-pickup", "min_datetime": "2024-01-22", + "max_datetime": "2024-01-22", "shipment": {"id": "shp_1359447d0fd144ae854d5cc0d89cf66f"}, + "address": {"name": "Dr. Steve Brule", "street1": "179 N Harbor Dr", "city": + "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "phone": "8573875756", + "email": "dr_steve_brule@gmail.com"}, "is_account_address": "false", "instructions": + "Special pickup instructions"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '445' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/pickups + response: + body: + string: '{"id": "pickup_794c364890bf4fdf91f18046eda0fb62", "object": "Pickup", + "created_at": "2024-01-19T21:58:37Z", "updated_at": "2024-01-19T21:58:37Z", + "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": + "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": + false, "instructions": "Special pickup instructions", "messages": [], "confirmation": + null, "address": {"id": "adr_e6157c11b71511eeb98eac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:58:37+00:00", "updated_at": "2024-01-19T21:58:37+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": + [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", + "created_at": "2024-01-19T21:58:38Z", "updated_at": "2024-01-19T21:58:38Z", + "carrier": "USPS", "pickup_id": "pickup_794c364890bf4fdf91f18046eda0fb62", + "id": "pickuprate_504fddf6b2264434947b5a3d87b28306", "object": "PickupRate"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1184' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaf08de798bf5c000f7774 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.753684' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T22:01:30Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010711860", "updated_at": "2024-01-19T22:01:31Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_3b08898bbddf4be09fce5b385add0314", "object": "CustomsInfo", "created_at": + "2024-01-19T22:01:30Z", "updated_at": "2024-01-19T22:01:30Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_ccac1909b870488fa5a403abc1b15f00", + "object": "CustomsItem", "created_at": "2024-01-19T22:01:30Z", "updated_at": + "2024-01-19T22:01:30Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_4d327696b71611ee9a02ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T22:01:30+00:00", "updated_at": + "2024-01-19T22:01:30+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_3048a24da46e40a6aa72b0e32a96d1d0", + "object": "Parcel", "created_at": "2024-01-19T22:01:30Z", "updated_at": "2024-01-19T22:01:30Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_db60c9a67f5644609a15395e0d0e4837", "created_at": "2024-01-19T22:01:31Z", + "updated_at": "2024-01-19T22:01:31Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T22:01:31Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8b11fcd76452c4f61b735987813db33e4.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_0a7fc61a18804a8e8c769ef936acb2e5", "object": + "Rate", "created_at": "2024-01-19T22:01:30Z", "updated_at": "2024-01-19T22:01:30Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_e77b726c870b4d7c9f248e3d730f0c8d", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_843d01b6c88f4319bd1dbdd5af88a4b9", + "object": "Rate", "created_at": "2024-01-19T22:01:30Z", "updated_at": "2024-01-19T22:01:30Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_e77b726c870b4d7c9f248e3d730f0c8d", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_9e269665b5bd48c2a8f69227a184dfed", + "object": "Rate", "created_at": "2024-01-19T22:01:30Z", "updated_at": "2024-01-19T22:01:30Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_e77b726c870b4d7c9f248e3d730f0c8d", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4b681456b63949519666bf6e35df3a87", + "object": "Rate", "created_at": "2024-01-19T22:01:30Z", "updated_at": "2024-01-19T22:01:30Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_e77b726c870b4d7c9f248e3d730f0c8d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_a1f4787753224596851e84d7f28765d7", "object": "Rate", "created_at": + "2024-01-19T22:01:30Z", "updated_at": "2024-01-19T22:01:30Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_e77b726c870b4d7c9f248e3d730f0c8d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_843d01b6c88f4319bd1dbdd5af88a4b9", + "object": "Rate", "created_at": "2024-01-19T22:01:31Z", "updated_at": "2024-01-19T22:01:31Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_e77b726c870b4d7c9f248e3d730f0c8d", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_07e719d15cec4dab8d22ee68edbd2223", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711860", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:01:31Z", + "updated_at": "2024-01-19T22:01:31Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_e77b726c870b4d7c9f248e3d730f0c8d", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzA3ZTcxOWQxNWNlYzRkYWI4ZDIyZWU2OGVkYmQyMjIz"}, + "to_address": {"id": "adr_4d2ff6a3b71611ee9a01ac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T22:01:30+00:00", "updated_at": "2024-01-19T22:01:31+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_4d327696b71611ee9a02ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T22:01:30+00:00", "updated_at": + "2024-01-19T22:01:30+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_4d2ff6a3b71611ee9a01ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T22:01:30+00:00", "updated_at": "2024-01-19T22:01:31+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_e77b726c870b4d7c9f248e3d730f0c8d", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_e77b726c870b4d7c9f248e3d730f0c8d + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf13ae798c4a6001007cf + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.047694' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"pickup": {"reference": "my-first-pickup", "min_datetime": "2024-01-22", + "max_datetime": "2024-01-22", "shipment": {"id": "shp_e77b726c870b4d7c9f248e3d730f0c8d"}, + "address": {"name": "Dr. Steve Brule", "street1": "179 N Harbor Dr", "city": + "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "phone": "8573875756", + "email": "dr_steve_brule@gmail.com"}, "is_account_address": "false", "instructions": + "Special pickup instructions"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '445' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/pickups + response: + body: + string: '{"id": "pickup_c3e30270d2fa4a12b7d1c493febf9d6f", "object": "Pickup", + "created_at": "2024-01-19T22:01:32Z", "updated_at": "2024-01-19T22:01:32Z", + "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": + "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": + false, "instructions": "Special pickup instructions", "messages": [], "confirmation": + null, "address": {"id": "adr_4df43f02b71611ee88193cecef1b359e", "object": + "Address", "created_at": "2024-01-19T22:01:32+00:00", "updated_at": "2024-01-19T22:01:32+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": + [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", + "created_at": "2024-01-19T22:01:32Z", "updated_at": "2024-01-19T22:01:32Z", + "carrier": "USPS", "pickup_id": "pickup_c3e30270d2fa4a12b7d1c493febf9d6f", + "id": "pickuprate_5eef800801a943d1ac6cea59e68855f6", "object": "PickupRate"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1184' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaf13be798c4be00100911 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.728142' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T22:05:17Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010712638", "updated_at": "2024-01-19T22:05:18Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_05c0d1e9b3fb412ab76ddc7f0f41b886", "object": "CustomsInfo", "created_at": + "2024-01-19T22:05:17Z", "updated_at": "2024-01-19T22:05:17Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_b15994e470aa4c9aa5bec38f6a680306", + "object": "CustomsItem", "created_at": "2024-01-19T22:05:17Z", "updated_at": + "2024-01-19T22:05:17Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_d422176ab71611eeb734ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T22:05:17+00:00", "updated_at": + "2024-01-19T22:05:17+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_f083c8d5348c406d90dcd8efcc34c05d", + "object": "Parcel", "created_at": "2024-01-19T22:05:17Z", "updated_at": "2024-01-19T22:05:17Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_86ad8633caa34d43a96424d416846249", "created_at": "2024-01-19T22:05:17Z", + "updated_at": "2024-01-19T22:05:18Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T22:05:17Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e86cf6bc3003b54b54bde4601b5786b5ea.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_d98fdb2a768e4c4584f97e61691a9fed", "object": + "Rate", "created_at": "2024-01-19T22:05:17Z", "updated_at": "2024-01-19T22:05:17Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_84c4020719964e09b4c5f8dbba2bfd3b", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_686f3e9bc9bc4934b79225c62cfef9fc", + "object": "Rate", "created_at": "2024-01-19T22:05:17Z", "updated_at": "2024-01-19T22:05:17Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_84c4020719964e09b4c5f8dbba2bfd3b", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_2be28211cf6e40b9b36b776e9eff4103", + "object": "Rate", "created_at": "2024-01-19T22:05:17Z", "updated_at": "2024-01-19T22:05:17Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_84c4020719964e09b4c5f8dbba2bfd3b", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f2053aa763c545f1a90ecf9ff6707e6b", + "object": "Rate", "created_at": "2024-01-19T22:05:17Z", "updated_at": "2024-01-19T22:05:17Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_84c4020719964e09b4c5f8dbba2bfd3b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_09b6ef0805a0430185c54d8c6bb07967", "object": "Rate", "created_at": + "2024-01-19T22:05:17Z", "updated_at": "2024-01-19T22:05:17Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_84c4020719964e09b4c5f8dbba2bfd3b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_686f3e9bc9bc4934b79225c62cfef9fc", + "object": "Rate", "created_at": "2024-01-19T22:05:17Z", "updated_at": "2024-01-19T22:05:17Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_84c4020719964e09b4c5f8dbba2bfd3b", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_835eb5f5406a46eb8d2624dd975047fa", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010712638", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:05:18Z", + "updated_at": "2024-01-19T22:05:18Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_84c4020719964e09b4c5f8dbba2bfd3b", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzgzNWViNWY1NDA2YTQ2ZWI4ZDI2MjRkZDk3NTA0N2Zh"}, + "to_address": {"id": "adr_d41fbddfb71611ee84dfac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T22:05:17+00:00", "updated_at": "2024-01-19T22:05:17+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_d422176ab71611eeb734ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T22:05:17+00:00", "updated_at": + "2024-01-19T22:05:17+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_d41fbddfb71611ee84dfac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T22:05:17+00:00", "updated_at": "2024-01-19T22:05:17+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_84c4020719964e09b4c5f8dbba2bfd3b", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_84c4020719964e09b4c5f8dbba2bfd3b + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaf21de798d09b0010b320 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.286933' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"pickup": {"reference": "my-first-pickup", "min_datetime": "2024-01-22", + "max_datetime": "2024-01-22", "shipment": {"id": "shp_84c4020719964e09b4c5f8dbba2bfd3b"}, + "address": {"name": "Dr. Steve Brule", "street1": "179 N Harbor Dr", "city": + "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "phone": "8573875756", + "email": "dr_steve_brule@gmail.com"}, "is_account_address": "false", "instructions": + "Special pickup instructions"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '445' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/pickups + response: + body: + string: '{"id": "pickup_569dc2d98b704d4ab6876b6e41fc54a3", "object": "Pickup", + "created_at": "2024-01-19T22:05:18Z", "updated_at": "2024-01-19T22:05:18Z", + "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": + "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": + false, "instructions": "Special pickup instructions", "messages": [], "confirmation": + null, "address": {"id": "adr_d513f09fb71611eeb3113cecef1b359e", "object": + "Address", "created_at": "2024-01-19T22:05:18+00:00", "updated_at": "2024-01-19T22:05:18+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": + [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", + "created_at": "2024-01-19T22:05:19Z", "updated_at": "2024-01-19T22:05:19Z", + "carrier": "USPS", "pickup_id": "pickup_569dc2d98b704d4ab6876b6e41fc54a3", + "id": "pickuprate_c0060d5e00b349e8b6b810de962c37c9", "object": "PickupRate"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1184' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaf21ee798d09c0010b428 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.782001' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_pickups_list.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_pickups_list.yaml new file mode 100644 index 00000000..aaefbd61 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_pickups_list.yaml @@ -0,0 +1,79 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/pickups?page_size=1 + response: + body: + string: '{"pickups": [{"id": "pickup_283f2915cc7b42c1889195ddb6519ef7", "object": + "Pickup", "created_at": "2024-01-19T22:05:27Z", "updated_at": "2024-01-19T22:05:30Z", + "mode": "test", "status": "canceled", "reference": "my-first-pickup", "min_datetime": + "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": + false, "instructions": "Special pickup instructions", "messages": [], "confirmation": + "WTC64043622", "address": {"id": "adr_da725a65b71611ee878dac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T22:05:27+00:00", "updated_at": "2024-01-19T22:05:27+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": + [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", + "created_at": "2024-01-19T22:05:28Z", "updated_at": "2024-01-19T22:05:28Z", + "carrier": "USPS", "pickup_id": "pickup_283f2915cc7b42c1889195ddb6519ef7", + "id": "pickuprate_ca16cbcc4c4e4ad3b2be59e9f79505ca", "object": "PickupRate"}]}], + "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1224' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765ab00dfe7996dbd0019bf62 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.155510' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_pickups_retrieve.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_pickups_retrieve.yaml new file mode 100644 index 00000000..7affb022 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_pickups_retrieve.yaml @@ -0,0 +1,2444 @@ +interactions: +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:41:06Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010707641", "updated_at": "2024-01-19T21:41:06Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_5782b613827e437ab42b6f4962c09882", "object": "CustomsInfo", "created_at": + "2024-01-19T21:41:06Z", "updated_at": "2024-01-19T21:41:06Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_1f5c398706ab4634a2fdd80845b27e4e", + "object": "CustomsItem", "created_at": "2024-01-19T21:41:06Z", "updated_at": + "2024-01-19T21:41:06Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_733325a5b71311ee9988ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:41:06+00:00", "updated_at": + "2024-01-19T21:41:06+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_14ccfcab4d99452990ef52b6d8fce417", + "object": "Parcel", "created_at": "2024-01-19T21:41:06Z", "updated_at": "2024-01-19T21:41:06Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_e3342c54cb9144ef8712187de247a07e", "created_at": "2024-01-19T21:41:06Z", + "updated_at": "2024-01-19T21:41:06Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:41:06Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e88209677107d349aa84fa0bb64e3ff3c7.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_7ec8b8fe34b94680a1a067ce65d7a7d1", "object": + "Rate", "created_at": "2024-01-19T21:41:06Z", "updated_at": "2024-01-19T21:41:06Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_174dd0d75b6d41c8a8b29389bbd26e05", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_909a7bd211b446a5b1b04645fb4cf48e", + "object": "Rate", "created_at": "2024-01-19T21:41:06Z", "updated_at": "2024-01-19T21:41:06Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_174dd0d75b6d41c8a8b29389bbd26e05", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_d4218de346d24bc083e34befe1473a56", + "object": "Rate", "created_at": "2024-01-19T21:41:06Z", "updated_at": "2024-01-19T21:41:06Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_174dd0d75b6d41c8a8b29389bbd26e05", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_58d342775ecc461894c8d065b3253948", + "object": "Rate", "created_at": "2024-01-19T21:41:06Z", "updated_at": "2024-01-19T21:41:06Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_174dd0d75b6d41c8a8b29389bbd26e05", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_eec6f25deba54970b8bc755a9bded727", "object": "Rate", "created_at": + "2024-01-19T21:41:06Z", "updated_at": "2024-01-19T21:41:06Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_174dd0d75b6d41c8a8b29389bbd26e05", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_909a7bd211b446a5b1b04645fb4cf48e", + "object": "Rate", "created_at": "2024-01-19T21:41:06Z", "updated_at": "2024-01-19T21:41:06Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_174dd0d75b6d41c8a8b29389bbd26e05", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_22374cb37ce4447498988cfb9d226643", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010707641", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:41:06Z", + "updated_at": "2024-01-19T21:41:06Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_174dd0d75b6d41c8a8b29389bbd26e05", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzIyMzc0Y2IzN2NlNDQ0NzQ5ODk4OGNmYjlkMjI2NjQz"}, + "to_address": {"id": "adr_732f1353b71311ee96d43cecef1b359e", "object": "Address", + "created_at": "2024-01-19T21:41:05+00:00", "updated_at": "2024-01-19T21:41:06+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_733325a5b71311ee9988ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:41:06+00:00", "updated_at": + "2024-01-19T21:41:06+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_732f1353b71311ee96d43cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:41:05+00:00", "updated_at": "2024-01-19T21:41:06+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_174dd0d75b6d41c8a8b29389bbd26e05", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_174dd0d75b6d41c8a8b29389bbd26e05 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaec71e78b9ec7000ce83b + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.095285' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"pickup": {"reference": "my-first-pickup", "min_datetime": "2024-01-22", + "max_datetime": "2024-01-22", "shipment": {"id": "shp_174dd0d75b6d41c8a8b29389bbd26e05"}, + "address": {"name": "Dr. Steve Brule", "street1": "179 N Harbor Dr", "city": + "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "phone": "8573875756", + "email": "dr_steve_brule@gmail.com"}, "is_account_address": "false", "instructions": + "Special pickup instructions"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '445' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/pickups + response: + body: + string: '{"id": "pickup_f0a1d91dca5b4c42b6af1ae4b48730c4", "object": "Pickup", + "created_at": "2024-01-19T21:41:07Z", "updated_at": "2024-01-19T21:41:07Z", + "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": + "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": + false, "instructions": "Special pickup instructions", "messages": [], "confirmation": + null, "address": {"id": "adr_7406e78cb71311ee99cfac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:41:07+00:00", "updated_at": "2024-01-19T21:41:07+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": + [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", + "created_at": "2024-01-19T21:41:08Z", "updated_at": "2024-01-19T21:41:08Z", + "carrier": "USPS", "pickup_id": "pickup_f0a1d91dca5b4c42b6af1ae4b48730c4", + "id": "pickuprate_906a807395f749df9671bdc5d2f800b2", "object": "PickupRate"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1184' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaec73e78b9edf000ce905 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.654738' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/pickups/pickup_f0a1d91dca5b4c42b6af1ae4b48730c4 + response: + body: + string: '{"id": "pickup_f0a1d91dca5b4c42b6af1ae4b48730c4", "object": "Pickup", + "created_at": "2024-01-19T21:41:07Z", "updated_at": "2024-01-19T21:41:07Z", + "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": + "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": + false, "instructions": "Special pickup instructions", "messages": [], "confirmation": + null, "address": {"id": "adr_7406e78cb71311ee99cfac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:41:07+00:00", "updated_at": "2024-01-19T21:41:07+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": + [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", + "created_at": "2024-01-19T21:41:08Z", "updated_at": "2024-01-19T21:41:08Z", + "carrier": "USPS", "pickup_id": "pickup_f0a1d91dca5b4c42b6af1ae4b48730c4", + "id": "pickuprate_906a807395f749df9671bdc5d2f800b2", "object": "PickupRate"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1184' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaec74e78b9ee0000ce9aa + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.046566' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:43:33Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010708020", "updated_at": "2024-01-19T21:43:33Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_cc3b01d0998b46108a74ac72f8eb8e7e", "object": "CustomsInfo", "created_at": + "2024-01-19T21:43:33Z", "updated_at": "2024-01-19T21:43:33Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_4b9a0309f24f433883c920e7725a50af", + "object": "CustomsItem", "created_at": "2024-01-19T21:43:33Z", "updated_at": + "2024-01-19T21:43:33Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_cacdc403b71311eeb6243cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:43:32+00:00", "updated_at": + "2024-01-19T21:43:32+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_35655f757d2f4a8bb9c3218da4031585", + "object": "Parcel", "created_at": "2024-01-19T21:43:32Z", "updated_at": "2024-01-19T21:43:32Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_1e2de81c59c042a0a8e5490d909ec767", "created_at": "2024-01-19T21:43:33Z", + "updated_at": "2024-01-19T21:43:33Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:43:33Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8d0732449c5e34a44b79a733459e0dace.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_d815ccfcd90844a98a119f70a8904a51", "object": + "Rate", "created_at": "2024-01-19T21:43:33Z", "updated_at": "2024-01-19T21:43:33Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_884a98103f8e4b8d87848830d6c8afb6", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4f64cb8cad6544359533778a93116e7f", + "object": "Rate", "created_at": "2024-01-19T21:43:33Z", "updated_at": "2024-01-19T21:43:33Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_884a98103f8e4b8d87848830d6c8afb6", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_d2831c04197e4c399b203ec91aefb320", + "object": "Rate", "created_at": "2024-01-19T21:43:33Z", "updated_at": "2024-01-19T21:43:33Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_884a98103f8e4b8d87848830d6c8afb6", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_d371895f67004349a56f3606d1a413a9", + "object": "Rate", "created_at": "2024-01-19T21:43:33Z", "updated_at": "2024-01-19T21:43:33Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_884a98103f8e4b8d87848830d6c8afb6", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_e23dc5cdd2c14a3192da9a83522dfc7b", "object": "Rate", "created_at": + "2024-01-19T21:43:33Z", "updated_at": "2024-01-19T21:43:33Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_884a98103f8e4b8d87848830d6c8afb6", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_4f64cb8cad6544359533778a93116e7f", + "object": "Rate", "created_at": "2024-01-19T21:43:33Z", "updated_at": "2024-01-19T21:43:33Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_884a98103f8e4b8d87848830d6c8afb6", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_a389e071445c4330abe5a5c693eb33fa", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708020", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:43:34Z", + "updated_at": "2024-01-19T21:43:34Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_884a98103f8e4b8d87848830d6c8afb6", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrX2EzODllMDcxNDQ1YzQzMzBhYmU1YTVjNjkzZWIzM2Zh"}, + "to_address": {"id": "adr_cacb260fb71311eeb86cac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T21:43:32+00:00", "updated_at": "2024-01-19T21:43:33+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_cacdc403b71311eeb6243cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:43:32+00:00", "updated_at": + "2024-01-19T21:43:32+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_cacb260fb71311eeb86cac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:43:32+00:00", "updated_at": "2024-01-19T21:43:33+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_884a98103f8e4b8d87848830d6c8afb6", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_884a98103f8e4b8d87848830d6c8afb6 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaed04e78ba428000d3ab7 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.108474' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"pickup": {"reference": "my-first-pickup", "min_datetime": "2024-01-22", + "max_datetime": "2024-01-22", "shipment": {"id": "shp_884a98103f8e4b8d87848830d6c8afb6"}, + "address": {"name": "Dr. Steve Brule", "street1": "179 N Harbor Dr", "city": + "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "phone": "8573875756", + "email": "dr_steve_brule@gmail.com"}, "is_account_address": "false", "instructions": + "Special pickup instructions"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '445' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/pickups + response: + body: + string: '{"id": "pickup_8e40349d706a414b8b9546a37d9050d0", "object": "Pickup", + "created_at": "2024-01-19T21:43:34Z", "updated_at": "2024-01-19T21:43:34Z", + "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": + "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": + false, "instructions": "Special pickup instructions", "messages": [], "confirmation": + null, "address": {"id": "adr_cb994278b71311eeb8cdac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:43:34+00:00", "updated_at": "2024-01-19T21:43:34+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": + [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", + "created_at": "2024-01-19T21:43:34Z", "updated_at": "2024-01-19T21:43:34Z", + "carrier": "USPS", "pickup_id": "pickup_8e40349d706a414b8b9546a37d9050d0", + "id": "pickuprate_5317b0798f47421a8cdbae139fedfdf6", "object": "PickupRate"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1184' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaed06e78ba429000d3be3 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.597451' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/pickups/pickup_8e40349d706a414b8b9546a37d9050d0 + response: + body: + string: '{"id": "pickup_8e40349d706a414b8b9546a37d9050d0", "object": "Pickup", + "created_at": "2024-01-19T21:43:34Z", "updated_at": "2024-01-19T21:43:34Z", + "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": + "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": + false, "instructions": "Special pickup instructions", "messages": [], "confirmation": + null, "address": {"id": "adr_cb994278b71311eeb8cdac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:43:34+00:00", "updated_at": "2024-01-19T21:43:34+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": + [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", + "created_at": "2024-01-19T21:43:34Z", "updated_at": "2024-01-19T21:43:34Z", + "carrier": "USPS", "pickup_id": "pickup_8e40349d706a414b8b9546a37d9050d0", + "id": "pickuprate_5317b0798f47421a8cdbae139fedfdf6", "object": "PickupRate"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1184' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaed07e78ba42b000d3c5c + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.070487' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:47:24Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010708457", "updated_at": "2024-01-19T21:47:25Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_ee00c43f36a44f2584049cbdc48ec411", "object": "CustomsInfo", "created_at": + "2024-01-19T21:47:24Z", "updated_at": "2024-01-19T21:47:24Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_c1601884bcca4f72b624507889260a75", + "object": "CustomsItem", "created_at": "2024-01-19T21:47:24Z", "updated_at": + "2024-01-19T21:47:24Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_55115c7bb71411eea47cac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:47:24+00:00", "updated_at": + "2024-01-19T21:47:24+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_3c3aa4649c85403eafb280e5688244e0", + "object": "Parcel", "created_at": "2024-01-19T21:47:24Z", "updated_at": "2024-01-19T21:47:24Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_10032bb4e915451f8b92e6f8fb6cc560", "created_at": "2024-01-19T21:47:25Z", + "updated_at": "2024-01-19T21:47:25Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:47:25Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8ca08decc4f034fb98409dbf0bf6fb777.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_b515ee97f66f4d6ca5a3cb956d9939bc", "object": + "Rate", "created_at": "2024-01-19T21:47:25Z", "updated_at": "2024-01-19T21:47:25Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_ec764df3c44a4d838a3b70a2f4a3800a", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_e0d50c6b28224a4e8c1571d72669e916", + "object": "Rate", "created_at": "2024-01-19T21:47:25Z", "updated_at": "2024-01-19T21:47:25Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_ec764df3c44a4d838a3b70a2f4a3800a", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c71f4912ecc34af8be6ec404e13c92f8", + "object": "Rate", "created_at": "2024-01-19T21:47:25Z", "updated_at": "2024-01-19T21:47:25Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_ec764df3c44a4d838a3b70a2f4a3800a", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_cef76dd02ca148c0bce4e2dff0b44782", + "object": "Rate", "created_at": "2024-01-19T21:47:25Z", "updated_at": "2024-01-19T21:47:25Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_ec764df3c44a4d838a3b70a2f4a3800a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_71a33416071e44f293b374dbeeed8f01", "object": "Rate", "created_at": + "2024-01-19T21:47:25Z", "updated_at": "2024-01-19T21:47:25Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_ec764df3c44a4d838a3b70a2f4a3800a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_e0d50c6b28224a4e8c1571d72669e916", + "object": "Rate", "created_at": "2024-01-19T21:47:25Z", "updated_at": "2024-01-19T21:47:25Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_ec764df3c44a4d838a3b70a2f4a3800a", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_aa30bea4b5d44e08aa8d0660499bf63d", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708457", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:47:25Z", + "updated_at": "2024-01-19T21:47:25Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_ec764df3c44a4d838a3b70a2f4a3800a", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrX2FhMzBiZWE0YjVkNDRlMDhhYThkMDY2MDQ5OWJmNjNk"}, + "to_address": {"id": "adr_550f1bf8b71411eea54bac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:47:24+00:00", "updated_at": "2024-01-19T21:47:25+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_55115c7bb71411eea47cac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:47:24+00:00", "updated_at": + "2024-01-19T21:47:24+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_550f1bf8b71411eea54bac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:47:24+00:00", "updated_at": "2024-01-19T21:47:25+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_ec764df3c44a4d838a3b70a2f4a3800a", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_ec764df3c44a4d838a3b70a2f4a3800a + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdaa65aaedece78bacab00113101 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '1.052237' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"pickup": {"reference": "my-first-pickup", "min_datetime": "2024-01-22", + "max_datetime": "2024-01-22", "shipment": {"id": "shp_ec764df3c44a4d838a3b70a2f4a3800a"}, + "address": {"name": "Dr. Steve Brule", "street1": "179 N Harbor Dr", "city": + "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "phone": "8573875756", + "email": "dr_steve_brule@gmail.com"}, "is_account_address": "false", "instructions": + "Special pickup instructions"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '445' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/pickups + response: + body: + string: '{"id": "pickup_e68007480c544a1483e06effc6574e52", "object": "Pickup", + "created_at": "2024-01-19T21:47:26Z", "updated_at": "2024-01-19T21:47:26Z", + "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": + "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": + false, "instructions": "Special pickup instructions", "messages": [], "confirmation": + null, "address": {"id": "adr_55d2501bb71411eeb40bac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:47:26+00:00", "updated_at": "2024-01-19T21:47:26+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": + [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", + "created_at": "2024-01-19T21:47:26Z", "updated_at": "2024-01-19T21:47:26Z", + "carrier": "USPS", "pickup_id": "pickup_e68007480c544a1483e06effc6574e52", + "id": "pickuprate_c6294d7422f2487cb39e9aeb12f231b0", "object": "PickupRate"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1184' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdaa65aaedeee78bacac001131dc + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.825834' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/pickups/pickup_e68007480c544a1483e06effc6574e52 + response: + body: + string: '{"id": "pickup_e68007480c544a1483e06effc6574e52", "object": "Pickup", + "created_at": "2024-01-19T21:47:26Z", "updated_at": "2024-01-19T21:47:26Z", + "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": + "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": + false, "instructions": "Special pickup instructions", "messages": [], "confirmation": + null, "address": {"id": "adr_55d2501bb71411eeb40bac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:47:26+00:00", "updated_at": "2024-01-19T21:47:26+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": + [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", + "created_at": "2024-01-19T21:47:26Z", "updated_at": "2024-01-19T21:47:26Z", + "carrier": "USPS", "pickup_id": "pickup_e68007480c544a1483e06effc6574e52", + "id": "pickuprate_c6294d7422f2487cb39e9aeb12f231b0", "object": "PickupRate"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1184' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdaa65aaedefe78bacad00113294 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.045354' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:49:19Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010708983", "updated_at": "2024-01-19T21:49:20Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_d2a67ace765b4e4f8471b381a01d4832", "object": "CustomsInfo", "created_at": + "2024-01-19T21:49:19Z", "updated_at": "2024-01-19T21:49:19Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_d24f70812a23466fb71b268670980836", + "object": "CustomsItem", "created_at": "2024-01-19T21:49:19Z", "updated_at": + "2024-01-19T21:49:19Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_9994f4d0b71411eebb08ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:49:19+00:00", "updated_at": + "2024-01-19T21:49:19+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_a519c754604e4809887939e991b68ea8", + "object": "Parcel", "created_at": "2024-01-19T21:49:19Z", "updated_at": "2024-01-19T21:49:19Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_675e8f4dd094456a8420453ff31f361c", "created_at": "2024-01-19T21:49:20Z", + "updated_at": "2024-01-19T21:49:20Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:49:20Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8504a0f3c9184446fa68ad17200714c14.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_43a59028a49e423f95dbc9304b8910e5", "object": + "Rate", "created_at": "2024-01-19T21:49:20Z", "updated_at": "2024-01-19T21:49:20Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_96ce4c228530404f80c066242a35c5f5", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_1c4d73cf6daf4cd2b3d549cbcea5eebf", + "object": "Rate", "created_at": "2024-01-19T21:49:20Z", "updated_at": "2024-01-19T21:49:20Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_96ce4c228530404f80c066242a35c5f5", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_2a1d9c1caa184dec9502edcef3c252be", + "object": "Rate", "created_at": "2024-01-19T21:49:20Z", "updated_at": "2024-01-19T21:49:20Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_96ce4c228530404f80c066242a35c5f5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_a97589105934434e97d61bb370f6f9b4", "object": "Rate", "created_at": + "2024-01-19T21:49:20Z", "updated_at": "2024-01-19T21:49:20Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_96ce4c228530404f80c066242a35c5f5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_a9e6a6d9381a462f9185ae7858b4351f", "object": "Rate", "created_at": + "2024-01-19T21:49:20Z", "updated_at": "2024-01-19T21:49:20Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_96ce4c228530404f80c066242a35c5f5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_43a59028a49e423f95dbc9304b8910e5", + "object": "Rate", "created_at": "2024-01-19T21:49:20Z", "updated_at": "2024-01-19T21:49:20Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_96ce4c228530404f80c066242a35c5f5", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_d1455010c19540848eeaec01d64ff46a", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708983", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:49:20Z", + "updated_at": "2024-01-19T21:49:20Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_96ce4c228530404f80c066242a35c5f5", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrX2QxNDU1MDEwYzE5NTQwODQ4ZWVhZWMwMWQ2NGZmNDZh"}, + "to_address": {"id": "adr_9992a052b71411ee896dac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T21:49:19+00:00", "updated_at": "2024-01-19T21:49:20+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_9994f4d0b71411eebb08ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:49:19+00:00", "updated_at": + "2024-01-19T21:49:19+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_9992a052b71411ee896dac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:49:19+00:00", "updated_at": "2024-01-19T21:49:20+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_96ce4c228530404f80c066242a35c5f5", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_96ce4c228530404f80c066242a35c5f5 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda765aaee5fe78bb4cd001175bc + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '1.162982' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"pickup": {"reference": "my-first-pickup", "min_datetime": "2024-01-22", + "max_datetime": "2024-01-22", "shipment": {"id": "shp_96ce4c228530404f80c066242a35c5f5"}, + "address": {"name": "Dr. Steve Brule", "street1": "179 N Harbor Dr", "city": + "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "phone": "8573875756", + "email": "dr_steve_brule@gmail.com"}, "is_account_address": "false", "instructions": + "Special pickup instructions"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '445' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/pickups + response: + body: + string: '{"id": "pickup_192d8b25777e4bf2a2e122740dd91003", "object": "Pickup", + "created_at": "2024-01-19T21:49:21Z", "updated_at": "2024-01-19T21:49:21Z", + "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": + "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": + false, "instructions": "Special pickup instructions", "messages": [], "confirmation": + null, "address": {"id": "adr_9a676fb7b71411eebb57ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:49:21+00:00", "updated_at": "2024-01-19T21:49:21+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": + [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", + "created_at": "2024-01-19T21:49:21Z", "updated_at": "2024-01-19T21:49:21Z", + "carrier": "USPS", "pickup_id": "pickup_192d8b25777e4bf2a2e122740dd91003", + "id": "pickuprate_bf88f7ddc6334a60b65bf427955ebe54", "object": "PickupRate"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1184' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda865aaee61e78bb4cf00117676 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.718016' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/pickups/pickup_192d8b25777e4bf2a2e122740dd91003 + response: + body: + string: '{"id": "pickup_192d8b25777e4bf2a2e122740dd91003", "object": "Pickup", + "created_at": "2024-01-19T21:49:21Z", "updated_at": "2024-01-19T21:49:21Z", + "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": + "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": + false, "instructions": "Special pickup instructions", "messages": [], "confirmation": + null, "address": {"id": "adr_9a676fb7b71411eebb57ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:49:21+00:00", "updated_at": "2024-01-19T21:49:21+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": + [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", + "created_at": "2024-01-19T21:49:21Z", "updated_at": "2024-01-19T21:49:21Z", + "carrier": "USPS", "pickup_id": "pickup_192d8b25777e4bf2a2e122740dd91003", + "id": "pickuprate_bf88f7ddc6334a60b65bf427955ebe54", "object": "PickupRate"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1184' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdad65aaee62e78bb4d0001176fc + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.053286' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:58:38Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010711457", "updated_at": "2024-01-19T21:58:39Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_eab2632d619f471cb3c820b138cef191", "object": "CustomsInfo", "created_at": + "2024-01-19T21:58:38Z", "updated_at": "2024-01-19T21:58:38Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_df198bd3cf8b4c5b9b35ab3d2f83fd27", + "object": "CustomsItem", "created_at": "2024-01-19T21:58:38Z", "updated_at": + "2024-01-19T21:58:38Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_e6c21c8fb71511eea7363cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:58:38+00:00", "updated_at": + "2024-01-19T21:58:38+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_ed05f2aa6b864b4cb9b8eabb738351e5", + "object": "Parcel", "created_at": "2024-01-19T21:58:38Z", "updated_at": "2024-01-19T21:58:38Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_073ed8e2c6f643989c20dd2acf5af8b6", "created_at": "2024-01-19T21:58:39Z", + "updated_at": "2024-01-19T21:58:39Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:58:39Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e87cff80d1fe00407a8c47d1f22f997f90.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_c3ebf67b7fcb46a69632bfcb92c8308f", "object": + "Rate", "created_at": "2024-01-19T21:58:39Z", "updated_at": "2024-01-19T21:58:39Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_76c4cbae6cd44538bd1a150cba7b874c", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_fb71674e33724c87bcd46e834bc1b3b9", + "object": "Rate", "created_at": "2024-01-19T21:58:39Z", "updated_at": "2024-01-19T21:58:39Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_76c4cbae6cd44538bd1a150cba7b874c", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_e0c02e0902c34218b447b83cc8ac0349", + "object": "Rate", "created_at": "2024-01-19T21:58:39Z", "updated_at": "2024-01-19T21:58:39Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_76c4cbae6cd44538bd1a150cba7b874c", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_8e028f5003e54477bcfb72f99725a7ee", + "object": "Rate", "created_at": "2024-01-19T21:58:39Z", "updated_at": "2024-01-19T21:58:39Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_76c4cbae6cd44538bd1a150cba7b874c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_a74e13bd13534505b38f3b6baf60e102", "object": "Rate", "created_at": + "2024-01-19T21:58:39Z", "updated_at": "2024-01-19T21:58:39Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_76c4cbae6cd44538bd1a150cba7b874c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_fb71674e33724c87bcd46e834bc1b3b9", + "object": "Rate", "created_at": "2024-01-19T21:58:39Z", "updated_at": "2024-01-19T21:58:39Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_76c4cbae6cd44538bd1a150cba7b874c", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_b95e2f504fe74b2984d46e616cdc3dda", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711457", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:58:39Z", + "updated_at": "2024-01-19T21:58:39Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_76c4cbae6cd44538bd1a150cba7b874c", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrX2I5NWUyZjUwNGZlNzRiMjk4NGQ0NmU2MTZjZGMzZGRh"}, + "to_address": {"id": "adr_e6bf03bfb71511eea919ac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T21:58:38+00:00", "updated_at": "2024-01-19T21:58:39+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_e6c21c8fb71511eea7363cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:58:38+00:00", "updated_at": + "2024-01-19T21:58:38+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_e6bf03bfb71511eea919ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:58:38+00:00", "updated_at": "2024-01-19T21:58:39+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_76c4cbae6cd44538bd1a150cba7b874c", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_76c4cbae6cd44538bd1a150cba7b874c + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf08ee798bf5d000f7814 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.038411' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"pickup": {"reference": "my-first-pickup", "min_datetime": "2024-01-22", + "max_datetime": "2024-01-22", "shipment": {"id": "shp_76c4cbae6cd44538bd1a150cba7b874c"}, + "address": {"name": "Dr. Steve Brule", "street1": "179 N Harbor Dr", "city": + "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "phone": "8573875756", + "email": "dr_steve_brule@gmail.com"}, "is_account_address": "false", "instructions": + "Special pickup instructions"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '445' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/pickups + response: + body: + string: '{"id": "pickup_0a1bb1cc91444ae99848e637fec14192", "object": "Pickup", + "created_at": "2024-01-19T21:58:40Z", "updated_at": "2024-01-19T21:58:40Z", + "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": + "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": + false, "instructions": "Special pickup instructions", "messages": [], "confirmation": + null, "address": {"id": "adr_e77facb6b71511eeb9faac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:58:40+00:00", "updated_at": "2024-01-19T21:58:40+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": + [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", + "created_at": "2024-01-19T21:58:40Z", "updated_at": "2024-01-19T21:58:40Z", + "carrier": "USPS", "pickup_id": "pickup_0a1bb1cc91444ae99848e637fec14192", + "id": "pickuprate_c9f601197e9e436d8369fb986862a3c8", "object": "PickupRate"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1184' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf090e798bf75000f78a4 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.676143' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/pickups/pickup_0a1bb1cc91444ae99848e637fec14192 + response: + body: + string: '{"id": "pickup_0a1bb1cc91444ae99848e637fec14192", "object": "Pickup", + "created_at": "2024-01-19T21:58:40Z", "updated_at": "2024-01-19T21:58:40Z", + "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": + "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": + false, "instructions": "Special pickup instructions", "messages": [], "confirmation": + null, "address": {"id": "adr_e77facb6b71511eeb9faac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:58:40+00:00", "updated_at": "2024-01-19T21:58:40+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": + [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", + "created_at": "2024-01-19T21:58:40Z", "updated_at": "2024-01-19T21:58:40Z", + "carrier": "USPS", "pickup_id": "pickup_0a1bb1cc91444ae99848e637fec14192", + "id": "pickuprate_c9f601197e9e436d8369fb986862a3c8", "object": "PickupRate"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1184' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf090e798bf77000f791e + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.058813' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T22:01:33Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010711884", "updated_at": "2024-01-19T22:01:34Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_a271ec3176104af7887d3a69f063eb50", "object": "CustomsInfo", "created_at": + "2024-01-19T22:01:33Z", "updated_at": "2024-01-19T22:01:33Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_e72f00b9de3a4e11b64e3e954626780c", + "object": "CustomsItem", "created_at": "2024-01-19T22:01:33Z", "updated_at": + "2024-01-19T22:01:33Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_4ea6be02b71611ee9a85ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T22:01:33+00:00", "updated_at": + "2024-01-19T22:01:33+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_807301bf8f024aea9f7582606e011359", + "object": "Parcel", "created_at": "2024-01-19T22:01:33Z", "updated_at": "2024-01-19T22:01:33Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_3119fae392034d76a24194388e1201b7", "created_at": "2024-01-19T22:01:33Z", + "updated_at": "2024-01-19T22:01:33Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T22:01:33Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8b702e23a69924234b46764227d9a2295.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_a31588f2a3884ed3ada606481b6c76f6", "object": + "Rate", "created_at": "2024-01-19T22:01:33Z", "updated_at": "2024-01-19T22:01:33Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_8e2e105cdde4412bbffd733855230d51", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_78c8fcf212e740239c8841296e3b2443", + "object": "Rate", "created_at": "2024-01-19T22:01:33Z", "updated_at": "2024-01-19T22:01:33Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_8e2e105cdde4412bbffd733855230d51", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_6d5110027555445ea37c69d69ed37c9e", + "object": "Rate", "created_at": "2024-01-19T22:01:33Z", "updated_at": "2024-01-19T22:01:33Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_8e2e105cdde4412bbffd733855230d51", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_6d99227038e64ca2a9a046934ba70b4c", + "object": "Rate", "created_at": "2024-01-19T22:01:33Z", "updated_at": "2024-01-19T22:01:33Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_8e2e105cdde4412bbffd733855230d51", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_1839475c7a714b24ad69885873b6377b", "object": "Rate", "created_at": + "2024-01-19T22:01:33Z", "updated_at": "2024-01-19T22:01:33Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_8e2e105cdde4412bbffd733855230d51", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_78c8fcf212e740239c8841296e3b2443", + "object": "Rate", "created_at": "2024-01-19T22:01:33Z", "updated_at": "2024-01-19T22:01:33Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_8e2e105cdde4412bbffd733855230d51", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_69d8a14dc1f4483492af97b05fd09333", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711884", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:01:34Z", + "updated_at": "2024-01-19T22:01:34Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_8e2e105cdde4412bbffd733855230d51", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzY5ZDhhMTRkYzFmNDQ4MzQ5MmFmOTdiMDVmZDA5MzMz"}, + "to_address": {"id": "adr_4ea41acfb71611ee8c3cac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T22:01:33+00:00", "updated_at": "2024-01-19T22:01:33+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_4ea6be02b71611ee9a85ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T22:01:33+00:00", "updated_at": + "2024-01-19T22:01:33+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_4ea41acfb71611ee8c3cac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T22:01:33+00:00", "updated_at": "2024-01-19T22:01:33+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_8e2e105cdde4412bbffd733855230d51", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_8e2e105cdde4412bbffd733855230d51 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaf13de798c4bf00100a42 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.016900' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"pickup": {"reference": "my-first-pickup", "min_datetime": "2024-01-22", + "max_datetime": "2024-01-22", "shipment": {"id": "shp_8e2e105cdde4412bbffd733855230d51"}, + "address": {"name": "Dr. Steve Brule", "street1": "179 N Harbor Dr", "city": + "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "phone": "8573875756", + "email": "dr_steve_brule@gmail.com"}, "is_account_address": "false", "instructions": + "Special pickup instructions"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '445' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/pickups + response: + body: + string: '{"id": "pickup_0d87909b79e648cca86aa60d12a54a2e", "object": "Pickup", + "created_at": "2024-01-19T22:01:34Z", "updated_at": "2024-01-19T22:01:34Z", + "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": + "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": + false, "instructions": "Special pickup instructions", "messages": [], "confirmation": + null, "address": {"id": "adr_4f6350dcb71611ee88b03cecef1b359e", "object": + "Address", "created_at": "2024-01-19T22:01:34+00:00", "updated_at": "2024-01-19T22:01:34+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": + [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", + "created_at": "2024-01-19T22:01:35Z", "updated_at": "2024-01-19T22:01:35Z", + "carrier": "USPS", "pickup_id": "pickup_0d87909b79e648cca86aa60d12a54a2e", + "id": "pickuprate_2243b083a4a2462a8e8657c568ae9fec", "object": "PickupRate"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1184' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf13ee798c4c100100b5f + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.728887' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/pickups/pickup_0d87909b79e648cca86aa60d12a54a2e + response: + body: + string: '{"id": "pickup_0d87909b79e648cca86aa60d12a54a2e", "object": "Pickup", + "created_at": "2024-01-19T22:01:34Z", "updated_at": "2024-01-19T22:01:34Z", + "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": + "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": + false, "instructions": "Special pickup instructions", "messages": [], "confirmation": + null, "address": {"id": "adr_4f6350dcb71611ee88b03cecef1b359e", "object": + "Address", "created_at": "2024-01-19T22:01:34+00:00", "updated_at": "2024-01-19T22:01:34+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": + [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", + "created_at": "2024-01-19T22:01:35Z", "updated_at": "2024-01-19T22:01:35Z", + "carrier": "USPS", "pickup_id": "pickup_0d87909b79e648cca86aa60d12a54a2e", + "id": "pickuprate_2243b083a4a2462a8e8657c568ae9fec", "object": "PickupRate"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1184' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaf13fe798c4c500100c4c + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.066112' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T22:05:19Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010712645", "updated_at": "2024-01-19T22:05:20Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_dbee504cec974afe921ddd5d082911ad", "object": "CustomsInfo", "created_at": + "2024-01-19T22:05:19Z", "updated_at": "2024-01-19T22:05:19Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_44f0b8d2478441a6b13e08cf3f7de155", + "object": "CustomsItem", "created_at": "2024-01-19T22:05:19Z", "updated_at": + "2024-01-19T22:05:19Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_d5cd84edb71611eeb56dac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:05:19+00:00", "updated_at": + "2024-01-19T22:05:19+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_7e7b281af9444d5da17f6e2d8f6b8208", + "object": "Parcel", "created_at": "2024-01-19T22:05:19Z", "updated_at": "2024-01-19T22:05:19Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_1fdd42863ffa4691bdd7f25edc2cb930", "created_at": "2024-01-19T22:05:20Z", + "updated_at": "2024-01-19T22:05:20Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T22:05:20Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e85bf9664e812441f68ad9de786bab4641.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_c1f85157c92243d18b6018c8b949ded6", "object": + "Rate", "created_at": "2024-01-19T22:05:20Z", "updated_at": "2024-01-19T22:05:20Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_f7e6152a498943a1979d92b280bcb2dc", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_0dbb2c31ec7141a2897b77f2d7402347", + "object": "Rate", "created_at": "2024-01-19T22:05:20Z", "updated_at": "2024-01-19T22:05:20Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_f7e6152a498943a1979d92b280bcb2dc", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_6e095c431cf543988a35d8937f01a71e", + "object": "Rate", "created_at": "2024-01-19T22:05:20Z", "updated_at": "2024-01-19T22:05:20Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_f7e6152a498943a1979d92b280bcb2dc", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_81fe04ac162844da99ebaaa523285f82", + "object": "Rate", "created_at": "2024-01-19T22:05:20Z", "updated_at": "2024-01-19T22:05:20Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_f7e6152a498943a1979d92b280bcb2dc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_e67358aa01f748d3ace4a6abf2e611b9", "object": "Rate", "created_at": + "2024-01-19T22:05:20Z", "updated_at": "2024-01-19T22:05:20Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_f7e6152a498943a1979d92b280bcb2dc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_0dbb2c31ec7141a2897b77f2d7402347", + "object": "Rate", "created_at": "2024-01-19T22:05:20Z", "updated_at": "2024-01-19T22:05:20Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_f7e6152a498943a1979d92b280bcb2dc", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_7095a248e90d4ff9a96c2ffce79d8295", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010712645", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:05:20Z", + "updated_at": "2024-01-19T22:05:20Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_f7e6152a498943a1979d92b280bcb2dc", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzcwOTVhMjQ4ZTkwZDRmZjlhOTZjMmZmY2U3OWQ4Mjk1"}, + "to_address": {"id": "adr_d5cbacf3b71611eeb3533cecef1b359e", "object": "Address", + "created_at": "2024-01-19T22:05:19+00:00", "updated_at": "2024-01-19T22:05:20+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_d5cd84edb71611eeb56dac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:05:19+00:00", "updated_at": + "2024-01-19T22:05:19+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_d5cbacf3b71611eeb3533cecef1b359e", "object": + "Address", "created_at": "2024-01-19T22:05:19+00:00", "updated_at": "2024-01-19T22:05:20+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_f7e6152a498943a1979d92b280bcb2dc", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_f7e6152a498943a1979d92b280bcb2dc + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf21fe798d09d0010b4eb + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.055974' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"pickup": {"reference": "my-first-pickup", "min_datetime": "2024-01-22", + "max_datetime": "2024-01-22", "shipment": {"id": "shp_f7e6152a498943a1979d92b280bcb2dc"}, + "address": {"name": "Dr. Steve Brule", "street1": "179 N Harbor Dr", "city": + "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "phone": "8573875756", + "email": "dr_steve_brule@gmail.com"}, "is_account_address": "false", "instructions": + "Special pickup instructions"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '445' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/pickups + response: + body: + string: '{"id": "pickup_8f82fb3107a247a9b08c0a4e9dd8a1f4", "object": "Pickup", + "created_at": "2024-01-19T22:05:21Z", "updated_at": "2024-01-19T22:05:21Z", + "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": + "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": + false, "instructions": "Special pickup instructions", "messages": [], "confirmation": + null, "address": {"id": "adr_d68ed437b71611eeb5cbac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T22:05:21+00:00", "updated_at": "2024-01-19T22:05:21+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": + [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", + "created_at": "2024-01-19T22:05:21Z", "updated_at": "2024-01-19T22:05:21Z", + "carrier": "USPS", "pickup_id": "pickup_8f82fb3107a247a9b08c0a4e9dd8a1f4", + "id": "pickuprate_9a79c462a60c479b941d329a5bb5bd74", "object": "PickupRate"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1184' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf221e798d09e0010b5c6 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.703352' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/pickups/pickup_8f82fb3107a247a9b08c0a4e9dd8a1f4 + response: + body: + string: '{"id": "pickup_8f82fb3107a247a9b08c0a4e9dd8a1f4", "object": "Pickup", + "created_at": "2024-01-19T22:05:21Z", "updated_at": "2024-01-19T22:05:21Z", + "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": + "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": + false, "instructions": "Special pickup instructions", "messages": [], "confirmation": + null, "address": {"id": "adr_d68ed437b71611eeb5cbac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T22:05:21+00:00", "updated_at": "2024-01-19T22:05:21+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": + [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", + "created_at": "2024-01-19T22:05:21Z", "updated_at": "2024-01-19T22:05:21Z", + "carrier": "USPS", "pickup_id": "pickup_8f82fb3107a247a9b08c0a4e9dd8a1f4", + "id": "pickuprate_9a79c462a60c479b941d329a5bb5bd74", "object": "PickupRate"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1184' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaf222e798d09f0010b685 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.049777' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_rates_regenerate.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_rates_regenerate.yaml new file mode 100644 index 00000000..202b5753 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_rates_regenerate.yaml @@ -0,0 +1,1887 @@ +interactions: +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '885' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:41:49Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T21:41:49Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_8ac718b4de03421792f048b658bdafc5", + "object": "CustomsInfo", "created_at": "2024-01-19T21:41:49Z", "updated_at": + "2024-01-19T21:41:49Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_27f7b556581d4da0ad8a330b6b8f744c", "object": "CustomsItem", + "created_at": "2024-01-19T21:41:49Z", "updated_at": "2024-01-19T21:41:49Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_8cd15bb3b71311ee9fd13cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:41:48+00:00", "updated_at": "2024-01-19T21:41:48+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_73a13a59b6d945ea9bd70ef04066ee24", "object": "Parcel", "created_at": + "2024-01-19T21:41:48Z", "updated_at": "2024-01-19T21:41:48Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_bb1480fe22cb4912b3c38236d07aacc3", + "object": "Rate", "created_at": "2024-01-19T21:41:49Z", "updated_at": "2024-01-19T21:41:49Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_ba77a6f86ef7491583fee193dedb2d6f", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c05c4198fdc043e9a7c4ee9c80f33833", + "object": "Rate", "created_at": "2024-01-19T21:41:49Z", "updated_at": "2024-01-19T21:41:49Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_ba77a6f86ef7491583fee193dedb2d6f", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b9fb254eda0c4e7cb6f0abf1ebe7155e", + "object": "Rate", "created_at": "2024-01-19T21:41:49Z", "updated_at": "2024-01-19T21:41:49Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_ba77a6f86ef7491583fee193dedb2d6f", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_373ecabb6a4b4d15abb41e9af4dfe94d", + "object": "Rate", "created_at": "2024-01-19T21:41:49Z", "updated_at": "2024-01-19T21:41:49Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_ba77a6f86ef7491583fee193dedb2d6f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_3d139629f1da438aa6587ab3d87fdb77", "object": "Rate", "created_at": + "2024-01-19T21:41:49Z", "updated_at": "2024-01-19T21:41:49Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_ba77a6f86ef7491583fee193dedb2d6f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_8cceb535b71311eea294ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:41:48+00:00", "updated_at": "2024-01-19T21:41:48+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_8cd15bb3b71311ee9fd13cecef1b359e", "object": "Address", "created_at": + "2024-01-19T21:41:48+00:00", "updated_at": "2024-01-19T21:41:48+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_8cceb535b71311eea294ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:41:48+00:00", "updated_at": + "2024-01-19T21:41:48+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_ba77a6f86ef7491583fee193dedb2d6f", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_ba77a6f86ef7491583fee193dedb2d6f + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaec9ce78b9f06000cffd6 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.751778' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments/shp_ba77a6f86ef7491583fee193dedb2d6f/rerate + response: + body: + string: '{"rates": [{"id": "rate_57e05c91db824b22822b07b4587725b6", "object": + "Rate", "created_at": "2024-01-19T21:41:50Z", "updated_at": "2024-01-19T21:41:50Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_ba77a6f86ef7491583fee193dedb2d6f", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_9956a5e475cb4b8187e1ccea9d4d13ac", + "object": "Rate", "created_at": "2024-01-19T21:41:50Z", "updated_at": "2024-01-19T21:41:50Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_ba77a6f86ef7491583fee193dedb2d6f", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_d4ca50d77d484dc282c9a000ace540a9", + "object": "Rate", "created_at": "2024-01-19T21:41:50Z", "updated_at": "2024-01-19T21:41:50Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_ba77a6f86ef7491583fee193dedb2d6f", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_fde79e357e8f4f80baf0f1f73dd88fc4", + "object": "Rate", "created_at": "2024-01-19T21:41:50Z", "updated_at": "2024-01-19T21:41:50Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_ba77a6f86ef7491583fee193dedb2d6f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_538437c6d7424537bb6936d3bdec7339", "object": "Rate", "created_at": + "2024-01-19T21:41:50Z", "updated_at": "2024-01-19T21:41:50Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_ba77a6f86ef7491583fee193dedb2d6f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2712' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaec9de78b9f07000d0046 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.678499' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '885' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:43:44Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T21:43:45Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_b34807b0ee384c279f994ad99f01ae19", + "object": "CustomsInfo", "created_at": "2024-01-19T21:43:44Z", "updated_at": + "2024-01-19T21:43:44Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_807e09e7581b450fa3c3b5d37d4204e6", "object": "CustomsItem", + "created_at": "2024-01-19T21:43:44Z", "updated_at": "2024-01-19T21:43:44Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_d1e53b5fb71311eebaeaac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:43:44+00:00", "updated_at": "2024-01-19T21:43:44+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_a72a68b82c9745748df67915b7bfda31", "object": "Parcel", "created_at": + "2024-01-19T21:43:44Z", "updated_at": "2024-01-19T21:43:44Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_4ac22b8f842c48a69780ce47dfd73534", + "object": "Rate", "created_at": "2024-01-19T21:43:45Z", "updated_at": "2024-01-19T21:43:45Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_0ae7204fbed947c6ad2d0501eaf60856", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_cbe8422441f84aeab3da8163d1e2b147", + "object": "Rate", "created_at": "2024-01-19T21:43:45Z", "updated_at": "2024-01-19T21:43:45Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_0ae7204fbed947c6ad2d0501eaf60856", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_8801c1cd6b7b4330b602d68054beeae8", + "object": "Rate", "created_at": "2024-01-19T21:43:45Z", "updated_at": "2024-01-19T21:43:45Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_0ae7204fbed947c6ad2d0501eaf60856", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_8e1b807e843a457da27a4a285b500c0e", "object": "Rate", "created_at": + "2024-01-19T21:43:45Z", "updated_at": "2024-01-19T21:43:45Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_0ae7204fbed947c6ad2d0501eaf60856", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_2437b69699ff4b56b226a46e4b475c01", "object": "Rate", "created_at": + "2024-01-19T21:43:45Z", "updated_at": "2024-01-19T21:43:45Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_0ae7204fbed947c6ad2d0501eaf60856", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_d1e23923b71311eeb87c3cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:43:44+00:00", "updated_at": "2024-01-19T21:43:44+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_d1e53b5fb71311eebaeaac1f6bc539ae", "object": "Address", "created_at": + "2024-01-19T21:43:44+00:00", "updated_at": "2024-01-19T21:43:44+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_d1e23923b71311eeb87c3cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:43:44+00:00", "updated_at": + "2024-01-19T21:43:44+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_0ae7204fbed947c6ad2d0501eaf60856", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_0ae7204fbed947c6ad2d0501eaf60856 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaed10e78ba745000d419c + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.730655' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments/shp_0ae7204fbed947c6ad2d0501eaf60856/rerate + response: + body: + string: '{"rates": [{"id": "rate_a95a6e55feea4ad3b3ed58c494a922af", "object": + "Rate", "created_at": "2024-01-19T21:43:46Z", "updated_at": "2024-01-19T21:43:46Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_0ae7204fbed947c6ad2d0501eaf60856", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c5ef1d1b111d47d1a8c6efab4ce54a69", + "object": "Rate", "created_at": "2024-01-19T21:43:46Z", "updated_at": "2024-01-19T21:43:46Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_0ae7204fbed947c6ad2d0501eaf60856", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_6fa30fab913c46eabd485899710f6d58", + "object": "Rate", "created_at": "2024-01-19T21:43:46Z", "updated_at": "2024-01-19T21:43:46Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_0ae7204fbed947c6ad2d0501eaf60856", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_a6d109d968a74869aac8d7c8f723b7d7", + "object": "Rate", "created_at": "2024-01-19T21:43:46Z", "updated_at": "2024-01-19T21:43:46Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_0ae7204fbed947c6ad2d0501eaf60856", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_c77ce7a2be544619a1fc4d677ad9d0a1", "object": "Rate", "created_at": + "2024-01-19T21:43:46Z", "updated_at": "2024-01-19T21:43:46Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_0ae7204fbed947c6ad2d0501eaf60856", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2712' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaed11e78ba746000d424e + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.676733' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '885' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:47:37Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T21:47:37Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_3ff1e1c37f7c495287695ba92adcf33d", + "object": "CustomsInfo", "created_at": "2024-01-19T21:47:37Z", "updated_at": + "2024-01-19T21:47:37Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_08e6f8860bcc4617833c4cc2ac3daa08", "object": "CustomsItem", + "created_at": "2024-01-19T21:47:37Z", "updated_at": "2024-01-19T21:47:37Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_5c5153aab71411eea4403cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:47:37+00:00", "updated_at": "2024-01-19T21:47:37+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_e7e31ba7af41406bb76b929621b8a989", "object": "Parcel", "created_at": + "2024-01-19T21:47:37Z", "updated_at": "2024-01-19T21:47:37Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_276d8076f38741908b3e846b796dd83e", + "object": "Rate", "created_at": "2024-01-19T21:47:37Z", "updated_at": "2024-01-19T21:47:37Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_7890696b2a5d4de7a463f75aa3e84fc4", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4b076a0ca5954ef5933516ec6afd2271", + "object": "Rate", "created_at": "2024-01-19T21:47:37Z", "updated_at": "2024-01-19T21:47:37Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_7890696b2a5d4de7a463f75aa3e84fc4", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_bce427eba5a448babbfcacf783b6d404", "object": "Rate", "created_at": + "2024-01-19T21:47:37Z", "updated_at": "2024-01-19T21:47:37Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_7890696b2a5d4de7a463f75aa3e84fc4", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_06849f544f8649c8a17cd0bd10467103", "object": "Rate", "created_at": + "2024-01-19T21:47:37Z", "updated_at": "2024-01-19T21:47:37Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_7890696b2a5d4de7a463f75aa3e84fc4", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_fde3b66d09a74541b832309abb0d2eeb", "object": "Rate", "created_at": + "2024-01-19T21:47:37Z", "updated_at": "2024-01-19T21:47:37Z", "mode": "test", + "service": "Priority", "carrier": "USPS", "rate": "7.99", "currency": "USD", + "retail_rate": "14.05", "retail_currency": "USD", "list_rate": "10.27", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": + "shp_7890696b2a5d4de7a463f75aa3e84fc4", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_5c4eed09b71411eea64dac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:47:37+00:00", "updated_at": "2024-01-19T21:47:37+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_5c5153aab71411eea4403cecef1b359e", "object": "Address", "created_at": + "2024-01-19T21:47:37+00:00", "updated_at": "2024-01-19T21:47:37+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_5c4eed09b71411eea64dac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:47:37+00:00", "updated_at": + "2024-01-19T21:47:37+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_7890696b2a5d4de7a463f75aa3e84fc4", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_7890696b2a5d4de7a463f75aa3e84fc4 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda865aaedf9e78bafc5001138f8 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.720909' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments/shp_7890696b2a5d4de7a463f75aa3e84fc4/rerate + response: + body: + string: '{"rates": [{"id": "rate_98a5003d47eb4165a1633efaf3511ac7", "object": + "Rate", "created_at": "2024-01-19T21:47:38Z", "updated_at": "2024-01-19T21:47:38Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_7890696b2a5d4de7a463f75aa3e84fc4", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_47098834d59043a1b721d07139dd9e5d", + "object": "Rate", "created_at": "2024-01-19T21:47:38Z", "updated_at": "2024-01-19T21:47:38Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_7890696b2a5d4de7a463f75aa3e84fc4", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f2e817b8e8e54f26a82f78f5c372e5c9", + "object": "Rate", "created_at": "2024-01-19T21:47:38Z", "updated_at": "2024-01-19T21:47:38Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_7890696b2a5d4de7a463f75aa3e84fc4", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_a21fd1d4886f438eb33cbb49f0418ec4", + "object": "Rate", "created_at": "2024-01-19T21:47:38Z", "updated_at": "2024-01-19T21:47:38Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_7890696b2a5d4de7a463f75aa3e84fc4", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_a2d33231571c48f390426f4d16a5b70c", "object": "Rate", "created_at": + "2024-01-19T21:47:38Z", "updated_at": "2024-01-19T21:47:38Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_7890696b2a5d4de7a463f75aa3e84fc4", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2712' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda965aaedfae78bafc90011399a + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.886438' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '885' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:49:31Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T21:49:32Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_2621926d46e64b0a99f595326320af0f", + "object": "CustomsInfo", "created_at": "2024-01-19T21:49:31Z", "updated_at": + "2024-01-19T21:49:31Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_05549f7764eb4a0e85257fcd4634f042", "object": "CustomsItem", + "created_at": "2024-01-19T21:49:31Z", "updated_at": "2024-01-19T21:49:31Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_a0c01a53b71411eebd25ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:49:31+00:00", "updated_at": "2024-01-19T21:49:31+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_c84727c1f1f14531a52e99db37d05cb7", "object": "Parcel", "created_at": + "2024-01-19T21:49:31Z", "updated_at": "2024-01-19T21:49:31Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_7b3c73aa8cc94591927ec0bc193cb550", + "object": "Rate", "created_at": "2024-01-19T21:49:32Z", "updated_at": "2024-01-19T21:49:32Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_3195eb5ada9640c7ae4fcfbf3c743bba", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_543b060e1b254b5a9179a53bf8cc0349", + "object": "Rate", "created_at": "2024-01-19T21:49:32Z", "updated_at": "2024-01-19T21:49:32Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_3195eb5ada9640c7ae4fcfbf3c743bba", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_04edaf323db246d0a3c441148b760285", + "object": "Rate", "created_at": "2024-01-19T21:49:32Z", "updated_at": "2024-01-19T21:49:32Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_3195eb5ada9640c7ae4fcfbf3c743bba", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_8c4a9c040c304bfeb3f37cf7d406e4ba", + "object": "Rate", "created_at": "2024-01-19T21:49:32Z", "updated_at": "2024-01-19T21:49:32Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_3195eb5ada9640c7ae4fcfbf3c743bba", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_ae2ab9ee51ca427c820a525fc0ae13dd", "object": "Rate", "created_at": + "2024-01-19T21:49:32Z", "updated_at": "2024-01-19T21:49:32Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_3195eb5ada9640c7ae4fcfbf3c743bba", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_a0be24b8b71411ee8b73ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:49:31+00:00", "updated_at": "2024-01-19T21:49:31+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_a0c01a53b71411eebd25ac1f6bc539ae", "object": "Address", "created_at": + "2024-01-19T21:49:31+00:00", "updated_at": "2024-01-19T21:49:31+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_a0be24b8b71411ee8b73ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:49:31+00:00", "updated_at": + "2024-01-19T21:49:31+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_3195eb5ada9640c7ae4fcfbf3c743bba", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_3195eb5ada9640c7ae4fcfbf3c743bba + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdab65aaee6be78bb4f100117be6 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.849964' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments/shp_3195eb5ada9640c7ae4fcfbf3c743bba/rerate + response: + body: + string: '{"rates": [{"id": "rate_d142cee4a6f54192944b05b97e730ae8", "object": + "Rate", "created_at": "2024-01-19T21:49:33Z", "updated_at": "2024-01-19T21:49:33Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_3195eb5ada9640c7ae4fcfbf3c743bba", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_50b69da8129a4bff9eea3654394ef8f4", + "object": "Rate", "created_at": "2024-01-19T21:49:33Z", "updated_at": "2024-01-19T21:49:33Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_3195eb5ada9640c7ae4fcfbf3c743bba", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_53ed3c0a58094c53869505c87b89f9b9", + "object": "Rate", "created_at": "2024-01-19T21:49:33Z", "updated_at": "2024-01-19T21:49:33Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_3195eb5ada9640c7ae4fcfbf3c743bba", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_30336a48d21d4f04bffaadf5caf3b3f2", "object": "Rate", "created_at": + "2024-01-19T21:49:33Z", "updated_at": "2024-01-19T21:49:33Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_3195eb5ada9640c7ae4fcfbf3c743bba", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_38cfae9117d94f1289846589b96f7322", "object": "Rate", "created_at": + "2024-01-19T21:49:33Z", "updated_at": "2024-01-19T21:49:33Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_3195eb5ada9640c7ae4fcfbf3c743bba", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2712' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdae65aaee6ce78bb4f200117c8c + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.659198' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '885' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:58:51Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T21:58:51Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_144c0ac7bbd741caa3570e93bf06e79a", + "object": "CustomsInfo", "created_at": "2024-01-19T21:58:51Z", "updated_at": + "2024-01-19T21:58:51Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_8d7cda53c1264295ac678782386d1940", "object": "CustomsItem", + "created_at": "2024-01-19T21:58:51Z", "updated_at": "2024-01-19T21:58:51Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_ee012845b71511eeab28ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:58:51+00:00", "updated_at": "2024-01-19T21:58:51+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_bd129c5180d945e3a3bb370e7a395e59", "object": "Parcel", "created_at": + "2024-01-19T21:58:51Z", "updated_at": "2024-01-19T21:58:51Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_cb7b447ee4fb4a8694302bd731824b56", + "object": "Rate", "created_at": "2024-01-19T21:58:51Z", "updated_at": "2024-01-19T21:58:51Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_5fee4a76be034cff819dd44d6391f763", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_6909621c8dab4533ba93d131f61f7069", + "object": "Rate", "created_at": "2024-01-19T21:58:51Z", "updated_at": "2024-01-19T21:58:51Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_5fee4a76be034cff819dd44d6391f763", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_0e89aa55ab8c4eaa901cd174237b5752", + "object": "Rate", "created_at": "2024-01-19T21:58:51Z", "updated_at": "2024-01-19T21:58:51Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_5fee4a76be034cff819dd44d6391f763", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c7cfd1c5c32d449fa227ead27440c774", + "object": "Rate", "created_at": "2024-01-19T21:58:51Z", "updated_at": "2024-01-19T21:58:51Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_5fee4a76be034cff819dd44d6391f763", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_84cad9df4194410e84756964694d65ca", "object": "Rate", "created_at": + "2024-01-19T21:58:51Z", "updated_at": "2024-01-19T21:58:51Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_5fee4a76be034cff819dd44d6391f763", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_edfe79deb71511eebbcfac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:58:51+00:00", "updated_at": "2024-01-19T21:58:51+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_ee012845b71511eeab28ac1f6bc53342", "object": "Address", "created_at": + "2024-01-19T21:58:51+00:00", "updated_at": "2024-01-19T21:58:51+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_edfe79deb71511eebbcfac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:58:51+00:00", "updated_at": + "2024-01-19T21:58:51+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_5fee4a76be034cff819dd44d6391f763", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_5fee4a76be034cff819dd44d6391f763 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaf09ae798bf98000f7ea3 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.775992' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments/shp_5fee4a76be034cff819dd44d6391f763/rerate + response: + body: + string: '{"rates": [{"id": "rate_55a67b4c238447baa8faa66f896504db", "object": + "Rate", "created_at": "2024-01-19T21:58:52Z", "updated_at": "2024-01-19T21:58:52Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_5fee4a76be034cff819dd44d6391f763", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_5b457d1b11584ca0871e95b36394e729", + "object": "Rate", "created_at": "2024-01-19T21:58:52Z", "updated_at": "2024-01-19T21:58:52Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_5fee4a76be034cff819dd44d6391f763", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_abd1505e58864c648579f82430028e48", + "object": "Rate", "created_at": "2024-01-19T21:58:52Z", "updated_at": "2024-01-19T21:58:52Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_5fee4a76be034cff819dd44d6391f763", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_f9727cc172a748b89ffb857785cd2a01", "object": "Rate", "created_at": + "2024-01-19T21:58:52Z", "updated_at": "2024-01-19T21:58:52Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_5fee4a76be034cff819dd44d6391f763", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_3d95f10435f548d2950598233cfb8b1d", "object": "Rate", "created_at": + "2024-01-19T21:58:52Z", "updated_at": "2024-01-19T21:58:52Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_5fee4a76be034cff819dd44d6391f763", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2712' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaf09be798bf99000f7f34 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.686758' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '885' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T22:01:45Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T22:01:46Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_21c84c56eabf4191911ed21fc485b3b6", + "object": "CustomsInfo", "created_at": "2024-01-19T22:01:45Z", "updated_at": + "2024-01-19T22:01:45Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_bfdfbd7d21af4d1994b0ae14f18f56ae", "object": "CustomsItem", + "created_at": "2024-01-19T22:01:45Z", "updated_at": "2024-01-19T22:01:45Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_561e2d9ab71611ee8cb2ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T22:01:45+00:00", "updated_at": "2024-01-19T22:01:45+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_118cad134b9c423491c66fbdf56a373d", "object": "Parcel", "created_at": + "2024-01-19T22:01:45Z", "updated_at": "2024-01-19T22:01:45Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_6278cb0c92c948b6a1c3f18842c38f89", + "object": "Rate", "created_at": "2024-01-19T22:01:46Z", "updated_at": "2024-01-19T22:01:46Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_46288c3f2d0a4db399c71d3237aad3ea", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_d08f356dd02d46a79ecfdd6ddeddafa5", + "object": "Rate", "created_at": "2024-01-19T22:01:46Z", "updated_at": "2024-01-19T22:01:46Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_46288c3f2d0a4db399c71d3237aad3ea", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_9de71f1d4b894019ab3945360e87f7e0", + "object": "Rate", "created_at": "2024-01-19T22:01:46Z", "updated_at": "2024-01-19T22:01:46Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_46288c3f2d0a4db399c71d3237aad3ea", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_0ca0bd3be6054303a70b4574eadd773d", "object": "Rate", "created_at": + "2024-01-19T22:01:46Z", "updated_at": "2024-01-19T22:01:46Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_46288c3f2d0a4db399c71d3237aad3ea", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_50ba64322fb747568609226371616ffe", "object": "Rate", "created_at": + "2024-01-19T22:01:46Z", "updated_at": "2024-01-19T22:01:46Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_46288c3f2d0a4db399c71d3237aad3ea", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_561b6814b71611ee8cb0ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T22:01:45+00:00", "updated_at": "2024-01-19T22:01:45+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_561e2d9ab71611ee8cb2ac1f6bc53342", "object": "Address", "created_at": + "2024-01-19T22:01:45+00:00", "updated_at": "2024-01-19T22:01:45+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_561b6814b71611ee8cb0ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:01:45+00:00", "updated_at": + "2024-01-19T22:01:45+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_46288c3f2d0a4db399c71d3237aad3ea", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_46288c3f2d0a4db399c71d3237aad3ea + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaf149e798c7f90010163b + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.758637' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments/shp_46288c3f2d0a4db399c71d3237aad3ea/rerate + response: + body: + string: '{"rates": [{"id": "rate_b1756573fffc4f37be3ce927f786c065", "object": + "Rate", "created_at": "2024-01-19T22:01:47Z", "updated_at": "2024-01-19T22:01:47Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_46288c3f2d0a4db399c71d3237aad3ea", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_50681ebd62a94354a0ef49c091fb598e", + "object": "Rate", "created_at": "2024-01-19T22:01:47Z", "updated_at": "2024-01-19T22:01:47Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_46288c3f2d0a4db399c71d3237aad3ea", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_6119eb7c48ec433b8432a9869150c3ae", + "object": "Rate", "created_at": "2024-01-19T22:01:47Z", "updated_at": "2024-01-19T22:01:47Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_46288c3f2d0a4db399c71d3237aad3ea", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_526540ce76764eadbd97e7bf8e794e17", + "object": "Rate", "created_at": "2024-01-19T22:01:47Z", "updated_at": "2024-01-19T22:01:47Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_46288c3f2d0a4db399c71d3237aad3ea", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_38107de7d3c54c07859fd332cc49e9d4", "object": "Rate", "created_at": + "2024-01-19T22:01:47Z", "updated_at": "2024-01-19T22:01:47Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_46288c3f2d0a4db399c71d3237aad3ea", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2712' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf14ae798c7fa001017a4 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.815768' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '885' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T22:05:32Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T22:05:33Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_709575e3ed3d4d95a6aad92a564f0e75", + "object": "CustomsInfo", "created_at": "2024-01-19T22:05:32Z", "updated_at": + "2024-01-19T22:05:32Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_4c3859f492bd4e20b1364b6ee18cadf0", "object": "CustomsItem", + "created_at": "2024-01-19T22:05:32Z", "updated_at": "2024-01-19T22:05:32Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_dd8acbb6b71611ee88d7ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T22:05:32+00:00", "updated_at": "2024-01-19T22:05:32+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_05a4336627104132b82d0ae403d1faff", "object": "Parcel", "created_at": + "2024-01-19T22:05:32Z", "updated_at": "2024-01-19T22:05:32Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_093dfc8097eb4cd091787c6cb9a45faf", + "object": "Rate", "created_at": "2024-01-19T22:05:33Z", "updated_at": "2024-01-19T22:05:33Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_c93654ba28c5466bafb2d6ab835ea4d4", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_50ace8ad54da412a8164a753061df674", + "object": "Rate", "created_at": "2024-01-19T22:05:33Z", "updated_at": "2024-01-19T22:05:33Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_c93654ba28c5466bafb2d6ab835ea4d4", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_33c438ed8a214456926c12ee48be853a", + "object": "Rate", "created_at": "2024-01-19T22:05:33Z", "updated_at": "2024-01-19T22:05:33Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_c93654ba28c5466bafb2d6ab835ea4d4", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_8087a10e1dc249d0860c6b6f3d849025", "object": "Rate", "created_at": + "2024-01-19T22:05:33Z", "updated_at": "2024-01-19T22:05:33Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_c93654ba28c5466bafb2d6ab835ea4d4", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_f8e9f5d52feb4f77adc5cb635bda3cbe", "object": "Rate", "created_at": + "2024-01-19T22:05:33Z", "updated_at": "2024-01-19T22:05:33Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_c93654ba28c5466bafb2d6ab835ea4d4", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_dd88ccb1b71611eeb6693cecef1b359e", "object": + "Address", "created_at": "2024-01-19T22:05:32+00:00", "updated_at": "2024-01-19T22:05:32+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_dd8acbb6b71611ee88d7ac1f6bc539aa", "object": "Address", "created_at": + "2024-01-19T22:05:32+00:00", "updated_at": "2024-01-19T22:05:32+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_dd88ccb1b71611eeb6693cecef1b359e", + "object": "Address", "created_at": "2024-01-19T22:05:32+00:00", "updated_at": + "2024-01-19T22:05:32+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_c93654ba28c5466bafb2d6ab835ea4d4", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_c93654ba28c5466bafb2d6ab835ea4d4 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaf22ce798d0c10010be29 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.725974' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments/shp_c93654ba28c5466bafb2d6ab835ea4d4/rerate + response: + body: + string: '{"rates": [{"id": "rate_ccbcb0e714cd4870a787944b5b8e78c0", "object": + "Rate", "created_at": "2024-01-19T22:05:34Z", "updated_at": "2024-01-19T22:05:34Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_c93654ba28c5466bafb2d6ab835ea4d4", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f290547debc84a42a7fc8e35c9e9c739", + "object": "Rate", "created_at": "2024-01-19T22:05:34Z", "updated_at": "2024-01-19T22:05:34Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_c93654ba28c5466bafb2d6ab835ea4d4", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_dccce833367a4d4cbfbca603500cbdc0", + "object": "Rate", "created_at": "2024-01-19T22:05:34Z", "updated_at": "2024-01-19T22:05:34Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_c93654ba28c5466bafb2d6ab835ea4d4", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_2b7f33e8686e4e5280485653706eb98c", + "object": "Rate", "created_at": "2024-01-19T22:05:34Z", "updated_at": "2024-01-19T22:05:34Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_c93654ba28c5466bafb2d6ab835ea4d4", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_fa1e1bd62ac54f2f891e45ae4c33944e", "object": "Rate", "created_at": + "2024-01-19T22:05:34Z", "updated_at": "2024-01-19T22:05:34Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_c93654ba28c5466bafb2d6ab835ea4d4", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2712' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf22de798d0c20010bee6 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.855126' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_rates_retrieve.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_rates_retrieve.yaml new file mode 100644 index 00000000..5faab1c1 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_rates_retrieve.yaml @@ -0,0 +1,1663 @@ +interactions: +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '885' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:41:47Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T21:41:48Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_f9d623658fd243c8a8d086c337c26cc5", + "object": "CustomsInfo", "created_at": "2024-01-19T21:41:47Z", "updated_at": + "2024-01-19T21:41:47Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_15999bc6c9b14ff8bc88506c1c30b6b0", "object": "CustomsItem", + "created_at": "2024-01-19T21:41:47Z", "updated_at": "2024-01-19T21:41:47Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_8bf7cddfb71311eeb0e0ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:41:47+00:00", "updated_at": "2024-01-19T21:41:47+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_1ed463939b134aa9b9266949c97bc25c", "object": "Parcel", "created_at": + "2024-01-19T21:41:47Z", "updated_at": "2024-01-19T21:41:47Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_c687bf16e5ca4546975a7592c4f98601", + "object": "Rate", "created_at": "2024-01-19T21:41:48Z", "updated_at": "2024-01-19T21:41:48Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_1be229ae6e724ace9b3f7147bb186ff8", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_799ced93c52e4e2e952aa6786805bac2", + "object": "Rate", "created_at": "2024-01-19T21:41:48Z", "updated_at": "2024-01-19T21:41:48Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_1be229ae6e724ace9b3f7147bb186ff8", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_5d534db3d46042aea73e2c18f1469218", + "object": "Rate", "created_at": "2024-01-19T21:41:48Z", "updated_at": "2024-01-19T21:41:48Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_1be229ae6e724ace9b3f7147bb186ff8", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_3b93360a1ea543629b9a9317d0021ac0", + "object": "Rate", "created_at": "2024-01-19T21:41:48Z", "updated_at": "2024-01-19T21:41:48Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_1be229ae6e724ace9b3f7147bb186ff8", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_d64f959e63374b3abe6047d6fe8d7f0f", "object": "Rate", "created_at": + "2024-01-19T21:41:48Z", "updated_at": "2024-01-19T21:41:48Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_1be229ae6e724ace9b3f7147bb186ff8", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_8bf523bcb71311eea104ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:41:47+00:00", "updated_at": "2024-01-19T21:41:47+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_8bf7cddfb71311eeb0e0ac1f6bc539aa", "object": "Address", "created_at": + "2024-01-19T21:41:47+00:00", "updated_at": "2024-01-19T21:41:47+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_8bf523bcb71311eea104ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:41:47+00:00", "updated_at": + "2024-01-19T21:41:47+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_1be229ae6e724ace9b3f7147bb186ff8", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_1be229ae6e724ace9b3f7147bb186ff8 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaec9be78b9f04000cff0d + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.782415' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/rates/rate_c687bf16e5ca4546975a7592c4f98601 + response: + body: + string: '{"id": "rate_c687bf16e5ca4546975a7592c4f98601", "object": "Rate", "created_at": + "2024-01-19T21:41:48Z", "updated_at": "2024-01-19T21:41:48Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_1be229ae6e724ace9b3f7147bb186ff8", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '543' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaec9ce78b9f05000cffa4 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.154931' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '885' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:43:43Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T21:43:44Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_7f9991039220468c8a1950d940c740b4", + "object": "CustomsInfo", "created_at": "2024-01-19T21:43:43Z", "updated_at": + "2024-01-19T21:43:43Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_ef5d259660884c729cc7bea42863c3d8", "object": "CustomsItem", + "created_at": "2024-01-19T21:43:43Z", "updated_at": "2024-01-19T21:43:43Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_d1176a5fb71311ee89b1ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:43:43+00:00", "updated_at": "2024-01-19T21:43:43+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_7f447af8934a4c2da5260a593c3366ff", "object": "Parcel", "created_at": + "2024-01-19T21:43:43Z", "updated_at": "2024-01-19T21:43:43Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_621bde569b144997ae96018567476db8", + "object": "Rate", "created_at": "2024-01-19T21:43:44Z", "updated_at": "2024-01-19T21:43:44Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_c15c449e761b4cd888fb125559ddadb2", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_31f943635eca4a07a9eec264ac4738cc", + "object": "Rate", "created_at": "2024-01-19T21:43:44Z", "updated_at": "2024-01-19T21:43:44Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_c15c449e761b4cd888fb125559ddadb2", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_0c0b75f4469440ce8da19d831f44ad48", "object": "Rate", "created_at": + "2024-01-19T21:43:44Z", "updated_at": "2024-01-19T21:43:44Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_c15c449e761b4cd888fb125559ddadb2", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_6465e3fba10d46a9afdc018e524483ff", "object": "Rate", "created_at": + "2024-01-19T21:43:44Z", "updated_at": "2024-01-19T21:43:44Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_c15c449e761b4cd888fb125559ddadb2", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_bb9e2b3d864441b3a39d847173e9aa58", "object": "Rate", "created_at": + "2024-01-19T21:43:44Z", "updated_at": "2024-01-19T21:43:44Z", "mode": "test", + "service": "Priority", "carrier": "USPS", "rate": "7.99", "currency": "USD", + "retail_rate": "14.05", "retail_currency": "USD", "list_rate": "10.27", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": + "shp_c15c449e761b4cd888fb125559ddadb2", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_d114e842b71311eebaaaac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:43:43+00:00", "updated_at": "2024-01-19T21:43:43+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_d1176a5fb71311ee89b1ac1f6bc539aa", "object": "Address", "created_at": + "2024-01-19T21:43:43+00:00", "updated_at": "2024-01-19T21:43:43+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_d114e842b71311eebaaaac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:43:43+00:00", "updated_at": + "2024-01-19T21:43:43+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_c15c449e761b4cd888fb125559ddadb2", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_c15c449e761b4cd888fb125559ddadb2 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaed0fe78ba743000d40c4 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.709134' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/rates/rate_621bde569b144997ae96018567476db8 + response: + body: + string: '{"id": "rate_621bde569b144997ae96018567476db8", "object": "Rate", "created_at": + "2024-01-19T21:43:44Z", "updated_at": "2024-01-19T21:43:44Z", "mode": "test", + "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_c15c449e761b4cd888fb125559ddadb2", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '543' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaed10e78ba744000d4160 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.138854' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '885' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:47:35Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T21:47:36Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_8c30fa0edb3c40e8bf8754efff62a19e", + "object": "CustomsInfo", "created_at": "2024-01-19T21:47:35Z", "updated_at": + "2024-01-19T21:47:35Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_14eba273635a4916a18079db4586198a", "object": "CustomsItem", + "created_at": "2024-01-19T21:47:35Z", "updated_at": "2024-01-19T21:47:35Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_5b41c90db71411eeb5a2ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:47:35+00:00", "updated_at": "2024-01-19T21:47:35+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_b7c514fef9c144e2a1e78c87fc30af26", "object": "Parcel", "created_at": + "2024-01-19T21:47:35Z", "updated_at": "2024-01-19T21:47:35Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_26a626a45f4d4d13b1fa46d2f8a1ffe5", + "object": "Rate", "created_at": "2024-01-19T21:47:36Z", "updated_at": "2024-01-19T21:47:36Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_0a9284061eca4b42bef88e1c04b5fe15", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_827685933ad14fda97840614d308af05", + "object": "Rate", "created_at": "2024-01-19T21:47:36Z", "updated_at": "2024-01-19T21:47:36Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_0a9284061eca4b42bef88e1c04b5fe15", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_7b93269712e9421c8ebd237af6f7f4a0", + "object": "Rate", "created_at": "2024-01-19T21:47:36Z", "updated_at": "2024-01-19T21:47:36Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_0a9284061eca4b42bef88e1c04b5fe15", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_0e9c060aeb3a4de595b7d2e61623f69d", + "object": "Rate", "created_at": "2024-01-19T21:47:36Z", "updated_at": "2024-01-19T21:47:36Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_0a9284061eca4b42bef88e1c04b5fe15", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_d4def84d1af441b891f04bc734c53a21", "object": "Rate", "created_at": + "2024-01-19T21:47:36Z", "updated_at": "2024-01-19T21:47:36Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_0a9284061eca4b42bef88e1c04b5fe15", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_5b3e1d9db71411eea3f23cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:47:35+00:00", "updated_at": "2024-01-19T21:47:35+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_5b41c90db71411eeb5a2ac1f6bc539aa", "object": "Address", "created_at": + "2024-01-19T21:47:35+00:00", "updated_at": "2024-01-19T21:47:35+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_5b3e1d9db71411eea3f23cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:47:35+00:00", "updated_at": + "2024-01-19T21:47:35+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_0a9284061eca4b42bef88e1c04b5fe15", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_0a9284061eca4b42bef88e1c04b5fe15 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda965aaedf7e78bafc300113767 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.858031' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/rates/rate_26a626a45f4d4d13b1fa46d2f8a1ffe5 + response: + body: + string: '{"id": "rate_26a626a45f4d4d13b1fa46d2f8a1ffe5", "object": "Rate", "created_at": + "2024-01-19T21:47:36Z", "updated_at": "2024-01-19T21:47:36Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_0a9284061eca4b42bef88e1c04b5fe15", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '543' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdad65aaedf8e78bafc400113882 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.288919' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '885' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:49:30Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T21:49:31Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_dd8560f9832145bb9bd32fe924f9d143", + "object": "CustomsInfo", "created_at": "2024-01-19T21:49:30Z", "updated_at": + "2024-01-19T21:49:30Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_1cd6f5513cbb4c4183a24def986cb6e1", "object": "CustomsItem", + "created_at": "2024-01-19T21:49:30Z", "updated_at": "2024-01-19T21:49:30Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_9fe198bfb71411eeb9d33cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:49:30+00:00", "updated_at": "2024-01-19T21:49:30+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_5d0caf66fb60428cbe38e59137ff226a", "object": "Parcel", "created_at": + "2024-01-19T21:49:30Z", "updated_at": "2024-01-19T21:49:30Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_0d8e188b1d6e4875b03596a8befcf540", + "object": "Rate", "created_at": "2024-01-19T21:49:31Z", "updated_at": "2024-01-19T21:49:31Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_bcd414860caa47eabac33a325612e7f8", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_7855325a745e4e069135419536ea7050", + "object": "Rate", "created_at": "2024-01-19T21:49:31Z", "updated_at": "2024-01-19T21:49:31Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_bcd414860caa47eabac33a325612e7f8", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_eecf14a0ad1240e5ac7df38419ade764", + "object": "Rate", "created_at": "2024-01-19T21:49:31Z", "updated_at": "2024-01-19T21:49:31Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_bcd414860caa47eabac33a325612e7f8", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_bf05aa6a773142d8a0ecd86ee32fd45c", "object": "Rate", "created_at": + "2024-01-19T21:49:31Z", "updated_at": "2024-01-19T21:49:31Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_bcd414860caa47eabac33a325612e7f8", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_1084bfe45e08429f80691fd4363664ff", "object": "Rate", "created_at": + "2024-01-19T21:49:31Z", "updated_at": "2024-01-19T21:49:31Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_bcd414860caa47eabac33a325612e7f8", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_9fdea805b71411eebb6fac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:49:30+00:00", "updated_at": "2024-01-19T21:49:30+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_9fe198bfb71411eeb9d33cecef1b359e", "object": "Address", "created_at": + "2024-01-19T21:49:30+00:00", "updated_at": "2024-01-19T21:49:30+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_9fdea805b71411eebb6fac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:49:30+00:00", "updated_at": + "2024-01-19T21:49:30+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_bcd414860caa47eabac33a325612e7f8", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_bcd414860caa47eabac33a325612e7f8 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdad65aaee6ae78bb4ef00117b17 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.737991' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/rates/rate_0d8e188b1d6e4875b03596a8befcf540 + response: + body: + string: '{"id": "rate_0d8e188b1d6e4875b03596a8befcf540", "object": "Rate", "created_at": + "2024-01-19T21:49:31Z", "updated_at": "2024-01-19T21:49:31Z", "mode": "test", + "service": "Priority", "carrier": "USPS", "rate": "7.99", "currency": "USD", + "retail_rate": "14.05", "retail_currency": "USD", "list_rate": "10.27", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": + "shp_bcd414860caa47eabac33a325612e7f8", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '537' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdad65aaee6be78bb4f000117ba1 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.131843' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '885' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:58:49Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T21:58:50Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_de373129bf8e4c589ad80ef236c4f2b0", + "object": "CustomsInfo", "created_at": "2024-01-19T21:58:49Z", "updated_at": + "2024-01-19T21:58:49Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_a4b863904bba445fa7b06a4fafbdd094", "object": "CustomsItem", + "created_at": "2024-01-19T21:58:49Z", "updated_at": "2024-01-19T21:58:49Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_ed2bcd59b71511eeaaeaac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:58:49+00:00", "updated_at": "2024-01-19T21:58:49+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_9a10672aa6ce4ea0ad406b0be4630d4f", "object": "Parcel", "created_at": + "2024-01-19T21:58:49Z", "updated_at": "2024-01-19T21:58:49Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_65431e347040449aa73136651f61eae7", + "object": "Rate", "created_at": "2024-01-19T21:58:50Z", "updated_at": "2024-01-19T21:58:50Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_f5af890db0e04cc78aed0e86b87df6f5", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_94b274e5f3e3439f9bf064b5ba9c0638", + "object": "Rate", "created_at": "2024-01-19T21:58:50Z", "updated_at": "2024-01-19T21:58:50Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_f5af890db0e04cc78aed0e86b87df6f5", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f2603651ced745268af00141df1efeca", + "object": "Rate", "created_at": "2024-01-19T21:58:50Z", "updated_at": "2024-01-19T21:58:50Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_f5af890db0e04cc78aed0e86b87df6f5", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4f2823e251ae44c4b729dbc89917991a", + "object": "Rate", "created_at": "2024-01-19T21:58:50Z", "updated_at": "2024-01-19T21:58:50Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_f5af890db0e04cc78aed0e86b87df6f5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_4d4c0cf47cd94ab08de15fa6a0139c7f", "object": "Rate", "created_at": + "2024-01-19T21:58:50Z", "updated_at": "2024-01-19T21:58:50Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_f5af890db0e04cc78aed0e86b87df6f5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_ed290e1eb71511eead04ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:58:49+00:00", "updated_at": "2024-01-19T21:58:49+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_ed2bcd59b71511eeaaeaac1f6bc53342", "object": "Address", "created_at": + "2024-01-19T21:58:49+00:00", "updated_at": "2024-01-19T21:58:49+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_ed290e1eb71511eead04ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:58:49+00:00", "updated_at": + "2024-01-19T21:58:49+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_f5af890db0e04cc78aed0e86b87df6f5", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_f5af890db0e04cc78aed0e86b87df6f5 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf099e798bf96000f7dbf + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.709781' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/rates/rate_65431e347040449aa73136651f61eae7 + response: + body: + string: '{"id": "rate_65431e347040449aa73136651f61eae7", "object": "Rate", "created_at": + "2024-01-19T21:58:50Z", "updated_at": "2024-01-19T21:58:50Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_f5af890db0e04cc78aed0e86b87df6f5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '543' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf09ae798bf97000f7e56 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.142665' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '885' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T22:01:44Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T22:01:44Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_9f0d00dbb63f42a187b18e4d73331eb6", + "object": "CustomsInfo", "created_at": "2024-01-19T22:01:44Z", "updated_at": + "2024-01-19T22:01:44Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_e373957ef99e4a868d5f46783b4e00d5", "object": "CustomsItem", + "created_at": "2024-01-19T22:01:44Z", "updated_at": "2024-01-19T22:01:44Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_5528748db71611ee8e23ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T22:01:44+00:00", "updated_at": "2024-01-19T22:01:44+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_e29a011a8a6e4d09811abc2aaa5dac41", "object": "Parcel", "created_at": + "2024-01-19T22:01:44Z", "updated_at": "2024-01-19T22:01:44Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_d9c58190641a4aa98ac6c8509c023567", + "object": "Rate", "created_at": "2024-01-19T22:01:44Z", "updated_at": "2024-01-19T22:01:44Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_0d0744fe0ff0418b8aca96b78ae03af2", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_66853525743b4097bdde5643102c0bc8", + "object": "Rate", "created_at": "2024-01-19T22:01:44Z", "updated_at": "2024-01-19T22:01:44Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_0d0744fe0ff0418b8aca96b78ae03af2", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_34344258a3184ad78c65557585dec418", + "object": "Rate", "created_at": "2024-01-19T22:01:44Z", "updated_at": "2024-01-19T22:01:44Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_0d0744fe0ff0418b8aca96b78ae03af2", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_48c7bbf0a5db4ee0b5247e1423194216", + "object": "Rate", "created_at": "2024-01-19T22:01:44Z", "updated_at": "2024-01-19T22:01:44Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_0d0744fe0ff0418b8aca96b78ae03af2", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_709d87ebfcc8419e84644ed380f6fd62", "object": "Rate", "created_at": + "2024-01-19T22:01:44Z", "updated_at": "2024-01-19T22:01:44Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_0d0744fe0ff0418b8aca96b78ae03af2", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_55262dccb71611ee8e22ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T22:01:44+00:00", "updated_at": "2024-01-19T22:01:44+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_5528748db71611ee8e23ac1f6bc539ae", "object": "Address", "created_at": + "2024-01-19T22:01:44+00:00", "updated_at": "2024-01-19T22:01:44+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_55262dccb71611ee8e22ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T22:01:44+00:00", "updated_at": + "2024-01-19T22:01:44+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_0d0744fe0ff0418b8aca96b78ae03af2", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_0d0744fe0ff0418b8aca96b78ae03af2 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf148e798c7f7001014ab + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.854882' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/rates/rate_d9c58190641a4aa98ac6c8509c023567 + response: + body: + string: '{"id": "rate_d9c58190641a4aa98ac6c8509c023567", "object": "Rate", "created_at": + "2024-01-19T22:01:44Z", "updated_at": "2024-01-19T22:01:44Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_0d0744fe0ff0418b8aca96b78ae03af2", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '543' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaf149e798c7f8001015be + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.148686' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '885' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T22:05:31Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T22:05:31Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_15efcc911c334b44870c916fdde16ae4", + "object": "CustomsInfo", "created_at": "2024-01-19T22:05:31Z", "updated_at": + "2024-01-19T22:05:31Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_85a7ae651d9c4f59bc3f4b1ef0aa32e6", "object": "CustomsItem", + "created_at": "2024-01-19T22:05:31Z", "updated_at": "2024-01-19T22:05:31Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_dc6a9505b71611ee8860ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T22:05:31+00:00", "updated_at": "2024-01-19T22:05:31+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_12f7615fdb6047658ab0848c1e0e20af", "object": "Parcel", "created_at": + "2024-01-19T22:05:31Z", "updated_at": "2024-01-19T22:05:31Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_c98f934cdb2f412bbe9bfc718bdfd7ad", + "object": "Rate", "created_at": "2024-01-19T22:05:31Z", "updated_at": "2024-01-19T22:05:31Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_d172d73fb9994218b88431cb5e56abbc", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_a2e27a3f448e4a4eba341688923eebb7", + "object": "Rate", "created_at": "2024-01-19T22:05:31Z", "updated_at": "2024-01-19T22:05:31Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_d172d73fb9994218b88431cb5e56abbc", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_cd8d8a89ae914672a3d2d94ff1b43c00", + "object": "Rate", "created_at": "2024-01-19T22:05:31Z", "updated_at": "2024-01-19T22:05:31Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_d172d73fb9994218b88431cb5e56abbc", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4450f61b90c9453eb689ab292427763f", + "object": "Rate", "created_at": "2024-01-19T22:05:31Z", "updated_at": "2024-01-19T22:05:31Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_d172d73fb9994218b88431cb5e56abbc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_0e339294420145ce87b0e770e2fa75b8", "object": "Rate", "created_at": + "2024-01-19T22:05:31Z", "updated_at": "2024-01-19T22:05:31Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_d172d73fb9994218b88431cb5e56abbc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_dc683a2cb71611ee885eac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T22:05:31+00:00", "updated_at": "2024-01-19T22:05:31+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_dc6a9505b71611ee8860ac1f6bc539aa", "object": "Address", "created_at": + "2024-01-19T22:05:31+00:00", "updated_at": "2024-01-19T22:05:31+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_dc683a2cb71611ee885eac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T22:05:31+00:00", "updated_at": + "2024-01-19T22:05:31+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_d172d73fb9994218b88431cb5e56abbc", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_d172d73fb9994218b88431cb5e56abbc + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf22ae798d0bf0010bcbe + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.908258' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/rates/rate_c98f934cdb2f412bbe9bfc718bdfd7ad + response: + body: + string: '{"id": "rate_c98f934cdb2f412bbe9bfc718bdfd7ad", "object": "Rate", "created_at": + "2024-01-19T22:05:31Z", "updated_at": "2024-01-19T22:05:31Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_d172d73fb9994218b88431cb5e56abbc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '543' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaf22ce798d0c00010bdbb + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.143337' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_rates_retrieve_stateless.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_rates_retrieve_stateless.yaml new file mode 100644 index 00000000..30fbc845 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_rates_retrieve_stateless.yaml @@ -0,0 +1,124 @@ +interactions: +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '885' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/beta/rates + response: + body: + string: '{"from_address": {"object": "Address", "name": "EasyPost", "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com"}, "to_address": {"object": "Address", "name": "Dr. + Steve Brule", "street1": "179 N Harbor Dr", "city": "Redondo Beach", "state": + "CA", "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, + "rates": [{"object": "Rate", "mode": "test", "service": "GroundAdvantage", + "carrier": "USPS", "rate": "6.79", "currency": "USD", "retail_rate": "12.45", + "retail_currency": "USD", "list_rate": "8.92", "list_currency": "USD", "billing_type": + "easypost", "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": + false, "est_delivery_days": 3, "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"object": "Rate", "mode": "test", "service": "First", "carrier": "USPS", + "rate": "6.79", "currency": "USD", "retail_rate": "12.45", "retail_currency": + "USD", "list_rate": "8.92", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"object": "Rate", "mode": "test", "service": "ParcelSelect", "carrier": "USPS", + "rate": "6.79", "currency": "USD", "retail_rate": "12.45", "retail_currency": + "USD", "list_rate": "8.92", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 3, "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"object": "Rate", "mode": "test", "service": "Express", "carrier": "USPS", + "rate": "46.85", "currency": "USD", "retail_rate": "54.20", "retail_currency": + "USD", "list_rate": "46.85", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + false, "est_delivery_days": null, "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"object": "Rate", "mode": "test", "service": "Priority", "carrier": "USPS", + "rate": "7.99", "currency": "USD", "retail_rate": "14.05", "retail_currency": + "USD", "list_rate": "10.27", "list_currency": "USD", "billing_type": "easypost", + "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, + "est_delivery_days": 2, "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "options": {"currency": "USD", "payment": {"type": "SENDER"}, "date_advance": + 0}, "parcel": {"object": "Parcel", "length": 20.2, "width": 10.9, "height": + 5.0, "weight": 65.9}, "messages": [{"carrier": "DhlEcs", "carrier_account_id": + "ca_0d64fd488c1444cf9bc16f858703e28f", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_b1a0a1bc45844159812e0224d53948ea", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_c3cbbd21bc97400bbbaed6d030909476", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": + "ca_99007e1aeb66421faf82676f1199481e", "type": "rate_error", "message": "Unauthorized. + Please check credentials and try again"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '3457' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + vary: + - Origin + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365ab0480e799dcdd001bc9ac + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.574084' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_referral_customers_create.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_referral_customers_create.yaml new file mode 100644 index 00000000..f93e3a79 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_referral_customers_create.yaml @@ -0,0 +1,529 @@ +interactions: +- request: + body: '{"user": {"name": "test test", "email": "test@test.com", "phone": "8888888888"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '80' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/referral_customers + response: + body: + string: '{"id": "user_98f23364261c476ab4ff9e9826c39e27", "object": "User", "parent_id": + null, "name": "test test", "phone_number": "8888888888", "verified": true, + "created_at": "2024-01-19T21:41:50Z", "default_carbon_offset": false, "has_elevate_access": + false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": + null, "secondary_recharge_amount": null, "recharge_threshold": null, "has_billing_method": + null, "cc_fee_rate": "0.0375", "default_insurance_amount": "50.00", "insurance_fee_rate": + "0.005", "insurance_fee_minimum": "0.25", "email": "referral_customer_798ade56147e4ea0ab12872b7b08edf7@donotemail.easypost.com", + "children": [], "api_keys": [{"object": "ApiKey", "key": "", "mode": + "test", "created_at": "2024-01-19T21:41:51Z", "active": true, "id": "ak_8f075522f4524af5998e9f1d96b56dc9"}, + {"object": "ApiKey", "key": "", "mode": "production", "created_at": + "2024-01-19T21:41:51Z", "active": true, "id": "ak_e8cb2d17f4184e80a1145646b331ae10"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1018' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaec9ee78b9f08000d00c6 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.870836' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"user": {"name": "test test", "email": "test@test.com", "phone": "8888888888"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '80' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/referral_customers + response: + body: + string: '{"id": "user_ae82cdcccec343b5837700e5d9e4f564", "object": "User", "parent_id": + null, "name": "test test", "phone_number": "8888888888", "verified": true, + "created_at": "2024-01-19T21:43:46Z", "default_carbon_offset": false, "has_elevate_access": + false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": + null, "secondary_recharge_amount": null, "recharge_threshold": null, "has_billing_method": + null, "cc_fee_rate": "0.0375", "default_insurance_amount": "50.00", "insurance_fee_rate": + "0.005", "insurance_fee_minimum": "0.25", "email": "referral_customer_00f5a7536dd44c36b74c8df4a17610ae@donotemail.easypost.com", + "children": [], "api_keys": [{"object": "ApiKey", "key": "", "mode": + "test", "created_at": "2024-01-19T21:43:47Z", "active": true, "id": "ak_af272736c2f54a438186c2bd5a3a26b4"}, + {"object": "ApiKey", "key": "", "mode": "production", "created_at": + "2024-01-19T21:43:47Z", "active": true, "id": "ak_2e87c01515a648eea66b49d60f870058"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1018' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaed12e78ba747000d42f4 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.930299' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"user": {"name": "test test", "email": "test@test.com", "phone": "8888888888"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '80' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/referral_customers + response: + body: + string: '{"id": "user_693b9ba78e8d4e2ba603c2a2bee7ac7b", "object": "User", "parent_id": + null, "name": "test test", "phone_number": "8888888888", "verified": true, + "created_at": "2024-01-19T21:47:39Z", "default_carbon_offset": false, "has_elevate_access": + false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": + null, "secondary_recharge_amount": null, "recharge_threshold": null, "has_billing_method": + null, "cc_fee_rate": "0.0375", "default_insurance_amount": "50.00", "insurance_fee_rate": + "0.005", "insurance_fee_minimum": "0.25", "email": "referral_customer_ad79dfa8a3534e6cb51e1b9037a396a0@donotemail.easypost.com", + "children": [], "api_keys": [{"object": "ApiKey", "key": "", "mode": + "test", "created_at": "2024-01-19T21:47:39Z", "active": true, "id": "ak_d762ffe8cd5e42788e972ebe4f27b67c"}, + {"object": "ApiKey", "key": "", "mode": "production", "created_at": + "2024-01-19T21:47:39Z", "active": true, "id": "ak_da16d7f7565a4682a942ecb70e799b7e"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1018' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdac65aaedfbe78bafca00113a82 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.891878' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"user": {"name": "test test", "email": "test@test.com", "phone": "8888888888"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '80' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/referral_customers + response: + body: + string: '{"id": "user_f8fdf81a8e33467bb785be3ce31a0b89", "object": "User", "parent_id": + null, "name": "test test", "phone_number": "8888888888", "verified": true, + "created_at": "2024-01-19T21:49:34Z", "default_carbon_offset": false, "has_elevate_access": + false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": + null, "secondary_recharge_amount": null, "recharge_threshold": null, "has_billing_method": + null, "cc_fee_rate": "0.0375", "default_insurance_amount": "50.00", "insurance_fee_rate": + "0.005", "insurance_fee_minimum": "0.25", "email": "referral_customer_e755ab83a3794e9cbc152b6294910ff4@donotemail.easypost.com", + "children": [], "api_keys": [{"object": "ApiKey", "key": "", "mode": + "test", "created_at": "2024-01-19T21:49:34Z", "active": true, "id": "ak_7b0e3980b777467089d41a8b85d98b44"}, + {"object": "ApiKey", "key": "", "mode": "production", "created_at": + "2024-01-19T21:49:34Z", "active": true, "id": "ak_0693b665b9c64148bbb6eeb056b87651"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1018' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdad65aaee6de78bb4f300117d19 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.918882' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"user": {"name": "test test", "email": "test@test.com", "phone": "8888888888"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '80' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/referral_customers + response: + body: + string: '{"id": "user_874c78fd0fa2488e8511bcdaa6dc6783", "object": "User", "parent_id": + null, "name": "test test", "phone_number": "8888888888", "verified": true, + "created_at": "2024-01-19T21:58:53Z", "default_carbon_offset": false, "has_elevate_access": + false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": + null, "secondary_recharge_amount": null, "recharge_threshold": null, "has_billing_method": + null, "cc_fee_rate": "0.0375", "default_insurance_amount": "50.00", "insurance_fee_rate": + "0.005", "insurance_fee_minimum": "0.25", "email": "referral_customer_457fdfba54484d8a96e97c3301ada1fb@donotemail.easypost.com", + "children": [], "api_keys": [{"object": "ApiKey", "key": "", "mode": + "test", "created_at": "2024-01-19T21:58:53Z", "active": true, "id": "ak_66fb165d656c41a28bd41714d00a264a"}, + {"object": "ApiKey", "key": "", "mode": "production", "created_at": + "2024-01-19T21:58:53Z", "active": true, "id": "ak_7554ee0034bf4cb68228d88fa4709950"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1018' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf09de798bf9a000f7fd4 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.885936' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"user": {"name": "test test", "email": "test@test.com", "phone": "8888888888"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '80' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/referral_customers + response: + body: + string: '{"id": "user_c686b1da00cc4c3f856cdc5e325c5d9b", "object": "User", "parent_id": + null, "name": "test test", "phone_number": "8888888888", "verified": true, + "created_at": "2024-01-19T22:01:48Z", "default_carbon_offset": false, "has_elevate_access": + false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": + null, "secondary_recharge_amount": null, "recharge_threshold": null, "has_billing_method": + null, "cc_fee_rate": "0.0375", "default_insurance_amount": "50.00", "insurance_fee_rate": + "0.005", "insurance_fee_minimum": "0.25", "email": "referral_customer_2585ec350aa84abebe3c1a8521fb4d66@donotemail.easypost.com", + "children": [], "api_keys": [{"object": "ApiKey", "key": "", "mode": + "test", "created_at": "2024-01-19T22:01:48Z", "active": true, "id": "ak_543a8621efac4425b23de9f8c2bcea66"}, + {"object": "ApiKey", "key": "", "mode": "production", "created_at": + "2024-01-19T22:01:48Z", "active": true, "id": "ak_664698466b394c7b8864d02d07745540"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1018' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaf14be798c7fb001018d8 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.854967' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"user": {"name": "test test", "email": "test@test.com", "phone": "8888888888"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '80' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/referral_customers + response: + body: + string: '{"id": "user_7637172682be403ea1808f9bb9323801", "object": "User", "parent_id": + null, "name": "test test", "phone_number": "8888888888", "verified": true, + "created_at": "2024-01-19T22:05:35Z", "default_carbon_offset": false, "has_elevate_access": + false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": + null, "secondary_recharge_amount": null, "recharge_threshold": null, "has_billing_method": + null, "cc_fee_rate": "0.0375", "default_insurance_amount": "50.00", "insurance_fee_rate": + "0.005", "insurance_fee_minimum": "0.25", "email": "referral_customer_5a6268d5328241c1a871f5ca4aba2529@donotemail.easypost.com", + "children": [], "api_keys": [{"object": "ApiKey", "key": "", "mode": + "test", "created_at": "2024-01-19T22:05:35Z", "active": true, "id": "ak_57c2e81185fe4619aa64c0102d2a0056"}, + {"object": "ApiKey", "key": "", "mode": "production", "created_at": + "2024-01-19T22:05:35Z", "active": true, "id": "ak_904d8c4015bb4d75a4b46c0997e20e70"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1018' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf22fe798d0c30010bfc8 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.883392' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_referral_customers_list.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_referral_customers_list.yaml new file mode 100644 index 00000000..1eced3b2 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_referral_customers_list.yaml @@ -0,0 +1,478 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/referral_customers?page_size=1 + response: + body: + string: '{"has_more": true, "referral_customers": [{"id": "user_634b6daa05744bfaa205058f06864363", + "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": + "8888888888", "verified": true, "created_at": "2022-04-26T15:50:28Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": + null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": + "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": + "email@example.com", "children": []}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '604' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaeca1e78b9f22000d01e0 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.063448' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/referral_customers?page_size=1 + response: + body: + string: '{"has_more": true, "referral_customers": [{"id": "user_634b6daa05744bfaa205058f06864363", + "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": + "8888888888", "verified": true, "created_at": "2022-04-26T15:50:28Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": + null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": + "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": + "email@example.com", "children": []}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '604' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaed15e78ba761000d448b + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.168546' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/referral_customers?page_size=1 + response: + body: + string: '{"has_more": true, "referral_customers": [{"id": "user_634b6daa05744bfaa205058f06864363", + "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": + "8888888888", "verified": true, "created_at": "2022-04-26T15:50:28Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": + null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": + "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": + "email@example.com", "children": []}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '604' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdab65aaedfde78bafe400113c07 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.072642' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/referral_customers?page_size=1 + response: + body: + string: '{"has_more": true, "referral_customers": [{"id": "user_634b6daa05744bfaa205058f06864363", + "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": + "8888888888", "verified": true, "created_at": "2022-04-26T15:50:28Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": + null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": + "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": + "email@example.com", "children": []}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '604' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdae65aaee70e78bb51000117e46 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.061052' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/referral_customers?page_size=1 + response: + body: + string: '{"has_more": true, "referral_customers": [{"id": "user_634b6daa05744bfaa205058f06864363", + "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": + "8888888888", "verified": true, "created_at": "2022-04-26T15:50:28Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": + null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": + "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": + "email@example.com", "children": []}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '604' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaf09fe798bf9d000f813b + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.065780' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/referral_customers?page_size=1 + response: + body: + string: '{"has_more": true, "referral_customers": [{"id": "user_634b6daa05744bfaa205058f06864363", + "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": + "8888888888", "verified": true, "created_at": "2022-04-26T15:50:28Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": + null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": + "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": + "email@example.com", "children": []}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '604' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf14ee798c7fe00101ab5 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.062090' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/referral_customers?page_size=1 + response: + body: + string: '{"has_more": true, "referral_customers": [{"id": "user_634b6daa05744bfaa205058f06864363", + "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": + "8888888888", "verified": true, "created_at": "2022-04-26T15:50:28Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": + null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": + "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": + "email@example.com", "children": []}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '604' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaf231e798d0dd0010c19c + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.060289' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_referral_customers_update.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_referral_customers_update.yaml new file mode 100644 index 00000000..06f08441 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_referral_customers_update.yaml @@ -0,0 +1,1380 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/referral_customers + response: + body: + string: '{"has_more": true, "referral_customers": [{"id": "user_634b6daa05744bfaa205058f06864363", + "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": + "8888888888", "verified": true, "created_at": "2022-04-26T15:50:28Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": + null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": + "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": + "email@example.com", "children": []}, {"id": "user_35cb81fb8af1454dabf1f6afa7330634", + "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": + "8888888888", "verified": true, "created_at": "2022-04-27T20:20:52Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": "100.00", "secondary_recharge_amount": "100.00", + "recharge_threshold": "0.00", "has_billing_method": true, "cc_fee_rate": "0.0325", + "default_insurance_amount": "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": + "0.25", "email": "email@example.com", "children": []}, {"id": "user_fa93cc16bcc24c078ee057ce82f38eed", + "object": "User", "parent_id": null, "name": "test test", "phone_number": + "8888888888", "verified": true, "created_at": "2022-04-28T22:34:38Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": + null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": + "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": + "email@example.com", "children": []}, {"id": "user_4a22730cdc844ce1bc2efbed999c869f", + "object": "User", "parent_id": null, "name": "test test", "phone_number": + "8888888888", "verified": true, "created_at": "2022-04-29T19:35:33Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": + null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": + "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": + "test@test.com", "children": []}, {"id": "user_488e391395f4416196a31965fecac409", + "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": + "8888888888", "verified": true, "created_at": "2022-05-02T18:48:22Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": "100.00", "secondary_recharge_amount": "100.00", + "recharge_threshold": "0.00", "has_billing_method": true, "cc_fee_rate": "0.0325", + "default_insurance_amount": "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": + "0.25", "email": "email@example.com", "children": []}, {"id": "user_91b120087ff843349b9a3f0675572bb1", + "object": "User", "parent_id": null, "name": "test test", "phone_number": + "8888888888", "verified": true, "created_at": "2022-05-02T19:04:10Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": + null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": + "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": + "test@test.com", "children": []}, {"id": "user_4ae0d572fbe542deb7efa51935a5b826", + "object": "User", "parent_id": null, "name": "test test", "phone_number": + "8888888888", "verified": true, "created_at": "2022-05-02T23:08:40Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": "100.00", "secondary_recharge_amount": "100.00", + "recharge_threshold": "0.00", "has_billing_method": true, "cc_fee_rate": "0.0325", + "default_insurance_amount": "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": + "0.25", "email": "test@test.com", "children": []}, {"id": "user_71189529eba747ce83aa69303e22c7df", + "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": + "8888888888", "verified": true, "created_at": "2022-05-04T22:05:27Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": + null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": + "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": + "email@example.com", "children": []}, {"id": "user_c13290f1f6a442d79657b8bfe5daeeba", + "object": "User", "parent_id": null, "name": "test test", "phone_number": + "8888888888", "verified": true, "created_at": "2022-05-05T16:54:58Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": + null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": + "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": + "email@example.com", "children": []}, {"id": "user_b73fdc6c6a58421ea884a82ad14520a5", + "object": "User", "parent_id": null, "name": "test test", "phone_number": + "8888888888", "verified": true, "created_at": "2022-05-05T16:55:59Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": "100.00", "secondary_recharge_amount": "100.00", + "recharge_threshold": "0.00", "has_billing_method": true, "cc_fee_rate": "0.0325", + "default_insurance_amount": "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": + "0.25", "email": "email@example.com", "children": []}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '5654' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaeca0e78b9f09000d0146 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.343229' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"user": {"email": "email@example.com"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '40' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: PUT + uri: https://api.easypost.com/v2/referral_customers/user_634b6daa05744bfaa205058f06864363 + response: + body: + string: '{"message": "Referral Customer email updated successfully"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '59' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaeca0e78b9f21000d01a0 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.133801' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/referral_customers + response: + body: + string: '{"has_more": true, "referral_customers": [{"id": "user_634b6daa05744bfaa205058f06864363", + "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": + "8888888888", "verified": true, "created_at": "2022-04-26T15:50:28Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": + null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": + "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": + "email@example.com", "children": []}, {"id": "user_35cb81fb8af1454dabf1f6afa7330634", + "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": + "8888888888", "verified": true, "created_at": "2022-04-27T20:20:52Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": "100.00", "secondary_recharge_amount": "100.00", + "recharge_threshold": "0.00", "has_billing_method": true, "cc_fee_rate": "0.0325", + "default_insurance_amount": "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": + "0.25", "email": "email@example.com", "children": []}, {"id": "user_fa93cc16bcc24c078ee057ce82f38eed", + "object": "User", "parent_id": null, "name": "test test", "phone_number": + "8888888888", "verified": true, "created_at": "2022-04-28T22:34:38Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": + null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": + "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": + "email@example.com", "children": []}, {"id": "user_4a22730cdc844ce1bc2efbed999c869f", + "object": "User", "parent_id": null, "name": "test test", "phone_number": + "8888888888", "verified": true, "created_at": "2022-04-29T19:35:33Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": + null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": + "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": + "test@test.com", "children": []}, {"id": "user_488e391395f4416196a31965fecac409", + "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": + "8888888888", "verified": true, "created_at": "2022-05-02T18:48:22Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": "100.00", "secondary_recharge_amount": "100.00", + "recharge_threshold": "0.00", "has_billing_method": true, "cc_fee_rate": "0.0325", + "default_insurance_amount": "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": + "0.25", "email": "email@example.com", "children": []}, {"id": "user_91b120087ff843349b9a3f0675572bb1", + "object": "User", "parent_id": null, "name": "test test", "phone_number": + "8888888888", "verified": true, "created_at": "2022-05-02T19:04:10Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": + null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": + "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": + "test@test.com", "children": []}, {"id": "user_4ae0d572fbe542deb7efa51935a5b826", + "object": "User", "parent_id": null, "name": "test test", "phone_number": + "8888888888", "verified": true, "created_at": "2022-05-02T23:08:40Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": "100.00", "secondary_recharge_amount": "100.00", + "recharge_threshold": "0.00", "has_billing_method": true, "cc_fee_rate": "0.0325", + "default_insurance_amount": "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": + "0.25", "email": "test@test.com", "children": []}, {"id": "user_71189529eba747ce83aa69303e22c7df", + "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": + "8888888888", "verified": true, "created_at": "2022-05-04T22:05:27Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": + null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": + "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": + "email@example.com", "children": []}, {"id": "user_c13290f1f6a442d79657b8bfe5daeeba", + "object": "User", "parent_id": null, "name": "test test", "phone_number": + "8888888888", "verified": true, "created_at": "2022-05-05T16:54:58Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": + null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": + "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": + "email@example.com", "children": []}, {"id": "user_b73fdc6c6a58421ea884a82ad14520a5", + "object": "User", "parent_id": null, "name": "test test", "phone_number": + "8888888888", "verified": true, "created_at": "2022-05-05T16:55:59Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": "100.00", "secondary_recharge_amount": "100.00", + "recharge_threshold": "0.00", "has_billing_method": true, "cc_fee_rate": "0.0325", + "default_insurance_amount": "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": + "0.25", "email": "email@example.com", "children": []}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '5654' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaed14e78ba748000d43a4 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.343086' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"user": {"email": "email@example.com"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '40' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: PUT + uri: https://api.easypost.com/v2/referral_customers/user_634b6daa05744bfaa205058f06864363 + response: + body: + string: '{"message": "Referral Customer email updated successfully"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '59' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaed14e78ba749000d4434 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.117617' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/referral_customers + response: + body: + string: '{"has_more": true, "referral_customers": [{"id": "user_634b6daa05744bfaa205058f06864363", + "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": + "8888888888", "verified": true, "created_at": "2022-04-26T15:50:28Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": + null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": + "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": + "email@example.com", "children": []}, {"id": "user_35cb81fb8af1454dabf1f6afa7330634", + "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": + "8888888888", "verified": true, "created_at": "2022-04-27T20:20:52Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": "100.00", "secondary_recharge_amount": "100.00", + "recharge_threshold": "0.00", "has_billing_method": true, "cc_fee_rate": "0.0325", + "default_insurance_amount": "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": + "0.25", "email": "email@example.com", "children": []}, {"id": "user_fa93cc16bcc24c078ee057ce82f38eed", + "object": "User", "parent_id": null, "name": "test test", "phone_number": + "8888888888", "verified": true, "created_at": "2022-04-28T22:34:38Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": + null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": + "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": + "email@example.com", "children": []}, {"id": "user_4a22730cdc844ce1bc2efbed999c869f", + "object": "User", "parent_id": null, "name": "test test", "phone_number": + "8888888888", "verified": true, "created_at": "2022-04-29T19:35:33Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": + null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": + "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": + "test@test.com", "children": []}, {"id": "user_488e391395f4416196a31965fecac409", + "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": + "8888888888", "verified": true, "created_at": "2022-05-02T18:48:22Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": "100.00", "secondary_recharge_amount": "100.00", + "recharge_threshold": "0.00", "has_billing_method": true, "cc_fee_rate": "0.0325", + "default_insurance_amount": "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": + "0.25", "email": "email@example.com", "children": []}, {"id": "user_91b120087ff843349b9a3f0675572bb1", + "object": "User", "parent_id": null, "name": "test test", "phone_number": + "8888888888", "verified": true, "created_at": "2022-05-02T19:04:10Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": + null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": + "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": + "test@test.com", "children": []}, {"id": "user_4ae0d572fbe542deb7efa51935a5b826", + "object": "User", "parent_id": null, "name": "test test", "phone_number": + "8888888888", "verified": true, "created_at": "2022-05-02T23:08:40Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": "100.00", "secondary_recharge_amount": "100.00", + "recharge_threshold": "0.00", "has_billing_method": true, "cc_fee_rate": "0.0325", + "default_insurance_amount": "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": + "0.25", "email": "test@test.com", "children": []}, {"id": "user_71189529eba747ce83aa69303e22c7df", + "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": + "8888888888", "verified": true, "created_at": "2022-05-04T22:05:27Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": + null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": + "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": + "email@example.com", "children": []}, {"id": "user_c13290f1f6a442d79657b8bfe5daeeba", + "object": "User", "parent_id": null, "name": "test test", "phone_number": + "8888888888", "verified": true, "created_at": "2022-05-05T16:54:58Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": + null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": + "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": + "email@example.com", "children": []}, {"id": "user_b73fdc6c6a58421ea884a82ad14520a5", + "object": "User", "parent_id": null, "name": "test test", "phone_number": + "8888888888", "verified": true, "created_at": "2022-05-05T16:55:59Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": "100.00", "secondary_recharge_amount": "100.00", + "recharge_threshold": "0.00", "has_billing_method": true, "cc_fee_rate": "0.0325", + "default_insurance_amount": "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": + "0.25", "email": "email@example.com", "children": []}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '5654' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda865aaedfce78bafcb00113b34 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.389021' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"user": {"email": "email@example.com"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '40' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: PUT + uri: https://api.easypost.com/v2/referral_customers/user_634b6daa05744bfaa205058f06864363 + response: + body: + string: '{"message": "Referral Customer email updated successfully"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '59' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda865aaedfce78bafe300113b99 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.247220' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/referral_customers + response: + body: + string: '{"has_more": true, "referral_customers": [{"id": "user_634b6daa05744bfaa205058f06864363", + "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": + "8888888888", "verified": true, "created_at": "2022-04-26T15:50:28Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": + null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": + "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": + "email@example.com", "children": []}, {"id": "user_35cb81fb8af1454dabf1f6afa7330634", + "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": + "8888888888", "verified": true, "created_at": "2022-04-27T20:20:52Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": "100.00", "secondary_recharge_amount": "100.00", + "recharge_threshold": "0.00", "has_billing_method": true, "cc_fee_rate": "0.0325", + "default_insurance_amount": "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": + "0.25", "email": "email@example.com", "children": []}, {"id": "user_fa93cc16bcc24c078ee057ce82f38eed", + "object": "User", "parent_id": null, "name": "test test", "phone_number": + "8888888888", "verified": true, "created_at": "2022-04-28T22:34:38Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": + null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": + "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": + "email@example.com", "children": []}, {"id": "user_4a22730cdc844ce1bc2efbed999c869f", + "object": "User", "parent_id": null, "name": "test test", "phone_number": + "8888888888", "verified": true, "created_at": "2022-04-29T19:35:33Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": + null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": + "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": + "test@test.com", "children": []}, {"id": "user_488e391395f4416196a31965fecac409", + "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": + "8888888888", "verified": true, "created_at": "2022-05-02T18:48:22Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": "100.00", "secondary_recharge_amount": "100.00", + "recharge_threshold": "0.00", "has_billing_method": true, "cc_fee_rate": "0.0325", + "default_insurance_amount": "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": + "0.25", "email": "email@example.com", "children": []}, {"id": "user_91b120087ff843349b9a3f0675572bb1", + "object": "User", "parent_id": null, "name": "test test", "phone_number": + "8888888888", "verified": true, "created_at": "2022-05-02T19:04:10Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": + null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": + "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": + "test@test.com", "children": []}, {"id": "user_4ae0d572fbe542deb7efa51935a5b826", + "object": "User", "parent_id": null, "name": "test test", "phone_number": + "8888888888", "verified": true, "created_at": "2022-05-02T23:08:40Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": "100.00", "secondary_recharge_amount": "100.00", + "recharge_threshold": "0.00", "has_billing_method": true, "cc_fee_rate": "0.0325", + "default_insurance_amount": "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": + "0.25", "email": "test@test.com", "children": []}, {"id": "user_71189529eba747ce83aa69303e22c7df", + "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": + "8888888888", "verified": true, "created_at": "2022-05-04T22:05:27Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": + null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": + "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": + "email@example.com", "children": []}, {"id": "user_c13290f1f6a442d79657b8bfe5daeeba", + "object": "User", "parent_id": null, "name": "test test", "phone_number": + "8888888888", "verified": true, "created_at": "2022-05-05T16:54:58Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": + null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": + "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": + "email@example.com", "children": []}, {"id": "user_b73fdc6c6a58421ea884a82ad14520a5", + "object": "User", "parent_id": null, "name": "test test", "phone_number": + "8888888888", "verified": true, "created_at": "2022-05-05T16:55:59Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": "100.00", "secondary_recharge_amount": "100.00", + "recharge_threshold": "0.00", "has_billing_method": true, "cc_fee_rate": "0.0325", + "default_insurance_amount": "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": + "0.25", "email": "email@example.com", "children": []}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '5654' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdad65aaee6fe78bb50b00117dc5 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.482373' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"user": {"email": "email@example.com"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '40' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: PUT + uri: https://api.easypost.com/v2/referral_customers/user_634b6daa05744bfaa205058f06864363 + response: + body: + string: '{"message": "Referral Customer email updated successfully"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '59' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda865aaee6fe78bb50c00117e11 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.114611' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/referral_customers + response: + body: + string: '{"has_more": true, "referral_customers": [{"id": "user_634b6daa05744bfaa205058f06864363", + "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": + "8888888888", "verified": true, "created_at": "2022-04-26T15:50:28Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": + null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": + "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": + "email@example.com", "children": []}, {"id": "user_35cb81fb8af1454dabf1f6afa7330634", + "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": + "8888888888", "verified": true, "created_at": "2022-04-27T20:20:52Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": "100.00", "secondary_recharge_amount": "100.00", + "recharge_threshold": "0.00", "has_billing_method": true, "cc_fee_rate": "0.0325", + "default_insurance_amount": "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": + "0.25", "email": "email@example.com", "children": []}, {"id": "user_fa93cc16bcc24c078ee057ce82f38eed", + "object": "User", "parent_id": null, "name": "test test", "phone_number": + "8888888888", "verified": true, "created_at": "2022-04-28T22:34:38Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": + null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": + "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": + "email@example.com", "children": []}, {"id": "user_4a22730cdc844ce1bc2efbed999c869f", + "object": "User", "parent_id": null, "name": "test test", "phone_number": + "8888888888", "verified": true, "created_at": "2022-04-29T19:35:33Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": + null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": + "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": + "test@test.com", "children": []}, {"id": "user_488e391395f4416196a31965fecac409", + "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": + "8888888888", "verified": true, "created_at": "2022-05-02T18:48:22Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": "100.00", "secondary_recharge_amount": "100.00", + "recharge_threshold": "0.00", "has_billing_method": true, "cc_fee_rate": "0.0325", + "default_insurance_amount": "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": + "0.25", "email": "email@example.com", "children": []}, {"id": "user_91b120087ff843349b9a3f0675572bb1", + "object": "User", "parent_id": null, "name": "test test", "phone_number": + "8888888888", "verified": true, "created_at": "2022-05-02T19:04:10Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": + null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": + "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": + "test@test.com", "children": []}, {"id": "user_4ae0d572fbe542deb7efa51935a5b826", + "object": "User", "parent_id": null, "name": "test test", "phone_number": + "8888888888", "verified": true, "created_at": "2022-05-02T23:08:40Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": "100.00", "secondary_recharge_amount": "100.00", + "recharge_threshold": "0.00", "has_billing_method": true, "cc_fee_rate": "0.0325", + "default_insurance_amount": "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": + "0.25", "email": "test@test.com", "children": []}, {"id": "user_71189529eba747ce83aa69303e22c7df", + "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": + "8888888888", "verified": true, "created_at": "2022-05-04T22:05:27Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": + null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": + "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": + "email@example.com", "children": []}, {"id": "user_c13290f1f6a442d79657b8bfe5daeeba", + "object": "User", "parent_id": null, "name": "test test", "phone_number": + "8888888888", "verified": true, "created_at": "2022-05-05T16:54:58Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": + null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": + "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": + "email@example.com", "children": []}, {"id": "user_b73fdc6c6a58421ea884a82ad14520a5", + "object": "User", "parent_id": null, "name": "test test", "phone_number": + "8888888888", "verified": true, "created_at": "2022-05-05T16:55:59Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": "100.00", "secondary_recharge_amount": "100.00", + "recharge_threshold": "0.00", "has_billing_method": true, "cc_fee_rate": "0.0325", + "default_insurance_amount": "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": + "0.25", "email": "email@example.com", "children": []}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '5654' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaf09ee798bf9b000f8075 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.705756' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"user": {"email": "email@example.com"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '40' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: PUT + uri: https://api.easypost.com/v2/referral_customers/user_634b6daa05744bfaa205058f06864363 + response: + body: + string: '{"message": "Referral Customer email updated successfully"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '59' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf09fe798bf9c000f8104 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.113872' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/referral_customers + response: + body: + string: '{"has_more": true, "referral_customers": [{"id": "user_634b6daa05744bfaa205058f06864363", + "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": + "8888888888", "verified": true, "created_at": "2022-04-26T15:50:28Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": + null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": + "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": + "email@example.com", "children": []}, {"id": "user_35cb81fb8af1454dabf1f6afa7330634", + "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": + "8888888888", "verified": true, "created_at": "2022-04-27T20:20:52Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": "100.00", "secondary_recharge_amount": "100.00", + "recharge_threshold": "0.00", "has_billing_method": true, "cc_fee_rate": "0.0325", + "default_insurance_amount": "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": + "0.25", "email": "email@example.com", "children": []}, {"id": "user_fa93cc16bcc24c078ee057ce82f38eed", + "object": "User", "parent_id": null, "name": "test test", "phone_number": + "8888888888", "verified": true, "created_at": "2022-04-28T22:34:38Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": + null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": + "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": + "email@example.com", "children": []}, {"id": "user_4a22730cdc844ce1bc2efbed999c869f", + "object": "User", "parent_id": null, "name": "test test", "phone_number": + "8888888888", "verified": true, "created_at": "2022-04-29T19:35:33Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": + null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": + "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": + "test@test.com", "children": []}, {"id": "user_488e391395f4416196a31965fecac409", + "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": + "8888888888", "verified": true, "created_at": "2022-05-02T18:48:22Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": "100.00", "secondary_recharge_amount": "100.00", + "recharge_threshold": "0.00", "has_billing_method": true, "cc_fee_rate": "0.0325", + "default_insurance_amount": "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": + "0.25", "email": "email@example.com", "children": []}, {"id": "user_91b120087ff843349b9a3f0675572bb1", + "object": "User", "parent_id": null, "name": "test test", "phone_number": + "8888888888", "verified": true, "created_at": "2022-05-02T19:04:10Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": + null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": + "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": + "test@test.com", "children": []}, {"id": "user_4ae0d572fbe542deb7efa51935a5b826", + "object": "User", "parent_id": null, "name": "test test", "phone_number": + "8888888888", "verified": true, "created_at": "2022-05-02T23:08:40Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": "100.00", "secondary_recharge_amount": "100.00", + "recharge_threshold": "0.00", "has_billing_method": true, "cc_fee_rate": "0.0325", + "default_insurance_amount": "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": + "0.25", "email": "test@test.com", "children": []}, {"id": "user_71189529eba747ce83aa69303e22c7df", + "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": + "8888888888", "verified": true, "created_at": "2022-05-04T22:05:27Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": + null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": + "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": + "email@example.com", "children": []}, {"id": "user_c13290f1f6a442d79657b8bfe5daeeba", + "object": "User", "parent_id": null, "name": "test test", "phone_number": + "8888888888", "verified": true, "created_at": "2022-05-05T16:54:58Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": + null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": + "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": + "email@example.com", "children": []}, {"id": "user_b73fdc6c6a58421ea884a82ad14520a5", + "object": "User", "parent_id": null, "name": "test test", "phone_number": + "8888888888", "verified": true, "created_at": "2022-05-05T16:55:59Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": "100.00", "secondary_recharge_amount": "100.00", + "recharge_threshold": "0.00", "has_billing_method": true, "cc_fee_rate": "0.0325", + "default_insurance_amount": "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": + "0.25", "email": "email@example.com", "children": []}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '5654' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf14de798c7fc001019c2 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.352378' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"user": {"email": "email@example.com"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '40' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: PUT + uri: https://api.easypost.com/v2/referral_customers/user_634b6daa05744bfaa205058f06864363 + response: + body: + string: '{"message": "Referral Customer email updated successfully"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '59' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaf14de798c7fd00101a46 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.114621' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/referral_customers + response: + body: + string: '{"has_more": true, "referral_customers": [{"id": "user_634b6daa05744bfaa205058f06864363", + "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": + "8888888888", "verified": true, "created_at": "2022-04-26T15:50:28Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": + null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": + "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": + "email@example.com", "children": []}, {"id": "user_35cb81fb8af1454dabf1f6afa7330634", + "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": + "8888888888", "verified": true, "created_at": "2022-04-27T20:20:52Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": "100.00", "secondary_recharge_amount": "100.00", + "recharge_threshold": "0.00", "has_billing_method": true, "cc_fee_rate": "0.0325", + "default_insurance_amount": "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": + "0.25", "email": "email@example.com", "children": []}, {"id": "user_fa93cc16bcc24c078ee057ce82f38eed", + "object": "User", "parent_id": null, "name": "test test", "phone_number": + "8888888888", "verified": true, "created_at": "2022-04-28T22:34:38Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": + null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": + "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": + "email@example.com", "children": []}, {"id": "user_4a22730cdc844ce1bc2efbed999c869f", + "object": "User", "parent_id": null, "name": "test test", "phone_number": + "8888888888", "verified": true, "created_at": "2022-04-29T19:35:33Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": + null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": + "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": + "test@test.com", "children": []}, {"id": "user_488e391395f4416196a31965fecac409", + "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": + "8888888888", "verified": true, "created_at": "2022-05-02T18:48:22Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": "100.00", "secondary_recharge_amount": "100.00", + "recharge_threshold": "0.00", "has_billing_method": true, "cc_fee_rate": "0.0325", + "default_insurance_amount": "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": + "0.25", "email": "email@example.com", "children": []}, {"id": "user_91b120087ff843349b9a3f0675572bb1", + "object": "User", "parent_id": null, "name": "test test", "phone_number": + "8888888888", "verified": true, "created_at": "2022-05-02T19:04:10Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": + null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": + "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": + "test@test.com", "children": []}, {"id": "user_4ae0d572fbe542deb7efa51935a5b826", + "object": "User", "parent_id": null, "name": "test test", "phone_number": + "8888888888", "verified": true, "created_at": "2022-05-02T23:08:40Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": "100.00", "secondary_recharge_amount": "100.00", + "recharge_threshold": "0.00", "has_billing_method": true, "cc_fee_rate": "0.0325", + "default_insurance_amount": "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": + "0.25", "email": "test@test.com", "children": []}, {"id": "user_71189529eba747ce83aa69303e22c7df", + "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": + "8888888888", "verified": true, "created_at": "2022-05-04T22:05:27Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": + null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": + "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": + "email@example.com", "children": []}, {"id": "user_c13290f1f6a442d79657b8bfe5daeeba", + "object": "User", "parent_id": null, "name": "test test", "phone_number": + "8888888888", "verified": true, "created_at": "2022-05-05T16:54:58Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": + null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": + "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": + "email@example.com", "children": []}, {"id": "user_b73fdc6c6a58421ea884a82ad14520a5", + "object": "User", "parent_id": null, "name": "test test", "phone_number": + "8888888888", "verified": true, "created_at": "2022-05-05T16:55:59Z", "default_carbon_offset": + false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": + "0.00000", "recharge_amount": "100.00", "secondary_recharge_amount": "100.00", + "recharge_threshold": "0.00", "has_billing_method": true, "cc_fee_rate": "0.0325", + "default_insurance_amount": "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": + "0.25", "email": "email@example.com", "children": []}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '5654' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf230e798d0c40010c0b6 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.331135' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"user": {"email": "email@example.com"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '40' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: PUT + uri: https://api.easypost.com/v2/referral_customers/user_634b6daa05744bfaa205058f06864363 + response: + body: + string: '{"message": "Referral Customer email updated successfully"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '59' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf230e798d0dc0010c13c + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.116839' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_refunds_create.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_refunds_create.yaml new file mode 100644 index 00000000..90d5963d --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_refunds_create.yaml @@ -0,0 +1,3079 @@ +interactions: +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:41:53Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010707757", "updated_at": "2024-01-19T21:41:54Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_5b9c51d481994019bf4bf817f4d4f5eb", "object": "CustomsInfo", "created_at": + "2024-01-19T21:41:53Z", "updated_at": "2024-01-19T21:41:53Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_c00eecdbdd1e4f1b991badc5660907ea", + "object": "CustomsItem", "created_at": "2024-01-19T21:41:53Z", "updated_at": + "2024-01-19T21:41:53Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_8f6c7415b71311eea231ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:41:53+00:00", "updated_at": + "2024-01-19T21:41:53+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_f005a5bab8e548918a17eecbd50cd8bf", + "object": "Parcel", "created_at": "2024-01-19T21:41:53Z", "updated_at": "2024-01-19T21:41:53Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_aba18bcd06f048dab8b09eb4ac91a959", "created_at": "2024-01-19T21:41:53Z", + "updated_at": "2024-01-19T21:41:54Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:41:53Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e80bbee2189abe4e4c95e36caaadfd9cd3.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_e9c1667bd37944c2a8d4bc86328be313", "object": + "Rate", "created_at": "2024-01-19T21:41:53Z", "updated_at": "2024-01-19T21:41:53Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_31826ec4b32847c9943a27371cc43b28", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_01366477528d42e0b612f9fed816d229", + "object": "Rate", "created_at": "2024-01-19T21:41:53Z", "updated_at": "2024-01-19T21:41:53Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_31826ec4b32847c9943a27371cc43b28", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_fa69bd19c07d4e52bc7cdd7406ce1e9f", + "object": "Rate", "created_at": "2024-01-19T21:41:53Z", "updated_at": "2024-01-19T21:41:53Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_31826ec4b32847c9943a27371cc43b28", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_94e62cbd22724aa0a82b24e12d504ec4", + "object": "Rate", "created_at": "2024-01-19T21:41:53Z", "updated_at": "2024-01-19T21:41:53Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_31826ec4b32847c9943a27371cc43b28", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_d5ae6c00e8744fe3a41d2cd38a1b7cab", "object": "Rate", "created_at": + "2024-01-19T21:41:53Z", "updated_at": "2024-01-19T21:41:53Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_31826ec4b32847c9943a27371cc43b28", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_01366477528d42e0b612f9fed816d229", + "object": "Rate", "created_at": "2024-01-19T21:41:53Z", "updated_at": "2024-01-19T21:41:53Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_31826ec4b32847c9943a27371cc43b28", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_c57db3fe4f4b47ada88af5abe92a4422", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010707757", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:41:54Z", + "updated_at": "2024-01-19T21:41:54Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_31826ec4b32847c9943a27371cc43b28", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrX2M1N2RiM2ZlNGY0YjQ3YWRhODhhZjVhYmU5MmE0NDIy"}, + "to_address": {"id": "adr_8f6a6739b71311eea0913cecef1b359e", "object": "Address", + "created_at": "2024-01-19T21:41:53+00:00", "updated_at": "2024-01-19T21:41:53+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_8f6c7415b71311eea231ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:41:53+00:00", "updated_at": + "2024-01-19T21:41:53+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_8f6a6739b71311eea0913cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:41:53+00:00", "updated_at": "2024-01-19T21:41:53+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_31826ec4b32847c9943a27371cc43b28", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_31826ec4b32847c9943a27371cc43b28 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaeca1e78b9f23000d0211 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.046887' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/shipments/shp_31826ec4b32847c9943a27371cc43b28 + response: + body: + string: '{"created_at": "2024-01-19T21:41:53Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010707757", "updated_at": "2024-01-19T21:41:54Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_5b9c51d481994019bf4bf817f4d4f5eb", "object": "CustomsInfo", "created_at": + "2024-01-19T21:41:53Z", "updated_at": "2024-01-19T21:41:53Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_c00eecdbdd1e4f1b991badc5660907ea", + "object": "CustomsItem", "created_at": "2024-01-19T21:41:53Z", "updated_at": + "2024-01-19T21:41:53Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_8f6c7415b71311eea231ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:41:53+00:00", "updated_at": + "2024-01-19T21:41:53+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_f005a5bab8e548918a17eecbd50cd8bf", + "object": "Parcel", "created_at": "2024-01-19T21:41:53Z", "updated_at": "2024-01-19T21:41:53Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_aba18bcd06f048dab8b09eb4ac91a959", "created_at": "2024-01-19T21:41:53Z", + "updated_at": "2024-01-19T21:41:54Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:41:53Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e80bbee2189abe4e4c95e36caaadfd9cd3.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_e9c1667bd37944c2a8d4bc86328be313", "object": + "Rate", "created_at": "2024-01-19T21:41:53Z", "updated_at": "2024-01-19T21:41:53Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_31826ec4b32847c9943a27371cc43b28", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_01366477528d42e0b612f9fed816d229", + "object": "Rate", "created_at": "2024-01-19T21:41:53Z", "updated_at": "2024-01-19T21:41:53Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_31826ec4b32847c9943a27371cc43b28", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_fa69bd19c07d4e52bc7cdd7406ce1e9f", + "object": "Rate", "created_at": "2024-01-19T21:41:53Z", "updated_at": "2024-01-19T21:41:53Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_31826ec4b32847c9943a27371cc43b28", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_94e62cbd22724aa0a82b24e12d504ec4", + "object": "Rate", "created_at": "2024-01-19T21:41:53Z", "updated_at": "2024-01-19T21:41:53Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_31826ec4b32847c9943a27371cc43b28", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_d5ae6c00e8744fe3a41d2cd38a1b7cab", "object": "Rate", "created_at": + "2024-01-19T21:41:53Z", "updated_at": "2024-01-19T21:41:53Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_31826ec4b32847c9943a27371cc43b28", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_01366477528d42e0b612f9fed816d229", + "object": "Rate", "created_at": "2024-01-19T21:41:53Z", "updated_at": "2024-01-19T21:41:53Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_31826ec4b32847c9943a27371cc43b28", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_c57db3fe4f4b47ada88af5abe92a4422", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010707757", + "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:41:54Z", + "updated_at": "2024-01-19T21:41:54Z", "signed_by": null, "weight": null, "est_delivery_date": + "2024-01-19T21:41:54Z", "shipment_id": "shp_31826ec4b32847c9943a27371cc43b28", + "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": + "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-19T21:41:54Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", + "message": "Shipping Label Created", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-20T10:18:54Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": + null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": + null}, "public_url": "https://track.easypost.com/djE6dHJrX2M1N2RiM2ZlNGY0YjQ3YWRhODhhZjVhYmU5MmE0NDIy"}, + "to_address": {"id": "adr_8f6a6739b71311eea0913cecef1b359e", "object": "Address", + "created_at": "2024-01-19T21:41:53+00:00", "updated_at": "2024-01-19T21:41:53+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_8f6c7415b71311eea231ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:41:53+00:00", "updated_at": + "2024-01-19T21:41:53+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_8f6a6739b71311eea0913cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:41:53+00:00", "updated_at": "2024-01-19T21:41:53+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_31826ec4b32847c9943a27371cc43b28", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '9480' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaeca2e78b9f24000d02af + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.176564' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"refund": {"carrier": "USPS", "tracking_codes": "9405500207552010707757"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '75' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/refunds + response: + body: + string: '[{"id": "rfnd_bcb3fa1dfbfe4706bd524ee81fd249ab", "object": "Refund", + "created_at": "2024-01-19T21:41:55Z", "updated_at": "2024-01-19T21:41:55Z", + "tracking_code": "9405500207552010707757", "confirmation_number": null, "status": + "submitted", "carrier": "USPS", "shipment_id": "shp_31826ec4b32847c9943a27371cc43b28"}]' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '297' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaeca3e78b9f25000d02eb + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.072552' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:43:49Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010708075", "updated_at": "2024-01-19T21:43:50Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_3c248be691b44583a66f34e5d13e72b7", "object": "CustomsInfo", "created_at": + "2024-01-19T21:43:49Z", "updated_at": "2024-01-19T21:43:49Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_91b8926cb7ff4b48b47e9eaeb5872a6d", + "object": "CustomsItem", "created_at": "2024-01-19T21:43:49Z", "updated_at": + "2024-01-19T21:43:49Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_d4a3f78eb71311eebbe7ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:43:49+00:00", "updated_at": + "2024-01-19T21:43:49+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_36b69bce7b264d9e8ce0d671c13d3d8c", + "object": "Parcel", "created_at": "2024-01-19T21:43:49Z", "updated_at": "2024-01-19T21:43:49Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_7642e30f08034780987ca70471f15505", "created_at": "2024-01-19T21:43:50Z", + "updated_at": "2024-01-19T21:43:50Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:43:50Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e82cfff77806c141ad8bac1753047b6deb.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_9a9cec1b1d2a4a829586b6b20100f05f", "object": + "Rate", "created_at": "2024-01-19T21:43:49Z", "updated_at": "2024-01-19T21:43:49Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_029ee40466a7479fab3f28976fda3322", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_bda2888ad0d74959bdf84866f0730daa", + "object": "Rate", "created_at": "2024-01-19T21:43:49Z", "updated_at": "2024-01-19T21:43:49Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_029ee40466a7479fab3f28976fda3322", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_78e2e11ce4f5443f9d5d34b871759a73", + "object": "Rate", "created_at": "2024-01-19T21:43:49Z", "updated_at": "2024-01-19T21:43:49Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_029ee40466a7479fab3f28976fda3322", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_b54d9a8ee68c4cb28b7f80b7e99ea3da", "object": "Rate", "created_at": + "2024-01-19T21:43:49Z", "updated_at": "2024-01-19T21:43:49Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_029ee40466a7479fab3f28976fda3322", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_922eaf8b7cf64812b883ed0989787a9d", "object": "Rate", "created_at": + "2024-01-19T21:43:49Z", "updated_at": "2024-01-19T21:43:49Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_029ee40466a7479fab3f28976fda3322", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_9a9cec1b1d2a4a829586b6b20100f05f", + "object": "Rate", "created_at": "2024-01-19T21:43:50Z", "updated_at": "2024-01-19T21:43:50Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_029ee40466a7479fab3f28976fda3322", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_a73ce022c46e44e1aa504b610e87d7bc", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708075", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:43:50Z", + "updated_at": "2024-01-19T21:43:50Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_029ee40466a7479fab3f28976fda3322", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrX2E3M2NlMDIyYzQ2ZTQ0ZTFhYTUwNGI2MTBlODdkN2Jj"}, + "to_address": {"id": "adr_d4a191b2b71311eeb9753cecef1b359e", "object": "Address", + "created_at": "2024-01-19T21:43:49+00:00", "updated_at": "2024-01-19T21:43:49+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_d4a3f78eb71311eebbe7ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:43:49+00:00", "updated_at": + "2024-01-19T21:43:49+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_d4a191b2b71311eeb9753cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:43:49+00:00", "updated_at": "2024-01-19T21:43:49+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_029ee40466a7479fab3f28976fda3322", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_029ee40466a7479fab3f28976fda3322 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaed15e78ba762000d44df + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.908077' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/shipments/shp_029ee40466a7479fab3f28976fda3322 + response: + body: + string: '{"created_at": "2024-01-19T21:43:49Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010708075", "updated_at": "2024-01-19T21:43:50Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_3c248be691b44583a66f34e5d13e72b7", "object": "CustomsInfo", "created_at": + "2024-01-19T21:43:49Z", "updated_at": "2024-01-19T21:43:49Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_91b8926cb7ff4b48b47e9eaeb5872a6d", + "object": "CustomsItem", "created_at": "2024-01-19T21:43:49Z", "updated_at": + "2024-01-19T21:43:49Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_d4a3f78eb71311eebbe7ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:43:49+00:00", "updated_at": + "2024-01-19T21:43:49+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_36b69bce7b264d9e8ce0d671c13d3d8c", + "object": "Parcel", "created_at": "2024-01-19T21:43:49Z", "updated_at": "2024-01-19T21:43:49Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_7642e30f08034780987ca70471f15505", "created_at": "2024-01-19T21:43:50Z", + "updated_at": "2024-01-19T21:43:50Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:43:50Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e82cfff77806c141ad8bac1753047b6deb.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_9a9cec1b1d2a4a829586b6b20100f05f", "object": + "Rate", "created_at": "2024-01-19T21:43:49Z", "updated_at": "2024-01-19T21:43:49Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_029ee40466a7479fab3f28976fda3322", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_bda2888ad0d74959bdf84866f0730daa", + "object": "Rate", "created_at": "2024-01-19T21:43:49Z", "updated_at": "2024-01-19T21:43:49Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_029ee40466a7479fab3f28976fda3322", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_78e2e11ce4f5443f9d5d34b871759a73", + "object": "Rate", "created_at": "2024-01-19T21:43:49Z", "updated_at": "2024-01-19T21:43:49Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_029ee40466a7479fab3f28976fda3322", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_b54d9a8ee68c4cb28b7f80b7e99ea3da", "object": "Rate", "created_at": + "2024-01-19T21:43:49Z", "updated_at": "2024-01-19T21:43:49Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_029ee40466a7479fab3f28976fda3322", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_922eaf8b7cf64812b883ed0989787a9d", "object": "Rate", "created_at": + "2024-01-19T21:43:49Z", "updated_at": "2024-01-19T21:43:49Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_029ee40466a7479fab3f28976fda3322", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_9a9cec1b1d2a4a829586b6b20100f05f", + "object": "Rate", "created_at": "2024-01-19T21:43:50Z", "updated_at": "2024-01-19T21:43:50Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_029ee40466a7479fab3f28976fda3322", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_a73ce022c46e44e1aa504b610e87d7bc", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708075", + "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:43:50Z", + "updated_at": "2024-01-19T21:43:50Z", "signed_by": null, "weight": null, "est_delivery_date": + "2024-01-19T21:43:50Z", "shipment_id": "shp_029ee40466a7479fab3f28976fda3322", + "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": + "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-19T21:43:50Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", + "message": "Shipping Label Created", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-20T10:20:50Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": + null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": + null}, "public_url": "https://track.easypost.com/djE6dHJrX2E3M2NlMDIyYzQ2ZTQ0ZTFhYTUwNGI2MTBlODdkN2Jj"}, + "to_address": {"id": "adr_d4a191b2b71311eeb9753cecef1b359e", "object": "Address", + "created_at": "2024-01-19T21:43:49+00:00", "updated_at": "2024-01-19T21:43:49+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_d4a3f78eb71311eebbe7ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:43:49+00:00", "updated_at": + "2024-01-19T21:43:49+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_d4a191b2b71311eeb9753cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:43:49+00:00", "updated_at": "2024-01-19T21:43:49+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_029ee40466a7479fab3f28976fda3322", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '9480' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaed16e78ba763000d45a6 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.141878' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"refund": {"carrier": "USPS", "tracking_codes": "9405500207552010708075"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '75' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/refunds + response: + body: + string: '[{"id": "rfnd_bbd8f69447104430969831ef7b21d9fa", "object": "Refund", + "created_at": "2024-01-19T21:43:51Z", "updated_at": "2024-01-19T21:43:51Z", + "tracking_code": "9405500207552010708075", "confirmation_number": null, "status": + "submitted", "carrier": "USPS", "shipment_id": "shp_029ee40466a7479fab3f28976fda3322"}]' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '297' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaed17e78ba764000d45dc + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.081607' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:47:41Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010708525", "updated_at": "2024-01-19T21:47:43Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_fa123e5b77864a788292c7762f635ccb", "object": "CustomsInfo", "created_at": + "2024-01-19T21:47:41Z", "updated_at": "2024-01-19T21:47:41Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_9c9f26ded6564424a9b860c057dc590a", + "object": "CustomsItem", "created_at": "2024-01-19T21:47:41Z", "updated_at": + "2024-01-19T21:47:41Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_5f2dc9b9b71411eeb6c6ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:47:41+00:00", "updated_at": + "2024-01-19T21:47:41+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_344a223f9b7d4825b7577bc2ff105e79", + "object": "Parcel", "created_at": "2024-01-19T21:47:41Z", "updated_at": "2024-01-19T21:47:41Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_6ebc507562ba4f7c8ef3135df36beed6", "created_at": "2024-01-19T21:47:42Z", + "updated_at": "2024-01-19T21:47:42Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:47:42Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e832ef6916774c4e90bba24cca4320442b.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_8b5ea727a7744a1d999d6733f19c62e7", "object": + "Rate", "created_at": "2024-01-19T21:47:42Z", "updated_at": "2024-01-19T21:47:42Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_0a54634170f24d1cb2f7fd85b059af17", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_121471ef5f7c4011b85abd6aee88ac0e", + "object": "Rate", "created_at": "2024-01-19T21:47:42Z", "updated_at": "2024-01-19T21:47:42Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_0a54634170f24d1cb2f7fd85b059af17", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_360ace29e7a9445eb3ed8b66a97bdbd2", + "object": "Rate", "created_at": "2024-01-19T21:47:42Z", "updated_at": "2024-01-19T21:47:42Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_0a54634170f24d1cb2f7fd85b059af17", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_86bb3e2e60454d7986f862f36f571a0e", "object": "Rate", "created_at": + "2024-01-19T21:47:42Z", "updated_at": "2024-01-19T21:47:42Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_0a54634170f24d1cb2f7fd85b059af17", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_8ae54668f8b34f159c0c123a68d46392", "object": "Rate", "created_at": + "2024-01-19T21:47:42Z", "updated_at": "2024-01-19T21:47:42Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_0a54634170f24d1cb2f7fd85b059af17", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_8b5ea727a7744a1d999d6733f19c62e7", + "object": "Rate", "created_at": "2024-01-19T21:47:42Z", "updated_at": "2024-01-19T21:47:42Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_0a54634170f24d1cb2f7fd85b059af17", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_5d5e8cf786b24efabf16ab0fb9818956", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708525", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:47:43Z", + "updated_at": "2024-01-19T21:47:43Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_0a54634170f24d1cb2f7fd85b059af17", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzVkNWU4Y2Y3ODZiMjRlZmFiZjE2YWIwZmI5ODE4OTU2"}, + "to_address": {"id": "adr_5f2bb225b71411eea52e3cecef1b359e", "object": "Address", + "created_at": "2024-01-19T21:47:41+00:00", "updated_at": "2024-01-19T21:47:42+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_5f2dc9b9b71411eeb6c6ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:47:41+00:00", "updated_at": + "2024-01-19T21:47:41+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_5f2bb225b71411eea52e3cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:47:41+00:00", "updated_at": "2024-01-19T21:47:42+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_0a54634170f24d1cb2f7fd85b059af17", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_0a54634170f24d1cb2f7fd85b059af17 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdac65aaedfde78bafe500113c56 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '1.237853' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/shipments/shp_0a54634170f24d1cb2f7fd85b059af17 + response: + body: + string: '{"created_at": "2024-01-19T21:47:41Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010708525", "updated_at": "2024-01-19T21:47:43Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_fa123e5b77864a788292c7762f635ccb", "object": "CustomsInfo", "created_at": + "2024-01-19T21:47:41Z", "updated_at": "2024-01-19T21:47:41Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_9c9f26ded6564424a9b860c057dc590a", + "object": "CustomsItem", "created_at": "2024-01-19T21:47:41Z", "updated_at": + "2024-01-19T21:47:41Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_5f2dc9b9b71411eeb6c6ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:47:41+00:00", "updated_at": + "2024-01-19T21:47:41+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_344a223f9b7d4825b7577bc2ff105e79", + "object": "Parcel", "created_at": "2024-01-19T21:47:41Z", "updated_at": "2024-01-19T21:47:41Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_6ebc507562ba4f7c8ef3135df36beed6", "created_at": "2024-01-19T21:47:42Z", + "updated_at": "2024-01-19T21:47:42Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:47:42Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e832ef6916774c4e90bba24cca4320442b.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_8b5ea727a7744a1d999d6733f19c62e7", "object": + "Rate", "created_at": "2024-01-19T21:47:42Z", "updated_at": "2024-01-19T21:47:42Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_0a54634170f24d1cb2f7fd85b059af17", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_121471ef5f7c4011b85abd6aee88ac0e", + "object": "Rate", "created_at": "2024-01-19T21:47:42Z", "updated_at": "2024-01-19T21:47:42Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_0a54634170f24d1cb2f7fd85b059af17", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_360ace29e7a9445eb3ed8b66a97bdbd2", + "object": "Rate", "created_at": "2024-01-19T21:47:42Z", "updated_at": "2024-01-19T21:47:42Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_0a54634170f24d1cb2f7fd85b059af17", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_86bb3e2e60454d7986f862f36f571a0e", "object": "Rate", "created_at": + "2024-01-19T21:47:42Z", "updated_at": "2024-01-19T21:47:42Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_0a54634170f24d1cb2f7fd85b059af17", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_8ae54668f8b34f159c0c123a68d46392", "object": "Rate", "created_at": + "2024-01-19T21:47:42Z", "updated_at": "2024-01-19T21:47:42Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_0a54634170f24d1cb2f7fd85b059af17", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_8b5ea727a7744a1d999d6733f19c62e7", + "object": "Rate", "created_at": "2024-01-19T21:47:42Z", "updated_at": "2024-01-19T21:47:42Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_0a54634170f24d1cb2f7fd85b059af17", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_5d5e8cf786b24efabf16ab0fb9818956", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708525", + "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:47:43Z", + "updated_at": "2024-01-19T21:47:43Z", "signed_by": null, "weight": null, "est_delivery_date": + "2024-01-19T21:47:43Z", "shipment_id": "shp_0a54634170f24d1cb2f7fd85b059af17", + "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": + "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-19T21:47:43Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", + "message": "Shipping Label Created", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-20T10:24:43Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": + null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": + null}, "public_url": "https://track.easypost.com/djE6dHJrXzVkNWU4Y2Y3ODZiMjRlZmFiZjE2YWIwZmI5ODE4OTU2"}, + "to_address": {"id": "adr_5f2bb225b71411eea52e3cecef1b359e", "object": "Address", + "created_at": "2024-01-19T21:47:41+00:00", "updated_at": "2024-01-19T21:47:42+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_5f2dc9b9b71411eeb6c6ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:47:41+00:00", "updated_at": + "2024-01-19T21:47:41+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_5f2bb225b71411eea52e3cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:47:41+00:00", "updated_at": "2024-01-19T21:47:42+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_0a54634170f24d1cb2f7fd85b059af17", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '9480' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdae65aaedffe78bafe600113d44 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.147794' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"refund": {"carrier": "USPS", "tracking_codes": "9405500207552010708525"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '75' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/refunds + response: + body: + string: '[{"id": "rfnd_a4a1a49fdcb34445b90ced53c8c38e0f", "object": "Refund", + "created_at": "2024-01-19T21:47:44Z", "updated_at": "2024-01-19T21:47:44Z", + "tracking_code": "9405500207552010708525", "confirmation_number": null, "status": + "submitted", "carrier": "USPS", "shipment_id": "shp_0a54634170f24d1cb2f7fd85b059af17"}]' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '297' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda765aaedffe78bafe700113db1 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.221283' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:49:36Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010709065", "updated_at": "2024-01-19T21:49:37Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_3fcf8af2eb894419b26763a9c35eb95c", "object": "CustomsInfo", "created_at": + "2024-01-19T21:49:36Z", "updated_at": "2024-01-19T21:49:36Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_28efecb5b1e34a6c8aa63ef7ee024aab", + "object": "CustomsItem", "created_at": "2024-01-19T21:49:36Z", "updated_at": + "2024-01-19T21:49:36Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_a3989783b71411ee8c57ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:49:36+00:00", "updated_at": + "2024-01-19T21:49:36+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_804bfb9b146d49759ccb123ed61a822b", + "object": "Parcel", "created_at": "2024-01-19T21:49:36Z", "updated_at": "2024-01-19T21:49:36Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_0fd2e54c9b704587a04591d74b54a5cf", "created_at": "2024-01-19T21:49:37Z", + "updated_at": "2024-01-19T21:49:37Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:49:37Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8432caa39371c4e109478f103ebd2cb44.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_e5f9a12c1c7547c7a42a230b4b3cc5c4", "object": + "Rate", "created_at": "2024-01-19T21:49:36Z", "updated_at": "2024-01-19T21:49:36Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_8cf656042058439585a0c34d6b880666", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_56c495e64d494812856efdbe87d2a4fb", + "object": "Rate", "created_at": "2024-01-19T21:49:36Z", "updated_at": "2024-01-19T21:49:36Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_8cf656042058439585a0c34d6b880666", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_555baace612b4cfe8261904bac1a50f0", + "object": "Rate", "created_at": "2024-01-19T21:49:36Z", "updated_at": "2024-01-19T21:49:36Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_8cf656042058439585a0c34d6b880666", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_5e7a48f99a774025936c97767b0780c2", + "object": "Rate", "created_at": "2024-01-19T21:49:36Z", "updated_at": "2024-01-19T21:49:36Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_8cf656042058439585a0c34d6b880666", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_2164d665b6504a4abbfd091c4177119d", "object": "Rate", "created_at": + "2024-01-19T21:49:36Z", "updated_at": "2024-01-19T21:49:36Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_8cf656042058439585a0c34d6b880666", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_56c495e64d494812856efdbe87d2a4fb", + "object": "Rate", "created_at": "2024-01-19T21:49:37Z", "updated_at": "2024-01-19T21:49:37Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_8cf656042058439585a0c34d6b880666", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_2dc7c837483a493d89710ef52b72b989", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010709065", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:49:37Z", + "updated_at": "2024-01-19T21:49:37Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_8cf656042058439585a0c34d6b880666", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzJkYzdjODM3NDgzYTQ5M2Q4OTcxMGVmNTJiNzJiOTg5"}, + "to_address": {"id": "adr_a395d089b71411eebaf53cecef1b359e", "object": "Address", + "created_at": "2024-01-19T21:49:36+00:00", "updated_at": "2024-01-19T21:49:36+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_a3989783b71411ee8c57ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:49:36+00:00", "updated_at": + "2024-01-19T21:49:36+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_a395d089b71411eebaf53cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:49:36+00:00", "updated_at": "2024-01-19T21:49:36+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_8cf656042058439585a0c34d6b880666", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_8cf656042058439585a0c34d6b880666 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdaa65aaee70e78bb51100117e72 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '1.012399' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/shipments/shp_8cf656042058439585a0c34d6b880666 + response: + body: + string: '{"created_at": "2024-01-19T21:49:36Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010709065", "updated_at": "2024-01-19T21:49:37Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_3fcf8af2eb894419b26763a9c35eb95c", "object": "CustomsInfo", "created_at": + "2024-01-19T21:49:36Z", "updated_at": "2024-01-19T21:49:36Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_28efecb5b1e34a6c8aa63ef7ee024aab", + "object": "CustomsItem", "created_at": "2024-01-19T21:49:36Z", "updated_at": + "2024-01-19T21:49:36Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_a3989783b71411ee8c57ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:49:36+00:00", "updated_at": + "2024-01-19T21:49:36+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_804bfb9b146d49759ccb123ed61a822b", + "object": "Parcel", "created_at": "2024-01-19T21:49:36Z", "updated_at": "2024-01-19T21:49:36Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_0fd2e54c9b704587a04591d74b54a5cf", "created_at": "2024-01-19T21:49:37Z", + "updated_at": "2024-01-19T21:49:37Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:49:37Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8432caa39371c4e109478f103ebd2cb44.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_e5f9a12c1c7547c7a42a230b4b3cc5c4", "object": + "Rate", "created_at": "2024-01-19T21:49:36Z", "updated_at": "2024-01-19T21:49:36Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_8cf656042058439585a0c34d6b880666", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_56c495e64d494812856efdbe87d2a4fb", + "object": "Rate", "created_at": "2024-01-19T21:49:36Z", "updated_at": "2024-01-19T21:49:36Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_8cf656042058439585a0c34d6b880666", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_555baace612b4cfe8261904bac1a50f0", + "object": "Rate", "created_at": "2024-01-19T21:49:36Z", "updated_at": "2024-01-19T21:49:36Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_8cf656042058439585a0c34d6b880666", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_5e7a48f99a774025936c97767b0780c2", + "object": "Rate", "created_at": "2024-01-19T21:49:36Z", "updated_at": "2024-01-19T21:49:36Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_8cf656042058439585a0c34d6b880666", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_2164d665b6504a4abbfd091c4177119d", "object": "Rate", "created_at": + "2024-01-19T21:49:36Z", "updated_at": "2024-01-19T21:49:36Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_8cf656042058439585a0c34d6b880666", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_56c495e64d494812856efdbe87d2a4fb", + "object": "Rate", "created_at": "2024-01-19T21:49:37Z", "updated_at": "2024-01-19T21:49:37Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_8cf656042058439585a0c34d6b880666", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_2dc7c837483a493d89710ef52b72b989", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010709065", + "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:49:37Z", + "updated_at": "2024-01-19T21:49:37Z", "signed_by": null, "weight": null, "est_delivery_date": + "2024-01-19T21:49:37Z", "shipment_id": "shp_8cf656042058439585a0c34d6b880666", + "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": + "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-19T21:49:37Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", + "message": "Shipping Label Created", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-20T10:26:37Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": + null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": + null}, "public_url": "https://track.easypost.com/djE6dHJrXzJkYzdjODM3NDgzYTQ5M2Q4OTcxMGVmNTJiNzJiOTg5"}, + "to_address": {"id": "adr_a395d089b71411eebaf53cecef1b359e", "object": "Address", + "created_at": "2024-01-19T21:49:36+00:00", "updated_at": "2024-01-19T21:49:36+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_a3989783b71411ee8c57ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:49:36+00:00", "updated_at": + "2024-01-19T21:49:36+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_a395d089b71411eebaf53cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:49:36+00:00", "updated_at": "2024-01-19T21:49:36+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_8cf656042058439585a0c34d6b880666", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '9480' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdad65aaee72e78bb51200117fa5 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.158209' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"refund": {"carrier": "USPS", "tracking_codes": "9405500207552010709065"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '75' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/refunds + response: + body: + string: '[{"id": "rfnd_507da5b6804042118ba6bb87e6950faa", "object": "Refund", + "created_at": "2024-01-19T21:49:38Z", "updated_at": "2024-01-19T21:49:38Z", + "tracking_code": "9405500207552010709065", "confirmation_number": null, "status": + "submitted", "carrier": "USPS", "shipment_id": "shp_8cf656042058439585a0c34d6b880666"}]' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '297' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdae65aaee72e78bb51300117fdd + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.071590' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:58:56Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010711501", "updated_at": "2024-01-19T21:58:57Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_1239c4bc7dff42fab6ec4b1404ad4731", "object": "CustomsInfo", "created_at": + "2024-01-19T21:58:56Z", "updated_at": "2024-01-19T21:58:56Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_1c31543ecba241ddb9c33c09ddb29c33", + "object": "CustomsItem", "created_at": "2024-01-19T21:58:56Z", "updated_at": + "2024-01-19T21:58:56Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_f0f3b749b71511eeabfdac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:58:55+00:00", "updated_at": + "2024-01-19T21:58:55+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_f381e66b0eee46ab9bf7bd08f94a48e2", + "object": "Parcel", "created_at": "2024-01-19T21:58:55Z", "updated_at": "2024-01-19T21:58:55Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_0d08e6a000a04e8ab8a5534500e0b615", "created_at": "2024-01-19T21:58:56Z", + "updated_at": "2024-01-19T21:58:56Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:58:56Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e87584f1d3b2cd42139b5944468b3e50e8.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_d410cbeeab154831a9d4a81a66f67ec0", "object": + "Rate", "created_at": "2024-01-19T21:58:56Z", "updated_at": "2024-01-19T21:58:56Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_a814f3ec6dd749829ce9cf20831dd346", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_48b598d65839469e9c658776642358d1", + "object": "Rate", "created_at": "2024-01-19T21:58:56Z", "updated_at": "2024-01-19T21:58:56Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_a814f3ec6dd749829ce9cf20831dd346", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_a811d8b5379343919cca455ac23d37af", + "object": "Rate", "created_at": "2024-01-19T21:58:56Z", "updated_at": "2024-01-19T21:58:56Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_a814f3ec6dd749829ce9cf20831dd346", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_7e6ef27360f44cfa81be09f6231bec6d", + "object": "Rate", "created_at": "2024-01-19T21:58:56Z", "updated_at": "2024-01-19T21:58:56Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_a814f3ec6dd749829ce9cf20831dd346", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_ed074d11e5c5465fa8bc9b6320db7d24", "object": "Rate", "created_at": + "2024-01-19T21:58:56Z", "updated_at": "2024-01-19T21:58:56Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_a814f3ec6dd749829ce9cf20831dd346", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_48b598d65839469e9c658776642358d1", + "object": "Rate", "created_at": "2024-01-19T21:58:56Z", "updated_at": "2024-01-19T21:58:56Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_a814f3ec6dd749829ce9cf20831dd346", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_a2cb3f4e75c54263a60212b657a93d87", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711501", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:58:57Z", + "updated_at": "2024-01-19T21:58:57Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_a814f3ec6dd749829ce9cf20831dd346", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrX2EyY2IzZjRlNzVjNTQyNjNhNjAyMTJiNjU3YTkzZDg3"}, + "to_address": {"id": "adr_f0f11174b71511eebc94ac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T21:58:55+00:00", "updated_at": "2024-01-19T21:58:56+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_f0f3b749b71511eeabfdac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:58:55+00:00", "updated_at": + "2024-01-19T21:58:55+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_f0f11174b71511eebc94ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:58:55+00:00", "updated_at": "2024-01-19T21:58:56+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_a814f3ec6dd749829ce9cf20831dd346", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_a814f3ec6dd749829ce9cf20831dd346 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf09fe798bf9e000f8165 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.193989' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/shipments/shp_a814f3ec6dd749829ce9cf20831dd346 + response: + body: + string: '{"created_at": "2024-01-19T21:58:56Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010711501", "updated_at": "2024-01-19T21:58:57Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_1239c4bc7dff42fab6ec4b1404ad4731", "object": "CustomsInfo", "created_at": + "2024-01-19T21:58:56Z", "updated_at": "2024-01-19T21:58:56Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_1c31543ecba241ddb9c33c09ddb29c33", + "object": "CustomsItem", "created_at": "2024-01-19T21:58:56Z", "updated_at": + "2024-01-19T21:58:56Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_f0f3b749b71511eeabfdac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:58:55+00:00", "updated_at": + "2024-01-19T21:58:55+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_f381e66b0eee46ab9bf7bd08f94a48e2", + "object": "Parcel", "created_at": "2024-01-19T21:58:55Z", "updated_at": "2024-01-19T21:58:55Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_0d08e6a000a04e8ab8a5534500e0b615", "created_at": "2024-01-19T21:58:56Z", + "updated_at": "2024-01-19T21:58:56Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:58:56Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e87584f1d3b2cd42139b5944468b3e50e8.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_d410cbeeab154831a9d4a81a66f67ec0", "object": + "Rate", "created_at": "2024-01-19T21:58:56Z", "updated_at": "2024-01-19T21:58:56Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_a814f3ec6dd749829ce9cf20831dd346", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_48b598d65839469e9c658776642358d1", + "object": "Rate", "created_at": "2024-01-19T21:58:56Z", "updated_at": "2024-01-19T21:58:56Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_a814f3ec6dd749829ce9cf20831dd346", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_a811d8b5379343919cca455ac23d37af", + "object": "Rate", "created_at": "2024-01-19T21:58:56Z", "updated_at": "2024-01-19T21:58:56Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_a814f3ec6dd749829ce9cf20831dd346", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_7e6ef27360f44cfa81be09f6231bec6d", + "object": "Rate", "created_at": "2024-01-19T21:58:56Z", "updated_at": "2024-01-19T21:58:56Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_a814f3ec6dd749829ce9cf20831dd346", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_ed074d11e5c5465fa8bc9b6320db7d24", "object": "Rate", "created_at": + "2024-01-19T21:58:56Z", "updated_at": "2024-01-19T21:58:56Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_a814f3ec6dd749829ce9cf20831dd346", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_48b598d65839469e9c658776642358d1", + "object": "Rate", "created_at": "2024-01-19T21:58:56Z", "updated_at": "2024-01-19T21:58:56Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_a814f3ec6dd749829ce9cf20831dd346", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_a2cb3f4e75c54263a60212b657a93d87", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711501", + "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:58:57Z", + "updated_at": "2024-01-19T21:58:57Z", "signed_by": null, "weight": null, "est_delivery_date": + "2024-01-19T21:58:57Z", "shipment_id": "shp_a814f3ec6dd749829ce9cf20831dd346", + "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": + "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-19T21:58:57Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", + "message": "Shipping Label Created", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-20T10:35:57Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": + null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": + null}, "public_url": "https://track.easypost.com/djE6dHJrX2EyY2IzZjRlNzVjNTQyNjNhNjAyMTJiNjU3YTkzZDg3"}, + "to_address": {"id": "adr_f0f11174b71511eebc94ac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T21:58:55+00:00", "updated_at": "2024-01-19T21:58:56+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_f0f3b749b71511eeabfdac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:58:55+00:00", "updated_at": + "2024-01-19T21:58:55+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_f0f11174b71511eebc94ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:58:55+00:00", "updated_at": "2024-01-19T21:58:56+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_a814f3ec6dd749829ce9cf20831dd346", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '9480' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf0a1e798bf9f000f822d + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.152023' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"refund": {"carrier": "USPS", "tracking_codes": "9405500207552010711501"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '75' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/refunds + response: + body: + string: '[{"id": "rfnd_7d14232dc8624da9819583fbe53b74e9", "object": "Refund", + "created_at": "2024-01-19T21:58:57Z", "updated_at": "2024-01-19T21:58:57Z", + "tracking_code": "9405500207552010711501", "confirmation_number": null, "status": + "submitted", "carrier": "USPS", "shipment_id": "shp_a814f3ec6dd749829ce9cf20831dd346"}]' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '297' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf0a1e798bfb7000f8255 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.073842' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T22:01:50Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010711945", "updated_at": "2024-01-19T22:01:51Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_349904b8d2a945d2979998387daf6559", "object": "CustomsInfo", "created_at": + "2024-01-19T22:01:50Z", "updated_at": "2024-01-19T22:01:50Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_ecc0402df06b4da3a92ef0fd9edb2b79", + "object": "CustomsItem", "created_at": "2024-01-19T22:01:50Z", "updated_at": + "2024-01-19T22:01:50Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_58fd98e6b71611ee8f2bac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T22:01:50+00:00", "updated_at": + "2024-01-19T22:01:50+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_3b29518b5c984169b48e1691676855a3", + "object": "Parcel", "created_at": "2024-01-19T22:01:50Z", "updated_at": "2024-01-19T22:01:50Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_888c7a6beb0d4b399c5040caa722af09", "created_at": "2024-01-19T22:01:51Z", + "updated_at": "2024-01-19T22:01:51Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T22:01:51Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e88135cb009f2543b4b0931c3d591a468e.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_b09d8df4c23842a48794f537e3919d41", "object": + "Rate", "created_at": "2024-01-19T22:01:50Z", "updated_at": "2024-01-19T22:01:50Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_029bd18cc53a43d58ab17051e2eacb68", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_da85a63191354d908072ad50d44aeaaf", + "object": "Rate", "created_at": "2024-01-19T22:01:50Z", "updated_at": "2024-01-19T22:01:50Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_029bd18cc53a43d58ab17051e2eacb68", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_3b239271276548298ff78f1022101f8c", + "object": "Rate", "created_at": "2024-01-19T22:01:50Z", "updated_at": "2024-01-19T22:01:50Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_029bd18cc53a43d58ab17051e2eacb68", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_29d559470c2a4cce94de1dfcf0367255", + "object": "Rate", "created_at": "2024-01-19T22:01:50Z", "updated_at": "2024-01-19T22:01:50Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_029bd18cc53a43d58ab17051e2eacb68", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_2b22df50c26d43ff80d4265e6fc0ed08", "object": "Rate", "created_at": + "2024-01-19T22:01:50Z", "updated_at": "2024-01-19T22:01:50Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_029bd18cc53a43d58ab17051e2eacb68", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_da85a63191354d908072ad50d44aeaaf", + "object": "Rate", "created_at": "2024-01-19T22:01:51Z", "updated_at": "2024-01-19T22:01:51Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_029bd18cc53a43d58ab17051e2eacb68", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_198123dce113401c83256d1dc6e333dd", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711945", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:01:51Z", + "updated_at": "2024-01-19T22:01:51Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_029bd18cc53a43d58ab17051e2eacb68", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzE5ODEyM2RjZTExMzQwMWM4MzI1NmQxZGM2ZTMzM2Rk"}, + "to_address": {"id": "adr_58fa2bb3b71611ee8f28ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T22:01:50+00:00", "updated_at": "2024-01-19T22:01:50+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_58fd98e6b71611ee8f2bac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T22:01:50+00:00", "updated_at": + "2024-01-19T22:01:50+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_58fa2bb3b71611ee8f28ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T22:01:50+00:00", "updated_at": "2024-01-19T22:01:50+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_029bd18cc53a43d58ab17051e2eacb68", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_029bd18cc53a43d58ab17051e2eacb68 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaf14ee798c7ff00101b12 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.083163' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/shipments/shp_029bd18cc53a43d58ab17051e2eacb68 + response: + body: + string: '{"created_at": "2024-01-19T22:01:50Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010711945", "updated_at": "2024-01-19T22:01:51Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_349904b8d2a945d2979998387daf6559", "object": "CustomsInfo", "created_at": + "2024-01-19T22:01:50Z", "updated_at": "2024-01-19T22:01:50Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_ecc0402df06b4da3a92ef0fd9edb2b79", + "object": "CustomsItem", "created_at": "2024-01-19T22:01:50Z", "updated_at": + "2024-01-19T22:01:50Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_58fd98e6b71611ee8f2bac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T22:01:50+00:00", "updated_at": + "2024-01-19T22:01:50+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_3b29518b5c984169b48e1691676855a3", + "object": "Parcel", "created_at": "2024-01-19T22:01:50Z", "updated_at": "2024-01-19T22:01:50Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_888c7a6beb0d4b399c5040caa722af09", "created_at": "2024-01-19T22:01:51Z", + "updated_at": "2024-01-19T22:01:51Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T22:01:51Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e88135cb009f2543b4b0931c3d591a468e.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_b09d8df4c23842a48794f537e3919d41", "object": + "Rate", "created_at": "2024-01-19T22:01:50Z", "updated_at": "2024-01-19T22:01:50Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_029bd18cc53a43d58ab17051e2eacb68", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_da85a63191354d908072ad50d44aeaaf", + "object": "Rate", "created_at": "2024-01-19T22:01:50Z", "updated_at": "2024-01-19T22:01:50Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_029bd18cc53a43d58ab17051e2eacb68", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_3b239271276548298ff78f1022101f8c", + "object": "Rate", "created_at": "2024-01-19T22:01:50Z", "updated_at": "2024-01-19T22:01:50Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_029bd18cc53a43d58ab17051e2eacb68", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_29d559470c2a4cce94de1dfcf0367255", + "object": "Rate", "created_at": "2024-01-19T22:01:50Z", "updated_at": "2024-01-19T22:01:50Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_029bd18cc53a43d58ab17051e2eacb68", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_2b22df50c26d43ff80d4265e6fc0ed08", "object": "Rate", "created_at": + "2024-01-19T22:01:50Z", "updated_at": "2024-01-19T22:01:50Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_029bd18cc53a43d58ab17051e2eacb68", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_da85a63191354d908072ad50d44aeaaf", + "object": "Rate", "created_at": "2024-01-19T22:01:51Z", "updated_at": "2024-01-19T22:01:51Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_029bd18cc53a43d58ab17051e2eacb68", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_198123dce113401c83256d1dc6e333dd", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711945", + "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T22:01:51Z", + "updated_at": "2024-01-19T22:01:51Z", "signed_by": null, "weight": null, "est_delivery_date": + "2024-01-19T22:01:51Z", "shipment_id": "shp_029bd18cc53a43d58ab17051e2eacb68", + "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": + "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-19T22:01:51Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", + "message": "Shipping Label Created", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-20T10:38:51Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": + null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": + null}, "public_url": "https://track.easypost.com/djE6dHJrXzE5ODEyM2RjZTExMzQwMWM4MzI1NmQxZGM2ZTMzM2Rk"}, + "to_address": {"id": "adr_58fa2bb3b71611ee8f28ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T22:01:50+00:00", "updated_at": "2024-01-19T22:01:50+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_58fd98e6b71611ee8f2bac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T22:01:50+00:00", "updated_at": + "2024-01-19T22:01:50+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_58fa2bb3b71611ee8f28ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T22:01:50+00:00", "updated_at": "2024-01-19T22:01:50+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_029bd18cc53a43d58ab17051e2eacb68", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '9480' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf14fe798c80000101c08 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.143977' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"refund": {"carrier": "USPS", "tracking_codes": "9405500207552010711945"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '75' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/refunds + response: + body: + string: '[{"id": "rfnd_a48a7bb106d34bdd964e834280edac4a", "object": "Refund", + "created_at": "2024-01-19T22:01:52Z", "updated_at": "2024-01-19T22:01:52Z", + "tracking_code": "9405500207552010711945", "confirmation_number": null, "status": + "submitted", "carrier": "USPS", "shipment_id": "shp_029bd18cc53a43d58ab17051e2eacb68"}]' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '297' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf150e798c81800101c49 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.090947' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T22:05:37Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010712751", "updated_at": "2024-01-19T22:05:38Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_25dc6538dbe54cf58b018275b3f16b32", "object": "CustomsInfo", "created_at": + "2024-01-19T22:05:37Z", "updated_at": "2024-01-19T22:05:37Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_a07a1c427f5c4d038c0cd5c9b9e5953b", + "object": "CustomsItem", "created_at": "2024-01-19T22:05:37Z", "updated_at": + "2024-01-19T22:05:37Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_e0712be4b71611eeb987ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:05:37+00:00", "updated_at": + "2024-01-19T22:05:37+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_ac71c5950eec4f5aa6b5b828b2aa002c", + "object": "Parcel", "created_at": "2024-01-19T22:05:37Z", "updated_at": "2024-01-19T22:05:37Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_4797df8325f44e938f154c3a897c6e5a", "created_at": "2024-01-19T22:05:38Z", + "updated_at": "2024-01-19T22:05:38Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T22:05:38Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e84c37ee512ece499f88e4f2713a935dcb.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_46f3afdb0273419f893097d83690beca", "object": + "Rate", "created_at": "2024-01-19T22:05:37Z", "updated_at": "2024-01-19T22:05:37Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_82d6d2c4dc54475f909ac8080da5e80a", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_47165d2298104fb6a7c94cd3d50af344", + "object": "Rate", "created_at": "2024-01-19T22:05:37Z", "updated_at": "2024-01-19T22:05:37Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_82d6d2c4dc54475f909ac8080da5e80a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_67b1d29cfc5c46dc8ee4f70963b594d8", "object": "Rate", "created_at": + "2024-01-19T22:05:37Z", "updated_at": "2024-01-19T22:05:37Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_82d6d2c4dc54475f909ac8080da5e80a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_5e200cdb32f041c1b55b49e16d68b341", "object": "Rate", "created_at": + "2024-01-19T22:05:37Z", "updated_at": "2024-01-19T22:05:37Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_82d6d2c4dc54475f909ac8080da5e80a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_5db41dba1baf4538bba32d71ad3387a3", "object": "Rate", "created_at": + "2024-01-19T22:05:37Z", "updated_at": "2024-01-19T22:05:37Z", "mode": "test", + "service": "Priority", "carrier": "USPS", "rate": "7.99", "currency": "USD", + "retail_rate": "14.05", "retail_currency": "USD", "list_rate": "10.27", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": + "shp_82d6d2c4dc54475f909ac8080da5e80a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_5db41dba1baf4538bba32d71ad3387a3", + "object": "Rate", "created_at": "2024-01-19T22:05:38Z", "updated_at": "2024-01-19T22:05:38Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_82d6d2c4dc54475f909ac8080da5e80a", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_dd84ff1adca8474192edd2b66db7917a", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010712751", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:05:38Z", + "updated_at": "2024-01-19T22:05:38Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_82d6d2c4dc54475f909ac8080da5e80a", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrX2RkODRmZjFhZGNhODQ3NDE5MmVkZDJiNjZkYjc5MTdh"}, + "to_address": {"id": "adr_e06e4b60b71611eeb984ac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T22:05:37+00:00", "updated_at": "2024-01-19T22:05:38+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_e0712be4b71611eeb987ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:05:37+00:00", "updated_at": + "2024-01-19T22:05:37+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_e06e4b60b71611eeb984ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T22:05:37+00:00", "updated_at": "2024-01-19T22:05:38+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_82d6d2c4dc54475f909ac8080da5e80a", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_82d6d2c4dc54475f909ac8080da5e80a + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf231e798d0de0010c1dc + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.030482' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/shipments/shp_82d6d2c4dc54475f909ac8080da5e80a + response: + body: + string: '{"created_at": "2024-01-19T22:05:37Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010712751", "updated_at": "2024-01-19T22:05:38Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_25dc6538dbe54cf58b018275b3f16b32", "object": "CustomsInfo", "created_at": + "2024-01-19T22:05:37Z", "updated_at": "2024-01-19T22:05:37Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_a07a1c427f5c4d038c0cd5c9b9e5953b", + "object": "CustomsItem", "created_at": "2024-01-19T22:05:37Z", "updated_at": + "2024-01-19T22:05:37Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_e0712be4b71611eeb987ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:05:37+00:00", "updated_at": + "2024-01-19T22:05:37+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_ac71c5950eec4f5aa6b5b828b2aa002c", + "object": "Parcel", "created_at": "2024-01-19T22:05:37Z", "updated_at": "2024-01-19T22:05:37Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_4797df8325f44e938f154c3a897c6e5a", "created_at": "2024-01-19T22:05:38Z", + "updated_at": "2024-01-19T22:05:38Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T22:05:38Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e84c37ee512ece499f88e4f2713a935dcb.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_46f3afdb0273419f893097d83690beca", "object": + "Rate", "created_at": "2024-01-19T22:05:37Z", "updated_at": "2024-01-19T22:05:37Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_82d6d2c4dc54475f909ac8080da5e80a", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_47165d2298104fb6a7c94cd3d50af344", + "object": "Rate", "created_at": "2024-01-19T22:05:37Z", "updated_at": "2024-01-19T22:05:37Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_82d6d2c4dc54475f909ac8080da5e80a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_67b1d29cfc5c46dc8ee4f70963b594d8", "object": "Rate", "created_at": + "2024-01-19T22:05:37Z", "updated_at": "2024-01-19T22:05:37Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_82d6d2c4dc54475f909ac8080da5e80a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_5e200cdb32f041c1b55b49e16d68b341", "object": "Rate", "created_at": + "2024-01-19T22:05:37Z", "updated_at": "2024-01-19T22:05:37Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_82d6d2c4dc54475f909ac8080da5e80a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_5db41dba1baf4538bba32d71ad3387a3", "object": "Rate", "created_at": + "2024-01-19T22:05:37Z", "updated_at": "2024-01-19T22:05:37Z", "mode": "test", + "service": "Priority", "carrier": "USPS", "rate": "7.99", "currency": "USD", + "retail_rate": "14.05", "retail_currency": "USD", "list_rate": "10.27", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": + "shp_82d6d2c4dc54475f909ac8080da5e80a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_5db41dba1baf4538bba32d71ad3387a3", + "object": "Rate", "created_at": "2024-01-19T22:05:38Z", "updated_at": "2024-01-19T22:05:38Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_82d6d2c4dc54475f909ac8080da5e80a", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_dd84ff1adca8474192edd2b66db7917a", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010712751", + "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T22:05:38Z", + "updated_at": "2024-01-19T22:05:38Z", "signed_by": null, "weight": null, "est_delivery_date": + "2024-01-19T22:05:38Z", "shipment_id": "shp_82d6d2c4dc54475f909ac8080da5e80a", + "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": + "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-19T22:05:38Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", + "message": "Shipping Label Created", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-20T10:42:38Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": + null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": + null}, "public_url": "https://track.easypost.com/djE6dHJrX2RkODRmZjFhZGNhODQ3NDE5MmVkZDJiNjZkYjc5MTdh"}, + "to_address": {"id": "adr_e06e4b60b71611eeb984ac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T22:05:37+00:00", "updated_at": "2024-01-19T22:05:38+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_e0712be4b71611eeb987ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:05:37+00:00", "updated_at": + "2024-01-19T22:05:37+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_e06e4b60b71611eeb984ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T22:05:37+00:00", "updated_at": "2024-01-19T22:05:38+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_82d6d2c4dc54475f909ac8080da5e80a", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '9480' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf232e798d0df0010c2c8 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.184464' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"refund": {"carrier": "USPS", "tracking_codes": "9405500207552010712751"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '75' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/refunds + response: + body: + string: '[{"id": "rfnd_c09e4177ad2145af988e4ebb667c3e61", "object": "Refund", + "created_at": "2024-01-19T22:05:39Z", "updated_at": "2024-01-19T22:05:39Z", + "tracking_code": "9405500207552010712751", "confirmation_number": null, "status": + "submitted", "carrier": "USPS", "shipment_id": "shp_82d6d2c4dc54475f909ac8080da5e80a"}]' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '297' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf233e798d0e00010c344 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.072909' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_refunds_list.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_refunds_list.yaml new file mode 100644 index 00000000..146af417 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_refunds_list.yaml @@ -0,0 +1,459 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/refunds?page_size=1 + response: + body: + string: '{"refunds": [{"id": "rfnd_bcb3fa1dfbfe4706bd524ee81fd249ab", "object": + "Refund", "created_at": "2024-01-19T21:41:55Z", "updated_at": "2024-01-19T21:41:55Z", + "tracking_code": "9405500207552010707757", "confirmation_number": null, "status": + "submitted", "carrier": "USPS", "shipment_id": "shp_31826ec4b32847c9943a27371cc43b28"}], + "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '325' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaeca3e78b9f26000d031c + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.065179' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/refunds?page_size=1 + response: + body: + string: '{"refunds": [{"id": "rfnd_bbd8f69447104430969831ef7b21d9fa", "object": + "Refund", "created_at": "2024-01-19T21:43:51Z", "updated_at": "2024-01-19T21:43:51Z", + "tracking_code": "9405500207552010708075", "confirmation_number": null, "status": + "submitted", "carrier": "USPS", "shipment_id": "shp_029ee40466a7479fab3f28976fda3322"}], + "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '325' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaed17e78ba765000d462e + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.033071' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/refunds?page_size=1 + response: + body: + string: '{"refunds": [{"id": "rfnd_a4a1a49fdcb34445b90ced53c8c38e0f", "object": + "Refund", "created_at": "2024-01-19T21:47:44Z", "updated_at": "2024-01-19T21:47:44Z", + "tracking_code": "9405500207552010708525", "confirmation_number": null, "status": + "submitted", "carrier": "USPS", "shipment_id": "shp_0a54634170f24d1cb2f7fd85b059af17"}], + "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '325' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdae65aaee00e78bafe800113e08 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.034338' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/refunds?page_size=1 + response: + body: + string: '{"refunds": [{"id": "rfnd_507da5b6804042118ba6bb87e6950faa", "object": + "Refund", "created_at": "2024-01-19T21:49:38Z", "updated_at": "2024-01-19T21:49:38Z", + "tracking_code": "9405500207552010709065", "confirmation_number": null, "status": + "submitted", "carrier": "USPS", "shipment_id": "shp_8cf656042058439585a0c34d6b880666"}], + "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '325' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdad65aaee72e78bb51400118014 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.041866' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/refunds?page_size=1 + response: + body: + string: '{"refunds": [{"id": "rfnd_7d14232dc8624da9819583fbe53b74e9", "object": + "Refund", "created_at": "2024-01-19T21:58:57Z", "updated_at": "2024-01-19T21:58:57Z", + "tracking_code": "9405500207552010711501", "confirmation_number": null, "status": + "submitted", "carrier": "USPS", "shipment_id": "shp_a814f3ec6dd749829ce9cf20831dd346"}], + "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '325' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaf0a2e798bfb8000f829a + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.038590' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/refunds?page_size=1 + response: + body: + string: '{"refunds": [{"id": "rfnd_a48a7bb106d34bdd964e834280edac4a", "object": + "Refund", "created_at": "2024-01-19T22:01:52Z", "updated_at": "2024-01-19T22:01:52Z", + "tracking_code": "9405500207552010711945", "confirmation_number": null, "status": + "submitted", "carrier": "USPS", "shipment_id": "shp_029bd18cc53a43d58ab17051e2eacb68"}], + "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '325' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf150e798c81900101cea + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.035921' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/refunds?page_size=1 + response: + body: + string: '{"refunds": [{"id": "rfnd_c09e4177ad2145af988e4ebb667c3e61", "object": + "Refund", "created_at": "2024-01-19T22:05:39Z", "updated_at": "2024-01-19T22:05:39Z", + "tracking_code": "9405500207552010712751", "confirmation_number": null, "status": + "submitted", "carrier": "USPS", "shipment_id": "shp_82d6d2c4dc54475f909ac8080da5e80a"}], + "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '325' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaf234e798d0e10010c3ae + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.053188' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_refunds_retrieve.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_refunds_retrieve.yaml new file mode 100644 index 00000000..c815eb58 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_refunds_retrieve.yaml @@ -0,0 +1,913 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/refunds?page_size=1 + response: + body: + string: '{"refunds": [{"id": "rfnd_bcb3fa1dfbfe4706bd524ee81fd249ab", "object": + "Refund", "created_at": "2024-01-19T21:41:55Z", "updated_at": "2024-01-19T21:41:55Z", + "tracking_code": "9405500207552010707757", "confirmation_number": null, "status": + "submitted", "carrier": "USPS", "shipment_id": "shp_31826ec4b32847c9943a27371cc43b28"}], + "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '325' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaeca3e78b9f27000d0346 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.046971' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/refunds/rfnd_bcb3fa1dfbfe4706bd524ee81fd249ab + response: + body: + string: '{"id": "rfnd_bcb3fa1dfbfe4706bd524ee81fd249ab", "object": "Refund", + "created_at": "2024-01-19T21:41:55Z", "updated_at": "2024-01-19T21:41:55Z", + "tracking_code": "9405500207552010707757", "confirmation_number": null, "status": + "submitted", "carrier": "USPS", "shipment_id": "shp_31826ec4b32847c9943a27371cc43b28"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '295' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaeca4e78b9f28000d038f + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.035147' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/refunds?page_size=1 + response: + body: + string: '{"refunds": [{"id": "rfnd_bbd8f69447104430969831ef7b21d9fa", "object": + "Refund", "created_at": "2024-01-19T21:43:51Z", "updated_at": "2024-01-19T21:43:51Z", + "tracking_code": "9405500207552010708075", "confirmation_number": null, "status": + "submitted", "carrier": "USPS", "shipment_id": "shp_029ee40466a7479fab3f28976fda3322"}], + "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '325' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaed17e78ba766000d4659 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.037495' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/refunds/rfnd_bbd8f69447104430969831ef7b21d9fa + response: + body: + string: '{"id": "rfnd_bbd8f69447104430969831ef7b21d9fa", "object": "Refund", + "created_at": "2024-01-19T21:43:51Z", "updated_at": "2024-01-19T21:43:51Z", + "tracking_code": "9405500207552010708075", "confirmation_number": null, "status": + "submitted", "carrier": "USPS", "shipment_id": "shp_029ee40466a7479fab3f28976fda3322"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '295' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaed17e78ba767000d4681 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.139280' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/refunds?page_size=1 + response: + body: + string: '{"refunds": [{"id": "rfnd_a4a1a49fdcb34445b90ced53c8c38e0f", "object": + "Refund", "created_at": "2024-01-19T21:47:44Z", "updated_at": "2024-01-19T21:47:44Z", + "tracking_code": "9405500207552010708525", "confirmation_number": null, "status": + "submitted", "carrier": "USPS", "shipment_id": "shp_0a54634170f24d1cb2f7fd85b059af17"}], + "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '325' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda765aaee00e78bafe900113e36 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.041251' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/refunds/rfnd_a4a1a49fdcb34445b90ced53c8c38e0f + response: + body: + string: '{"id": "rfnd_a4a1a49fdcb34445b90ced53c8c38e0f", "object": "Refund", + "created_at": "2024-01-19T21:47:44Z", "updated_at": "2024-01-19T21:47:44Z", + "tracking_code": "9405500207552010708525", "confirmation_number": null, "status": + "submitted", "carrier": "USPS", "shipment_id": "shp_0a54634170f24d1cb2f7fd85b059af17"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '295' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdae65aaee00e78bafea00113e58 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.033944' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/refunds?page_size=1 + response: + body: + string: '{"refunds": [{"id": "rfnd_507da5b6804042118ba6bb87e6950faa", "object": + "Refund", "created_at": "2024-01-19T21:49:38Z", "updated_at": "2024-01-19T21:49:38Z", + "tracking_code": "9405500207552010709065", "confirmation_number": null, "status": + "submitted", "carrier": "USPS", "shipment_id": "shp_8cf656042058439585a0c34d6b880666"}], + "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '325' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdae65aaee73e78bb52c00118033 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.038461' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/refunds/rfnd_507da5b6804042118ba6bb87e6950faa + response: + body: + string: '{"id": "rfnd_507da5b6804042118ba6bb87e6950faa", "object": "Refund", + "created_at": "2024-01-19T21:49:38Z", "updated_at": "2024-01-19T21:49:38Z", + "tracking_code": "9405500207552010709065", "confirmation_number": null, "status": + "submitted", "carrier": "USPS", "shipment_id": "shp_8cf656042058439585a0c34d6b880666"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '295' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdae65aaee73e78bb52d0011805a + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.033030' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/refunds?page_size=1 + response: + body: + string: '{"refunds": [{"id": "rfnd_7d14232dc8624da9819583fbe53b74e9", "object": + "Refund", "created_at": "2024-01-19T21:58:57Z", "updated_at": "2024-01-19T21:58:57Z", + "tracking_code": "9405500207552010711501", "confirmation_number": null, "status": + "submitted", "carrier": "USPS", "shipment_id": "shp_a814f3ec6dd749829ce9cf20831dd346"}], + "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '325' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaf0a2e798bfb9000f82c3 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.038101' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/refunds/rfnd_7d14232dc8624da9819583fbe53b74e9 + response: + body: + string: '{"id": "rfnd_7d14232dc8624da9819583fbe53b74e9", "object": "Refund", + "created_at": "2024-01-19T21:58:57Z", "updated_at": "2024-01-19T21:58:57Z", + "tracking_code": "9405500207552010711501", "confirmation_number": null, "status": + "submitted", "carrier": "USPS", "shipment_id": "shp_a814f3ec6dd749829ce9cf20831dd346"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '295' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf0a2e798bfba000f82eb + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.035689' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/refunds?page_size=1 + response: + body: + string: '{"refunds": [{"id": "rfnd_a48a7bb106d34bdd964e834280edac4a", "object": + "Refund", "created_at": "2024-01-19T22:01:52Z", "updated_at": "2024-01-19T22:01:52Z", + "tracking_code": "9405500207552010711945", "confirmation_number": null, "status": + "submitted", "carrier": "USPS", "shipment_id": "shp_029bd18cc53a43d58ab17051e2eacb68"}], + "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '325' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf151e798c81a00101d30 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.037573' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/refunds/rfnd_a48a7bb106d34bdd964e834280edac4a + response: + body: + string: '{"id": "rfnd_a48a7bb106d34bdd964e834280edac4a", "object": "Refund", + "created_at": "2024-01-19T22:01:52Z", "updated_at": "2024-01-19T22:01:52Z", + "tracking_code": "9405500207552010711945", "confirmation_number": null, "status": + "submitted", "carrier": "USPS", "shipment_id": "shp_029bd18cc53a43d58ab17051e2eacb68"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '295' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf151e798c81d00101d62 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.033564' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/refunds?page_size=1 + response: + body: + string: '{"refunds": [{"id": "rfnd_c09e4177ad2145af988e4ebb667c3e61", "object": + "Refund", "created_at": "2024-01-19T22:05:39Z", "updated_at": "2024-01-19T22:05:39Z", + "tracking_code": "9405500207552010712751", "confirmation_number": null, "status": + "submitted", "carrier": "USPS", "shipment_id": "shp_82d6d2c4dc54475f909ac8080da5e80a"}], + "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '325' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaf234e798d0e20010c3e7 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.040491' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/refunds/rfnd_c09e4177ad2145af988e4ebb667c3e61 + response: + body: + string: '{"id": "rfnd_c09e4177ad2145af988e4ebb667c3e61", "object": "Refund", + "created_at": "2024-01-19T22:05:39Z", "updated_at": "2024-01-19T22:05:39Z", + "tracking_code": "9405500207552010712751", "confirmation_number": null, "status": + "submitted", "carrier": "USPS", "shipment_id": "shp_82d6d2c4dc54475f909ac8080da5e80a"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '295' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf235e798d0e30010c457 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.037898' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_reports_create.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_reports_create.yaml new file mode 100644 index 00000000..eee81927 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_reports_create.yaml @@ -0,0 +1,478 @@ +interactions: +- request: + body: '{"start_date": "2022-10-01", "end_date": "2022-10-01"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '54' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/reports/shipment + response: + body: + string: '{"id": "shprep_1a2add2499724affb3392a13f2ccb9f7", "object": "ShipmentReport", + "created_at": "2024-01-19T21:41:56Z", "updated_at": "2024-01-19T21:41:56Z", + "start_date": "2022-10-01", "end_date": "2022-10-01", "mode": "test", "status": + "new", "url": null, "url_expires_at": null, "include_children": false}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '283' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaeca4e78b9f29000d03b7 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.056676' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"start_date": "2022-10-01", "end_date": "2022-10-01"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '54' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/reports/shipment + response: + body: + string: '{"id": "shprep_36360f6f19c6426784a3cc6a47b04fa6", "object": "ShipmentReport", + "created_at": "2024-01-19T21:43:52Z", "updated_at": "2024-01-19T21:43:52Z", + "start_date": "2022-10-01", "end_date": "2022-10-01", "mode": "test", "status": + "new", "url": null, "url_expires_at": null, "include_children": false}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '283' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaed18e78ba768000d46bf + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.091424' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"start_date": "2022-10-01", "end_date": "2022-10-01"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '54' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/reports/shipment + response: + body: + string: '{"id": "shprep_7bed1450949648f1b730d95ab6ee714a", "object": "ShipmentReport", + "created_at": "2024-01-19T21:47:45Z", "updated_at": "2024-01-19T21:47:45Z", + "start_date": "2022-10-01", "end_date": "2022-10-01", "mode": "test", "status": + "new", "url": null, "url_expires_at": null, "include_children": false}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '283' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdab65aaee01e78bafeb00113e96 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.059476' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"start_date": "2022-10-01", "end_date": "2022-10-01"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '54' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/reports/shipment + response: + body: + string: '{"id": "shprep_1de3b15b0f5647899dc86199e781e800", "object": "ShipmentReport", + "created_at": "2024-01-19T21:49:39Z", "updated_at": "2024-01-19T21:49:39Z", + "start_date": "2022-10-01", "end_date": "2022-10-01", "mode": "test", "status": + "new", "url": null, "url_expires_at": null, "include_children": false}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '283' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdac65aaee73e78bb52e0011807f + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.060342' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"start_date": "2022-10-01", "end_date": "2022-10-01"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '54' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/reports/shipment + response: + body: + string: '{"id": "shprep_e6f030d77dec4a3ea914844646d90498", "object": "ShipmentReport", + "created_at": "2024-01-19T21:58:59Z", "updated_at": "2024-01-19T21:58:59Z", + "start_date": "2022-10-01", "end_date": "2022-10-01", "mode": "test", "status": + "new", "url": null, "url_expires_at": null, "include_children": false}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '283' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaf0a3e798bfbb000f8319 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.050357' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"start_date": "2022-10-01", "end_date": "2022-10-01"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '54' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/reports/shipment + response: + body: + string: '{"id": "shprep_e9e2df2a35564753b10fabe53ee264e0", "object": "ShipmentReport", + "created_at": "2024-01-19T22:01:53Z", "updated_at": "2024-01-19T22:01:53Z", + "start_date": "2022-10-01", "end_date": "2022-10-01", "mode": "test", "status": + "new", "url": null, "url_expires_at": null, "include_children": false}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '283' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf151e798c82000101dad + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.102658' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"start_date": "2022-10-01", "end_date": "2022-10-01"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '54' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/reports/shipment + response: + body: + string: '{"id": "shprep_7a6356a335b149fd976e4ddc64d56fe1", "object": "ShipmentReport", + "created_at": "2024-01-19T22:05:41Z", "updated_at": "2024-01-19T22:05:41Z", + "start_date": "2022-10-01", "end_date": "2022-10-01", "mode": "test", "status": + "new", "url": null, "url_expires_at": null, "include_children": false}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '283' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf235e798d0e40010c4ab + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.058384' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_reports_list.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_reports_list.yaml new file mode 100644 index 00000000..7bc15c08 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_reports_list.yaml @@ -0,0 +1,459 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/reports/shipment?page_size=1 + response: + body: + string: '{"reports": [{"id": "shprep_b849ea9c3a0d4f248255f0dca4f28040", "object": + "ShipmentReport", "created_at": "2024-01-19T21:41:56Z", "updated_at": "2024-01-19T21:41:57Z", + "start_date": "2022-10-01", "end_date": "2022-10-01", "mode": "test", "status": + "empty", "url": null, "url_expires_at": null, "include_children": false}], + "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '315' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaeca5e78b9f43000d043d + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.074613' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/reports/shipment?page_size=1 + response: + body: + string: '{"reports": [{"id": "shprep_3c985eaefaf84b918e3a7cd13c42b4a3", "object": + "ShipmentReport", "created_at": "2024-01-19T21:43:52Z", "updated_at": "2024-01-19T21:43:52Z", + "start_date": "2022-10-01", "end_date": "2022-10-01", "mode": "test", "status": + "empty", "url": null, "url_expires_at": null, "include_children": false}], + "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '315' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaed19e78ba782000d4787 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.047569' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/reports/shipment?page_size=1 + response: + body: + string: '{"reports": [{"id": "shprep_089003c0042c4807bef27a56e219f651", "object": + "ShipmentReport", "created_at": "2024-01-19T21:47:45Z", "updated_at": "2024-01-19T21:47:45Z", + "start_date": "2022-10-01", "end_date": "2022-10-01", "mode": "test", "status": + "empty", "url": null, "url_expires_at": null, "include_children": false}], + "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '315' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda765aaee02e78bb00500113f1e + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.046916' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/reports/shipment?page_size=1 + response: + body: + string: '{"reports": [{"id": "shprep_946144479ef8495faa2baf8d741daace", "object": + "ShipmentReport", "created_at": "2024-01-19T21:49:40Z", "updated_at": "2024-01-19T21:49:40Z", + "start_date": "2022-10-01", "end_date": "2022-10-01", "mode": "test", "status": + "empty", "url": null, "url_expires_at": null, "include_children": false}], + "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '315' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdad65aaee74e78bb531001180f6 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.050913' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/reports/shipment?page_size=1 + response: + body: + string: '{"reports": [{"id": "shprep_dd35c5f7464247ecb38ef96430402e28", "object": + "ShipmentReport", "created_at": "2024-01-19T21:58:59Z", "updated_at": "2024-01-19T21:58:59Z", + "start_date": "2022-10-01", "end_date": "2022-10-01", "mode": "test", "status": + "empty", "url": null, "url_expires_at": null, "include_children": false}], + "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '315' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaf0a4e798bfbe000f83bc + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.035849' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/reports/shipment?page_size=1 + response: + body: + string: '{"reports": [{"id": "shprep_7fe6a33016a849999785f97043857fb4", "object": + "ShipmentReport", "created_at": "2024-01-19T22:01:54Z", "updated_at": "2024-01-19T22:01:54Z", + "start_date": "2022-10-01", "end_date": "2022-10-01", "mode": "test", "status": + "empty", "url": null, "url_expires_at": null, "include_children": false}], + "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '315' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaf152e798c83a00101e54 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.034232' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/reports/shipment?page_size=1 + response: + body: + string: '{"reports": [{"id": "shprep_2a996421686a46ad9dce115eed3edc28", "object": + "ShipmentReport", "created_at": "2024-01-19T22:05:41Z", "updated_at": "2024-01-19T22:05:41Z", + "start_date": "2022-10-01", "end_date": "2022-10-01", "mode": "test", "status": + "empty", "url": null, "url_expires_at": null, "include_children": false}], + "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '315' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf236e798d0fe0010c58f + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.036454' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_reports_retrieve.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_reports_retrieve.yaml new file mode 100644 index 00000000..95b82673 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_reports_retrieve.yaml @@ -0,0 +1,930 @@ +interactions: +- request: + body: '{"start_date": "2022-10-01", "end_date": "2022-10-01"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '54' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/reports/shipment + response: + body: + string: '{"id": "shprep_b849ea9c3a0d4f248255f0dca4f28040", "object": "ShipmentReport", + "created_at": "2024-01-19T21:41:56Z", "updated_at": "2024-01-19T21:41:56Z", + "start_date": "2022-10-01", "end_date": "2022-10-01", "mode": "test", "status": + "new", "url": null, "url_expires_at": null, "include_children": false}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '283' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaeca4e78b9f2a000d03ef + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.056613' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/reports/shprep_b849ea9c3a0d4f248255f0dca4f28040 + response: + body: + string: '{"id": "shprep_b849ea9c3a0d4f248255f0dca4f28040", "object": "ShipmentReport", + "created_at": "2024-01-19T21:41:56Z", "updated_at": "2024-01-19T21:41:56Z", + "start_date": "2022-10-01", "end_date": "2022-10-01", "mode": "test", "status": + "new", "url": null, "url_expires_at": null, "include_children": false}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '283' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaeca5e78b9f42000d0416 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.044023' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"start_date": "2022-10-01", "end_date": "2022-10-01"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '54' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/reports/shipment + response: + body: + string: '{"id": "shprep_3c985eaefaf84b918e3a7cd13c42b4a3", "object": "ShipmentReport", + "created_at": "2024-01-19T21:43:52Z", "updated_at": "2024-01-19T21:43:52Z", + "start_date": "2022-10-01", "end_date": "2022-10-01", "mode": "test", "status": + "new", "url": null, "url_expires_at": null, "include_children": false}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '283' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaed18e78ba769000d4702 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.062987' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/reports/shprep_3c985eaefaf84b918e3a7cd13c42b4a3 + response: + body: + string: '{"id": "shprep_3c985eaefaf84b918e3a7cd13c42b4a3", "object": "ShipmentReport", + "created_at": "2024-01-19T21:43:52Z", "updated_at": "2024-01-19T21:43:52Z", + "start_date": "2022-10-01", "end_date": "2022-10-01", "mode": "test", "status": + "empty", "url": null, "url_expires_at": null, "include_children": false}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '285' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaed19e78ba76a000d474b + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.045030' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"start_date": "2022-10-01", "end_date": "2022-10-01"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '54' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/reports/shipment + response: + body: + string: '{"id": "shprep_089003c0042c4807bef27a56e219f651", "object": "ShipmentReport", + "created_at": "2024-01-19T21:47:45Z", "updated_at": "2024-01-19T21:47:45Z", + "start_date": "2022-10-01", "end_date": "2022-10-01", "mode": "test", "status": + "new", "url": null, "url_expires_at": null, "include_children": false}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '283' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdab65aaee01e78bafec00113ec1 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.059266' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/reports/shprep_089003c0042c4807bef27a56e219f651 + response: + body: + string: '{"id": "shprep_089003c0042c4807bef27a56e219f651", "object": "ShipmentReport", + "created_at": "2024-01-19T21:47:45Z", "updated_at": "2024-01-19T21:47:45Z", + "start_date": "2022-10-01", "end_date": "2022-10-01", "mode": "test", "status": + "empty", "url": null, "url_expires_at": null, "include_children": false}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '285' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda765aaee01e78bb00400113eec + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.052772' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"start_date": "2022-10-01", "end_date": "2022-10-01"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '54' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/reports/shipment + response: + body: + string: '{"id": "shprep_946144479ef8495faa2baf8d741daace", "object": "ShipmentReport", + "created_at": "2024-01-19T21:49:40Z", "updated_at": "2024-01-19T21:49:40Z", + "start_date": "2022-10-01", "end_date": "2022-10-01", "mode": "test", "status": + "new", "url": null, "url_expires_at": null, "include_children": false}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '283' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda965aaee74e78bb52f001180af + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.063579' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/reports/shprep_946144479ef8495faa2baf8d741daace + response: + body: + string: '{"id": "shprep_946144479ef8495faa2baf8d741daace", "object": "ShipmentReport", + "created_at": "2024-01-19T21:49:40Z", "updated_at": "2024-01-19T21:49:40Z", + "start_date": "2022-10-01", "end_date": "2022-10-01", "mode": "test", "status": + "empty", "url": null, "url_expires_at": null, "include_children": false}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '285' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdad65aaee74e78bb530001180cf + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.055906' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"start_date": "2022-10-01", "end_date": "2022-10-01"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '54' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/reports/shipment + response: + body: + string: '{"id": "shprep_dd35c5f7464247ecb38ef96430402e28", "object": "ShipmentReport", + "created_at": "2024-01-19T21:58:59Z", "updated_at": "2024-01-19T21:58:59Z", + "start_date": "2022-10-01", "end_date": "2022-10-01", "mode": "test", "status": + "new", "url": null, "url_expires_at": null, "include_children": false}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '283' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaf0a3e798bfbc000f835f + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.050843' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/reports/shprep_dd35c5f7464247ecb38ef96430402e28 + response: + body: + string: '{"id": "shprep_dd35c5f7464247ecb38ef96430402e28", "object": "ShipmentReport", + "created_at": "2024-01-19T21:58:59Z", "updated_at": "2024-01-19T21:58:59Z", + "start_date": "2022-10-01", "end_date": "2022-10-01", "mode": "test", "status": + "empty", "url": null, "url_expires_at": null, "include_children": false}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '285' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaf0a3e798bfbd000f8392 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.032794' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"start_date": "2022-10-01", "end_date": "2022-10-01"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '54' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/reports/shipment + response: + body: + string: '{"id": "shprep_7fe6a33016a849999785f97043857fb4", "object": "ShipmentReport", + "created_at": "2024-01-19T22:01:54Z", "updated_at": "2024-01-19T22:01:54Z", + "start_date": "2022-10-01", "end_date": "2022-10-01", "mode": "test", "status": + "new", "url": null, "url_expires_at": null, "include_children": false}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '283' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf152e798c82100101de7 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.049776' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/reports/shprep_7fe6a33016a849999785f97043857fb4 + response: + body: + string: '{"id": "shprep_7fe6a33016a849999785f97043857fb4", "object": "ShipmentReport", + "created_at": "2024-01-19T22:01:54Z", "updated_at": "2024-01-19T22:01:54Z", + "start_date": "2022-10-01", "end_date": "2022-10-01", "mode": "test", "status": + "empty", "url": null, "url_expires_at": null, "include_children": false}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '285' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaf152e798c83900101e0e + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.057613' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"start_date": "2022-10-01", "end_date": "2022-10-01"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '54' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/reports/shipment + response: + body: + string: '{"id": "shprep_2a996421686a46ad9dce115eed3edc28", "object": "ShipmentReport", + "created_at": "2024-01-19T22:05:41Z", "updated_at": "2024-01-19T22:05:41Z", + "start_date": "2022-10-01", "end_date": "2022-10-01", "mode": "test", "status": + "new", "url": null, "url_expires_at": null, "include_children": false}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '283' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf235e798d0e50010c4f5 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.044807' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/reports/shprep_2a996421686a46ad9dce115eed3edc28 + response: + body: + string: '{"id": "shprep_2a996421686a46ad9dce115eed3edc28", "object": "ShipmentReport", + "created_at": "2024-01-19T22:05:41Z", "updated_at": "2024-01-19T22:05:41Z", + "start_date": "2022-10-01", "end_date": "2022-10-01", "mode": "test", "status": + "empty", "url": null, "url_expires_at": null, "include_children": false}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '285' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf236e798d0fd0010c54d + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.047412' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_returns_create.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_returns_create.yaml new file mode 100644 index 00000000..b397634f --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_returns_create.yaml @@ -0,0 +1,2001 @@ +interactions: +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "is_return": + true}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '904' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:41:57Z", "is_return": true, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T21:41:57Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_e10a9748677e40aaa2bcd72f16b7e305", + "object": "CustomsInfo", "created_at": "2024-01-19T21:41:57Z", "updated_at": + "2024-01-19T21:41:57Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_3aa772839a134304b1eb2ae01a8a17f9", "object": "CustomsItem", + "created_at": "2024-01-19T21:41:57Z", "updated_at": "2024-01-19T21:41:57Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_91fe73f7b71311eeb2deac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:41:57+00:00", "updated_at": "2024-01-19T21:41:57+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_fc22ab275ab14dc88a49b502ad0b3908", "object": "Parcel", "created_at": + "2024-01-19T21:41:57Z", "updated_at": "2024-01-19T21:41:57Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_5df3c128204346d48fa33e244add15bd", + "object": "Rate", "created_at": "2024-01-19T21:41:57Z", "updated_at": "2024-01-19T21:41:57Z", + "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", + "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a"}, {"id": "rate_d3e81642d3a34c55a226b5193dcb1180", + "object": "Rate", "created_at": "2024-01-19T21:41:58Z", "updated_at": "2024-01-19T21:41:58Z", + "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", + "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a"}, {"id": "rate_65af060a811b4ae9a7eaf4defbd02628", + "object": "Rate", "created_at": "2024-01-19T21:41:58Z", "updated_at": "2024-01-19T21:41:58Z", + "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", + "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a"}, {"id": "rate_84ee3422fe46495ba7165910cdc6d8f1", + "object": "Rate", "created_at": "2024-01-19T21:41:58Z", "updated_at": "2024-01-19T21:41:58Z", + "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", + "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476"}, {"id": "rate_701a5283adef4f93bc34aff9e0a884b1", + "object": "Rate", "created_at": "2024-01-19T21:41:58Z", "updated_at": "2024-01-19T21:41:58Z", + "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", + "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476"}, {"id": "rate_32baf56d59354437858314caf9926737", + "object": "Rate", "created_at": "2024-01-19T21:41:58Z", "updated_at": "2024-01-19T21:41:58Z", + "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", + "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476"}, {"id": "rate_fe4e42565abe45588ce6a155f3bb0446", + "object": "Rate", "created_at": "2024-01-19T21:41:58Z", "updated_at": "2024-01-19T21:41:58Z", + "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", + "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f"}, {"id": "rate_03e67a382fba4e9780cf77b937d65103", + "object": "Rate", "created_at": "2024-01-19T21:41:58Z", "updated_at": "2024-01-19T21:41:58Z", + "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", + "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f"}, {"id": "rate_65f2769a110a46b593d243166308c826", + "object": "Rate", "created_at": "2024-01-19T21:41:58Z", "updated_at": "2024-01-19T21:41:58Z", + "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", + "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f"}, {"id": "rate_48e162777cbd4a228b04b966b993ad6c", + "object": "Rate", "created_at": "2024-01-19T21:41:58Z", "updated_at": "2024-01-19T21:41:58Z", + "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", + "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e"}, {"id": "rate_c683693f5e594a85a0956127de14f949", + "object": "Rate", "created_at": "2024-01-19T21:41:58Z", "updated_at": "2024-01-19T21:41:58Z", + "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", + "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e"}, {"id": "rate_421496aaa91642e589ff2b8d20902302", + "object": "Rate", "created_at": "2024-01-19T21:41:58Z", "updated_at": "2024-01-19T21:41:58Z", + "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", + "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e"}, {"id": "rate_c8a3dc316ab744dba19feb306860132b", + "object": "Rate", "created_at": "2024-01-19T21:41:58Z", "updated_at": "2024-01-19T21:41:58Z", + "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", + "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c"}, {"id": "rate_d45828f275a540438136b9a5953e4d51", + "object": "Rate", "created_at": "2024-01-19T21:41:58Z", "updated_at": "2024-01-19T21:41:58Z", + "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", + "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c"}, {"id": "rate_e2a7e4b0ea114adbaba0aeb4c370e3bd", + "object": "Rate", "created_at": "2024-01-19T21:41:58Z", "updated_at": "2024-01-19T21:41:58Z", + "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", + "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c"}, {"id": "rate_dea216f6c3d64d109cb0fa8f58c87c8a", + "object": "Rate", "created_at": "2024-01-19T21:41:58Z", "updated_at": "2024-01-19T21:41:58Z", + "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", + "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea"}, {"id": "rate_af513e3d12b24c33b420f93784b9f80e", + "object": "Rate", "created_at": "2024-01-19T21:41:58Z", "updated_at": "2024-01-19T21:41:58Z", + "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", + "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea"}, {"id": "rate_e152337fde8c46b2a39c61772dd90da3", + "object": "Rate", "created_at": "2024-01-19T21:41:58Z", "updated_at": "2024-01-19T21:41:58Z", + "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", + "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea"}, {"id": "rate_697921bd11cb478f9a2642ad2b75cdc4", + "object": "Rate", "created_at": "2024-01-19T21:41:58Z", "updated_at": "2024-01-19T21:41:58Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_fd925e2a3bf8413e9672b1da8befea1c", + "object": "Rate", "created_at": "2024-01-19T21:41:58Z", "updated_at": "2024-01-19T21:41:58Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_d9a4833b94fb4d269bcdd0723516faa4", + "object": "Rate", "created_at": "2024-01-19T21:41:58Z", "updated_at": "2024-01-19T21:41:58Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f39b6a2bd5734541b6695e54d12ad33f", + "object": "Rate", "created_at": "2024-01-19T21:41:58Z", "updated_at": "2024-01-19T21:41:58Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_b41a3ae8f7cd499aa1394df72ee7b11c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_67f84592ad1145e58e8651b177e9c779", "object": "Rate", "created_at": + "2024-01-19T21:41:58Z", "updated_at": "2024-01-19T21:41:58Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_b41a3ae8f7cd499aa1394df72ee7b11c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_91fc400fb71311eea1533cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:41:57+00:00", "updated_at": "2024-01-19T21:41:57+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_91fe73f7b71311eeb2deac1f6bc539aa", "object": "Address", "created_at": + "2024-01-19T21:41:57+00:00", "updated_at": "2024-01-19T21:41:57+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_91fc400fb71311eea1533cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:41:57+00:00", "updated_at": + "2024-01-19T21:41:57+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '16255' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_b41a3ae8f7cd499aa1394df72ee7b11c + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaeca5e78b9f44000d0471 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.617395' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "is_return": + true}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '904' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:43:53Z", "is_return": true, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T21:43:53Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_af81a46e7bd04732b4f7ec8b9781ef2a", + "object": "CustomsInfo", "created_at": "2024-01-19T21:43:53Z", "updated_at": + "2024-01-19T21:43:53Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_0e4338835ab84430ac11eb06b6f57a43", "object": "CustomsItem", + "created_at": "2024-01-19T21:43:53Z", "updated_at": "2024-01-19T21:43:53Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_d7339659b71311eeba463cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:43:53+00:00", "updated_at": "2024-01-19T21:43:53+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_908a68a40faf478f99d665111402bf11", "object": "Parcel", "created_at": + "2024-01-19T21:43:53Z", "updated_at": "2024-01-19T21:43:53Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_42c31f422248483d832c34928468de5a", + "object": "Rate", "created_at": "2024-01-19T21:43:54Z", "updated_at": "2024-01-19T21:43:54Z", + "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_091c4ded63894a8da190aeea539a1fe6", + "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476"}, {"id": "rate_04855e12c07e492d9b96c606f75a2ae2", + "object": "Rate", "created_at": "2024-01-19T21:43:54Z", "updated_at": "2024-01-19T21:43:54Z", + "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_091c4ded63894a8da190aeea539a1fe6", + "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476"}, {"id": "rate_24a84cacf52e437588d2a5b4cecc7b17", + "object": "Rate", "created_at": "2024-01-19T21:43:54Z", "updated_at": "2024-01-19T21:43:54Z", + "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_091c4ded63894a8da190aeea539a1fe6", + "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476"}, {"id": "rate_f7a438367e4f4854adc1ab6c855ca688", + "object": "Rate", "created_at": "2024-01-19T21:43:54Z", "updated_at": "2024-01-19T21:43:54Z", + "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_091c4ded63894a8da190aeea539a1fe6", + "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e"}, {"id": "rate_1ac5f05b7fee4579ae76d8a8940acba2", + "object": "Rate", "created_at": "2024-01-19T21:43:54Z", "updated_at": "2024-01-19T21:43:54Z", + "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_091c4ded63894a8da190aeea539a1fe6", + "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e"}, {"id": "rate_a13b710e0bc54d82843f78a7429fef20", + "object": "Rate", "created_at": "2024-01-19T21:43:54Z", "updated_at": "2024-01-19T21:43:54Z", + "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_091c4ded63894a8da190aeea539a1fe6", + "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e"}, {"id": "rate_b4ad5b6b5c9345119725f22ae6e1a721", + "object": "Rate", "created_at": "2024-01-19T21:43:54Z", "updated_at": "2024-01-19T21:43:54Z", + "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_091c4ded63894a8da190aeea539a1fe6", + "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a"}, {"id": "rate_ae8374a3af6f43cda3b947349fd2bf69", + "object": "Rate", "created_at": "2024-01-19T21:43:54Z", "updated_at": "2024-01-19T21:43:54Z", + "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_091c4ded63894a8da190aeea539a1fe6", + "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a"}, {"id": "rate_b17295d5368b47e08e900a34fa0b037b", + "object": "Rate", "created_at": "2024-01-19T21:43:54Z", "updated_at": "2024-01-19T21:43:54Z", + "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_091c4ded63894a8da190aeea539a1fe6", + "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a"}, {"id": "rate_a12acdab0bfd4d91a9d172e3f19831e9", + "object": "Rate", "created_at": "2024-01-19T21:43:54Z", "updated_at": "2024-01-19T21:43:54Z", + "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_091c4ded63894a8da190aeea539a1fe6", + "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f"}, {"id": "rate_58ad6f8f20714a57b5782d29d23cd2d2", + "object": "Rate", "created_at": "2024-01-19T21:43:54Z", "updated_at": "2024-01-19T21:43:54Z", + "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_091c4ded63894a8da190aeea539a1fe6", + "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f"}, {"id": "rate_addd29475b7946139c810b9c9857d32e", + "object": "Rate", "created_at": "2024-01-19T21:43:54Z", "updated_at": "2024-01-19T21:43:54Z", + "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_091c4ded63894a8da190aeea539a1fe6", + "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f"}, {"id": "rate_20f27a7bf6574f97abc37a3761fb0fa8", + "object": "Rate", "created_at": "2024-01-19T21:43:54Z", "updated_at": "2024-01-19T21:43:54Z", + "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_091c4ded63894a8da190aeea539a1fe6", + "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c"}, {"id": "rate_b632e70733fe4087893b52eedbaa401d", + "object": "Rate", "created_at": "2024-01-19T21:43:54Z", "updated_at": "2024-01-19T21:43:54Z", + "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_091c4ded63894a8da190aeea539a1fe6", + "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c"}, {"id": "rate_ccd8f2ab4bef45b1975315d94eaee3bb", + "object": "Rate", "created_at": "2024-01-19T21:43:54Z", "updated_at": "2024-01-19T21:43:54Z", + "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_091c4ded63894a8da190aeea539a1fe6", + "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c"}, {"id": "rate_4bc91629cb5c43e7b9dd0294d76d822a", + "object": "Rate", "created_at": "2024-01-19T21:43:54Z", "updated_at": "2024-01-19T21:43:54Z", + "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_091c4ded63894a8da190aeea539a1fe6", + "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea"}, {"id": "rate_d6586a1ff31a4c639804d677e19d40d3", + "object": "Rate", "created_at": "2024-01-19T21:43:54Z", "updated_at": "2024-01-19T21:43:54Z", + "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_091c4ded63894a8da190aeea539a1fe6", + "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea"}, {"id": "rate_d53228e5dde84cd4ad2092f409078d33", + "object": "Rate", "created_at": "2024-01-19T21:43:54Z", "updated_at": "2024-01-19T21:43:54Z", + "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_091c4ded63894a8da190aeea539a1fe6", + "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea"}, {"id": "rate_9912170998cf44309749054e6d7b4552", + "object": "Rate", "created_at": "2024-01-19T21:43:54Z", "updated_at": "2024-01-19T21:43:54Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_091c4ded63894a8da190aeea539a1fe6", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_7d896c3063854aab8048920b3e3cdb8c", + "object": "Rate", "created_at": "2024-01-19T21:43:54Z", "updated_at": "2024-01-19T21:43:54Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_091c4ded63894a8da190aeea539a1fe6", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_bafadbdbd3bd46fabf9b1fab7b3e1222", + "object": "Rate", "created_at": "2024-01-19T21:43:54Z", "updated_at": "2024-01-19T21:43:54Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_091c4ded63894a8da190aeea539a1fe6", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_708c212326794ee3a26e9cbf08047b2f", + "object": "Rate", "created_at": "2024-01-19T21:43:54Z", "updated_at": "2024-01-19T21:43:54Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_091c4ded63894a8da190aeea539a1fe6", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_6868eb431a5e45dea60167edbe549978", "object": "Rate", "created_at": + "2024-01-19T21:43:54Z", "updated_at": "2024-01-19T21:43:54Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_091c4ded63894a8da190aeea539a1fe6", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_d730acb3b71311eebcb1ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:43:53+00:00", "updated_at": "2024-01-19T21:43:53+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_d7339659b71311eeba463cecef1b359e", "object": "Address", "created_at": + "2024-01-19T21:43:53+00:00", "updated_at": "2024-01-19T21:43:53+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_d730acb3b71311eebcb1ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:43:53+00:00", "updated_at": + "2024-01-19T21:43:53+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_091c4ded63894a8da190aeea539a1fe6", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '16255' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_091c4ded63894a8da190aeea539a1fe6 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaed19e78ba783000d47be + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.580425' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "is_return": + true}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '904' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:47:46Z", "is_return": true, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T21:47:46Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_b9a5e92b414f431a8696aeb83e591bd5", + "object": "CustomsInfo", "created_at": "2024-01-19T21:47:46Z", "updated_at": + "2024-01-19T21:47:46Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_7f1a853168fa43d0b0919ac26d436316", "object": "CustomsItem", + "created_at": "2024-01-19T21:47:46Z", "updated_at": "2024-01-19T21:47:46Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_61f10c54b71411eea6513cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:47:46+00:00", "updated_at": "2024-01-19T21:47:46+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_02e08f76ca974e93908d6dcee6a4ee1e", "object": "Parcel", "created_at": + "2024-01-19T21:47:46Z", "updated_at": "2024-01-19T21:47:46Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_4c50ec39caf6465ca02c7773a372128c", + "object": "Rate", "created_at": "2024-01-19T21:47:46Z", "updated_at": "2024-01-19T21:47:46Z", + "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_ebbe4a95fefe42a191e5d2016e7a1e9c", + "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e"}, {"id": "rate_848dcf5991754bf7b453bd05c60ab5f9", + "object": "Rate", "created_at": "2024-01-19T21:47:46Z", "updated_at": "2024-01-19T21:47:46Z", + "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_ebbe4a95fefe42a191e5d2016e7a1e9c", + "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e"}, {"id": "rate_c7b371eed9e44523808c3e9a91b7333e", + "object": "Rate", "created_at": "2024-01-19T21:47:46Z", "updated_at": "2024-01-19T21:47:46Z", + "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_ebbe4a95fefe42a191e5d2016e7a1e9c", + "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e"}, {"id": "rate_6a8ae1a88a52414e81b11677357ce475", + "object": "Rate", "created_at": "2024-01-19T21:47:46Z", "updated_at": "2024-01-19T21:47:46Z", + "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_ebbe4a95fefe42a191e5d2016e7a1e9c", + "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c"}, {"id": "rate_c2a27e4f92d94ebb9e4250b90075ec99", + "object": "Rate", "created_at": "2024-01-19T21:47:46Z", "updated_at": "2024-01-19T21:47:46Z", + "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_ebbe4a95fefe42a191e5d2016e7a1e9c", + "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c"}, {"id": "rate_f12b7ff9cd064754b561cd7c6e27b4da", + "object": "Rate", "created_at": "2024-01-19T21:47:46Z", "updated_at": "2024-01-19T21:47:46Z", + "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_ebbe4a95fefe42a191e5d2016e7a1e9c", + "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c"}, {"id": "rate_7fa50b64a04e42f4be3f137cc20ba8c6", + "object": "Rate", "created_at": "2024-01-19T21:47:46Z", "updated_at": "2024-01-19T21:47:46Z", + "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_ebbe4a95fefe42a191e5d2016e7a1e9c", + "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea"}, {"id": "rate_93c08d67aeed4f678f7038adbeac593a", + "object": "Rate", "created_at": "2024-01-19T21:47:46Z", "updated_at": "2024-01-19T21:47:46Z", + "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_ebbe4a95fefe42a191e5d2016e7a1e9c", + "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea"}, {"id": "rate_df0fdd9d14a04d34831bfea868274457", + "object": "Rate", "created_at": "2024-01-19T21:47:46Z", "updated_at": "2024-01-19T21:47:46Z", + "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_ebbe4a95fefe42a191e5d2016e7a1e9c", + "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea"}, {"id": "rate_3002bdfdf1a8467db471f28c218ebbef", + "object": "Rate", "created_at": "2024-01-19T21:47:46Z", "updated_at": "2024-01-19T21:47:46Z", + "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_ebbe4a95fefe42a191e5d2016e7a1e9c", + "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a"}, {"id": "rate_4561c387b2f04961bae295931f76ce02", + "object": "Rate", "created_at": "2024-01-19T21:47:46Z", "updated_at": "2024-01-19T21:47:46Z", + "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_ebbe4a95fefe42a191e5d2016e7a1e9c", + "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a"}, {"id": "rate_deca3834911f4c299edd7ad1b65a5bde", + "object": "Rate", "created_at": "2024-01-19T21:47:46Z", "updated_at": "2024-01-19T21:47:46Z", + "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_ebbe4a95fefe42a191e5d2016e7a1e9c", + "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a"}, {"id": "rate_2e6d35da0b7f45a483153fe4f0863394", + "object": "Rate", "created_at": "2024-01-19T21:47:46Z", "updated_at": "2024-01-19T21:47:46Z", + "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_ebbe4a95fefe42a191e5d2016e7a1e9c", + "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476"}, {"id": "rate_7bab2d5feed7484f91dbd47874b33b14", + "object": "Rate", "created_at": "2024-01-19T21:47:46Z", "updated_at": "2024-01-19T21:47:46Z", + "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_ebbe4a95fefe42a191e5d2016e7a1e9c", + "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476"}, {"id": "rate_e99e77e9077048d28b4471c56323deab", + "object": "Rate", "created_at": "2024-01-19T21:47:46Z", "updated_at": "2024-01-19T21:47:46Z", + "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_ebbe4a95fefe42a191e5d2016e7a1e9c", + "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476"}, {"id": "rate_93641a5634e14aa98582dbf4327431bc", + "object": "Rate", "created_at": "2024-01-19T21:47:46Z", "updated_at": "2024-01-19T21:47:46Z", + "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_ebbe4a95fefe42a191e5d2016e7a1e9c", + "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f"}, {"id": "rate_c5b8d1c65bd443a48eee703d794dcc05", + "object": "Rate", "created_at": "2024-01-19T21:47:46Z", "updated_at": "2024-01-19T21:47:46Z", + "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_ebbe4a95fefe42a191e5d2016e7a1e9c", + "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f"}, {"id": "rate_5c98f7d22bd94357834bd3d58bc19f10", + "object": "Rate", "created_at": "2024-01-19T21:47:46Z", "updated_at": "2024-01-19T21:47:46Z", + "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_ebbe4a95fefe42a191e5d2016e7a1e9c", + "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f"}, {"id": "rate_e33ed9d6945a4cb2a29603b5296eb9d8", + "object": "Rate", "created_at": "2024-01-19T21:47:46Z", "updated_at": "2024-01-19T21:47:46Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_ebbe4a95fefe42a191e5d2016e7a1e9c", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_29e93506ebe440149184b3921b362c97", + "object": "Rate", "created_at": "2024-01-19T21:47:47Z", "updated_at": "2024-01-19T21:47:47Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_ebbe4a95fefe42a191e5d2016e7a1e9c", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_56d96166778f4d9886b87560827a2066", + "object": "Rate", "created_at": "2024-01-19T21:47:47Z", "updated_at": "2024-01-19T21:47:47Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_ebbe4a95fefe42a191e5d2016e7a1e9c", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_28732f8d69554aa9bde8d8d1be5dfb5f", + "object": "Rate", "created_at": "2024-01-19T21:47:47Z", "updated_at": "2024-01-19T21:47:47Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_ebbe4a95fefe42a191e5d2016e7a1e9c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_425eb00cb8384b88aa775679e8958060", "object": "Rate", "created_at": + "2024-01-19T21:47:47Z", "updated_at": "2024-01-19T21:47:47Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_ebbe4a95fefe42a191e5d2016e7a1e9c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_61ee2be0b71411eeb7e1ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:47:46+00:00", "updated_at": "2024-01-19T21:47:46+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_61f10c54b71411eea6513cecef1b359e", "object": "Address", "created_at": + "2024-01-19T21:47:46+00:00", "updated_at": "2024-01-19T21:47:46+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_61ee2be0b71411eeb7e1ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:47:46+00:00", "updated_at": + "2024-01-19T21:47:46+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_ebbe4a95fefe42a191e5d2016e7a1e9c", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '16255' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_ebbe4a95fefe42a191e5d2016e7a1e9c + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda865aaee02e78bb00600113f57 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.579684' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "is_return": + true}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '904' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:49:41Z", "is_return": true, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T21:49:41Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_2326115378ee4696b09165992eae7d9f", + "object": "CustomsInfo", "created_at": "2024-01-19T21:49:41Z", "updated_at": + "2024-01-19T21:49:41Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_305373c749c34f53837620284cba042c", "object": "CustomsItem", + "created_at": "2024-01-19T21:49:41Z", "updated_at": "2024-01-19T21:49:41Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_a64f2b28b71411eebbad3cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:49:41+00:00", "updated_at": "2024-01-19T21:49:41+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_0995e2a8be0045918007d780a8cece38", "object": "Parcel", "created_at": + "2024-01-19T21:49:41Z", "updated_at": "2024-01-19T21:49:41Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_685a2867060a42f1a346b9cf35940414", + "object": "Rate", "created_at": "2024-01-19T21:49:41Z", "updated_at": "2024-01-19T21:49:41Z", + "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_66654a54474747ec9bde16c1a638f4c3", + "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476"}, {"id": "rate_b168d59dbaf44b529d8c483e84b19929", + "object": "Rate", "created_at": "2024-01-19T21:49:41Z", "updated_at": "2024-01-19T21:49:41Z", + "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_66654a54474747ec9bde16c1a638f4c3", + "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476"}, {"id": "rate_c86bc54ad01044dcb7a9cc8768dba7cb", + "object": "Rate", "created_at": "2024-01-19T21:49:41Z", "updated_at": "2024-01-19T21:49:41Z", + "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_66654a54474747ec9bde16c1a638f4c3", + "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476"}, {"id": "rate_160f7c67b00845139c6af2e99cf4d575", + "object": "Rate", "created_at": "2024-01-19T21:49:41Z", "updated_at": "2024-01-19T21:49:41Z", + "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_66654a54474747ec9bde16c1a638f4c3", + "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c"}, {"id": "rate_5d370225e4fe4e82bf04c288b7ea5c4d", + "object": "Rate", "created_at": "2024-01-19T21:49:41Z", "updated_at": "2024-01-19T21:49:41Z", + "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_66654a54474747ec9bde16c1a638f4c3", + "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c"}, {"id": "rate_354b506b66cc472893d4f8f559812fa8", + "object": "Rate", "created_at": "2024-01-19T21:49:41Z", "updated_at": "2024-01-19T21:49:41Z", + "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_66654a54474747ec9bde16c1a638f4c3", + "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c"}, {"id": "rate_dd38abe33e73439a809e69e9a4270abc", + "object": "Rate", "created_at": "2024-01-19T21:49:41Z", "updated_at": "2024-01-19T21:49:41Z", + "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_66654a54474747ec9bde16c1a638f4c3", + "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea"}, {"id": "rate_91a56148ffcf4b90a7770ac9c7f1257b", + "object": "Rate", "created_at": "2024-01-19T21:49:41Z", "updated_at": "2024-01-19T21:49:41Z", + "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_66654a54474747ec9bde16c1a638f4c3", + "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea"}, {"id": "rate_b2110ca7507945248028618c7c6adc4d", + "object": "Rate", "created_at": "2024-01-19T21:49:41Z", "updated_at": "2024-01-19T21:49:41Z", + "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_66654a54474747ec9bde16c1a638f4c3", + "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea"}, {"id": "rate_29c43ceb2e7143bfa11c619812284f49", + "object": "Rate", "created_at": "2024-01-19T21:49:41Z", "updated_at": "2024-01-19T21:49:41Z", + "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_66654a54474747ec9bde16c1a638f4c3", + "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a"}, {"id": "rate_96e7a060d53a48aa916de333aeadce4c", + "object": "Rate", "created_at": "2024-01-19T21:49:41Z", "updated_at": "2024-01-19T21:49:41Z", + "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_66654a54474747ec9bde16c1a638f4c3", + "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a"}, {"id": "rate_ba0f2df8c2954f599419733287ca6017", + "object": "Rate", "created_at": "2024-01-19T21:49:41Z", "updated_at": "2024-01-19T21:49:41Z", + "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_66654a54474747ec9bde16c1a638f4c3", + "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a"}, {"id": "rate_00b2ee12b98e49c39f2cc2f846b3ff3e", + "object": "Rate", "created_at": "2024-01-19T21:49:41Z", "updated_at": "2024-01-19T21:49:41Z", + "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_66654a54474747ec9bde16c1a638f4c3", + "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f"}, {"id": "rate_48f8574b2a4247e3ba1ba3fc63ef19cd", + "object": "Rate", "created_at": "2024-01-19T21:49:41Z", "updated_at": "2024-01-19T21:49:41Z", + "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_66654a54474747ec9bde16c1a638f4c3", + "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f"}, {"id": "rate_068f8011b3e1478ab7ffc8f896d7eb8f", + "object": "Rate", "created_at": "2024-01-19T21:49:41Z", "updated_at": "2024-01-19T21:49:41Z", + "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_66654a54474747ec9bde16c1a638f4c3", + "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f"}, {"id": "rate_7cc05f66c6b44d2f91a74db94765af7d", + "object": "Rate", "created_at": "2024-01-19T21:49:41Z", "updated_at": "2024-01-19T21:49:41Z", + "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_66654a54474747ec9bde16c1a638f4c3", + "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e"}, {"id": "rate_aec863ff48544cfca1a3ce2e2eee6a9e", + "object": "Rate", "created_at": "2024-01-19T21:49:41Z", "updated_at": "2024-01-19T21:49:41Z", + "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_66654a54474747ec9bde16c1a638f4c3", + "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e"}, {"id": "rate_e8054786f6ec4a62b8f802238341d3f2", + "object": "Rate", "created_at": "2024-01-19T21:49:41Z", "updated_at": "2024-01-19T21:49:41Z", + "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_66654a54474747ec9bde16c1a638f4c3", + "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e"}, {"id": "rate_2cf25978f4744a69a55f1ce8ee77b00a", + "object": "Rate", "created_at": "2024-01-19T21:49:41Z", "updated_at": "2024-01-19T21:49:41Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_66654a54474747ec9bde16c1a638f4c3", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_82decb12eb074cedb3f564fca97193f8", + "object": "Rate", "created_at": "2024-01-19T21:49:41Z", "updated_at": "2024-01-19T21:49:41Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_66654a54474747ec9bde16c1a638f4c3", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_035aff2e53264f979a9bc34010017683", + "object": "Rate", "created_at": "2024-01-19T21:49:41Z", "updated_at": "2024-01-19T21:49:41Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_66654a54474747ec9bde16c1a638f4c3", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_d7221be206dd49b897e3697f8224ed3d", "object": "Rate", "created_at": + "2024-01-19T21:49:41Z", "updated_at": "2024-01-19T21:49:41Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_66654a54474747ec9bde16c1a638f4c3", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_95c1c2eb5bc54171b3aef9a358da31eb", "object": "Rate", "created_at": + "2024-01-19T21:49:41Z", "updated_at": "2024-01-19T21:49:41Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_66654a54474747ec9bde16c1a638f4c3", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_a64c8c85b71411eebd49ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:49:41+00:00", "updated_at": "2024-01-19T21:49:41+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_a64f2b28b71411eebbad3cecef1b359e", "object": "Address", "created_at": + "2024-01-19T21:49:41+00:00", "updated_at": "2024-01-19T21:49:41+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_a64c8c85b71411eebd49ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:49:41+00:00", "updated_at": + "2024-01-19T21:49:41+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_66654a54474747ec9bde16c1a638f4c3", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '16255' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_66654a54474747ec9bde16c1a638f4c3 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda765aaee75e78bb53200118120 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.924181' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "is_return": + true}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '904' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:59:00Z", "is_return": true, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T21:59:00Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_bf3e51916f254ce2b822fffe7c2608ff", + "object": "CustomsInfo", "created_at": "2024-01-19T21:59:00Z", "updated_at": + "2024-01-19T21:59:00Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_88e06b48797d466593bfb030238229b8", "object": "CustomsItem", + "created_at": "2024-01-19T21:59:00Z", "updated_at": "2024-01-19T21:59:00Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_f3a22befb71511eeaaa13cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:59:00+00:00", "updated_at": "2024-01-19T21:59:00+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_5185fdeed3274583bdb90bdd5cac2e84", "object": "Parcel", "created_at": + "2024-01-19T21:59:00Z", "updated_at": "2024-01-19T21:59:00Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_6e0efb8aeee84bdabea8bd652581e668", + "object": "Rate", "created_at": "2024-01-19T21:59:00Z", "updated_at": "2024-01-19T21:59:00Z", + "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_620f47e043a342189353d8f3cf6672f4", + "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476"}, {"id": "rate_d7d0ca89ece34b18b7a754441939baa0", + "object": "Rate", "created_at": "2024-01-19T21:59:00Z", "updated_at": "2024-01-19T21:59:00Z", + "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_620f47e043a342189353d8f3cf6672f4", + "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476"}, {"id": "rate_e8e3595f050f43bbad1afde96fd3c848", + "object": "Rate", "created_at": "2024-01-19T21:59:00Z", "updated_at": "2024-01-19T21:59:00Z", + "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_620f47e043a342189353d8f3cf6672f4", + "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476"}, {"id": "rate_dd44060edcb0439ca07b7df4e0064d53", + "object": "Rate", "created_at": "2024-01-19T21:59:00Z", "updated_at": "2024-01-19T21:59:00Z", + "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_620f47e043a342189353d8f3cf6672f4", + "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f"}, {"id": "rate_02b42f6004274d86bf3bac95abf71857", + "object": "Rate", "created_at": "2024-01-19T21:59:00Z", "updated_at": "2024-01-19T21:59:00Z", + "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_620f47e043a342189353d8f3cf6672f4", + "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f"}, {"id": "rate_45eee129e2aa40d68d66b2552d67b5ea", + "object": "Rate", "created_at": "2024-01-19T21:59:00Z", "updated_at": "2024-01-19T21:59:00Z", + "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_620f47e043a342189353d8f3cf6672f4", + "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f"}, {"id": "rate_2c5a88573ae347dbaf7b555e1be6850e", + "object": "Rate", "created_at": "2024-01-19T21:59:00Z", "updated_at": "2024-01-19T21:59:00Z", + "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_620f47e043a342189353d8f3cf6672f4", + "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e"}, {"id": "rate_e1295bbe4e824965ac7be5383e58107e", + "object": "Rate", "created_at": "2024-01-19T21:59:00Z", "updated_at": "2024-01-19T21:59:00Z", + "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_620f47e043a342189353d8f3cf6672f4", + "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e"}, {"id": "rate_a798aa2188bb4bdc8ecc9b9e86b7b9a1", + "object": "Rate", "created_at": "2024-01-19T21:59:00Z", "updated_at": "2024-01-19T21:59:00Z", + "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_620f47e043a342189353d8f3cf6672f4", + "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e"}, {"id": "rate_81a9c5c5e4d049f9a669a283dfb98731", + "object": "Rate", "created_at": "2024-01-19T21:59:00Z", "updated_at": "2024-01-19T21:59:00Z", + "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_620f47e043a342189353d8f3cf6672f4", + "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea"}, {"id": "rate_b2a65c2f74974f33aeb4f33149c47ed3", + "object": "Rate", "created_at": "2024-01-19T21:59:00Z", "updated_at": "2024-01-19T21:59:00Z", + "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_620f47e043a342189353d8f3cf6672f4", + "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea"}, {"id": "rate_0189ef3ad5d44c37a7c293ed0b0b34f9", + "object": "Rate", "created_at": "2024-01-19T21:59:00Z", "updated_at": "2024-01-19T21:59:00Z", + "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_620f47e043a342189353d8f3cf6672f4", + "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea"}, {"id": "rate_e3672efc31bf4a41ae6e534fc6fcc8fa", + "object": "Rate", "created_at": "2024-01-19T21:59:00Z", "updated_at": "2024-01-19T21:59:00Z", + "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_620f47e043a342189353d8f3cf6672f4", + "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a"}, {"id": "rate_63c224f052d54f7a89ea62afe630c6a6", + "object": "Rate", "created_at": "2024-01-19T21:59:00Z", "updated_at": "2024-01-19T21:59:00Z", + "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_620f47e043a342189353d8f3cf6672f4", + "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a"}, {"id": "rate_28382b99ec514f4c99966e1a2d32bb93", + "object": "Rate", "created_at": "2024-01-19T21:59:00Z", "updated_at": "2024-01-19T21:59:00Z", + "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_620f47e043a342189353d8f3cf6672f4", + "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a"}, {"id": "rate_733202f0a1a54cecbade07974c3ff121", + "object": "Rate", "created_at": "2024-01-19T21:59:00Z", "updated_at": "2024-01-19T21:59:00Z", + "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_620f47e043a342189353d8f3cf6672f4", + "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c"}, {"id": "rate_64d463c29633487ca99a7de29b612c1d", + "object": "Rate", "created_at": "2024-01-19T21:59:00Z", "updated_at": "2024-01-19T21:59:00Z", + "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_620f47e043a342189353d8f3cf6672f4", + "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c"}, {"id": "rate_de03e94f234c4c13addf00d3c94ea9cf", + "object": "Rate", "created_at": "2024-01-19T21:59:00Z", "updated_at": "2024-01-19T21:59:00Z", + "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_620f47e043a342189353d8f3cf6672f4", + "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c"}, {"id": "rate_e69939bb6f5c4e53943caba06513685e", + "object": "Rate", "created_at": "2024-01-19T21:59:00Z", "updated_at": "2024-01-19T21:59:00Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_620f47e043a342189353d8f3cf6672f4", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_23d70cdb034e4bdda1ccfc2268f61ffe", + "object": "Rate", "created_at": "2024-01-19T21:59:00Z", "updated_at": "2024-01-19T21:59:00Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_620f47e043a342189353d8f3cf6672f4", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_67de6a9dcb5e49b58e685134f014ae0b", + "object": "Rate", "created_at": "2024-01-19T21:59:01Z", "updated_at": "2024-01-19T21:59:01Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_620f47e043a342189353d8f3cf6672f4", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f8f035a26ed04428aa8e9ca538405ced", + "object": "Rate", "created_at": "2024-01-19T21:59:01Z", "updated_at": "2024-01-19T21:59:01Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_620f47e043a342189353d8f3cf6672f4", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_77ff1627bd2a442588f5e2e77da0a666", "object": "Rate", "created_at": + "2024-01-19T21:59:01Z", "updated_at": "2024-01-19T21:59:01Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_620f47e043a342189353d8f3cf6672f4", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_f3a01b99b71511eebd34ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:59:00+00:00", "updated_at": "2024-01-19T21:59:00+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_f3a22befb71511eeaaa13cecef1b359e", "object": "Address", "created_at": + "2024-01-19T21:59:00+00:00", "updated_at": "2024-01-19T21:59:00+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_f3a01b99b71511eebd34ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:59:00+00:00", "updated_at": + "2024-01-19T21:59:00+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_620f47e043a342189353d8f3cf6672f4", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '16255' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_620f47e043a342189353d8f3cf6672f4 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaf0a4e798bfbf000f83f9 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.635944' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "is_return": + true}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '904' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T22:01:55Z", "is_return": true, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T22:01:55Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_f8e692e1bf0247f78136d4ffd8625b76", + "object": "CustomsInfo", "created_at": "2024-01-19T22:01:55Z", "updated_at": + "2024-01-19T22:01:55Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_0c83b083f9bd4aa18711982aa3feec44", "object": "CustomsItem", + "created_at": "2024-01-19T22:01:55Z", "updated_at": "2024-01-19T22:01:55Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_5bce1decb71611ee9e4aac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T22:01:55+00:00", "updated_at": "2024-01-19T22:01:55+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_e48fa6488034455083a31ec8fafef025", "object": "Parcel", "created_at": + "2024-01-19T22:01:55Z", "updated_at": "2024-01-19T22:01:55Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_615d547d55364e42b89687a8e561a37b", + "object": "Rate", "created_at": "2024-01-19T22:01:55Z", "updated_at": "2024-01-19T22:01:55Z", + "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_07846ee71981420d8544db407de6843b", + "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a"}, {"id": "rate_4f409630e51048f193f0b8ad31b4528d", + "object": "Rate", "created_at": "2024-01-19T22:01:55Z", "updated_at": "2024-01-19T22:01:55Z", + "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_07846ee71981420d8544db407de6843b", + "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a"}, {"id": "rate_cd81fd9697294216b2be843cb26beb4d", + "object": "Rate", "created_at": "2024-01-19T22:01:55Z", "updated_at": "2024-01-19T22:01:55Z", + "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_07846ee71981420d8544db407de6843b", + "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a"}, {"id": "rate_9f8a6428e940470285a8d7b86e00542d", + "object": "Rate", "created_at": "2024-01-19T22:01:55Z", "updated_at": "2024-01-19T22:01:55Z", + "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_07846ee71981420d8544db407de6843b", + "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476"}, {"id": "rate_a3c415c4f771478c97c1a696424f6b8b", + "object": "Rate", "created_at": "2024-01-19T22:01:55Z", "updated_at": "2024-01-19T22:01:55Z", + "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_07846ee71981420d8544db407de6843b", + "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476"}, {"id": "rate_cc5b40f757cc4a688130f8207ea3bb0d", + "object": "Rate", "created_at": "2024-01-19T22:01:55Z", "updated_at": "2024-01-19T22:01:55Z", + "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_07846ee71981420d8544db407de6843b", + "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476"}, {"id": "rate_1d6ebd1eaa93470ebd9abd767d980ced", + "object": "Rate", "created_at": "2024-01-19T22:01:55Z", "updated_at": "2024-01-19T22:01:55Z", + "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_07846ee71981420d8544db407de6843b", + "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f"}, {"id": "rate_a04dd163c24947e7a25c5dd96c50ea79", + "object": "Rate", "created_at": "2024-01-19T22:01:55Z", "updated_at": "2024-01-19T22:01:55Z", + "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_07846ee71981420d8544db407de6843b", + "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f"}, {"id": "rate_983d2a26b504456388aa09b03ef01afd", + "object": "Rate", "created_at": "2024-01-19T22:01:55Z", "updated_at": "2024-01-19T22:01:55Z", + "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_07846ee71981420d8544db407de6843b", + "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f"}, {"id": "rate_a8be882d3a464e22978db35d74973076", + "object": "Rate", "created_at": "2024-01-19T22:01:55Z", "updated_at": "2024-01-19T22:01:55Z", + "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_07846ee71981420d8544db407de6843b", + "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e"}, {"id": "rate_06b22a7d3d52428d9ec4792de6240f69", + "object": "Rate", "created_at": "2024-01-19T22:01:55Z", "updated_at": "2024-01-19T22:01:55Z", + "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_07846ee71981420d8544db407de6843b", + "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e"}, {"id": "rate_6685b7f18ca542f3a3a9d7cbbd9d5cfe", + "object": "Rate", "created_at": "2024-01-19T22:01:55Z", "updated_at": "2024-01-19T22:01:55Z", + "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_07846ee71981420d8544db407de6843b", + "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e"}, {"id": "rate_1e32f51feebb49fc8882379720be4fcc", + "object": "Rate", "created_at": "2024-01-19T22:01:55Z", "updated_at": "2024-01-19T22:01:55Z", + "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_07846ee71981420d8544db407de6843b", + "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c"}, {"id": "rate_59d5af8c4e8b4ef8998562f2aa35c185", + "object": "Rate", "created_at": "2024-01-19T22:01:55Z", "updated_at": "2024-01-19T22:01:55Z", + "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_07846ee71981420d8544db407de6843b", + "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c"}, {"id": "rate_d9f5deb5407e4aeab4d333dab9ffd669", + "object": "Rate", "created_at": "2024-01-19T22:01:55Z", "updated_at": "2024-01-19T22:01:55Z", + "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_07846ee71981420d8544db407de6843b", + "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c"}, {"id": "rate_59534db05e7344fc9c0830d9980d450f", + "object": "Rate", "created_at": "2024-01-19T22:01:55Z", "updated_at": "2024-01-19T22:01:55Z", + "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_07846ee71981420d8544db407de6843b", + "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea"}, {"id": "rate_a6355534b0fa4376be7438f128589c1b", + "object": "Rate", "created_at": "2024-01-19T22:01:55Z", "updated_at": "2024-01-19T22:01:55Z", + "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_07846ee71981420d8544db407de6843b", + "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea"}, {"id": "rate_7568d73980db444489ac053eb3b0328d", + "object": "Rate", "created_at": "2024-01-19T22:01:55Z", "updated_at": "2024-01-19T22:01:55Z", + "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_07846ee71981420d8544db407de6843b", + "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea"}, {"id": "rate_c8d320afbe2f469a9b39294ba3642e47", + "object": "Rate", "created_at": "2024-01-19T22:01:55Z", "updated_at": "2024-01-19T22:01:55Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_07846ee71981420d8544db407de6843b", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_d693390a4edd4ab29fdccf8737b931dd", + "object": "Rate", "created_at": "2024-01-19T22:01:55Z", "updated_at": "2024-01-19T22:01:55Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_07846ee71981420d8544db407de6843b", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f29b5e060a004f5ca2b89e879b6ad1a5", + "object": "Rate", "created_at": "2024-01-19T22:01:55Z", "updated_at": "2024-01-19T22:01:55Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_07846ee71981420d8544db407de6843b", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_d44cb4f2318e4bcbb5b1d6f97490a023", + "object": "Rate", "created_at": "2024-01-19T22:01:55Z", "updated_at": "2024-01-19T22:01:55Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_07846ee71981420d8544db407de6843b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_21653628f9b144b3a6e08e8148d2c3b0", "object": "Rate", "created_at": + "2024-01-19T22:01:55Z", "updated_at": "2024-01-19T22:01:55Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_07846ee71981420d8544db407de6843b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_5bcb489cb71611ee9e48ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T22:01:55+00:00", "updated_at": "2024-01-19T22:01:55+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_5bce1decb71611ee9e4aac1f6bc539aa", "object": "Address", "created_at": + "2024-01-19T22:01:55+00:00", "updated_at": "2024-01-19T22:01:55+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_5bcb489cb71611ee9e48ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T22:01:55+00:00", "updated_at": + "2024-01-19T22:01:55+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_07846ee71981420d8544db407de6843b", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '16255' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_07846ee71981420d8544db407de6843b + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf153e798c83b00101ebe + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.610985' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "is_return": + true}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '904' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T22:05:43Z", "is_return": true, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T22:05:43Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_e83fe75c7d8143ad82c6ad5430ad6d79", + "object": "CustomsInfo", "created_at": "2024-01-19T22:05:43Z", "updated_at": + "2024-01-19T22:05:43Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_529397062626406eaeea2b9c151a4bfd", "object": "CustomsItem", + "created_at": "2024-01-19T22:05:43Z", "updated_at": "2024-01-19T22:05:43Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_e38e3550b71611ee8b36ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T22:05:42+00:00", "updated_at": "2024-01-19T22:05:42+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_411addc432184e0fa4692d8df3fcaea0", "object": "Parcel", "created_at": + "2024-01-19T22:05:43Z", "updated_at": "2024-01-19T22:05:43Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_c3af9999a307480ca4c04816afb63b6d", + "object": "Rate", "created_at": "2024-01-19T22:05:43Z", "updated_at": "2024-01-19T22:05:43Z", + "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_9a25076718c94e6ca676e09472e4d702", + "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea"}, {"id": "rate_e5a72c9a90c84e0db7bb13f52c305f15", + "object": "Rate", "created_at": "2024-01-19T22:05:43Z", "updated_at": "2024-01-19T22:05:43Z", + "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_9a25076718c94e6ca676e09472e4d702", + "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea"}, {"id": "rate_66499294e1294095a41a27b239503522", + "object": "Rate", "created_at": "2024-01-19T22:05:43Z", "updated_at": "2024-01-19T22:05:43Z", + "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_9a25076718c94e6ca676e09472e4d702", + "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea"}, {"id": "rate_6efc2bd142c74984a9b9e1dae96b06ac", + "object": "Rate", "created_at": "2024-01-19T22:05:43Z", "updated_at": "2024-01-19T22:05:43Z", + "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_9a25076718c94e6ca676e09472e4d702", + "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476"}, {"id": "rate_e1356928c1e24d4999fe770cbd503592", + "object": "Rate", "created_at": "2024-01-19T22:05:43Z", "updated_at": "2024-01-19T22:05:43Z", + "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_9a25076718c94e6ca676e09472e4d702", + "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476"}, {"id": "rate_073af719234247e1bffda87533b32849", + "object": "Rate", "created_at": "2024-01-19T22:05:43Z", "updated_at": "2024-01-19T22:05:43Z", + "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_9a25076718c94e6ca676e09472e4d702", + "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476"}, {"id": "rate_34446ebe5a944f19811ee2010d6da5bf", + "object": "Rate", "created_at": "2024-01-19T22:05:43Z", "updated_at": "2024-01-19T22:05:43Z", + "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_9a25076718c94e6ca676e09472e4d702", + "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f"}, {"id": "rate_530055925ea74cf2b224272d8dc7c0d3", + "object": "Rate", "created_at": "2024-01-19T22:05:43Z", "updated_at": "2024-01-19T22:05:43Z", + "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_9a25076718c94e6ca676e09472e4d702", + "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f"}, {"id": "rate_84eecb3e04e34973a089aff586af79a4", + "object": "Rate", "created_at": "2024-01-19T22:05:43Z", "updated_at": "2024-01-19T22:05:43Z", + "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_9a25076718c94e6ca676e09472e4d702", + "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f"}, {"id": "rate_7e6aea4e12d94e1bbd596a024cf480e6", + "object": "Rate", "created_at": "2024-01-19T22:05:43Z", "updated_at": "2024-01-19T22:05:43Z", + "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_9a25076718c94e6ca676e09472e4d702", + "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e"}, {"id": "rate_158ba68fc93149fb862fe7c7393de575", + "object": "Rate", "created_at": "2024-01-19T22:05:43Z", "updated_at": "2024-01-19T22:05:43Z", + "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_9a25076718c94e6ca676e09472e4d702", + "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e"}, {"id": "rate_96e59e1e4e23498fa7d6dacc0b837449", + "object": "Rate", "created_at": "2024-01-19T22:05:43Z", "updated_at": "2024-01-19T22:05:43Z", + "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_9a25076718c94e6ca676e09472e4d702", + "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e"}, {"id": "rate_dfe1080489114d97bbcfbb3b4f21c778", + "object": "Rate", "created_at": "2024-01-19T22:05:43Z", "updated_at": "2024-01-19T22:05:43Z", + "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_9a25076718c94e6ca676e09472e4d702", + "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c"}, {"id": "rate_2a4520d2fb7b4a2f85795dcd354af985", + "object": "Rate", "created_at": "2024-01-19T22:05:43Z", "updated_at": "2024-01-19T22:05:43Z", + "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_9a25076718c94e6ca676e09472e4d702", + "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c"}, {"id": "rate_9f59890c83e748c8a7402b6056647967", + "object": "Rate", "created_at": "2024-01-19T22:05:43Z", "updated_at": "2024-01-19T22:05:43Z", + "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_9a25076718c94e6ca676e09472e4d702", + "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c"}, {"id": "rate_c8e1829520ce461f8b9887bf506850ed", + "object": "Rate", "created_at": "2024-01-19T22:05:43Z", "updated_at": "2024-01-19T22:05:43Z", + "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_9a25076718c94e6ca676e09472e4d702", + "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a"}, {"id": "rate_69729cd91cfc407a961f1827fe152c98", + "object": "Rate", "created_at": "2024-01-19T22:05:43Z", "updated_at": "2024-01-19T22:05:43Z", + "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_9a25076718c94e6ca676e09472e4d702", + "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a"}, {"id": "rate_b2a496e67be641dfbe793293a4606d08", + "object": "Rate", "created_at": "2024-01-19T22:05:43Z", "updated_at": "2024-01-19T22:05:43Z", + "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", + "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": + null, "list_rate": null, "list_currency": null, "billing_type": "carrier", + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": + null, "est_delivery_days": null, "shipment_id": "shp_9a25076718c94e6ca676e09472e4d702", + "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a"}, {"id": "rate_e8bbf4cbc6d94471a22d24563f81ad4e", + "object": "Rate", "created_at": "2024-01-19T22:05:43Z", "updated_at": "2024-01-19T22:05:43Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_9a25076718c94e6ca676e09472e4d702", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_3e78e648f015466a808dc40ede43b526", + "object": "Rate", "created_at": "2024-01-19T22:05:43Z", "updated_at": "2024-01-19T22:05:43Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_9a25076718c94e6ca676e09472e4d702", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_2ca25891b66a4967a1931ee88dba44f9", + "object": "Rate", "created_at": "2024-01-19T22:05:43Z", "updated_at": "2024-01-19T22:05:43Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_9a25076718c94e6ca676e09472e4d702", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_8b5fe82e139e4ec8b35d271bd0084293", "object": "Rate", "created_at": + "2024-01-19T22:05:43Z", "updated_at": "2024-01-19T22:05:43Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_9a25076718c94e6ca676e09472e4d702", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_385b0d06b1334e879c08f48061e7a687", "object": "Rate", "created_at": + "2024-01-19T22:05:43Z", "updated_at": "2024-01-19T22:05:43Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_9a25076718c94e6ca676e09472e4d702", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_e38b438db71611eebab2ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T22:05:42+00:00", "updated_at": "2024-01-19T22:05:42+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_e38e3550b71611ee8b36ac1f6bc539aa", "object": "Address", "created_at": + "2024-01-19T22:05:42+00:00", "updated_at": "2024-01-19T22:05:42+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_e38b438db71611eebab2ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:05:42+00:00", "updated_at": + "2024-01-19T22:05:42+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_9a25076718c94e6ca676e09472e4d702", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '16255' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_9a25076718c94e6ca676e09472e4d702 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf236e798d0ff0010c5cd + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.646345' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_scan_form_create.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_scan_form_create.yaml new file mode 100644 index 00000000..1c407fd9 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_scan_form_create.yaml @@ -0,0 +1,1851 @@ +interactions: +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:41:58Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010707764", "updated_at": "2024-01-19T21:41:59Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_142073111a41446b9f55fe177ab222b8", "object": "CustomsInfo", "created_at": + "2024-01-19T21:41:58Z", "updated_at": "2024-01-19T21:41:58Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_ad423f26fe384eefa71430ee43a30631", + "object": "CustomsItem", "created_at": "2024-01-19T21:41:58Z", "updated_at": + "2024-01-19T21:41:58Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_9284d509b71311eea334ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:41:58+00:00", "updated_at": + "2024-01-19T21:41:58+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_8ff20970f782487d938faa1e0deee0e2", + "object": "Parcel", "created_at": "2024-01-19T21:41:58Z", "updated_at": "2024-01-19T21:41:58Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_4ea183c1d27a4e598d84b24e75324549", "created_at": "2024-01-19T21:41:59Z", + "updated_at": "2024-01-19T21:41:59Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:41:59Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e87ca48e702e8947a5a5395d51c98b146a.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_111f0202fdc44a4694db730d261db3ec", "object": + "Rate", "created_at": "2024-01-19T21:41:58Z", "updated_at": "2024-01-19T21:41:58Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_b030f8d128e24002a205b6b78dc58fc3", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b4959c42ffba462f85ad63ea82a6ad1e", + "object": "Rate", "created_at": "2024-01-19T21:41:58Z", "updated_at": "2024-01-19T21:41:58Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_b030f8d128e24002a205b6b78dc58fc3", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_0f929f3a59744fb0a55b90bdfc6d4eeb", + "object": "Rate", "created_at": "2024-01-19T21:41:58Z", "updated_at": "2024-01-19T21:41:58Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_b030f8d128e24002a205b6b78dc58fc3", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_36f8c6b58c824220bd5bded8340bf8a4", "object": "Rate", "created_at": + "2024-01-19T21:41:58Z", "updated_at": "2024-01-19T21:41:58Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_b030f8d128e24002a205b6b78dc58fc3", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_c086faf932024645a6f29b0d394815b8", "object": "Rate", "created_at": + "2024-01-19T21:41:58Z", "updated_at": "2024-01-19T21:41:58Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_b030f8d128e24002a205b6b78dc58fc3", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_111f0202fdc44a4694db730d261db3ec", + "object": "Rate", "created_at": "2024-01-19T21:41:59Z", "updated_at": "2024-01-19T21:41:59Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_b030f8d128e24002a205b6b78dc58fc3", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_e7fdee8aba6c47768f82233469d88049", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010707764", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:41:59Z", + "updated_at": "2024-01-19T21:41:59Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_b030f8d128e24002a205b6b78dc58fc3", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrX2U3ZmRlZThhYmE2YzQ3NzY4ZjgyMjMzNDY5ZDg4MDQ5"}, + "to_address": {"id": "adr_9282b7cfb71311eeb311ac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T21:41:58+00:00", "updated_at": "2024-01-19T21:41:58+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_9284d509b71311eea334ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:41:58+00:00", "updated_at": + "2024-01-19T21:41:58+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_9282b7cfb71311eeb311ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:41:58+00:00", "updated_at": "2024-01-19T21:41:58+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_b030f8d128e24002a205b6b78dc58fc3", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_b030f8d128e24002a205b6b78dc58fc3 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaeca6e78b9f46000d0520 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.030154' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"scan_form": {"shipment": [{"id": "shp_b030f8d128e24002a205b6b78dc58fc3"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '77' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/scan_forms + response: + body: + string: '{"id": "sf_528ce3f9e7514f3e913981b96b31f43f", "object": "ScanForm", + "created_at": "2024-01-19T21:41:59Z", "updated_at": "2024-01-19T21:42:00Z", + "tracking_codes": ["9405500207552010707764"], "address": {"id": "adr_9284d509b71311eea334ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:41:58+00:00", "updated_at": + "2024-01-19T21:41:58+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "status": "created", "message": null, "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e854ab77cf96b1465ebf32276ca4fc78d1.pdf", + "form_file_type": null, "batch_id": "batch_ebb3185b929f4500afa690677d49ff33", + "confirmation": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '916' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaeca7e78b9f47000d05dd + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.242025' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:43:54Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010708082", "updated_at": "2024-01-19T21:43:55Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_ba0f6ec4cd074a51b7e4c746b4d638ec", "object": "CustomsInfo", "created_at": + "2024-01-19T21:43:54Z", "updated_at": "2024-01-19T21:43:54Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_1d3c75430d1545fb854e7e14afff60e0", + "object": "CustomsItem", "created_at": "2024-01-19T21:43:54Z", "updated_at": + "2024-01-19T21:43:54Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_d7b5bbf5b71311ee8bf4ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:43:54+00:00", "updated_at": + "2024-01-19T21:43:54+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_9044fe2289e04c4ca48075dca7d82770", + "object": "Parcel", "created_at": "2024-01-19T21:43:54Z", "updated_at": "2024-01-19T21:43:54Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_712ca9200ba64612837fa4c52c886759", "created_at": "2024-01-19T21:43:55Z", + "updated_at": "2024-01-19T21:43:55Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:43:55Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8fd05f56dd455442ab01a10ac741c3824.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_6b5543ef4c27436b9da0bf1a31b0eb10", "object": + "Rate", "created_at": "2024-01-19T21:43:54Z", "updated_at": "2024-01-19T21:43:54Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_00d930571e3a46bdbd5310840b4a4f3d", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_30c8d3c0450e46e5af07e4fb60304f51", + "object": "Rate", "created_at": "2024-01-19T21:43:54Z", "updated_at": "2024-01-19T21:43:54Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_00d930571e3a46bdbd5310840b4a4f3d", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_cbe7bf8f4a0e4e0b86700760a712f037", + "object": "Rate", "created_at": "2024-01-19T21:43:54Z", "updated_at": "2024-01-19T21:43:54Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_00d930571e3a46bdbd5310840b4a4f3d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_6c58336c9bad4d3f89b5ec070bbd4344", "object": "Rate", "created_at": + "2024-01-19T21:43:54Z", "updated_at": "2024-01-19T21:43:54Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_00d930571e3a46bdbd5310840b4a4f3d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_2e8bdce7592e443a9e691db1722fe4f5", "object": "Rate", "created_at": + "2024-01-19T21:43:54Z", "updated_at": "2024-01-19T21:43:54Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_00d930571e3a46bdbd5310840b4a4f3d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_6b5543ef4c27436b9da0bf1a31b0eb10", + "object": "Rate", "created_at": "2024-01-19T21:43:55Z", "updated_at": "2024-01-19T21:43:55Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_00d930571e3a46bdbd5310840b4a4f3d", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_492710fc6ed6464b9be885e98f6cf830", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708082", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:43:55Z", + "updated_at": "2024-01-19T21:43:55Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_00d930571e3a46bdbd5310840b4a4f3d", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzQ5MjcxMGZjNmVkNjQ2NGI5YmU4ODVlOThmNmNmODMw"}, + "to_address": {"id": "adr_d7b382a9b71311ee8bf3ac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T21:43:54+00:00", "updated_at": "2024-01-19T21:43:54+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_d7b5bbf5b71311ee8bf4ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:43:54+00:00", "updated_at": + "2024-01-19T21:43:54+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_d7b382a9b71311ee8bf3ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:43:54+00:00", "updated_at": "2024-01-19T21:43:54+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_00d930571e3a46bdbd5310840b4a4f3d", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_00d930571e3a46bdbd5310840b4a4f3d + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaed1ae78ba784000d4850 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.033384' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"scan_form": {"shipment": [{"id": "shp_00d930571e3a46bdbd5310840b4a4f3d"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '77' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/scan_forms + response: + body: + string: '{"id": "sf_5ba7748c5d0140b5a925d6edaa0ea318", "object": "ScanForm", + "created_at": "2024-01-19T21:43:55Z", "updated_at": "2024-01-19T21:43:56Z", + "tracking_codes": ["9405500207552010708082"], "address": {"id": "adr_d7b5bbf5b71311ee8bf4ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:43:54+00:00", "updated_at": + "2024-01-19T21:43:54+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "status": "created", "message": null, "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e89d698efbdc24402fa5be51c6181c9ab1.pdf", + "form_file_type": null, "batch_id": "batch_efcc021881af4acf9ca7641cad9bb5dd", + "confirmation": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '916' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaed1be78ba785000d4935 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.346109' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:47:47Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010708532", "updated_at": "2024-01-19T21:47:48Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_7ec4211641694ce2885d210ef7232b15", "object": "CustomsInfo", "created_at": + "2024-01-19T21:47:47Z", "updated_at": "2024-01-19T21:47:47Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_745ef5c38ec54939abef9a266b01c8b9", + "object": "CustomsItem", "created_at": "2024-01-19T21:47:47Z", "updated_at": + "2024-01-19T21:47:47Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_62769976b71411eea873ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:47:47+00:00", "updated_at": + "2024-01-19T21:47:47+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_7db15485303d45d58006b0a6e6738bc1", + "object": "Parcel", "created_at": "2024-01-19T21:47:47Z", "updated_at": "2024-01-19T21:47:47Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_9cf8fb46299549249a30c87d30cf8cc1", "created_at": "2024-01-19T21:47:47Z", + "updated_at": "2024-01-19T21:47:48Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:47:47Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e856459050de584ea1bb0d0be8c5e75061.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_6e4e91e625994e85af89ee1f3c5ed8f0", "object": + "Rate", "created_at": "2024-01-19T21:47:47Z", "updated_at": "2024-01-19T21:47:47Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_ab404bde61924348a0a434a3d29b21d5", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b95cde3b2d4043b0b67974561dbac020", + "object": "Rate", "created_at": "2024-01-19T21:47:47Z", "updated_at": "2024-01-19T21:47:47Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_ab404bde61924348a0a434a3d29b21d5", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_bf3353a987dd4856893cd54765a7a952", + "object": "Rate", "created_at": "2024-01-19T21:47:47Z", "updated_at": "2024-01-19T21:47:47Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_ab404bde61924348a0a434a3d29b21d5", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_45c0eeb8f59c42938e926bc2bbb268a1", + "object": "Rate", "created_at": "2024-01-19T21:47:47Z", "updated_at": "2024-01-19T21:47:47Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_ab404bde61924348a0a434a3d29b21d5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_78cc103bfb8f46b7ae56aefeb25dc331", "object": "Rate", "created_at": + "2024-01-19T21:47:47Z", "updated_at": "2024-01-19T21:47:47Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_ab404bde61924348a0a434a3d29b21d5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_b95cde3b2d4043b0b67974561dbac020", + "object": "Rate", "created_at": "2024-01-19T21:47:48Z", "updated_at": "2024-01-19T21:47:48Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_ab404bde61924348a0a434a3d29b21d5", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_2c63703baeb34badafe738e5c52adb1c", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708532", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:47:48Z", + "updated_at": "2024-01-19T21:47:48Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_ab404bde61924348a0a434a3d29b21d5", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzJjNjM3MDNiYWViMzRiYWRhZmU3MzhlNWM1MmFkYjFj"}, + "to_address": {"id": "adr_62742465b71411eeb80bac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T21:47:47+00:00", "updated_at": "2024-01-19T21:47:47+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_62769976b71411eea873ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:47:47+00:00", "updated_at": + "2024-01-19T21:47:47+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_62742465b71411eeb80bac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:47:47+00:00", "updated_at": "2024-01-19T21:47:47+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_ab404bde61924348a0a434a3d29b21d5", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_ab404bde61924348a0a434a3d29b21d5 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdab65aaee03e78bb00700113fcd + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '1.082454' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"scan_form": {"shipment": [{"id": "shp_ab404bde61924348a0a434a3d29b21d5"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '77' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/scan_forms + response: + body: + string: '{"id": "sf_35fbe62e13ef435490cdba50206bbe7d", "object": "ScanForm", + "created_at": "2024-01-19T21:47:48Z", "updated_at": "2024-01-19T21:47:49Z", + "tracking_codes": ["9405500207552010708532"], "address": {"id": "adr_62769976b71411eea873ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:47:47+00:00", "updated_at": + "2024-01-19T21:47:47+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "status": "created", "message": null, "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e8273a04dec4a04b608b4dfa3f62081637.pdf", + "form_file_type": null, "batch_id": "batch_651da9cd311940a79b00fcc31407e1f3", + "confirmation": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '916' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda865aaee04e78bb008001140a2 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.356216' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:49:42Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010709096", "updated_at": "2024-01-19T21:49:43Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_bf41b58932264704b2a74a06564ced94", "object": "CustomsInfo", "created_at": + "2024-01-19T21:49:42Z", "updated_at": "2024-01-19T21:49:42Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_20a5eaa081954403b85146f3f260e8c0", + "object": "CustomsItem", "created_at": "2024-01-19T21:49:42Z", "updated_at": + "2024-01-19T21:49:42Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_a70a3548b71411eebeffac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:49:42+00:00", "updated_at": + "2024-01-19T21:49:42+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_6f6285c0d4624da4a14bed6623f1e622", + "object": "Parcel", "created_at": "2024-01-19T21:49:42Z", "updated_at": "2024-01-19T21:49:42Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_e168ab64e5d448f8bb3aa462416f2114", "created_at": "2024-01-19T21:49:43Z", + "updated_at": "2024-01-19T21:49:43Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:49:43Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8232936c65406470d8290187607d2ac4c.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_5fb93e55bfb342e689408f638e287bfd", "object": + "Rate", "created_at": "2024-01-19T21:49:42Z", "updated_at": "2024-01-19T21:49:42Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_8df979b0c6354a3b868805b75df2bf49", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4e55e64ae7ca4099898cfbb454306ed6", + "object": "Rate", "created_at": "2024-01-19T21:49:42Z", "updated_at": "2024-01-19T21:49:42Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_8df979b0c6354a3b868805b75df2bf49", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c8812aa823164194906581e6fee5cc2f", + "object": "Rate", "created_at": "2024-01-19T21:49:42Z", "updated_at": "2024-01-19T21:49:42Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_8df979b0c6354a3b868805b75df2bf49", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_bb44db8b6c544760a53a9ed9902cbbf8", "object": "Rate", "created_at": + "2024-01-19T21:49:42Z", "updated_at": "2024-01-19T21:49:42Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_8df979b0c6354a3b868805b75df2bf49", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_28ad6bf06b144c208b852ac47dc5d1da", "object": "Rate", "created_at": + "2024-01-19T21:49:42Z", "updated_at": "2024-01-19T21:49:42Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_8df979b0c6354a3b868805b75df2bf49", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_5fb93e55bfb342e689408f638e287bfd", + "object": "Rate", "created_at": "2024-01-19T21:49:43Z", "updated_at": "2024-01-19T21:49:43Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_8df979b0c6354a3b868805b75df2bf49", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_735e6328a15d44b293a25b89ce98eebd", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010709096", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:49:43Z", + "updated_at": "2024-01-19T21:49:43Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_8df979b0c6354a3b868805b75df2bf49", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzczNWU2MzI4YTE1ZDQ0YjI5M2EyNWI4OWNlOThlZWJk"}, + "to_address": {"id": "adr_a707259db71411eebbe13cecef1b359e", "object": "Address", + "created_at": "2024-01-19T21:49:42+00:00", "updated_at": "2024-01-19T21:49:42+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_a70a3548b71411eebeffac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:49:42+00:00", "updated_at": + "2024-01-19T21:49:42+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_a707259db71411eebbe13cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:49:42+00:00", "updated_at": "2024-01-19T21:49:42+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_8df979b0c6354a3b868805b75df2bf49", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_8df979b0c6354a3b868805b75df2bf49 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdad65aaee76e78bb533001181f6 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '1.187689' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"scan_form": {"shipment": [{"id": "shp_8df979b0c6354a3b868805b75df2bf49"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '77' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/scan_forms + response: + body: + string: '{"id": "sf_762d602eff76455da1ab54d121ff3bbe", "object": "ScanForm", + "created_at": "2024-01-19T21:49:43Z", "updated_at": "2024-01-19T21:49:44Z", + "tracking_codes": ["9405500207552010709096"], "address": {"id": "adr_a70a3548b71411eebeffac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:49:42+00:00", "updated_at": + "2024-01-19T21:49:42+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "status": "created", "message": null, "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e8de1193e8f1184c65886039f7ec5abd07.pdf", + "form_file_type": null, "batch_id": "batch_fa8848faaaa84168a3a63074a3349db8", + "confirmation": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '916' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdae65aaee77e78bb534001182b3 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.379741' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:59:01Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010711532", "updated_at": "2024-01-19T21:59:02Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_317a8b33a2224344a22cb40b851c7ec1", "object": "CustomsInfo", "created_at": + "2024-01-19T21:59:01Z", "updated_at": "2024-01-19T21:59:01Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_14d1b4b1e96d4f018104799981f18d48", + "object": "CustomsItem", "created_at": "2024-01-19T21:59:01Z", "updated_at": + "2024-01-19T21:59:01Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_f43a394db71511eeacdbac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:59:01+00:00", "updated_at": + "2024-01-19T21:59:01+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_6b270c2da89f4ee3a469ca8adfaf4700", + "object": "Parcel", "created_at": "2024-01-19T21:59:01Z", "updated_at": "2024-01-19T21:59:01Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_675dfb981ec1495295f84a8af171a4c1", "created_at": "2024-01-19T21:59:02Z", + "updated_at": "2024-01-19T21:59:02Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:59:02Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e88a9e038a264846e0924a409c02488c71.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_3e4a870fd7fd4b72b199839c25d56712", "object": + "Rate", "created_at": "2024-01-19T21:59:01Z", "updated_at": "2024-01-19T21:59:01Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_f27871ae1d4b4280a48d2b72dd529075", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_d8eb0ab66754490ab5673683084a655b", + "object": "Rate", "created_at": "2024-01-19T21:59:01Z", "updated_at": "2024-01-19T21:59:01Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_f27871ae1d4b4280a48d2b72dd529075", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_dd2d61d27ab84536ba944a569d92035d", + "object": "Rate", "created_at": "2024-01-19T21:59:01Z", "updated_at": "2024-01-19T21:59:01Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_f27871ae1d4b4280a48d2b72dd529075", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_db2df336060b404b9bfde6db9863a91f", "object": "Rate", "created_at": + "2024-01-19T21:59:01Z", "updated_at": "2024-01-19T21:59:01Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_f27871ae1d4b4280a48d2b72dd529075", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_7266c780f375409ab218681aead74e76", "object": "Rate", "created_at": + "2024-01-19T21:59:01Z", "updated_at": "2024-01-19T21:59:01Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_f27871ae1d4b4280a48d2b72dd529075", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_3e4a870fd7fd4b72b199839c25d56712", + "object": "Rate", "created_at": "2024-01-19T21:59:02Z", "updated_at": "2024-01-19T21:59:02Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_f27871ae1d4b4280a48d2b72dd529075", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_358fa0190dd2445aabfccb1fe6fd731d", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711532", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:59:02Z", + "updated_at": "2024-01-19T21:59:02Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_f27871ae1d4b4280a48d2b72dd529075", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzM1OGZhMDE5MGRkMjQ0NWFhYmZjY2IxZmU2ZmQ3MzFk"}, + "to_address": {"id": "adr_f43816ddb71511eebd46ac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T21:59:01+00:00", "updated_at": "2024-01-19T21:59:01+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_f43a394db71511eeacdbac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:59:01+00:00", "updated_at": + "2024-01-19T21:59:01+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_f43816ddb71511eebd46ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:59:01+00:00", "updated_at": "2024-01-19T21:59:01+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_f27871ae1d4b4280a48d2b72dd529075", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_f27871ae1d4b4280a48d2b72dd529075 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaf0a5e798bfc0000f8487 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.182988' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"scan_form": {"shipment": [{"id": "shp_f27871ae1d4b4280a48d2b72dd529075"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '77' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/scan_forms + response: + body: + string: '{"id": "sf_45b76001e6ac438d8729b5f832b46bef", "object": "ScanForm", + "created_at": "2024-01-19T21:59:02Z", "updated_at": "2024-01-19T21:59:03Z", + "tracking_codes": ["9405500207552010711532"], "address": {"id": "adr_f43a394db71511eeacdbac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:59:01+00:00", "updated_at": + "2024-01-19T21:59:01+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "status": "created", "message": null, "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e8225f012a88a64dd48c3f4701389b743f.pdf", + "form_file_type": null, "batch_id": "batch_49608fbf9a124bc3969b509f7a96a678", + "confirmation": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '916' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaf0a6e798bfd8000f8583 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.243389' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T22:01:56Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010711952", "updated_at": "2024-01-19T22:01:57Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_9e5e510ec9b14117bdf18a7612f85ffa", "object": "CustomsInfo", "created_at": + "2024-01-19T22:01:56Z", "updated_at": "2024-01-19T22:01:56Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_212c173d1c2642948154a1deb79be76d", + "object": "CustomsItem", "created_at": "2024-01-19T22:01:56Z", "updated_at": + "2024-01-19T22:01:56Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_5c840fe4b71611ee8ea1ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:01:56+00:00", "updated_at": + "2024-01-19T22:01:56+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_2968be35348143beb643a97dedc3f99d", + "object": "Parcel", "created_at": "2024-01-19T22:01:56Z", "updated_at": "2024-01-19T22:01:56Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_a60a26a63db64592ae13f694360b657d", "created_at": "2024-01-19T22:01:56Z", + "updated_at": "2024-01-19T22:01:57Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T22:01:56Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8683cc5b120d84a83b547bffd537a0201.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_eb22c5836f464069ae85781d1209ef5f", "object": + "Rate", "created_at": "2024-01-19T22:01:56Z", "updated_at": "2024-01-19T22:01:56Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_fa817114ac2b40259ce478f44406ec5f", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_2bc7275f786143c8b4c72aecbefccdf2", + "object": "Rate", "created_at": "2024-01-19T22:01:56Z", "updated_at": "2024-01-19T22:01:56Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_fa817114ac2b40259ce478f44406ec5f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_70c929217ded42b7a385d7afd3d54ce8", "object": "Rate", "created_at": + "2024-01-19T22:01:56Z", "updated_at": "2024-01-19T22:01:56Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_fa817114ac2b40259ce478f44406ec5f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_443a71f05f9a4f19b368df1b3d0fe223", "object": "Rate", "created_at": + "2024-01-19T22:01:56Z", "updated_at": "2024-01-19T22:01:56Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_fa817114ac2b40259ce478f44406ec5f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_b04b8275d97c459cbea6700f48f1712d", "object": "Rate", "created_at": + "2024-01-19T22:01:56Z", "updated_at": "2024-01-19T22:01:56Z", "mode": "test", + "service": "Priority", "carrier": "USPS", "rate": "7.99", "currency": "USD", + "retail_rate": "14.05", "retail_currency": "USD", "list_rate": "10.27", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": + "shp_fa817114ac2b40259ce478f44406ec5f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_b04b8275d97c459cbea6700f48f1712d", + "object": "Rate", "created_at": "2024-01-19T22:01:57Z", "updated_at": "2024-01-19T22:01:57Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_fa817114ac2b40259ce478f44406ec5f", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_cbe54916122846f0ad426769abd98ee6", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711952", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:01:57Z", + "updated_at": "2024-01-19T22:01:57Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_fa817114ac2b40259ce478f44406ec5f", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrX2NiZTU0OTE2MTIyODQ2ZjBhZDQyNjc2OWFiZDk4ZWU2"}, + "to_address": {"id": "adr_5c82498ab71611ee8c763cecef1b359e", "object": "Address", + "created_at": "2024-01-19T22:01:56+00:00", "updated_at": "2024-01-19T22:01:56+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_5c840fe4b71611ee8ea1ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:01:56+00:00", "updated_at": + "2024-01-19T22:01:56+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_5c82498ab71611ee8c763cecef1b359e", "object": + "Address", "created_at": "2024-01-19T22:01:56+00:00", "updated_at": "2024-01-19T22:01:56+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_fa817114ac2b40259ce478f44406ec5f", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_fa817114ac2b40259ce478f44406ec5f + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf154e798c83c00101fb9 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.997149' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"scan_form": {"shipment": [{"id": "shp_fa817114ac2b40259ce478f44406ec5f"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '77' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/scan_forms + response: + body: + string: '{"id": "sf_0b89942c2c09432c83cc1c05dd24199c", "object": "ScanForm", + "created_at": "2024-01-19T22:01:57Z", "updated_at": "2024-01-19T22:01:57Z", + "tracking_codes": ["9405500207552010711952"], "address": {"id": "adr_5c840fe4b71611ee8ea1ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:01:56+00:00", "updated_at": + "2024-01-19T22:01:56+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "status": "created", "message": null, "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e88376d17a3bc14a078ad3ab515231e6ab.pdf", + "form_file_type": null, "batch_id": "batch_ef95d7e7135c43ffaa1d6d23c6a92b8c", + "confirmation": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '916' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaf155e798c83d0010208b + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.355404' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T22:05:44Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010712782", "updated_at": "2024-01-19T22:05:45Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_55396e7df7ed4b5a89451a3e80650cab", "object": "CustomsInfo", "created_at": + "2024-01-19T22:05:44Z", "updated_at": "2024-01-19T22:05:44Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_e5a2ba1046714bb6b50038853250b9e8", + "object": "CustomsItem", "created_at": "2024-01-19T22:05:44Z", "updated_at": + "2024-01-19T22:05:44Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_e430bca5b71611eeb9133cecef1b359e", + "object": "Address", "created_at": "2024-01-19T22:05:44+00:00", "updated_at": + "2024-01-19T22:05:44+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_4ed86b6044b74d708a02cbf82faccd76", + "object": "Parcel", "created_at": "2024-01-19T22:05:44Z", "updated_at": "2024-01-19T22:05:44Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_b25954d82ed645e3b18ff815ec6b956b", "created_at": "2024-01-19T22:05:44Z", + "updated_at": "2024-01-19T22:05:44Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T22:05:44Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e832f1ed8aff654f28b0fe1f985b30bf49.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_458cd1c69a604bfd989581ff1c6f3939", "object": + "Rate", "created_at": "2024-01-19T22:05:44Z", "updated_at": "2024-01-19T22:05:44Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_9d6d484229e94a388171b00279d2fc0a", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_19c39dbd9e5c4c80a118d0f07bf86a8f", + "object": "Rate", "created_at": "2024-01-19T22:05:44Z", "updated_at": "2024-01-19T22:05:44Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_9d6d484229e94a388171b00279d2fc0a", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_88b059ea51d147649f26a9ef123fe5f6", + "object": "Rate", "created_at": "2024-01-19T22:05:44Z", "updated_at": "2024-01-19T22:05:44Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_9d6d484229e94a388171b00279d2fc0a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_fa29e292d3b14915bc78f0f2c5fc7a8a", "object": "Rate", "created_at": + "2024-01-19T22:05:44Z", "updated_at": "2024-01-19T22:05:44Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_9d6d484229e94a388171b00279d2fc0a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_6cb902f9cf0849d48ae3a92b56195ac5", "object": "Rate", "created_at": + "2024-01-19T22:05:44Z", "updated_at": "2024-01-19T22:05:44Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_9d6d484229e94a388171b00279d2fc0a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_458cd1c69a604bfd989581ff1c6f3939", + "object": "Rate", "created_at": "2024-01-19T22:05:44Z", "updated_at": "2024-01-19T22:05:44Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_9d6d484229e94a388171b00279d2fc0a", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_bc89b40b71884a7a995d52a520a436bf", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010712782", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:05:45Z", + "updated_at": "2024-01-19T22:05:45Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_9d6d484229e94a388171b00279d2fc0a", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrX2JjODliNDBiNzE4ODRhN2E5OTVkNTJhNTIwYTQzNmJm"}, + "to_address": {"id": "adr_e42c96b7b71611eeb9113cecef1b359e", "object": "Address", + "created_at": "2024-01-19T22:05:44+00:00", "updated_at": "2024-01-19T22:05:44+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_e430bca5b71611eeb9133cecef1b359e", + "object": "Address", "created_at": "2024-01-19T22:05:44+00:00", "updated_at": + "2024-01-19T22:05:44+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_e42c96b7b71611eeb9113cecef1b359e", "object": + "Address", "created_at": "2024-01-19T22:05:44+00:00", "updated_at": "2024-01-19T22:05:44+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_9d6d484229e94a388171b00279d2fc0a", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_9d6d484229e94a388171b00279d2fc0a + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf237e798d1000010c683 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.094809' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"scan_form": {"shipment": [{"id": "shp_9d6d484229e94a388171b00279d2fc0a"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '77' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/scan_forms + response: + body: + string: '{"id": "sf_9a6e14768208452c97415cc75a6ca504", "object": "ScanForm", + "created_at": "2024-01-19T22:05:45Z", "updated_at": "2024-01-19T22:05:45Z", + "tracking_codes": ["9405500207552010712782"], "address": {"id": "adr_e430bca5b71611eeb9133cecef1b359e", + "object": "Address", "created_at": "2024-01-19T22:05:44+00:00", "updated_at": + "2024-01-19T22:05:44+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "status": "created", "message": null, "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e8910ae53b2803417285d9078885c26254.pdf", + "form_file_type": null, "batch_id": "batch_0d9a9eb50f0b4dc68b32b25d61a61a7d", + "confirmation": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '916' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf239e798d1010010c765 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.509491' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_scan_form_list.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_scan_form_list.yaml new file mode 100644 index 00000000..8fd7515b --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_scan_form_list.yaml @@ -0,0 +1,506 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/scan_forms?page_size=1 + response: + body: + string: '{"scan_forms": [{"id": "sf_7da5cfcbb18448a1b8557d6f46dcfd63", "object": + "ScanForm", "created_at": "2024-01-19T21:42:01Z", "updated_at": "2024-01-19T21:42:02Z", + "tracking_codes": ["9405500207552010707771"], "address": {"id": "adr_939e948eb71311eeb35fac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:42:00+00:00", "updated_at": + "2024-01-19T21:42:00+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "status": "created", "message": null, "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e88e3aaa0500a342a6ba20d2fe6c3cd189.pdf", + "form_file_type": null, "batch_id": "batch_20ed0a5f5e4f4e5c8cf2b4f966ceb924", + "confirmation": null}], "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '949' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaecaae78b9f63000d0754 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.041722' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/scan_forms?page_size=1 + response: + body: + string: '{"scan_forms": [{"id": "sf_f25eda89a8074a699f6f76c8eaaa349e", "object": + "ScanForm", "created_at": "2024-01-19T21:43:58Z", "updated_at": "2024-01-19T21:43:58Z", + "tracking_codes": ["9405500207552010708099"], "address": {"id": "adr_d8e39620b71311eebd5cac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:43:56+00:00", "updated_at": + "2024-01-19T21:43:56+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "status": "created", "message": null, "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e8ccdd7972f6884e22a024ae6835e7dd0d.pdf", + "form_file_type": null, "batch_id": "batch_b03a60bcbc3a4304b454870debb18a95", + "confirmation": null}], "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '949' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaed1ee78ba789000d4b3c + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.044192' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/scan_forms?page_size=1 + response: + body: + string: '{"scan_forms": [{"id": "sf_2c81f564c6354c7d830d919480c6df4c", "object": + "ScanForm", "created_at": "2024-01-19T21:47:50Z", "updated_at": "2024-01-19T21:47:51Z", + "tracking_codes": ["9405500207552010708549"], "address": {"id": "adr_63b80d85b71411eeb872ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:47:49+00:00", "updated_at": + "2024-01-19T21:47:49+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "status": "created", "message": null, "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e8497c81ee5e3344c5b5571076d5b115e0.pdf", + "form_file_type": null, "batch_id": "batch_b3eff1db86ca4e1fa0fe94dca8cfe387", + "confirmation": null}], "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '949' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdae65aaee07e78bb00c001142a4 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.041933' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/scan_forms?page_size=1 + response: + body: + string: '{"scan_forms": [{"id": "sf_1be115f4129540d9a9d554293979dcd2", "object": + "ScanForm", "created_at": "2024-01-19T21:49:46Z", "updated_at": "2024-01-19T21:49:46Z", + "tracking_codes": ["9405500207552010709102"], "address": {"id": "adr_a84db4e5b71411ee8db7ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:49:44+00:00", "updated_at": + "2024-01-19T21:49:44+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "status": "created", "message": null, "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e89fb1eea90766417a97ffcbd97f34758f.pdf", + "form_file_type": null, "batch_id": "batch_1f2b6f67ee9441d0a4665930a68332c4", + "confirmation": null}], "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '949' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdaa65aaee7be78bb8460011846a + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.045236' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/scan_forms?page_size=1 + response: + body: + string: '{"scan_forms": [{"id": "sf_1eb4a2f980fc40feb3c821ce3e6ca278", "object": + "ScanForm", "created_at": "2024-01-19T21:59:04Z", "updated_at": "2024-01-19T21:59:05Z", + "tracking_codes": ["9405500207552010711549"], "address": {"id": "adr_f56b9bb7b71511eebda6ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:59:03+00:00", "updated_at": + "2024-01-19T21:59:03+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "status": "created", "message": null, "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e88f3d9ee4a5a6448ebf1455c89f5a640a.pdf", + "form_file_type": null, "batch_id": "batch_cfd9e0a3dee34f68b8eead06b7c9b995", + "confirmation": null}], "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '949' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaf0a9e798bfdc000f8774 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.039735' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/scan_forms?page_size=1 + response: + body: + string: '{"scan_forms": [{"id": "sf_aaa1967cefe54ba389850a28c61bb704", "object": + "ScanForm", "created_at": "2024-01-19T22:02:00Z", "updated_at": "2024-01-19T22:02:00Z", + "tracking_codes": ["9405500207552010711969"], "address": {"id": "adr_5dbc0d4eb71611ee8ef8ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:01:58+00:00", "updated_at": + "2024-01-19T22:01:58+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "status": "created", "message": null, "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e86363cd2729314ce3a405dc645e3e2edf.pdf", + "form_file_type": null, "batch_id": "batch_aebd0d167bf542e788a9eb1bb2a62fb2", + "confirmation": null}], "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '949' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaf159e798c84100102331 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.045735' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/scan_forms?page_size=1 + response: + body: + string: '{"scan_forms": [{"id": "sf_1de4ead0dce34c4387c7836727c39c33", "object": + "ScanForm", "created_at": "2024-01-19T22:05:48Z", "updated_at": "2024-01-19T22:05:48Z", + "tracking_codes": ["9405500207552010712812"], "address": {"id": "adr_e5cd9cfdb71611eebe4cac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T22:05:46+00:00", "updated_at": + "2024-01-19T22:05:46+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "status": "created", "message": null, "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e8c5d3ed3cc27e475da3b25c1da9d6fd3b.pdf", + "form_file_type": null, "batch_id": "batch_1159df9904bb4176918e6bb190604a18", + "confirmation": null}], "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '949' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf23de798d1050010ca27 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.051069' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_scan_form_retrieve.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_scan_form_retrieve.yaml new file mode 100644 index 00000000..ccfd03de --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_scan_form_retrieve.yaml @@ -0,0 +1,2353 @@ +interactions: +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:42:00Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010707771", "updated_at": "2024-01-19T21:42:01Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_b8df8ab18426437884d0bdbcc8cd7a38", "object": "CustomsInfo", "created_at": + "2024-01-19T21:42:00Z", "updated_at": "2024-01-19T21:42:00Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_70b1522825c645659169b66fed6c5ff8", + "object": "CustomsItem", "created_at": "2024-01-19T21:42:00Z", "updated_at": + "2024-01-19T21:42:00Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_939e948eb71311eeb35fac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:42:00+00:00", "updated_at": + "2024-01-19T21:42:00+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_3ae2306725f2419cb812702fab0e8879", + "object": "Parcel", "created_at": "2024-01-19T21:42:00Z", "updated_at": "2024-01-19T21:42:00Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_7123fce93f754da197413633321ea20f", "created_at": "2024-01-19T21:42:01Z", + "updated_at": "2024-01-19T21:42:01Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:42:01Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8d34f289678574f3fa795bbf64a495e47.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_e2a94cdc60d2464aa89a69d29cf12f7a", "object": + "Rate", "created_at": "2024-01-19T21:42:00Z", "updated_at": "2024-01-19T21:42:00Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_cf8e56cf20974b3da7c68ef7da9c1718", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_e68bd3f50b7d499a99ce5936e5376154", + "object": "Rate", "created_at": "2024-01-19T21:42:00Z", "updated_at": "2024-01-19T21:42:00Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_cf8e56cf20974b3da7c68ef7da9c1718", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_233e3d437e8c4c1a969f94b4c751d1f9", + "object": "Rate", "created_at": "2024-01-19T21:42:00Z", "updated_at": "2024-01-19T21:42:00Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_cf8e56cf20974b3da7c68ef7da9c1718", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_05ca078c91cb4f90a7544b18ece7c135", + "object": "Rate", "created_at": "2024-01-19T21:42:00Z", "updated_at": "2024-01-19T21:42:00Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_cf8e56cf20974b3da7c68ef7da9c1718", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_afc77f652bbb4f94a8b679a1afdf9547", "object": "Rate", "created_at": + "2024-01-19T21:42:00Z", "updated_at": "2024-01-19T21:42:00Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_cf8e56cf20974b3da7c68ef7da9c1718", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_e68bd3f50b7d499a99ce5936e5376154", + "object": "Rate", "created_at": "2024-01-19T21:42:01Z", "updated_at": "2024-01-19T21:42:01Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_cf8e56cf20974b3da7c68ef7da9c1718", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_73461d4218344b6198a1736e508a8cbf", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010707771", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:42:01Z", + "updated_at": "2024-01-19T21:42:01Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_cf8e56cf20974b3da7c68ef7da9c1718", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzczNDYxZDQyMTgzNDRiNjE5OGExNzM2ZTUwOGE4Y2Jm"}, + "to_address": {"id": "adr_939be8d4b71311eea487ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:42:00+00:00", "updated_at": "2024-01-19T21:42:00+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_939e948eb71311eeb35fac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:42:00+00:00", "updated_at": + "2024-01-19T21:42:00+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_939be8d4b71311eea487ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:42:00+00:00", "updated_at": "2024-01-19T21:42:00+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_cf8e56cf20974b3da7c68ef7da9c1718", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_cf8e56cf20974b3da7c68ef7da9c1718 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaeca8e78b9f48000d062d + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.226120' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"scan_form": {"shipment": [{"id": "shp_cf8e56cf20974b3da7c68ef7da9c1718"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '77' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/scan_forms + response: + body: + string: '{"id": "sf_7da5cfcbb18448a1b8557d6f46dcfd63", "object": "ScanForm", + "created_at": "2024-01-19T21:42:01Z", "updated_at": "2024-01-19T21:42:02Z", + "tracking_codes": ["9405500207552010707771"], "address": {"id": "adr_939e948eb71311eeb35fac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:42:00+00:00", "updated_at": + "2024-01-19T21:42:00+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "status": "created", "message": null, "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e88e3aaa0500a342a6ba20d2fe6c3cd189.pdf", + "form_file_type": null, "batch_id": "batch_20ed0a5f5e4f4e5c8cf2b4f966ceb924", + "confirmation": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '916' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaeca9e78b9f4a000d06f4 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.260452' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/scan_forms/sf_7da5cfcbb18448a1b8557d6f46dcfd63 + response: + body: + string: '{"id": "sf_7da5cfcbb18448a1b8557d6f46dcfd63", "object": "ScanForm", + "created_at": "2024-01-19T21:42:01Z", "updated_at": "2024-01-19T21:42:02Z", + "tracking_codes": ["9405500207552010707771"], "address": {"id": "adr_939e948eb71311eeb35fac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:42:00+00:00", "updated_at": + "2024-01-19T21:42:00+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "status": "created", "message": null, "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e88e3aaa0500a342a6ba20d2fe6c3cd189.pdf", + "form_file_type": null, "batch_id": "batch_20ed0a5f5e4f4e5c8cf2b4f966ceb924", + "confirmation": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '916' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaecaae78b9f4b000d072c + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.058835' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:43:56Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010708099", "updated_at": "2024-01-19T21:43:57Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_44de8cf3040d4c4681d4460cd76ad867", "object": "CustomsInfo", "created_at": + "2024-01-19T21:43:56Z", "updated_at": "2024-01-19T21:43:56Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_b821210fd766418bb3fcff593d7f2d6e", + "object": "CustomsItem", "created_at": "2024-01-19T21:43:56Z", "updated_at": + "2024-01-19T21:43:56Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_d8e39620b71311eebd5cac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:43:56+00:00", "updated_at": + "2024-01-19T21:43:56+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_79113baf47d44d568056e217b0fd5c82", + "object": "Parcel", "created_at": "2024-01-19T21:43:56Z", "updated_at": "2024-01-19T21:43:56Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_fc082d6a1c134fdcba446681503f5395", "created_at": "2024-01-19T21:43:57Z", + "updated_at": "2024-01-19T21:43:57Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:43:57Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8b7046c350b564342b0f7190c7eb061e7.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_e23a64d44fd2445bb73a85632d30bb8a", "object": + "Rate", "created_at": "2024-01-19T21:43:56Z", "updated_at": "2024-01-19T21:43:56Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_6ffa3fa64a8243629566ceef79076b0e", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_ba6b68e5d5174ce1a99cced7b6a54501", + "object": "Rate", "created_at": "2024-01-19T21:43:56Z", "updated_at": "2024-01-19T21:43:56Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_6ffa3fa64a8243629566ceef79076b0e", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_2249968fac32416391f9e4e47dd41433", + "object": "Rate", "created_at": "2024-01-19T21:43:56Z", "updated_at": "2024-01-19T21:43:56Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_6ffa3fa64a8243629566ceef79076b0e", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_74903299d59b4eed9823e16668a51067", "object": "Rate", "created_at": + "2024-01-19T21:43:56Z", "updated_at": "2024-01-19T21:43:56Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_6ffa3fa64a8243629566ceef79076b0e", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_9f24327adb11459180bcbebff740fa25", "object": "Rate", "created_at": + "2024-01-19T21:43:56Z", "updated_at": "2024-01-19T21:43:56Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_6ffa3fa64a8243629566ceef79076b0e", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_e23a64d44fd2445bb73a85632d30bb8a", + "object": "Rate", "created_at": "2024-01-19T21:43:57Z", "updated_at": "2024-01-19T21:43:57Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_6ffa3fa64a8243629566ceef79076b0e", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_19cda064a4c248dc91f9fcc2901c8cce", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708099", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:43:57Z", + "updated_at": "2024-01-19T21:43:57Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_6ffa3fa64a8243629566ceef79076b0e", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzE5Y2RhMDY0YTRjMjQ4ZGM5MWY5ZmNjMjkwMWM4Y2Nl"}, + "to_address": {"id": "adr_d8e13c66b71311eebae73cecef1b359e", "object": "Address", + "created_at": "2024-01-19T21:43:56+00:00", "updated_at": "2024-01-19T21:43:56+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_d8e39620b71311eebd5cac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:43:56+00:00", "updated_at": + "2024-01-19T21:43:56+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_d8e13c66b71311eebae73cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:43:56+00:00", "updated_at": "2024-01-19T21:43:56+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_6ffa3fa64a8243629566ceef79076b0e", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_6ffa3fa64a8243629566ceef79076b0e + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaed1ce78ba786000d49c1 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.142754' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"scan_form": {"shipment": [{"id": "shp_6ffa3fa64a8243629566ceef79076b0e"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '77' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/scan_forms + response: + body: + string: '{"id": "sf_f25eda89a8074a699f6f76c8eaaa349e", "object": "ScanForm", + "created_at": "2024-01-19T21:43:58Z", "updated_at": "2024-01-19T21:43:58Z", + "tracking_codes": ["9405500207552010708099"], "address": {"id": "adr_d8e39620b71311eebd5cac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:43:56+00:00", "updated_at": + "2024-01-19T21:43:56+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "status": "created", "message": null, "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e8ccdd7972f6884e22a024ae6835e7dd0d.pdf", + "form_file_type": null, "batch_id": "batch_b03a60bcbc3a4304b454870debb18a95", + "confirmation": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '916' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaed1de78ba787000d4ab3 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.282048' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/scan_forms/sf_f25eda89a8074a699f6f76c8eaaa349e + response: + body: + string: '{"id": "sf_f25eda89a8074a699f6f76c8eaaa349e", "object": "ScanForm", + "created_at": "2024-01-19T21:43:58Z", "updated_at": "2024-01-19T21:43:58Z", + "tracking_codes": ["9405500207552010708099"], "address": {"id": "adr_d8e39620b71311eebd5cac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:43:56+00:00", "updated_at": + "2024-01-19T21:43:56+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "status": "created", "message": null, "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e8ccdd7972f6884e22a024ae6835e7dd0d.pdf", + "form_file_type": null, "batch_id": "batch_b03a60bcbc3a4304b454870debb18a95", + "confirmation": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '916' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaed1ee78ba788000d4b12 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.033475' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:47:49Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010708549", "updated_at": "2024-01-19T21:47:50Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_c7479a268d604b0681baeea11f921e74", "object": "CustomsInfo", "created_at": + "2024-01-19T21:47:49Z", "updated_at": "2024-01-19T21:47:49Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_3c687cce810c47e3b4b8599cce4b7341", + "object": "CustomsItem", "created_at": "2024-01-19T21:47:49Z", "updated_at": + "2024-01-19T21:47:49Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_63b80d85b71411eeb872ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:47:49+00:00", "updated_at": + "2024-01-19T21:47:49+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_8478aa9464a24675a1cf63b2184c59be", + "object": "Parcel", "created_at": "2024-01-19T21:47:49Z", "updated_at": "2024-01-19T21:47:49Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_5a6004eb623a4e63bd6d826905066980", "created_at": "2024-01-19T21:47:50Z", + "updated_at": "2024-01-19T21:47:50Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:47:50Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8c162a623d0c94394a16cfec16ad00ce4.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_fa30f85afd164334bc378eb0b6bcae9a", "object": + "Rate", "created_at": "2024-01-19T21:47:49Z", "updated_at": "2024-01-19T21:47:49Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_3520e5b9d85d464389c46c01f34a943a", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f5aafb9f1fe547ef878883d7fb4dd51b", + "object": "Rate", "created_at": "2024-01-19T21:47:49Z", "updated_at": "2024-01-19T21:47:49Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_3520e5b9d85d464389c46c01f34a943a", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_26f0a3d0877545649e010f7a8a268f13", + "object": "Rate", "created_at": "2024-01-19T21:47:49Z", "updated_at": "2024-01-19T21:47:49Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_3520e5b9d85d464389c46c01f34a943a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_7a083ecc7b8c4d2bb7aa73e10dc31629", "object": "Rate", "created_at": + "2024-01-19T21:47:49Z", "updated_at": "2024-01-19T21:47:49Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_3520e5b9d85d464389c46c01f34a943a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_c62cb64690504e2e95c1f197d40f4388", "object": "Rate", "created_at": + "2024-01-19T21:47:49Z", "updated_at": "2024-01-19T21:47:49Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_3520e5b9d85d464389c46c01f34a943a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_fa30f85afd164334bc378eb0b6bcae9a", + "object": "Rate", "created_at": "2024-01-19T21:47:50Z", "updated_at": "2024-01-19T21:47:50Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_3520e5b9d85d464389c46c01f34a943a", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_3964cdba1dc94256b352d7333095e9ba", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708549", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:47:50Z", + "updated_at": "2024-01-19T21:47:50Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_3520e5b9d85d464389c46c01f34a943a", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzM5NjRjZGJhMWRjOTQyNTZiMzUyZDczMzMwOTVlOWJh"}, + "to_address": {"id": "adr_63b62bc4b71411eeaa05ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:47:49+00:00", "updated_at": "2024-01-19T21:47:49+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_63b80d85b71411eeb872ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:47:49+00:00", "updated_at": + "2024-01-19T21:47:49+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_63b62bc4b71411eeaa05ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:47:49+00:00", "updated_at": "2024-01-19T21:47:49+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_3520e5b9d85d464389c46c01f34a943a", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_3520e5b9d85d464389c46c01f34a943a + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdaa65aaee05e78bb00900114125 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '1.200560' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"scan_form": {"shipment": [{"id": "shp_3520e5b9d85d464389c46c01f34a943a"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '77' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/scan_forms + response: + body: + string: '{"id": "sf_2c81f564c6354c7d830d919480c6df4c", "object": "ScanForm", + "created_at": "2024-01-19T21:47:50Z", "updated_at": "2024-01-19T21:47:51Z", + "tracking_codes": ["9405500207552010708549"], "address": {"id": "adr_63b80d85b71411eeb872ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:47:49+00:00", "updated_at": + "2024-01-19T21:47:49+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "status": "created", "message": null, "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e8497c81ee5e3344c5b5571076d5b115e0.pdf", + "form_file_type": null, "batch_id": "batch_b3eff1db86ca4e1fa0fe94dca8cfe387", + "confirmation": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '916' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdae65aaee06e78bb00a0011420e + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.354980' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/scan_forms/sf_2c81f564c6354c7d830d919480c6df4c + response: + body: + string: '{"id": "sf_2c81f564c6354c7d830d919480c6df4c", "object": "ScanForm", + "created_at": "2024-01-19T21:47:50Z", "updated_at": "2024-01-19T21:47:51Z", + "tracking_codes": ["9405500207552010708549"], "address": {"id": "adr_63b80d85b71411eeb872ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:47:49+00:00", "updated_at": + "2024-01-19T21:47:49+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "status": "created", "message": null, "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e8497c81ee5e3344c5b5571076d5b115e0.pdf", + "form_file_type": null, "batch_id": "batch_b3eff1db86ca4e1fa0fe94dca8cfe387", + "confirmation": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '916' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdae65aaee07e78bb00b0011426a + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.030897' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:49:44Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010709102", "updated_at": "2024-01-19T21:49:45Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_e1d6f30a63c6407d856f3cd7958aaf0c", "object": "CustomsInfo", "created_at": + "2024-01-19T21:49:44Z", "updated_at": "2024-01-19T21:49:44Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_68883a0ec33b443a97298131a5d54313", + "object": "CustomsItem", "created_at": "2024-01-19T21:49:44Z", "updated_at": + "2024-01-19T21:49:44Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_a84db4e5b71411ee8db7ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:49:44+00:00", "updated_at": + "2024-01-19T21:49:44+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_e6dbe4a18a214d1f887c55994ee38c7b", + "object": "Parcel", "created_at": "2024-01-19T21:49:44Z", "updated_at": "2024-01-19T21:49:44Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_e2a54083065c492c9c3cd738aee9a04b", "created_at": "2024-01-19T21:49:45Z", + "updated_at": "2024-01-19T21:49:45Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:49:45Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e853b9af8a67e84c67bcb2fb95a05d80f5.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_aee54f6a74e54df88ae8cf3d3c61b833", "object": + "Rate", "created_at": "2024-01-19T21:49:44Z", "updated_at": "2024-01-19T21:49:44Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_99377db897464f81afcd3812f4e92305", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c50aebdd003e4f78908d1b4833c23a5c", + "object": "Rate", "created_at": "2024-01-19T21:49:44Z", "updated_at": "2024-01-19T21:49:44Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_99377db897464f81afcd3812f4e92305", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_6ae6b55d16d2412e88fbf81520bacc02", + "object": "Rate", "created_at": "2024-01-19T21:49:44Z", "updated_at": "2024-01-19T21:49:44Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_99377db897464f81afcd3812f4e92305", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_8a6974de4cff41e894da9ae6575f7adb", "object": "Rate", "created_at": + "2024-01-19T21:49:44Z", "updated_at": "2024-01-19T21:49:44Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_99377db897464f81afcd3812f4e92305", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_a7fdb87c747e45018fb27a1bf6a966f8", "object": "Rate", "created_at": + "2024-01-19T21:49:44Z", "updated_at": "2024-01-19T21:49:44Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_99377db897464f81afcd3812f4e92305", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_aee54f6a74e54df88ae8cf3d3c61b833", + "object": "Rate", "created_at": "2024-01-19T21:49:45Z", "updated_at": "2024-01-19T21:49:45Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_99377db897464f81afcd3812f4e92305", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_19bc93fdfc0249059993518a6857cda9", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010709102", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:49:45Z", + "updated_at": "2024-01-19T21:49:45Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_99377db897464f81afcd3812f4e92305", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzE5YmM5M2ZkZmMwMjQ5MDU5OTkzNTE4YTY4NTdjZGE5"}, + "to_address": {"id": "adr_a84b213ab71411eebf67ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:49:44+00:00", "updated_at": "2024-01-19T21:49:44+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_a84db4e5b71411ee8db7ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:49:44+00:00", "updated_at": + "2024-01-19T21:49:44+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_a84b213ab71411eebf67ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:49:44+00:00", "updated_at": "2024-01-19T21:49:44+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_99377db897464f81afcd3812f4e92305", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_99377db897464f81afcd3812f4e92305 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdab65aaee78e78bb5350011830c + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '1.103774' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"scan_form": {"shipment": [{"id": "shp_99377db897464f81afcd3812f4e92305"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '77' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/scan_forms + response: + body: + string: '{"id": "sf_1be115f4129540d9a9d554293979dcd2", "object": "ScanForm", + "created_at": "2024-01-19T21:49:46Z", "updated_at": "2024-01-19T21:49:46Z", + "tracking_codes": ["9405500207552010709102"], "address": {"id": "adr_a84db4e5b71411ee8db7ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:49:44+00:00", "updated_at": + "2024-01-19T21:49:44+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "status": "created", "message": null, "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e89fb1eea90766417a97ffcbd97f34758f.pdf", + "form_file_type": null, "batch_id": "batch_1f2b6f67ee9441d0a4665930a68332c4", + "confirmation": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '916' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdae65aaee7ae78bb844001183c9 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.359116' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/scan_forms/sf_1be115f4129540d9a9d554293979dcd2 + response: + body: + string: '{"id": "sf_1be115f4129540d9a9d554293979dcd2", "object": "ScanForm", + "created_at": "2024-01-19T21:49:46Z", "updated_at": "2024-01-19T21:49:46Z", + "tracking_codes": ["9405500207552010709102"], "address": {"id": "adr_a84db4e5b71411ee8db7ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:49:44+00:00", "updated_at": + "2024-01-19T21:49:44+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "status": "created", "message": null, "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e89fb1eea90766417a97ffcbd97f34758f.pdf", + "form_file_type": null, "batch_id": "batch_1f2b6f67ee9441d0a4665930a68332c4", + "confirmation": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '916' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda865aaee7ae78bb84500118433 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.034994' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:59:03Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010711549", "updated_at": "2024-01-19T21:59:04Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_edb33bc33ba646b39a6f09c5ef74afe5", "object": "CustomsInfo", "created_at": + "2024-01-19T21:59:03Z", "updated_at": "2024-01-19T21:59:03Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_2a8a3635e56a416fad735007e8b59ee3", + "object": "CustomsItem", "created_at": "2024-01-19T21:59:03Z", "updated_at": + "2024-01-19T21:59:03Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_f56b9bb7b71511eebda6ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:59:03+00:00", "updated_at": + "2024-01-19T21:59:03+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_b0a22aabbb0a4ef5b8a979a088220b21", + "object": "Parcel", "created_at": "2024-01-19T21:59:03Z", "updated_at": "2024-01-19T21:59:03Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_153bb314ead94a229ff73a6a64ea3bbe", "created_at": "2024-01-19T21:59:04Z", + "updated_at": "2024-01-19T21:59:04Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:59:03Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e83e591972733247aab1fdc372db75c01f.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_e869c02d5a5f4e228a601d61919e88b4", "object": + "Rate", "created_at": "2024-01-19T21:59:03Z", "updated_at": "2024-01-19T21:59:03Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_fdeca7eea7f84d8d8f5bda25d6abcb04", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_cbe211d5078c4451a85ebb696674b94b", + "object": "Rate", "created_at": "2024-01-19T21:59:03Z", "updated_at": "2024-01-19T21:59:03Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_fdeca7eea7f84d8d8f5bda25d6abcb04", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_2c89473f7d424fcabd3a264063a34c4b", + "object": "Rate", "created_at": "2024-01-19T21:59:03Z", "updated_at": "2024-01-19T21:59:03Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_fdeca7eea7f84d8d8f5bda25d6abcb04", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_6187ea5b711046bcac88a001b236c3e7", + "object": "Rate", "created_at": "2024-01-19T21:59:03Z", "updated_at": "2024-01-19T21:59:03Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_fdeca7eea7f84d8d8f5bda25d6abcb04", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_95506bb3f7684eee97f534d6cc5e7020", "object": "Rate", "created_at": + "2024-01-19T21:59:03Z", "updated_at": "2024-01-19T21:59:03Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_fdeca7eea7f84d8d8f5bda25d6abcb04", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_cbe211d5078c4451a85ebb696674b94b", + "object": "Rate", "created_at": "2024-01-19T21:59:04Z", "updated_at": "2024-01-19T21:59:04Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_fdeca7eea7f84d8d8f5bda25d6abcb04", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_f7cda8c0f963458cb133b1ee1a7e94b6", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711549", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:59:04Z", + "updated_at": "2024-01-19T21:59:04Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_fdeca7eea7f84d8d8f5bda25d6abcb04", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrX2Y3Y2RhOGMwZjk2MzQ1OGNiMTMzYjFlZTFhN2U5NGI2"}, + "to_address": {"id": "adr_f569824eb71511eebda5ac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T21:59:03+00:00", "updated_at": "2024-01-19T21:59:03+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_f56b9bb7b71511eebda6ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:59:03+00:00", "updated_at": + "2024-01-19T21:59:03+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_f569824eb71511eebda5ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:59:03+00:00", "updated_at": "2024-01-19T21:59:03+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_fdeca7eea7f84d8d8f5bda25d6abcb04", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_fdeca7eea7f84d8d8f5bda25d6abcb04 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf0a7e798bfd9000f85e0 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.031901' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"scan_form": {"shipment": [{"id": "shp_fdeca7eea7f84d8d8f5bda25d6abcb04"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '77' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/scan_forms + response: + body: + string: '{"id": "sf_1eb4a2f980fc40feb3c821ce3e6ca278", "object": "ScanForm", + "created_at": "2024-01-19T21:59:04Z", "updated_at": "2024-01-19T21:59:05Z", + "tracking_codes": ["9405500207552010711549"], "address": {"id": "adr_f56b9bb7b71511eebda6ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:59:03+00:00", "updated_at": + "2024-01-19T21:59:03+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "status": "created", "message": null, "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e88f3d9ee4a5a6448ebf1455c89f5a640a.pdf", + "form_file_type": null, "batch_id": "batch_cfd9e0a3dee34f68b8eead06b7c9b995", + "confirmation": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '916' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf0a8e798bfda000f86c4 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.361913' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/scan_forms/sf_1eb4a2f980fc40feb3c821ce3e6ca278 + response: + body: + string: '{"id": "sf_1eb4a2f980fc40feb3c821ce3e6ca278", "object": "ScanForm", + "created_at": "2024-01-19T21:59:04Z", "updated_at": "2024-01-19T21:59:05Z", + "tracking_codes": ["9405500207552010711549"], "address": {"id": "adr_f56b9bb7b71511eebda6ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:59:03+00:00", "updated_at": + "2024-01-19T21:59:03+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "status": "created", "message": null, "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e88f3d9ee4a5a6448ebf1455c89f5a640a.pdf", + "form_file_type": null, "batch_id": "batch_cfd9e0a3dee34f68b8eead06b7c9b995", + "confirmation": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '916' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf0a9e798bfdb000f8740 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.034488' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T22:01:58Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010711969", "updated_at": "2024-01-19T22:01:59Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_9e5ef28a04a844d28af5baacf9dc08fd", "object": "CustomsInfo", "created_at": + "2024-01-19T22:01:58Z", "updated_at": "2024-01-19T22:01:58Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_6717b88e200446abb07d9cac379acec6", + "object": "CustomsItem", "created_at": "2024-01-19T22:01:58Z", "updated_at": + "2024-01-19T22:01:58Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_5dbc0d4eb71611ee8ef8ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:01:58+00:00", "updated_at": + "2024-01-19T22:01:58+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_105ab4b774d24746805156b18be89dc9", + "object": "Parcel", "created_at": "2024-01-19T22:01:58Z", "updated_at": "2024-01-19T22:01:58Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_c1cea9faa18647fb98aa271b7651f24d", "created_at": "2024-01-19T22:01:59Z", + "updated_at": "2024-01-19T22:01:59Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T22:01:59Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e83c10649120ff4bee945fafe3e3e104be.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_de2cd14d8e47436eb522c73ab77d6dee", "object": + "Rate", "created_at": "2024-01-19T22:01:58Z", "updated_at": "2024-01-19T22:01:58Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_b232ba9a590a4434907f48617f8e11df", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_0ce9baa0f5cf44dd8e90e3f5b2449a7a", + "object": "Rate", "created_at": "2024-01-19T22:01:58Z", "updated_at": "2024-01-19T22:01:58Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_b232ba9a590a4434907f48617f8e11df", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_ecd9929e6ead423c80b601127966bb41", + "object": "Rate", "created_at": "2024-01-19T22:01:58Z", "updated_at": "2024-01-19T22:01:58Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_b232ba9a590a4434907f48617f8e11df", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_5bda53e985644456aa778be713015056", + "object": "Rate", "created_at": "2024-01-19T22:01:58Z", "updated_at": "2024-01-19T22:01:58Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_b232ba9a590a4434907f48617f8e11df", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_ba4737a1b24c40bfa4e38081d991b8a7", "object": "Rate", "created_at": + "2024-01-19T22:01:58Z", "updated_at": "2024-01-19T22:01:58Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_b232ba9a590a4434907f48617f8e11df", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_0ce9baa0f5cf44dd8e90e3f5b2449a7a", + "object": "Rate", "created_at": "2024-01-19T22:01:59Z", "updated_at": "2024-01-19T22:01:59Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_b232ba9a590a4434907f48617f8e11df", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_8fafbd1d874a44c78da223bbad799028", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711969", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:01:59Z", + "updated_at": "2024-01-19T22:01:59Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_b232ba9a590a4434907f48617f8e11df", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzhmYWZiZDFkODc0YTQ0Yzc4ZGEyMjNiYmFkNzk5MDI4"}, + "to_address": {"id": "adr_5db97915b71611ee8ef7ac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T22:01:58+00:00", "updated_at": "2024-01-19T22:01:58+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_5dbc0d4eb71611ee8ef8ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:01:58+00:00", "updated_at": + "2024-01-19T22:01:58+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_5db97915b71611ee8ef7ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T22:01:58+00:00", "updated_at": "2024-01-19T22:01:58+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_b232ba9a590a4434907f48617f8e11df", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_b232ba9a590a4434907f48617f8e11df + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaf156e798c83e0010212e + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.208866' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"scan_form": {"shipment": [{"id": "shp_b232ba9a590a4434907f48617f8e11df"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '77' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/scan_forms + response: + body: + string: '{"id": "sf_aaa1967cefe54ba389850a28c61bb704", "object": "ScanForm", + "created_at": "2024-01-19T22:02:00Z", "updated_at": "2024-01-19T22:02:00Z", + "tracking_codes": ["9405500207552010711969"], "address": {"id": "adr_5dbc0d4eb71611ee8ef8ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:01:58+00:00", "updated_at": + "2024-01-19T22:01:58+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "status": "created", "message": null, "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e86363cd2729314ce3a405dc645e3e2edf.pdf", + "form_file_type": null, "batch_id": "batch_aebd0d167bf542e788a9eb1bb2a62fb2", + "confirmation": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '916' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaf158e798c83f00102260 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.393667' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/scan_forms/sf_aaa1967cefe54ba389850a28c61bb704 + response: + body: + string: '{"id": "sf_aaa1967cefe54ba389850a28c61bb704", "object": "ScanForm", + "created_at": "2024-01-19T22:02:00Z", "updated_at": "2024-01-19T22:02:00Z", + "tracking_codes": ["9405500207552010711969"], "address": {"id": "adr_5dbc0d4eb71611ee8ef8ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:01:58+00:00", "updated_at": + "2024-01-19T22:01:58+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "status": "created", "message": null, "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e86363cd2729314ce3a405dc645e3e2edf.pdf", + "form_file_type": null, "batch_id": "batch_aebd0d167bf542e788a9eb1bb2a62fb2", + "confirmation": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '916' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf158e798c840001022e2 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.036831' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T22:05:46Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010712812", "updated_at": "2024-01-19T22:05:47Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_42fb952bddd44ac0adee2fc6c90fed8d", "object": "CustomsInfo", "created_at": + "2024-01-19T22:05:46Z", "updated_at": "2024-01-19T22:05:46Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_4aa49e3d13ed40d6ba2d8eb9671e61d4", + "object": "CustomsItem", "created_at": "2024-01-19T22:05:46Z", "updated_at": + "2024-01-19T22:05:46Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_e5cd9cfdb71611eebe4cac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T22:05:46+00:00", "updated_at": + "2024-01-19T22:05:46+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_1ca1395ad7d04851811a5a5902e2cb5e", + "object": "Parcel", "created_at": "2024-01-19T22:05:46Z", "updated_at": "2024-01-19T22:05:46Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_13157b637c3741c4b863c56ec3020f74", "created_at": "2024-01-19T22:05:47Z", + "updated_at": "2024-01-19T22:05:47Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T22:05:47Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e85fe820dcf47b479a93d7ebbde9cd43cf.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_c6289164d3eb4e2c9622c288ab7219f6", "object": + "Rate", "created_at": "2024-01-19T22:05:46Z", "updated_at": "2024-01-19T22:05:46Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_1c1dd75cbb95496cb251a93b0961704b", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b598cb94ef5141c4a8d509d255dbfe6b", + "object": "Rate", "created_at": "2024-01-19T22:05:46Z", "updated_at": "2024-01-19T22:05:46Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_1c1dd75cbb95496cb251a93b0961704b", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_7d2d8ca65f3843b6a1f133268a4cef7a", + "object": "Rate", "created_at": "2024-01-19T22:05:46Z", "updated_at": "2024-01-19T22:05:46Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_1c1dd75cbb95496cb251a93b0961704b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_86b6514da54140cea4f2116f7c550f34", "object": "Rate", "created_at": + "2024-01-19T22:05:46Z", "updated_at": "2024-01-19T22:05:46Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_1c1dd75cbb95496cb251a93b0961704b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_39c59a32bc0243df8e00ded1ffc6d03e", "object": "Rate", "created_at": + "2024-01-19T22:05:46Z", "updated_at": "2024-01-19T22:05:46Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_1c1dd75cbb95496cb251a93b0961704b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_c6289164d3eb4e2c9622c288ab7219f6", + "object": "Rate", "created_at": "2024-01-19T22:05:47Z", "updated_at": "2024-01-19T22:05:47Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_1c1dd75cbb95496cb251a93b0961704b", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_abb72fbb486543ee8d61ce157dd38a81", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010712812", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:05:47Z", + "updated_at": "2024-01-19T22:05:47Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_1c1dd75cbb95496cb251a93b0961704b", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrX2FiYjcyZmJiNDg2NTQzZWU4ZDYxY2UxNTdkZDM4YTgx"}, + "to_address": {"id": "adr_e5c91903b71611eeb9af3cecef1b359e", "object": "Address", + "created_at": "2024-01-19T22:05:46+00:00", "updated_at": "2024-01-19T22:05:47+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_e5cd9cfdb71611eebe4cac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T22:05:46+00:00", "updated_at": + "2024-01-19T22:05:46+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_e5c91903b71611eeb9af3cecef1b359e", "object": + "Address", "created_at": "2024-01-19T22:05:46+00:00", "updated_at": "2024-01-19T22:05:47+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_1c1dd75cbb95496cb251a93b0961704b", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_1c1dd75cbb95496cb251a93b0961704b + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaf23ae798d1020010c822 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.119341' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"scan_form": {"shipment": [{"id": "shp_1c1dd75cbb95496cb251a93b0961704b"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '77' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/scan_forms + response: + body: + string: '{"id": "sf_1de4ead0dce34c4387c7836727c39c33", "object": "ScanForm", + "created_at": "2024-01-19T22:05:48Z", "updated_at": "2024-01-19T22:05:48Z", + "tracking_codes": ["9405500207552010712812"], "address": {"id": "adr_e5cd9cfdb71611eebe4cac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T22:05:46+00:00", "updated_at": + "2024-01-19T22:05:46+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "status": "created", "message": null, "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e8c5d3ed3cc27e475da3b25c1da9d6fd3b.pdf", + "form_file_type": null, "batch_id": "batch_1159df9904bb4176918e6bb190604a18", + "confirmation": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '916' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf23ce798d1030010c8fe + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.362051' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/scan_forms/sf_1de4ead0dce34c4387c7836727c39c33 + response: + body: + string: '{"id": "sf_1de4ead0dce34c4387c7836727c39c33", "object": "ScanForm", + "created_at": "2024-01-19T22:05:48Z", "updated_at": "2024-01-19T22:05:48Z", + "tracking_codes": ["9405500207552010712812"], "address": {"id": "adr_e5cd9cfdb71611eebe4cac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T22:05:46+00:00", "updated_at": + "2024-01-19T22:05:46+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "status": "created", "message": null, "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e8c5d3ed3cc27e475da3b25c1da9d6fd3b.pdf", + "form_file_type": null, "batch_id": "batch_1159df9904bb4176918e6bb190604a18", + "confirmation": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '916' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf23ce798d1040010c9c3 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.034023' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_shipments_buy.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_shipments_buy.yaml new file mode 100644 index 00000000..5dc1a67d --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_shipments_buy.yaml @@ -0,0 +1,2512 @@ +interactions: +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '885' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:42:06Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T21:42:06Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_6a9c8f8d8644416e90257311e88134ea", + "object": "CustomsInfo", "created_at": "2024-01-19T21:42:06Z", "updated_at": + "2024-01-19T21:42:06Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_0bda13f0ee274bd2be030ea42a1ca15f", "object": "CustomsItem", + "created_at": "2024-01-19T21:42:06Z", "updated_at": "2024-01-19T21:42:06Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_96fda460b71311eea4b6ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:42:06+00:00", "updated_at": "2024-01-19T21:42:06+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_a1e7f4d767864957a19eb953a404bcb6", "object": "Parcel", "created_at": + "2024-01-19T21:42:06Z", "updated_at": "2024-01-19T21:42:06Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_d8cf4f2661cf4ba98eb89b2c27dd4ea3", + "object": "Rate", "created_at": "2024-01-19T21:42:06Z", "updated_at": "2024-01-19T21:42:06Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_a1265a904613406189a1767d5474c0d8", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c744918e951445308a1727502bd58aee", + "object": "Rate", "created_at": "2024-01-19T21:42:06Z", "updated_at": "2024-01-19T21:42:06Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_a1265a904613406189a1767d5474c0d8", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_5c4a4598c6bc4651b729ff6c728c46d5", + "object": "Rate", "created_at": "2024-01-19T21:42:06Z", "updated_at": "2024-01-19T21:42:06Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_a1265a904613406189a1767d5474c0d8", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_11985f5cf9ad497c8b3bccbbbb308179", + "object": "Rate", "created_at": "2024-01-19T21:42:06Z", "updated_at": "2024-01-19T21:42:06Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_a1265a904613406189a1767d5474c0d8", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_f60ea310cb7b4c68a6964dc1aa7c42c8", "object": "Rate", "created_at": + "2024-01-19T21:42:06Z", "updated_at": "2024-01-19T21:42:06Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_a1265a904613406189a1767d5474c0d8", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_96f92c09b71311eea4b4ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:42:06+00:00", "updated_at": "2024-01-19T21:42:06+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_96fda460b71311eea4b6ac1f6bc53342", "object": "Address", "created_at": + "2024-01-19T21:42:06+00:00", "updated_at": "2024-01-19T21:42:06+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_96f92c09b71311eea4b4ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:42:06+00:00", "updated_at": + "2024-01-19T21:42:06+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_a1265a904613406189a1767d5474c0d8", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_a1265a904613406189a1767d5474c0d8 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaecade78b9f68000d0907 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.744249' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"rate": {"id": "rate_5c4a4598c6bc4651b729ff6c728c46d5"}, "insurance": + "249.99"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '80' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments/shp_a1265a904613406189a1767d5474c0d8/buy + response: + body: + string: '{"created_at": "2024-01-19T21:42:06Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9434600207552010707787", "updated_at": "2024-01-19T21:42:07Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_6a9c8f8d8644416e90257311e88134ea", "object": "CustomsInfo", "created_at": + "2024-01-19T21:42:06Z", "updated_at": "2024-01-19T21:42:06Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_0bda13f0ee274bd2be030ea42a1ca15f", + "object": "CustomsItem", "created_at": "2024-01-19T21:42:06Z", "updated_at": + "2024-01-19T21:42:06Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_96fda460b71311eea4b6ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:42:06+00:00", "updated_at": + "2024-01-19T21:42:06+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": "249.99", "order_id": null, "parcel": {"id": "prcl_a1e7f4d767864957a19eb953a404bcb6", + "object": "Parcel", "created_at": "2024-01-19T21:42:06Z", "updated_at": "2024-01-19T21:42:06Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_d2c812bc95d14f3e96a93051499ae90e", "created_at": "2024-01-19T21:42:07Z", + "updated_at": "2024-01-19T21:42:07Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:42:07Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8d198c6ae2d2241c59205f9b21e7614f6.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_d8cf4f2661cf4ba98eb89b2c27dd4ea3", "object": + "Rate", "created_at": "2024-01-19T21:42:06Z", "updated_at": "2024-01-19T21:42:06Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_a1265a904613406189a1767d5474c0d8", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c744918e951445308a1727502bd58aee", + "object": "Rate", "created_at": "2024-01-19T21:42:06Z", "updated_at": "2024-01-19T21:42:06Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_a1265a904613406189a1767d5474c0d8", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_5c4a4598c6bc4651b729ff6c728c46d5", + "object": "Rate", "created_at": "2024-01-19T21:42:06Z", "updated_at": "2024-01-19T21:42:06Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_a1265a904613406189a1767d5474c0d8", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_11985f5cf9ad497c8b3bccbbbb308179", + "object": "Rate", "created_at": "2024-01-19T21:42:06Z", "updated_at": "2024-01-19T21:42:06Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_a1265a904613406189a1767d5474c0d8", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_f60ea310cb7b4c68a6964dc1aa7c42c8", "object": "Rate", "created_at": + "2024-01-19T21:42:06Z", "updated_at": "2024-01-19T21:42:06Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_a1265a904613406189a1767d5474c0d8", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_5c4a4598c6bc4651b729ff6c728c46d5", + "object": "Rate", "created_at": "2024-01-19T21:42:07Z", "updated_at": "2024-01-19T21:42:07Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_a1265a904613406189a1767d5474c0d8", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_2f0d6a4d8ece4058afcf3e04e9473bcb", + "object": "Tracker", "mode": "test", "tracking_code": "9434600207552010707787", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:42:07Z", + "updated_at": "2024-01-19T21:42:07Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_a1265a904613406189a1767d5474c0d8", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzJmMGQ2YTRkOGVjZTQwNThhZmNmM2UwNGU5NDczYmNi"}, + "to_address": {"id": "adr_96f92c09b71311eea4b4ac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T21:42:06+00:00", "updated_at": "2024-01-19T21:42:07+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_96fda460b71311eea4b6ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:42:06+00:00", "updated_at": + "2024-01-19T21:42:06+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_96f92c09b71311eea4b4ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:42:06+00:00", "updated_at": "2024-01-19T21:42:07+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "6.79000", "charged": true, "refunded": false}, {"object": "Fee", + "type": "InsuranceFee", "amount": "2.49990", "charged": true, "refunded": + false}], "id": "shp_a1265a904613406189a1767d5474c0d8", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '9439' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaecafe78b9f69000d098f + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.893881' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '885' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:44:02Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T21:44:03Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_43c2428ca0d240b285a1d8127c5eb679", + "object": "CustomsInfo", "created_at": "2024-01-19T21:44:02Z", "updated_at": + "2024-01-19T21:44:02Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_91b5e046a1a34ceca0861b3b8944d8ef", "object": "CustomsItem", + "created_at": "2024-01-19T21:44:02Z", "updated_at": "2024-01-19T21:44:02Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_dc69fbbab71311eebe5eac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:44:02+00:00", "updated_at": "2024-01-19T21:44:02+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_e5a54af5197a41c7b3fe9285cee46503", "object": "Parcel", "created_at": + "2024-01-19T21:44:02Z", "updated_at": "2024-01-19T21:44:02Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_93622520ea3c4f66a1649e39e5f6bc73", + "object": "Rate", "created_at": "2024-01-19T21:44:03Z", "updated_at": "2024-01-19T21:44:03Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_3dbc84ad74bd4b5982caa2c911e571ed", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_3de30b824eed4e9b8d3e7f746d6a11b7", + "object": "Rate", "created_at": "2024-01-19T21:44:03Z", "updated_at": "2024-01-19T21:44:03Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_3dbc84ad74bd4b5982caa2c911e571ed", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_808775bf6aac42858ed98a5b3fdbeef7", + "object": "Rate", "created_at": "2024-01-19T21:44:03Z", "updated_at": "2024-01-19T21:44:03Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_3dbc84ad74bd4b5982caa2c911e571ed", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_306ddd74e775430d93d0bf6b623497c7", "object": "Rate", "created_at": + "2024-01-19T21:44:03Z", "updated_at": "2024-01-19T21:44:03Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_3dbc84ad74bd4b5982caa2c911e571ed", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_88de948ba1a0496eb0c390ebe220a97d", "object": "Rate", "created_at": + "2024-01-19T21:44:03Z", "updated_at": "2024-01-19T21:44:03Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_3dbc84ad74bd4b5982caa2c911e571ed", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_dc67c6edb71311eebc063cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:44:02+00:00", "updated_at": "2024-01-19T21:44:02+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_dc69fbbab71311eebe5eac1f6bc53342", "object": "Address", "created_at": + "2024-01-19T21:44:02+00:00", "updated_at": "2024-01-19T21:44:02+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_dc67c6edb71311eebc063cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:44:02+00:00", "updated_at": + "2024-01-19T21:44:02+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_3dbc84ad74bd4b5982caa2c911e571ed", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_3dbc84ad74bd4b5982caa2c911e571ed + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaed22e78ba7a5000d4d77 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.906515' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"rate": {"id": "rate_3de30b824eed4e9b8d3e7f746d6a11b7"}, "insurance": + "249.99"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '80' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments/shp_3dbc84ad74bd4b5982caa2c911e571ed/buy + response: + body: + string: '{"created_at": "2024-01-19T21:44:02Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9434600207552010708104", "updated_at": "2024-01-19T21:44:04Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_43c2428ca0d240b285a1d8127c5eb679", "object": "CustomsInfo", "created_at": + "2024-01-19T21:44:02Z", "updated_at": "2024-01-19T21:44:02Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_91b5e046a1a34ceca0861b3b8944d8ef", + "object": "CustomsItem", "created_at": "2024-01-19T21:44:02Z", "updated_at": + "2024-01-19T21:44:02Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_dc69fbbab71311eebe5eac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:44:02+00:00", "updated_at": + "2024-01-19T21:44:02+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": "249.99", "order_id": null, "parcel": {"id": "prcl_e5a54af5197a41c7b3fe9285cee46503", + "object": "Parcel", "created_at": "2024-01-19T21:44:02Z", "updated_at": "2024-01-19T21:44:02Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_983bafe23b714204b3b8283e941101e0", "created_at": "2024-01-19T21:44:04Z", + "updated_at": "2024-01-19T21:44:04Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:44:04Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e88d248bc1eb49400bbdbeb46bcee29f48.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_93622520ea3c4f66a1649e39e5f6bc73", "object": + "Rate", "created_at": "2024-01-19T21:44:03Z", "updated_at": "2024-01-19T21:44:03Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_3dbc84ad74bd4b5982caa2c911e571ed", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_3de30b824eed4e9b8d3e7f746d6a11b7", + "object": "Rate", "created_at": "2024-01-19T21:44:03Z", "updated_at": "2024-01-19T21:44:03Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_3dbc84ad74bd4b5982caa2c911e571ed", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_808775bf6aac42858ed98a5b3fdbeef7", + "object": "Rate", "created_at": "2024-01-19T21:44:03Z", "updated_at": "2024-01-19T21:44:03Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_3dbc84ad74bd4b5982caa2c911e571ed", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_306ddd74e775430d93d0bf6b623497c7", "object": "Rate", "created_at": + "2024-01-19T21:44:03Z", "updated_at": "2024-01-19T21:44:03Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_3dbc84ad74bd4b5982caa2c911e571ed", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_88de948ba1a0496eb0c390ebe220a97d", "object": "Rate", "created_at": + "2024-01-19T21:44:03Z", "updated_at": "2024-01-19T21:44:03Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_3dbc84ad74bd4b5982caa2c911e571ed", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_3de30b824eed4e9b8d3e7f746d6a11b7", + "object": "Rate", "created_at": "2024-01-19T21:44:04Z", "updated_at": "2024-01-19T21:44:04Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_3dbc84ad74bd4b5982caa2c911e571ed", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_d5bfadd21ba1489db29b895c90688e7f", + "object": "Tracker", "mode": "test", "tracking_code": "9434600207552010708104", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:44:04Z", + "updated_at": "2024-01-19T21:44:04Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_3dbc84ad74bd4b5982caa2c911e571ed", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrX2Q1YmZhZGQyMWJhMTQ4OWRiMjliODk1YzkwNjg4ZTdm"}, + "to_address": {"id": "adr_dc67c6edb71311eebc063cecef1b359e", "object": "Address", + "created_at": "2024-01-19T21:44:02+00:00", "updated_at": "2024-01-19T21:44:03+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_dc69fbbab71311eebe5eac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:44:02+00:00", "updated_at": + "2024-01-19T21:44:02+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_dc67c6edb71311eebc063cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:44:02+00:00", "updated_at": "2024-01-19T21:44:03+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "6.79000", "charged": true, "refunded": false}, {"object": "Fee", + "type": "InsuranceFee", "amount": "2.49990", "charged": true, "refunded": + false}], "id": "shp_3dbc84ad74bd4b5982caa2c911e571ed", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '9439' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaed23e78ba7a6000d4e4c + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.105949' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '885' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:47:55Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T21:47:56Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_e6ba0dc53915456995e0a7966c0549f3", + "object": "CustomsInfo", "created_at": "2024-01-19T21:47:55Z", "updated_at": + "2024-01-19T21:47:55Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_991f1a1fa2e94c1c8651e79428928479", "object": "CustomsItem", + "created_at": "2024-01-19T21:47:55Z", "updated_at": "2024-01-19T21:47:55Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_672a7307b71411eeb984ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:47:55+00:00", "updated_at": "2024-01-19T21:47:55+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_9a7ffc7ee6f148ac802a60152def41cd", "object": "Parcel", "created_at": + "2024-01-19T21:47:55Z", "updated_at": "2024-01-19T21:47:55Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_ca90d07b60df4185914d05423960662c", + "object": "Rate", "created_at": "2024-01-19T21:47:56Z", "updated_at": "2024-01-19T21:47:56Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_6866fc5ec213464c97303210e723df5b", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_9b1b484b3a8444649804bd5aab1b1adc", + "object": "Rate", "created_at": "2024-01-19T21:47:56Z", "updated_at": "2024-01-19T21:47:56Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_6866fc5ec213464c97303210e723df5b", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c0006931b19c404fafc2da19f7fdc758", + "object": "Rate", "created_at": "2024-01-19T21:47:56Z", "updated_at": "2024-01-19T21:47:56Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_6866fc5ec213464c97303210e723df5b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_a8f1752d4b5547f5a2a4b35ec6456e88", "object": "Rate", "created_at": + "2024-01-19T21:47:56Z", "updated_at": "2024-01-19T21:47:56Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_6866fc5ec213464c97303210e723df5b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_7cb6b5ced1494c9fab2dc7289529cc94", "object": "Rate", "created_at": + "2024-01-19T21:47:56Z", "updated_at": "2024-01-19T21:47:56Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_6866fc5ec213464c97303210e723df5b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_67285cd7b71411eea7f43cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:47:55+00:00", "updated_at": "2024-01-19T21:47:55+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_672a7307b71411eeb984ac1f6bc539aa", "object": "Address", "created_at": + "2024-01-19T21:47:55+00:00", "updated_at": "2024-01-19T21:47:55+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_67285cd7b71411eea7f43cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:47:55+00:00", "updated_at": + "2024-01-19T21:47:55+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_6866fc5ec213464c97303210e723df5b", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_6866fc5ec213464c97303210e723df5b + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdaa65aaee0be78bb02800114492 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.893901' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"rate": {"id": "rate_9b1b484b3a8444649804bd5aab1b1adc"}, "insurance": + "249.99"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '80' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments/shp_6866fc5ec213464c97303210e723df5b/buy + response: + body: + string: '{"created_at": "2024-01-19T21:47:55Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9434600207552010708579", "updated_at": "2024-01-19T21:47:57Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_e6ba0dc53915456995e0a7966c0549f3", "object": "CustomsInfo", "created_at": + "2024-01-19T21:47:55Z", "updated_at": "2024-01-19T21:47:55Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_991f1a1fa2e94c1c8651e79428928479", + "object": "CustomsItem", "created_at": "2024-01-19T21:47:55Z", "updated_at": + "2024-01-19T21:47:55Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_672a7307b71411eeb984ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:47:55+00:00", "updated_at": + "2024-01-19T21:47:55+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": "249.99", "order_id": null, "parcel": {"id": "prcl_9a7ffc7ee6f148ac802a60152def41cd", + "object": "Parcel", "created_at": "2024-01-19T21:47:55Z", "updated_at": "2024-01-19T21:47:55Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_faf3f9b6cdee44f8814f198512871ec8", "created_at": "2024-01-19T21:47:56Z", + "updated_at": "2024-01-19T21:47:57Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:47:56Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8966743d16b56434b8e9775c2a72a2302.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_ca90d07b60df4185914d05423960662c", "object": + "Rate", "created_at": "2024-01-19T21:47:56Z", "updated_at": "2024-01-19T21:47:56Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_6866fc5ec213464c97303210e723df5b", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_9b1b484b3a8444649804bd5aab1b1adc", + "object": "Rate", "created_at": "2024-01-19T21:47:56Z", "updated_at": "2024-01-19T21:47:56Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_6866fc5ec213464c97303210e723df5b", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c0006931b19c404fafc2da19f7fdc758", + "object": "Rate", "created_at": "2024-01-19T21:47:56Z", "updated_at": "2024-01-19T21:47:56Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_6866fc5ec213464c97303210e723df5b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_a8f1752d4b5547f5a2a4b35ec6456e88", "object": "Rate", "created_at": + "2024-01-19T21:47:56Z", "updated_at": "2024-01-19T21:47:56Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_6866fc5ec213464c97303210e723df5b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_7cb6b5ced1494c9fab2dc7289529cc94", "object": "Rate", "created_at": + "2024-01-19T21:47:56Z", "updated_at": "2024-01-19T21:47:56Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_6866fc5ec213464c97303210e723df5b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_9b1b484b3a8444649804bd5aab1b1adc", + "object": "Rate", "created_at": "2024-01-19T21:47:56Z", "updated_at": "2024-01-19T21:47:56Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_6866fc5ec213464c97303210e723df5b", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_aeff99e44bf445e3be7e945c62be8613", + "object": "Tracker", "mode": "test", "tracking_code": "9434600207552010708579", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:47:57Z", + "updated_at": "2024-01-19T21:47:57Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_6866fc5ec213464c97303210e723df5b", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrX2FlZmY5OWU0NGJmNDQ1ZTNiZTdlOTQ1YzYyYmU4NjEz"}, + "to_address": {"id": "adr_67285cd7b71411eea7f43cecef1b359e", "object": "Address", + "created_at": "2024-01-19T21:47:55+00:00", "updated_at": "2024-01-19T21:47:56+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_672a7307b71411eeb984ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:47:55+00:00", "updated_at": + "2024-01-19T21:47:55+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_67285cd7b71411eea7f43cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:47:55+00:00", "updated_at": "2024-01-19T21:47:56+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "6.79000", "charged": true, "refunded": false}, {"object": "Fee", + "type": "InsuranceFee", "amount": "2.49990", "charged": true, "refunded": + false}], "id": "shp_6866fc5ec213464c97303210e723df5b", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '9439' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdae65aaee0ce78bb02900114518 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.922692' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '885' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:49:50Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T21:49:51Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_0c07c0b56a444535b9ffab488e6ece22", + "object": "CustomsInfo", "created_at": "2024-01-19T21:49:50Z", "updated_at": + "2024-01-19T21:49:50Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_09239f851aab46e8a95e0a68afe8cbd3", "object": "CustomsItem", + "created_at": "2024-01-19T21:49:50Z", "updated_at": "2024-01-19T21:49:50Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_abc65d2db71411eebf0cac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:49:50+00:00", "updated_at": "2024-01-19T21:49:50+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_a95eaa568228413c84ba219d1a68dbe7", "object": "Parcel", "created_at": + "2024-01-19T21:49:50Z", "updated_at": "2024-01-19T21:49:50Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_33eb73b459614597a4ad417700824f16", + "object": "Rate", "created_at": "2024-01-19T21:49:51Z", "updated_at": "2024-01-19T21:49:51Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_af50eda108ea4b98a28b2af18873aa4f", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c50cb4acc73c45b79700395a7da97596", + "object": "Rate", "created_at": "2024-01-19T21:49:51Z", "updated_at": "2024-01-19T21:49:51Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_af50eda108ea4b98a28b2af18873aa4f", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_56e0ad23ed5d4bf499456da76c45f215", + "object": "Rate", "created_at": "2024-01-19T21:49:51Z", "updated_at": "2024-01-19T21:49:51Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_af50eda108ea4b98a28b2af18873aa4f", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_7e87f3b0b115435093ac3392fdbad21c", + "object": "Rate", "created_at": "2024-01-19T21:49:51Z", "updated_at": "2024-01-19T21:49:51Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_af50eda108ea4b98a28b2af18873aa4f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_5b05e3da0a7a4007b3af7c57b517fdf1", "object": "Rate", "created_at": + "2024-01-19T21:49:51Z", "updated_at": "2024-01-19T21:49:51Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_af50eda108ea4b98a28b2af18873aa4f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_abc3152eb71411ee8ee5ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:49:50+00:00", "updated_at": "2024-01-19T21:49:50+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_abc65d2db71411eebf0cac1f6bc53342", "object": "Address", "created_at": + "2024-01-19T21:49:50+00:00", "updated_at": "2024-01-19T21:49:50+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_abc3152eb71411ee8ee5ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:49:50+00:00", "updated_at": + "2024-01-19T21:49:50+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_af50eda108ea4b98a28b2af18873aa4f", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_af50eda108ea4b98a28b2af18873aa4f + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdad65aaee7ee78bb84b00118648 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.799744' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"rate": {"id": "rate_56e0ad23ed5d4bf499456da76c45f215"}, "insurance": + "249.99"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '80' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments/shp_af50eda108ea4b98a28b2af18873aa4f/buy + response: + body: + string: '{"created_at": "2024-01-19T21:49:50Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9434600207552010709149", "updated_at": "2024-01-19T21:49:52Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_0c07c0b56a444535b9ffab488e6ece22", "object": "CustomsInfo", "created_at": + "2024-01-19T21:49:50Z", "updated_at": "2024-01-19T21:49:50Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_09239f851aab46e8a95e0a68afe8cbd3", + "object": "CustomsItem", "created_at": "2024-01-19T21:49:50Z", "updated_at": + "2024-01-19T21:49:50Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_abc65d2db71411eebf0cac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:49:50+00:00", "updated_at": + "2024-01-19T21:49:50+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": "249.99", "order_id": null, "parcel": {"id": "prcl_a95eaa568228413c84ba219d1a68dbe7", + "object": "Parcel", "created_at": "2024-01-19T21:49:50Z", "updated_at": "2024-01-19T21:49:50Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_fc986e9a8cd34c9fa6667b2faad33a5e", "created_at": "2024-01-19T21:49:52Z", + "updated_at": "2024-01-19T21:49:52Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:49:52Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e819e3dd1e45714d4bbdaef3b96cbd293c.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_33eb73b459614597a4ad417700824f16", "object": + "Rate", "created_at": "2024-01-19T21:49:51Z", "updated_at": "2024-01-19T21:49:51Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_af50eda108ea4b98a28b2af18873aa4f", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c50cb4acc73c45b79700395a7da97596", + "object": "Rate", "created_at": "2024-01-19T21:49:51Z", "updated_at": "2024-01-19T21:49:51Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_af50eda108ea4b98a28b2af18873aa4f", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_56e0ad23ed5d4bf499456da76c45f215", + "object": "Rate", "created_at": "2024-01-19T21:49:51Z", "updated_at": "2024-01-19T21:49:51Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_af50eda108ea4b98a28b2af18873aa4f", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_7e87f3b0b115435093ac3392fdbad21c", + "object": "Rate", "created_at": "2024-01-19T21:49:51Z", "updated_at": "2024-01-19T21:49:51Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_af50eda108ea4b98a28b2af18873aa4f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_5b05e3da0a7a4007b3af7c57b517fdf1", "object": "Rate", "created_at": + "2024-01-19T21:49:51Z", "updated_at": "2024-01-19T21:49:51Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_af50eda108ea4b98a28b2af18873aa4f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_56e0ad23ed5d4bf499456da76c45f215", + "object": "Rate", "created_at": "2024-01-19T21:49:52Z", "updated_at": "2024-01-19T21:49:52Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_af50eda108ea4b98a28b2af18873aa4f", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_2487860b2a1e4983a27637e122604308", + "object": "Tracker", "mode": "test", "tracking_code": "9434600207552010709149", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:49:52Z", + "updated_at": "2024-01-19T21:49:52Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_af50eda108ea4b98a28b2af18873aa4f", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzI0ODc4NjBiMmExZTQ5ODNhMjc2MzdlMTIyNjA0MzA4"}, + "to_address": {"id": "adr_abc3152eb71411ee8ee5ac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T21:49:50+00:00", "updated_at": "2024-01-19T21:49:51+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_abc65d2db71411eebf0cac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:49:50+00:00", "updated_at": + "2024-01-19T21:49:50+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_abc3152eb71411ee8ee5ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:49:50+00:00", "updated_at": "2024-01-19T21:49:51+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "6.79000", "charged": true, "refunded": false}, {"object": "Fee", + "type": "InsuranceFee", "amount": "2.49990", "charged": true, "refunded": + false}], "id": "shp_af50eda108ea4b98a28b2af18873aa4f", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '9439' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdae65aaee7fe78bb84c001186f8 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '1.187670' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '885' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:59:09Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T21:59:10Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_0d5dd6c8d7084030b472732c54ed3adb", + "object": "CustomsInfo", "created_at": "2024-01-19T21:59:09Z", "updated_at": + "2024-01-19T21:59:09Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_b5e43f52b0e6481aaa792d4afe2808e1", "object": "CustomsItem", + "created_at": "2024-01-19T21:59:09Z", "updated_at": "2024-01-19T21:59:09Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_f904603db71511eeb03bac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:59:09+00:00", "updated_at": "2024-01-19T21:59:09+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_892ed4d2e6ac499098bcd80f96dcdbf6", "object": "Parcel", "created_at": + "2024-01-19T21:59:09Z", "updated_at": "2024-01-19T21:59:09Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_03d18c7edf424ee5bd4f386ca5659c2a", + "object": "Rate", "created_at": "2024-01-19T21:59:10Z", "updated_at": "2024-01-19T21:59:10Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_e8ff60ef54844cb4b16cb2a8cb59b981", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_56a89099fddb4c55972069ecc33d4780", + "object": "Rate", "created_at": "2024-01-19T21:59:10Z", "updated_at": "2024-01-19T21:59:10Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_e8ff60ef54844cb4b16cb2a8cb59b981", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_ea119971395546afa7ad61488c0347b9", + "object": "Rate", "created_at": "2024-01-19T21:59:10Z", "updated_at": "2024-01-19T21:59:10Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_e8ff60ef54844cb4b16cb2a8cb59b981", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_12c0c936f80f4589afb4b6a8c4d67aa6", + "object": "Rate", "created_at": "2024-01-19T21:59:10Z", "updated_at": "2024-01-19T21:59:10Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_e8ff60ef54844cb4b16cb2a8cb59b981", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_139aaf27e5a64665bd3e369f04dda242", "object": "Rate", "created_at": + "2024-01-19T21:59:10Z", "updated_at": "2024-01-19T21:59:10Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_e8ff60ef54844cb4b16cb2a8cb59b981", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_f9009081b71511eebe8eac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:59:09+00:00", "updated_at": "2024-01-19T21:59:09+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_f904603db71511eeb03bac1f6bc539ae", "object": "Address", "created_at": + "2024-01-19T21:59:09+00:00", "updated_at": "2024-01-19T21:59:09+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_f9009081b71511eebe8eac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:59:09+00:00", "updated_at": + "2024-01-19T21:59:09+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_e8ff60ef54844cb4b16cb2a8cb59b981", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_e8ff60ef54844cb4b16cb2a8cb59b981 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf0ade798bfe1000f898e + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.739983' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"rate": {"id": "rate_ea119971395546afa7ad61488c0347b9"}, "insurance": + "249.99"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '80' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments/shp_e8ff60ef54844cb4b16cb2a8cb59b981/buy + response: + body: + string: '{"created_at": "2024-01-19T21:59:09Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9434600207552010711562", "updated_at": "2024-01-19T21:59:11Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_0d5dd6c8d7084030b472732c54ed3adb", "object": "CustomsInfo", "created_at": + "2024-01-19T21:59:09Z", "updated_at": "2024-01-19T21:59:09Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_b5e43f52b0e6481aaa792d4afe2808e1", + "object": "CustomsItem", "created_at": "2024-01-19T21:59:09Z", "updated_at": + "2024-01-19T21:59:09Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_f904603db71511eeb03bac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:59:09+00:00", "updated_at": + "2024-01-19T21:59:09+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": "249.99", "order_id": null, "parcel": {"id": "prcl_892ed4d2e6ac499098bcd80f96dcdbf6", + "object": "Parcel", "created_at": "2024-01-19T21:59:09Z", "updated_at": "2024-01-19T21:59:09Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_d0aa78f9369f4f339c54162e3806b524", "created_at": "2024-01-19T21:59:10Z", + "updated_at": "2024-01-19T21:59:11Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:59:10Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e85fc9cfd0eb8940599dd63fea40ed8e62.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_03d18c7edf424ee5bd4f386ca5659c2a", "object": + "Rate", "created_at": "2024-01-19T21:59:10Z", "updated_at": "2024-01-19T21:59:10Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_e8ff60ef54844cb4b16cb2a8cb59b981", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_56a89099fddb4c55972069ecc33d4780", + "object": "Rate", "created_at": "2024-01-19T21:59:10Z", "updated_at": "2024-01-19T21:59:10Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_e8ff60ef54844cb4b16cb2a8cb59b981", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_ea119971395546afa7ad61488c0347b9", + "object": "Rate", "created_at": "2024-01-19T21:59:10Z", "updated_at": "2024-01-19T21:59:10Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_e8ff60ef54844cb4b16cb2a8cb59b981", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_12c0c936f80f4589afb4b6a8c4d67aa6", + "object": "Rate", "created_at": "2024-01-19T21:59:10Z", "updated_at": "2024-01-19T21:59:10Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_e8ff60ef54844cb4b16cb2a8cb59b981", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_139aaf27e5a64665bd3e369f04dda242", "object": "Rate", "created_at": + "2024-01-19T21:59:10Z", "updated_at": "2024-01-19T21:59:10Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_e8ff60ef54844cb4b16cb2a8cb59b981", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_ea119971395546afa7ad61488c0347b9", + "object": "Rate", "created_at": "2024-01-19T21:59:10Z", "updated_at": "2024-01-19T21:59:10Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_e8ff60ef54844cb4b16cb2a8cb59b981", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_182b25d7952f48659115a7b40def8207", + "object": "Tracker", "mode": "test", "tracking_code": "9434600207552010711562", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:59:11Z", + "updated_at": "2024-01-19T21:59:11Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_e8ff60ef54844cb4b16cb2a8cb59b981", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzE4MmIyNWQ3OTUyZjQ4NjU5MTE1YTdiNDBkZWY4MjA3"}, + "to_address": {"id": "adr_f9009081b71511eebe8eac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T21:59:09+00:00", "updated_at": "2024-01-19T21:59:10+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_f904603db71511eeb03bac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:59:09+00:00", "updated_at": + "2024-01-19T21:59:09+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_f9009081b71511eebe8eac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:59:09+00:00", "updated_at": "2024-01-19T21:59:10+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "6.79000", "charged": true, "refunded": false}, {"object": "Fee", + "type": "InsuranceFee", "amount": "2.49990", "charged": true, "refunded": + false}], "id": "shp_e8ff60ef54844cb4b16cb2a8cb59b981", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '9439' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf0aee798bff9000f8a37 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.896980' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '885' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T22:02:04Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T22:02:05Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_17d9f08d17f64db8b439943aa1b192ec", + "object": "CustomsInfo", "created_at": "2024-01-19T22:02:04Z", "updated_at": + "2024-01-19T22:02:04Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_3d947077ca45465886c9da3655d1bfc3", "object": "CustomsItem", + "created_at": "2024-01-19T22:02:04Z", "updated_at": "2024-01-19T22:02:04Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_617568b6b71611ee900eac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T22:02:04+00:00", "updated_at": "2024-01-19T22:02:04+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_8859cd5d549c4381af666cca690b3c27", "object": "Parcel", "created_at": + "2024-01-19T22:02:04Z", "updated_at": "2024-01-19T22:02:04Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_5563cfffbe5c4083b1619d8188299623", + "object": "Rate", "created_at": "2024-01-19T22:02:05Z", "updated_at": "2024-01-19T22:02:05Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_f9e863db09ea42c8a4b6256868e361e4", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_50c8bbaa83c74b72a6b1c387c8d3015d", + "object": "Rate", "created_at": "2024-01-19T22:02:05Z", "updated_at": "2024-01-19T22:02:05Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_f9e863db09ea42c8a4b6256868e361e4", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_faa7a517ecd6404d956a7ca676ed27ab", + "object": "Rate", "created_at": "2024-01-19T22:02:05Z", "updated_at": "2024-01-19T22:02:05Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_f9e863db09ea42c8a4b6256868e361e4", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_37469ebfc94842129f4f99079d72e821", + "object": "Rate", "created_at": "2024-01-19T22:02:05Z", "updated_at": "2024-01-19T22:02:05Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_f9e863db09ea42c8a4b6256868e361e4", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_8d4dfde1924741a5a283b228b8f73345", "object": "Rate", "created_at": + "2024-01-19T22:02:05Z", "updated_at": "2024-01-19T22:02:05Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_f9e863db09ea42c8a4b6256868e361e4", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_61735013b71611ee900dac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T22:02:04+00:00", "updated_at": "2024-01-19T22:02:04+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_617568b6b71611ee900eac1f6bc53342", "object": "Address", "created_at": + "2024-01-19T22:02:04+00:00", "updated_at": "2024-01-19T22:02:04+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_61735013b71611ee900dac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:02:04+00:00", "updated_at": + "2024-01-19T22:02:04+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_f9e863db09ea42c8a4b6256868e361e4", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_f9e863db09ea42c8a4b6256868e361e4 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaf15ce798c85e0010262b + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.028675' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"rate": {"id": "rate_faa7a517ecd6404d956a7ca676ed27ab"}, "insurance": + "249.99"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '80' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments/shp_f9e863db09ea42c8a4b6256868e361e4/buy + response: + body: + string: '{"created_at": "2024-01-19T22:02:04Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9434600207552010711975", "updated_at": "2024-01-19T22:02:06Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_17d9f08d17f64db8b439943aa1b192ec", "object": "CustomsInfo", "created_at": + "2024-01-19T22:02:04Z", "updated_at": "2024-01-19T22:02:04Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_3d947077ca45465886c9da3655d1bfc3", + "object": "CustomsItem", "created_at": "2024-01-19T22:02:04Z", "updated_at": + "2024-01-19T22:02:04Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_617568b6b71611ee900eac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:02:04+00:00", "updated_at": + "2024-01-19T22:02:04+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": "249.99", "order_id": null, "parcel": {"id": "prcl_8859cd5d549c4381af666cca690b3c27", + "object": "Parcel", "created_at": "2024-01-19T22:02:04Z", "updated_at": "2024-01-19T22:02:04Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_949502ecb377445e83c5ec834d440b77", "created_at": "2024-01-19T22:02:06Z", + "updated_at": "2024-01-19T22:02:06Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T22:02:06Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8cdce2d79a2944f73a07c98796271bc09.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_5563cfffbe5c4083b1619d8188299623", "object": + "Rate", "created_at": "2024-01-19T22:02:05Z", "updated_at": "2024-01-19T22:02:05Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_f9e863db09ea42c8a4b6256868e361e4", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_50c8bbaa83c74b72a6b1c387c8d3015d", + "object": "Rate", "created_at": "2024-01-19T22:02:05Z", "updated_at": "2024-01-19T22:02:05Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_f9e863db09ea42c8a4b6256868e361e4", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_faa7a517ecd6404d956a7ca676ed27ab", + "object": "Rate", "created_at": "2024-01-19T22:02:05Z", "updated_at": "2024-01-19T22:02:05Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_f9e863db09ea42c8a4b6256868e361e4", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_37469ebfc94842129f4f99079d72e821", + "object": "Rate", "created_at": "2024-01-19T22:02:05Z", "updated_at": "2024-01-19T22:02:05Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_f9e863db09ea42c8a4b6256868e361e4", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_8d4dfde1924741a5a283b228b8f73345", "object": "Rate", "created_at": + "2024-01-19T22:02:05Z", "updated_at": "2024-01-19T22:02:05Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_f9e863db09ea42c8a4b6256868e361e4", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_faa7a517ecd6404d956a7ca676ed27ab", + "object": "Rate", "created_at": "2024-01-19T22:02:06Z", "updated_at": "2024-01-19T22:02:06Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_f9e863db09ea42c8a4b6256868e361e4", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_0fa17e1a754c4d8d9900f8d1a5f9ad27", + "object": "Tracker", "mode": "test", "tracking_code": "9434600207552010711975", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:02:06Z", + "updated_at": "2024-01-19T22:02:06Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_f9e863db09ea42c8a4b6256868e361e4", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzBmYTE3ZTFhNzU0YzRkOGQ5OTAwZjhkMWE1ZjlhZDI3"}, + "to_address": {"id": "adr_61735013b71611ee900dac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T22:02:04+00:00", "updated_at": "2024-01-19T22:02:06+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_617568b6b71611ee900eac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:02:04+00:00", "updated_at": + "2024-01-19T22:02:04+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_61735013b71611ee900dac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T22:02:04+00:00", "updated_at": "2024-01-19T22:02:06+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "6.79000", "charged": true, "refunded": false}, {"object": "Fee", + "type": "InsuranceFee", "amount": "2.49990", "charged": true, "refunded": + false}], "id": "shp_f9e863db09ea42c8a4b6256868e361e4", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '9439' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf15de798c8600010273f + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.067007' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '885' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T22:05:53Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T22:05:54Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_d733f3eca8874ae0a6be2bae9fcdc494", + "object": "CustomsInfo", "created_at": "2024-01-19T22:05:52Z", "updated_at": + "2024-01-19T22:05:52Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_003ca5a87d374592ac5f0119fa788211", "object": "CustomsItem", + "created_at": "2024-01-19T22:05:52Z", "updated_at": "2024-01-19T22:05:52Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_e97f052eb71611eebfa6ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T22:05:52+00:00", "updated_at": "2024-01-19T22:05:52+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_96bc918a1cd04dd0bbc9e57bdf2ae83c", "object": "Parcel", "created_at": + "2024-01-19T22:05:52Z", "updated_at": "2024-01-19T22:05:52Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_cd16222bba6c43659fceca2b7324f670", + "object": "Rate", "created_at": "2024-01-19T22:05:54Z", "updated_at": "2024-01-19T22:05:54Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_0b9828a897364d329d93af82dc905dd6", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_726d1a0c94254020b7d5fa994fa895cc", + "object": "Rate", "created_at": "2024-01-19T22:05:54Z", "updated_at": "2024-01-19T22:05:54Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_0b9828a897364d329d93af82dc905dd6", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_3bf1fd38cdce402e95df67375b6b07af", + "object": "Rate", "created_at": "2024-01-19T22:05:54Z", "updated_at": "2024-01-19T22:05:54Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_0b9828a897364d329d93af82dc905dd6", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_cbd333366d504711aaf4df872e5ab5c9", + "object": "Rate", "created_at": "2024-01-19T22:05:54Z", "updated_at": "2024-01-19T22:05:54Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_0b9828a897364d329d93af82dc905dd6", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_3a29c54591bb4e4183717ec090081441", "object": "Rate", "created_at": + "2024-01-19T22:05:54Z", "updated_at": "2024-01-19T22:05:54Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_0b9828a897364d329d93af82dc905dd6", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_e97c21b2b71611eebcc2ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T22:05:52+00:00", "updated_at": "2024-01-19T22:05:52+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_e97f052eb71611eebfa6ac1f6bc539ae", "object": "Address", "created_at": + "2024-01-19T22:05:52+00:00", "updated_at": "2024-01-19T22:05:52+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_e97c21b2b71611eebcc2ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:05:52+00:00", "updated_at": + "2024-01-19T22:05:52+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_0b9828a897364d329d93af82dc905dd6", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_0b9828a897364d329d93af82dc905dd6 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf240e798d1210010cc88 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.637264' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"rate": {"id": "rate_3bf1fd38cdce402e95df67375b6b07af"}, "insurance": + "249.99"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '80' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments/shp_0b9828a897364d329d93af82dc905dd6/buy + response: + body: + string: '{"created_at": "2024-01-19T22:05:53Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9434600207552010712873", "updated_at": "2024-01-19T22:05:55Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_d733f3eca8874ae0a6be2bae9fcdc494", "object": "CustomsInfo", "created_at": + "2024-01-19T22:05:52Z", "updated_at": "2024-01-19T22:05:52Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_003ca5a87d374592ac5f0119fa788211", + "object": "CustomsItem", "created_at": "2024-01-19T22:05:52Z", "updated_at": + "2024-01-19T22:05:52Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_e97f052eb71611eebfa6ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T22:05:52+00:00", "updated_at": + "2024-01-19T22:05:52+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": "249.99", "order_id": null, "parcel": {"id": "prcl_96bc918a1cd04dd0bbc9e57bdf2ae83c", + "object": "Parcel", "created_at": "2024-01-19T22:05:52Z", "updated_at": "2024-01-19T22:05:52Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_b7b3bf97fcb04dfe9a44e15e66d2de44", "created_at": "2024-01-19T22:05:55Z", + "updated_at": "2024-01-19T22:05:55Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T22:05:55Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8ae7ad80e140a449f8aa27a6a0f2e84a7.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_cd16222bba6c43659fceca2b7324f670", "object": + "Rate", "created_at": "2024-01-19T22:05:54Z", "updated_at": "2024-01-19T22:05:54Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_0b9828a897364d329d93af82dc905dd6", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_726d1a0c94254020b7d5fa994fa895cc", + "object": "Rate", "created_at": "2024-01-19T22:05:54Z", "updated_at": "2024-01-19T22:05:54Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_0b9828a897364d329d93af82dc905dd6", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_3bf1fd38cdce402e95df67375b6b07af", + "object": "Rate", "created_at": "2024-01-19T22:05:54Z", "updated_at": "2024-01-19T22:05:54Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_0b9828a897364d329d93af82dc905dd6", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_cbd333366d504711aaf4df872e5ab5c9", + "object": "Rate", "created_at": "2024-01-19T22:05:54Z", "updated_at": "2024-01-19T22:05:54Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_0b9828a897364d329d93af82dc905dd6", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_3a29c54591bb4e4183717ec090081441", "object": "Rate", "created_at": + "2024-01-19T22:05:54Z", "updated_at": "2024-01-19T22:05:54Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_0b9828a897364d329d93af82dc905dd6", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_3bf1fd38cdce402e95df67375b6b07af", + "object": "Rate", "created_at": "2024-01-19T22:05:55Z", "updated_at": "2024-01-19T22:05:55Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_0b9828a897364d329d93af82dc905dd6", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_87e48745a7a947ddb447045a08500f5f", + "object": "Tracker", "mode": "test", "tracking_code": "9434600207552010712873", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:05:55Z", + "updated_at": "2024-01-19T22:05:55Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_0b9828a897364d329d93af82dc905dd6", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzg3ZTQ4NzQ1YTdhOTQ3ZGRiNDQ3MDQ1YTA4NTAwZjVm"}, + "to_address": {"id": "adr_e97c21b2b71611eebcc2ac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T22:05:52+00:00", "updated_at": "2024-01-19T22:05:54+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_e97f052eb71611eebfa6ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T22:05:52+00:00", "updated_at": + "2024-01-19T22:05:52+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_e97c21b2b71611eebcc2ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T22:05:52+00:00", "updated_at": "2024-01-19T22:05:54+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "6.79000", "charged": true, "refunded": false}, {"object": "Fee", + "type": "InsuranceFee", "amount": "2.49990", "charged": true, "refunded": + false}], "id": "shp_0b9828a897364d329d93af82dc905dd6", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '9439' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf242e798d1220010ce0c + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.904109' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_shipments_create.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_shipments_create.yaml new file mode 100644 index 00000000..b2f6494b --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_shipments_create.yaml @@ -0,0 +1,1196 @@ +interactions: +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '885' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:42:03Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T21:42:03Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_11122b6cc41745de9ceeae6871c4a4e0", + "object": "CustomsInfo", "created_at": "2024-01-19T21:42:03Z", "updated_at": + "2024-01-19T21:42:03Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_86244994467243c48ed055ecd767169c", "object": "CustomsItem", + "created_at": "2024-01-19T21:42:03Z", "updated_at": "2024-01-19T21:42:03Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_95381083b71311eea40dac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:42:03+00:00", "updated_at": "2024-01-19T21:42:03+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_56e1850524074d4c98d2ce839c82af4c", "object": "Parcel", "created_at": + "2024-01-19T21:42:03Z", "updated_at": "2024-01-19T21:42:03Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_0b606acebf8548ff9337aa026999df2a", + "object": "Rate", "created_at": "2024-01-19T21:42:03Z", "updated_at": "2024-01-19T21:42:03Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_36544f6aeef5499bbab96a44d8ddcc18", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c0c41a55e4b94e388ad9c1417dacea2e", + "object": "Rate", "created_at": "2024-01-19T21:42:03Z", "updated_at": "2024-01-19T21:42:03Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_36544f6aeef5499bbab96a44d8ddcc18", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_982018ad485b4040a059a0745db589a8", + "object": "Rate", "created_at": "2024-01-19T21:42:03Z", "updated_at": "2024-01-19T21:42:03Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_36544f6aeef5499bbab96a44d8ddcc18", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_9396adbe660840caa7792b1caf8a6711", "object": "Rate", "created_at": + "2024-01-19T21:42:03Z", "updated_at": "2024-01-19T21:42:03Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_36544f6aeef5499bbab96a44d8ddcc18", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_d7ad9bf50ba04c57910451241ace59a9", "object": "Rate", "created_at": + "2024-01-19T21:42:03Z", "updated_at": "2024-01-19T21:42:03Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_36544f6aeef5499bbab96a44d8ddcc18", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_95365731b71311eea25c3cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:42:03+00:00", "updated_at": "2024-01-19T21:42:03+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_95381083b71311eea40dac1f6bc53342", "object": "Address", "created_at": + "2024-01-19T21:42:03+00:00", "updated_at": "2024-01-19T21:42:03+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_95365731b71311eea25c3cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:42:03+00:00", "updated_at": + "2024-01-19T21:42:03+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_36544f6aeef5499bbab96a44d8ddcc18", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_36544f6aeef5499bbab96a44d8ddcc18 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaecabe78b9f64000d0791 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.861352' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '885' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:43:59Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T21:43:59Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_9bebc89c6cb5452fa0364f42807bc00c", + "object": "CustomsInfo", "created_at": "2024-01-19T21:43:59Z", "updated_at": + "2024-01-19T21:43:59Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_eac3ae4a23a443cf8ec85b54db87c37f", "object": "CustomsItem", + "created_at": "2024-01-19T21:43:59Z", "updated_at": "2024-01-19T21:43:59Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_da71307cb71311eebb663cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:43:59+00:00", "updated_at": "2024-01-19T21:43:59+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_914b46e693fc4a20ad15d3d8a55ae77d", "object": "Parcel", "created_at": + "2024-01-19T21:43:59Z", "updated_at": "2024-01-19T21:43:59Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_6ae51101dc5f4c38a734f94487ccb570", + "object": "Rate", "created_at": "2024-01-19T21:43:59Z", "updated_at": "2024-01-19T21:43:59Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_4ab9ade3823f41739a6129e9483d5570", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_29fb328f0fe948739aa558efb5717469", + "object": "Rate", "created_at": "2024-01-19T21:43:59Z", "updated_at": "2024-01-19T21:43:59Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_4ab9ade3823f41739a6129e9483d5570", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b66b4768655446b09b41867a95fd9623", + "object": "Rate", "created_at": "2024-01-19T21:43:59Z", "updated_at": "2024-01-19T21:43:59Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_4ab9ade3823f41739a6129e9483d5570", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_af06c396e9b144dca064ee0356aae97c", "object": "Rate", "created_at": + "2024-01-19T21:43:59Z", "updated_at": "2024-01-19T21:43:59Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_4ab9ade3823f41739a6129e9483d5570", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_29987645785a4969bfa74724ab1eabfd", "object": "Rate", "created_at": + "2024-01-19T21:43:59Z", "updated_at": "2024-01-19T21:43:59Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_4ab9ade3823f41739a6129e9483d5570", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_da6f0902b71311eebdd7ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:43:59+00:00", "updated_at": "2024-01-19T21:43:59+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_da71307cb71311eebb663cecef1b359e", "object": "Address", "created_at": + "2024-01-19T21:43:59+00:00", "updated_at": "2024-01-19T21:43:59+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_da6f0902b71311eebdd7ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:43:59+00:00", "updated_at": + "2024-01-19T21:43:59+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_4ab9ade3823f41739a6129e9483d5570", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_4ab9ade3823f41739a6129e9483d5570 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaed1fe78ba78a000d4b67 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.707052' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '885' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:47:52Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T21:47:52Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_d226643435144fd4b6c5081b67da5c9c", + "object": "CustomsInfo", "created_at": "2024-01-19T21:47:52Z", "updated_at": + "2024-01-19T21:47:52Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_1ddd057088144b8ea5d43580e64fc50c", "object": "CustomsItem", + "created_at": "2024-01-19T21:47:52Z", "updated_at": "2024-01-19T21:47:52Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_654a4a5eb71411eeaa8aac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:47:52+00:00", "updated_at": "2024-01-19T21:47:52+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_5512290e964e4a78b393c980dec94eed", "object": "Parcel", "created_at": + "2024-01-19T21:47:52Z", "updated_at": "2024-01-19T21:47:52Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_0c2c80fb71d2448da9d54b5ca139de99", + "object": "Rate", "created_at": "2024-01-19T21:47:52Z", "updated_at": "2024-01-19T21:47:52Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_c4b113102bb0401a810f9696eba56d68", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_0fa5b85d688b49ecb1640a4436d32ad2", + "object": "Rate", "created_at": "2024-01-19T21:47:52Z", "updated_at": "2024-01-19T21:47:52Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_c4b113102bb0401a810f9696eba56d68", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_701bb384a8694e288d22eb46328cb376", + "object": "Rate", "created_at": "2024-01-19T21:47:52Z", "updated_at": "2024-01-19T21:47:52Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_c4b113102bb0401a810f9696eba56d68", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_1c9a57e4087245fbb96465f0bc2e42ae", "object": "Rate", "created_at": + "2024-01-19T21:47:52Z", "updated_at": "2024-01-19T21:47:52Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_c4b113102bb0401a810f9696eba56d68", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_eca829634f064c68993fea9dad61e20c", "object": "Rate", "created_at": + "2024-01-19T21:47:52Z", "updated_at": "2024-01-19T21:47:52Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_c4b113102bb0401a810f9696eba56d68", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_654813b6b71411eeb8faac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:47:52+00:00", "updated_at": "2024-01-19T21:47:52+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_654a4a5eb71411eeaa8aac1f6bc539ae", "object": "Address", "created_at": + "2024-01-19T21:47:52+00:00", "updated_at": "2024-01-19T21:47:52+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_654813b6b71411eeb8faac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:47:52+00:00", "updated_at": + "2024-01-19T21:47:52+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_c4b113102bb0401a810f9696eba56d68", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_c4b113102bb0401a810f9696eba56d68 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda865aaee08e78bb00d001142d1 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.731243' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '885' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:49:47Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T21:49:48Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_48f28e255228481cb62d4fcf25c95b56", + "object": "CustomsInfo", "created_at": "2024-01-19T21:49:47Z", "updated_at": + "2024-01-19T21:49:47Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_7441b9959a134b368fd195c91ba31b3b", "object": "CustomsItem", + "created_at": "2024-01-19T21:49:47Z", "updated_at": "2024-01-19T21:49:47Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_aa014ea0b71411eebff9ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:49:47+00:00", "updated_at": "2024-01-19T21:49:47+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_b3f5e938e49d4d43a56b5f797ad9432f", "object": "Parcel", "created_at": + "2024-01-19T21:49:47Z", "updated_at": "2024-01-19T21:49:47Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_b173588a66f2415e9f85cc8e80f7e0ab", + "object": "Rate", "created_at": "2024-01-19T21:49:48Z", "updated_at": "2024-01-19T21:49:48Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_a4f0f0c0a8794ddd9e7c099cefcbe048", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_2f5c9a03927a49cc8ff3bd2d17910497", + "object": "Rate", "created_at": "2024-01-19T21:49:48Z", "updated_at": "2024-01-19T21:49:48Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_a4f0f0c0a8794ddd9e7c099cefcbe048", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_1559e236509d496789b766be06c73162", + "object": "Rate", "created_at": "2024-01-19T21:49:48Z", "updated_at": "2024-01-19T21:49:48Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_a4f0f0c0a8794ddd9e7c099cefcbe048", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_4d08af57f5e446ce93b9ab4fa0e9219e", "object": "Rate", "created_at": + "2024-01-19T21:49:48Z", "updated_at": "2024-01-19T21:49:48Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_a4f0f0c0a8794ddd9e7c099cefcbe048", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_b1e39d9ddd86456fb5eee327b10640f5", "object": "Rate", "created_at": + "2024-01-19T21:49:48Z", "updated_at": "2024-01-19T21:49:48Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_a4f0f0c0a8794ddd9e7c099cefcbe048", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_a9ff01b6b71411eebccc3cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:49:47+00:00", "updated_at": "2024-01-19T21:49:47+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_aa014ea0b71411eebff9ac1f6bc539ae", "object": "Address", "created_at": + "2024-01-19T21:49:47+00:00", "updated_at": "2024-01-19T21:49:47+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_a9ff01b6b71411eebccc3cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:49:47+00:00", "updated_at": + "2024-01-19T21:49:47+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_a4f0f0c0a8794ddd9e7c099cefcbe048", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_a4f0f0c0a8794ddd9e7c099cefcbe048 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda965aaee7be78bb8470011848e + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.697356' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '885' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:59:06Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T21:59:06Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_d274833928ff4601898b1995b4bc936c", + "object": "CustomsInfo", "created_at": "2024-01-19T21:59:06Z", "updated_at": + "2024-01-19T21:59:06Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_563b4264146745638aff2b1f8d4e176d", "object": "CustomsItem", + "created_at": "2024-01-19T21:59:06Z", "updated_at": "2024-01-19T21:59:06Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_f6fcef93b71511eeabaa3cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:59:06+00:00", "updated_at": "2024-01-19T21:59:06+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_3fcdc9849fc446239959ea2ec50859cd", "object": "Parcel", "created_at": + "2024-01-19T21:59:06Z", "updated_at": "2024-01-19T21:59:06Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_f5cf2b70a74d48079ca27c1b9e4775e9", + "object": "Rate", "created_at": "2024-01-19T21:59:06Z", "updated_at": "2024-01-19T21:59:06Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_a104e451254647858270ba1c17626604", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_90847c53f3194bb2b831a5dc33e73a12", + "object": "Rate", "created_at": "2024-01-19T21:59:06Z", "updated_at": "2024-01-19T21:59:06Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_a104e451254647858270ba1c17626604", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4932dfea916d483bbfa0fc6c78d09760", + "object": "Rate", "created_at": "2024-01-19T21:59:06Z", "updated_at": "2024-01-19T21:59:06Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_a104e451254647858270ba1c17626604", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_1f9e9ec319fb44a293c7812b0681b8b5", + "object": "Rate", "created_at": "2024-01-19T21:59:06Z", "updated_at": "2024-01-19T21:59:06Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_a104e451254647858270ba1c17626604", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_08e56a8d89434f51a9c15d91306ebe45", "object": "Rate", "created_at": + "2024-01-19T21:59:06Z", "updated_at": "2024-01-19T21:59:06Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_a104e451254647858270ba1c17626604", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_f6fa1daeb71511eebe1cac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:59:06+00:00", "updated_at": "2024-01-19T21:59:06+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_f6fcef93b71511eeabaa3cecef1b359e", "object": "Address", "created_at": + "2024-01-19T21:59:06+00:00", "updated_at": "2024-01-19T21:59:06+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_f6fa1daeb71511eebe1cac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:59:06+00:00", "updated_at": + "2024-01-19T21:59:06+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_a104e451254647858270ba1c17626604", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_a104e451254647858270ba1c17626604 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf0aae798bfdd000f87b4 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.728153' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '885' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T22:02:01Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T22:02:02Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_ad5cba2a23ba4eeaa8824a336ee3a67c", + "object": "CustomsInfo", "created_at": "2024-01-19T22:02:01Z", "updated_at": + "2024-01-19T22:02:01Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_edcdba53ad0240b8b7f45ff6827a86db", "object": "CustomsItem", + "created_at": "2024-01-19T22:02:01Z", "updated_at": "2024-01-19T22:02:01Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_5f869678b71611ee90f5ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T22:02:01+00:00", "updated_at": "2024-01-19T22:02:01+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_e3e610a7c68f4723a4df36b007b25ed8", "object": "Parcel", "created_at": + "2024-01-19T22:02:01Z", "updated_at": "2024-01-19T22:02:01Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_36d62a030ce84fc8a2c3fc5d66335a91", + "object": "Rate", "created_at": "2024-01-19T22:02:02Z", "updated_at": "2024-01-19T22:02:02Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_74bb2b1358bb46d3958fc4fb2f95b6ca", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_42646b6e759545a4b20388d87e7db7a3", + "object": "Rate", "created_at": "2024-01-19T22:02:02Z", "updated_at": "2024-01-19T22:02:02Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_74bb2b1358bb46d3958fc4fb2f95b6ca", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_06c8c7eaf0184688aee4d868a5d79a53", + "object": "Rate", "created_at": "2024-01-19T22:02:02Z", "updated_at": "2024-01-19T22:02:02Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_74bb2b1358bb46d3958fc4fb2f95b6ca", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_09b8bca4d40f40ab807e485a4fd9b131", "object": "Rate", "created_at": + "2024-01-19T22:02:02Z", "updated_at": "2024-01-19T22:02:02Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_74bb2b1358bb46d3958fc4fb2f95b6ca", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_6c47904b3a4f4249b10e6bface283013", "object": "Rate", "created_at": + "2024-01-19T22:02:02Z", "updated_at": "2024-01-19T22:02:02Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_74bb2b1358bb46d3958fc4fb2f95b6ca", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_5f84372bb71611ee90f4ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T22:02:01+00:00", "updated_at": "2024-01-19T22:02:01+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_5f869678b71611ee90f5ac1f6bc539ae", "object": "Address", "created_at": + "2024-01-19T22:02:01+00:00", "updated_at": "2024-01-19T22:02:01+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_5f84372bb71611ee90f4ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T22:02:01+00:00", "updated_at": + "2024-01-19T22:02:01+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_74bb2b1358bb46d3958fc4fb2f95b6ca", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_74bb2b1358bb46d3958fc4fb2f95b6ca + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf159e798c84200102378 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.752082' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '885' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T22:05:49Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T22:05:50Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_e96beb9bbb704110b2c319e49347d0b9", + "object": "CustomsInfo", "created_at": "2024-01-19T22:05:49Z", "updated_at": + "2024-01-19T22:05:49Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_252004e4dacf43b0b92d5cd6c2f644dc", "object": "CustomsItem", + "created_at": "2024-01-19T22:05:49Z", "updated_at": "2024-01-19T22:05:49Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_e771a85cb71611ee8ca7ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T22:05:49+00:00", "updated_at": "2024-01-19T22:05:49+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_0e969db3b1f9474ea3927b4529607853", "object": "Parcel", "created_at": + "2024-01-19T22:05:49Z", "updated_at": "2024-01-19T22:05:49Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_891b9e4666354fbf8e8bbeea259a6f4b", + "object": "Rate", "created_at": "2024-01-19T22:05:50Z", "updated_at": "2024-01-19T22:05:50Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_e6941bb6a0b8444f87c561caa87c781e", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4f21b9c13c994128a8ecd488bef3ccfe", + "object": "Rate", "created_at": "2024-01-19T22:05:50Z", "updated_at": "2024-01-19T22:05:50Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_e6941bb6a0b8444f87c561caa87c781e", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_bd36c725801c4f688931f4b320654555", + "object": "Rate", "created_at": "2024-01-19T22:05:50Z", "updated_at": "2024-01-19T22:05:50Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_e6941bb6a0b8444f87c561caa87c781e", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_0adf4d66a2244bafa32682de7b8a6941", "object": "Rate", "created_at": + "2024-01-19T22:05:50Z", "updated_at": "2024-01-19T22:05:50Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_e6941bb6a0b8444f87c561caa87c781e", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_652516008e7649538f1e536da8719e9d", "object": "Rate", "created_at": + "2024-01-19T22:05:50Z", "updated_at": "2024-01-19T22:05:50Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_e6941bb6a0b8444f87c561caa87c781e", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_e76dd5a7b71611eeba623cecef1b359e", "object": + "Address", "created_at": "2024-01-19T22:05:49+00:00", "updated_at": "2024-01-19T22:05:49+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_e771a85cb71611ee8ca7ac1f6bc539aa", "object": "Address", "created_at": + "2024-01-19T22:05:49+00:00", "updated_at": "2024-01-19T22:05:49+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_e76dd5a7b71611eeba623cecef1b359e", + "object": "Address", "created_at": "2024-01-19T22:05:49+00:00", "updated_at": + "2024-01-19T22:05:49+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_e6941bb6a0b8444f87c561caa87c781e", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_e6941bb6a0b8444f87c561caa87c781e + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf23de798d1060010ca63 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.713060' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_shipments_label.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_shipments_label.yaml new file mode 100644 index 00000000..2a5fbc42 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_shipments_label.yaml @@ -0,0 +1,3678 @@ +interactions: +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '885' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:42:09Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T21:42:10Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_924e5a2d39ec4e20a10c1a9c0cf5ed03", + "object": "CustomsInfo", "created_at": "2024-01-19T21:42:09Z", "updated_at": + "2024-01-19T21:42:09Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_65b7e99f51b046258c2a02912014a961", "object": "CustomsItem", + "created_at": "2024-01-19T21:42:09Z", "updated_at": "2024-01-19T21:42:09Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_991b73c1b71311eea632ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:42:09+00:00", "updated_at": "2024-01-19T21:42:09+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_49de61bb82754f769959c0b8ac8ecf6d", "object": "Parcel", "created_at": + "2024-01-19T21:42:09Z", "updated_at": "2024-01-19T21:42:09Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_f0dd36cb952d47ccb62bccfce70bd175", + "object": "Rate", "created_at": "2024-01-19T21:42:10Z", "updated_at": "2024-01-19T21:42:10Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_cfb4323eb62f490b88dc6fedb8394554", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_1da2e438d64f42989aa24ac9fb9c5120", + "object": "Rate", "created_at": "2024-01-19T21:42:10Z", "updated_at": "2024-01-19T21:42:10Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_cfb4323eb62f490b88dc6fedb8394554", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b2f811cfbef64a90916a3a673470236b", + "object": "Rate", "created_at": "2024-01-19T21:42:10Z", "updated_at": "2024-01-19T21:42:10Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_cfb4323eb62f490b88dc6fedb8394554", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_431e683d4bb041799a7a7be66e0368c3", + "object": "Rate", "created_at": "2024-01-19T21:42:10Z", "updated_at": "2024-01-19T21:42:10Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_cfb4323eb62f490b88dc6fedb8394554", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_af463d53cc294363aed099dd4454a8c4", "object": "Rate", "created_at": + "2024-01-19T21:42:10Z", "updated_at": "2024-01-19T21:42:10Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_cfb4323eb62f490b88dc6fedb8394554", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_9918f44fb71311eea552ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:42:09+00:00", "updated_at": "2024-01-19T21:42:09+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_991b73c1b71311eea632ac1f6bc539ae", "object": "Address", "created_at": + "2024-01-19T21:42:09+00:00", "updated_at": "2024-01-19T21:42:09+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_9918f44fb71311eea552ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:42:09+00:00", "updated_at": + "2024-01-19T21:42:09+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_cfb4323eb62f490b88dc6fedb8394554", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_cfb4323eb62f490b88dc6fedb8394554 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaecb1e78b9f6b000d0aef + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.758304' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"rate": {"id": "rate_b2f811cfbef64a90916a3a673470236b"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '57' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments/shp_cfb4323eb62f490b88dc6fedb8394554/buy + response: + body: + string: '{"created_at": "2024-01-19T21:42:09Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9434600207552010707817", "updated_at": "2024-01-19T21:42:11Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_924e5a2d39ec4e20a10c1a9c0cf5ed03", "object": "CustomsInfo", "created_at": + "2024-01-19T21:42:09Z", "updated_at": "2024-01-19T21:42:09Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_65b7e99f51b046258c2a02912014a961", + "object": "CustomsItem", "created_at": "2024-01-19T21:42:09Z", "updated_at": + "2024-01-19T21:42:09Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_991b73c1b71311eea632ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:42:09+00:00", "updated_at": + "2024-01-19T21:42:09+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_49de61bb82754f769959c0b8ac8ecf6d", + "object": "Parcel", "created_at": "2024-01-19T21:42:09Z", "updated_at": "2024-01-19T21:42:09Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_db98b785798a4ed8a6694df8754b19e8", "created_at": "2024-01-19T21:42:11Z", + "updated_at": "2024-01-19T21:42:11Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:42:11Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8f1d17ec0c7734896b81e822af9eaa6bb.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_f0dd36cb952d47ccb62bccfce70bd175", "object": + "Rate", "created_at": "2024-01-19T21:42:10Z", "updated_at": "2024-01-19T21:42:10Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_cfb4323eb62f490b88dc6fedb8394554", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_1da2e438d64f42989aa24ac9fb9c5120", + "object": "Rate", "created_at": "2024-01-19T21:42:10Z", "updated_at": "2024-01-19T21:42:10Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_cfb4323eb62f490b88dc6fedb8394554", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b2f811cfbef64a90916a3a673470236b", + "object": "Rate", "created_at": "2024-01-19T21:42:10Z", "updated_at": "2024-01-19T21:42:10Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_cfb4323eb62f490b88dc6fedb8394554", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_431e683d4bb041799a7a7be66e0368c3", + "object": "Rate", "created_at": "2024-01-19T21:42:10Z", "updated_at": "2024-01-19T21:42:10Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_cfb4323eb62f490b88dc6fedb8394554", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_af463d53cc294363aed099dd4454a8c4", "object": "Rate", "created_at": + "2024-01-19T21:42:10Z", "updated_at": "2024-01-19T21:42:10Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_cfb4323eb62f490b88dc6fedb8394554", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_b2f811cfbef64a90916a3a673470236b", + "object": "Rate", "created_at": "2024-01-19T21:42:11Z", "updated_at": "2024-01-19T21:42:11Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_cfb4323eb62f490b88dc6fedb8394554", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_cf7cbc52e6bd47be912299713e8809b3", + "object": "Tracker", "mode": "test", "tracking_code": "9434600207552010707817", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:42:11Z", + "updated_at": "2024-01-19T21:42:11Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_cfb4323eb62f490b88dc6fedb8394554", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrX2NmN2NiYzUyZTZiZDQ3YmU5MTIyOTk3MTNlODgwOWIz"}, + "to_address": {"id": "adr_9918f44fb71311eea552ac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T21:42:09+00:00", "updated_at": "2024-01-19T21:42:10+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_991b73c1b71311eea632ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:42:09+00:00", "updated_at": + "2024-01-19T21:42:09+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_9918f44fb71311eea552ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:42:09+00:00", "updated_at": "2024-01-19T21:42:10+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "6.79000", "charged": true, "refunded": false}], "id": "shp_cfb4323eb62f490b88dc6fedb8394554", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '9345' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaecb2e78b9f6c000d0b72 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.924740' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/shipments/shp_cfb4323eb62f490b88dc6fedb8394554/label?file_format=ZPL + response: + body: + string: '{"created_at": "2024-01-19T21:42:09Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9434600207552010707817", "updated_at": "2024-01-19T21:42:11Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_924e5a2d39ec4e20a10c1a9c0cf5ed03", "object": "CustomsInfo", "created_at": + "2024-01-19T21:42:09Z", "updated_at": "2024-01-19T21:42:09Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_65b7e99f51b046258c2a02912014a961", + "object": "CustomsItem", "created_at": "2024-01-19T21:42:09Z", "updated_at": + "2024-01-19T21:42:09Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_991b73c1b71311eea632ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:42:09+00:00", "updated_at": + "2024-01-19T21:42:09+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_49de61bb82754f769959c0b8ac8ecf6d", + "object": "Parcel", "created_at": "2024-01-19T21:42:09Z", "updated_at": "2024-01-19T21:42:09Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_db98b785798a4ed8a6694df8754b19e8", "created_at": "2024-01-19T21:42:11Z", + "updated_at": "2024-01-19T21:42:13Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:42:11Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8f1d17ec0c7734896b81e822af9eaa6bb.png", + "label_pdf_url": null, "label_zpl_url": "https://easypost-files.s3-us-west-2.amazonaws.com/files/postage_label/20240119/d0f80b7d5b9d4c9c9beca9963d89896a.zpl", + "label_epl2_url": null, "label_file": null}, "rates": [{"id": "rate_f0dd36cb952d47ccb62bccfce70bd175", + "object": "Rate", "created_at": "2024-01-19T21:42:10Z", "updated_at": "2024-01-19T21:42:10Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_cfb4323eb62f490b88dc6fedb8394554", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_1da2e438d64f42989aa24ac9fb9c5120", + "object": "Rate", "created_at": "2024-01-19T21:42:10Z", "updated_at": "2024-01-19T21:42:10Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_cfb4323eb62f490b88dc6fedb8394554", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b2f811cfbef64a90916a3a673470236b", + "object": "Rate", "created_at": "2024-01-19T21:42:10Z", "updated_at": "2024-01-19T21:42:10Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_cfb4323eb62f490b88dc6fedb8394554", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_431e683d4bb041799a7a7be66e0368c3", + "object": "Rate", "created_at": "2024-01-19T21:42:10Z", "updated_at": "2024-01-19T21:42:10Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_cfb4323eb62f490b88dc6fedb8394554", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_af463d53cc294363aed099dd4454a8c4", "object": "Rate", "created_at": + "2024-01-19T21:42:10Z", "updated_at": "2024-01-19T21:42:10Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_cfb4323eb62f490b88dc6fedb8394554", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_b2f811cfbef64a90916a3a673470236b", + "object": "Rate", "created_at": "2024-01-19T21:42:11Z", "updated_at": "2024-01-19T21:42:11Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_cfb4323eb62f490b88dc6fedb8394554", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_cf7cbc52e6bd47be912299713e8809b3", + "object": "Tracker", "mode": "test", "tracking_code": "9434600207552010707817", + "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:42:11Z", + "updated_at": "2024-01-19T21:42:11Z", "signed_by": null, "weight": null, "est_delivery_date": + "2024-01-19T21:42:11Z", "shipment_id": "shp_cfb4323eb62f490b88dc6fedb8394554", + "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": + "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-19T21:42:11Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", + "message": "Shipping Label Created", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-20T10:19:11Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": + null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": + null}, "public_url": "https://track.easypost.com/djE6dHJrX2NmN2NiYzUyZTZiZDQ3YmU5MTIyOTk3MTNlODgwOWIz"}, + "to_address": {"id": "adr_9918f44fb71311eea552ac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T21:42:09+00:00", "updated_at": "2024-01-19T21:42:10+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_991b73c1b71311eea632ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:42:09+00:00", "updated_at": + "2024-01-19T21:42:09+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_9918f44fb71311eea552ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:42:09+00:00", "updated_at": "2024-01-19T21:42:10+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "6.79000", "charged": true, "refunded": false}], "id": "shp_cfb4323eb62f490b88dc6fedb8394554", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '10588' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaecb3e78b9f84000d0c3c + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.451174' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '885' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:44:06Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T21:44:07Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_0033abad48e945ad950cd3682ea52c5e", + "object": "CustomsInfo", "created_at": "2024-01-19T21:44:06Z", "updated_at": + "2024-01-19T21:44:06Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_2f48b28a9cd54e6b9abc1d835212963c", "object": "CustomsItem", + "created_at": "2024-01-19T21:44:06Z", "updated_at": "2024-01-19T21:44:06Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_def3212eb71311eebcc13cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:44:06+00:00", "updated_at": "2024-01-19T21:44:06+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_42a49c94feaa4843a6d432cf218f5d17", "object": "Parcel", "created_at": + "2024-01-19T21:44:06Z", "updated_at": "2024-01-19T21:44:06Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_85c7745bbd3940548ef58be639232eaa", + "object": "Rate", "created_at": "2024-01-19T21:44:07Z", "updated_at": "2024-01-19T21:44:07Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_885acb45f712451a9e3bfb82f28b4143", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_0dc65c84e0d041c0b6408d87140b42a2", + "object": "Rate", "created_at": "2024-01-19T21:44:07Z", "updated_at": "2024-01-19T21:44:07Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_885acb45f712451a9e3bfb82f28b4143", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_d69f1fe768ff499282537438291b36e0", + "object": "Rate", "created_at": "2024-01-19T21:44:07Z", "updated_at": "2024-01-19T21:44:07Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_885acb45f712451a9e3bfb82f28b4143", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_171721d408f742b0963576cb69affcf8", "object": "Rate", "created_at": + "2024-01-19T21:44:07Z", "updated_at": "2024-01-19T21:44:07Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_885acb45f712451a9e3bfb82f28b4143", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_f22e43365ac849c68e00f2c8ca18f07a", "object": "Rate", "created_at": + "2024-01-19T21:44:07Z", "updated_at": "2024-01-19T21:44:07Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_885acb45f712451a9e3bfb82f28b4143", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_def09665b71311eebf43ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:44:06+00:00", "updated_at": "2024-01-19T21:44:06+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_def3212eb71311eebcc13cecef1b359e", "object": "Address", "created_at": + "2024-01-19T21:44:06+00:00", "updated_at": "2024-01-19T21:44:06+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_def09665b71311eebf43ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:44:06+00:00", "updated_at": + "2024-01-19T21:44:06+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_885acb45f712451a9e3bfb82f28b4143", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_885acb45f712451a9e3bfb82f28b4143 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaed26e78ba7a8000d5032 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.835142' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"rate": {"id": "rate_0dc65c84e0d041c0b6408d87140b42a2"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '57' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments/shp_885acb45f712451a9e3bfb82f28b4143/buy + response: + body: + string: '{"created_at": "2024-01-19T21:44:06Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9434600207552010708128", "updated_at": "2024-01-19T21:44:08Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_0033abad48e945ad950cd3682ea52c5e", "object": "CustomsInfo", "created_at": + "2024-01-19T21:44:06Z", "updated_at": "2024-01-19T21:44:06Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_2f48b28a9cd54e6b9abc1d835212963c", + "object": "CustomsItem", "created_at": "2024-01-19T21:44:06Z", "updated_at": + "2024-01-19T21:44:06Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_def3212eb71311eebcc13cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:44:06+00:00", "updated_at": + "2024-01-19T21:44:06+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_42a49c94feaa4843a6d432cf218f5d17", + "object": "Parcel", "created_at": "2024-01-19T21:44:06Z", "updated_at": "2024-01-19T21:44:06Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_f4f032c20dea4db3a6258806e3f057d4", "created_at": "2024-01-19T21:44:08Z", + "updated_at": "2024-01-19T21:44:08Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:44:08Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8ba4be0b71fa340f180e5530c8b79c44c.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_85c7745bbd3940548ef58be639232eaa", "object": + "Rate", "created_at": "2024-01-19T21:44:07Z", "updated_at": "2024-01-19T21:44:07Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_885acb45f712451a9e3bfb82f28b4143", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_0dc65c84e0d041c0b6408d87140b42a2", + "object": "Rate", "created_at": "2024-01-19T21:44:07Z", "updated_at": "2024-01-19T21:44:07Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_885acb45f712451a9e3bfb82f28b4143", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_d69f1fe768ff499282537438291b36e0", + "object": "Rate", "created_at": "2024-01-19T21:44:07Z", "updated_at": "2024-01-19T21:44:07Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_885acb45f712451a9e3bfb82f28b4143", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_171721d408f742b0963576cb69affcf8", "object": "Rate", "created_at": + "2024-01-19T21:44:07Z", "updated_at": "2024-01-19T21:44:07Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_885acb45f712451a9e3bfb82f28b4143", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_f22e43365ac849c68e00f2c8ca18f07a", "object": "Rate", "created_at": + "2024-01-19T21:44:07Z", "updated_at": "2024-01-19T21:44:07Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_885acb45f712451a9e3bfb82f28b4143", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_0dc65c84e0d041c0b6408d87140b42a2", + "object": "Rate", "created_at": "2024-01-19T21:44:08Z", "updated_at": "2024-01-19T21:44:08Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_885acb45f712451a9e3bfb82f28b4143", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_44cfb9ee76ed482aa2ad647459fad304", + "object": "Tracker", "mode": "test", "tracking_code": "9434600207552010708128", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:44:08Z", + "updated_at": "2024-01-19T21:44:08Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_885acb45f712451a9e3bfb82f28b4143", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzQ0Y2ZiOWVlNzZlZDQ4MmFhMmFkNjQ3NDU5ZmFkMzA0"}, + "to_address": {"id": "adr_def09665b71311eebf43ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:44:06+00:00", "updated_at": "2024-01-19T21:44:07+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_def3212eb71311eebcc13cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:44:06+00:00", "updated_at": + "2024-01-19T21:44:06+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_def09665b71311eebf43ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:44:06+00:00", "updated_at": "2024-01-19T21:44:07+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "6.79000", "charged": true, "refunded": false}], "id": "shp_885acb45f712451a9e3bfb82f28b4143", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '9345' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaed27e78ba7a9000d50d2 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.829993' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/shipments/shp_885acb45f712451a9e3bfb82f28b4143/label?file_format=ZPL + response: + body: + string: '{"created_at": "2024-01-19T21:44:06Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9434600207552010708128", "updated_at": "2024-01-19T21:44:08Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_0033abad48e945ad950cd3682ea52c5e", "object": "CustomsInfo", "created_at": + "2024-01-19T21:44:06Z", "updated_at": "2024-01-19T21:44:06Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_2f48b28a9cd54e6b9abc1d835212963c", + "object": "CustomsItem", "created_at": "2024-01-19T21:44:06Z", "updated_at": + "2024-01-19T21:44:06Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_def3212eb71311eebcc13cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:44:06+00:00", "updated_at": + "2024-01-19T21:44:06+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_42a49c94feaa4843a6d432cf218f5d17", + "object": "Parcel", "created_at": "2024-01-19T21:44:06Z", "updated_at": "2024-01-19T21:44:06Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_f4f032c20dea4db3a6258806e3f057d4", "created_at": "2024-01-19T21:44:08Z", + "updated_at": "2024-01-19T21:44:10Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:44:08Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8ba4be0b71fa340f180e5530c8b79c44c.png", + "label_pdf_url": null, "label_zpl_url": "https://easypost-files.s3-us-west-2.amazonaws.com/files/postage_label/20240119/596130f3a57c44f6ab0fe3d432d85b96.zpl", + "label_epl2_url": null, "label_file": null}, "rates": [{"id": "rate_85c7745bbd3940548ef58be639232eaa", + "object": "Rate", "created_at": "2024-01-19T21:44:07Z", "updated_at": "2024-01-19T21:44:07Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_885acb45f712451a9e3bfb82f28b4143", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_0dc65c84e0d041c0b6408d87140b42a2", + "object": "Rate", "created_at": "2024-01-19T21:44:07Z", "updated_at": "2024-01-19T21:44:07Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_885acb45f712451a9e3bfb82f28b4143", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_d69f1fe768ff499282537438291b36e0", + "object": "Rate", "created_at": "2024-01-19T21:44:07Z", "updated_at": "2024-01-19T21:44:07Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_885acb45f712451a9e3bfb82f28b4143", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_171721d408f742b0963576cb69affcf8", "object": "Rate", "created_at": + "2024-01-19T21:44:07Z", "updated_at": "2024-01-19T21:44:07Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_885acb45f712451a9e3bfb82f28b4143", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_f22e43365ac849c68e00f2c8ca18f07a", "object": "Rate", "created_at": + "2024-01-19T21:44:07Z", "updated_at": "2024-01-19T21:44:07Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_885acb45f712451a9e3bfb82f28b4143", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_0dc65c84e0d041c0b6408d87140b42a2", + "object": "Rate", "created_at": "2024-01-19T21:44:08Z", "updated_at": "2024-01-19T21:44:08Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_885acb45f712451a9e3bfb82f28b4143", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_44cfb9ee76ed482aa2ad647459fad304", + "object": "Tracker", "mode": "test", "tracking_code": "9434600207552010708128", + "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:44:08Z", + "updated_at": "2024-01-19T21:44:08Z", "signed_by": null, "weight": null, "est_delivery_date": + "2024-01-19T21:44:08Z", "shipment_id": "shp_885acb45f712451a9e3bfb82f28b4143", + "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": + "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-19T21:44:08Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", + "message": "Shipping Label Created", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-20T10:21:08Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": + null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": + null}, "public_url": "https://track.easypost.com/djE6dHJrXzQ0Y2ZiOWVlNzZlZDQ4MmFhMmFkNjQ3NDU5ZmFkMzA0"}, + "to_address": {"id": "adr_def09665b71311eebf43ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:44:06+00:00", "updated_at": "2024-01-19T21:44:07+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_def3212eb71311eebcc13cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:44:06+00:00", "updated_at": + "2024-01-19T21:44:06+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_def09665b71311eebf43ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:44:06+00:00", "updated_at": "2024-01-19T21:44:07+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "6.79000", "charged": true, "refunded": false}], "id": "shp_885acb45f712451a9e3bfb82f28b4143", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '10588' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaed28e78ba7aa000d5159 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.482294' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '885' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:47:59Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T21:47:59Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_51457cd309d242ba9cccccb5bea2ca35", + "object": "CustomsInfo", "created_at": "2024-01-19T21:47:58Z", "updated_at": + "2024-01-19T21:47:58Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_52a09917b5e745328b9cffe7f0119609", "object": "CustomsItem", + "created_at": "2024-01-19T21:47:58Z", "updated_at": "2024-01-19T21:47:58Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_6956ddbcb71411eeba26ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:47:58+00:00", "updated_at": "2024-01-19T21:47:58+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_c101796321eb49e0b916208380fb96d0", "object": "Parcel", "created_at": + "2024-01-19T21:47:58Z", "updated_at": "2024-01-19T21:47:58Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_62a57f576a3441fb83474d9310c7149e", + "object": "Rate", "created_at": "2024-01-19T21:47:59Z", "updated_at": "2024-01-19T21:47:59Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_36f55620f94d43c497f48dae4feb0568", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4a5eb4e72cc844779daddcafb6f9ae65", + "object": "Rate", "created_at": "2024-01-19T21:47:59Z", "updated_at": "2024-01-19T21:47:59Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_36f55620f94d43c497f48dae4feb0568", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_0d875b2671094294b3d598fd56da07db", + "object": "Rate", "created_at": "2024-01-19T21:47:59Z", "updated_at": "2024-01-19T21:47:59Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_36f55620f94d43c497f48dae4feb0568", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_424d9c14b7714467aa0b07384953c7a5", + "object": "Rate", "created_at": "2024-01-19T21:47:59Z", "updated_at": "2024-01-19T21:47:59Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_36f55620f94d43c497f48dae4feb0568", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_97a17be402514ed8bd3c8a5fbd10a877", "object": "Rate", "created_at": + "2024-01-19T21:47:59Z", "updated_at": "2024-01-19T21:47:59Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_36f55620f94d43c497f48dae4feb0568", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_695428f4b71411eeba25ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:47:58+00:00", "updated_at": "2024-01-19T21:47:58+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_6956ddbcb71411eeba26ac1f6bc539aa", "object": "Address", "created_at": + "2024-01-19T21:47:58+00:00", "updated_at": "2024-01-19T21:47:58+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_695428f4b71411eeba25ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:47:58+00:00", "updated_at": + "2024-01-19T21:47:58+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_36f55620f94d43c497f48dae4feb0568", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_36f55620f94d43c497f48dae4feb0568 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdab65aaee0ee78bb02b001146ae + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.704983' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"rate": {"id": "rate_0d875b2671094294b3d598fd56da07db"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '57' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments/shp_36f55620f94d43c497f48dae4feb0568/buy + response: + body: + string: '{"created_at": "2024-01-19T21:47:59Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9434600207552010708609", "updated_at": "2024-01-19T21:48:00Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_51457cd309d242ba9cccccb5bea2ca35", "object": "CustomsInfo", "created_at": + "2024-01-19T21:47:58Z", "updated_at": "2024-01-19T21:47:58Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_52a09917b5e745328b9cffe7f0119609", + "object": "CustomsItem", "created_at": "2024-01-19T21:47:58Z", "updated_at": + "2024-01-19T21:47:58Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_6956ddbcb71411eeba26ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:47:58+00:00", "updated_at": + "2024-01-19T21:47:58+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_c101796321eb49e0b916208380fb96d0", + "object": "Parcel", "created_at": "2024-01-19T21:47:58Z", "updated_at": "2024-01-19T21:47:58Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_532b4e2cdedb4e71b7669cca58f40af5", "created_at": "2024-01-19T21:48:00Z", + "updated_at": "2024-01-19T21:48:00Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:48:00Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e805c66431cc22487fbb5a4dc1cd85b2c7.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_62a57f576a3441fb83474d9310c7149e", "object": + "Rate", "created_at": "2024-01-19T21:47:59Z", "updated_at": "2024-01-19T21:47:59Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_36f55620f94d43c497f48dae4feb0568", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4a5eb4e72cc844779daddcafb6f9ae65", + "object": "Rate", "created_at": "2024-01-19T21:47:59Z", "updated_at": "2024-01-19T21:47:59Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_36f55620f94d43c497f48dae4feb0568", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_0d875b2671094294b3d598fd56da07db", + "object": "Rate", "created_at": "2024-01-19T21:47:59Z", "updated_at": "2024-01-19T21:47:59Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_36f55620f94d43c497f48dae4feb0568", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_424d9c14b7714467aa0b07384953c7a5", + "object": "Rate", "created_at": "2024-01-19T21:47:59Z", "updated_at": "2024-01-19T21:47:59Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_36f55620f94d43c497f48dae4feb0568", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_97a17be402514ed8bd3c8a5fbd10a877", "object": "Rate", "created_at": + "2024-01-19T21:47:59Z", "updated_at": "2024-01-19T21:47:59Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_36f55620f94d43c497f48dae4feb0568", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_0d875b2671094294b3d598fd56da07db", + "object": "Rate", "created_at": "2024-01-19T21:48:00Z", "updated_at": "2024-01-19T21:48:00Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_36f55620f94d43c497f48dae4feb0568", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_3788865bfc424dca8195ebef5be99362", + "object": "Tracker", "mode": "test", "tracking_code": "9434600207552010708609", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:48:00Z", + "updated_at": "2024-01-19T21:48:00Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_36f55620f94d43c497f48dae4feb0568", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzM3ODg4NjViZmM0MjRkY2E4MTk1ZWJlZjViZTk5MzYy"}, + "to_address": {"id": "adr_695428f4b71411eeba25ac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T21:47:58+00:00", "updated_at": "2024-01-19T21:48:00+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_6956ddbcb71411eeba26ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:47:58+00:00", "updated_at": + "2024-01-19T21:47:58+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_695428f4b71411eeba25ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:47:58+00:00", "updated_at": "2024-01-19T21:48:00+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "6.79000", "charged": true, "refunded": false}], "id": "shp_36f55620f94d43c497f48dae4feb0568", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '9345' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdae65aaee0fe78bb02c00114732 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.796463' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/shipments/shp_36f55620f94d43c497f48dae4feb0568/label?file_format=ZPL + response: + body: + string: '{"created_at": "2024-01-19T21:47:59Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9434600207552010708609", "updated_at": "2024-01-19T21:48:00Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_51457cd309d242ba9cccccb5bea2ca35", "object": "CustomsInfo", "created_at": + "2024-01-19T21:47:58Z", "updated_at": "2024-01-19T21:47:58Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_52a09917b5e745328b9cffe7f0119609", + "object": "CustomsItem", "created_at": "2024-01-19T21:47:58Z", "updated_at": + "2024-01-19T21:47:58Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_6956ddbcb71411eeba26ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:47:58+00:00", "updated_at": + "2024-01-19T21:47:58+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_c101796321eb49e0b916208380fb96d0", + "object": "Parcel", "created_at": "2024-01-19T21:47:58Z", "updated_at": "2024-01-19T21:47:58Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_532b4e2cdedb4e71b7669cca58f40af5", "created_at": "2024-01-19T21:48:00Z", + "updated_at": "2024-01-19T21:48:02Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:48:00Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e805c66431cc22487fbb5a4dc1cd85b2c7.png", + "label_pdf_url": null, "label_zpl_url": "https://easypost-files.s3-us-west-2.amazonaws.com/files/postage_label/20240119/8c601d6ad6394dbebb10e17b89f5c929.zpl", + "label_epl2_url": null, "label_file": null}, "rates": [{"id": "rate_62a57f576a3441fb83474d9310c7149e", + "object": "Rate", "created_at": "2024-01-19T21:47:59Z", "updated_at": "2024-01-19T21:47:59Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_36f55620f94d43c497f48dae4feb0568", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4a5eb4e72cc844779daddcafb6f9ae65", + "object": "Rate", "created_at": "2024-01-19T21:47:59Z", "updated_at": "2024-01-19T21:47:59Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_36f55620f94d43c497f48dae4feb0568", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_0d875b2671094294b3d598fd56da07db", + "object": "Rate", "created_at": "2024-01-19T21:47:59Z", "updated_at": "2024-01-19T21:47:59Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_36f55620f94d43c497f48dae4feb0568", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_424d9c14b7714467aa0b07384953c7a5", + "object": "Rate", "created_at": "2024-01-19T21:47:59Z", "updated_at": "2024-01-19T21:47:59Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_36f55620f94d43c497f48dae4feb0568", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_97a17be402514ed8bd3c8a5fbd10a877", "object": "Rate", "created_at": + "2024-01-19T21:47:59Z", "updated_at": "2024-01-19T21:47:59Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_36f55620f94d43c497f48dae4feb0568", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_0d875b2671094294b3d598fd56da07db", + "object": "Rate", "created_at": "2024-01-19T21:48:00Z", "updated_at": "2024-01-19T21:48:00Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_36f55620f94d43c497f48dae4feb0568", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_3788865bfc424dca8195ebef5be99362", + "object": "Tracker", "mode": "test", "tracking_code": "9434600207552010708609", + "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:48:00Z", + "updated_at": "2024-01-19T21:48:00Z", "signed_by": null, "weight": null, "est_delivery_date": + "2024-01-19T21:48:00Z", "shipment_id": "shp_36f55620f94d43c497f48dae4feb0568", + "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": + "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-19T21:48:00Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", + "message": "Shipping Label Created", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-20T10:25:00Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": + null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": + null}, "public_url": "https://track.easypost.com/djE6dHJrXzM3ODg4NjViZmM0MjRkY2E4MTk1ZWJlZjViZTk5MzYy"}, + "to_address": {"id": "adr_695428f4b71411eeba25ac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T21:47:58+00:00", "updated_at": "2024-01-19T21:48:00+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_6956ddbcb71411eeba26ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:47:58+00:00", "updated_at": + "2024-01-19T21:47:58+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_695428f4b71411eeba25ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:47:58+00:00", "updated_at": "2024-01-19T21:48:00+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "6.79000", "charged": true, "refunded": false}], "id": "shp_36f55620f94d43c497f48dae4feb0568", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '10588' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda965aaee11e78bb02d001147ee + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '1.559497' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '885' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:49:54Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T21:49:55Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_9d09a8b825bc4b88831e5a7b865744ac", + "object": "CustomsInfo", "created_at": "2024-01-19T21:49:54Z", "updated_at": + "2024-01-19T21:49:54Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_68ac83026b0e4b1eb523d445532dedbe", "object": "CustomsItem", + "created_at": "2024-01-19T21:49:54Z", "updated_at": "2024-01-19T21:49:54Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_ae433ccbb71411eebe6b3cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:49:54+00:00", "updated_at": "2024-01-19T21:49:54+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_0b3f354068bf4f358e852f68004a1936", "object": "Parcel", "created_at": + "2024-01-19T21:49:54Z", "updated_at": "2024-01-19T21:49:54Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_a0fde4cb08714e3aa6eb59a1f925dabf", + "object": "Rate", "created_at": "2024-01-19T21:49:55Z", "updated_at": "2024-01-19T21:49:55Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_163f9566814e4cd29bcc5aeca6abae4b", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_0a49953210c2412a8265ea78de0ddd94", + "object": "Rate", "created_at": "2024-01-19T21:49:55Z", "updated_at": "2024-01-19T21:49:55Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_163f9566814e4cd29bcc5aeca6abae4b", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_336f3e663ad94de686fd756e87296733", + "object": "Rate", "created_at": "2024-01-19T21:49:55Z", "updated_at": "2024-01-19T21:49:55Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_163f9566814e4cd29bcc5aeca6abae4b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_d32a7627e2c3428b8223c04d793cc914", "object": "Rate", "created_at": + "2024-01-19T21:49:55Z", "updated_at": "2024-01-19T21:49:55Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_163f9566814e4cd29bcc5aeca6abae4b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_da7c4a3ea9b540f5b1582136fe7fdd32", "object": "Rate", "created_at": + "2024-01-19T21:49:55Z", "updated_at": "2024-01-19T21:49:55Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_163f9566814e4cd29bcc5aeca6abae4b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_ae408a0db71411ee8186ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:49:54+00:00", "updated_at": "2024-01-19T21:49:54+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_ae433ccbb71411eebe6b3cecef1b359e", "object": "Address", "created_at": + "2024-01-19T21:49:54+00:00", "updated_at": "2024-01-19T21:49:54+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_ae408a0db71411ee8186ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:49:54+00:00", "updated_at": + "2024-01-19T21:49:54+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_163f9566814e4cd29bcc5aeca6abae4b", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_163f9566814e4cd29bcc5aeca6abae4b + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda965aaee82e78bb8650011890b + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.721629' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"rate": {"id": "rate_0a49953210c2412a8265ea78de0ddd94"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '57' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments/shp_163f9566814e4cd29bcc5aeca6abae4b/buy + response: + body: + string: '{"created_at": "2024-01-19T21:49:54Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9434600207552010709194", "updated_at": "2024-01-19T21:49:56Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_9d09a8b825bc4b88831e5a7b865744ac", "object": "CustomsInfo", "created_at": + "2024-01-19T21:49:54Z", "updated_at": "2024-01-19T21:49:54Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_68ac83026b0e4b1eb523d445532dedbe", + "object": "CustomsItem", "created_at": "2024-01-19T21:49:54Z", "updated_at": + "2024-01-19T21:49:54Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_ae433ccbb71411eebe6b3cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:49:54+00:00", "updated_at": + "2024-01-19T21:49:54+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_0b3f354068bf4f358e852f68004a1936", + "object": "Parcel", "created_at": "2024-01-19T21:49:54Z", "updated_at": "2024-01-19T21:49:54Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_5c2cacbeae494ef7a4d375b8cc397e5a", "created_at": "2024-01-19T21:49:56Z", + "updated_at": "2024-01-19T21:49:56Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:49:56Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e82f0c8a15803645e5872211c00bd7c4ae.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_a0fde4cb08714e3aa6eb59a1f925dabf", "object": + "Rate", "created_at": "2024-01-19T21:49:55Z", "updated_at": "2024-01-19T21:49:55Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_163f9566814e4cd29bcc5aeca6abae4b", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_0a49953210c2412a8265ea78de0ddd94", + "object": "Rate", "created_at": "2024-01-19T21:49:55Z", "updated_at": "2024-01-19T21:49:55Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_163f9566814e4cd29bcc5aeca6abae4b", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_336f3e663ad94de686fd756e87296733", + "object": "Rate", "created_at": "2024-01-19T21:49:55Z", "updated_at": "2024-01-19T21:49:55Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_163f9566814e4cd29bcc5aeca6abae4b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_d32a7627e2c3428b8223c04d793cc914", "object": "Rate", "created_at": + "2024-01-19T21:49:55Z", "updated_at": "2024-01-19T21:49:55Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_163f9566814e4cd29bcc5aeca6abae4b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_da7c4a3ea9b540f5b1582136fe7fdd32", "object": "Rate", "created_at": + "2024-01-19T21:49:55Z", "updated_at": "2024-01-19T21:49:55Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_163f9566814e4cd29bcc5aeca6abae4b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_0a49953210c2412a8265ea78de0ddd94", + "object": "Rate", "created_at": "2024-01-19T21:49:56Z", "updated_at": "2024-01-19T21:49:56Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_163f9566814e4cd29bcc5aeca6abae4b", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_d7fd8e78092d469b94dde609f9ce8843", + "object": "Tracker", "mode": "test", "tracking_code": "9434600207552010709194", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:49:56Z", + "updated_at": "2024-01-19T21:49:56Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_163f9566814e4cd29bcc5aeca6abae4b", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrX2Q3ZmQ4ZTc4MDkyZDQ2OWI5NGRkZTYwOWY5Y2U4ODQz"}, + "to_address": {"id": "adr_ae408a0db71411ee8186ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:49:54+00:00", "updated_at": "2024-01-19T21:49:55+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_ae433ccbb71411eebe6b3cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:49:54+00:00", "updated_at": + "2024-01-19T21:49:54+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_ae408a0db71411ee8186ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:49:54+00:00", "updated_at": "2024-01-19T21:49:55+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "6.79000", "charged": true, "refunded": false}], "id": "shp_163f9566814e4cd29bcc5aeca6abae4b", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '9345' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdae65aaee83e78bb866001189ae + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '1.102809' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/shipments/shp_163f9566814e4cd29bcc5aeca6abae4b/label?file_format=ZPL + response: + body: + string: '{"created_at": "2024-01-19T21:49:54Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9434600207552010709194", "updated_at": "2024-01-19T21:49:56Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_9d09a8b825bc4b88831e5a7b865744ac", "object": "CustomsInfo", "created_at": + "2024-01-19T21:49:54Z", "updated_at": "2024-01-19T21:49:54Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_68ac83026b0e4b1eb523d445532dedbe", + "object": "CustomsItem", "created_at": "2024-01-19T21:49:54Z", "updated_at": + "2024-01-19T21:49:54Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_ae433ccbb71411eebe6b3cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:49:54+00:00", "updated_at": + "2024-01-19T21:49:54+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_0b3f354068bf4f358e852f68004a1936", + "object": "Parcel", "created_at": "2024-01-19T21:49:54Z", "updated_at": "2024-01-19T21:49:54Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_5c2cacbeae494ef7a4d375b8cc397e5a", "created_at": "2024-01-19T21:49:56Z", + "updated_at": "2024-01-19T21:49:58Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:49:56Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e82f0c8a15803645e5872211c00bd7c4ae.png", + "label_pdf_url": null, "label_zpl_url": "https://easypost-files.s3-us-west-2.amazonaws.com/files/postage_label/20240119/d2bfdf7dcb67486e80a90a82406d3fda.zpl", + "label_epl2_url": null, "label_file": null}, "rates": [{"id": "rate_a0fde4cb08714e3aa6eb59a1f925dabf", + "object": "Rate", "created_at": "2024-01-19T21:49:55Z", "updated_at": "2024-01-19T21:49:55Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_163f9566814e4cd29bcc5aeca6abae4b", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_0a49953210c2412a8265ea78de0ddd94", + "object": "Rate", "created_at": "2024-01-19T21:49:55Z", "updated_at": "2024-01-19T21:49:55Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_163f9566814e4cd29bcc5aeca6abae4b", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_336f3e663ad94de686fd756e87296733", + "object": "Rate", "created_at": "2024-01-19T21:49:55Z", "updated_at": "2024-01-19T21:49:55Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_163f9566814e4cd29bcc5aeca6abae4b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_d32a7627e2c3428b8223c04d793cc914", "object": "Rate", "created_at": + "2024-01-19T21:49:55Z", "updated_at": "2024-01-19T21:49:55Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_163f9566814e4cd29bcc5aeca6abae4b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_da7c4a3ea9b540f5b1582136fe7fdd32", "object": "Rate", "created_at": + "2024-01-19T21:49:55Z", "updated_at": "2024-01-19T21:49:55Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_163f9566814e4cd29bcc5aeca6abae4b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_0a49953210c2412a8265ea78de0ddd94", + "object": "Rate", "created_at": "2024-01-19T21:49:56Z", "updated_at": "2024-01-19T21:49:56Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_163f9566814e4cd29bcc5aeca6abae4b", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_d7fd8e78092d469b94dde609f9ce8843", + "object": "Tracker", "mode": "test", "tracking_code": "9434600207552010709194", + "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:49:56Z", + "updated_at": "2024-01-19T21:49:56Z", "signed_by": null, "weight": null, "est_delivery_date": + "2024-01-19T21:49:56Z", "shipment_id": "shp_163f9566814e4cd29bcc5aeca6abae4b", + "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": + "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-19T21:49:56Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", + "message": "Shipping Label Created", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-20T10:26:56Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": + null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": + null}, "public_url": "https://track.easypost.com/djE6dHJrX2Q3ZmQ4ZTc4MDkyZDQ2OWI5NGRkZTYwOWY5Y2U4ODQz"}, + "to_address": {"id": "adr_ae408a0db71411ee8186ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:49:54+00:00", "updated_at": "2024-01-19T21:49:55+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_ae433ccbb71411eebe6b3cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:49:54+00:00", "updated_at": + "2024-01-19T21:49:54+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_ae408a0db71411ee8186ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:49:54+00:00", "updated_at": "2024-01-19T21:49:55+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "6.79000", "charged": true, "refunded": false}], "id": "shp_163f9566814e4cd29bcc5aeca6abae4b", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '10588' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda865aaee84e78bb86700118a6c + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '1.404300' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '885' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:59:13Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T21:59:14Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_8a4e78764cdf4626a1465b59b33ff1c1", + "object": "CustomsInfo", "created_at": "2024-01-19T21:59:13Z", "updated_at": + "2024-01-19T21:59:13Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_cee0da71f65b421088f23f9ccfbadbdc", "object": "CustomsItem", + "created_at": "2024-01-19T21:59:13Z", "updated_at": "2024-01-19T21:59:13Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_fb415002b71511eeaed4ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:59:13+00:00", "updated_at": "2024-01-19T21:59:13+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_626094666aa64add849e925e62660826", "object": "Parcel", "created_at": + "2024-01-19T21:59:13Z", "updated_at": "2024-01-19T21:59:13Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_b893c5b54da04f849ce2187aad84133e", + "object": "Rate", "created_at": "2024-01-19T21:59:14Z", "updated_at": "2024-01-19T21:59:14Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_6d1f4f13918642309c628a20b812146f", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4850f2884ded4d4e8d8450f11d22cb7e", + "object": "Rate", "created_at": "2024-01-19T21:59:14Z", "updated_at": "2024-01-19T21:59:14Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_6d1f4f13918642309c628a20b812146f", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4bf81a6c617f48648bfa4af4b3c70b07", + "object": "Rate", "created_at": "2024-01-19T21:59:14Z", "updated_at": "2024-01-19T21:59:14Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_6d1f4f13918642309c628a20b812146f", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_04848035b9fe471190c921b29943204b", + "object": "Rate", "created_at": "2024-01-19T21:59:14Z", "updated_at": "2024-01-19T21:59:14Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_6d1f4f13918642309c628a20b812146f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_5e268f86b8c048d7806d5ca66aa12b0f", "object": "Rate", "created_at": + "2024-01-19T21:59:14Z", "updated_at": "2024-01-19T21:59:14Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_6d1f4f13918642309c628a20b812146f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_fb3e82f1b71511eeaed2ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:59:13+00:00", "updated_at": "2024-01-19T21:59:13+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_fb415002b71511eeaed4ac1f6bc53342", "object": "Address", "created_at": + "2024-01-19T21:59:13+00:00", "updated_at": "2024-01-19T21:59:13+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_fb3e82f1b71511eeaed2ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:59:13+00:00", "updated_at": + "2024-01-19T21:59:13+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_6d1f4f13918642309c628a20b812146f", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_6d1f4f13918642309c628a20b812146f + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaf0b1e798bffb000f8c0e + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.889082' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"rate": {"id": "rate_4bf81a6c617f48648bfa4af4b3c70b07"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '57' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments/shp_6d1f4f13918642309c628a20b812146f/buy + response: + body: + string: '{"created_at": "2024-01-19T21:59:13Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9434600207552010711593", "updated_at": "2024-01-19T21:59:15Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_8a4e78764cdf4626a1465b59b33ff1c1", "object": "CustomsInfo", "created_at": + "2024-01-19T21:59:13Z", "updated_at": "2024-01-19T21:59:13Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_cee0da71f65b421088f23f9ccfbadbdc", + "object": "CustomsItem", "created_at": "2024-01-19T21:59:13Z", "updated_at": + "2024-01-19T21:59:13Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_fb415002b71511eeaed4ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:59:13+00:00", "updated_at": + "2024-01-19T21:59:13+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_626094666aa64add849e925e62660826", + "object": "Parcel", "created_at": "2024-01-19T21:59:13Z", "updated_at": "2024-01-19T21:59:13Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_126e6e9cf1284953b6806e3fd5956145", "created_at": "2024-01-19T21:59:15Z", + "updated_at": "2024-01-19T21:59:15Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:59:15Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e88cd7f65a11d64552892b8aa943390c48.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_b893c5b54da04f849ce2187aad84133e", "object": + "Rate", "created_at": "2024-01-19T21:59:14Z", "updated_at": "2024-01-19T21:59:14Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_6d1f4f13918642309c628a20b812146f", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4850f2884ded4d4e8d8450f11d22cb7e", + "object": "Rate", "created_at": "2024-01-19T21:59:14Z", "updated_at": "2024-01-19T21:59:14Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_6d1f4f13918642309c628a20b812146f", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4bf81a6c617f48648bfa4af4b3c70b07", + "object": "Rate", "created_at": "2024-01-19T21:59:14Z", "updated_at": "2024-01-19T21:59:14Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_6d1f4f13918642309c628a20b812146f", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_04848035b9fe471190c921b29943204b", + "object": "Rate", "created_at": "2024-01-19T21:59:14Z", "updated_at": "2024-01-19T21:59:14Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_6d1f4f13918642309c628a20b812146f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_5e268f86b8c048d7806d5ca66aa12b0f", "object": "Rate", "created_at": + "2024-01-19T21:59:14Z", "updated_at": "2024-01-19T21:59:14Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_6d1f4f13918642309c628a20b812146f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_4bf81a6c617f48648bfa4af4b3c70b07", + "object": "Rate", "created_at": "2024-01-19T21:59:15Z", "updated_at": "2024-01-19T21:59:15Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_6d1f4f13918642309c628a20b812146f", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_7d941abc35a1450dab2efd6ecc05975f", + "object": "Tracker", "mode": "test", "tracking_code": "9434600207552010711593", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:59:15Z", + "updated_at": "2024-01-19T21:59:15Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_6d1f4f13918642309c628a20b812146f", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzdkOTQxYWJjMzVhMTQ1MGRhYjJlZmQ2ZWNjMDU5NzVm"}, + "to_address": {"id": "adr_fb3e82f1b71511eeaed2ac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T21:59:13+00:00", "updated_at": "2024-01-19T21:59:14+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_fb415002b71511eeaed4ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:59:13+00:00", "updated_at": + "2024-01-19T21:59:13+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_fb3e82f1b71511eeaed2ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:59:13+00:00", "updated_at": "2024-01-19T21:59:14+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "6.79000", "charged": true, "refunded": false}], "id": "shp_6d1f4f13918642309c628a20b812146f", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '9345' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaf0b2e798bffc000f8ce9 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.338397' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/shipments/shp_6d1f4f13918642309c628a20b812146f/label?file_format=ZPL + response: + body: + string: '{"created_at": "2024-01-19T21:59:13Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9434600207552010711593", "updated_at": "2024-01-19T21:59:15Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_8a4e78764cdf4626a1465b59b33ff1c1", "object": "CustomsInfo", "created_at": + "2024-01-19T21:59:13Z", "updated_at": "2024-01-19T21:59:13Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_cee0da71f65b421088f23f9ccfbadbdc", + "object": "CustomsItem", "created_at": "2024-01-19T21:59:13Z", "updated_at": + "2024-01-19T21:59:13Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_fb415002b71511eeaed4ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:59:13+00:00", "updated_at": + "2024-01-19T21:59:13+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_626094666aa64add849e925e62660826", + "object": "Parcel", "created_at": "2024-01-19T21:59:13Z", "updated_at": "2024-01-19T21:59:13Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_126e6e9cf1284953b6806e3fd5956145", "created_at": "2024-01-19T21:59:15Z", + "updated_at": "2024-01-19T21:59:17Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:59:15Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e88cd7f65a11d64552892b8aa943390c48.png", + "label_pdf_url": null, "label_zpl_url": "https://easypost-files.s3-us-west-2.amazonaws.com/files/postage_label/20240119/a0ebec2ec4464ed2ada0ec26d70b8977.zpl", + "label_epl2_url": null, "label_file": null}, "rates": [{"id": "rate_b893c5b54da04f849ce2187aad84133e", + "object": "Rate", "created_at": "2024-01-19T21:59:14Z", "updated_at": "2024-01-19T21:59:14Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_6d1f4f13918642309c628a20b812146f", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4850f2884ded4d4e8d8450f11d22cb7e", + "object": "Rate", "created_at": "2024-01-19T21:59:14Z", "updated_at": "2024-01-19T21:59:14Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_6d1f4f13918642309c628a20b812146f", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4bf81a6c617f48648bfa4af4b3c70b07", + "object": "Rate", "created_at": "2024-01-19T21:59:14Z", "updated_at": "2024-01-19T21:59:14Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_6d1f4f13918642309c628a20b812146f", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_04848035b9fe471190c921b29943204b", + "object": "Rate", "created_at": "2024-01-19T21:59:14Z", "updated_at": "2024-01-19T21:59:14Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_6d1f4f13918642309c628a20b812146f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_5e268f86b8c048d7806d5ca66aa12b0f", "object": "Rate", "created_at": + "2024-01-19T21:59:14Z", "updated_at": "2024-01-19T21:59:14Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_6d1f4f13918642309c628a20b812146f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_4bf81a6c617f48648bfa4af4b3c70b07", + "object": "Rate", "created_at": "2024-01-19T21:59:15Z", "updated_at": "2024-01-19T21:59:15Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_6d1f4f13918642309c628a20b812146f", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_7d941abc35a1450dab2efd6ecc05975f", + "object": "Tracker", "mode": "test", "tracking_code": "9434600207552010711593", + "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:59:15Z", + "updated_at": "2024-01-19T21:59:15Z", "signed_by": null, "weight": null, "est_delivery_date": + "2024-01-19T21:59:15Z", "shipment_id": "shp_6d1f4f13918642309c628a20b812146f", + "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": + "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-19T21:59:15Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", + "message": "Shipping Label Created", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-20T10:36:15Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": + null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": + null}, "public_url": "https://track.easypost.com/djE6dHJrXzdkOTQxYWJjMzVhMTQ1MGRhYjJlZmQ2ZWNjMDU5NzVm"}, + "to_address": {"id": "adr_fb3e82f1b71511eeaed2ac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T21:59:13+00:00", "updated_at": "2024-01-19T21:59:14+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_fb415002b71511eeaed4ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:59:13+00:00", "updated_at": + "2024-01-19T21:59:13+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_fb3e82f1b71511eeaed2ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:59:13+00:00", "updated_at": "2024-01-19T21:59:14+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "6.79000", "charged": true, "refunded": false}], "id": "shp_6d1f4f13918642309c628a20b812146f", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '10588' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaf0b4e798bffd000f8e0d + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.390275' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '885' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T22:02:09Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T22:02:09Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_4f84d6d9d61b4d96a24bdd60d696838c", + "object": "CustomsInfo", "created_at": "2024-01-19T22:02:08Z", "updated_at": + "2024-01-19T22:02:08Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_2345dda3eae6451ea0f95f94aca0656d", "object": "CustomsItem", + "created_at": "2024-01-19T22:02:08Z", "updated_at": "2024-01-19T22:02:08Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_63f95570b71611ee90b8ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T22:02:08+00:00", "updated_at": "2024-01-19T22:02:08+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_edde694dd39045a7abdc5316cd012022", "object": "Parcel", "created_at": + "2024-01-19T22:02:08Z", "updated_at": "2024-01-19T22:02:08Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_e1ce78e8c6214944a1e46b6e61b829e7", + "object": "Rate", "created_at": "2024-01-19T22:02:09Z", "updated_at": "2024-01-19T22:02:09Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_74a9adcfe9ad4cd7ab8e659e05c074fc", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_41a05bf0dd2d4888b9eb94bf20d96fd3", + "object": "Rate", "created_at": "2024-01-19T22:02:09Z", "updated_at": "2024-01-19T22:02:09Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_74a9adcfe9ad4cd7ab8e659e05c074fc", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_5f3982dcd2474cceaef3485c940bdc15", + "object": "Rate", "created_at": "2024-01-19T22:02:09Z", "updated_at": "2024-01-19T22:02:09Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_74a9adcfe9ad4cd7ab8e659e05c074fc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_3eed4bc1b64b42049be5cef586491e00", "object": "Rate", "created_at": + "2024-01-19T22:02:09Z", "updated_at": "2024-01-19T22:02:09Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_74a9adcfe9ad4cd7ab8e659e05c074fc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_a0e48ef421374b2d86999cf0d3158476", "object": "Rate", "created_at": + "2024-01-19T22:02:09Z", "updated_at": "2024-01-19T22:02:09Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_74a9adcfe9ad4cd7ab8e659e05c074fc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_63f666d5b71611ee8e903cecef1b359e", "object": + "Address", "created_at": "2024-01-19T22:02:08+00:00", "updated_at": "2024-01-19T22:02:08+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_63f95570b71611ee90b8ac1f6bc53342", "object": "Address", "created_at": + "2024-01-19T22:02:08+00:00", "updated_at": "2024-01-19T22:02:08+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_63f666d5b71611ee8e903cecef1b359e", + "object": "Address", "created_at": "2024-01-19T22:02:08+00:00", "updated_at": + "2024-01-19T22:02:08+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_74a9adcfe9ad4cd7ab8e659e05c074fc", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_74a9adcfe9ad4cd7ab8e659e05c074fc + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaf160e798c862001029ab + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.054017' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"rate": {"id": "rate_41a05bf0dd2d4888b9eb94bf20d96fd3"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '57' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments/shp_74a9adcfe9ad4cd7ab8e659e05c074fc/buy + response: + body: + string: '{"created_at": "2024-01-19T22:02:09Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9434600207552010711999", "updated_at": "2024-01-19T22:02:10Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_4f84d6d9d61b4d96a24bdd60d696838c", "object": "CustomsInfo", "created_at": + "2024-01-19T22:02:08Z", "updated_at": "2024-01-19T22:02:08Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_2345dda3eae6451ea0f95f94aca0656d", + "object": "CustomsItem", "created_at": "2024-01-19T22:02:08Z", "updated_at": + "2024-01-19T22:02:08Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_63f95570b71611ee90b8ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:02:08+00:00", "updated_at": + "2024-01-19T22:02:08+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_edde694dd39045a7abdc5316cd012022", + "object": "Parcel", "created_at": "2024-01-19T22:02:08Z", "updated_at": "2024-01-19T22:02:08Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_5c30bb64d9bc4862954484006f29b7fd", "created_at": "2024-01-19T22:02:10Z", + "updated_at": "2024-01-19T22:02:10Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T22:02:10Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e84070464b05f7474daf8a3113e0160a2d.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_e1ce78e8c6214944a1e46b6e61b829e7", "object": + "Rate", "created_at": "2024-01-19T22:02:09Z", "updated_at": "2024-01-19T22:02:09Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_74a9adcfe9ad4cd7ab8e659e05c074fc", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_41a05bf0dd2d4888b9eb94bf20d96fd3", + "object": "Rate", "created_at": "2024-01-19T22:02:09Z", "updated_at": "2024-01-19T22:02:09Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_74a9adcfe9ad4cd7ab8e659e05c074fc", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_5f3982dcd2474cceaef3485c940bdc15", + "object": "Rate", "created_at": "2024-01-19T22:02:09Z", "updated_at": "2024-01-19T22:02:09Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_74a9adcfe9ad4cd7ab8e659e05c074fc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_3eed4bc1b64b42049be5cef586491e00", "object": "Rate", "created_at": + "2024-01-19T22:02:09Z", "updated_at": "2024-01-19T22:02:09Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_74a9adcfe9ad4cd7ab8e659e05c074fc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_a0e48ef421374b2d86999cf0d3158476", "object": "Rate", "created_at": + "2024-01-19T22:02:09Z", "updated_at": "2024-01-19T22:02:09Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_74a9adcfe9ad4cd7ab8e659e05c074fc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_41a05bf0dd2d4888b9eb94bf20d96fd3", + "object": "Rate", "created_at": "2024-01-19T22:02:10Z", "updated_at": "2024-01-19T22:02:10Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_74a9adcfe9ad4cd7ab8e659e05c074fc", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_71877b0565c1453bb94888c106404bf9", + "object": "Tracker", "mode": "test", "tracking_code": "9434600207552010711999", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:02:11Z", + "updated_at": "2024-01-19T22:02:11Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_74a9adcfe9ad4cd7ab8e659e05c074fc", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzcxODc3YjA1NjVjMTQ1M2JiOTQ4ODhjMTA2NDA0YmY5"}, + "to_address": {"id": "adr_63f666d5b71611ee8e903cecef1b359e", "object": "Address", + "created_at": "2024-01-19T22:02:08+00:00", "updated_at": "2024-01-19T22:02:10+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_63f95570b71611ee90b8ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:02:08+00:00", "updated_at": + "2024-01-19T22:02:08+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_63f666d5b71611ee8e903cecef1b359e", "object": + "Address", "created_at": "2024-01-19T22:02:08+00:00", "updated_at": "2024-01-19T22:02:10+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "6.79000", "charged": true, "refunded": false}], "id": "shp_74a9adcfe9ad4cd7ab8e659e05c074fc", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '9345' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf162e798c86300102ae5 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.878085' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/shipments/shp_74a9adcfe9ad4cd7ab8e659e05c074fc/label?file_format=ZPL + response: + body: + string: '{"created_at": "2024-01-19T22:02:09Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9434600207552010711999", "updated_at": "2024-01-19T22:02:10Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_4f84d6d9d61b4d96a24bdd60d696838c", "object": "CustomsInfo", "created_at": + "2024-01-19T22:02:08Z", "updated_at": "2024-01-19T22:02:08Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_2345dda3eae6451ea0f95f94aca0656d", + "object": "CustomsItem", "created_at": "2024-01-19T22:02:08Z", "updated_at": + "2024-01-19T22:02:08Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_63f95570b71611ee90b8ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:02:08+00:00", "updated_at": + "2024-01-19T22:02:08+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_edde694dd39045a7abdc5316cd012022", + "object": "Parcel", "created_at": "2024-01-19T22:02:08Z", "updated_at": "2024-01-19T22:02:08Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_5c30bb64d9bc4862954484006f29b7fd", "created_at": "2024-01-19T22:02:10Z", + "updated_at": "2024-01-19T22:02:12Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T22:02:10Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e84070464b05f7474daf8a3113e0160a2d.png", + "label_pdf_url": null, "label_zpl_url": "https://easypost-files.s3-us-west-2.amazonaws.com/files/postage_label/20240119/0943e428b48f4aa48471d5e28a103665.zpl", + "label_epl2_url": null, "label_file": null}, "rates": [{"id": "rate_e1ce78e8c6214944a1e46b6e61b829e7", + "object": "Rate", "created_at": "2024-01-19T22:02:09Z", "updated_at": "2024-01-19T22:02:09Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_74a9adcfe9ad4cd7ab8e659e05c074fc", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_41a05bf0dd2d4888b9eb94bf20d96fd3", + "object": "Rate", "created_at": "2024-01-19T22:02:09Z", "updated_at": "2024-01-19T22:02:09Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_74a9adcfe9ad4cd7ab8e659e05c074fc", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_5f3982dcd2474cceaef3485c940bdc15", + "object": "Rate", "created_at": "2024-01-19T22:02:09Z", "updated_at": "2024-01-19T22:02:09Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_74a9adcfe9ad4cd7ab8e659e05c074fc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_3eed4bc1b64b42049be5cef586491e00", "object": "Rate", "created_at": + "2024-01-19T22:02:09Z", "updated_at": "2024-01-19T22:02:09Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_74a9adcfe9ad4cd7ab8e659e05c074fc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_a0e48ef421374b2d86999cf0d3158476", "object": "Rate", "created_at": + "2024-01-19T22:02:09Z", "updated_at": "2024-01-19T22:02:09Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_74a9adcfe9ad4cd7ab8e659e05c074fc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_41a05bf0dd2d4888b9eb94bf20d96fd3", + "object": "Rate", "created_at": "2024-01-19T22:02:10Z", "updated_at": "2024-01-19T22:02:10Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_74a9adcfe9ad4cd7ab8e659e05c074fc", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_71877b0565c1453bb94888c106404bf9", + "object": "Tracker", "mode": "test", "tracking_code": "9434600207552010711999", + "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T22:02:11Z", + "updated_at": "2024-01-19T22:02:11Z", "signed_by": null, "weight": null, "est_delivery_date": + "2024-01-19T22:02:11Z", "shipment_id": "shp_74a9adcfe9ad4cd7ab8e659e05c074fc", + "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": + "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-19T22:02:11Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", + "message": "Shipping Label Created", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-20T10:39:11Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": + null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": + null}, "public_url": "https://track.easypost.com/djE6dHJrXzcxODc3YjA1NjVjMTQ1M2JiOTQ4ODhjMTA2NDA0YmY5"}, + "to_address": {"id": "adr_63f666d5b71611ee8e903cecef1b359e", "object": "Address", + "created_at": "2024-01-19T22:02:08+00:00", "updated_at": "2024-01-19T22:02:10+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_63f95570b71611ee90b8ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:02:08+00:00", "updated_at": + "2024-01-19T22:02:08+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_63f666d5b71611ee8e903cecef1b359e", "object": + "Address", "created_at": "2024-01-19T22:02:08+00:00", "updated_at": "2024-01-19T22:02:10+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "6.79000", "charged": true, "refunded": false}], "id": "shp_74a9adcfe9ad4cd7ab8e659e05c074fc", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '10588' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaf163e798c87b00102bd9 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.450609' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '885' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T22:05:57Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T22:05:58Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_39dbd393b32543fcbba62faa72e55a56", + "object": "CustomsInfo", "created_at": "2024-01-19T22:05:57Z", "updated_at": + "2024-01-19T22:05:57Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_a2c2159bb7eb41be9d63e253c392e9e5", "object": "CustomsItem", + "created_at": "2024-01-19T22:05:57Z", "updated_at": "2024-01-19T22:05:57Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_ec36c06fb71611eebc1e3cecef1b359e", "object": + "Address", "created_at": "2024-01-19T22:05:57+00:00", "updated_at": "2024-01-19T22:05:57+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_2ce2d6496bef4db0afa31d37a3ba2dc8", "object": "Parcel", "created_at": + "2024-01-19T22:05:57Z", "updated_at": "2024-01-19T22:05:57Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_78f64fcde43f4e099dea270b8e8030ab", + "object": "Rate", "created_at": "2024-01-19T22:05:58Z", "updated_at": "2024-01-19T22:05:58Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_671ab59440464dd0abdc24ead2d41451", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_e1c600e3216e4eacb50ac841f6d91e2b", + "object": "Rate", "created_at": "2024-01-19T22:05:58Z", "updated_at": "2024-01-19T22:05:58Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_671ab59440464dd0abdc24ead2d41451", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_c52cbe122e2e40bba9dbf67c5d8262e9", "object": "Rate", "created_at": + "2024-01-19T22:05:58Z", "updated_at": "2024-01-19T22:05:58Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_671ab59440464dd0abdc24ead2d41451", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_e11cfa705c6c4f8da2d64842caea0cce", "object": "Rate", "created_at": + "2024-01-19T22:05:58Z", "updated_at": "2024-01-19T22:05:58Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_671ab59440464dd0abdc24ead2d41451", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_bbd442f7a2d949128c0585d958c10e76", "object": "Rate", "created_at": + "2024-01-19T22:05:58Z", "updated_at": "2024-01-19T22:05:58Z", "mode": "test", + "service": "Priority", "carrier": "USPS", "rate": "7.99", "currency": "USD", + "retail_rate": "14.05", "retail_currency": "USD", "list_rate": "10.27", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": + "shp_671ab59440464dd0abdc24ead2d41451", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_ec3320deb71611eebc1d3cecef1b359e", "object": + "Address", "created_at": "2024-01-19T22:05:57+00:00", "updated_at": "2024-01-19T22:05:57+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_ec36c06fb71611eebc1e3cecef1b359e", "object": "Address", "created_at": + "2024-01-19T22:05:57+00:00", "updated_at": "2024-01-19T22:05:57+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_ec3320deb71611eebc1d3cecef1b359e", + "object": "Address", "created_at": "2024-01-19T22:05:57+00:00", "updated_at": + "2024-01-19T22:05:57+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_671ab59440464dd0abdc24ead2d41451", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_671ab59440464dd0abdc24ead2d41451 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf245e798d1240010d028 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.857445' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"rate": {"id": "rate_78f64fcde43f4e099dea270b8e8030ab"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '57' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments/shp_671ab59440464dd0abdc24ead2d41451/buy + response: + body: + string: '{"created_at": "2024-01-19T22:05:57Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9434600207552010712910", "updated_at": "2024-01-19T22:05:59Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_39dbd393b32543fcbba62faa72e55a56", "object": "CustomsInfo", "created_at": + "2024-01-19T22:05:57Z", "updated_at": "2024-01-19T22:05:57Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_a2c2159bb7eb41be9d63e253c392e9e5", + "object": "CustomsItem", "created_at": "2024-01-19T22:05:57Z", "updated_at": + "2024-01-19T22:05:57Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_ec36c06fb71611eebc1e3cecef1b359e", + "object": "Address", "created_at": "2024-01-19T22:05:57+00:00", "updated_at": + "2024-01-19T22:05:57+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_2ce2d6496bef4db0afa31d37a3ba2dc8", + "object": "Parcel", "created_at": "2024-01-19T22:05:57Z", "updated_at": "2024-01-19T22:05:57Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_2117eb64a24d42c29e05770a992d8028", "created_at": "2024-01-19T22:05:58Z", + "updated_at": "2024-01-19T22:05:59Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T22:05:58Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e80524d8ecb05b4813b96544f3acaac8ed.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_78f64fcde43f4e099dea270b8e8030ab", "object": + "Rate", "created_at": "2024-01-19T22:05:58Z", "updated_at": "2024-01-19T22:05:58Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_671ab59440464dd0abdc24ead2d41451", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_e1c600e3216e4eacb50ac841f6d91e2b", + "object": "Rate", "created_at": "2024-01-19T22:05:58Z", "updated_at": "2024-01-19T22:05:58Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_671ab59440464dd0abdc24ead2d41451", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_c52cbe122e2e40bba9dbf67c5d8262e9", "object": "Rate", "created_at": + "2024-01-19T22:05:58Z", "updated_at": "2024-01-19T22:05:58Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_671ab59440464dd0abdc24ead2d41451", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_e11cfa705c6c4f8da2d64842caea0cce", "object": "Rate", "created_at": + "2024-01-19T22:05:58Z", "updated_at": "2024-01-19T22:05:58Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_671ab59440464dd0abdc24ead2d41451", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_bbd442f7a2d949128c0585d958c10e76", "object": "Rate", "created_at": + "2024-01-19T22:05:58Z", "updated_at": "2024-01-19T22:05:58Z", "mode": "test", + "service": "Priority", "carrier": "USPS", "rate": "7.99", "currency": "USD", + "retail_rate": "14.05", "retail_currency": "USD", "list_rate": "10.27", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": + "shp_671ab59440464dd0abdc24ead2d41451", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_78f64fcde43f4e099dea270b8e8030ab", + "object": "Rate", "created_at": "2024-01-19T22:05:59Z", "updated_at": "2024-01-19T22:05:59Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_671ab59440464dd0abdc24ead2d41451", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_577bf5b3646c4a44abdbe96966053fd9", + "object": "Tracker", "mode": "test", "tracking_code": "9434600207552010712910", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:05:59Z", + "updated_at": "2024-01-19T22:05:59Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_671ab59440464dd0abdc24ead2d41451", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzU3N2JmNWIzNjQ2YzRhNDRhYmRiZTk2OTY2MDUzZmQ5"}, + "to_address": {"id": "adr_ec3320deb71611eebc1d3cecef1b359e", "object": "Address", + "created_at": "2024-01-19T22:05:57+00:00", "updated_at": "2024-01-19T22:05:58+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_ec36c06fb71611eebc1e3cecef1b359e", + "object": "Address", "created_at": "2024-01-19T22:05:57+00:00", "updated_at": + "2024-01-19T22:05:57+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_ec3320deb71611eebc1d3cecef1b359e", "object": + "Address", "created_at": "2024-01-19T22:05:57+00:00", "updated_at": "2024-01-19T22:05:58+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "6.79000", "charged": true, "refunded": false}], "id": "shp_671ab59440464dd0abdc24ead2d41451", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '9345' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf246e798d1250010d0ea + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.856594' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_shipments_list.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_shipments_list.yaml new file mode 100644 index 00000000..e36be403 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_shipments_list.yaml @@ -0,0 +1,1374 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/shipments?page_size=1 + response: + body: + string: '{"shipments": [{"created_at": "2024-01-19T21:42:00Z", "is_return": + false, "messages": [], "mode": "test", "options": {"currency": "USD", "payment": + {"type": "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", + "tracking_code": "9405500207552010707771", "updated_at": "2024-01-19T21:42:01Z", + "batch_id": "batch_20ed0a5f5e4f4e5c8cf2b4f966ceb924", "batch_status": "postage_purchased", + "batch_message": null, "customs_info": {"id": "cstinfo_b8df8ab18426437884d0bdbcc8cd7a38", + "object": "CustomsInfo", "created_at": "2024-01-19T21:42:00Z", "updated_at": + "2024-01-19T21:42:00Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_70b1522825c645659169b66fed6c5ff8", "object": "CustomsItem", + "created_at": "2024-01-19T21:42:00Z", "updated_at": "2024-01-19T21:42:00Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_939e948eb71311eeb35fac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:42:00+00:00", "updated_at": "2024-01-19T21:42:00+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_3ae2306725f2419cb812702fab0e8879", "object": "Parcel", "created_at": + "2024-01-19T21:42:00Z", "updated_at": "2024-01-19T21:42:00Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": {"object": "PostageLabel", "id": "pl_7123fce93f754da197413633321ea20f", + "created_at": "2024-01-19T21:42:01Z", "updated_at": "2024-01-19T21:42:01Z", + "date_advance": 0, "integrated_form": "none", "label_date": "2024-01-19T21:42:01Z", + "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": + "image/png", "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8d34f289678574f3fa795bbf64a495e47.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_e2a94cdc60d2464aa89a69d29cf12f7a", "object": + "Rate", "created_at": "2024-01-19T21:42:00Z", "updated_at": "2024-01-19T21:42:00Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_cf8e56cf20974b3da7c68ef7da9c1718", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_e68bd3f50b7d499a99ce5936e5376154", + "object": "Rate", "created_at": "2024-01-19T21:42:00Z", "updated_at": "2024-01-19T21:42:00Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_cf8e56cf20974b3da7c68ef7da9c1718", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_233e3d437e8c4c1a969f94b4c751d1f9", + "object": "Rate", "created_at": "2024-01-19T21:42:00Z", "updated_at": "2024-01-19T21:42:00Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_cf8e56cf20974b3da7c68ef7da9c1718", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_05ca078c91cb4f90a7544b18ece7c135", + "object": "Rate", "created_at": "2024-01-19T21:42:00Z", "updated_at": "2024-01-19T21:42:00Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_cf8e56cf20974b3da7c68ef7da9c1718", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_afc77f652bbb4f94a8b679a1afdf9547", "object": "Rate", "created_at": + "2024-01-19T21:42:00Z", "updated_at": "2024-01-19T21:42:00Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_cf8e56cf20974b3da7c68ef7da9c1718", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": {"id": "sf_7da5cfcbb18448a1b8557d6f46dcfd63", + "object": "ScanForm", "created_at": "2024-01-19T21:42:01Z", "updated_at": + "2024-01-19T21:42:02Z", "tracking_codes": ["9405500207552010707771"], "address": + {"id": "adr_939e948eb71311eeb35fac1f6bc539aa", "object": "Address", "created_at": + "2024-01-19T21:42:00+00:00", "updated_at": "2024-01-19T21:42:00+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "status": "created", "message": null, "form_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e88e3aaa0500a342a6ba20d2fe6c3cd189.pdf", + "form_file_type": null, "batch_id": "batch_20ed0a5f5e4f4e5c8cf2b4f966ceb924", + "confirmation": null}, "selected_rate": {"id": "rate_e68bd3f50b7d499a99ce5936e5376154", + "object": "Rate", "created_at": "2024-01-19T21:42:01Z", "updated_at": "2024-01-19T21:42:01Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_cf8e56cf20974b3da7c68ef7da9c1718", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_73461d4218344b6198a1736e508a8cbf", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010707771", + "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:42:01Z", + "updated_at": "2024-01-19T21:42:01Z", "signed_by": null, "weight": null, "est_delivery_date": + "2024-01-19T21:42:01Z", "shipment_id": "shp_cf8e56cf20974b3da7c68ef7da9c1718", + "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": + "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-19T21:42:01Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", + "message": "Shipping Label Created", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-20T10:19:01Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": + null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": + null}, "public_url": "https://track.easypost.com/djE6dHJrXzczNDYxZDQyMTgzNDRiNjE5OGExNzM2ZTUwOGE4Y2Jm"}, + "to_address": {"id": "adr_939be8d4b71311eea487ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:42:00+00:00", "updated_at": "2024-01-19T21:42:00+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_939e948eb71311eeb35fac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:42:00+00:00", "updated_at": + "2024-01-19T21:42:00+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_939be8d4b71311eea487ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:42:00+00:00", "updated_at": "2024-01-19T21:42:00+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_cf8e56cf20974b3da7c68ef7da9c1718", + "object": "Shipment"}], "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '10475' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaecade78b9f67000d08d4 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.152838' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/shipments?page_size=1 + response: + body: + string: '{"shipments": [{"created_at": "2024-01-19T21:43:56Z", "is_return": + false, "messages": [], "mode": "test", "options": {"currency": "USD", "payment": + {"type": "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", + "tracking_code": "9405500207552010708099", "updated_at": "2024-01-19T21:43:58Z", + "batch_id": "batch_b03a60bcbc3a4304b454870debb18a95", "batch_status": "postage_purchased", + "batch_message": null, "customs_info": {"id": "cstinfo_44de8cf3040d4c4681d4460cd76ad867", + "object": "CustomsInfo", "created_at": "2024-01-19T21:43:56Z", "updated_at": + "2024-01-19T21:43:56Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_b821210fd766418bb3fcff593d7f2d6e", "object": "CustomsItem", + "created_at": "2024-01-19T21:43:56Z", "updated_at": "2024-01-19T21:43:56Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_d8e39620b71311eebd5cac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:43:56+00:00", "updated_at": "2024-01-19T21:43:56+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_79113baf47d44d568056e217b0fd5c82", "object": "Parcel", "created_at": + "2024-01-19T21:43:56Z", "updated_at": "2024-01-19T21:43:56Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": {"object": "PostageLabel", "id": "pl_fc082d6a1c134fdcba446681503f5395", + "created_at": "2024-01-19T21:43:57Z", "updated_at": "2024-01-19T21:43:57Z", + "date_advance": 0, "integrated_form": "none", "label_date": "2024-01-19T21:43:57Z", + "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": + "image/png", "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8b7046c350b564342b0f7190c7eb061e7.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_e23a64d44fd2445bb73a85632d30bb8a", "object": + "Rate", "created_at": "2024-01-19T21:43:56Z", "updated_at": "2024-01-19T21:43:56Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_6ffa3fa64a8243629566ceef79076b0e", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_ba6b68e5d5174ce1a99cced7b6a54501", + "object": "Rate", "created_at": "2024-01-19T21:43:56Z", "updated_at": "2024-01-19T21:43:56Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_6ffa3fa64a8243629566ceef79076b0e", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_2249968fac32416391f9e4e47dd41433", + "object": "Rate", "created_at": "2024-01-19T21:43:56Z", "updated_at": "2024-01-19T21:43:56Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_6ffa3fa64a8243629566ceef79076b0e", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_74903299d59b4eed9823e16668a51067", "object": "Rate", "created_at": + "2024-01-19T21:43:56Z", "updated_at": "2024-01-19T21:43:56Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_6ffa3fa64a8243629566ceef79076b0e", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_9f24327adb11459180bcbebff740fa25", "object": "Rate", "created_at": + "2024-01-19T21:43:56Z", "updated_at": "2024-01-19T21:43:56Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_6ffa3fa64a8243629566ceef79076b0e", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": {"id": "sf_f25eda89a8074a699f6f76c8eaaa349e", + "object": "ScanForm", "created_at": "2024-01-19T21:43:58Z", "updated_at": + "2024-01-19T21:43:58Z", "tracking_codes": ["9405500207552010708099"], "address": + {"id": "adr_d8e39620b71311eebd5cac1f6bc539ae", "object": "Address", "created_at": + "2024-01-19T21:43:56+00:00", "updated_at": "2024-01-19T21:43:56+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "status": "created", "message": null, "form_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e8ccdd7972f6884e22a024ae6835e7dd0d.pdf", + "form_file_type": null, "batch_id": "batch_b03a60bcbc3a4304b454870debb18a95", + "confirmation": null}, "selected_rate": {"id": "rate_e23a64d44fd2445bb73a85632d30bb8a", + "object": "Rate", "created_at": "2024-01-19T21:43:57Z", "updated_at": "2024-01-19T21:43:57Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_6ffa3fa64a8243629566ceef79076b0e", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_19cda064a4c248dc91f9fcc2901c8cce", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708099", + "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:43:57Z", + "updated_at": "2024-01-19T21:43:57Z", "signed_by": null, "weight": null, "est_delivery_date": + "2024-01-19T21:43:57Z", "shipment_id": "shp_6ffa3fa64a8243629566ceef79076b0e", + "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": + "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-19T21:43:57Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", + "message": "Shipping Label Created", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-20T10:20:57Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": + null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": + null}, "public_url": "https://track.easypost.com/djE6dHJrXzE5Y2RhMDY0YTRjMjQ4ZGM5MWY5ZmNjMjkwMWM4Y2Nl"}, + "to_address": {"id": "adr_d8e13c66b71311eebae73cecef1b359e", "object": "Address", + "created_at": "2024-01-19T21:43:56+00:00", "updated_at": "2024-01-19T21:43:56+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_d8e39620b71311eebd5cac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:43:56+00:00", "updated_at": + "2024-01-19T21:43:56+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_d8e13c66b71311eebae73cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:43:56+00:00", "updated_at": "2024-01-19T21:43:56+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_6ffa3fa64a8243629566ceef79076b0e", + "object": "Shipment"}], "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '10475' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaed22e78ba7a4000d4d23 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.180387' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/shipments?page_size=1 + response: + body: + string: '{"shipments": [{"created_at": "2024-01-19T21:47:49Z", "is_return": + false, "messages": [], "mode": "test", "options": {"currency": "USD", "payment": + {"type": "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", + "tracking_code": "9405500207552010708549", "updated_at": "2024-01-19T21:47:51Z", + "batch_id": "batch_b3eff1db86ca4e1fa0fe94dca8cfe387", "batch_status": "postage_purchased", + "batch_message": null, "customs_info": {"id": "cstinfo_c7479a268d604b0681baeea11f921e74", + "object": "CustomsInfo", "created_at": "2024-01-19T21:47:49Z", "updated_at": + "2024-01-19T21:47:49Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_3c687cce810c47e3b4b8599cce4b7341", "object": "CustomsItem", + "created_at": "2024-01-19T21:47:49Z", "updated_at": "2024-01-19T21:47:49Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_63b80d85b71411eeb872ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:47:49+00:00", "updated_at": "2024-01-19T21:47:49+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_8478aa9464a24675a1cf63b2184c59be", "object": "Parcel", "created_at": + "2024-01-19T21:47:49Z", "updated_at": "2024-01-19T21:47:49Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": {"object": "PostageLabel", "id": "pl_5a6004eb623a4e63bd6d826905066980", + "created_at": "2024-01-19T21:47:50Z", "updated_at": "2024-01-19T21:47:50Z", + "date_advance": 0, "integrated_form": "none", "label_date": "2024-01-19T21:47:50Z", + "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": + "image/png", "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8c162a623d0c94394a16cfec16ad00ce4.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_fa30f85afd164334bc378eb0b6bcae9a", "object": + "Rate", "created_at": "2024-01-19T21:47:49Z", "updated_at": "2024-01-19T21:47:49Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_3520e5b9d85d464389c46c01f34a943a", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f5aafb9f1fe547ef878883d7fb4dd51b", + "object": "Rate", "created_at": "2024-01-19T21:47:49Z", "updated_at": "2024-01-19T21:47:49Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_3520e5b9d85d464389c46c01f34a943a", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_26f0a3d0877545649e010f7a8a268f13", + "object": "Rate", "created_at": "2024-01-19T21:47:49Z", "updated_at": "2024-01-19T21:47:49Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_3520e5b9d85d464389c46c01f34a943a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_7a083ecc7b8c4d2bb7aa73e10dc31629", "object": "Rate", "created_at": + "2024-01-19T21:47:49Z", "updated_at": "2024-01-19T21:47:49Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_3520e5b9d85d464389c46c01f34a943a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_c62cb64690504e2e95c1f197d40f4388", "object": "Rate", "created_at": + "2024-01-19T21:47:49Z", "updated_at": "2024-01-19T21:47:49Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_3520e5b9d85d464389c46c01f34a943a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": {"id": "sf_2c81f564c6354c7d830d919480c6df4c", + "object": "ScanForm", "created_at": "2024-01-19T21:47:50Z", "updated_at": + "2024-01-19T21:47:51Z", "tracking_codes": ["9405500207552010708549"], "address": + {"id": "adr_63b80d85b71411eeb872ac1f6bc539aa", "object": "Address", "created_at": + "2024-01-19T21:47:49+00:00", "updated_at": "2024-01-19T21:47:49+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "status": "created", "message": null, "form_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e8497c81ee5e3344c5b5571076d5b115e0.pdf", + "form_file_type": null, "batch_id": "batch_b3eff1db86ca4e1fa0fe94dca8cfe387", + "confirmation": null}, "selected_rate": {"id": "rate_fa30f85afd164334bc378eb0b6bcae9a", + "object": "Rate", "created_at": "2024-01-19T21:47:50Z", "updated_at": "2024-01-19T21:47:50Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_3520e5b9d85d464389c46c01f34a943a", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_3964cdba1dc94256b352d7333095e9ba", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708549", + "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:47:50Z", + "updated_at": "2024-01-19T21:47:50Z", "signed_by": null, "weight": null, "est_delivery_date": + "2024-01-19T21:47:50Z", "shipment_id": "shp_3520e5b9d85d464389c46c01f34a943a", + "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": + "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-19T21:47:50Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", + "message": "Shipping Label Created", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-20T10:24:50Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": + null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": + null}, "public_url": "https://track.easypost.com/djE6dHJrXzM5NjRjZGJhMWRjOTQyNTZiMzUyZDczMzMwOTVlOWJh"}, + "to_address": {"id": "adr_63b62bc4b71411eeaa05ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:47:49+00:00", "updated_at": "2024-01-19T21:47:49+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_63b80d85b71411eeb872ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:47:49+00:00", "updated_at": + "2024-01-19T21:47:49+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_63b62bc4b71411eeaa05ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:47:49+00:00", "updated_at": "2024-01-19T21:47:49+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_3520e5b9d85d464389c46c01f34a943a", + "object": "Shipment"}], "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '10475' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdaa65aaee0ae78bb0270011444b + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.164411' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/shipments?page_size=1 + response: + body: + string: '{"shipments": [{"created_at": "2024-01-19T21:49:44Z", "is_return": + false, "messages": [], "mode": "test", "options": {"currency": "USD", "payment": + {"type": "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", + "tracking_code": "9405500207552010709102", "updated_at": "2024-01-19T21:49:46Z", + "batch_id": "batch_1f2b6f67ee9441d0a4665930a68332c4", "batch_status": "postage_purchased", + "batch_message": null, "customs_info": {"id": "cstinfo_e1d6f30a63c6407d856f3cd7958aaf0c", + "object": "CustomsInfo", "created_at": "2024-01-19T21:49:44Z", "updated_at": + "2024-01-19T21:49:44Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_68883a0ec33b443a97298131a5d54313", "object": "CustomsItem", + "created_at": "2024-01-19T21:49:44Z", "updated_at": "2024-01-19T21:49:44Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_a84db4e5b71411ee8db7ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:49:44+00:00", "updated_at": "2024-01-19T21:49:44+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_e6dbe4a18a214d1f887c55994ee38c7b", "object": "Parcel", "created_at": + "2024-01-19T21:49:44Z", "updated_at": "2024-01-19T21:49:44Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": {"object": "PostageLabel", "id": "pl_e2a54083065c492c9c3cd738aee9a04b", + "created_at": "2024-01-19T21:49:45Z", "updated_at": "2024-01-19T21:49:45Z", + "date_advance": 0, "integrated_form": "none", "label_date": "2024-01-19T21:49:45Z", + "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": + "image/png", "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e853b9af8a67e84c67bcb2fb95a05d80f5.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_aee54f6a74e54df88ae8cf3d3c61b833", "object": + "Rate", "created_at": "2024-01-19T21:49:44Z", "updated_at": "2024-01-19T21:49:44Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_99377db897464f81afcd3812f4e92305", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c50aebdd003e4f78908d1b4833c23a5c", + "object": "Rate", "created_at": "2024-01-19T21:49:44Z", "updated_at": "2024-01-19T21:49:44Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_99377db897464f81afcd3812f4e92305", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_6ae6b55d16d2412e88fbf81520bacc02", + "object": "Rate", "created_at": "2024-01-19T21:49:44Z", "updated_at": "2024-01-19T21:49:44Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_99377db897464f81afcd3812f4e92305", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_8a6974de4cff41e894da9ae6575f7adb", "object": "Rate", "created_at": + "2024-01-19T21:49:44Z", "updated_at": "2024-01-19T21:49:44Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_99377db897464f81afcd3812f4e92305", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_a7fdb87c747e45018fb27a1bf6a966f8", "object": "Rate", "created_at": + "2024-01-19T21:49:44Z", "updated_at": "2024-01-19T21:49:44Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_99377db897464f81afcd3812f4e92305", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": {"id": "sf_1be115f4129540d9a9d554293979dcd2", + "object": "ScanForm", "created_at": "2024-01-19T21:49:46Z", "updated_at": + "2024-01-19T21:49:46Z", "tracking_codes": ["9405500207552010709102"], "address": + {"id": "adr_a84db4e5b71411ee8db7ac1f6bc539aa", "object": "Address", "created_at": + "2024-01-19T21:49:44+00:00", "updated_at": "2024-01-19T21:49:44+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "status": "created", "message": null, "form_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e89fb1eea90766417a97ffcbd97f34758f.pdf", + "form_file_type": null, "batch_id": "batch_1f2b6f67ee9441d0a4665930a68332c4", + "confirmation": null}, "selected_rate": {"id": "rate_aee54f6a74e54df88ae8cf3d3c61b833", + "object": "Rate", "created_at": "2024-01-19T21:49:45Z", "updated_at": "2024-01-19T21:49:45Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_99377db897464f81afcd3812f4e92305", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_19bc93fdfc0249059993518a6857cda9", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010709102", + "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:49:45Z", + "updated_at": "2024-01-19T21:49:45Z", "signed_by": null, "weight": null, "est_delivery_date": + "2024-01-19T21:49:45Z", "shipment_id": "shp_99377db897464f81afcd3812f4e92305", + "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": + "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-19T21:49:45Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", + "message": "Shipping Label Created", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-20T10:26:45Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": + null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": + null}, "public_url": "https://track.easypost.com/djE6dHJrXzE5YmM5M2ZkZmMwMjQ5MDU5OTkzNTE4YTY4NTdjZGE5"}, + "to_address": {"id": "adr_a84b213ab71411eebf67ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:49:44+00:00", "updated_at": "2024-01-19T21:49:44+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_a84db4e5b71411ee8db7ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:49:44+00:00", "updated_at": + "2024-01-19T21:49:44+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_a84b213ab71411eebf67ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:49:44+00:00", "updated_at": "2024-01-19T21:49:44+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_99377db897464f81afcd3812f4e92305", + "object": "Shipment"}], "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '10475' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdac65aaee7de78bb84a001185ff + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.180348' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/shipments?page_size=1 + response: + body: + string: '{"shipments": [{"created_at": "2024-01-19T21:59:03Z", "is_return": + false, "messages": [], "mode": "test", "options": {"currency": "USD", "payment": + {"type": "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", + "tracking_code": "9405500207552010711549", "updated_at": "2024-01-19T21:59:04Z", + "batch_id": "batch_cfd9e0a3dee34f68b8eead06b7c9b995", "batch_status": "postage_purchased", + "batch_message": null, "customs_info": {"id": "cstinfo_edb33bc33ba646b39a6f09c5ef74afe5", + "object": "CustomsInfo", "created_at": "2024-01-19T21:59:03Z", "updated_at": + "2024-01-19T21:59:03Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_2a8a3635e56a416fad735007e8b59ee3", "object": "CustomsItem", + "created_at": "2024-01-19T21:59:03Z", "updated_at": "2024-01-19T21:59:03Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_f56b9bb7b71511eebda6ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:59:03+00:00", "updated_at": "2024-01-19T21:59:03+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_b0a22aabbb0a4ef5b8a979a088220b21", "object": "Parcel", "created_at": + "2024-01-19T21:59:03Z", "updated_at": "2024-01-19T21:59:03Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": {"object": "PostageLabel", "id": "pl_153bb314ead94a229ff73a6a64ea3bbe", + "created_at": "2024-01-19T21:59:04Z", "updated_at": "2024-01-19T21:59:04Z", + "date_advance": 0, "integrated_form": "none", "label_date": "2024-01-19T21:59:03Z", + "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": + "image/png", "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e83e591972733247aab1fdc372db75c01f.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_e869c02d5a5f4e228a601d61919e88b4", "object": + "Rate", "created_at": "2024-01-19T21:59:03Z", "updated_at": "2024-01-19T21:59:03Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_fdeca7eea7f84d8d8f5bda25d6abcb04", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_cbe211d5078c4451a85ebb696674b94b", + "object": "Rate", "created_at": "2024-01-19T21:59:03Z", "updated_at": "2024-01-19T21:59:03Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_fdeca7eea7f84d8d8f5bda25d6abcb04", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_2c89473f7d424fcabd3a264063a34c4b", + "object": "Rate", "created_at": "2024-01-19T21:59:03Z", "updated_at": "2024-01-19T21:59:03Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_fdeca7eea7f84d8d8f5bda25d6abcb04", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_6187ea5b711046bcac88a001b236c3e7", + "object": "Rate", "created_at": "2024-01-19T21:59:03Z", "updated_at": "2024-01-19T21:59:03Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_fdeca7eea7f84d8d8f5bda25d6abcb04", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_95506bb3f7684eee97f534d6cc5e7020", "object": "Rate", "created_at": + "2024-01-19T21:59:03Z", "updated_at": "2024-01-19T21:59:03Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_fdeca7eea7f84d8d8f5bda25d6abcb04", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": {"id": "sf_1eb4a2f980fc40feb3c821ce3e6ca278", + "object": "ScanForm", "created_at": "2024-01-19T21:59:04Z", "updated_at": + "2024-01-19T21:59:05Z", "tracking_codes": ["9405500207552010711549"], "address": + {"id": "adr_f56b9bb7b71511eebda6ac1f6bc539aa", "object": "Address", "created_at": + "2024-01-19T21:59:03+00:00", "updated_at": "2024-01-19T21:59:03+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "status": "created", "message": null, "form_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e88f3d9ee4a5a6448ebf1455c89f5a640a.pdf", + "form_file_type": null, "batch_id": "batch_cfd9e0a3dee34f68b8eead06b7c9b995", + "confirmation": null}, "selected_rate": {"id": "rate_cbe211d5078c4451a85ebb696674b94b", + "object": "Rate", "created_at": "2024-01-19T21:59:04Z", "updated_at": "2024-01-19T21:59:04Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_fdeca7eea7f84d8d8f5bda25d6abcb04", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_f7cda8c0f963458cb133b1ee1a7e94b6", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711549", + "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:59:04Z", + "updated_at": "2024-01-19T21:59:04Z", "signed_by": null, "weight": null, "est_delivery_date": + "2024-01-19T21:59:04Z", "shipment_id": "shp_fdeca7eea7f84d8d8f5bda25d6abcb04", + "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": + "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-19T21:59:04Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", + "message": "Shipping Label Created", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-20T10:36:04Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": + null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": + null}, "public_url": "https://track.easypost.com/djE6dHJrX2Y3Y2RhOGMwZjk2MzQ1OGNiMTMzYjFlZTFhN2U5NGI2"}, + "to_address": {"id": "adr_f569824eb71511eebda5ac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T21:59:03+00:00", "updated_at": "2024-01-19T21:59:03+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_f56b9bb7b71511eebda6ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:59:03+00:00", "updated_at": + "2024-01-19T21:59:03+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_f569824eb71511eebda5ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:59:03+00:00", "updated_at": "2024-01-19T21:59:03+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_fdeca7eea7f84d8d8f5bda25d6abcb04", + "object": "Shipment"}], "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '10475' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf0ace798bfe0000f894c + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.177002' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/shipments?page_size=1 + response: + body: + string: '{"shipments": [{"created_at": "2024-01-19T22:01:58Z", "is_return": + false, "messages": [], "mode": "test", "options": {"currency": "USD", "payment": + {"type": "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", + "tracking_code": "9405500207552010711969", "updated_at": "2024-01-19T22:02:00Z", + "batch_id": "batch_aebd0d167bf542e788a9eb1bb2a62fb2", "batch_status": "postage_purchased", + "batch_message": null, "customs_info": {"id": "cstinfo_9e5ef28a04a844d28af5baacf9dc08fd", + "object": "CustomsInfo", "created_at": "2024-01-19T22:01:58Z", "updated_at": + "2024-01-19T22:01:58Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_6717b88e200446abb07d9cac379acec6", "object": "CustomsItem", + "created_at": "2024-01-19T22:01:58Z", "updated_at": "2024-01-19T22:01:58Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_5dbc0d4eb71611ee8ef8ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T22:01:58+00:00", "updated_at": "2024-01-19T22:01:58+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_105ab4b774d24746805156b18be89dc9", "object": "Parcel", "created_at": + "2024-01-19T22:01:58Z", "updated_at": "2024-01-19T22:01:58Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": {"object": "PostageLabel", "id": "pl_c1cea9faa18647fb98aa271b7651f24d", + "created_at": "2024-01-19T22:01:59Z", "updated_at": "2024-01-19T22:01:59Z", + "date_advance": 0, "integrated_form": "none", "label_date": "2024-01-19T22:01:59Z", + "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": + "image/png", "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e83c10649120ff4bee945fafe3e3e104be.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_de2cd14d8e47436eb522c73ab77d6dee", "object": + "Rate", "created_at": "2024-01-19T22:01:58Z", "updated_at": "2024-01-19T22:01:58Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_b232ba9a590a4434907f48617f8e11df", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_0ce9baa0f5cf44dd8e90e3f5b2449a7a", + "object": "Rate", "created_at": "2024-01-19T22:01:58Z", "updated_at": "2024-01-19T22:01:58Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_b232ba9a590a4434907f48617f8e11df", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_ecd9929e6ead423c80b601127966bb41", + "object": "Rate", "created_at": "2024-01-19T22:01:58Z", "updated_at": "2024-01-19T22:01:58Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_b232ba9a590a4434907f48617f8e11df", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_5bda53e985644456aa778be713015056", + "object": "Rate", "created_at": "2024-01-19T22:01:58Z", "updated_at": "2024-01-19T22:01:58Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_b232ba9a590a4434907f48617f8e11df", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_ba4737a1b24c40bfa4e38081d991b8a7", "object": "Rate", "created_at": + "2024-01-19T22:01:58Z", "updated_at": "2024-01-19T22:01:58Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_b232ba9a590a4434907f48617f8e11df", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": {"id": "sf_aaa1967cefe54ba389850a28c61bb704", + "object": "ScanForm", "created_at": "2024-01-19T22:02:00Z", "updated_at": + "2024-01-19T22:02:00Z", "tracking_codes": ["9405500207552010711969"], "address": + {"id": "adr_5dbc0d4eb71611ee8ef8ac1f6bc53342", "object": "Address", "created_at": + "2024-01-19T22:01:58+00:00", "updated_at": "2024-01-19T22:01:58+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "status": "created", "message": null, "form_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e86363cd2729314ce3a405dc645e3e2edf.pdf", + "form_file_type": null, "batch_id": "batch_aebd0d167bf542e788a9eb1bb2a62fb2", + "confirmation": null}, "selected_rate": {"id": "rate_0ce9baa0f5cf44dd8e90e3f5b2449a7a", + "object": "Rate", "created_at": "2024-01-19T22:01:59Z", "updated_at": "2024-01-19T22:01:59Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_b232ba9a590a4434907f48617f8e11df", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_8fafbd1d874a44c78da223bbad799028", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711969", + "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T22:01:59Z", + "updated_at": "2024-01-19T22:01:59Z", "signed_by": null, "weight": null, "est_delivery_date": + "2024-01-19T22:01:59Z", "shipment_id": "shp_b232ba9a590a4434907f48617f8e11df", + "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": + "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-19T22:01:59Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", + "message": "Shipping Label Created", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-20T10:38:59Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": + null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": + null}, "public_url": "https://track.easypost.com/djE6dHJrXzhmYWZiZDFkODc0YTQ0Yzc4ZGEyMjNiYmFkNzk5MDI4"}, + "to_address": {"id": "adr_5db97915b71611ee8ef7ac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T22:01:58+00:00", "updated_at": "2024-01-19T22:01:58+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_5dbc0d4eb71611ee8ef8ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T22:01:58+00:00", "updated_at": + "2024-01-19T22:01:58+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_5db97915b71611ee8ef7ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T22:01:58+00:00", "updated_at": "2024-01-19T22:01:58+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_b232ba9a590a4434907f48617f8e11df", + "object": "Shipment"}], "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '10475' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaf15ce798c85d001025af + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.171904' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/shipments?page_size=1 + response: + body: + string: '{"shipments": [{"created_at": "2024-01-19T22:05:46Z", "is_return": + false, "messages": [], "mode": "test", "options": {"currency": "USD", "payment": + {"type": "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", + "tracking_code": "9405500207552010712812", "updated_at": "2024-01-19T22:05:48Z", + "batch_id": "batch_1159df9904bb4176918e6bb190604a18", "batch_status": "postage_purchased", + "batch_message": null, "customs_info": {"id": "cstinfo_42fb952bddd44ac0adee2fc6c90fed8d", + "object": "CustomsInfo", "created_at": "2024-01-19T22:05:46Z", "updated_at": + "2024-01-19T22:05:46Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_4aa49e3d13ed40d6ba2d8eb9671e61d4", "object": "CustomsItem", + "created_at": "2024-01-19T22:05:46Z", "updated_at": "2024-01-19T22:05:46Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_e5cd9cfdb71611eebe4cac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T22:05:46+00:00", "updated_at": "2024-01-19T22:05:46+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_1ca1395ad7d04851811a5a5902e2cb5e", "object": "Parcel", "created_at": + "2024-01-19T22:05:46Z", "updated_at": "2024-01-19T22:05:46Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": {"object": "PostageLabel", "id": "pl_13157b637c3741c4b863c56ec3020f74", + "created_at": "2024-01-19T22:05:47Z", "updated_at": "2024-01-19T22:05:47Z", + "date_advance": 0, "integrated_form": "none", "label_date": "2024-01-19T22:05:47Z", + "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": + "image/png", "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e85fe820dcf47b479a93d7ebbde9cd43cf.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_c6289164d3eb4e2c9622c288ab7219f6", "object": + "Rate", "created_at": "2024-01-19T22:05:46Z", "updated_at": "2024-01-19T22:05:46Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_1c1dd75cbb95496cb251a93b0961704b", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b598cb94ef5141c4a8d509d255dbfe6b", + "object": "Rate", "created_at": "2024-01-19T22:05:46Z", "updated_at": "2024-01-19T22:05:46Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_1c1dd75cbb95496cb251a93b0961704b", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_7d2d8ca65f3843b6a1f133268a4cef7a", + "object": "Rate", "created_at": "2024-01-19T22:05:46Z", "updated_at": "2024-01-19T22:05:46Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_1c1dd75cbb95496cb251a93b0961704b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_86b6514da54140cea4f2116f7c550f34", "object": "Rate", "created_at": + "2024-01-19T22:05:46Z", "updated_at": "2024-01-19T22:05:46Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_1c1dd75cbb95496cb251a93b0961704b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_39c59a32bc0243df8e00ded1ffc6d03e", "object": "Rate", "created_at": + "2024-01-19T22:05:46Z", "updated_at": "2024-01-19T22:05:46Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_1c1dd75cbb95496cb251a93b0961704b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": {"id": "sf_1de4ead0dce34c4387c7836727c39c33", + "object": "ScanForm", "created_at": "2024-01-19T22:05:48Z", "updated_at": + "2024-01-19T22:05:48Z", "tracking_codes": ["9405500207552010712812"], "address": + {"id": "adr_e5cd9cfdb71611eebe4cac1f6bc539ae", "object": "Address", "created_at": + "2024-01-19T22:05:46+00:00", "updated_at": "2024-01-19T22:05:46+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "status": "created", "message": null, "form_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e8c5d3ed3cc27e475da3b25c1da9d6fd3b.pdf", + "form_file_type": null, "batch_id": "batch_1159df9904bb4176918e6bb190604a18", + "confirmation": null}, "selected_rate": {"id": "rate_c6289164d3eb4e2c9622c288ab7219f6", + "object": "Rate", "created_at": "2024-01-19T22:05:47Z", "updated_at": "2024-01-19T22:05:47Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_1c1dd75cbb95496cb251a93b0961704b", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_abb72fbb486543ee8d61ce157dd38a81", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010712812", + "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T22:05:47Z", + "updated_at": "2024-01-19T22:05:47Z", "signed_by": null, "weight": null, "est_delivery_date": + "2024-01-19T22:05:47Z", "shipment_id": "shp_1c1dd75cbb95496cb251a93b0961704b", + "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": + "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-19T22:05:47Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", + "message": "Shipping Label Created", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-20T10:42:47Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": + null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": + null}, "public_url": "https://track.easypost.com/djE6dHJrX2FiYjcyZmJiNDg2NTQzZWU4ZDYxY2UxNTdkZDM4YTgx"}, + "to_address": {"id": "adr_e5c91903b71611eeb9af3cecef1b359e", "object": "Address", + "created_at": "2024-01-19T22:05:46+00:00", "updated_at": "2024-01-19T22:05:47+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_e5cd9cfdb71611eebe4cac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T22:05:46+00:00", "updated_at": + "2024-01-19T22:05:46+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_e5c91903b71611eeb9af3cecef1b359e", "object": + "Address", "created_at": "2024-01-19T22:05:46+00:00", "updated_at": "2024-01-19T22:05:47+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_1c1dd75cbb95496cb251a93b0961704b", + "object": "Shipment"}], "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '10475' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf240e798d1200010cc09 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.330276' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_shipments_one_call_buy.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_shipments_one_call_buy.yaml new file mode 100644 index 00000000..976b9081 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_shipments_one_call_buy.yaml @@ -0,0 +1,1313 @@ +interactions: +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:42:08Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010707795", "updated_at": "2024-01-19T21:42:09Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_e5045977834449439af2bc256f3b29dd", "object": "CustomsInfo", "created_at": + "2024-01-19T21:42:08Z", "updated_at": "2024-01-19T21:42:08Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_b506205ca9e4423b8197cee9805292af", + "object": "CustomsItem", "created_at": "2024-01-19T21:42:08Z", "updated_at": + "2024-01-19T21:42:08Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_985c0698b71311eea3613cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:42:08+00:00", "updated_at": + "2024-01-19T21:42:08+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_a78e336299be4f9d998d25b48819b7c6", + "object": "Parcel", "created_at": "2024-01-19T21:42:08Z", "updated_at": "2024-01-19T21:42:08Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_42d3205dae954aa5a47afeca04ef903e", "created_at": "2024-01-19T21:42:08Z", + "updated_at": "2024-01-19T21:42:09Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:42:08Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8dc5afd52a1744a20a12e40c596d2f190.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_924fc99778f945c58a4224fde3226faf", "object": + "Rate", "created_at": "2024-01-19T21:42:08Z", "updated_at": "2024-01-19T21:42:08Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_a1d84f486e0e44e5b7ebfb3c15f2c83e", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_0510ffa721334e889df0b4fa8deb3080", + "object": "Rate", "created_at": "2024-01-19T21:42:08Z", "updated_at": "2024-01-19T21:42:08Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_a1d84f486e0e44e5b7ebfb3c15f2c83e", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_ae58202b37264ec8a9ce3350191ac3b0", + "object": "Rate", "created_at": "2024-01-19T21:42:08Z", "updated_at": "2024-01-19T21:42:08Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_a1d84f486e0e44e5b7ebfb3c15f2c83e", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f1a40a5d2a374c91997fe0578c5255e5", + "object": "Rate", "created_at": "2024-01-19T21:42:08Z", "updated_at": "2024-01-19T21:42:08Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_a1d84f486e0e44e5b7ebfb3c15f2c83e", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_986a9d1153f6425cb459c252450c6c70", "object": "Rate", "created_at": + "2024-01-19T21:42:08Z", "updated_at": "2024-01-19T21:42:08Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_a1d84f486e0e44e5b7ebfb3c15f2c83e", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_0510ffa721334e889df0b4fa8deb3080", + "object": "Rate", "created_at": "2024-01-19T21:42:08Z", "updated_at": "2024-01-19T21:42:08Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_a1d84f486e0e44e5b7ebfb3c15f2c83e", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_324c76c1cc5b4ddd8aae2e4571ca35e8", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010707795", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:42:09Z", + "updated_at": "2024-01-19T21:42:09Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_a1d84f486e0e44e5b7ebfb3c15f2c83e", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzMyNGM3NmMxY2M1YjRkZGQ4YWFlMmU0NTcxY2EzNWU4"}, + "to_address": {"id": "adr_9859cca6b71311eea5fbac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:42:08+00:00", "updated_at": "2024-01-19T21:42:08+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_985c0698b71311eea3613cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:42:08+00:00", "updated_at": + "2024-01-19T21:42:08+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_9859cca6b71311eea5fbac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:42:08+00:00", "updated_at": "2024-01-19T21:42:08+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_a1d84f486e0e44e5b7ebfb3c15f2c83e", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_a1d84f486e0e44e5b7ebfb3c15f2c83e + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaecb0e78b9f6a000d0a3e + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.015731' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:44:05Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010708112", "updated_at": "2024-01-19T21:44:06Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_aff7864f521d4c969c775723377180b7", "object": "CustomsInfo", "created_at": + "2024-01-19T21:44:05Z", "updated_at": "2024-01-19T21:44:05Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_06b8d2d6b8c5439c8fd37b6b2810cafb", + "object": "CustomsItem", "created_at": "2024-01-19T21:44:05Z", "updated_at": + "2024-01-19T21:44:05Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_ddf99befb71311eebef3ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:44:05+00:00", "updated_at": + "2024-01-19T21:44:05+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_fbe46d2d9dfc4a8fb3e9d5674649795b", + "object": "Parcel", "created_at": "2024-01-19T21:44:05Z", "updated_at": "2024-01-19T21:44:05Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_3e88d677311049eca23f80db35f90c6a", "created_at": "2024-01-19T21:44:05Z", + "updated_at": "2024-01-19T21:44:06Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:44:05Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8845a2b290d0441169ef61aebca7c5d55.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_5e8ec0b475b941bb84c69f84aba84529", "object": + "Rate", "created_at": "2024-01-19T21:44:05Z", "updated_at": "2024-01-19T21:44:05Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_b165336d0f244ad4a55f223950e3ca79", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c1467bf06dc14094bfcec03326e974c0", + "object": "Rate", "created_at": "2024-01-19T21:44:05Z", "updated_at": "2024-01-19T21:44:05Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_b165336d0f244ad4a55f223950e3ca79", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_8655665576b74833a9ebbd7da208c010", + "object": "Rate", "created_at": "2024-01-19T21:44:05Z", "updated_at": "2024-01-19T21:44:05Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_b165336d0f244ad4a55f223950e3ca79", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_6b31278cfe1a4f94b4f4135330b3d922", "object": "Rate", "created_at": + "2024-01-19T21:44:05Z", "updated_at": "2024-01-19T21:44:05Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_b165336d0f244ad4a55f223950e3ca79", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_c6b7806fb690488c843c561de5996305", "object": "Rate", "created_at": + "2024-01-19T21:44:05Z", "updated_at": "2024-01-19T21:44:05Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_b165336d0f244ad4a55f223950e3ca79", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_5e8ec0b475b941bb84c69f84aba84529", + "object": "Rate", "created_at": "2024-01-19T21:44:05Z", "updated_at": "2024-01-19T21:44:05Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_b165336d0f244ad4a55f223950e3ca79", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_e3ac635c1ba644f28a6d074843ccc0cb", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708112", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:44:06Z", + "updated_at": "2024-01-19T21:44:06Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_b165336d0f244ad4a55f223950e3ca79", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrX2UzYWM2MzVjMWJhNjQ0ZjI4YTZkMDc0ODQzY2NjMGNi"}, + "to_address": {"id": "adr_ddf44ea4b71311eebc853cecef1b359e", "object": "Address", + "created_at": "2024-01-19T21:44:05+00:00", "updated_at": "2024-01-19T21:44:05+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_ddf99befb71311eebef3ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:44:05+00:00", "updated_at": + "2024-01-19T21:44:05+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_ddf44ea4b71311eebc853cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:44:05+00:00", "updated_at": "2024-01-19T21:44:05+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_b165336d0f244ad4a55f223950e3ca79", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_b165336d0f244ad4a55f223950e3ca79 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaed25e78ba7a7000d4f29 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.300772' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:47:57Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010708587", "updated_at": "2024-01-19T21:47:58Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_ca2a19b8928041cd809ab5b47c5521fb", "object": "CustomsInfo", "created_at": + "2024-01-19T21:47:57Z", "updated_at": "2024-01-19T21:47:57Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_e2fb530321e247e8a5ab9c067f8667e8", + "object": "CustomsItem", "created_at": "2024-01-19T21:47:57Z", "updated_at": + "2024-01-19T21:47:57Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_68912a7eb71411eeab6fac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:47:57+00:00", "updated_at": + "2024-01-19T21:47:57+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_0404b3d18d9e40db9e6a7a80637636fc", + "object": "Parcel", "created_at": "2024-01-19T21:47:57Z", "updated_at": "2024-01-19T21:47:57Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_a41c81fe8ae84303b085c0fade180c33", "created_at": "2024-01-19T21:47:58Z", + "updated_at": "2024-01-19T21:47:58Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:47:58Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8eca21cc49c1d4e32b2faa44b44c2e264.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_7b221a49338d4683a9c769d771e9b2a2", "object": + "Rate", "created_at": "2024-01-19T21:47:57Z", "updated_at": "2024-01-19T21:47:57Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_07e786ee4794481fa2d0aebad1ce5ac1", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c4ba04e9924e4b25a6d4f0817c6e1ea7", + "object": "Rate", "created_at": "2024-01-19T21:47:57Z", "updated_at": "2024-01-19T21:47:57Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_07e786ee4794481fa2d0aebad1ce5ac1", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_aa0283ca093e4d2fabfc5f5bf1b6250d", + "object": "Rate", "created_at": "2024-01-19T21:47:57Z", "updated_at": "2024-01-19T21:47:57Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_07e786ee4794481fa2d0aebad1ce5ac1", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_ce3023aa538143e5aad99fbf8faa887a", + "object": "Rate", "created_at": "2024-01-19T21:47:57Z", "updated_at": "2024-01-19T21:47:57Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_07e786ee4794481fa2d0aebad1ce5ac1", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_df8dbf1fd8714f99ad9138ad1b1c2ea8", "object": "Rate", "created_at": + "2024-01-19T21:47:57Z", "updated_at": "2024-01-19T21:47:57Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_07e786ee4794481fa2d0aebad1ce5ac1", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_c4ba04e9924e4b25a6d4f0817c6e1ea7", + "object": "Rate", "created_at": "2024-01-19T21:47:58Z", "updated_at": "2024-01-19T21:47:58Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_07e786ee4794481fa2d0aebad1ce5ac1", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_7d43932acb004e65b6315cca5131b596", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708587", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:47:58Z", + "updated_at": "2024-01-19T21:47:58Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_07e786ee4794481fa2d0aebad1ce5ac1", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzdkNDM5MzJhY2IwMDRlNjViNjMxNWNjYTUxMzFiNTk2"}, + "to_address": {"id": "adr_688e56e1b71411eea85d3cecef1b359e", "object": "Address", + "created_at": "2024-01-19T21:47:57+00:00", "updated_at": "2024-01-19T21:47:57+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_68912a7eb71411eeab6fac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:47:57+00:00", "updated_at": + "2024-01-19T21:47:57+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_688e56e1b71411eea85d3cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:47:57+00:00", "updated_at": "2024-01-19T21:47:57+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_07e786ee4794481fa2d0aebad1ce5ac1", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_07e786ee4794481fa2d0aebad1ce5ac1 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdab65aaee0de78bb02a001145c9 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '1.019487' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:49:53Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010709164", "updated_at": "2024-01-19T21:49:54Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_3d89b122deeb4bb2ae2daf31972ee0c6", "object": "CustomsInfo", "created_at": + "2024-01-19T21:49:53Z", "updated_at": "2024-01-19T21:49:53Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_1b2dd8572a02448a8f16e9330887e672", + "object": "CustomsItem", "created_at": "2024-01-19T21:49:53Z", "updated_at": + "2024-01-19T21:49:53Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_ad562e0db71411eebe173cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:49:53+00:00", "updated_at": + "2024-01-19T21:49:53+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_1cb5ccc1034b4320b6cb039f21dce504", + "object": "Parcel", "created_at": "2024-01-19T21:49:53Z", "updated_at": "2024-01-19T21:49:53Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_444bef03f2cc48d5b3b7d8a3c8c8c7d3", "created_at": "2024-01-19T21:49:53Z", + "updated_at": "2024-01-19T21:49:53Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:49:53Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8ff12b62d18484b1fb09fde381f723132.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_0a67cd32921c4dafba0a1f3b508aa892", "object": + "Rate", "created_at": "2024-01-19T21:49:53Z", "updated_at": "2024-01-19T21:49:53Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_a359beb6ac6b46189e5373c0373331cf", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_8cf7435c3a344c0bbf564ee40dcd7713", + "object": "Rate", "created_at": "2024-01-19T21:49:53Z", "updated_at": "2024-01-19T21:49:53Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_a359beb6ac6b46189e5373c0373331cf", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_70ff145793414970b8049a11fe0eb2a6", + "object": "Rate", "created_at": "2024-01-19T21:49:53Z", "updated_at": "2024-01-19T21:49:53Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_a359beb6ac6b46189e5373c0373331cf", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_e51be1a91847467c939dd0494a34ddca", + "object": "Rate", "created_at": "2024-01-19T21:49:53Z", "updated_at": "2024-01-19T21:49:53Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_a359beb6ac6b46189e5373c0373331cf", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_111d5e02b00f463693ae7741da0e8ff5", "object": "Rate", "created_at": + "2024-01-19T21:49:53Z", "updated_at": "2024-01-19T21:49:53Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_a359beb6ac6b46189e5373c0373331cf", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_8cf7435c3a344c0bbf564ee40dcd7713", + "object": "Rate", "created_at": "2024-01-19T21:49:53Z", "updated_at": "2024-01-19T21:49:53Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_a359beb6ac6b46189e5373c0373331cf", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_b65b081468d14f47a62623f59ff29a25", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010709164", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:49:54Z", + "updated_at": "2024-01-19T21:49:54Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_a359beb6ac6b46189e5373c0373331cf", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrX2I2NWIwODE0NjhkMTRmNDdhNjI2MjNmNTlmZjI5YTI1"}, + "to_address": {"id": "adr_ad53e4beb71411eebe163cecef1b359e", "object": "Address", + "created_at": "2024-01-19T21:49:53+00:00", "updated_at": "2024-01-19T21:49:53+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_ad562e0db71411eebe173cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:49:53+00:00", "updated_at": + "2024-01-19T21:49:53+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_ad53e4beb71411eebe163cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:49:53+00:00", "updated_at": "2024-01-19T21:49:53+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_a359beb6ac6b46189e5373c0373331cf", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_a359beb6ac6b46189e5373c0373331cf + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda765aaee80e78bb84d001187f4 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '1.248918' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:59:11Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010711570", "updated_at": "2024-01-19T21:59:12Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_228d7ba6f5ab4d858cf72968d66e0dc5", "object": "CustomsInfo", "created_at": + "2024-01-19T21:59:11Z", "updated_at": "2024-01-19T21:59:11Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_16d00a0cc8f344578a39033197643ae5", + "object": "CustomsItem", "created_at": "2024-01-19T21:59:11Z", "updated_at": + "2024-01-19T21:59:11Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_fa5bff86b71511eeb098ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:59:11+00:00", "updated_at": + "2024-01-19T21:59:11+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_313f82dd41764c23a18fa763d73aca6c", + "object": "Parcel", "created_at": "2024-01-19T21:59:11Z", "updated_at": "2024-01-19T21:59:11Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_e144febe7c98477aa662bc67f3dd66d3", "created_at": "2024-01-19T21:59:12Z", + "updated_at": "2024-01-19T21:59:12Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:59:12Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8506654133562402c99f69fbbc3e6d604.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_d9fe00f524344190aa0d317b2b197eab", "object": + "Rate", "created_at": "2024-01-19T21:59:11Z", "updated_at": "2024-01-19T21:59:11Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_a8711ec8189b4809b74df87fcab2c720", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_720f45efccac45968afa076fb60f8a3d", + "object": "Rate", "created_at": "2024-01-19T21:59:11Z", "updated_at": "2024-01-19T21:59:11Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_a8711ec8189b4809b74df87fcab2c720", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_9b6369637170478a8be35888465721f6", "object": "Rate", "created_at": + "2024-01-19T21:59:11Z", "updated_at": "2024-01-19T21:59:11Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_a8711ec8189b4809b74df87fcab2c720", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_4cf97d409011472e9755ba1976a936d8", "object": "Rate", "created_at": + "2024-01-19T21:59:11Z", "updated_at": "2024-01-19T21:59:11Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_a8711ec8189b4809b74df87fcab2c720", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_41a639dc002e4b5487139d6a9c70c69b", "object": "Rate", "created_at": + "2024-01-19T21:59:11Z", "updated_at": "2024-01-19T21:59:11Z", "mode": "test", + "service": "Priority", "carrier": "USPS", "rate": "7.99", "currency": "USD", + "retail_rate": "14.05", "retail_currency": "USD", "list_rate": "10.27", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": + "shp_a8711ec8189b4809b74df87fcab2c720", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_41a639dc002e4b5487139d6a9c70c69b", + "object": "Rate", "created_at": "2024-01-19T21:59:12Z", "updated_at": "2024-01-19T21:59:12Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_a8711ec8189b4809b74df87fcab2c720", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_83b63aad52a04838b77f095df61d75e2", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711570", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:59:12Z", + "updated_at": "2024-01-19T21:59:12Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_a8711ec8189b4809b74df87fcab2c720", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzgzYjYzYWFkNTJhMDQ4MzhiNzdmMDk1ZGY2MWQ3NWUy"}, + "to_address": {"id": "adr_fa593bcdb71511eebee9ac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T21:59:11+00:00", "updated_at": "2024-01-19T21:59:12+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_fa5bff86b71511eeb098ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:59:11+00:00", "updated_at": + "2024-01-19T21:59:11+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_fa593bcdb71511eebee9ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:59:11+00:00", "updated_at": "2024-01-19T21:59:12+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_a8711ec8189b4809b74df87fcab2c720", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_a8711ec8189b4809b74df87fcab2c720 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf0afe798bffa000f8b0d + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.161883' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T22:02:07Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010711983", "updated_at": "2024-01-19T22:02:08Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_a46fab7ec3b84c6eaa1ebbd4f75e340a", "object": "CustomsInfo", "created_at": + "2024-01-19T22:02:07Z", "updated_at": "2024-01-19T22:02:07Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_3c9966bde84448f2abb2786c4a929f40", + "object": "CustomsItem", "created_at": "2024-01-19T22:02:07Z", "updated_at": + "2024-01-19T22:02:07Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_631c7dceb71611ee91f9ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T22:02:07+00:00", "updated_at": + "2024-01-19T22:02:07+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_28f8983d18fd47159d7452530d1fba08", + "object": "Parcel", "created_at": "2024-01-19T22:02:07Z", "updated_at": "2024-01-19T22:02:07Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_72cdd315d0154a38ab2e13adcbfebee5", "created_at": "2024-01-19T22:02:08Z", + "updated_at": "2024-01-19T22:02:08Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T22:02:08Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8da415309e7c04750933fc3db01d3fed9.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_d1debf0240c24a36b42dbbe093d0eb29", "object": + "Rate", "created_at": "2024-01-19T22:02:07Z", "updated_at": "2024-01-19T22:02:07Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_0bb7007bf4124788a216e956c7d097b0", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_0e3870e3487a4833a5689a5ac540f351", + "object": "Rate", "created_at": "2024-01-19T22:02:07Z", "updated_at": "2024-01-19T22:02:07Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_0bb7007bf4124788a216e956c7d097b0", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_f331ddb990644e7eac854a5605862007", "object": "Rate", "created_at": + "2024-01-19T22:02:07Z", "updated_at": "2024-01-19T22:02:07Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_0bb7007bf4124788a216e956c7d097b0", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_9feb05bc81fe4065b9cb64dd29e0d75c", "object": "Rate", "created_at": + "2024-01-19T22:02:07Z", "updated_at": "2024-01-19T22:02:07Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_0bb7007bf4124788a216e956c7d097b0", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_0a8400a4b07744e0b9ec4a6ab8f2343f", "object": "Rate", "created_at": + "2024-01-19T22:02:07Z", "updated_at": "2024-01-19T22:02:07Z", "mode": "test", + "service": "Priority", "carrier": "USPS", "rate": "7.99", "currency": "USD", + "retail_rate": "14.05", "retail_currency": "USD", "list_rate": "10.27", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": + "shp_0bb7007bf4124788a216e956c7d097b0", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_0a8400a4b07744e0b9ec4a6ab8f2343f", + "object": "Rate", "created_at": "2024-01-19T22:02:08Z", "updated_at": "2024-01-19T22:02:08Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_0bb7007bf4124788a216e956c7d097b0", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_992998acb44449bea4154cf9a303e148", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711983", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:02:08Z", + "updated_at": "2024-01-19T22:02:08Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_0bb7007bf4124788a216e956c7d097b0", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzk5Mjk5OGFjYjQ0NDQ5YmVhNDE1NGNmOWEzMDNlMTQ4"}, + "to_address": {"id": "adr_6319dd55b71611ee91f7ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T22:02:07+00:00", "updated_at": "2024-01-19T22:02:07+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_631c7dceb71611ee91f9ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T22:02:07+00:00", "updated_at": + "2024-01-19T22:02:07+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_6319dd55b71611ee91f7ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T22:02:07+00:00", "updated_at": "2024-01-19T22:02:07+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_0bb7007bf4124788a216e956c7d097b0", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_0bb7007bf4124788a216e956c7d097b0 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf15fe798c86100102877 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.086506' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T22:05:56Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010712881", "updated_at": "2024-01-19T22:05:56Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_b116311eb7124a0caeee61c8ec732ee1", "object": "CustomsInfo", "created_at": + "2024-01-19T22:05:56Z", "updated_at": "2024-01-19T22:05:56Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_35b3c0271f554f6d9a9d79ff771e0bb7", + "object": "CustomsItem", "created_at": "2024-01-19T22:05:56Z", "updated_at": + "2024-01-19T22:05:56Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_eb5f3185b71611ee8e05ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T22:05:56+00:00", "updated_at": + "2024-01-19T22:05:56+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_06b62bee09004e2d9705c7e51680ddae", + "object": "Parcel", "created_at": "2024-01-19T22:05:56Z", "updated_at": "2024-01-19T22:05:56Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_08e52680f50e4d42a986352762b4d017", "created_at": "2024-01-19T22:05:56Z", + "updated_at": "2024-01-19T22:05:56Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T22:05:56Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e818ea17ed97e64554b9469e0d4481f628.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_2f38d37acd674f02a57791ad433a10cb", "object": + "Rate", "created_at": "2024-01-19T22:05:56Z", "updated_at": "2024-01-19T22:05:56Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_5242c5001abf48edade8dd57ff05ab03", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_a3ebce8e8389433ca3049a9fbba58d4a", + "object": "Rate", "created_at": "2024-01-19T22:05:56Z", "updated_at": "2024-01-19T22:05:56Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_5242c5001abf48edade8dd57ff05ab03", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_1d8767ed8700437ca0bcc794e679f1e4", + "object": "Rate", "created_at": "2024-01-19T22:05:56Z", "updated_at": "2024-01-19T22:05:56Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_5242c5001abf48edade8dd57ff05ab03", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_600e14e077284d4fb2cc12f14e494aa8", + "object": "Rate", "created_at": "2024-01-19T22:05:56Z", "updated_at": "2024-01-19T22:05:56Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_5242c5001abf48edade8dd57ff05ab03", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_a4b0009684854f1da41bf6a8b0491913", "object": "Rate", "created_at": + "2024-01-19T22:05:56Z", "updated_at": "2024-01-19T22:05:56Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_5242c5001abf48edade8dd57ff05ab03", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_a3ebce8e8389433ca3049a9fbba58d4a", + "object": "Rate", "created_at": "2024-01-19T22:05:56Z", "updated_at": "2024-01-19T22:05:56Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_5242c5001abf48edade8dd57ff05ab03", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_d3c08c000a8e4017858df5cbc89db02f", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010712881", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:05:57Z", + "updated_at": "2024-01-19T22:05:57Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_5242c5001abf48edade8dd57ff05ab03", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrX2QzYzA4YzAwMGE4ZTQwMTc4NThkZjVjYmM4OWRiMDJm"}, + "to_address": {"id": "adr_eb5d3264b71611ee8054ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T22:05:56+00:00", "updated_at": "2024-01-19T22:05:56+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_eb5f3185b71611ee8e05ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T22:05:56+00:00", "updated_at": + "2024-01-19T22:05:56+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_eb5d3264b71611ee8054ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T22:05:56+00:00", "updated_at": "2024-01-19T22:05:56+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_5242c5001abf48edade8dd57ff05ab03", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_5242c5001abf48edade8dd57ff05ab03 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf244e798d1230010cf1d + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.021261' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_shipments_refund.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_shipments_refund.yaml new file mode 100644 index 00000000..d78dd404 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_shipments_refund.yaml @@ -0,0 +1,2256 @@ +interactions: +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:42:13Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010707825", "updated_at": "2024-01-19T21:42:14Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_5d98b37df74247e68b0da46c6978cd46", "object": "CustomsInfo", "created_at": + "2024-01-19T21:42:13Z", "updated_at": "2024-01-19T21:42:13Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_9f88b1b8df424268871661191f7a6e6c", + "object": "CustomsItem", "created_at": "2024-01-19T21:42:13Z", "updated_at": + "2024-01-19T21:42:13Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_9b98e867b71311eea706ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:42:13+00:00", "updated_at": + "2024-01-19T21:42:13+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_ecf586f23f1a4bf79ed23a8defffb4d1", + "object": "Parcel", "created_at": "2024-01-19T21:42:13Z", "updated_at": "2024-01-19T21:42:13Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_e631cfefa4af4f76998760009fe3abbb", "created_at": "2024-01-19T21:42:14Z", + "updated_at": "2024-01-19T21:42:14Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:42:14Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e88f2fe403012d473a844532ff9d676d24.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_f03d76ec9fa84071b243b0f4857ec723", "object": + "Rate", "created_at": "2024-01-19T21:42:13Z", "updated_at": "2024-01-19T21:42:13Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_0eef660a0f264235bb55bf775e346f70", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_04ac206bc5af43a9b37149093f242146", + "object": "Rate", "created_at": "2024-01-19T21:42:13Z", "updated_at": "2024-01-19T21:42:13Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_0eef660a0f264235bb55bf775e346f70", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_9eac2eff996f481b8fe60d47c13a8e93", + "object": "Rate", "created_at": "2024-01-19T21:42:13Z", "updated_at": "2024-01-19T21:42:13Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_0eef660a0f264235bb55bf775e346f70", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_44d1e8c9604447adb354ef2d447c6361", + "object": "Rate", "created_at": "2024-01-19T21:42:13Z", "updated_at": "2024-01-19T21:42:13Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_0eef660a0f264235bb55bf775e346f70", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_0a9e24fb554e4da7917dd62917379fd9", "object": "Rate", "created_at": + "2024-01-19T21:42:13Z", "updated_at": "2024-01-19T21:42:13Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_0eef660a0f264235bb55bf775e346f70", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_04ac206bc5af43a9b37149093f242146", + "object": "Rate", "created_at": "2024-01-19T21:42:14Z", "updated_at": "2024-01-19T21:42:14Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_0eef660a0f264235bb55bf775e346f70", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_027e950f01834ef8a73523e505051fb0", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010707825", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:42:14Z", + "updated_at": "2024-01-19T21:42:14Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_0eef660a0f264235bb55bf775e346f70", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzAyN2U5NTBmMDE4MzRlZjhhNzM1MjNlNTA1MDUxZmIw"}, + "to_address": {"id": "adr_9b95fc6db71311eea4483cecef1b359e", "object": "Address", + "created_at": "2024-01-19T21:42:13+00:00", "updated_at": "2024-01-19T21:42:14+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_9b98e867b71311eea706ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:42:13+00:00", "updated_at": + "2024-01-19T21:42:13+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_9b95fc6db71311eea4483cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:42:13+00:00", "updated_at": "2024-01-19T21:42:14+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_0eef660a0f264235bb55bf775e346f70", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_0eef660a0f264235bb55bf775e346f70 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaecb5e78b9f85000d0d36 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.050294' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments/shp_0eef660a0f264235bb55bf775e346f70/refund + response: + body: + string: '{"created_at": "2024-01-19T21:42:13Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010707825", "updated_at": "2024-01-19T21:42:15Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_5d98b37df74247e68b0da46c6978cd46", "object": "CustomsInfo", "created_at": + "2024-01-19T21:42:13Z", "updated_at": "2024-01-19T21:42:13Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_9f88b1b8df424268871661191f7a6e6c", + "object": "CustomsItem", "created_at": "2024-01-19T21:42:13Z", "updated_at": + "2024-01-19T21:42:13Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_9b98e867b71311eea706ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:42:13+00:00", "updated_at": + "2024-01-19T21:42:13+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_ecf586f23f1a4bf79ed23a8defffb4d1", + "object": "Parcel", "created_at": "2024-01-19T21:42:13Z", "updated_at": "2024-01-19T21:42:13Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_e631cfefa4af4f76998760009fe3abbb", "created_at": "2024-01-19T21:42:14Z", + "updated_at": "2024-01-19T21:42:14Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:42:14Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e88f2fe403012d473a844532ff9d676d24.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_f03d76ec9fa84071b243b0f4857ec723", "object": + "Rate", "created_at": "2024-01-19T21:42:13Z", "updated_at": "2024-01-19T21:42:13Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_0eef660a0f264235bb55bf775e346f70", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_04ac206bc5af43a9b37149093f242146", + "object": "Rate", "created_at": "2024-01-19T21:42:13Z", "updated_at": "2024-01-19T21:42:13Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_0eef660a0f264235bb55bf775e346f70", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_9eac2eff996f481b8fe60d47c13a8e93", + "object": "Rate", "created_at": "2024-01-19T21:42:13Z", "updated_at": "2024-01-19T21:42:13Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_0eef660a0f264235bb55bf775e346f70", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_44d1e8c9604447adb354ef2d447c6361", + "object": "Rate", "created_at": "2024-01-19T21:42:13Z", "updated_at": "2024-01-19T21:42:13Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_0eef660a0f264235bb55bf775e346f70", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_0a9e24fb554e4da7917dd62917379fd9", "object": "Rate", "created_at": + "2024-01-19T21:42:13Z", "updated_at": "2024-01-19T21:42:13Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_0eef660a0f264235bb55bf775e346f70", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": "submitted", "scan_form": null, "selected_rate": {"id": "rate_04ac206bc5af43a9b37149093f242146", + "object": "Rate", "created_at": "2024-01-19T21:42:14Z", "updated_at": "2024-01-19T21:42:14Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_0eef660a0f264235bb55bf775e346f70", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_027e950f01834ef8a73523e505051fb0", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010707825", + "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:42:14Z", + "updated_at": "2024-01-19T21:42:14Z", "signed_by": null, "weight": null, "est_delivery_date": + "2024-01-19T21:42:14Z", "shipment_id": "shp_0eef660a0f264235bb55bf775e346f70", + "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": + "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-19T21:42:14Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", + "message": "Shipping Label Created", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-20T10:19:14Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": + null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": + null}, "public_url": "https://track.easypost.com/djE6dHJrXzAyN2U5NTBmMDE4MzRlZjhhNzM1MjNlNTA1MDUxZmIw"}, + "to_address": {"id": "adr_9b95fc6db71311eea4483cecef1b359e", "object": "Address", + "created_at": "2024-01-19T21:42:13+00:00", "updated_at": "2024-01-19T21:42:14+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_9b98e867b71311eea706ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:42:13+00:00", "updated_at": + "2024-01-19T21:42:13+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_9b95fc6db71311eea4483cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:42:13+00:00", "updated_at": "2024-01-19T21:42:14+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_0eef660a0f264235bb55bf775e346f70", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '9487' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaecb7e78b9f86000d0ddb + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.257168' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:44:10Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010708136", "updated_at": "2024-01-19T21:44:11Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_becaefc24b134ab396ff6fae0983d374", "object": "CustomsInfo", "created_at": + "2024-01-19T21:44:10Z", "updated_at": "2024-01-19T21:44:10Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_74b1d752d4384293acbf3e46ac170278", + "object": "CustomsItem", "created_at": "2024-01-19T21:44:10Z", "updated_at": + "2024-01-19T21:44:10Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_e1562a7eb71311eebfe4ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:44:10+00:00", "updated_at": + "2024-01-19T21:44:10+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_6353800e47534e4bac70d1273a954f9f", + "object": "Parcel", "created_at": "2024-01-19T21:44:10Z", "updated_at": "2024-01-19T21:44:10Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_fc34e1dce27847578dbc6f763ecbb418", "created_at": "2024-01-19T21:44:11Z", + "updated_at": "2024-01-19T21:44:11Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:44:11Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e80ac65ea8aaf046bca9cdc96ba8629998.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_47f1673e42dd4190ad20b7cbea4958f7", "object": + "Rate", "created_at": "2024-01-19T21:44:10Z", "updated_at": "2024-01-19T21:44:10Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_819ba88d502c44989bf170bbe55e50ce", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_95812fd2b3a04a85a8efad186970251e", + "object": "Rate", "created_at": "2024-01-19T21:44:10Z", "updated_at": "2024-01-19T21:44:10Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_819ba88d502c44989bf170bbe55e50ce", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_265cbc7de269409fbe7442e6a9bbe339", + "object": "Rate", "created_at": "2024-01-19T21:44:10Z", "updated_at": "2024-01-19T21:44:10Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_819ba88d502c44989bf170bbe55e50ce", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_27657cb848364cada19df97ea3b67ad0", + "object": "Rate", "created_at": "2024-01-19T21:44:10Z", "updated_at": "2024-01-19T21:44:10Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_819ba88d502c44989bf170bbe55e50ce", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_308f859a341d4ef2848915212d87c12c", "object": "Rate", "created_at": + "2024-01-19T21:44:10Z", "updated_at": "2024-01-19T21:44:10Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_819ba88d502c44989bf170bbe55e50ce", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_95812fd2b3a04a85a8efad186970251e", + "object": "Rate", "created_at": "2024-01-19T21:44:11Z", "updated_at": "2024-01-19T21:44:11Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_819ba88d502c44989bf170bbe55e50ce", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_da06fe48ef2740d987ea5320357bb1b9", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708136", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:44:11Z", + "updated_at": "2024-01-19T21:44:11Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_819ba88d502c44989bf170bbe55e50ce", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrX2RhMDZmZTQ4ZWYyNzQwZDk4N2VhNTMyMDM1N2JiMWI5"}, + "to_address": {"id": "adr_e1539227b71311ee8ed0ac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T21:44:10+00:00", "updated_at": "2024-01-19T21:44:11+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_e1562a7eb71311eebfe4ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:44:10+00:00", "updated_at": + "2024-01-19T21:44:10+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_e1539227b71311ee8ed0ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:44:10+00:00", "updated_at": "2024-01-19T21:44:11+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_819ba88d502c44989bf170bbe55e50ce", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_819ba88d502c44989bf170bbe55e50ce + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaed2ae78ba7ab000d523c + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.047494' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments/shp_819ba88d502c44989bf170bbe55e50ce/refund + response: + body: + string: '{"created_at": "2024-01-19T21:44:10Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010708136", "updated_at": "2024-01-19T21:44:12Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_becaefc24b134ab396ff6fae0983d374", "object": "CustomsInfo", "created_at": + "2024-01-19T21:44:10Z", "updated_at": "2024-01-19T21:44:10Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_74b1d752d4384293acbf3e46ac170278", + "object": "CustomsItem", "created_at": "2024-01-19T21:44:10Z", "updated_at": + "2024-01-19T21:44:10Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_e1562a7eb71311eebfe4ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:44:10+00:00", "updated_at": + "2024-01-19T21:44:10+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_6353800e47534e4bac70d1273a954f9f", + "object": "Parcel", "created_at": "2024-01-19T21:44:10Z", "updated_at": "2024-01-19T21:44:10Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_fc34e1dce27847578dbc6f763ecbb418", "created_at": "2024-01-19T21:44:11Z", + "updated_at": "2024-01-19T21:44:11Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:44:11Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e80ac65ea8aaf046bca9cdc96ba8629998.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_47f1673e42dd4190ad20b7cbea4958f7", "object": + "Rate", "created_at": "2024-01-19T21:44:10Z", "updated_at": "2024-01-19T21:44:10Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_819ba88d502c44989bf170bbe55e50ce", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_95812fd2b3a04a85a8efad186970251e", + "object": "Rate", "created_at": "2024-01-19T21:44:10Z", "updated_at": "2024-01-19T21:44:10Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_819ba88d502c44989bf170bbe55e50ce", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_265cbc7de269409fbe7442e6a9bbe339", + "object": "Rate", "created_at": "2024-01-19T21:44:10Z", "updated_at": "2024-01-19T21:44:10Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_819ba88d502c44989bf170bbe55e50ce", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_27657cb848364cada19df97ea3b67ad0", + "object": "Rate", "created_at": "2024-01-19T21:44:10Z", "updated_at": "2024-01-19T21:44:10Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_819ba88d502c44989bf170bbe55e50ce", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_308f859a341d4ef2848915212d87c12c", "object": "Rate", "created_at": + "2024-01-19T21:44:10Z", "updated_at": "2024-01-19T21:44:10Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_819ba88d502c44989bf170bbe55e50ce", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": "submitted", "scan_form": null, "selected_rate": {"id": "rate_95812fd2b3a04a85a8efad186970251e", + "object": "Rate", "created_at": "2024-01-19T21:44:11Z", "updated_at": "2024-01-19T21:44:11Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_819ba88d502c44989bf170bbe55e50ce", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_da06fe48ef2740d987ea5320357bb1b9", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708136", + "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:44:11Z", + "updated_at": "2024-01-19T21:44:11Z", "signed_by": null, "weight": null, "est_delivery_date": + "2024-01-19T21:44:11Z", "shipment_id": "shp_819ba88d502c44989bf170bbe55e50ce", + "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": + "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-19T21:44:11Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", + "message": "Shipping Label Created", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-20T10:21:11Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": + null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": + null}, "public_url": "https://track.easypost.com/djE6dHJrX2RhMDZmZTQ4ZWYyNzQwZDk4N2VhNTMyMDM1N2JiMWI5"}, + "to_address": {"id": "adr_e1539227b71311ee8ed0ac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T21:44:10+00:00", "updated_at": "2024-01-19T21:44:11+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_e1562a7eb71311eebfe4ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:44:10+00:00", "updated_at": + "2024-01-19T21:44:10+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_e1539227b71311ee8ed0ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:44:10+00:00", "updated_at": "2024-01-19T21:44:11+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_819ba88d502c44989bf170bbe55e50ce", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '9487' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaed2ce78ba7ac000d52f3 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.185817' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:48:03Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010708617", "updated_at": "2024-01-19T21:48:04Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_e4055235836344ddbb69ba7bdde7c345", "object": "CustomsInfo", "created_at": + "2024-01-19T21:48:03Z", "updated_at": "2024-01-19T21:48:03Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_e4adcd1bed4b4645b83bb6d7878ea6c0", + "object": "CustomsItem", "created_at": "2024-01-19T21:48:03Z", "updated_at": + "2024-01-19T21:48:03Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_6bc42448b71411eea96f3cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:48:03+00:00", "updated_at": + "2024-01-19T21:48:03+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_d4d112489d7a4be9ad65dccd206e104c", + "object": "Parcel", "created_at": "2024-01-19T21:48:03Z", "updated_at": "2024-01-19T21:48:03Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_3fc33407cca64f119695252b1fc4189c", "created_at": "2024-01-19T21:48:03Z", + "updated_at": "2024-01-19T21:48:03Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:48:03Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8be89ecd2166f4487a15184b0414b8fe4.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_493a0f92dabd418094fa71f8c38b6f2e", "object": + "Rate", "created_at": "2024-01-19T21:48:03Z", "updated_at": "2024-01-19T21:48:03Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_12aae80b577c453d80cb5b10919b5a86", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_56f91437ff024cac9ca03d1d8057037e", + "object": "Rate", "created_at": "2024-01-19T21:48:03Z", "updated_at": "2024-01-19T21:48:03Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_12aae80b577c453d80cb5b10919b5a86", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_cc3b5977741d433980f525967a53c3dc", + "object": "Rate", "created_at": "2024-01-19T21:48:03Z", "updated_at": "2024-01-19T21:48:03Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_12aae80b577c453d80cb5b10919b5a86", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_a76032ca393341fca5cab4531af49a9d", + "object": "Rate", "created_at": "2024-01-19T21:48:03Z", "updated_at": "2024-01-19T21:48:03Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_12aae80b577c453d80cb5b10919b5a86", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_52f217e4f1e84f6ba403fc9396aee9e4", "object": "Rate", "created_at": + "2024-01-19T21:48:03Z", "updated_at": "2024-01-19T21:48:03Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_12aae80b577c453d80cb5b10919b5a86", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_56f91437ff024cac9ca03d1d8057037e", + "object": "Rate", "created_at": "2024-01-19T21:48:03Z", "updated_at": "2024-01-19T21:48:03Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_12aae80b577c453d80cb5b10919b5a86", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_3b2caaee5d3d432c982bfe28ea93c96b", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708617", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:48:04Z", + "updated_at": "2024-01-19T21:48:04Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_12aae80b577c453d80cb5b10919b5a86", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzNiMmNhYWVlNWQzZDQzMmM5ODJiZmUyOGVhOTNjOTZi"}, + "to_address": {"id": "adr_6bc1d376b71411eeac8cac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:48:03+00:00", "updated_at": "2024-01-19T21:48:03+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_6bc42448b71411eea96f3cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:48:03+00:00", "updated_at": + "2024-01-19T21:48:03+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_6bc1d376b71411eeac8cac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:48:03+00:00", "updated_at": "2024-01-19T21:48:03+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_12aae80b577c453d80cb5b10919b5a86", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_12aae80b577c453d80cb5b10919b5a86 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdad65aaee12e78bb02e00114936 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '1.237852' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments/shp_12aae80b577c453d80cb5b10919b5a86/refund + response: + body: + string: '{"created_at": "2024-01-19T21:48:03Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010708617", "updated_at": "2024-01-19T21:48:04Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_e4055235836344ddbb69ba7bdde7c345", "object": "CustomsInfo", "created_at": + "2024-01-19T21:48:03Z", "updated_at": "2024-01-19T21:48:03Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_e4adcd1bed4b4645b83bb6d7878ea6c0", + "object": "CustomsItem", "created_at": "2024-01-19T21:48:03Z", "updated_at": + "2024-01-19T21:48:03Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_6bc42448b71411eea96f3cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:48:03+00:00", "updated_at": + "2024-01-19T21:48:03+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_d4d112489d7a4be9ad65dccd206e104c", + "object": "Parcel", "created_at": "2024-01-19T21:48:03Z", "updated_at": "2024-01-19T21:48:03Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_3fc33407cca64f119695252b1fc4189c", "created_at": "2024-01-19T21:48:03Z", + "updated_at": "2024-01-19T21:48:03Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:48:03Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8be89ecd2166f4487a15184b0414b8fe4.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_493a0f92dabd418094fa71f8c38b6f2e", "object": + "Rate", "created_at": "2024-01-19T21:48:03Z", "updated_at": "2024-01-19T21:48:03Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_12aae80b577c453d80cb5b10919b5a86", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_56f91437ff024cac9ca03d1d8057037e", + "object": "Rate", "created_at": "2024-01-19T21:48:03Z", "updated_at": "2024-01-19T21:48:03Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_12aae80b577c453d80cb5b10919b5a86", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_cc3b5977741d433980f525967a53c3dc", + "object": "Rate", "created_at": "2024-01-19T21:48:03Z", "updated_at": "2024-01-19T21:48:03Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_12aae80b577c453d80cb5b10919b5a86", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_a76032ca393341fca5cab4531af49a9d", + "object": "Rate", "created_at": "2024-01-19T21:48:03Z", "updated_at": "2024-01-19T21:48:03Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_12aae80b577c453d80cb5b10919b5a86", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_52f217e4f1e84f6ba403fc9396aee9e4", "object": "Rate", "created_at": + "2024-01-19T21:48:03Z", "updated_at": "2024-01-19T21:48:03Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_12aae80b577c453d80cb5b10919b5a86", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": "submitted", "scan_form": null, "selected_rate": {"id": "rate_56f91437ff024cac9ca03d1d8057037e", + "object": "Rate", "created_at": "2024-01-19T21:48:03Z", "updated_at": "2024-01-19T21:48:03Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_12aae80b577c453d80cb5b10919b5a86", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_3b2caaee5d3d432c982bfe28ea93c96b", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708617", + "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:48:04Z", + "updated_at": "2024-01-19T21:48:04Z", "signed_by": null, "weight": null, "est_delivery_date": + "2024-01-19T21:48:04Z", "shipment_id": "shp_12aae80b577c453d80cb5b10919b5a86", + "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": + "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-19T21:48:04Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", + "message": "Shipping Label Created", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-20T10:25:04Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": + null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": + null}, "public_url": "https://track.easypost.com/djE6dHJrXzNiMmNhYWVlNWQzZDQzMmM5ODJiZmUyOGVhOTNjOTZi"}, + "to_address": {"id": "adr_6bc1d376b71411eeac8cac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:48:03+00:00", "updated_at": "2024-01-19T21:48:03+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_6bc42448b71411eea96f3cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:48:03+00:00", "updated_at": + "2024-01-19T21:48:03+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_6bc1d376b71411eeac8cac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:48:03+00:00", "updated_at": "2024-01-19T21:48:03+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_12aae80b577c453d80cb5b10919b5a86", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '9487' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdab65aaee14e78bb04600114a20 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.207116' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:49:58Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010709218", "updated_at": "2024-01-19T21:49:59Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_2a3b9eec005c4a958f1d2c3691983e0d", "object": "CustomsInfo", "created_at": + "2024-01-19T21:49:58Z", "updated_at": "2024-01-19T21:49:58Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_76e41c26300b47e9a29917e5f02d5e68", + "object": "CustomsItem", "created_at": "2024-01-19T21:49:58Z", "updated_at": + "2024-01-19T21:49:58Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_b0b92519b71411ee907dac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:49:58+00:00", "updated_at": + "2024-01-19T21:49:58+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_dbe8839cbe954265bb52bc2f6b4f60d2", + "object": "Parcel", "created_at": "2024-01-19T21:49:58Z", "updated_at": "2024-01-19T21:49:58Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_e52a327629f14745b88bd58b928df293", "created_at": "2024-01-19T21:49:59Z", + "updated_at": "2024-01-19T21:49:59Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:49:59Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8aa72932c72fb4320a9138e068a9d29ed.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_c0eac0e912104ddcaebbcbcf40bf3304", "object": + "Rate", "created_at": "2024-01-19T21:49:58Z", "updated_at": "2024-01-19T21:49:58Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_348bdb111c984710a74f9ccd12885134", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_5538a07f95d84dbcbb27bcd1d29a15c6", + "object": "Rate", "created_at": "2024-01-19T21:49:58Z", "updated_at": "2024-01-19T21:49:58Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_348bdb111c984710a74f9ccd12885134", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_cea8c1c8e8234e5bbea0cfc485746a42", + "object": "Rate", "created_at": "2024-01-19T21:49:58Z", "updated_at": "2024-01-19T21:49:58Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_348bdb111c984710a74f9ccd12885134", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_549bf2f7b9fe40839e10d87f240f82a5", + "object": "Rate", "created_at": "2024-01-19T21:49:58Z", "updated_at": "2024-01-19T21:49:58Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_348bdb111c984710a74f9ccd12885134", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_f4ae7ce1d0834afcb1924522d334e4d8", "object": "Rate", "created_at": + "2024-01-19T21:49:58Z", "updated_at": "2024-01-19T21:49:58Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_348bdb111c984710a74f9ccd12885134", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_5538a07f95d84dbcbb27bcd1d29a15c6", + "object": "Rate", "created_at": "2024-01-19T21:49:59Z", "updated_at": "2024-01-19T21:49:59Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_348bdb111c984710a74f9ccd12885134", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_5d221d466e41456ba74da43a42102b83", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010709218", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:49:59Z", + "updated_at": "2024-01-19T21:49:59Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_348bdb111c984710a74f9ccd12885134", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzVkMjIxZDQ2NmU0MTQ1NmJhNzRkYTQzYTQyMTAyYjgz"}, + "to_address": {"id": "adr_b0b6d151b71411ee8245ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:49:58+00:00", "updated_at": "2024-01-19T21:49:58+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_b0b92519b71411ee907dac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:49:58+00:00", "updated_at": + "2024-01-19T21:49:58+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_b0b6d151b71411ee8245ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:49:58+00:00", "updated_at": "2024-01-19T21:49:58+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_348bdb111c984710a74f9ccd12885134", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_348bdb111c984710a74f9ccd12885134 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda965aaee86e78bb86800118b41 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '1.004124' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments/shp_348bdb111c984710a74f9ccd12885134/refund + response: + body: + string: '{"created_at": "2024-01-19T21:49:58Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010709218", "updated_at": "2024-01-19T21:49:59Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_2a3b9eec005c4a958f1d2c3691983e0d", "object": "CustomsInfo", "created_at": + "2024-01-19T21:49:58Z", "updated_at": "2024-01-19T21:49:58Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_76e41c26300b47e9a29917e5f02d5e68", + "object": "CustomsItem", "created_at": "2024-01-19T21:49:58Z", "updated_at": + "2024-01-19T21:49:58Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_b0b92519b71411ee907dac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:49:58+00:00", "updated_at": + "2024-01-19T21:49:58+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_dbe8839cbe954265bb52bc2f6b4f60d2", + "object": "Parcel", "created_at": "2024-01-19T21:49:58Z", "updated_at": "2024-01-19T21:49:58Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_e52a327629f14745b88bd58b928df293", "created_at": "2024-01-19T21:49:59Z", + "updated_at": "2024-01-19T21:49:59Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:49:59Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8aa72932c72fb4320a9138e068a9d29ed.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_c0eac0e912104ddcaebbcbcf40bf3304", "object": + "Rate", "created_at": "2024-01-19T21:49:58Z", "updated_at": "2024-01-19T21:49:58Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_348bdb111c984710a74f9ccd12885134", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_5538a07f95d84dbcbb27bcd1d29a15c6", + "object": "Rate", "created_at": "2024-01-19T21:49:58Z", "updated_at": "2024-01-19T21:49:58Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_348bdb111c984710a74f9ccd12885134", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_cea8c1c8e8234e5bbea0cfc485746a42", + "object": "Rate", "created_at": "2024-01-19T21:49:58Z", "updated_at": "2024-01-19T21:49:58Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_348bdb111c984710a74f9ccd12885134", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_549bf2f7b9fe40839e10d87f240f82a5", + "object": "Rate", "created_at": "2024-01-19T21:49:58Z", "updated_at": "2024-01-19T21:49:58Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_348bdb111c984710a74f9ccd12885134", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_f4ae7ce1d0834afcb1924522d334e4d8", "object": "Rate", "created_at": + "2024-01-19T21:49:58Z", "updated_at": "2024-01-19T21:49:58Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_348bdb111c984710a74f9ccd12885134", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": "submitted", "scan_form": null, "selected_rate": {"id": "rate_5538a07f95d84dbcbb27bcd1d29a15c6", + "object": "Rate", "created_at": "2024-01-19T21:49:59Z", "updated_at": "2024-01-19T21:49:59Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_348bdb111c984710a74f9ccd12885134", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_5d221d466e41456ba74da43a42102b83", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010709218", + "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:49:59Z", + "updated_at": "2024-01-19T21:49:59Z", "signed_by": null, "weight": null, "est_delivery_date": + "2024-01-19T21:49:59Z", "shipment_id": "shp_348bdb111c984710a74f9ccd12885134", + "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": + "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-19T21:49:59Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", + "message": "Shipping Label Created", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-20T10:26:59Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": + null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": + null}, "public_url": "https://track.easypost.com/djE6dHJrXzVkMjIxZDQ2NmU0MTQ1NmJhNzRkYTQzYTQyMTAyYjgz"}, + "to_address": {"id": "adr_b0b6d151b71411ee8245ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:49:58+00:00", "updated_at": "2024-01-19T21:49:58+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_b0b92519b71411ee907dac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:49:58+00:00", "updated_at": + "2024-01-19T21:49:58+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_b0b6d151b71411ee8245ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:49:58+00:00", "updated_at": "2024-01-19T21:49:58+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_348bdb111c984710a74f9ccd12885134", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '9487' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda865aaee87e78bb86900118be0 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.173738' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:59:18Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010711600", "updated_at": "2024-01-19T21:59:19Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_ab380c0a79ce446ca0089332054a2507", "object": "CustomsInfo", "created_at": + "2024-01-19T21:59:18Z", "updated_at": "2024-01-19T21:59:18Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_7329943ce6c04a4eb96a60ddf1150c05", + "object": "CustomsItem", "created_at": "2024-01-19T21:59:18Z", "updated_at": + "2024-01-19T21:59:18Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_fe1a976fb71511eebfdeac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:59:18+00:00", "updated_at": + "2024-01-19T21:59:18+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_62233b8ee4374556a520139aa08db751", + "object": "Parcel", "created_at": "2024-01-19T21:59:18Z", "updated_at": "2024-01-19T21:59:18Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_32ea89bd819e49768cb77d1aa4e5e43f", "created_at": "2024-01-19T21:59:18Z", + "updated_at": "2024-01-19T21:59:18Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:59:18Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e816fbe72bb566488293a6c0ef50e9bc89.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_abfa465e40864329b9e3d3dda543d1ce", "object": + "Rate", "created_at": "2024-01-19T21:59:18Z", "updated_at": "2024-01-19T21:59:18Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_ae0c2a88c77a435c9d6f16aa9af23edc", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_e6732c735e4c44bd898b54cc267bde1d", + "object": "Rate", "created_at": "2024-01-19T21:59:18Z", "updated_at": "2024-01-19T21:59:18Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_ae0c2a88c77a435c9d6f16aa9af23edc", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_6ea6d2800958479e9666f07bcc2dcd95", + "object": "Rate", "created_at": "2024-01-19T21:59:18Z", "updated_at": "2024-01-19T21:59:18Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_ae0c2a88c77a435c9d6f16aa9af23edc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_d8dfa5b377c342058bc864c708bb3cc7", "object": "Rate", "created_at": + "2024-01-19T21:59:18Z", "updated_at": "2024-01-19T21:59:18Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_ae0c2a88c77a435c9d6f16aa9af23edc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_be13059e0a954219a42ffb54c20d1320", "object": "Rate", "created_at": + "2024-01-19T21:59:18Z", "updated_at": "2024-01-19T21:59:18Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_ae0c2a88c77a435c9d6f16aa9af23edc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_abfa465e40864329b9e3d3dda543d1ce", + "object": "Rate", "created_at": "2024-01-19T21:59:18Z", "updated_at": "2024-01-19T21:59:18Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_ae0c2a88c77a435c9d6f16aa9af23edc", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_f0f38ec09a8e4093aa29bb4a3e8c13ec", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711600", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:59:19Z", + "updated_at": "2024-01-19T21:59:19Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_ae0c2a88c77a435c9d6f16aa9af23edc", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrX2YwZjM4ZWMwOWE4ZTQwOTNhYTI5YmI0YTNlOGMxM2Vj"}, + "to_address": {"id": "adr_fe16ba13b71511eebfddac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T21:59:18+00:00", "updated_at": "2024-01-19T21:59:18+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_fe1a976fb71511eebfdeac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:59:18+00:00", "updated_at": + "2024-01-19T21:59:18+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_fe16ba13b71511eebfddac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:59:18+00:00", "updated_at": "2024-01-19T21:59:18+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_ae0c2a88c77a435c9d6f16aa9af23edc", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_ae0c2a88c77a435c9d6f16aa9af23edc + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf0b5e798c000000f8fae + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.099753' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments/shp_ae0c2a88c77a435c9d6f16aa9af23edc/refund + response: + body: + string: '{"created_at": "2024-01-19T21:59:18Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010711600", "updated_at": "2024-01-19T21:59:19Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_ab380c0a79ce446ca0089332054a2507", "object": "CustomsInfo", "created_at": + "2024-01-19T21:59:18Z", "updated_at": "2024-01-19T21:59:18Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_7329943ce6c04a4eb96a60ddf1150c05", + "object": "CustomsItem", "created_at": "2024-01-19T21:59:18Z", "updated_at": + "2024-01-19T21:59:18Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_fe1a976fb71511eebfdeac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:59:18+00:00", "updated_at": + "2024-01-19T21:59:18+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_62233b8ee4374556a520139aa08db751", + "object": "Parcel", "created_at": "2024-01-19T21:59:18Z", "updated_at": "2024-01-19T21:59:18Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_32ea89bd819e49768cb77d1aa4e5e43f", "created_at": "2024-01-19T21:59:18Z", + "updated_at": "2024-01-19T21:59:18Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:59:18Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e816fbe72bb566488293a6c0ef50e9bc89.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_abfa465e40864329b9e3d3dda543d1ce", "object": + "Rate", "created_at": "2024-01-19T21:59:18Z", "updated_at": "2024-01-19T21:59:18Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_ae0c2a88c77a435c9d6f16aa9af23edc", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_e6732c735e4c44bd898b54cc267bde1d", + "object": "Rate", "created_at": "2024-01-19T21:59:18Z", "updated_at": "2024-01-19T21:59:18Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_ae0c2a88c77a435c9d6f16aa9af23edc", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_6ea6d2800958479e9666f07bcc2dcd95", + "object": "Rate", "created_at": "2024-01-19T21:59:18Z", "updated_at": "2024-01-19T21:59:18Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_ae0c2a88c77a435c9d6f16aa9af23edc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_d8dfa5b377c342058bc864c708bb3cc7", "object": "Rate", "created_at": + "2024-01-19T21:59:18Z", "updated_at": "2024-01-19T21:59:18Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_ae0c2a88c77a435c9d6f16aa9af23edc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_be13059e0a954219a42ffb54c20d1320", "object": "Rate", "created_at": + "2024-01-19T21:59:18Z", "updated_at": "2024-01-19T21:59:18Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_ae0c2a88c77a435c9d6f16aa9af23edc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": "submitted", "scan_form": null, "selected_rate": {"id": "rate_abfa465e40864329b9e3d3dda543d1ce", + "object": "Rate", "created_at": "2024-01-19T21:59:18Z", "updated_at": "2024-01-19T21:59:18Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_ae0c2a88c77a435c9d6f16aa9af23edc", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_f0f38ec09a8e4093aa29bb4a3e8c13ec", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711600", + "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:59:19Z", + "updated_at": "2024-01-19T21:59:19Z", "signed_by": null, "weight": null, "est_delivery_date": + "2024-01-19T21:59:19Z", "shipment_id": "shp_ae0c2a88c77a435c9d6f16aa9af23edc", + "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": + "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-19T21:59:19Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", + "message": "Shipping Label Created", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-20T10:36:19Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": + null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": + null}, "public_url": "https://track.easypost.com/djE6dHJrX2YwZjM4ZWMwOWE4ZTQwOTNhYTI5YmI0YTNlOGMxM2Vj"}, + "to_address": {"id": "adr_fe16ba13b71511eebfddac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T21:59:18+00:00", "updated_at": "2024-01-19T21:59:18+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_fe1a976fb71511eebfdeac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:59:18+00:00", "updated_at": + "2024-01-19T21:59:18+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_fe16ba13b71511eebfddac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:59:18+00:00", "updated_at": "2024-01-19T21:59:18+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_ae0c2a88c77a435c9d6f16aa9af23edc", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '9487' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf0b7e798c01b000f90af + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.170664' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T22:02:13Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010712003", "updated_at": "2024-01-19T22:02:14Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_5df1b9b142f344618ce476ff4930cf0f", "object": "CustomsInfo", "created_at": + "2024-01-19T22:02:13Z", "updated_at": "2024-01-19T22:02:13Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_70bd1554e7a44d25af76a5677d2fe79f", + "object": "CustomsItem", "created_at": "2024-01-19T22:02:13Z", "updated_at": + "2024-01-19T22:02:13Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_668c7faeb71611eea156ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T22:02:13+00:00", "updated_at": + "2024-01-19T22:02:13+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_7b4f88641c07433796abc72d1f80b5e3", + "object": "Parcel", "created_at": "2024-01-19T22:02:13Z", "updated_at": "2024-01-19T22:02:13Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_8f3490a160654ca0b17b618088996c1a", "created_at": "2024-01-19T22:02:13Z", + "updated_at": "2024-01-19T22:02:14Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T22:02:13Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e89ec2a7ee411143bc8c4ebb3ef71cd6bd.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_4c1817daa50248bc8162b9fd25535082", "object": + "Rate", "created_at": "2024-01-19T22:02:13Z", "updated_at": "2024-01-19T22:02:13Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_a2498f62738e497184dd3ae65e88cf82", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_7371af199eea4f5183a393650fb463f2", + "object": "Rate", "created_at": "2024-01-19T22:02:13Z", "updated_at": "2024-01-19T22:02:13Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_a2498f62738e497184dd3ae65e88cf82", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_5aa4298712114316bda066bd0fcc54b5", + "object": "Rate", "created_at": "2024-01-19T22:02:13Z", "updated_at": "2024-01-19T22:02:13Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_a2498f62738e497184dd3ae65e88cf82", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_a2db8a4a7d524fe5a0556bb71c93e794", + "object": "Rate", "created_at": "2024-01-19T22:02:13Z", "updated_at": "2024-01-19T22:02:13Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_a2498f62738e497184dd3ae65e88cf82", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_c52d447d864043d9b652a19ac44e2ee9", "object": "Rate", "created_at": + "2024-01-19T22:02:13Z", "updated_at": "2024-01-19T22:02:13Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_a2498f62738e497184dd3ae65e88cf82", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_7371af199eea4f5183a393650fb463f2", + "object": "Rate", "created_at": "2024-01-19T22:02:13Z", "updated_at": "2024-01-19T22:02:13Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_a2498f62738e497184dd3ae65e88cf82", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_2b5e3439b13e4534a0c8bd4204d59b29", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010712003", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:02:14Z", + "updated_at": "2024-01-19T22:02:14Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_a2498f62738e497184dd3ae65e88cf82", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzJiNWUzNDM5YjEzZTQ1MzRhMGM4YmQ0MjA0ZDU5YjI5"}, + "to_address": {"id": "adr_668a6d32b71611ee9303ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T22:02:13+00:00", "updated_at": "2024-01-19T22:02:13+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_668c7faeb71611eea156ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T22:02:13+00:00", "updated_at": + "2024-01-19T22:02:13+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_668a6d32b71611ee9303ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T22:02:13+00:00", "updated_at": "2024-01-19T22:02:13+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_a2498f62738e497184dd3ae65e88cf82", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_a2498f62738e497184dd3ae65e88cf82 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf165e798c87c00102d49 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.172083' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments/shp_a2498f62738e497184dd3ae65e88cf82/refund + response: + body: + string: '{"created_at": "2024-01-19T22:02:13Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010712003", "updated_at": "2024-01-19T22:02:14Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_5df1b9b142f344618ce476ff4930cf0f", "object": "CustomsInfo", "created_at": + "2024-01-19T22:02:13Z", "updated_at": "2024-01-19T22:02:13Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_70bd1554e7a44d25af76a5677d2fe79f", + "object": "CustomsItem", "created_at": "2024-01-19T22:02:13Z", "updated_at": + "2024-01-19T22:02:13Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_668c7faeb71611eea156ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T22:02:13+00:00", "updated_at": + "2024-01-19T22:02:13+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_7b4f88641c07433796abc72d1f80b5e3", + "object": "Parcel", "created_at": "2024-01-19T22:02:13Z", "updated_at": "2024-01-19T22:02:13Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_8f3490a160654ca0b17b618088996c1a", "created_at": "2024-01-19T22:02:13Z", + "updated_at": "2024-01-19T22:02:14Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T22:02:13Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e89ec2a7ee411143bc8c4ebb3ef71cd6bd.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_4c1817daa50248bc8162b9fd25535082", "object": + "Rate", "created_at": "2024-01-19T22:02:13Z", "updated_at": "2024-01-19T22:02:13Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_a2498f62738e497184dd3ae65e88cf82", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_7371af199eea4f5183a393650fb463f2", + "object": "Rate", "created_at": "2024-01-19T22:02:13Z", "updated_at": "2024-01-19T22:02:13Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_a2498f62738e497184dd3ae65e88cf82", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_5aa4298712114316bda066bd0fcc54b5", + "object": "Rate", "created_at": "2024-01-19T22:02:13Z", "updated_at": "2024-01-19T22:02:13Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_a2498f62738e497184dd3ae65e88cf82", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_a2db8a4a7d524fe5a0556bb71c93e794", + "object": "Rate", "created_at": "2024-01-19T22:02:13Z", "updated_at": "2024-01-19T22:02:13Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_a2498f62738e497184dd3ae65e88cf82", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_c52d447d864043d9b652a19ac44e2ee9", "object": "Rate", "created_at": + "2024-01-19T22:02:13Z", "updated_at": "2024-01-19T22:02:13Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_a2498f62738e497184dd3ae65e88cf82", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": "submitted", "scan_form": null, "selected_rate": {"id": "rate_7371af199eea4f5183a393650fb463f2", + "object": "Rate", "created_at": "2024-01-19T22:02:13Z", "updated_at": "2024-01-19T22:02:13Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_a2498f62738e497184dd3ae65e88cf82", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_2b5e3439b13e4534a0c8bd4204d59b29", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010712003", + "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T22:02:14Z", + "updated_at": "2024-01-19T22:02:14Z", "signed_by": null, "weight": null, "est_delivery_date": + "2024-01-19T22:02:14Z", "shipment_id": "shp_a2498f62738e497184dd3ae65e88cf82", + "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": + "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-19T22:02:14Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", + "message": "Shipping Label Created", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-20T10:39:14Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": + null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": + null}, "public_url": "https://track.easypost.com/djE6dHJrXzJiNWUzNDM5YjEzZTQ1MzRhMGM4YmQ0MjA0ZDU5YjI5"}, + "to_address": {"id": "adr_668a6d32b71611ee9303ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T22:02:13+00:00", "updated_at": "2024-01-19T22:02:13+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_668c7faeb71611eea156ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T22:02:13+00:00", "updated_at": + "2024-01-19T22:02:13+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_668a6d32b71611ee9303ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T22:02:13+00:00", "updated_at": "2024-01-19T22:02:13+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_a2498f62738e497184dd3ae65e88cf82", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '9487' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf166e798c87d00102e56 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.174979' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_shipments_retrieve.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_shipments_retrieve.yaml new file mode 100644 index 00000000..09756ce4 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_shipments_retrieve.yaml @@ -0,0 +1,2276 @@ +interactions: +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '885' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:42:04Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T21:42:04Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_41b7eeaa9b4f4e3c8b5b56cb4f20259e", + "object": "CustomsInfo", "created_at": "2024-01-19T21:42:04Z", "updated_at": + "2024-01-19T21:42:04Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_f427d952cec54b1096206a16e10c886d", "object": "CustomsItem", + "created_at": "2024-01-19T21:42:04Z", "updated_at": "2024-01-19T21:42:04Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_95e5d4c8b71311eea2923cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:42:04+00:00", "updated_at": "2024-01-19T21:42:04+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_fc31f68d7c4647578e58e806ca008009", "object": "Parcel", "created_at": + "2024-01-19T21:42:04Z", "updated_at": "2024-01-19T21:42:04Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_d723cc2fe4c54949a4b903afd2044083", + "object": "Rate", "created_at": "2024-01-19T21:42:04Z", "updated_at": "2024-01-19T21:42:04Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_6f93e11081a943eea73a615b1f823b04", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_95e975f7818f4b98922055a3e0d4e79b", + "object": "Rate", "created_at": "2024-01-19T21:42:04Z", "updated_at": "2024-01-19T21:42:04Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_6f93e11081a943eea73a615b1f823b04", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_fe69ed3e44f144b49a593ba9dc86b162", + "object": "Rate", "created_at": "2024-01-19T21:42:04Z", "updated_at": "2024-01-19T21:42:04Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_6f93e11081a943eea73a615b1f823b04", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_f959108c87eb44c7a03d77f99ac88d2a", "object": "Rate", "created_at": + "2024-01-19T21:42:04Z", "updated_at": "2024-01-19T21:42:04Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_6f93e11081a943eea73a615b1f823b04", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_0059b8bf151943bc8960585425e07c33", "object": "Rate", "created_at": + "2024-01-19T21:42:04Z", "updated_at": "2024-01-19T21:42:04Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_6f93e11081a943eea73a615b1f823b04", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_95e3b26bb71311eeb411ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:42:04+00:00", "updated_at": "2024-01-19T21:42:04+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_95e5d4c8b71311eea2923cecef1b359e", "object": "Address", "created_at": + "2024-01-19T21:42:04+00:00", "updated_at": "2024-01-19T21:42:04+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_95e3b26bb71311eeb411ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:42:04+00:00", "updated_at": + "2024-01-19T21:42:04+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_6f93e11081a943eea73a615b1f823b04", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_6f93e11081a943eea73a615b1f823b04 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaecace78b9f65000d080f + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.707310' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/shipments/shp_6f93e11081a943eea73a615b1f823b04 + response: + body: + string: '{"created_at": "2024-01-19T21:42:04Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T21:42:04Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_41b7eeaa9b4f4e3c8b5b56cb4f20259e", + "object": "CustomsInfo", "created_at": "2024-01-19T21:42:04Z", "updated_at": + "2024-01-19T21:42:04Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_f427d952cec54b1096206a16e10c886d", "object": "CustomsItem", + "created_at": "2024-01-19T21:42:04Z", "updated_at": "2024-01-19T21:42:04Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_95e5d4c8b71311eea2923cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:42:04+00:00", "updated_at": "2024-01-19T21:42:04+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_fc31f68d7c4647578e58e806ca008009", "object": "Parcel", "created_at": + "2024-01-19T21:42:04Z", "updated_at": "2024-01-19T21:42:04Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_d723cc2fe4c54949a4b903afd2044083", + "object": "Rate", "created_at": "2024-01-19T21:42:04Z", "updated_at": "2024-01-19T21:42:04Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_6f93e11081a943eea73a615b1f823b04", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_95e975f7818f4b98922055a3e0d4e79b", + "object": "Rate", "created_at": "2024-01-19T21:42:04Z", "updated_at": "2024-01-19T21:42:04Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_6f93e11081a943eea73a615b1f823b04", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_fe69ed3e44f144b49a593ba9dc86b162", + "object": "Rate", "created_at": "2024-01-19T21:42:04Z", "updated_at": "2024-01-19T21:42:04Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_6f93e11081a943eea73a615b1f823b04", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_f959108c87eb44c7a03d77f99ac88d2a", "object": "Rate", "created_at": + "2024-01-19T21:42:04Z", "updated_at": "2024-01-19T21:42:04Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_6f93e11081a943eea73a615b1f823b04", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_0059b8bf151943bc8960585425e07c33", "object": "Rate", "created_at": + "2024-01-19T21:42:04Z", "updated_at": "2024-01-19T21:42:04Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_6f93e11081a943eea73a615b1f823b04", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_95e3b26bb71311eeb411ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:42:04+00:00", "updated_at": "2024-01-19T21:42:04+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_95e5d4c8b71311eea2923cecef1b359e", "object": "Address", "created_at": + "2024-01-19T21:42:04+00:00", "updated_at": "2024-01-19T21:42:04+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_95e3b26bb71311eeb411ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:42:04+00:00", "updated_at": + "2024-01-19T21:42:04+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_6f93e11081a943eea73a615b1f823b04", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaecade78b9f66000d08a4 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.086937' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '885' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:44:00Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T21:44:01Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_b26ab69f99ff4dd285731934c1149bb2", + "object": "CustomsInfo", "created_at": "2024-01-19T21:44:00Z", "updated_at": + "2024-01-19T21:44:00Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_38eb5b8dca8140a5876fe289b0af914c", "object": "CustomsItem", + "created_at": "2024-01-19T21:44:00Z", "updated_at": "2024-01-19T21:44:00Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_db2022f1b71311eebe07ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:44:00+00:00", "updated_at": "2024-01-19T21:44:00+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_da5c11833be34386957cf2988555962d", "object": "Parcel", "created_at": + "2024-01-19T21:44:00Z", "updated_at": "2024-01-19T21:44:00Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_d6f7fd0347a44f0bb2288038131bbc53", + "object": "Rate", "created_at": "2024-01-19T21:44:01Z", "updated_at": "2024-01-19T21:44:01Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_f22e6516325e4b20b8efa6f297513f6e", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_d770ce90850744df95c852ee98943394", + "object": "Rate", "created_at": "2024-01-19T21:44:01Z", "updated_at": "2024-01-19T21:44:01Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_f22e6516325e4b20b8efa6f297513f6e", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_95514098cbea427abc9fe6860ff3c85f", + "object": "Rate", "created_at": "2024-01-19T21:44:01Z", "updated_at": "2024-01-19T21:44:01Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_f22e6516325e4b20b8efa6f297513f6e", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_351984e731914e92816eb8491408a963", + "object": "Rate", "created_at": "2024-01-19T21:44:01Z", "updated_at": "2024-01-19T21:44:01Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_f22e6516325e4b20b8efa6f297513f6e", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_50c74d86062f4ef6928597391625df27", "object": "Rate", "created_at": + "2024-01-19T21:44:01Z", "updated_at": "2024-01-19T21:44:01Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_f22e6516325e4b20b8efa6f297513f6e", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_db1de983b71311eebb943cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:44:00+00:00", "updated_at": "2024-01-19T21:44:00+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_db2022f1b71311eebe07ac1f6bc539ae", "object": "Address", "created_at": + "2024-01-19T21:44:00+00:00", "updated_at": "2024-01-19T21:44:00+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_db1de983b71311eebb943cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:44:00+00:00", "updated_at": + "2024-01-19T21:44:00+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_f22e6516325e4b20b8efa6f297513f6e", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_f22e6516325e4b20b8efa6f297513f6e + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaed20e78ba78b000d4c11 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.839827' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/shipments/shp_f22e6516325e4b20b8efa6f297513f6e + response: + body: + string: '{"created_at": "2024-01-19T21:44:00Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T21:44:01Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_b26ab69f99ff4dd285731934c1149bb2", + "object": "CustomsInfo", "created_at": "2024-01-19T21:44:00Z", "updated_at": + "2024-01-19T21:44:00Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_38eb5b8dca8140a5876fe289b0af914c", "object": "CustomsItem", + "created_at": "2024-01-19T21:44:00Z", "updated_at": "2024-01-19T21:44:00Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_db2022f1b71311eebe07ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:44:00+00:00", "updated_at": "2024-01-19T21:44:00+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_da5c11833be34386957cf2988555962d", "object": "Parcel", "created_at": + "2024-01-19T21:44:00Z", "updated_at": "2024-01-19T21:44:00Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_d6f7fd0347a44f0bb2288038131bbc53", + "object": "Rate", "created_at": "2024-01-19T21:44:01Z", "updated_at": "2024-01-19T21:44:01Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_f22e6516325e4b20b8efa6f297513f6e", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_d770ce90850744df95c852ee98943394", + "object": "Rate", "created_at": "2024-01-19T21:44:01Z", "updated_at": "2024-01-19T21:44:01Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_f22e6516325e4b20b8efa6f297513f6e", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_95514098cbea427abc9fe6860ff3c85f", + "object": "Rate", "created_at": "2024-01-19T21:44:01Z", "updated_at": "2024-01-19T21:44:01Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_f22e6516325e4b20b8efa6f297513f6e", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_351984e731914e92816eb8491408a963", + "object": "Rate", "created_at": "2024-01-19T21:44:01Z", "updated_at": "2024-01-19T21:44:01Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_f22e6516325e4b20b8efa6f297513f6e", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_50c74d86062f4ef6928597391625df27", "object": "Rate", "created_at": + "2024-01-19T21:44:01Z", "updated_at": "2024-01-19T21:44:01Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_f22e6516325e4b20b8efa6f297513f6e", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_db1de983b71311eebb943cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:44:00+00:00", "updated_at": "2024-01-19T21:44:00+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_db2022f1b71311eebe07ac1f6bc539ae", "object": "Address", "created_at": + "2024-01-19T21:44:00+00:00", "updated_at": "2024-01-19T21:44:00+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_db1de983b71311eebb943cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:44:00+00:00", "updated_at": + "2024-01-19T21:44:00+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_f22e6516325e4b20b8efa6f297513f6e", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaed21e78ba7a3000d4ce2 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.084713' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '885' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:47:53Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T21:47:53Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_972e56552d954363b4eafb9790a824be", + "object": "CustomsInfo", "created_at": "2024-01-19T21:47:53Z", "updated_at": + "2024-01-19T21:47:53Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_034cfd96dbc34a9eace33c31f6be5670", "object": "CustomsItem", + "created_at": "2024-01-19T21:47:53Z", "updated_at": "2024-01-19T21:47:53Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_65e59307b71411eeb929ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:47:53+00:00", "updated_at": "2024-01-19T21:47:53+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_c4abea4dc1734d72aca2bac10296d6cf", "object": "Parcel", "created_at": + "2024-01-19T21:47:53Z", "updated_at": "2024-01-19T21:47:53Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_1b256c54e30d40eb96c309be962f036b", + "object": "Rate", "created_at": "2024-01-19T21:47:53Z", "updated_at": "2024-01-19T21:47:53Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_6de2d7cc48604d50b6ab070c66e6e54d", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_852be026e35642edb6b10a3ecbd49e1c", + "object": "Rate", "created_at": "2024-01-19T21:47:53Z", "updated_at": "2024-01-19T21:47:53Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_6de2d7cc48604d50b6ab070c66e6e54d", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_67274d84c7ed4753ae0ff107edadf608", + "object": "Rate", "created_at": "2024-01-19T21:47:53Z", "updated_at": "2024-01-19T21:47:53Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_6de2d7cc48604d50b6ab070c66e6e54d", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b42ce8a8b0a94865aa6c79247d23688e", + "object": "Rate", "created_at": "2024-01-19T21:47:53Z", "updated_at": "2024-01-19T21:47:53Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_6de2d7cc48604d50b6ab070c66e6e54d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_ace359c44d0044b799ed17ae5598b991", "object": "Rate", "created_at": + "2024-01-19T21:47:53Z", "updated_at": "2024-01-19T21:47:53Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_6de2d7cc48604d50b6ab070c66e6e54d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_65e2c6c8b71411eea79b3cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:47:53+00:00", "updated_at": "2024-01-19T21:47:53+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_65e59307b71411eeb929ac1f6bc539aa", "object": "Address", "created_at": + "2024-01-19T21:47:53+00:00", "updated_at": "2024-01-19T21:47:53+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_65e2c6c8b71411eea79b3cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:47:53+00:00", "updated_at": + "2024-01-19T21:47:53+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_6de2d7cc48604d50b6ab070c66e6e54d", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_6de2d7cc48604d50b6ab070c66e6e54d + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdac65aaee09e78bb0250011435d + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.743310' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/shipments/shp_6de2d7cc48604d50b6ab070c66e6e54d + response: + body: + string: '{"created_at": "2024-01-19T21:47:53Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T21:47:53Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_972e56552d954363b4eafb9790a824be", + "object": "CustomsInfo", "created_at": "2024-01-19T21:47:53Z", "updated_at": + "2024-01-19T21:47:53Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_034cfd96dbc34a9eace33c31f6be5670", "object": "CustomsItem", + "created_at": "2024-01-19T21:47:53Z", "updated_at": "2024-01-19T21:47:53Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_65e59307b71411eeb929ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:47:53+00:00", "updated_at": "2024-01-19T21:47:53+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_c4abea4dc1734d72aca2bac10296d6cf", "object": "Parcel", "created_at": + "2024-01-19T21:47:53Z", "updated_at": "2024-01-19T21:47:53Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_1b256c54e30d40eb96c309be962f036b", + "object": "Rate", "created_at": "2024-01-19T21:47:53Z", "updated_at": "2024-01-19T21:47:53Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_6de2d7cc48604d50b6ab070c66e6e54d", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_852be026e35642edb6b10a3ecbd49e1c", + "object": "Rate", "created_at": "2024-01-19T21:47:53Z", "updated_at": "2024-01-19T21:47:53Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_6de2d7cc48604d50b6ab070c66e6e54d", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_67274d84c7ed4753ae0ff107edadf608", + "object": "Rate", "created_at": "2024-01-19T21:47:53Z", "updated_at": "2024-01-19T21:47:53Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_6de2d7cc48604d50b6ab070c66e6e54d", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b42ce8a8b0a94865aa6c79247d23688e", + "object": "Rate", "created_at": "2024-01-19T21:47:53Z", "updated_at": "2024-01-19T21:47:53Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_6de2d7cc48604d50b6ab070c66e6e54d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_ace359c44d0044b799ed17ae5598b991", "object": "Rate", "created_at": + "2024-01-19T21:47:53Z", "updated_at": "2024-01-19T21:47:53Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_6de2d7cc48604d50b6ab070c66e6e54d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_65e2c6c8b71411eea79b3cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:47:53+00:00", "updated_at": "2024-01-19T21:47:53+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_65e59307b71411eeb929ac1f6bc539aa", "object": "Address", "created_at": + "2024-01-19T21:47:53+00:00", "updated_at": "2024-01-19T21:47:53+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_65e2c6c8b71411eea79b3cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:47:53+00:00", "updated_at": + "2024-01-19T21:47:53+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_6de2d7cc48604d50b6ab070c66e6e54d", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdae65aaee0ae78bb0260011440c + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.089162' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '885' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:49:48Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T21:49:49Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_c7e14090cfdd44ba931ee3bb0812dfb0", + "object": "CustomsInfo", "created_at": "2024-01-19T21:49:48Z", "updated_at": + "2024-01-19T21:49:48Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_a9f03c9d7c4e4d9dad4ad243edc1c698", "object": "CustomsItem", + "created_at": "2024-01-19T21:49:48Z", "updated_at": "2024-01-19T21:49:48Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_aa9d909bb71411ee8e7bac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:49:48+00:00", "updated_at": "2024-01-19T21:49:48+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_aca28b8e9bb547f0b3463febe58d597b", "object": "Parcel", "created_at": + "2024-01-19T21:49:48Z", "updated_at": "2024-01-19T21:49:48Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_cc0b29f4f5eb4673ab3de635255002f3", + "object": "Rate", "created_at": "2024-01-19T21:49:49Z", "updated_at": "2024-01-19T21:49:49Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_baefa7d9a079483fa6e866e9e448e1d2", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_a89fc75d6885484b8115733a3b823ad0", + "object": "Rate", "created_at": "2024-01-19T21:49:49Z", "updated_at": "2024-01-19T21:49:49Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_baefa7d9a079483fa6e866e9e448e1d2", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_50871e82a69c4d13944df61dc47a864d", + "object": "Rate", "created_at": "2024-01-19T21:49:49Z", "updated_at": "2024-01-19T21:49:49Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_baefa7d9a079483fa6e866e9e448e1d2", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_bf1c6a0d92ce4573addb3d2c757e46cb", + "object": "Rate", "created_at": "2024-01-19T21:49:49Z", "updated_at": "2024-01-19T21:49:49Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_baefa7d9a079483fa6e866e9e448e1d2", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_2547a32246854e148285972b386fe6f1", "object": "Rate", "created_at": + "2024-01-19T21:49:49Z", "updated_at": "2024-01-19T21:49:49Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_baefa7d9a079483fa6e866e9e448e1d2", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_aa9aa60bb71411eebe9eac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:49:48+00:00", "updated_at": "2024-01-19T21:49:48+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_aa9d909bb71411ee8e7bac1f6bc539aa", "object": "Address", "created_at": + "2024-01-19T21:49:48+00:00", "updated_at": "2024-01-19T21:49:48+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_aa9aa60bb71411eebe9eac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:49:48+00:00", "updated_at": + "2024-01-19T21:49:48+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_baefa7d9a079483fa6e866e9e448e1d2", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_baefa7d9a079483fa6e866e9e448e1d2 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdaa65aaee7ce78bb84800118519 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.768261' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/shipments/shp_baefa7d9a079483fa6e866e9e448e1d2 + response: + body: + string: '{"created_at": "2024-01-19T21:49:48Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T21:49:49Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_c7e14090cfdd44ba931ee3bb0812dfb0", + "object": "CustomsInfo", "created_at": "2024-01-19T21:49:48Z", "updated_at": + "2024-01-19T21:49:48Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_a9f03c9d7c4e4d9dad4ad243edc1c698", "object": "CustomsItem", + "created_at": "2024-01-19T21:49:48Z", "updated_at": "2024-01-19T21:49:48Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_aa9d909bb71411ee8e7bac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:49:48+00:00", "updated_at": "2024-01-19T21:49:48+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_aca28b8e9bb547f0b3463febe58d597b", "object": "Parcel", "created_at": + "2024-01-19T21:49:48Z", "updated_at": "2024-01-19T21:49:48Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_cc0b29f4f5eb4673ab3de635255002f3", + "object": "Rate", "created_at": "2024-01-19T21:49:49Z", "updated_at": "2024-01-19T21:49:49Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_baefa7d9a079483fa6e866e9e448e1d2", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_a89fc75d6885484b8115733a3b823ad0", + "object": "Rate", "created_at": "2024-01-19T21:49:49Z", "updated_at": "2024-01-19T21:49:49Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_baefa7d9a079483fa6e866e9e448e1d2", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_50871e82a69c4d13944df61dc47a864d", + "object": "Rate", "created_at": "2024-01-19T21:49:49Z", "updated_at": "2024-01-19T21:49:49Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_baefa7d9a079483fa6e866e9e448e1d2", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_bf1c6a0d92ce4573addb3d2c757e46cb", + "object": "Rate", "created_at": "2024-01-19T21:49:49Z", "updated_at": "2024-01-19T21:49:49Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_baefa7d9a079483fa6e866e9e448e1d2", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_2547a32246854e148285972b386fe6f1", "object": "Rate", "created_at": + "2024-01-19T21:49:49Z", "updated_at": "2024-01-19T21:49:49Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_baefa7d9a079483fa6e866e9e448e1d2", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_aa9aa60bb71411eebe9eac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:49:48+00:00", "updated_at": "2024-01-19T21:49:48+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_aa9d909bb71411ee8e7bac1f6bc539aa", "object": "Address", "created_at": + "2024-01-19T21:49:48+00:00", "updated_at": "2024-01-19T21:49:48+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_aa9aa60bb71411eebe9eac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:49:48+00:00", "updated_at": + "2024-01-19T21:49:48+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_baefa7d9a079483fa6e866e9e448e1d2", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdac65aaee7de78bb849001185b7 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.096734' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '885' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:59:07Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T21:59:08Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_cf643fba39cb4c0996b36a5b95476b4b", + "object": "CustomsInfo", "created_at": "2024-01-19T21:59:07Z", "updated_at": + "2024-01-19T21:59:07Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_c2f77c8ea58341a195e644130a0f27a7", "object": "CustomsItem", + "created_at": "2024-01-19T21:59:07Z", "updated_at": "2024-01-19T21:59:07Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_f7a5e13fb71511eebe49ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:59:07+00:00", "updated_at": "2024-01-19T21:59:07+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_e755b7c8f3114d0aa242af08eb22e433", "object": "Parcel", "created_at": + "2024-01-19T21:59:07Z", "updated_at": "2024-01-19T21:59:07Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_0c1bbd6c5b224d51a48ed91513669134", + "object": "Rate", "created_at": "2024-01-19T21:59:08Z", "updated_at": "2024-01-19T21:59:08Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_931f7ae4066e40a595f9387450e6044a", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_e073ea2b85d6420a8b39cb5e0ebf964c", + "object": "Rate", "created_at": "2024-01-19T21:59:08Z", "updated_at": "2024-01-19T21:59:08Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_931f7ae4066e40a595f9387450e6044a", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_1352bda3d6464dbeb557413feef24721", + "object": "Rate", "created_at": "2024-01-19T21:59:08Z", "updated_at": "2024-01-19T21:59:08Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_931f7ae4066e40a595f9387450e6044a", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f08949bbab9e4b269d94a365bc525b31", + "object": "Rate", "created_at": "2024-01-19T21:59:08Z", "updated_at": "2024-01-19T21:59:08Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_931f7ae4066e40a595f9387450e6044a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_77d0e88f1fcc46a18e5d1fa53c957127", "object": "Rate", "created_at": + "2024-01-19T21:59:08Z", "updated_at": "2024-01-19T21:59:08Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_931f7ae4066e40a595f9387450e6044a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_f7a3faaab71511eeabdc3cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:59:07+00:00", "updated_at": "2024-01-19T21:59:07+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_f7a5e13fb71511eebe49ac1f6bc539aa", "object": "Address", "created_at": + "2024-01-19T21:59:07+00:00", "updated_at": "2024-01-19T21:59:07+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_f7a3faaab71511eeabdc3cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:59:07+00:00", "updated_at": + "2024-01-19T21:59:07+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_931f7ae4066e40a595f9387450e6044a", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_931f7ae4066e40a595f9387450e6044a + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf0abe798bfde000f8868 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.005275' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/shipments/shp_931f7ae4066e40a595f9387450e6044a + response: + body: + string: '{"created_at": "2024-01-19T21:59:07Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T21:59:08Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_cf643fba39cb4c0996b36a5b95476b4b", + "object": "CustomsInfo", "created_at": "2024-01-19T21:59:07Z", "updated_at": + "2024-01-19T21:59:07Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_c2f77c8ea58341a195e644130a0f27a7", "object": "CustomsItem", + "created_at": "2024-01-19T21:59:07Z", "updated_at": "2024-01-19T21:59:07Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_f7a5e13fb71511eebe49ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:59:07+00:00", "updated_at": "2024-01-19T21:59:07+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_e755b7c8f3114d0aa242af08eb22e433", "object": "Parcel", "created_at": + "2024-01-19T21:59:07Z", "updated_at": "2024-01-19T21:59:07Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_0c1bbd6c5b224d51a48ed91513669134", + "object": "Rate", "created_at": "2024-01-19T21:59:08Z", "updated_at": "2024-01-19T21:59:08Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_931f7ae4066e40a595f9387450e6044a", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_e073ea2b85d6420a8b39cb5e0ebf964c", + "object": "Rate", "created_at": "2024-01-19T21:59:08Z", "updated_at": "2024-01-19T21:59:08Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_931f7ae4066e40a595f9387450e6044a", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_1352bda3d6464dbeb557413feef24721", + "object": "Rate", "created_at": "2024-01-19T21:59:08Z", "updated_at": "2024-01-19T21:59:08Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_931f7ae4066e40a595f9387450e6044a", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f08949bbab9e4b269d94a365bc525b31", + "object": "Rate", "created_at": "2024-01-19T21:59:08Z", "updated_at": "2024-01-19T21:59:08Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_931f7ae4066e40a595f9387450e6044a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_77d0e88f1fcc46a18e5d1fa53c957127", "object": "Rate", "created_at": + "2024-01-19T21:59:08Z", "updated_at": "2024-01-19T21:59:08Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_931f7ae4066e40a595f9387450e6044a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_f7a3faaab71511eeabdc3cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:59:07+00:00", "updated_at": "2024-01-19T21:59:07+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_f7a5e13fb71511eebe49ac1f6bc539aa", "object": "Address", "created_at": + "2024-01-19T21:59:07+00:00", "updated_at": "2024-01-19T21:59:07+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_f7a3faaab71511eeabdc3cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:59:07+00:00", "updated_at": + "2024-01-19T21:59:07+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_931f7ae4066e40a595f9387450e6044a", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf0ace798bfdf000f890f + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.108972' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '885' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T22:02:02Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T22:02:03Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_fe1425daeabd41ac89b70f664cebcfdc", + "object": "CustomsInfo", "created_at": "2024-01-19T22:02:02Z", "updated_at": + "2024-01-19T22:02:02Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_92dd8d47fbb941c8b2a4efbf43addd76", "object": "CustomsItem", + "created_at": "2024-01-19T22:02:02Z", "updated_at": "2024-01-19T22:02:02Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_60462a4fb71611ee8fa9ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T22:02:02+00:00", "updated_at": "2024-01-19T22:02:02+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_c32059f7ba7f46148048e75613f3e092", "object": "Parcel", "created_at": + "2024-01-19T22:02:02Z", "updated_at": "2024-01-19T22:02:02Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_abb8a4aeff2d4bd39106065935fe9ff2", + "object": "Rate", "created_at": "2024-01-19T22:02:03Z", "updated_at": "2024-01-19T22:02:03Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_66a379fe707e4c498afc6fcc47af6918", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_59da9b6636f04631b543f3a1f84710f5", + "object": "Rate", "created_at": "2024-01-19T22:02:03Z", "updated_at": "2024-01-19T22:02:03Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_66a379fe707e4c498afc6fcc47af6918", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_230fb484df7e4a26ab2360b2fd708333", "object": "Rate", "created_at": + "2024-01-19T22:02:03Z", "updated_at": "2024-01-19T22:02:03Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_66a379fe707e4c498afc6fcc47af6918", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_192d7885fe9f46a3892ce87f4d0855ce", "object": "Rate", "created_at": + "2024-01-19T22:02:03Z", "updated_at": "2024-01-19T22:02:03Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_66a379fe707e4c498afc6fcc47af6918", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_659798a48f3645309ef433c0c446cd2d", "object": "Rate", "created_at": + "2024-01-19T22:02:03Z", "updated_at": "2024-01-19T22:02:03Z", "mode": "test", + "service": "Priority", "carrier": "USPS", "rate": "7.99", "currency": "USD", + "retail_rate": "14.05", "retail_currency": "USD", "list_rate": "10.27", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": + "shp_66a379fe707e4c498afc6fcc47af6918", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_60420d55b71611ee8d8b3cecef1b359e", "object": + "Address", "created_at": "2024-01-19T22:02:02+00:00", "updated_at": "2024-01-19T22:02:02+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_60462a4fb71611ee8fa9ac1f6bc53342", "object": "Address", "created_at": + "2024-01-19T22:02:02+00:00", "updated_at": "2024-01-19T22:02:02+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_60420d55b71611ee8d8b3cecef1b359e", + "object": "Address", "created_at": "2024-01-19T22:02:02+00:00", "updated_at": + "2024-01-19T22:02:02+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_66a379fe707e4c498afc6fcc47af6918", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_66a379fe707e4c498afc6fcc47af6918 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaf15ae798c85a00102467 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.758614' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/shipments/shp_66a379fe707e4c498afc6fcc47af6918 + response: + body: + string: '{"created_at": "2024-01-19T22:02:02Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T22:02:03Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_fe1425daeabd41ac89b70f664cebcfdc", + "object": "CustomsInfo", "created_at": "2024-01-19T22:02:02Z", "updated_at": + "2024-01-19T22:02:02Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_92dd8d47fbb941c8b2a4efbf43addd76", "object": "CustomsItem", + "created_at": "2024-01-19T22:02:02Z", "updated_at": "2024-01-19T22:02:02Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_60462a4fb71611ee8fa9ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T22:02:02+00:00", "updated_at": "2024-01-19T22:02:02+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_c32059f7ba7f46148048e75613f3e092", "object": "Parcel", "created_at": + "2024-01-19T22:02:02Z", "updated_at": "2024-01-19T22:02:02Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_abb8a4aeff2d4bd39106065935fe9ff2", + "object": "Rate", "created_at": "2024-01-19T22:02:03Z", "updated_at": "2024-01-19T22:02:03Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_66a379fe707e4c498afc6fcc47af6918", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_59da9b6636f04631b543f3a1f84710f5", + "object": "Rate", "created_at": "2024-01-19T22:02:03Z", "updated_at": "2024-01-19T22:02:03Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_66a379fe707e4c498afc6fcc47af6918", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_230fb484df7e4a26ab2360b2fd708333", "object": "Rate", "created_at": + "2024-01-19T22:02:03Z", "updated_at": "2024-01-19T22:02:03Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_66a379fe707e4c498afc6fcc47af6918", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_192d7885fe9f46a3892ce87f4d0855ce", "object": "Rate", "created_at": + "2024-01-19T22:02:03Z", "updated_at": "2024-01-19T22:02:03Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_66a379fe707e4c498afc6fcc47af6918", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_659798a48f3645309ef433c0c446cd2d", "object": "Rate", "created_at": + "2024-01-19T22:02:03Z", "updated_at": "2024-01-19T22:02:03Z", "mode": "test", + "service": "Priority", "carrier": "USPS", "rate": "7.99", "currency": "USD", + "retail_rate": "14.05", "retail_currency": "USD", "list_rate": "10.27", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": + "shp_66a379fe707e4c498afc6fcc47af6918", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_60420d55b71611ee8d8b3cecef1b359e", "object": + "Address", "created_at": "2024-01-19T22:02:02+00:00", "updated_at": "2024-01-19T22:02:02+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_60462a4fb71611ee8fa9ac1f6bc53342", "object": "Address", "created_at": + "2024-01-19T22:02:02+00:00", "updated_at": "2024-01-19T22:02:02+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_60420d55b71611ee8d8b3cecef1b359e", + "object": "Address", "created_at": "2024-01-19T22:02:02+00:00", "updated_at": + "2024-01-19T22:02:02+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_66a379fe707e4c498afc6fcc47af6918", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf15be798c85c00102537 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.095471' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '885' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T22:05:50Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T22:05:51Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_2b237755c35c48889178b8e5924d96dd", + "object": "CustomsInfo", "created_at": "2024-01-19T22:05:50Z", "updated_at": + "2024-01-19T22:05:50Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_9070f221e56246c7bcd0416c663a04e2", "object": "CustomsItem", + "created_at": "2024-01-19T22:05:50Z", "updated_at": "2024-01-19T22:05:50Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_e811b835b71611ee8ce6ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T22:05:50+00:00", "updated_at": "2024-01-19T22:05:50+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_0a0451ebcc934356a2ff11aa8ff326f0", "object": "Parcel", "created_at": + "2024-01-19T22:05:50Z", "updated_at": "2024-01-19T22:05:50Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_533e255dfc984d96b8ead2d4f5f25d9f", + "object": "Rate", "created_at": "2024-01-19T22:05:51Z", "updated_at": "2024-01-19T22:05:51Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_7dc071ae75684b8c9892adbd14dc49be", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b439174896db465eb2ae39d2e498cdb2", + "object": "Rate", "created_at": "2024-01-19T22:05:51Z", "updated_at": "2024-01-19T22:05:51Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_7dc071ae75684b8c9892adbd14dc49be", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_64b3ec5658bc45218c0a38933ef9def0", + "object": "Rate", "created_at": "2024-01-19T22:05:51Z", "updated_at": "2024-01-19T22:05:51Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_7dc071ae75684b8c9892adbd14dc49be", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_b83903bc96174257bccbed396f33606a", "object": "Rate", "created_at": + "2024-01-19T22:05:51Z", "updated_at": "2024-01-19T22:05:51Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_7dc071ae75684b8c9892adbd14dc49be", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_973f4ce2040549e293f888fee47b8066", "object": "Rate", "created_at": + "2024-01-19T22:05:51Z", "updated_at": "2024-01-19T22:05:51Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_7dc071ae75684b8c9892adbd14dc49be", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_e80ee8e2b71611ee8ce5ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T22:05:50+00:00", "updated_at": "2024-01-19T22:05:50+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_e811b835b71611ee8ce6ac1f6bc539aa", "object": "Address", "created_at": + "2024-01-19T22:05:50+00:00", "updated_at": "2024-01-19T22:05:50+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_e80ee8e2b71611ee8ce5ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T22:05:50+00:00", "updated_at": + "2024-01-19T22:05:50+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_7dc071ae75684b8c9892adbd14dc49be", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_7dc071ae75684b8c9892adbd14dc49be + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf23ee798d11e0010cb17 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.729371' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/shipments/shp_7dc071ae75684b8c9892adbd14dc49be + response: + body: + string: '{"created_at": "2024-01-19T22:05:50Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T22:05:51Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_2b237755c35c48889178b8e5924d96dd", + "object": "CustomsInfo", "created_at": "2024-01-19T22:05:50Z", "updated_at": + "2024-01-19T22:05:50Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_9070f221e56246c7bcd0416c663a04e2", "object": "CustomsItem", + "created_at": "2024-01-19T22:05:50Z", "updated_at": "2024-01-19T22:05:50Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_e811b835b71611ee8ce6ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T22:05:50+00:00", "updated_at": "2024-01-19T22:05:50+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_0a0451ebcc934356a2ff11aa8ff326f0", "object": "Parcel", "created_at": + "2024-01-19T22:05:50Z", "updated_at": "2024-01-19T22:05:50Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_533e255dfc984d96b8ead2d4f5f25d9f", + "object": "Rate", "created_at": "2024-01-19T22:05:51Z", "updated_at": "2024-01-19T22:05:51Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_7dc071ae75684b8c9892adbd14dc49be", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b439174896db465eb2ae39d2e498cdb2", + "object": "Rate", "created_at": "2024-01-19T22:05:51Z", "updated_at": "2024-01-19T22:05:51Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_7dc071ae75684b8c9892adbd14dc49be", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_64b3ec5658bc45218c0a38933ef9def0", + "object": "Rate", "created_at": "2024-01-19T22:05:51Z", "updated_at": "2024-01-19T22:05:51Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_7dc071ae75684b8c9892adbd14dc49be", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_b83903bc96174257bccbed396f33606a", "object": "Rate", "created_at": + "2024-01-19T22:05:51Z", "updated_at": "2024-01-19T22:05:51Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_7dc071ae75684b8c9892adbd14dc49be", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_973f4ce2040549e293f888fee47b8066", "object": "Rate", "created_at": + "2024-01-19T22:05:51Z", "updated_at": "2024-01-19T22:05:51Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_7dc071ae75684b8c9892adbd14dc49be", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_e80ee8e2b71611ee8ce5ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T22:05:50+00:00", "updated_at": "2024-01-19T22:05:50+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_e811b835b71611ee8ce6ac1f6bc539aa", "object": "Address", "created_at": + "2024-01-19T22:05:50+00:00", "updated_at": "2024-01-19T22:05:50+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_e80ee8e2b71611ee8ce5ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T22:05:50+00:00", "updated_at": + "2024-01-19T22:05:50+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_7dc071ae75684b8c9892adbd14dc49be", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaf23fe798d11f0010cba9 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.087622' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_shipping_insurance_insure.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_shipping_insurance_insure.yaml new file mode 100644 index 00000000..5659b1a2 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_shipping_insurance_insure.yaml @@ -0,0 +1,2266 @@ +interactions: +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"], + "insurance": 0}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1004' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:42:15Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010707832", "updated_at": "2024-01-19T21:42:16Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_b61da81f3f754df591a18d03da8a92f1", "object": "CustomsInfo", "created_at": + "2024-01-19T21:42:15Z", "updated_at": "2024-01-19T21:42:15Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_f1b7d8c06ec44590b739cae12a9a05ed", + "object": "CustomsItem", "created_at": "2024-01-19T21:42:15Z", "updated_at": + "2024-01-19T21:42:15Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_9cababedb71311eeb632ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:42:15+00:00", "updated_at": + "2024-01-19T21:42:15+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_99b14a8ae7a2443fbc6ba0955ca25c5d", + "object": "Parcel", "created_at": "2024-01-19T21:42:15Z", "updated_at": "2024-01-19T21:42:15Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_9372da71bf814abebcfc9d7adfda4a24", "created_at": "2024-01-19T21:42:16Z", + "updated_at": "2024-01-19T21:42:16Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:42:16Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e848d6cdabca4f4478a94ec9db35060a45.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_e6f5e02692d04c5aa98fd2c1504c6fa6", "object": + "Rate", "created_at": "2024-01-19T21:42:15Z", "updated_at": "2024-01-19T21:42:15Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_1b88cbe26946440d8d1afca25750e9ac", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_91cefc3a1bb14cde8bb802596874569a", + "object": "Rate", "created_at": "2024-01-19T21:42:15Z", "updated_at": "2024-01-19T21:42:15Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_1b88cbe26946440d8d1afca25750e9ac", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_10b5dd00cb2d480cb9c002a247364804", + "object": "Rate", "created_at": "2024-01-19T21:42:15Z", "updated_at": "2024-01-19T21:42:15Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_1b88cbe26946440d8d1afca25750e9ac", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_990668e782fd40a39592ea64a5fe9e17", "object": "Rate", "created_at": + "2024-01-19T21:42:15Z", "updated_at": "2024-01-19T21:42:15Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_1b88cbe26946440d8d1afca25750e9ac", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_93b8f4328b794587b6289577e4a1110c", "object": "Rate", "created_at": + "2024-01-19T21:42:15Z", "updated_at": "2024-01-19T21:42:15Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_1b88cbe26946440d8d1afca25750e9ac", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_e6f5e02692d04c5aa98fd2c1504c6fa6", + "object": "Rate", "created_at": "2024-01-19T21:42:16Z", "updated_at": "2024-01-19T21:42:16Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_1b88cbe26946440d8d1afca25750e9ac", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_783fdb3f049b43c9a1092ed41513055e", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010707832", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:42:16Z", + "updated_at": "2024-01-19T21:42:16Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_1b88cbe26946440d8d1afca25750e9ac", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzc4M2ZkYjNmMDQ5YjQzYzlhMTA5MmVkNDE1MTMwNTVl"}, + "to_address": {"id": "adr_9ca97784b71311eea67fac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T21:42:15+00:00", "updated_at": "2024-01-19T21:42:15+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_9cababedb71311eeb632ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:42:15+00:00", "updated_at": + "2024-01-19T21:42:15+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_9ca97784b71311eea67fac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:42:15+00:00", "updated_at": "2024-01-19T21:42:15+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_1b88cbe26946440d8d1afca25750e9ac", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_1b88cbe26946440d8d1afca25750e9ac + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaecb7e78b9f87000d0e1d + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.178823' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"amount": "100"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '17' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments/shp_1b88cbe26946440d8d1afca25750e9ac/insure + response: + body: + string: '{"created_at": "2024-01-19T21:42:15Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010707832", "updated_at": "2024-01-19T21:42:16Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_b61da81f3f754df591a18d03da8a92f1", "object": "CustomsInfo", "created_at": + "2024-01-19T21:42:15Z", "updated_at": "2024-01-19T21:42:15Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_f1b7d8c06ec44590b739cae12a9a05ed", + "object": "CustomsItem", "created_at": "2024-01-19T21:42:15Z", "updated_at": + "2024-01-19T21:42:15Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_9cababedb71311eeb632ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:42:15+00:00", "updated_at": + "2024-01-19T21:42:15+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": "100.00", "order_id": null, "parcel": {"id": "prcl_99b14a8ae7a2443fbc6ba0955ca25c5d", + "object": "Parcel", "created_at": "2024-01-19T21:42:15Z", "updated_at": "2024-01-19T21:42:15Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_9372da71bf814abebcfc9d7adfda4a24", "created_at": "2024-01-19T21:42:16Z", + "updated_at": "2024-01-19T21:42:16Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:42:16Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e848d6cdabca4f4478a94ec9db35060a45.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_e6f5e02692d04c5aa98fd2c1504c6fa6", "object": + "Rate", "created_at": "2024-01-19T21:42:15Z", "updated_at": "2024-01-19T21:42:15Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_1b88cbe26946440d8d1afca25750e9ac", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_91cefc3a1bb14cde8bb802596874569a", + "object": "Rate", "created_at": "2024-01-19T21:42:15Z", "updated_at": "2024-01-19T21:42:15Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_1b88cbe26946440d8d1afca25750e9ac", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_10b5dd00cb2d480cb9c002a247364804", + "object": "Rate", "created_at": "2024-01-19T21:42:15Z", "updated_at": "2024-01-19T21:42:15Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_1b88cbe26946440d8d1afca25750e9ac", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_990668e782fd40a39592ea64a5fe9e17", "object": "Rate", "created_at": + "2024-01-19T21:42:15Z", "updated_at": "2024-01-19T21:42:15Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_1b88cbe26946440d8d1afca25750e9ac", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_93b8f4328b794587b6289577e4a1110c", "object": "Rate", "created_at": + "2024-01-19T21:42:15Z", "updated_at": "2024-01-19T21:42:15Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_1b88cbe26946440d8d1afca25750e9ac", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_e6f5e02692d04c5aa98fd2c1504c6fa6", + "object": "Rate", "created_at": "2024-01-19T21:42:16Z", "updated_at": "2024-01-19T21:42:16Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_1b88cbe26946440d8d1afca25750e9ac", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_783fdb3f049b43c9a1092ed41513055e", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010707832", + "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:42:16Z", + "updated_at": "2024-01-19T21:42:16Z", "signed_by": null, "weight": null, "est_delivery_date": + "2024-01-19T21:42:16Z", "shipment_id": "shp_1b88cbe26946440d8d1afca25750e9ac", + "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": + "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-19T21:42:16Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", + "message": "Shipping Label Created", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-20T10:19:16Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": + null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": + null}, "public_url": "https://track.easypost.com/djE6dHJrXzc4M2ZkYjNmMDQ5YjQzYzlhMTA5MmVkNDE1MTMwNTVl"}, + "to_address": {"id": "adr_9ca97784b71311eea67fac1f6bc53342", "object": "Address", + "created_at": "2024-01-19T21:42:15+00:00", "updated_at": "2024-01-19T21:42:15+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_9cababedb71311eeb632ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:42:15+00:00", "updated_at": + "2024-01-19T21:42:15+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_9ca97784b71311eea67fac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:42:15+00:00", "updated_at": "2024-01-19T21:42:15+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}, {"object": "Fee", + "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": + false}], "id": "shp_1b88cbe26946440d8d1afca25750e9ac", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '9574' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaecb8e78b9f88000d0ef6 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.192136' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"], + "insurance": 0}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1004' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:44:12Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010708143", "updated_at": "2024-01-19T21:44:13Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_fd0072bf9acf4bf0aa03ca49b463015b", "object": "CustomsInfo", "created_at": + "2024-01-19T21:44:12Z", "updated_at": "2024-01-19T21:44:12Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_b3e99a153f144aa4b703cb5fbd90b769", + "object": "CustomsItem", "created_at": "2024-01-19T21:44:12Z", "updated_at": + "2024-01-19T21:44:12Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_e25d9c2cb71311ee8025ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:44:12+00:00", "updated_at": + "2024-01-19T21:44:12+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_767864a9daf34080aa3cfff8f6f2b0ef", + "object": "Parcel", "created_at": "2024-01-19T21:44:12Z", "updated_at": "2024-01-19T21:44:12Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_d33539fa05c3417d995fb854b3e3cbc1", "created_at": "2024-01-19T21:44:13Z", + "updated_at": "2024-01-19T21:44:13Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:44:13Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8c1c953457b654803a98e7daf9d8b4a82.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_97010d855e724e239ec070978aaea793", "object": + "Rate", "created_at": "2024-01-19T21:44:12Z", "updated_at": "2024-01-19T21:44:12Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_09762a154e9a47d7a366232f343ef84b", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_6d40b0838b3f4978ba67a214ac27af42", + "object": "Rate", "created_at": "2024-01-19T21:44:12Z", "updated_at": "2024-01-19T21:44:12Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_09762a154e9a47d7a366232f343ef84b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_38c84a94276f432cbedf466158d5eaa5", "object": "Rate", "created_at": + "2024-01-19T21:44:12Z", "updated_at": "2024-01-19T21:44:12Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_09762a154e9a47d7a366232f343ef84b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_b7290d290e804baaa1e4f3b8bee5dd00", "object": "Rate", "created_at": + "2024-01-19T21:44:12Z", "updated_at": "2024-01-19T21:44:12Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_09762a154e9a47d7a366232f343ef84b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_d9e9c162cd734ee7b3ddf12ede93ca1e", "object": "Rate", "created_at": + "2024-01-19T21:44:12Z", "updated_at": "2024-01-19T21:44:12Z", "mode": "test", + "service": "Priority", "carrier": "USPS", "rate": "7.99", "currency": "USD", + "retail_rate": "14.05", "retail_currency": "USD", "list_rate": "10.27", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": + "shp_09762a154e9a47d7a366232f343ef84b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_d9e9c162cd734ee7b3ddf12ede93ca1e", + "object": "Rate", "created_at": "2024-01-19T21:44:13Z", "updated_at": "2024-01-19T21:44:13Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_09762a154e9a47d7a366232f343ef84b", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_f1987fe517404992ad1454ff5cf5cc43", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708143", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:44:13Z", + "updated_at": "2024-01-19T21:44:13Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_09762a154e9a47d7a366232f343ef84b", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrX2YxOTg3ZmU1MTc0MDQ5OTJhZDE0NTRmZjVjZjVjYzQz"}, + "to_address": {"id": "adr_e25b9148b71311ee8f11ac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T21:44:12+00:00", "updated_at": "2024-01-19T21:44:12+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_e25d9c2cb71311ee8025ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:44:12+00:00", "updated_at": + "2024-01-19T21:44:12+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_e25b9148b71311ee8f11ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:44:12+00:00", "updated_at": "2024-01-19T21:44:12+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_09762a154e9a47d7a366232f343ef84b", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_09762a154e9a47d7a366232f343ef84b + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaed2ce78ba7c4000d5341 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.213695' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"amount": "100"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '17' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments/shp_09762a154e9a47d7a366232f343ef84b/insure + response: + body: + string: '{"created_at": "2024-01-19T21:44:12Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010708143", "updated_at": "2024-01-19T21:44:13Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_fd0072bf9acf4bf0aa03ca49b463015b", "object": "CustomsInfo", "created_at": + "2024-01-19T21:44:12Z", "updated_at": "2024-01-19T21:44:12Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_b3e99a153f144aa4b703cb5fbd90b769", + "object": "CustomsItem", "created_at": "2024-01-19T21:44:12Z", "updated_at": + "2024-01-19T21:44:12Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_e25d9c2cb71311ee8025ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:44:12+00:00", "updated_at": + "2024-01-19T21:44:12+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": "100.00", "order_id": null, "parcel": {"id": "prcl_767864a9daf34080aa3cfff8f6f2b0ef", + "object": "Parcel", "created_at": "2024-01-19T21:44:12Z", "updated_at": "2024-01-19T21:44:12Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_d33539fa05c3417d995fb854b3e3cbc1", "created_at": "2024-01-19T21:44:13Z", + "updated_at": "2024-01-19T21:44:13Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:44:13Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8c1c953457b654803a98e7daf9d8b4a82.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_97010d855e724e239ec070978aaea793", "object": + "Rate", "created_at": "2024-01-19T21:44:12Z", "updated_at": "2024-01-19T21:44:12Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_09762a154e9a47d7a366232f343ef84b", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_6d40b0838b3f4978ba67a214ac27af42", + "object": "Rate", "created_at": "2024-01-19T21:44:12Z", "updated_at": "2024-01-19T21:44:12Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_09762a154e9a47d7a366232f343ef84b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_38c84a94276f432cbedf466158d5eaa5", "object": "Rate", "created_at": + "2024-01-19T21:44:12Z", "updated_at": "2024-01-19T21:44:12Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_09762a154e9a47d7a366232f343ef84b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_b7290d290e804baaa1e4f3b8bee5dd00", "object": "Rate", "created_at": + "2024-01-19T21:44:12Z", "updated_at": "2024-01-19T21:44:12Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_09762a154e9a47d7a366232f343ef84b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_d9e9c162cd734ee7b3ddf12ede93ca1e", "object": "Rate", "created_at": + "2024-01-19T21:44:12Z", "updated_at": "2024-01-19T21:44:12Z", "mode": "test", + "service": "Priority", "carrier": "USPS", "rate": "7.99", "currency": "USD", + "retail_rate": "14.05", "retail_currency": "USD", "list_rate": "10.27", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": + "shp_09762a154e9a47d7a366232f343ef84b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_d9e9c162cd734ee7b3ddf12ede93ca1e", + "object": "Rate", "created_at": "2024-01-19T21:44:13Z", "updated_at": "2024-01-19T21:44:13Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_09762a154e9a47d7a366232f343ef84b", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_f1987fe517404992ad1454ff5cf5cc43", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708143", + "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:44:13Z", + "updated_at": "2024-01-19T21:44:13Z", "signed_by": null, "weight": null, "est_delivery_date": + "2024-01-19T21:44:13Z", "shipment_id": "shp_09762a154e9a47d7a366232f343ef84b", + "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": + "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-19T21:44:13Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", + "message": "Shipping Label Created", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-20T10:21:13Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": + null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": + null}, "public_url": "https://track.easypost.com/djE6dHJrX2YxOTg3ZmU1MTc0MDQ5OTJhZDE0NTRmZjVjZjVjYzQz"}, + "to_address": {"id": "adr_e25b9148b71311ee8f11ac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T21:44:12+00:00", "updated_at": "2024-01-19T21:44:12+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_e25d9c2cb71311ee8025ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:44:12+00:00", "updated_at": + "2024-01-19T21:44:12+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_e25b9148b71311ee8f11ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:44:12+00:00", "updated_at": "2024-01-19T21:44:12+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}, {"object": "Fee", + "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": + false}], "id": "shp_09762a154e9a47d7a366232f343ef84b", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '9574' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaed2de78ba7c5000d5413 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.180180' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"], + "insurance": 0}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1004' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:48:05Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010708624", "updated_at": "2024-01-19T21:48:06Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_cc63846f59ab42019a94a2bf74fe0cf9", "object": "CustomsInfo", "created_at": + "2024-01-19T21:48:05Z", "updated_at": "2024-01-19T21:48:05Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_07e49229d9564ee6a37228b0caf33458", + "object": "CustomsItem", "created_at": "2024-01-19T21:48:05Z", "updated_at": + "2024-01-19T21:48:05Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_6d00c355b71411eea9d23cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:48:05+00:00", "updated_at": + "2024-01-19T21:48:05+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_f7047f14a6e84658aa5f7602449671a1", + "object": "Parcel", "created_at": "2024-01-19T21:48:05Z", "updated_at": "2024-01-19T21:48:05Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_b88c20c62b2e463b9791bb016f120957", "created_at": "2024-01-19T21:48:05Z", + "updated_at": "2024-01-19T21:48:05Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:48:05Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e81c17937cd797497ea32460299ad6c3d8.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_b1affcf494fb4a49b880e568dd2326b1", "object": + "Rate", "created_at": "2024-01-19T21:48:05Z", "updated_at": "2024-01-19T21:48:05Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_a6b3fe8dc7804c51bf4f047f6cfed89c", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4af5241f9c4447489db2097491763347", + "object": "Rate", "created_at": "2024-01-19T21:48:05Z", "updated_at": "2024-01-19T21:48:05Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_a6b3fe8dc7804c51bf4f047f6cfed89c", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_6aacf6848ba341a9a59dd762d6ac479a", + "object": "Rate", "created_at": "2024-01-19T21:48:05Z", "updated_at": "2024-01-19T21:48:05Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_a6b3fe8dc7804c51bf4f047f6cfed89c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_368cb5bb2ca94e9fa4ddc9c472939a8b", "object": "Rate", "created_at": + "2024-01-19T21:48:05Z", "updated_at": "2024-01-19T21:48:05Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_a6b3fe8dc7804c51bf4f047f6cfed89c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_d0279f3a94c14c64b801dd28b82c1af5", "object": "Rate", "created_at": + "2024-01-19T21:48:05Z", "updated_at": "2024-01-19T21:48:05Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_a6b3fe8dc7804c51bf4f047f6cfed89c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_b1affcf494fb4a49b880e568dd2326b1", + "object": "Rate", "created_at": "2024-01-19T21:48:05Z", "updated_at": "2024-01-19T21:48:05Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_a6b3fe8dc7804c51bf4f047f6cfed89c", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_15bfb692feff4d139898d88d44a999dc", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708624", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:48:06Z", + "updated_at": "2024-01-19T21:48:06Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_a6b3fe8dc7804c51bf4f047f6cfed89c", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzE1YmZiNjkyZmVmZjRkMTM5ODk4ZDg4ZDQ0YTk5OWRj"}, + "to_address": {"id": "adr_6cfe63f5b71411eeacf0ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:48:05+00:00", "updated_at": "2024-01-19T21:48:05+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_6d00c355b71411eea9d23cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:48:05+00:00", "updated_at": + "2024-01-19T21:48:05+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_6cfe63f5b71411eeacf0ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:48:05+00:00", "updated_at": "2024-01-19T21:48:05+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_a6b3fe8dc7804c51bf4f047f6cfed89c", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_a6b3fe8dc7804c51bf4f047f6cfed89c + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda865aaee15e78bb04700114a6a + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '1.065028' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"amount": "100"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '17' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments/shp_a6b3fe8dc7804c51bf4f047f6cfed89c/insure + response: + body: + string: '{"created_at": "2024-01-19T21:48:05Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010708624", "updated_at": "2024-01-19T21:48:06Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_cc63846f59ab42019a94a2bf74fe0cf9", "object": "CustomsInfo", "created_at": + "2024-01-19T21:48:05Z", "updated_at": "2024-01-19T21:48:05Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_07e49229d9564ee6a37228b0caf33458", + "object": "CustomsItem", "created_at": "2024-01-19T21:48:05Z", "updated_at": + "2024-01-19T21:48:05Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_6d00c355b71411eea9d23cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:48:05+00:00", "updated_at": + "2024-01-19T21:48:05+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": "100.00", "order_id": null, "parcel": {"id": "prcl_f7047f14a6e84658aa5f7602449671a1", + "object": "Parcel", "created_at": "2024-01-19T21:48:05Z", "updated_at": "2024-01-19T21:48:05Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_b88c20c62b2e463b9791bb016f120957", "created_at": "2024-01-19T21:48:05Z", + "updated_at": "2024-01-19T21:48:05Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:48:05Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e81c17937cd797497ea32460299ad6c3d8.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_b1affcf494fb4a49b880e568dd2326b1", "object": + "Rate", "created_at": "2024-01-19T21:48:05Z", "updated_at": "2024-01-19T21:48:05Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_a6b3fe8dc7804c51bf4f047f6cfed89c", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4af5241f9c4447489db2097491763347", + "object": "Rate", "created_at": "2024-01-19T21:48:05Z", "updated_at": "2024-01-19T21:48:05Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_a6b3fe8dc7804c51bf4f047f6cfed89c", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_6aacf6848ba341a9a59dd762d6ac479a", + "object": "Rate", "created_at": "2024-01-19T21:48:05Z", "updated_at": "2024-01-19T21:48:05Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_a6b3fe8dc7804c51bf4f047f6cfed89c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_368cb5bb2ca94e9fa4ddc9c472939a8b", "object": "Rate", "created_at": + "2024-01-19T21:48:05Z", "updated_at": "2024-01-19T21:48:05Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_a6b3fe8dc7804c51bf4f047f6cfed89c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_d0279f3a94c14c64b801dd28b82c1af5", "object": "Rate", "created_at": + "2024-01-19T21:48:05Z", "updated_at": "2024-01-19T21:48:05Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_a6b3fe8dc7804c51bf4f047f6cfed89c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_b1affcf494fb4a49b880e568dd2326b1", + "object": "Rate", "created_at": "2024-01-19T21:48:05Z", "updated_at": "2024-01-19T21:48:05Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_a6b3fe8dc7804c51bf4f047f6cfed89c", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_15bfb692feff4d139898d88d44a999dc", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708624", + "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:48:06Z", + "updated_at": "2024-01-19T21:48:06Z", "signed_by": null, "weight": null, "est_delivery_date": + "2024-01-19T21:48:06Z", "shipment_id": "shp_a6b3fe8dc7804c51bf4f047f6cfed89c", + "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": + "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-19T21:48:06Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", + "message": "Shipping Label Created", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-20T10:25:06Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": + null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": + null}, "public_url": "https://track.easypost.com/djE6dHJrXzE1YmZiNjkyZmVmZjRkMTM5ODk4ZDg4ZDQ0YTk5OWRj"}, + "to_address": {"id": "adr_6cfe63f5b71411eeacf0ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:48:05+00:00", "updated_at": "2024-01-19T21:48:05+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_6d00c355b71411eea9d23cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:48:05+00:00", "updated_at": + "2024-01-19T21:48:05+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_6cfe63f5b71411eeacf0ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:48:05+00:00", "updated_at": "2024-01-19T21:48:05+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}, {"object": "Fee", + "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": + false}], "id": "shp_a6b3fe8dc7804c51bf4f047f6cfed89c", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '9574' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdad65aaee16e78bb04800114b29 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.201373' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"], + "insurance": 0}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1004' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:50:00Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010709232", "updated_at": "2024-01-19T21:50:01Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_d9c3c0c4e8e54100aaf62b334f5f9789", "object": "CustomsInfo", "created_at": + "2024-01-19T21:50:00Z", "updated_at": "2024-01-19T21:50:00Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_3a2348d7b5bc4b78883e856f68a0499f", + "object": "CustomsItem", "created_at": "2024-01-19T21:50:00Z", "updated_at": + "2024-01-19T21:50:00Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_b1c3ccadb71411ee90c8ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:50:00+00:00", "updated_at": + "2024-01-19T21:50:00+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_226d676dcb70465fa11ad38d70ff074d", + "object": "Parcel", "created_at": "2024-01-19T21:50:00Z", "updated_at": "2024-01-19T21:50:00Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_b67157eb41d44c5ebca4c6a56b97a28b", "created_at": "2024-01-19T21:50:01Z", + "updated_at": "2024-01-19T21:50:01Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:50:01Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8dce4184ba86c4e81b7b85c46ddd0bbfc.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_e836a0cb7d844783a944377b6b336537", "object": + "Rate", "created_at": "2024-01-19T21:50:00Z", "updated_at": "2024-01-19T21:50:00Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_e6890d7bdcba4918bad87fdcc87deb6a", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_3ff69eb7d27d4b108a724f054566f2bb", + "object": "Rate", "created_at": "2024-01-19T21:50:00Z", "updated_at": "2024-01-19T21:50:00Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_e6890d7bdcba4918bad87fdcc87deb6a", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f5678165145c411189d818e9a9c68065", + "object": "Rate", "created_at": "2024-01-19T21:50:00Z", "updated_at": "2024-01-19T21:50:00Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_e6890d7bdcba4918bad87fdcc87deb6a", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4a3e38b46d264548b8d6991122b5fbd5", + "object": "Rate", "created_at": "2024-01-19T21:50:00Z", "updated_at": "2024-01-19T21:50:00Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_e6890d7bdcba4918bad87fdcc87deb6a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_76a03ea64c744659a9a8c070c6cd2ab3", "object": "Rate", "created_at": + "2024-01-19T21:50:00Z", "updated_at": "2024-01-19T21:50:00Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_e6890d7bdcba4918bad87fdcc87deb6a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_3ff69eb7d27d4b108a724f054566f2bb", + "object": "Rate", "created_at": "2024-01-19T21:50:01Z", "updated_at": "2024-01-19T21:50:01Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_e6890d7bdcba4918bad87fdcc87deb6a", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_868d8dd515a74ae4aeb0f1e89d160df1", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010709232", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:50:01Z", + "updated_at": "2024-01-19T21:50:01Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_e6890d7bdcba4918bad87fdcc87deb6a", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzg2OGQ4ZGQ1MTVhNzRhZTRhZWIwZjFlODlkMTYwZGYx"}, + "to_address": {"id": "adr_b1c13cebb71411ee828dac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:50:00+00:00", "updated_at": "2024-01-19T21:50:00+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_b1c3ccadb71411ee90c8ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:50:00+00:00", "updated_at": + "2024-01-19T21:50:00+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_b1c13cebb71411ee828dac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:50:00+00:00", "updated_at": "2024-01-19T21:50:00+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_e6890d7bdcba4918bad87fdcc87deb6a", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_e6890d7bdcba4918bad87fdcc87deb6a + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdae65aaee88e78bb86a00118c22 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '1.164822' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"amount": "100"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '17' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments/shp_e6890d7bdcba4918bad87fdcc87deb6a/insure + response: + body: + string: '{"created_at": "2024-01-19T21:50:00Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010709232", "updated_at": "2024-01-19T21:50:01Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_d9c3c0c4e8e54100aaf62b334f5f9789", "object": "CustomsInfo", "created_at": + "2024-01-19T21:50:00Z", "updated_at": "2024-01-19T21:50:00Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_3a2348d7b5bc4b78883e856f68a0499f", + "object": "CustomsItem", "created_at": "2024-01-19T21:50:00Z", "updated_at": + "2024-01-19T21:50:00Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_b1c3ccadb71411ee90c8ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:50:00+00:00", "updated_at": + "2024-01-19T21:50:00+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": "100.00", "order_id": null, "parcel": {"id": "prcl_226d676dcb70465fa11ad38d70ff074d", + "object": "Parcel", "created_at": "2024-01-19T21:50:00Z", "updated_at": "2024-01-19T21:50:00Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_b67157eb41d44c5ebca4c6a56b97a28b", "created_at": "2024-01-19T21:50:01Z", + "updated_at": "2024-01-19T21:50:01Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:50:01Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8dce4184ba86c4e81b7b85c46ddd0bbfc.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_e836a0cb7d844783a944377b6b336537", "object": + "Rate", "created_at": "2024-01-19T21:50:00Z", "updated_at": "2024-01-19T21:50:00Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_e6890d7bdcba4918bad87fdcc87deb6a", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_3ff69eb7d27d4b108a724f054566f2bb", + "object": "Rate", "created_at": "2024-01-19T21:50:00Z", "updated_at": "2024-01-19T21:50:00Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_e6890d7bdcba4918bad87fdcc87deb6a", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f5678165145c411189d818e9a9c68065", + "object": "Rate", "created_at": "2024-01-19T21:50:00Z", "updated_at": "2024-01-19T21:50:00Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_e6890d7bdcba4918bad87fdcc87deb6a", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4a3e38b46d264548b8d6991122b5fbd5", + "object": "Rate", "created_at": "2024-01-19T21:50:00Z", "updated_at": "2024-01-19T21:50:00Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_e6890d7bdcba4918bad87fdcc87deb6a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_76a03ea64c744659a9a8c070c6cd2ab3", "object": "Rate", "created_at": + "2024-01-19T21:50:00Z", "updated_at": "2024-01-19T21:50:00Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_e6890d7bdcba4918bad87fdcc87deb6a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_3ff69eb7d27d4b108a724f054566f2bb", + "object": "Rate", "created_at": "2024-01-19T21:50:01Z", "updated_at": "2024-01-19T21:50:01Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_e6890d7bdcba4918bad87fdcc87deb6a", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_868d8dd515a74ae4aeb0f1e89d160df1", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010709232", + "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:50:01Z", + "updated_at": "2024-01-19T21:50:01Z", "signed_by": null, "weight": null, "est_delivery_date": + "2024-01-19T21:50:01Z", "shipment_id": "shp_e6890d7bdcba4918bad87fdcc87deb6a", + "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": + "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-19T21:50:01Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", + "message": "Shipping Label Created", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-20T10:27:01Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": + null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": + null}, "public_url": "https://track.easypost.com/djE6dHJrXzg2OGQ4ZGQ1MTVhNzRhZTRhZWIwZjFlODlkMTYwZGYx"}, + "to_address": {"id": "adr_b1c13cebb71411ee828dac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:50:00+00:00", "updated_at": "2024-01-19T21:50:00+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_b1c3ccadb71411ee90c8ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:50:00+00:00", "updated_at": + "2024-01-19T21:50:00+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_b1c13cebb71411ee828dac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:50:00+00:00", "updated_at": "2024-01-19T21:50:00+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}, {"object": "Fee", + "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": + false}], "id": "shp_e6890d7bdcba4918bad87fdcc87deb6a", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '9574' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda765aaee89e78bb86b00118cd4 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.200671' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"], + "insurance": 0}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1004' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:59:19Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010711617", "updated_at": "2024-01-19T21:59:20Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_08ce1b5abaca4e63b50ace65a7b93c14", "object": "CustomsInfo", "created_at": + "2024-01-19T21:59:19Z", "updated_at": "2024-01-19T21:59:19Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_22885b30d3f7401391b0896e1d02ce6c", + "object": "CustomsItem", "created_at": "2024-01-19T21:59:19Z", "updated_at": + "2024-01-19T21:59:19Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_ff3cd26cb71511ee8028ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:59:19+00:00", "updated_at": + "2024-01-19T21:59:19+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_747f2088f7124be5acd2ae4fb67aedd9", + "object": "Parcel", "created_at": "2024-01-19T21:59:19Z", "updated_at": "2024-01-19T21:59:19Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_d263243c806c4b4289e12dfa7e5eaed5", "created_at": "2024-01-19T21:59:20Z", + "updated_at": "2024-01-19T21:59:20Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:59:20Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e85ea91f7ef7fc4288882d0529de624114.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_8b9d72d160dd45ec986af80e80e2e3cb", "object": + "Rate", "created_at": "2024-01-19T21:59:20Z", "updated_at": "2024-01-19T21:59:20Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_4cb2ac419eb04d1da5c923fd9b3785e8", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_a4d36ae8284348ad893321858e2a1b9d", + "object": "Rate", "created_at": "2024-01-19T21:59:20Z", "updated_at": "2024-01-19T21:59:20Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_4cb2ac419eb04d1da5c923fd9b3785e8", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c44da9b860de4be9b50e316f4d2e4c4f", + "object": "Rate", "created_at": "2024-01-19T21:59:20Z", "updated_at": "2024-01-19T21:59:20Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_4cb2ac419eb04d1da5c923fd9b3785e8", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_55dd0ae2d4544068b26bbecc581801f9", + "object": "Rate", "created_at": "2024-01-19T21:59:20Z", "updated_at": "2024-01-19T21:59:20Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_4cb2ac419eb04d1da5c923fd9b3785e8", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_56bb871445534714bb703c128cf3092b", "object": "Rate", "created_at": + "2024-01-19T21:59:20Z", "updated_at": "2024-01-19T21:59:20Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_4cb2ac419eb04d1da5c923fd9b3785e8", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_a4d36ae8284348ad893321858e2a1b9d", + "object": "Rate", "created_at": "2024-01-19T21:59:20Z", "updated_at": "2024-01-19T21:59:20Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_4cb2ac419eb04d1da5c923fd9b3785e8", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_b14d8cb4d02247f1ae3fbf6d40460ce6", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711617", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:59:21Z", + "updated_at": "2024-01-19T21:59:21Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_4cb2ac419eb04d1da5c923fd9b3785e8", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrX2IxNGQ4Y2I0ZDAyMjQ3ZjFhZTNmYmY2ZDQwNDYwY2U2"}, + "to_address": {"id": "adr_ff39e99ab71511eeb1d7ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:59:19+00:00", "updated_at": "2024-01-19T21:59:20+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_ff3cd26cb71511ee8028ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:59:19+00:00", "updated_at": + "2024-01-19T21:59:19+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_ff39e99ab71511eeb1d7ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:59:19+00:00", "updated_at": "2024-01-19T21:59:20+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_4cb2ac419eb04d1da5c923fd9b3785e8", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_4cb2ac419eb04d1da5c923fd9b3785e8 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaf0b7e798c01c000f9116 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.186366' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"amount": "100"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '17' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments/shp_4cb2ac419eb04d1da5c923fd9b3785e8/insure + response: + body: + string: '{"created_at": "2024-01-19T21:59:19Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010711617", "updated_at": "2024-01-19T21:59:20Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_08ce1b5abaca4e63b50ace65a7b93c14", "object": "CustomsInfo", "created_at": + "2024-01-19T21:59:19Z", "updated_at": "2024-01-19T21:59:19Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_22885b30d3f7401391b0896e1d02ce6c", + "object": "CustomsItem", "created_at": "2024-01-19T21:59:19Z", "updated_at": + "2024-01-19T21:59:19Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_ff3cd26cb71511ee8028ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:59:19+00:00", "updated_at": + "2024-01-19T21:59:19+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": "100.00", "order_id": null, "parcel": {"id": "prcl_747f2088f7124be5acd2ae4fb67aedd9", + "object": "Parcel", "created_at": "2024-01-19T21:59:19Z", "updated_at": "2024-01-19T21:59:19Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_d263243c806c4b4289e12dfa7e5eaed5", "created_at": "2024-01-19T21:59:20Z", + "updated_at": "2024-01-19T21:59:20Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T21:59:20Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e85ea91f7ef7fc4288882d0529de624114.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_8b9d72d160dd45ec986af80e80e2e3cb", "object": + "Rate", "created_at": "2024-01-19T21:59:20Z", "updated_at": "2024-01-19T21:59:20Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_4cb2ac419eb04d1da5c923fd9b3785e8", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_a4d36ae8284348ad893321858e2a1b9d", + "object": "Rate", "created_at": "2024-01-19T21:59:20Z", "updated_at": "2024-01-19T21:59:20Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_4cb2ac419eb04d1da5c923fd9b3785e8", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c44da9b860de4be9b50e316f4d2e4c4f", + "object": "Rate", "created_at": "2024-01-19T21:59:20Z", "updated_at": "2024-01-19T21:59:20Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_4cb2ac419eb04d1da5c923fd9b3785e8", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_55dd0ae2d4544068b26bbecc581801f9", + "object": "Rate", "created_at": "2024-01-19T21:59:20Z", "updated_at": "2024-01-19T21:59:20Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_4cb2ac419eb04d1da5c923fd9b3785e8", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_56bb871445534714bb703c128cf3092b", "object": "Rate", "created_at": + "2024-01-19T21:59:20Z", "updated_at": "2024-01-19T21:59:20Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_4cb2ac419eb04d1da5c923fd9b3785e8", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_a4d36ae8284348ad893321858e2a1b9d", + "object": "Rate", "created_at": "2024-01-19T21:59:20Z", "updated_at": "2024-01-19T21:59:20Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_4cb2ac419eb04d1da5c923fd9b3785e8", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_b14d8cb4d02247f1ae3fbf6d40460ce6", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711617", + "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:59:21Z", + "updated_at": "2024-01-19T21:59:21Z", "signed_by": null, "weight": null, "est_delivery_date": + "2024-01-19T21:59:21Z", "shipment_id": "shp_4cb2ac419eb04d1da5c923fd9b3785e8", + "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": + "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-19T21:59:21Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", + "message": "Shipping Label Created", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-20T10:36:21Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": + null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": + null}, "public_url": "https://track.easypost.com/djE6dHJrX2IxNGQ4Y2I0ZDAyMjQ3ZjFhZTNmYmY2ZDQwNDYwY2U2"}, + "to_address": {"id": "adr_ff39e99ab71511eeb1d7ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T21:59:19+00:00", "updated_at": "2024-01-19T21:59:20+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_ff3cd26cb71511ee8028ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:59:19+00:00", "updated_at": + "2024-01-19T21:59:19+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_ff39e99ab71511eeb1d7ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:59:19+00:00", "updated_at": "2024-01-19T21:59:20+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}, {"object": "Fee", + "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": + false}], "id": "shp_4cb2ac419eb04d1da5c923fd9b3785e8", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '9574' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf0b9e798c01d000f9233 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.222979' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"], + "insurance": 0}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1004' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T22:02:15Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010712010", "updated_at": "2024-01-19T22:02:16Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_84dbe653f4ff43678c8a3382367dd56a", "object": "CustomsInfo", "created_at": + "2024-01-19T22:02:15Z", "updated_at": "2024-01-19T22:02:15Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_3693b990e6864483b186e0905fd5f39c", + "object": "CustomsItem", "created_at": "2024-01-19T22:02:15Z", "updated_at": + "2024-01-19T22:02:15Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_67c3eef9b71611ee8f873cecef1b359e", + "object": "Address", "created_at": "2024-01-19T22:02:15+00:00", "updated_at": + "2024-01-19T22:02:15+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_3d0642f5e8b24158a4d14ff3e6b5ec56", + "object": "Parcel", "created_at": "2024-01-19T22:02:15Z", "updated_at": "2024-01-19T22:02:15Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_08823a499e454d918ded62e21b12518b", "created_at": "2024-01-19T22:02:15Z", + "updated_at": "2024-01-19T22:02:16Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T22:02:15Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8fcb38caf45b2487fa433cb2c7b79f331.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_02e3f743912648279018e16026bf1ca7", "object": + "Rate", "created_at": "2024-01-19T22:02:15Z", "updated_at": "2024-01-19T22:02:15Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_6643f05ef56a40f3bfd702548750d5d3", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_7b63a7be9e7748ceac1d54de497d1553", + "object": "Rate", "created_at": "2024-01-19T22:02:15Z", "updated_at": "2024-01-19T22:02:15Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_6643f05ef56a40f3bfd702548750d5d3", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_d27b30ec396c440198eb5a461549cec7", + "object": "Rate", "created_at": "2024-01-19T22:02:15Z", "updated_at": "2024-01-19T22:02:15Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_6643f05ef56a40f3bfd702548750d5d3", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_464da21527074278844f873962581eb3", "object": "Rate", "created_at": + "2024-01-19T22:02:15Z", "updated_at": "2024-01-19T22:02:15Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_6643f05ef56a40f3bfd702548750d5d3", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_0e7b1575835f4214b1ff6fbcf0201d4f", "object": "Rate", "created_at": + "2024-01-19T22:02:15Z", "updated_at": "2024-01-19T22:02:15Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_6643f05ef56a40f3bfd702548750d5d3", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_02e3f743912648279018e16026bf1ca7", + "object": "Rate", "created_at": "2024-01-19T22:02:16Z", "updated_at": "2024-01-19T22:02:16Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_6643f05ef56a40f3bfd702548750d5d3", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_65bb8063950b4af594ef16f0b65c1733", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010712010", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:02:16Z", + "updated_at": "2024-01-19T22:02:16Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_6643f05ef56a40f3bfd702548750d5d3", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzY1YmI4MDYzOTUwYjRhZjU5NGVmMTZmMGI2NWMxNzMz"}, + "to_address": {"id": "adr_67c1d0cdb71611ee9357ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T22:02:15+00:00", "updated_at": "2024-01-19T22:02:15+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_67c3eef9b71611ee8f873cecef1b359e", + "object": "Address", "created_at": "2024-01-19T22:02:15+00:00", "updated_at": + "2024-01-19T22:02:15+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_67c1d0cdb71611ee9357ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T22:02:15+00:00", "updated_at": "2024-01-19T22:02:15+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_6643f05ef56a40f3bfd702548750d5d3", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_6643f05ef56a40f3bfd702548750d5d3 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaf167e798c87e00102ec4 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.165300' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"amount": "100"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '17' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments/shp_6643f05ef56a40f3bfd702548750d5d3/insure + response: + body: + string: '{"created_at": "2024-01-19T22:02:15Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010712010", "updated_at": "2024-01-19T22:02:16Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_84dbe653f4ff43678c8a3382367dd56a", "object": "CustomsInfo", "created_at": + "2024-01-19T22:02:15Z", "updated_at": "2024-01-19T22:02:15Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_3693b990e6864483b186e0905fd5f39c", + "object": "CustomsItem", "created_at": "2024-01-19T22:02:15Z", "updated_at": + "2024-01-19T22:02:15Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_67c3eef9b71611ee8f873cecef1b359e", + "object": "Address", "created_at": "2024-01-19T22:02:15+00:00", "updated_at": + "2024-01-19T22:02:15+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": "100.00", "order_id": null, "parcel": {"id": "prcl_3d0642f5e8b24158a4d14ff3e6b5ec56", + "object": "Parcel", "created_at": "2024-01-19T22:02:15Z", "updated_at": "2024-01-19T22:02:15Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_08823a499e454d918ded62e21b12518b", "created_at": "2024-01-19T22:02:15Z", + "updated_at": "2024-01-19T22:02:16Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T22:02:15Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8fcb38caf45b2487fa433cb2c7b79f331.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_02e3f743912648279018e16026bf1ca7", "object": + "Rate", "created_at": "2024-01-19T22:02:15Z", "updated_at": "2024-01-19T22:02:15Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_6643f05ef56a40f3bfd702548750d5d3", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_7b63a7be9e7748ceac1d54de497d1553", + "object": "Rate", "created_at": "2024-01-19T22:02:15Z", "updated_at": "2024-01-19T22:02:15Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_6643f05ef56a40f3bfd702548750d5d3", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_d27b30ec396c440198eb5a461549cec7", + "object": "Rate", "created_at": "2024-01-19T22:02:15Z", "updated_at": "2024-01-19T22:02:15Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_6643f05ef56a40f3bfd702548750d5d3", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_464da21527074278844f873962581eb3", "object": "Rate", "created_at": + "2024-01-19T22:02:15Z", "updated_at": "2024-01-19T22:02:15Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_6643f05ef56a40f3bfd702548750d5d3", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_0e7b1575835f4214b1ff6fbcf0201d4f", "object": "Rate", "created_at": + "2024-01-19T22:02:15Z", "updated_at": "2024-01-19T22:02:15Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_6643f05ef56a40f3bfd702548750d5d3", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_02e3f743912648279018e16026bf1ca7", + "object": "Rate", "created_at": "2024-01-19T22:02:16Z", "updated_at": "2024-01-19T22:02:16Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_6643f05ef56a40f3bfd702548750d5d3", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_65bb8063950b4af594ef16f0b65c1733", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010712010", + "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T22:02:16Z", + "updated_at": "2024-01-19T22:02:16Z", "signed_by": null, "weight": null, "est_delivery_date": + "2024-01-19T22:02:16Z", "shipment_id": "shp_6643f05ef56a40f3bfd702548750d5d3", + "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": + "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-19T22:02:16Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", + "message": "Shipping Label Created", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-20T10:39:16Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": + null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": + null}, "public_url": "https://track.easypost.com/djE6dHJrXzY1YmI4MDYzOTUwYjRhZjU5NGVmMTZmMGI2NWMxNzMz"}, + "to_address": {"id": "adr_67c1d0cdb71611ee9357ac1f6bc539ae", "object": "Address", + "created_at": "2024-01-19T22:02:15+00:00", "updated_at": "2024-01-19T22:02:15+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_67c3eef9b71611ee8f873cecef1b359e", + "object": "Address", "created_at": "2024-01-19T22:02:15+00:00", "updated_at": + "2024-01-19T22:02:15+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_67c1d0cdb71611ee9357ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T22:02:15+00:00", "updated_at": "2024-01-19T22:02:15+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}, {"object": "Fee", + "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": + false}], "id": "shp_6643f05ef56a40f3bfd702548750d5d3", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '9574' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaf168e798c87f00102ffb + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.188590' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_shipping_refund_shipments_refund_refund.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_shipping_refund_shipments_refund_refund.yaml new file mode 100644 index 00000000..d313723b --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_shipping_refund_shipments_refund_refund.yaml @@ -0,0 +1,379 @@ +interactions: +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T23:35:49Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010723160", "updated_at": "2024-01-19T23:35:50Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_2a0de82b6adb4d879b62f5f31735392d", "object": "CustomsInfo", "created_at": + "2024-01-19T23:35:49Z", "updated_at": "2024-01-19T23:35:49Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_745ac40aa547419a8ab73485a4704efb", + "object": "CustomsItem", "created_at": "2024-01-19T23:35:49Z", "updated_at": + "2024-01-19T23:35:49Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_7a33a0dcb72311eeb19cac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T23:35:49+00:00", "updated_at": + "2024-01-19T23:35:49+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_4f7d60d7ebc64aef81973c7aeccce785", + "object": "Parcel", "created_at": "2024-01-19T23:35:49Z", "updated_at": "2024-01-19T23:35:49Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_ad71f816365247a6b1581df2d25ac043", "created_at": "2024-01-19T23:35:50Z", + "updated_at": "2024-01-19T23:35:50Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T23:35:50Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8c6bff2a3d1f04aa4b9152020b5d1c759.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_cf1f7216da5b4dc79b68c6690905b358", "object": + "Rate", "created_at": "2024-01-19T23:35:49Z", "updated_at": "2024-01-19T23:35:49Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_44865aa601f74f8ba22fd4f4233a77ec", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_ea3e5d1deb5341249aa37498d27c0fcd", + "object": "Rate", "created_at": "2024-01-19T23:35:49Z", "updated_at": "2024-01-19T23:35:49Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_44865aa601f74f8ba22fd4f4233a77ec", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_52772cdf7fa1453fa0bc8b45c9a1083e", + "object": "Rate", "created_at": "2024-01-19T23:35:49Z", "updated_at": "2024-01-19T23:35:49Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_44865aa601f74f8ba22fd4f4233a77ec", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_ffb4d3cdc2374f79a7c177024d3ce56f", + "object": "Rate", "created_at": "2024-01-19T23:35:49Z", "updated_at": "2024-01-19T23:35:49Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_44865aa601f74f8ba22fd4f4233a77ec", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_901c1fcf974e4ffbb297f48832056e5d", "object": "Rate", "created_at": + "2024-01-19T23:35:49Z", "updated_at": "2024-01-19T23:35:49Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_44865aa601f74f8ba22fd4f4233a77ec", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_ea3e5d1deb5341249aa37498d27c0fcd", + "object": "Rate", "created_at": "2024-01-19T23:35:50Z", "updated_at": "2024-01-19T23:35:50Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_44865aa601f74f8ba22fd4f4233a77ec", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_1dfc834b2c154aaca434daef829248a3", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010723160", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T23:35:50Z", + "updated_at": "2024-01-19T23:35:50Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_44865aa601f74f8ba22fd4f4233a77ec", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrXzFkZmM4MzRiMmMxNTRhYWNhNDM0ZGFlZjgyOTI0OGEz"}, + "to_address": {"id": "adr_7a3129b7b72311eebc7cac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T23:35:49+00:00", "updated_at": "2024-01-19T23:35:49+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_7a33a0dcb72311eeb19cac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T23:35:49+00:00", "updated_at": + "2024-01-19T23:35:49+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_7a3129b7b72311eebc7cac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T23:35:49+00:00", "updated_at": "2024-01-19T23:35:49+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_44865aa601f74f8ba22fd4f4233a77ec", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_44865aa601f74f8ba22fd4f4233a77ec + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265ab0755e799e1a9001d2ce3 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.028189' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments/shp_44865aa601f74f8ba22fd4f4233a77ec/refund + response: + body: + string: '{"created_at": "2024-01-19T23:35:49Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010723160", "updated_at": "2024-01-19T23:35:51Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_2a0de82b6adb4d879b62f5f31735392d", "object": "CustomsInfo", "created_at": + "2024-01-19T23:35:49Z", "updated_at": "2024-01-19T23:35:49Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_745ac40aa547419a8ab73485a4704efb", + "object": "CustomsItem", "created_at": "2024-01-19T23:35:49Z", "updated_at": + "2024-01-19T23:35:49Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_7a33a0dcb72311eeb19cac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T23:35:49+00:00", "updated_at": + "2024-01-19T23:35:49+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_4f7d60d7ebc64aef81973c7aeccce785", + "object": "Parcel", "created_at": "2024-01-19T23:35:49Z", "updated_at": "2024-01-19T23:35:49Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_ad71f816365247a6b1581df2d25ac043", "created_at": "2024-01-19T23:35:50Z", + "updated_at": "2024-01-19T23:35:50Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T23:35:50Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8c6bff2a3d1f04aa4b9152020b5d1c759.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_cf1f7216da5b4dc79b68c6690905b358", "object": + "Rate", "created_at": "2024-01-19T23:35:49Z", "updated_at": "2024-01-19T23:35:49Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_44865aa601f74f8ba22fd4f4233a77ec", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_ea3e5d1deb5341249aa37498d27c0fcd", + "object": "Rate", "created_at": "2024-01-19T23:35:49Z", "updated_at": "2024-01-19T23:35:49Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_44865aa601f74f8ba22fd4f4233a77ec", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_52772cdf7fa1453fa0bc8b45c9a1083e", + "object": "Rate", "created_at": "2024-01-19T23:35:49Z", "updated_at": "2024-01-19T23:35:49Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_44865aa601f74f8ba22fd4f4233a77ec", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_ffb4d3cdc2374f79a7c177024d3ce56f", + "object": "Rate", "created_at": "2024-01-19T23:35:49Z", "updated_at": "2024-01-19T23:35:49Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_44865aa601f74f8ba22fd4f4233a77ec", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_901c1fcf974e4ffbb297f48832056e5d", "object": "Rate", "created_at": + "2024-01-19T23:35:49Z", "updated_at": "2024-01-19T23:35:49Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_44865aa601f74f8ba22fd4f4233a77ec", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": "submitted", "scan_form": null, "selected_rate": {"id": "rate_ea3e5d1deb5341249aa37498d27c0fcd", + "object": "Rate", "created_at": "2024-01-19T23:35:50Z", "updated_at": "2024-01-19T23:35:50Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_44865aa601f74f8ba22fd4f4233a77ec", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_1dfc834b2c154aaca434daef829248a3", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010723160", + "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T23:35:50Z", + "updated_at": "2024-01-19T23:35:50Z", "signed_by": null, "weight": null, "est_delivery_date": + "2024-01-19T23:35:50Z", "shipment_id": "shp_44865aa601f74f8ba22fd4f4233a77ec", + "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": + "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-19T23:35:50Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", + "message": "Shipping Label Created", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-20T12:12:50Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": + null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": + null}, "public_url": "https://track.easypost.com/djE6dHJrXzFkZmM4MzRiMmMxNTRhYWNhNDM0ZGFlZjgyOTI0OGEz"}, + "to_address": {"id": "adr_7a3129b7b72311eebc7cac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T23:35:49+00:00", "updated_at": "2024-01-19T23:35:49+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_7a33a0dcb72311eeb19cac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T23:35:49+00:00", "updated_at": + "2024-01-19T23:35:49+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_7a3129b7b72311eebc7cac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T23:35:49+00:00", "updated_at": "2024-01-19T23:35:49+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_44865aa601f74f8ba22fd4f4233a77ec", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '9487' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765ab0757e799e1c1001d2da3 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.179619' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_shipping_refund_shipping_refund_refund.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_shipping_refund_shipping_refund_refund.yaml new file mode 100644 index 00000000..e62bdefd --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_shipping_refund_shipping_refund_refund.yaml @@ -0,0 +1,377 @@ +interactions: +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", + "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '988' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T23:35:51Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010723177", "updated_at": "2024-01-19T23:35:52Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_1780613e1ba74aa7bb4bb9caa6161d24", "object": "CustomsInfo", "created_at": + "2024-01-19T23:35:51Z", "updated_at": "2024-01-19T23:35:51Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_f04aa11dae7f49f6a848bfddd88d94fc", + "object": "CustomsItem", "created_at": "2024-01-19T23:35:51Z", "updated_at": + "2024-01-19T23:35:51Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_7b4832cbb72311eea9dd3cecef1b359e", + "object": "Address", "created_at": "2024-01-19T23:35:51+00:00", "updated_at": + "2024-01-19T23:35:51+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_774744b1847f4024a33cd79035739bb8", + "object": "Parcel", "created_at": "2024-01-19T23:35:51Z", "updated_at": "2024-01-19T23:35:51Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_1bcc53c6885743c092639ac34cbdf762", "created_at": "2024-01-19T23:35:52Z", + "updated_at": "2024-01-19T23:35:52Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T23:35:52Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e832f93de179104f8ba91488c3845cba15.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_3dd671c002a6416586e86b9a9d870aae", "object": + "Rate", "created_at": "2024-01-19T23:35:51Z", "updated_at": "2024-01-19T23:35:51Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_941b6c65f8fd42a98064e44ce735c9b6", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_892e007fa01b4ce9a48a1e6939e3cdbb", + "object": "Rate", "created_at": "2024-01-19T23:35:51Z", "updated_at": "2024-01-19T23:35:51Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_941b6c65f8fd42a98064e44ce735c9b6", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_7d5e3571a4274c6c8bfe6d44b9bc54ac", + "object": "Rate", "created_at": "2024-01-19T23:35:51Z", "updated_at": "2024-01-19T23:35:51Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_941b6c65f8fd42a98064e44ce735c9b6", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_844ede7402674af8921ed358ba94e28d", + "object": "Rate", "created_at": "2024-01-19T23:35:51Z", "updated_at": "2024-01-19T23:35:51Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_941b6c65f8fd42a98064e44ce735c9b6", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_223bcc8594334b4e81ca3391cfe72e58", "object": "Rate", "created_at": + "2024-01-19T23:35:51Z", "updated_at": "2024-01-19T23:35:51Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_941b6c65f8fd42a98064e44ce735c9b6", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_892e007fa01b4ce9a48a1e6939e3cdbb", + "object": "Rate", "created_at": "2024-01-19T23:35:52Z", "updated_at": "2024-01-19T23:35:52Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_941b6c65f8fd42a98064e44ce735c9b6", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_b04ce352a07747f28b078abca52d26ad", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010723177", + "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T23:35:52Z", + "updated_at": "2024-01-19T23:35:52Z", "signed_by": null, "weight": null, "est_delivery_date": + null, "shipment_id": "shp_941b6c65f8fd42a98064e44ce735c9b6", "carrier": "USPS", + "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": + "https://track.easypost.com/djE6dHJrX2IwNGNlMzUyYTA3NzQ3ZjI4YjA3OGFiY2E1MmQyNmFk"}, + "to_address": {"id": "adr_7b45d0c5b72311eebcc6ac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T23:35:51+00:00", "updated_at": "2024-01-19T23:35:51+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_7b4832cbb72311eea9dd3cecef1b359e", + "object": "Address", "created_at": "2024-01-19T23:35:51+00:00", "updated_at": + "2024-01-19T23:35:51+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_7b45d0c5b72311eebcc6ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T23:35:51+00:00", "updated_at": "2024-01-19T23:35:51+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_941b6c65f8fd42a98064e44ce735c9b6", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '8350' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_941b6c65f8fd42a98064e44ce735c9b6 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765ab0757e799e1c2001d2de2 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '1.053656' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments/shp_941b6c65f8fd42a98064e44ce735c9b6/refund + response: + body: + string: '{"created_at": "2024-01-19T23:35:51Z", "is_return": false, "messages": + [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, + "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + "9405500207552010723177", "updated_at": "2024-01-19T23:35:53Z", "batch_id": + null, "batch_status": null, "batch_message": null, "customs_info": {"id": + "cstinfo_1780613e1ba74aa7bb4bb9caa6161d24", "object": "CustomsInfo", "created_at": + "2024-01-19T23:35:51Z", "updated_at": "2024-01-19T23:35:51Z", "contents_explanation": + "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": + "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", + "restriction_comments": null, "restriction_type": "none", "mode": "test", + "declaration": null, "customs_items": [{"id": "cstitem_f04aa11dae7f49f6a848bfddd88d94fc", + "object": "CustomsItem", "created_at": "2024-01-19T23:35:51Z", "updated_at": + "2024-01-19T23:35:51Z", "description": "T-shirt", "hs_tariff_number": "123456", + "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": + "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, + "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_7b4832cbb72311eea9dd3cecef1b359e", + "object": "Address", "created_at": "2024-01-19T23:35:51+00:00", "updated_at": + "2024-01-19T23:35:51+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "insurance": null, "order_id": null, "parcel": {"id": "prcl_774744b1847f4024a33cd79035739bb8", + "object": "Parcel", "created_at": "2024-01-19T23:35:51Z", "updated_at": "2024-01-19T23:35:51Z", + "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, + "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", + "id": "pl_1bcc53c6885743c092639ac34cbdf762", "created_at": "2024-01-19T23:35:52Z", + "updated_at": "2024-01-19T23:35:52Z", "date_advance": 0, "integrated_form": + "none", "label_date": "2024-01-19T23:35:52Z", "label_resolution": 300, "label_size": + "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": + "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e832f93de179104f8ba91488c3845cba15.png", + "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": + null}, "rates": [{"id": "rate_3dd671c002a6416586e86b9a9d870aae", "object": + "Rate", "created_at": "2024-01-19T23:35:51Z", "updated_at": "2024-01-19T23:35:51Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_941b6c65f8fd42a98064e44ce735c9b6", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_892e007fa01b4ce9a48a1e6939e3cdbb", + "object": "Rate", "created_at": "2024-01-19T23:35:51Z", "updated_at": "2024-01-19T23:35:51Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_941b6c65f8fd42a98064e44ce735c9b6", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_7d5e3571a4274c6c8bfe6d44b9bc54ac", + "object": "Rate", "created_at": "2024-01-19T23:35:51Z", "updated_at": "2024-01-19T23:35:51Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_941b6c65f8fd42a98064e44ce735c9b6", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_844ede7402674af8921ed358ba94e28d", + "object": "Rate", "created_at": "2024-01-19T23:35:51Z", "updated_at": "2024-01-19T23:35:51Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_941b6c65f8fd42a98064e44ce735c9b6", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_223bcc8594334b4e81ca3391cfe72e58", "object": "Rate", "created_at": + "2024-01-19T23:35:51Z", "updated_at": "2024-01-19T23:35:51Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_941b6c65f8fd42a98064e44ce735c9b6", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": "submitted", "scan_form": null, "selected_rate": {"id": "rate_892e007fa01b4ce9a48a1e6939e3cdbb", + "object": "Rate", "created_at": "2024-01-19T23:35:52Z", "updated_at": "2024-01-19T23:35:52Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_941b6c65f8fd42a98064e44ce735c9b6", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_b04ce352a07747f28b078abca52d26ad", + "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010723177", + "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T23:35:52Z", + "updated_at": "2024-01-19T23:35:52Z", "signed_by": null, "weight": null, "est_delivery_date": + "2024-01-19T23:35:52Z", "shipment_id": "shp_941b6c65f8fd42a98064e44ce735c9b6", + "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": + "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-19T23:35:52Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", + "message": "Shipping Label Created", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-20T12:12:52Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": + null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": + null}, "public_url": "https://track.easypost.com/djE6dHJrX2IwNGNlMzUyYTA3NzQ3ZjI4YjA3OGFiY2E1MmQyNmFk"}, + "to_address": {"id": "adr_7b45d0c5b72311eebcc6ac1f6bc539aa", "object": "Address", + "created_at": "2024-01-19T23:35:51+00:00", "updated_at": "2024-01-19T23:35:51+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "usps_zone": 4, "return_address": {"id": "adr_7b4832cbb72311eea9dd3cecef1b359e", + "object": "Address", "created_at": "2024-01-19T23:35:51+00:00", "updated_at": + "2024-01-19T23:35:51+00:00", "name": "EasyPost", "company": null, "street1": + "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", + "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": + "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": + null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, + "buyer_address": {"id": "adr_7b45d0c5b72311eebcc6ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T23:35:51+00:00", "updated_at": "2024-01-19T23:35:51+00:00", + "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", + "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", + "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": + null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": + [], "details": null}, "delivery": {"success": true, "errors": [], "details": + {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, + "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", + "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", + "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_941b6c65f8fd42a98064e44ce735c9b6", + "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '9487' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465ab0758e799e1c3001d2ec7 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.189186' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_smartrate_retrieve_estimated_delivery_date.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_smartrate_retrieve_estimated_delivery_date.yaml new file mode 100644 index 00000000..56a56623 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_smartrate_retrieve_estimated_delivery_date.yaml @@ -0,0 +1,282 @@ +interactions: +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '885' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T23:23:49Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T23:23:50Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_7e8ede543c06440fb64a594e534a77a6", + "object": "CustomsInfo", "created_at": "2024-01-19T23:23:49Z", "updated_at": + "2024-01-19T23:23:49Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_83fd55dd40f7491994d1f553042fb2cd", "object": "CustomsItem", + "created_at": "2024-01-19T23:23:49Z", "updated_at": "2024-01-19T23:23:49Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_cce78dadb72111ee8979ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T23:23:49+00:00", "updated_at": "2024-01-19T23:23:49+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_3146e48927074e21a9412e435d410282", "object": "Parcel", "created_at": + "2024-01-19T23:23:49Z", "updated_at": "2024-01-19T23:23:49Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_1f090c0672ff4dbfb70019177223c181", + "object": "Rate", "created_at": "2024-01-19T23:23:50Z", "updated_at": "2024-01-19T23:23:50Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_2b515adbb0d744658aa6c97331dad642", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_14b668ccb15c4b68b4525a2bab59311b", + "object": "Rate", "created_at": "2024-01-19T23:23:50Z", "updated_at": "2024-01-19T23:23:50Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_2b515adbb0d744658aa6c97331dad642", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_efafacc6ee134f809f89021d23cae583", + "object": "Rate", "created_at": "2024-01-19T23:23:50Z", "updated_at": "2024-01-19T23:23:50Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_2b515adbb0d744658aa6c97331dad642", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_3b396719d2da4000ad4a4dafcc69a1e1", + "object": "Rate", "created_at": "2024-01-19T23:23:50Z", "updated_at": "2024-01-19T23:23:50Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_2b515adbb0d744658aa6c97331dad642", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_17ae23855cc345c9be436e0c5021bfae", "object": "Rate", "created_at": + "2024-01-19T23:23:50Z", "updated_at": "2024-01-19T23:23:50Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_2b515adbb0d744658aa6c97331dad642", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_cce4d55bb72111ee81d13cecef1b359e", "object": + "Address", "created_at": "2024-01-19T23:23:49+00:00", "updated_at": "2024-01-19T23:23:49+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_cce78dadb72111ee8979ac1f6bc539ae", "object": "Address", "created_at": + "2024-01-19T23:23:49+00:00", "updated_at": "2024-01-19T23:23:49+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_cce4d55bb72111ee81d13cecef1b359e", + "object": "Address", "created_at": "2024-01-19T23:23:49+00:00", "updated_at": + "2024-01-19T23:23:49+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_2b515adbb0d744658aa6c97331dad642", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_2b515adbb0d744658aa6c97331dad642 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda865ab0485e799dcde001efea7 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.733477' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/shipments/shp_2b515adbb0d744658aa6c97331dad642/smartrate/delivery_date?planned_ship_date=2024-01-22 + response: + body: + string: '{"rates": [{"easypost_time_in_transit_data": {"days_in_transit": {"percentile_50": + 2, "percentile_75": 2, "percentile_85": 3, "percentile_90": 3, "percentile_95": + 4, "percentile_97": 4, "percentile_99": 8}, "easypost_estimated_delivery_date": + "2024-01-23", "planned_ship_date": "2024-01-22"}, "rate": {"carrier": "USPS", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e", "created_at": + "2024-01-19T23:23:50Z", "currency": "USD", "delivery_date": null, "delivery_date_guaranteed": + false, "delivery_days": null, "est_delivery_days": null, "id": "rate_1f090c0672ff4dbfb70019177223c181", + "list_currency": "USD", "list_rate": 46.85, "mode": "test", "object": "Rate", + "rate": 46.85, "retail_currency": "USD", "retail_rate": 54.2, "service": "Express", + "shipment_id": "shp_2b515adbb0d744658aa6c97331dad642", "updated_at": "2024-01-19T23:23:50Z"}}, + {"easypost_time_in_transit_data": {"days_in_transit": {"percentile_50": 3, + "percentile_75": 3, "percentile_85": 4, "percentile_90": 4, "percentile_95": + 5, "percentile_97": 7, "percentile_99": 8}, "easypost_estimated_delivery_date": + "2024-01-25", "planned_ship_date": "2024-01-22"}, "rate": {"carrier": "USPS", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e", "created_at": + "2024-01-19T23:23:50Z", "currency": "USD", "delivery_date": null, "delivery_date_guaranteed": + false, "delivery_days": 2, "est_delivery_days": 2, "id": "rate_14b668ccb15c4b68b4525a2bab59311b", + "list_currency": "USD", "list_rate": 10.27, "mode": "test", "object": "Rate", + "rate": 7.99, "retail_currency": "USD", "retail_rate": 14.05, "service": "Priority", + "shipment_id": "shp_2b515adbb0d744658aa6c97331dad642", "updated_at": "2024-01-19T23:23:50Z"}}, + {"easypost_time_in_transit_data": {"days_in_transit": {"percentile_50": 3, + "percentile_75": 3, "percentile_85": 4, "percentile_90": 4, "percentile_95": + 5, "percentile_97": 7, "percentile_99": 9}, "easypost_estimated_delivery_date": + "2024-01-25", "planned_ship_date": "2024-01-22"}, "rate": {"carrier": "USPS", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e", "created_at": + "2024-01-19T23:23:50Z", "currency": "USD", "delivery_date": null, "delivery_date_guaranteed": + false, "delivery_days": 3, "est_delivery_days": 3, "id": "rate_efafacc6ee134f809f89021d23cae583", + "list_currency": "USD", "list_rate": 8.92, "mode": "test", "object": "Rate", + "rate": 6.79, "retail_currency": "USD", "retail_rate": 12.45, "service": "GroundAdvantage", + "shipment_id": "shp_2b515adbb0d744658aa6c97331dad642", "updated_at": "2024-01-19T23:23:50Z"}}, + {"easypost_time_in_transit_data": {"days_in_transit": {"percentile_50": 3, + "percentile_75": 3, "percentile_85": 4, "percentile_90": 4, "percentile_95": + 5, "percentile_97": 7, "percentile_99": 9}, "easypost_estimated_delivery_date": + "2024-01-25", "planned_ship_date": "2024-01-22"}, "rate": {"carrier": "USPS", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e", "created_at": + "2024-01-19T23:23:50Z", "currency": "USD", "delivery_date": null, "delivery_date_guaranteed": + false, "delivery_days": 3, "est_delivery_days": 3, "id": "rate_3b396719d2da4000ad4a4dafcc69a1e1", + "list_currency": "USD", "list_rate": 8.92, "mode": "test", "object": "Rate", + "rate": 6.79, "retail_currency": "USD", "retail_rate": 12.45, "service": "First", + "shipment_id": "shp_2b515adbb0d744658aa6c97331dad642", "updated_at": "2024-01-19T23:23:50Z"}}, + {"easypost_time_in_transit_data": {"days_in_transit": {"percentile_50": 3, + "percentile_75": 3, "percentile_85": 4, "percentile_90": 4, "percentile_95": + 5, "percentile_97": 7, "percentile_99": 9}, "easypost_estimated_delivery_date": + "2024-01-25", "planned_ship_date": "2024-01-22"}, "rate": {"carrier": "USPS", + "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e", "created_at": + "2024-01-19T23:23:50Z", "currency": "USD", "delivery_date": null, "delivery_date_guaranteed": + false, "delivery_days": 3, "est_delivery_days": 3, "id": "rate_17ae23855cc345c9be436e0c5021bfae", + "list_currency": "USD", "list_rate": 8.92, "mode": "test", "object": "Rate", + "rate": 6.79, "retail_currency": "USD", "retail_rate": 12.45, "service": "ParcelSelect", + "shipment_id": "shp_2b515adbb0d744658aa6c97331dad642", "updated_at": "2024-01-19T23:23:50Z"}}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '3901' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdae65ab0486e799dcdf001eff31 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.116478' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_smartrate_retrieve_time_in_transit_statistics.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_smartrate_retrieve_time_in_transit_statistics.yaml new file mode 100644 index 00000000..129eb546 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_smartrate_retrieve_time_in_transit_statistics.yaml @@ -0,0 +1,1440 @@ +interactions: +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '885' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:42:17Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T21:42:18Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_22231313148f4501b7d7f878162cdbf9", + "object": "CustomsInfo", "created_at": "2024-01-19T21:42:17Z", "updated_at": + "2024-01-19T21:42:17Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_02f0a325756e4e0bbebe6fa858c6b378", "object": "CustomsItem", + "created_at": "2024-01-19T21:42:17Z", "updated_at": "2024-01-19T21:42:17Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_9dcd570db71311eeb691ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:42:17+00:00", "updated_at": "2024-01-19T21:42:17+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_71c48387a2e54f6790938f4b5f6e7c37", "object": "Parcel", "created_at": + "2024-01-19T21:42:17Z", "updated_at": "2024-01-19T21:42:17Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_5371259d8e484ef8bf71c85eaea98bec", + "object": "Rate", "created_at": "2024-01-19T21:42:18Z", "updated_at": "2024-01-19T21:42:18Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_68c599ffe1b7430d87bfd6bf98fcf6f8", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_579e4bbb662d4a99b402fdfa337e7ccd", + "object": "Rate", "created_at": "2024-01-19T21:42:18Z", "updated_at": "2024-01-19T21:42:18Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_68c599ffe1b7430d87bfd6bf98fcf6f8", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_d26e8dffe412495d91307ec99e16f7d2", + "object": "Rate", "created_at": "2024-01-19T21:42:18Z", "updated_at": "2024-01-19T21:42:18Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_68c599ffe1b7430d87bfd6bf98fcf6f8", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_762d6a6d73ad4f01808aaf93958afbaa", "object": "Rate", "created_at": + "2024-01-19T21:42:18Z", "updated_at": "2024-01-19T21:42:18Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_68c599ffe1b7430d87bfd6bf98fcf6f8", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_7c27ec5fc0d24b6398db89c66781ea15", "object": "Rate", "created_at": + "2024-01-19T21:42:18Z", "updated_at": "2024-01-19T21:42:18Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_68c599ffe1b7430d87bfd6bf98fcf6f8", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_9dcaacfbb71311eea7ceac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:42:17+00:00", "updated_at": "2024-01-19T21:42:17+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_9dcd570db71311eeb691ac1f6bc539aa", "object": "Address", "created_at": + "2024-01-19T21:42:17+00:00", "updated_at": "2024-01-19T21:42:17+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_9dcaacfbb71311eea7ceac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:42:17+00:00", "updated_at": + "2024-01-19T21:42:17+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_68c599ffe1b7430d87bfd6bf98fcf6f8", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_68c599ffe1b7430d87bfd6bf98fcf6f8 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaecb9e78b9f89000d0f3a + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.845216' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '885' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:44:14Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T21:44:15Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_cad3f6e9b7d54616bf8205c8da0d1f25", + "object": "CustomsInfo", "created_at": "2024-01-19T21:44:14Z", "updated_at": + "2024-01-19T21:44:14Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_ce2cfac8d2054954ac8c7043b7bc5c22", "object": "CustomsItem", + "created_at": "2024-01-19T21:44:14Z", "updated_at": "2024-01-19T21:44:14Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_e3845ddbb71311eebde23cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:44:14+00:00", "updated_at": "2024-01-19T21:44:14+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_e6b7cecdd712449bad1b9a7b34c15ee0", "object": "Parcel", "created_at": + "2024-01-19T21:44:14Z", "updated_at": "2024-01-19T21:44:14Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_14748b15f69142cda74df5b0bc823a71", + "object": "Rate", "created_at": "2024-01-19T21:44:15Z", "updated_at": "2024-01-19T21:44:15Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_a36c0703a3da481fb95b47c5ff98f2a2", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_7c33326621f0469e942383cd5c4891ea", + "object": "Rate", "created_at": "2024-01-19T21:44:15Z", "updated_at": "2024-01-19T21:44:15Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_a36c0703a3da481fb95b47c5ff98f2a2", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f0710cb2d3674b3e840f27a9139cf42a", + "object": "Rate", "created_at": "2024-01-19T21:44:15Z", "updated_at": "2024-01-19T21:44:15Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_a36c0703a3da481fb95b47c5ff98f2a2", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_1977bc6e1d6f43eda30e8833e54f338c", + "object": "Rate", "created_at": "2024-01-19T21:44:15Z", "updated_at": "2024-01-19T21:44:15Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_a36c0703a3da481fb95b47c5ff98f2a2", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_162cd1c878304bc4921d2ec0e802e92f", "object": "Rate", "created_at": + "2024-01-19T21:44:15Z", "updated_at": "2024-01-19T21:44:15Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_a36c0703a3da481fb95b47c5ff98f2a2", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_e38164c3b71311ee8f65ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:44:14+00:00", "updated_at": "2024-01-19T21:44:14+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_e3845ddbb71311eebde23cecef1b359e", "object": "Address", "created_at": + "2024-01-19T21:44:14+00:00", "updated_at": "2024-01-19T21:44:14+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_e38164c3b71311ee8f65ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T21:44:14+00:00", "updated_at": + "2024-01-19T21:44:14+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_a36c0703a3da481fb95b47c5ff98f2a2", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_a36c0703a3da481fb95b47c5ff98f2a2 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaed2ee78ba7c6000d545a + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.707222' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '885' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:48:06Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T21:48:07Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_5b451b87893c4bb4a6a30791a60c82fa", + "object": "CustomsInfo", "created_at": "2024-01-19T21:48:06Z", "updated_at": + "2024-01-19T21:48:06Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_84d2d8c46b164207ab58806411dfa607", "object": "CustomsItem", + "created_at": "2024-01-19T21:48:06Z", "updated_at": "2024-01-19T21:48:06Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_6e18f120b71411eeaa343cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:48:06+00:00", "updated_at": "2024-01-19T21:48:06+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_dc5071da161d4151b4da97483637a4e9", "object": "Parcel", "created_at": + "2024-01-19T21:48:06Z", "updated_at": "2024-01-19T21:48:06Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_7606459365bb4005a66c5340aa6d7cae", + "object": "Rate", "created_at": "2024-01-19T21:48:07Z", "updated_at": "2024-01-19T21:48:07Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_1195708df8ad46aa8452b75e4af3ca89", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4a785314cfd54f3ea045c0e78c7799d9", + "object": "Rate", "created_at": "2024-01-19T21:48:07Z", "updated_at": "2024-01-19T21:48:07Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_1195708df8ad46aa8452b75e4af3ca89", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_fd685105c8554f6bbe4f3971c75e6d75", + "object": "Rate", "created_at": "2024-01-19T21:48:07Z", "updated_at": "2024-01-19T21:48:07Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_1195708df8ad46aa8452b75e4af3ca89", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_2f174759a9e243d79c6768aaf630bcbc", "object": "Rate", "created_at": + "2024-01-19T21:48:07Z", "updated_at": "2024-01-19T21:48:07Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_1195708df8ad46aa8452b75e4af3ca89", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_2ac7779b3f05491b8c9386ae9337f550", "object": "Rate", "created_at": + "2024-01-19T21:48:07Z", "updated_at": "2024-01-19T21:48:07Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_1195708df8ad46aa8452b75e4af3ca89", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_6e16306ab71411eead4bac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:48:06+00:00", "updated_at": "2024-01-19T21:48:06+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_6e18f120b71411eeaa343cecef1b359e", "object": "Address", "created_at": + "2024-01-19T21:48:06+00:00", "updated_at": "2024-01-19T21:48:06+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_6e16306ab71411eead4bac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:48:06+00:00", "updated_at": + "2024-01-19T21:48:06+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_1195708df8ad46aa8452b75e4af3ca89", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_1195708df8ad46aa8452b75e4af3ca89 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdae65aaee16e78bb04900114b74 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.777247' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/shipments/shp_1195708df8ad46aa8452b75e4af3ca89/smartrate + response: + body: + string: '{"result": [{"carrier": "USPS", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e", + "created_at": "2024-01-19T21:48:07Z", "currency": "USD", "delivery_date": + null, "delivery_date_guaranteed": false, "delivery_days": 2, "est_delivery_days": + 2, "id": "rate_7606459365bb4005a66c5340aa6d7cae", "list_currency": "USD", + "list_rate": 10.27, "mode": "test", "object": "Rate", "rate": 7.99, "retail_currency": + "USD", "retail_rate": 14.05, "service": "Priority", "shipment_id": "shp_1195708df8ad46aa8452b75e4af3ca89", + "time_in_transit": {"percentile_50": 2, "percentile_75": 2, "percentile_85": + 3, "percentile_90": 3, "percentile_95": 4, "percentile_97": 4, "percentile_99": + 6}, "updated_at": "2024-01-19T21:48:07Z"}, {"carrier": "USPS", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e", "created_at": "2024-01-19T21:48:07Z", + "currency": "USD", "delivery_date": null, "delivery_date_guaranteed": false, + "delivery_days": 3, "est_delivery_days": 3, "id": "rate_4a785314cfd54f3ea045c0e78c7799d9", + "list_currency": "USD", "list_rate": 8.92, "mode": "test", "object": "Rate", + "rate": 6.79, "retail_currency": "USD", "retail_rate": 12.45, "service": "GroundAdvantage", + "shipment_id": "shp_1195708df8ad46aa8452b75e4af3ca89", "time_in_transit": + {"percentile_50": 1, "percentile_75": 2, "percentile_85": 2, "percentile_90": + 2, "percentile_95": 3, "percentile_97": 3, "percentile_99": 3}, "updated_at": + "2024-01-19T21:48:07Z"}, {"carrier": "USPS", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e", + "created_at": "2024-01-19T21:48:07Z", "currency": "USD", "delivery_date": + null, "delivery_date_guaranteed": false, "delivery_days": 3, "est_delivery_days": + 3, "id": "rate_fd685105c8554f6bbe4f3971c75e6d75", "list_currency": "USD", + "list_rate": 8.92, "mode": "test", "object": "Rate", "rate": 6.79, "retail_currency": + "USD", "retail_rate": 12.45, "service": "First", "shipment_id": "shp_1195708df8ad46aa8452b75e4af3ca89", + "time_in_transit": {"percentile_50": 1, "percentile_75": 2, "percentile_85": + 2, "percentile_90": 2, "percentile_95": 3, "percentile_97": 3, "percentile_99": + 3}, "updated_at": "2024-01-19T21:48:07Z"}, {"carrier": "USPS", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e", "created_at": "2024-01-19T21:48:07Z", + "currency": "USD", "delivery_date": null, "delivery_date_guaranteed": false, + "delivery_days": 3, "est_delivery_days": 3, "id": "rate_2f174759a9e243d79c6768aaf630bcbc", + "list_currency": "USD", "list_rate": 8.92, "mode": "test", "object": "Rate", + "rate": 6.79, "retail_currency": "USD", "retail_rate": 12.45, "service": "ParcelSelect", + "shipment_id": "shp_1195708df8ad46aa8452b75e4af3ca89", "time_in_transit": + {"percentile_50": 1, "percentile_75": 2, "percentile_85": 2, "percentile_90": + 2, "percentile_95": 3, "percentile_97": 3, "percentile_99": 3}, "updated_at": + "2024-01-19T21:48:07Z"}, {"carrier": "USPS", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e", + "created_at": "2024-01-19T21:48:07Z", "currency": "USD", "delivery_date": + null, "delivery_date_guaranteed": false, "delivery_days": null, "est_delivery_days": + null, "id": "rate_2ac7779b3f05491b8c9386ae9337f550", "list_currency": "USD", + "list_rate": 46.85, "mode": "test", "object": "Rate", "rate": 46.85, "retail_currency": + "USD", "retail_rate": 54.2, "service": "Express", "shipment_id": "shp_1195708df8ad46aa8452b75e4af3ca89", + "time_in_transit": {"percentile_50": 1, "percentile_75": 2, "percentile_85": + 2, "percentile_90": 3, "percentile_95": 3, "percentile_97": 4, "percentile_99": + 6}, "updated_at": "2024-01-19T21:48:07Z"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '3282' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda865aaee17e78bb04a00114c18 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.112216' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '885' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:50:02Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T21:50:03Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_04e275fd8adf4c55a02fbcfb4dc24221", + "object": "CustomsInfo", "created_at": "2024-01-19T21:50:02Z", "updated_at": + "2024-01-19T21:50:02Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_7604b2366d09412293768d3cf31557e9", "object": "CustomsItem", + "created_at": "2024-01-19T21:50:02Z", "updated_at": "2024-01-19T21:50:02Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_b30f25b1b71411eebfe03cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:50:02+00:00", "updated_at": "2024-01-19T21:50:02+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_a4ede0fc2e8646bbacb1c20dba78d81c", "object": "Parcel", "created_at": + "2024-01-19T21:50:02Z", "updated_at": "2024-01-19T21:50:02Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_e7bb5c661d91459a8092fddc5aca8a2c", + "object": "Rate", "created_at": "2024-01-19T21:50:03Z", "updated_at": "2024-01-19T21:50:03Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_da9d00baba154c73a8240243fb9ab535", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_a98eeb1f080f4ca0ba703ec5a381742d", + "object": "Rate", "created_at": "2024-01-19T21:50:03Z", "updated_at": "2024-01-19T21:50:03Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_da9d00baba154c73a8240243fb9ab535", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_7961134e5ef5432c9863aeab55105e76", "object": "Rate", "created_at": + "2024-01-19T21:50:03Z", "updated_at": "2024-01-19T21:50:03Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_da9d00baba154c73a8240243fb9ab535", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_6e28590ad65949ab88145b81af942295", "object": "Rate", "created_at": + "2024-01-19T21:50:03Z", "updated_at": "2024-01-19T21:50:03Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_da9d00baba154c73a8240243fb9ab535", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_9afe59c37c344ee7a6ac25e42aebe654", "object": "Rate", "created_at": + "2024-01-19T21:50:03Z", "updated_at": "2024-01-19T21:50:03Z", "mode": "test", + "service": "Priority", "carrier": "USPS", "rate": "7.99", "currency": "USD", + "retail_rate": "14.05", "retail_currency": "USD", "list_rate": "10.27", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": + "shp_da9d00baba154c73a8240243fb9ab535", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_b30c78b2b71411ee8161ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:50:02+00:00", "updated_at": "2024-01-19T21:50:02+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_b30f25b1b71411eebfe03cecef1b359e", "object": "Address", "created_at": + "2024-01-19T21:50:02+00:00", "updated_at": "2024-01-19T21:50:02+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_b30c78b2b71411ee8161ac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:50:02+00:00", "updated_at": + "2024-01-19T21:50:02+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_da9d00baba154c73a8240243fb9ab535", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_da9d00baba154c73a8240243fb9ab535 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdaa65aaee8ae78bb86c00118d47 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.719607' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/shipments/shp_da9d00baba154c73a8240243fb9ab535/smartrate + response: + body: + string: '{"result": [{"carrier": "USPS", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e", + "created_at": "2024-01-19T21:50:03Z", "currency": "USD", "delivery_date": + null, "delivery_date_guaranteed": false, "delivery_days": 3, "est_delivery_days": + 3, "id": "rate_e7bb5c661d91459a8092fddc5aca8a2c", "list_currency": "USD", + "list_rate": 8.92, "mode": "test", "object": "Rate", "rate": 6.79, "retail_currency": + "USD", "retail_rate": 12.45, "service": "GroundAdvantage", "shipment_id": + "shp_da9d00baba154c73a8240243fb9ab535", "time_in_transit": {"percentile_50": + 1, "percentile_75": 2, "percentile_85": 2, "percentile_90": 2, "percentile_95": + 3, "percentile_97": 3, "percentile_99": 3}, "updated_at": "2024-01-19T21:50:03Z"}, + {"carrier": "USPS", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e", + "created_at": "2024-01-19T21:50:03Z", "currency": "USD", "delivery_date": + null, "delivery_date_guaranteed": false, "delivery_days": 3, "est_delivery_days": + 3, "id": "rate_a98eeb1f080f4ca0ba703ec5a381742d", "list_currency": "USD", + "list_rate": 8.92, "mode": "test", "object": "Rate", "rate": 6.79, "retail_currency": + "USD", "retail_rate": 12.45, "service": "First", "shipment_id": "shp_da9d00baba154c73a8240243fb9ab535", + "time_in_transit": {"percentile_50": 1, "percentile_75": 2, "percentile_85": + 2, "percentile_90": 2, "percentile_95": 3, "percentile_97": 3, "percentile_99": + 3}, "updated_at": "2024-01-19T21:50:03Z"}, {"carrier": "USPS", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e", "created_at": "2024-01-19T21:50:03Z", + "currency": "USD", "delivery_date": null, "delivery_date_guaranteed": false, + "delivery_days": 3, "est_delivery_days": 3, "id": "rate_7961134e5ef5432c9863aeab55105e76", + "list_currency": "USD", "list_rate": 8.92, "mode": "test", "object": "Rate", + "rate": 6.79, "retail_currency": "USD", "retail_rate": 12.45, "service": "ParcelSelect", + "shipment_id": "shp_da9d00baba154c73a8240243fb9ab535", "time_in_transit": + {"percentile_50": 1, "percentile_75": 2, "percentile_85": 2, "percentile_90": + 2, "percentile_95": 3, "percentile_97": 3, "percentile_99": 3}, "updated_at": + "2024-01-19T21:50:03Z"}, {"carrier": "USPS", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e", + "created_at": "2024-01-19T21:50:03Z", "currency": "USD", "delivery_date": + null, "delivery_date_guaranteed": false, "delivery_days": null, "est_delivery_days": + null, "id": "rate_6e28590ad65949ab88145b81af942295", "list_currency": "USD", + "list_rate": 46.85, "mode": "test", "object": "Rate", "rate": 46.85, "retail_currency": + "USD", "retail_rate": 54.2, "service": "Express", "shipment_id": "shp_da9d00baba154c73a8240243fb9ab535", + "time_in_transit": {"percentile_50": 1, "percentile_75": 2, "percentile_85": + 2, "percentile_90": 3, "percentile_95": 3, "percentile_97": 4, "percentile_99": + 6}, "updated_at": "2024-01-19T21:50:03Z"}, {"carrier": "USPS", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e", "created_at": "2024-01-19T21:50:03Z", + "currency": "USD", "delivery_date": null, "delivery_date_guaranteed": false, + "delivery_days": 2, "est_delivery_days": 2, "id": "rate_9afe59c37c344ee7a6ac25e42aebe654", + "list_currency": "USD", "list_rate": 10.27, "mode": "test", "object": "Rate", + "rate": 7.99, "retail_currency": "USD", "retail_rate": 14.05, "service": "Priority", + "shipment_id": "shp_da9d00baba154c73a8240243fb9ab535", "time_in_transit": + {"percentile_50": 2, "percentile_75": 2, "percentile_85": 3, "percentile_90": + 3, "percentile_95": 4, "percentile_97": 4, "percentile_99": 6}, "updated_at": + "2024-01-19T21:50:03Z"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '3282' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdae65aaee8be78bb86d00118dee + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.100362' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '885' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:59:22Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T21:59:22Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_876346370dde40e396c89c420dd591b7", + "object": "CustomsInfo", "created_at": "2024-01-19T21:59:22Z", "updated_at": + "2024-01-19T21:59:22Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_e0b0cad05ef84603a057b91b0bc31ccf", "object": "CustomsItem", + "created_at": "2024-01-19T21:59:22Z", "updated_at": "2024-01-19T21:59:22Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_007e7540b71611eeb033ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:59:22+00:00", "updated_at": "2024-01-19T21:59:22+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_8d3c67233c4c4d5da644a8d8f7043b44", "object": "Parcel", "created_at": + "2024-01-19T21:59:22Z", "updated_at": "2024-01-19T21:59:22Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_7bde552799b9402eb80e89dac84a29e2", + "object": "Rate", "created_at": "2024-01-19T21:59:22Z", "updated_at": "2024-01-19T21:59:22Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_095a567426a44bfb8ce80a72fa9768d8", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_7f89a513e6cf43e8a1c8f0a5fd49e740", + "object": "Rate", "created_at": "2024-01-19T21:59:22Z", "updated_at": "2024-01-19T21:59:22Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_095a567426a44bfb8ce80a72fa9768d8", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_5a0a4be15ad145b489798ae8a5319da8", + "object": "Rate", "created_at": "2024-01-19T21:59:22Z", "updated_at": "2024-01-19T21:59:22Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_095a567426a44bfb8ce80a72fa9768d8", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_38aac4216bc84527b0140bf80e1b90f4", "object": "Rate", "created_at": + "2024-01-19T21:59:22Z", "updated_at": "2024-01-19T21:59:22Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_095a567426a44bfb8ce80a72fa9768d8", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_b922b0fec9f440048f9dc739c6d03b67", "object": "Rate", "created_at": + "2024-01-19T21:59:22Z", "updated_at": "2024-01-19T21:59:22Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_095a567426a44bfb8ce80a72fa9768d8", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_007c6ec6b71611eeb21aac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:59:22+00:00", "updated_at": "2024-01-19T21:59:22+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_007e7540b71611eeb033ac1f6bc53342", "object": "Address", "created_at": + "2024-01-19T21:59:22+00:00", "updated_at": "2024-01-19T21:59:22+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_007c6ec6b71611eeb21aac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:59:22+00:00", "updated_at": + "2024-01-19T21:59:22+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_095a567426a44bfb8ce80a72fa9768d8", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_095a567426a44bfb8ce80a72fa9768d8 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaf0bae798c01e000f92a5 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.761096' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/shipments/shp_095a567426a44bfb8ce80a72fa9768d8/smartrate + response: + body: + string: '{"result": [{"carrier": "USPS", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e", + "created_at": "2024-01-19T21:59:22Z", "currency": "USD", "delivery_date": + null, "delivery_date_guaranteed": false, "delivery_days": 2, "est_delivery_days": + 2, "id": "rate_7bde552799b9402eb80e89dac84a29e2", "list_currency": "USD", + "list_rate": 10.27, "mode": "test", "object": "Rate", "rate": 7.99, "retail_currency": + "USD", "retail_rate": 14.05, "service": "Priority", "shipment_id": "shp_095a567426a44bfb8ce80a72fa9768d8", + "time_in_transit": {"percentile_50": 2, "percentile_75": 2, "percentile_85": + 3, "percentile_90": 3, "percentile_95": 4, "percentile_97": 4, "percentile_99": + 6}, "updated_at": "2024-01-19T21:59:22Z"}, {"carrier": "USPS", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e", "created_at": "2024-01-19T21:59:22Z", + "currency": "USD", "delivery_date": null, "delivery_date_guaranteed": false, + "delivery_days": 3, "est_delivery_days": 3, "id": "rate_7f89a513e6cf43e8a1c8f0a5fd49e740", + "list_currency": "USD", "list_rate": 8.92, "mode": "test", "object": "Rate", + "rate": 6.79, "retail_currency": "USD", "retail_rate": 12.45, "service": "GroundAdvantage", + "shipment_id": "shp_095a567426a44bfb8ce80a72fa9768d8", "time_in_transit": + {"percentile_50": 1, "percentile_75": 2, "percentile_85": 2, "percentile_90": + 2, "percentile_95": 3, "percentile_97": 3, "percentile_99": 3}, "updated_at": + "2024-01-19T21:59:22Z"}, {"carrier": "USPS", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e", + "created_at": "2024-01-19T21:59:22Z", "currency": "USD", "delivery_date": + null, "delivery_date_guaranteed": false, "delivery_days": 3, "est_delivery_days": + 3, "id": "rate_5a0a4be15ad145b489798ae8a5319da8", "list_currency": "USD", + "list_rate": 8.92, "mode": "test", "object": "Rate", "rate": 6.79, "retail_currency": + "USD", "retail_rate": 12.45, "service": "First", "shipment_id": "shp_095a567426a44bfb8ce80a72fa9768d8", + "time_in_transit": {"percentile_50": 1, "percentile_75": 2, "percentile_85": + 2, "percentile_90": 2, "percentile_95": 3, "percentile_97": 3, "percentile_99": + 3}, "updated_at": "2024-01-19T21:59:22Z"}, {"carrier": "USPS", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e", "created_at": "2024-01-19T21:59:22Z", + "currency": "USD", "delivery_date": null, "delivery_date_guaranteed": false, + "delivery_days": 3, "est_delivery_days": 3, "id": "rate_38aac4216bc84527b0140bf80e1b90f4", + "list_currency": "USD", "list_rate": 8.92, "mode": "test", "object": "Rate", + "rate": 6.79, "retail_currency": "USD", "retail_rate": 12.45, "service": "ParcelSelect", + "shipment_id": "shp_095a567426a44bfb8ce80a72fa9768d8", "time_in_transit": + {"percentile_50": 1, "percentile_75": 2, "percentile_85": 2, "percentile_90": + 2, "percentile_95": 3, "percentile_97": 3, "percentile_99": 3}, "updated_at": + "2024-01-19T21:59:22Z"}, {"carrier": "USPS", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e", + "created_at": "2024-01-19T21:59:22Z", "currency": "USD", "delivery_date": + null, "delivery_date_guaranteed": false, "delivery_days": null, "est_delivery_days": + null, "id": "rate_b922b0fec9f440048f9dc739c6d03b67", "list_currency": "USD", + "list_rate": 46.85, "mode": "test", "object": "Rate", "rate": 46.85, "retail_currency": + "USD", "retail_rate": 54.2, "service": "Express", "shipment_id": "shp_095a567426a44bfb8ce80a72fa9768d8", + "time_in_transit": {"percentile_50": 1, "percentile_75": 2, "percentile_85": + 2, "percentile_90": 3, "percentile_95": 3, "percentile_97": 4, "percentile_99": + 6}, "updated_at": "2024-01-19T21:59:22Z"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '3282' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf0bbe798c01f000f9387 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.211406' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '885' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T22:02:17Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T22:02:18Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_3e5c5e7db64243c78615215857fa608f", + "object": "CustomsInfo", "created_at": "2024-01-19T22:02:17Z", "updated_at": + "2024-01-19T22:02:17Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_239ba38a41394aab8cadaade985a026b", "object": "CustomsItem", + "created_at": "2024-01-19T22:02:17Z", "updated_at": "2024-01-19T22:02:17Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_69157caab71611ee921cac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T22:02:17+00:00", "updated_at": "2024-01-19T22:02:17+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_da3003cf69ce4fcab9dd37baa910f8b2", "object": "Parcel", "created_at": + "2024-01-19T22:02:17Z", "updated_at": "2024-01-19T22:02:17Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_6a6a17bbaf3d43ae99d9745fd62dbe64", + "object": "Rate", "created_at": "2024-01-19T22:02:18Z", "updated_at": "2024-01-19T22:02:18Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_60b744eb4c454f2d8c5ed7a25012a9a1", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_82ae2d79e2d741068417a71e8315e140", + "object": "Rate", "created_at": "2024-01-19T22:02:18Z", "updated_at": "2024-01-19T22:02:18Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_60b744eb4c454f2d8c5ed7a25012a9a1", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_afeb235b6be941c9989485286c7989d1", + "object": "Rate", "created_at": "2024-01-19T22:02:18Z", "updated_at": "2024-01-19T22:02:18Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_60b744eb4c454f2d8c5ed7a25012a9a1", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_0e6bf6e168b74f729019f78f101b5fad", + "object": "Rate", "created_at": "2024-01-19T22:02:18Z", "updated_at": "2024-01-19T22:02:18Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_60b744eb4c454f2d8c5ed7a25012a9a1", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_eda0e4e0d99c43db94f200ee023de7f7", "object": "Rate", "created_at": + "2024-01-19T22:02:18Z", "updated_at": "2024-01-19T22:02:18Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_60b744eb4c454f2d8c5ed7a25012a9a1", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_69123958b71611ee8fd83cecef1b359e", "object": + "Address", "created_at": "2024-01-19T22:02:17+00:00", "updated_at": "2024-01-19T22:02:17+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_69157caab71611ee921cac1f6bc53342", "object": "Address", "created_at": + "2024-01-19T22:02:17+00:00", "updated_at": "2024-01-19T22:02:17+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_69123958b71611ee8fd83cecef1b359e", + "object": "Address", "created_at": "2024-01-19T22:02:17+00:00", "updated_at": + "2024-01-19T22:02:17+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_60b744eb4c454f2d8c5ed7a25012a9a1", "object": "Shipment"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7219' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_60b744eb4c454f2d8c5ed7a25012a9a1 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaf169e798c880001030a1 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.855141' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/shipments/shp_60b744eb4c454f2d8c5ed7a25012a9a1/smartrate + response: + body: + string: '{"result": [{"carrier": "USPS", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e", + "created_at": "2024-01-19T22:02:18Z", "currency": "USD", "delivery_date": + null, "delivery_date_guaranteed": false, "delivery_days": null, "est_delivery_days": + null, "id": "rate_6a6a17bbaf3d43ae99d9745fd62dbe64", "list_currency": "USD", + "list_rate": 46.85, "mode": "test", "object": "Rate", "rate": 46.85, "retail_currency": + "USD", "retail_rate": 54.2, "service": "Express", "shipment_id": "shp_60b744eb4c454f2d8c5ed7a25012a9a1", + "time_in_transit": {"percentile_50": 1, "percentile_75": 2, "percentile_85": + 2, "percentile_90": 3, "percentile_95": 3, "percentile_97": 4, "percentile_99": + 6}, "updated_at": "2024-01-19T22:02:18Z"}, {"carrier": "USPS", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e", "created_at": "2024-01-19T22:02:18Z", + "currency": "USD", "delivery_date": null, "delivery_date_guaranteed": false, + "delivery_days": 2, "est_delivery_days": 2, "id": "rate_82ae2d79e2d741068417a71e8315e140", + "list_currency": "USD", "list_rate": 10.27, "mode": "test", "object": "Rate", + "rate": 7.99, "retail_currency": "USD", "retail_rate": 14.05, "service": "Priority", + "shipment_id": "shp_60b744eb4c454f2d8c5ed7a25012a9a1", "time_in_transit": + {"percentile_50": 2, "percentile_75": 2, "percentile_85": 3, "percentile_90": + 3, "percentile_95": 4, "percentile_97": 4, "percentile_99": 6}, "updated_at": + "2024-01-19T22:02:18Z"}, {"carrier": "USPS", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e", + "created_at": "2024-01-19T22:02:18Z", "currency": "USD", "delivery_date": + null, "delivery_date_guaranteed": false, "delivery_days": 3, "est_delivery_days": + 3, "id": "rate_afeb235b6be941c9989485286c7989d1", "list_currency": "USD", + "list_rate": 8.92, "mode": "test", "object": "Rate", "rate": 6.79, "retail_currency": + "USD", "retail_rate": 12.45, "service": "GroundAdvantage", "shipment_id": + "shp_60b744eb4c454f2d8c5ed7a25012a9a1", "time_in_transit": {"percentile_50": + 1, "percentile_75": 2, "percentile_85": 2, "percentile_90": 2, "percentile_95": + 3, "percentile_97": 3, "percentile_99": 3}, "updated_at": "2024-01-19T22:02:18Z"}, + {"carrier": "USPS", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e", + "created_at": "2024-01-19T22:02:18Z", "currency": "USD", "delivery_date": + null, "delivery_date_guaranteed": false, "delivery_days": 3, "est_delivery_days": + 3, "id": "rate_0e6bf6e168b74f729019f78f101b5fad", "list_currency": "USD", + "list_rate": 8.92, "mode": "test", "object": "Rate", "rate": 6.79, "retail_currency": + "USD", "retail_rate": 12.45, "service": "First", "shipment_id": "shp_60b744eb4c454f2d8c5ed7a25012a9a1", + "time_in_transit": {"percentile_50": 1, "percentile_75": 2, "percentile_85": + 2, "percentile_90": 2, "percentile_95": 3, "percentile_97": 3, "percentile_99": + 3}, "updated_at": "2024-01-19T22:02:18Z"}, {"carrier": "USPS", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e", "created_at": "2024-01-19T22:02:18Z", + "currency": "USD", "delivery_date": null, "delivery_date_guaranteed": false, + "delivery_days": 3, "est_delivery_days": 3, "id": "rate_eda0e4e0d99c43db94f200ee023de7f7", + "list_currency": "USD", "list_rate": 8.92, "mode": "test", "object": "Rate", + "rate": 6.79, "retail_currency": "USD", "retail_rate": 12.45, "service": "ParcelSelect", + "shipment_id": "shp_60b744eb4c454f2d8c5ed7a25012a9a1", "time_in_transit": + {"percentile_50": 1, "percentile_75": 2, "percentile_85": 2, "percentile_90": + 2, "percentile_95": 3, "percentile_97": 3, "percentile_99": 3}, "updated_at": + "2024-01-19T22:02:18Z"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '3282' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaf16ae798c88100103183 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.098629' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_tax_identifiers_create.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_tax_identifiers_create.yaml new file mode 100644 index 00000000..edb04e01 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_tax_identifiers_create.yaml @@ -0,0 +1,1048 @@ +interactions: +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "tax_identifiers": + [{"entity": "SENDER", "tax_id": "GB123456789", "tax_id_type": "EORI", "issuing_country": + "GB"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1001' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:42:18Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T21:42:19Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_e881f6245aa54859b67c03ca56373651", + "object": "CustomsInfo", "created_at": "2024-01-19T21:42:18Z", "updated_at": + "2024-01-19T21:42:18Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_220f93143e264fc48e892eb41499549d", "object": "CustomsItem", + "created_at": "2024-01-19T21:42:18Z", "updated_at": "2024-01-19T21:42:18Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_9e87f14eb71311eea54c3cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:42:18+00:00", "updated_at": "2024-01-19T21:42:18+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_784330816f2e4bb7ade33f7a29074d1f", "object": "Parcel", "created_at": + "2024-01-19T21:42:18Z", "updated_at": "2024-01-19T21:42:18Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_82d44fedcfd9447c8c62f1ac63079847", + "object": "Rate", "created_at": "2024-01-19T21:42:19Z", "updated_at": "2024-01-19T21:42:19Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_947844265e374fd0a2a697650fe580cb", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_16f1599e241d4e9099560c70edaaa361", + "object": "Rate", "created_at": "2024-01-19T21:42:19Z", "updated_at": "2024-01-19T21:42:19Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_947844265e374fd0a2a697650fe580cb", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_872cf4e362e445538ea7315a6623e988", + "object": "Rate", "created_at": "2024-01-19T21:42:19Z", "updated_at": "2024-01-19T21:42:19Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_947844265e374fd0a2a697650fe580cb", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_61fbdb2d829b48f9aa284c6e86043876", + "object": "Rate", "created_at": "2024-01-19T21:42:19Z", "updated_at": "2024-01-19T21:42:19Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_947844265e374fd0a2a697650fe580cb", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_b42c62046bb546cd8ed55c87e377d66d", "object": "Rate", "created_at": + "2024-01-19T21:42:19Z", "updated_at": "2024-01-19T21:42:19Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_947844265e374fd0a2a697650fe580cb", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_9e85522cb71311eea813ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:42:18+00:00", "updated_at": "2024-01-19T21:42:18+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_9e87f14eb71311eea54c3cecef1b359e", "object": "Address", "created_at": + "2024-01-19T21:42:18+00:00", "updated_at": "2024-01-19T21:42:18+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_9e85522cb71311eea813ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:42:18+00:00", "updated_at": + "2024-01-19T21:42:18+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_947844265e374fd0a2a697650fe580cb", "object": "Shipment", "tax_identifiers": + [{"entity": "SENDER", "tax_id": "HIDDEN", "tax_id_type": "EORI", "issuing_country": + "GB"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7321' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_947844265e374fd0a2a697650fe580cb + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaecbae78b9f8b000d1038 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.754714' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "tax_identifiers": + [{"entity": "SENDER", "tax_id": "GB123456789", "tax_id_type": "EORI", "issuing_country": + "GB"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1001' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:44:15Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T21:44:16Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_e3f17809dfb2437fb6a0bde698533f9e", + "object": "CustomsInfo", "created_at": "2024-01-19T21:44:15Z", "updated_at": + "2024-01-19T21:44:15Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_1d3a4ed073c343f092058b34235cd354", "object": "CustomsItem", + "created_at": "2024-01-19T21:44:15Z", "updated_at": "2024-01-19T21:44:15Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_e41bfa21b71311ee8f8cac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T21:44:15+00:00", "updated_at": "2024-01-19T21:44:15+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_9835710d37e54d54afe2c10d08dda054", "object": "Parcel", "created_at": + "2024-01-19T21:44:15Z", "updated_at": "2024-01-19T21:44:15Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_e31412dca3404419b1244adeb1f52e4d", + "object": "Rate", "created_at": "2024-01-19T21:44:16Z", "updated_at": "2024-01-19T21:44:16Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_c1f7b4b8d7a44936a93456f729deeeed", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_68dc3e844bc44da2b85f1ab1d33f552d", + "object": "Rate", "created_at": "2024-01-19T21:44:16Z", "updated_at": "2024-01-19T21:44:16Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_c1f7b4b8d7a44936a93456f729deeeed", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f51b4782abb749568721dad508ea3b0c", + "object": "Rate", "created_at": "2024-01-19T21:44:16Z", "updated_at": "2024-01-19T21:44:16Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_c1f7b4b8d7a44936a93456f729deeeed", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f6b7641ff70a4d43b0c558fabb021250", + "object": "Rate", "created_at": "2024-01-19T21:44:16Z", "updated_at": "2024-01-19T21:44:16Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_c1f7b4b8d7a44936a93456f729deeeed", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_dec5c739a7e240869f372f73c8cc03ff", "object": "Rate", "created_at": + "2024-01-19T21:44:16Z", "updated_at": "2024-01-19T21:44:16Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_c1f7b4b8d7a44936a93456f729deeeed", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_e419303cb71311ee8092ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:44:15+00:00", "updated_at": "2024-01-19T21:44:15+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_e41bfa21b71311ee8f8cac1f6bc539aa", "object": "Address", "created_at": + "2024-01-19T21:44:15+00:00", "updated_at": "2024-01-19T21:44:15+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_e419303cb71311ee8092ac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:44:15+00:00", "updated_at": + "2024-01-19T21:44:15+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_c1f7b4b8d7a44936a93456f729deeeed", "object": "Shipment", "tax_identifiers": + [{"entity": "SENDER", "tax_id": "HIDDEN", "tax_id_type": "EORI", "issuing_country": + "GB"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7321' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_c1f7b4b8d7a44936a93456f729deeeed + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaed2fe78ba7c7000d54f0 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.978785' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "tax_identifiers": + [{"entity": "SENDER", "tax_id": "GB123456789", "tax_id_type": "EORI", "issuing_country": + "GB"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1001' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:48:08Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T21:48:09Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_c13eca11b8034ca887b5385068b27fcc", + "object": "CustomsInfo", "created_at": "2024-01-19T21:48:08Z", "updated_at": + "2024-01-19T21:48:08Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_f1f8e9b192f24628a635794950e3877c", "object": "CustomsItem", + "created_at": "2024-01-19T21:48:08Z", "updated_at": "2024-01-19T21:48:08Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_6efd7084b71411eeaa733cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:48:08+00:00", "updated_at": "2024-01-19T21:48:08+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_fe5a53eeff804502b370897e8ab80697", "object": "Parcel", "created_at": + "2024-01-19T21:48:08Z", "updated_at": "2024-01-19T21:48:08Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_f6e417fab53f42e88d1c399d44624338", + "object": "Rate", "created_at": "2024-01-19T21:48:09Z", "updated_at": "2024-01-19T21:48:09Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_83f81b1fea4146849db664fdc69a921f", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b5bcb4c832e54da1b8f472f14f405831", + "object": "Rate", "created_at": "2024-01-19T21:48:09Z", "updated_at": "2024-01-19T21:48:09Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_83f81b1fea4146849db664fdc69a921f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_868c164991134c28941e6259a8902bff", "object": "Rate", "created_at": + "2024-01-19T21:48:09Z", "updated_at": "2024-01-19T21:48:09Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_83f81b1fea4146849db664fdc69a921f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_e2b288553a5e468bb16d96250d6be090", "object": "Rate", "created_at": + "2024-01-19T21:48:09Z", "updated_at": "2024-01-19T21:48:09Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_83f81b1fea4146849db664fdc69a921f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_2085dfc22dc24b249db09bdebf426301", "object": "Rate", "created_at": + "2024-01-19T21:48:09Z", "updated_at": "2024-01-19T21:48:09Z", "mode": "test", + "service": "Priority", "carrier": "USPS", "rate": "7.99", "currency": "USD", + "retail_rate": "14.05", "retail_currency": "USD", "list_rate": "10.27", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, + "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": + "shp_83f81b1fea4146849db664fdc69a921f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_6efabfc2b71411eeac6aac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:48:08+00:00", "updated_at": "2024-01-19T21:48:08+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_6efd7084b71411eeaa733cecef1b359e", "object": "Address", "created_at": + "2024-01-19T21:48:08+00:00", "updated_at": "2024-01-19T21:48:08+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_6efabfc2b71411eeac6aac1f6bc53342", + "object": "Address", "created_at": "2024-01-19T21:48:08+00:00", "updated_at": + "2024-01-19T21:48:08+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_83f81b1fea4146849db664fdc69a921f", "object": "Shipment", "tax_identifiers": + [{"entity": "SENDER", "tax_id": "HIDDEN", "tax_id_type": "EORI", "issuing_country": + "GB"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7321' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_83f81b1fea4146849db664fdc69a921f + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdab65aaee18e78bb04b00114c45 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '1.147684' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "tax_identifiers": + [{"entity": "SENDER", "tax_id": "GB123456789", "tax_id_type": "EORI", "issuing_country": + "GB"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1001' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:50:04Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T21:50:04Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_82fac8c436a549d7937206e1df7f71ba", + "object": "CustomsInfo", "created_at": "2024-01-19T21:50:04Z", "updated_at": + "2024-01-19T21:50:04Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_9d4311a2cc73454f8dbbf6c5b15843db", "object": "CustomsItem", + "created_at": "2024-01-19T21:50:04Z", "updated_at": "2024-01-19T21:50:04Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_b3ed5a8bb71411ee832bac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:50:04+00:00", "updated_at": "2024-01-19T21:50:04+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_48f6a85c4c87459c8555c93b60fb8d80", "object": "Parcel", "created_at": + "2024-01-19T21:50:04Z", "updated_at": "2024-01-19T21:50:04Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_eaeab5b62e5944bbbba4e9b94e81b80b", + "object": "Rate", "created_at": "2024-01-19T21:50:04Z", "updated_at": "2024-01-19T21:50:04Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_e0d3396910464496941da65e513cbc18", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_29f14a27188d4bd6b2c28f1dd85aa762", + "object": "Rate", "created_at": "2024-01-19T21:50:04Z", "updated_at": "2024-01-19T21:50:04Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_e0d3396910464496941da65e513cbc18", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_dc50a9a678da43feb362e18110b2e4a3", + "object": "Rate", "created_at": "2024-01-19T21:50:04Z", "updated_at": "2024-01-19T21:50:04Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_e0d3396910464496941da65e513cbc18", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_affa9121ed0d472fbabcf42d916ee97f", + "object": "Rate", "created_at": "2024-01-19T21:50:04Z", "updated_at": "2024-01-19T21:50:04Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_e0d3396910464496941da65e513cbc18", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_c397c24fa9cf405eb6757b3d6884811a", "object": "Rate", "created_at": + "2024-01-19T21:50:04Z", "updated_at": "2024-01-19T21:50:04Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_e0d3396910464496941da65e513cbc18", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_b3ead4a2b71411ee803a3cecef1b359e", "object": + "Address", "created_at": "2024-01-19T21:50:04+00:00", "updated_at": "2024-01-19T21:50:04+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_b3ed5a8bb71411ee832bac1f6bc539ae", "object": "Address", "created_at": + "2024-01-19T21:50:04+00:00", "updated_at": "2024-01-19T21:50:04+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_b3ead4a2b71411ee803a3cecef1b359e", + "object": "Address", "created_at": "2024-01-19T21:50:04+00:00", "updated_at": + "2024-01-19T21:50:04+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_e0d3396910464496941da65e513cbc18", "object": "Shipment", "tax_identifiers": + [{"entity": "SENDER", "tax_id": "HIDDEN", "tax_id_type": "EORI", "issuing_country": + "GB"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7321' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_e0d3396910464496941da65e513cbc18 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdae65aaee8ce78bb86e00118e26 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.916958' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "tax_identifiers": + [{"entity": "SENDER", "tax_id": "GB123456789", "tax_id_type": "EORI", "issuing_country": + "GB"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1001' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T21:59:23Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T21:59:24Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_2b803c6438c14f238abc00b6cab6894c", + "object": "CustomsInfo", "created_at": "2024-01-19T21:59:23Z", "updated_at": + "2024-01-19T21:59:23Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_7c47f9c940624d2294eedd76b0da529c", "object": "CustomsItem", + "created_at": "2024-01-19T21:59:23Z", "updated_at": "2024-01-19T21:59:23Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_018384f5b71611eeb068ac1f6bc53342", "object": + "Address", "created_at": "2024-01-19T21:59:23+00:00", "updated_at": "2024-01-19T21:59:23+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_4e2300184432458597e5f907dcd0facf", "object": "Parcel", "created_at": + "2024-01-19T21:59:23Z", "updated_at": "2024-01-19T21:59:23Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_d9c3ef49f62145f3b796febcf83b17ff", + "object": "Rate", "created_at": "2024-01-19T21:59:24Z", "updated_at": "2024-01-19T21:59:24Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_3a956d52bba14426956a74497bc46627", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4d3f700a3e664a868cb84b74aabe3600", + "object": "Rate", "created_at": "2024-01-19T21:59:24Z", "updated_at": "2024-01-19T21:59:24Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_3a956d52bba14426956a74497bc46627", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_02194dbdec4c4e8886192c8140413437", + "object": "Rate", "created_at": "2024-01-19T21:59:24Z", "updated_at": "2024-01-19T21:59:24Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_3a956d52bba14426956a74497bc46627", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_147b9cea159f4f8baefb7c34d4732e01", "object": "Rate", "created_at": + "2024-01-19T21:59:24Z", "updated_at": "2024-01-19T21:59:24Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_3a956d52bba14426956a74497bc46627", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_0c1d5a2e1a4e4d309d15d45c9293fc98", "object": "Rate", "created_at": + "2024-01-19T21:59:24Z", "updated_at": "2024-01-19T21:59:24Z", "mode": "test", + "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", + "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": + "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": + "shp_3a956d52bba14426956a74497bc46627", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_0181673cb71611eeb25dac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T21:59:23+00:00", "updated_at": "2024-01-19T21:59:23+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_018384f5b71611eeb068ac1f6bc53342", "object": "Address", "created_at": + "2024-01-19T21:59:23+00:00", "updated_at": "2024-01-19T21:59:23+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_0181673cb71611eeb25dac1f6bc539ae", + "object": "Address", "created_at": "2024-01-19T21:59:23+00:00", "updated_at": + "2024-01-19T21:59:23+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_3a956d52bba14426956a74497bc46627", "object": "Shipment", "tax_identifiers": + [{"entity": "SENDER", "tax_id": "HIDDEN", "tax_id_type": "EORI", "issuing_country": + "GB"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7321' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_3a956d52bba14426956a74497bc46627 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf0bbe798c020000f942b + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.703019' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 + N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": + {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", + "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": + "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", + "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": + "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": + "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": + [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": + "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "tax_identifiers": + [{"entity": "SENDER", "tax_id": "GB123456789", "tax_id_type": "EORI", "issuing_country": + "GB"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1001' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/shipments + response: + body: + string: '{"created_at": "2024-01-19T22:02:19Z", "is_return": false, "messages": + [{"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", + "type": "rate_error", "message": "Unauthorized. Please check credentials and + try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": + "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": + null, "updated_at": "2024-01-19T22:02:19Z", "batch_id": null, "batch_status": + null, "batch_message": null, "customs_info": {"id": "cstinfo_0b78287c632e41c4800207212143f2e5", + "object": "CustomsInfo", "created_at": "2024-01-19T22:02:19Z", "updated_at": + "2024-01-19T22:02:19Z", "contents_explanation": "", "contents_type": "merchandise", + "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI + 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, + "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": + [{"id": "cstitem_731c17b30dc84d2b98f31c7b0ad9611e", "object": "CustomsItem", + "created_at": "2024-01-19T22:02:19Z", "updated_at": "2024-01-19T22:02:19Z", + "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": + "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": + "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": + null}]}, "from_address": {"id": "adr_6a016043b71611ee93e7ac1f6bc539ae", "object": + "Address", "created_at": "2024-01-19T22:02:19+00:00", "updated_at": "2024-01-19T22:02:19+00:00", + "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": + {"id": "prcl_5cd215a05647422e9ad24fe2fb8b41ff", "object": "Parcel", "created_at": + "2024-01-19T22:02:19Z", "updated_at": "2024-01-19T22:02:19Z", "length": 20.2, + "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, + "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_dec4589e16834dac8a6a43f07dbdc447", + "object": "Rate", "created_at": "2024-01-19T22:02:19Z", "updated_at": "2024-01-19T22:02:19Z", + "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", + "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": + "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + null, "shipment_id": "shp_707a6b82c1bc47938ccbb49ba9c33c52", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_627bb1fac1784afb8bbd48d5a497c494", + "object": "Rate", "created_at": "2024-01-19T22:02:19Z", "updated_at": "2024-01-19T22:02:19Z", + "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", + "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": + "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 2, "shipment_id": "shp_707a6b82c1bc47938ccbb49ba9c33c52", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_70bf05cf069c4c7cb79a25e52d9511e7", + "object": "Rate", "created_at": "2024-01-19T22:02:19Z", "updated_at": "2024-01-19T22:02:19Z", + "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", + "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": + "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": + 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": + 3, "shipment_id": "shp_707a6b82c1bc47938ccbb49ba9c33c52", "carrier_account_id": + "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b612c30722f345cf99abe290d6d2a5bb", + "object": "Rate", "created_at": "2024-01-19T22:02:19Z", "updated_at": "2024-01-19T22:02:19Z", + "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_707a6b82c1bc47938ccbb49ba9c33c52", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, + {"id": "rate_00350e140ae244d4a7d9ccccb066281d", "object": "Rate", "created_at": + "2024-01-19T22:02:19Z", "updated_at": "2024-01-19T22:02:19Z", "mode": "test", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": + "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", + "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": + null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": + "shp_707a6b82c1bc47938ccbb49ba9c33c52", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], + "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": + null, "to_address": {"id": "adr_69fe73e0b71611eea244ac1f6bc539aa", "object": + "Address", "created_at": "2024-01-19T22:02:19+00:00", "updated_at": "2024-01-19T22:02:19+00:00", + "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", + "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": + "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": + "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, + "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": + {"id": "adr_6a016043b71611ee93e7ac1f6bc539ae", "object": "Address", "created_at": + "2024-01-19T22:02:19+00:00", "updated_at": "2024-01-19T22:02:19+00:00", "name": + "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": + "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": + "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", + "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": + null, "verifications": {}}, "buyer_address": {"id": "adr_69fe73e0b71611eea244ac1f6bc539aa", + "object": "Address", "created_at": "2024-01-19T22:02:19+00:00", "updated_at": + "2024-01-19T22:02:19+00:00", "name": "Dr. Steve Brule", "company": null, "street1": + "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", + "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", + "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": + null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], + "id": "shp_707a6b82c1bc47938ccbb49ba9c33c52", "object": "Shipment", "tax_identifiers": + [{"entity": "SENDER", "tax_id": "HIDDEN", "tax_id_type": "EORI", "issuing_country": + "GB"}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '7321' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/shipments/shp_707a6b82c1bc47938ccbb49ba9c33c52 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf16be798c882001031dc + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.881220' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_trackers_create.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_trackers_create.yaml new file mode 100644 index 00000000..831c504b --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_trackers_create.yaml @@ -0,0 +1,524 @@ +interactions: +- request: + body: '{"tracker": {"tracking_code": "EZ1000000001", "carrier": "USPS"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '65' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/trackers + response: + body: + string: '{"id": "trk_acfcc5058c5445bda6c3c331125d52c9", "object": "Tracker", + "mode": "test", "tracking_code": "EZ1000000001", "status": "pre_transit", + "status_detail": "status_update", "created_at": "2023-11-30T20:36:36Z", "updated_at": + "2023-12-01T05:14:45Z", "signed_by": null, "weight": null, "est_delivery_date": + "2023-12-01T05:14:45Z", "shipment_id": null, "carrier": "USPS", "tracking_details": + [{"object": "TrackingDetail", "message": "Pre-Shipment Info Sent to USPS", + "description": "", "status": "pre_transit", "status_detail": "status_update", + "datetime": "2023-11-01T05:14:45Z", "source": "USPS", "carrier_code": "", + "tracking_location": {"object": "TrackingLocation", "city": null, "state": + null, "country": null, "zip": null}}, {"object": "TrackingDetail", "message": + "Shipping Label Created", "description": "", "status": "pre_transit", "status_detail": + "status_update", "datetime": "2023-11-01T17:51:45Z", "source": "USPS", "carrier_code": + "", "tracking_location": {"object": "TrackingLocation", "city": "HOUSTON", + "state": "TX", "country": null, "zip": "77063"}}], "carrier_detail": {"object": + "CarrierDetail", "service": "First-Class Package Service", "container_type": + null, "est_delivery_date_local": null, "est_delivery_time_local": null, "origin_location": + "HOUSTON TX, 77001", "origin_tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}, "destination_location": + "CHARLESTON SC, 29401", "destination_tracking_location": null, "guaranteed_delivery_date": + null, "alternate_identifier": null, "initial_delivery_attempt": null}, "finalized": + true, "is_return": false, "public_url": "https://track.easypost.com/djE6dHJrX2FjZmNjNTA1OGM1NDQ1YmRhNmMzYzMzMTEyNWQ1MmM5"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1618' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/trackers/trk_acfcc5058c5445bda6c3c331125d52c9 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaecbbe78b9f8c000d10b7 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.096335' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"tracker": {"tracking_code": "EZ1000000001", "carrier": "USPS"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '65' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/trackers + response: + body: + string: '{"id": "trk_acfcc5058c5445bda6c3c331125d52c9", "object": "Tracker", + "mode": "test", "tracking_code": "EZ1000000001", "status": "pre_transit", + "status_detail": "status_update", "created_at": "2023-11-30T20:36:36Z", "updated_at": + "2023-12-01T05:14:45Z", "signed_by": null, "weight": null, "est_delivery_date": + "2023-12-01T05:14:45Z", "shipment_id": null, "carrier": "USPS", "tracking_details": + [{"object": "TrackingDetail", "message": "Pre-Shipment Info Sent to USPS", + "description": "", "status": "pre_transit", "status_detail": "status_update", + "datetime": "2023-11-01T05:14:45Z", "source": "USPS", "carrier_code": "", + "tracking_location": {"object": "TrackingLocation", "city": null, "state": + null, "country": null, "zip": null}}, {"object": "TrackingDetail", "message": + "Shipping Label Created", "description": "", "status": "pre_transit", "status_detail": + "status_update", "datetime": "2023-11-01T17:51:45Z", "source": "USPS", "carrier_code": + "", "tracking_location": {"object": "TrackingLocation", "city": "HOUSTON", + "state": "TX", "country": null, "zip": "77063"}}], "carrier_detail": {"object": + "CarrierDetail", "service": "First-Class Package Service", "container_type": + null, "est_delivery_date_local": null, "est_delivery_time_local": null, "origin_location": + "HOUSTON TX, 77001", "origin_tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}, "destination_location": + "CHARLESTON SC, 29401", "destination_tracking_location": null, "guaranteed_delivery_date": + null, "alternate_identifier": null, "initial_delivery_attempt": null}, "finalized": + true, "is_return": false, "public_url": "https://track.easypost.com/djE6dHJrX2FjZmNjNTA1OGM1NDQ1YmRhNmMzYzMzMTEyNWQ1MmM5"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1618' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/trackers/trk_acfcc5058c5445bda6c3c331125d52c9 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaed30e78ba7c8000d55e9 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.069521' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"tracker": {"tracking_code": "EZ1000000001", "carrier": "USPS"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '65' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/trackers + response: + body: + string: '{"id": "trk_acfcc5058c5445bda6c3c331125d52c9", "object": "Tracker", + "mode": "test", "tracking_code": "EZ1000000001", "status": "pre_transit", + "status_detail": "status_update", "created_at": "2023-11-30T20:36:36Z", "updated_at": + "2023-12-01T05:14:45Z", "signed_by": null, "weight": null, "est_delivery_date": + "2023-12-01T05:14:45Z", "shipment_id": null, "carrier": "USPS", "tracking_details": + [{"object": "TrackingDetail", "message": "Pre-Shipment Info Sent to USPS", + "description": "", "status": "pre_transit", "status_detail": "status_update", + "datetime": "2023-11-01T05:14:45Z", "source": "USPS", "carrier_code": "", + "tracking_location": {"object": "TrackingLocation", "city": null, "state": + null, "country": null, "zip": null}}, {"object": "TrackingDetail", "message": + "Shipping Label Created", "description": "", "status": "pre_transit", "status_detail": + "status_update", "datetime": "2023-11-01T17:51:45Z", "source": "USPS", "carrier_code": + "", "tracking_location": {"object": "TrackingLocation", "city": "HOUSTON", + "state": "TX", "country": null, "zip": "77063"}}], "carrier_detail": {"object": + "CarrierDetail", "service": "First-Class Package Service", "container_type": + null, "est_delivery_date_local": null, "est_delivery_time_local": null, "origin_location": + "HOUSTON TX, 77001", "origin_tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}, "destination_location": + "CHARLESTON SC, 29401", "destination_tracking_location": null, "guaranteed_delivery_date": + null, "alternate_identifier": null, "initial_delivery_attempt": null}, "finalized": + true, "is_return": false, "public_url": "https://track.easypost.com/djE6dHJrX2FjZmNjNTA1OGM1NDQ1YmRhNmMzYzMzMTEyNWQ1MmM5"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1618' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/trackers/trk_acfcc5058c5445bda6c3c331125d52c9 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda965aaee19e78bb04c00114d0d + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.099038' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"tracker": {"tracking_code": "EZ1000000001", "carrier": "USPS"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '65' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/trackers + response: + body: + string: '{"id": "trk_acfcc5058c5445bda6c3c331125d52c9", "object": "Tracker", + "mode": "test", "tracking_code": "EZ1000000001", "status": "pre_transit", + "status_detail": "status_update", "created_at": "2023-11-30T20:36:36Z", "updated_at": + "2023-12-01T05:14:45Z", "signed_by": null, "weight": null, "est_delivery_date": + "2023-12-01T05:14:45Z", "shipment_id": null, "carrier": "USPS", "tracking_details": + [{"object": "TrackingDetail", "message": "Pre-Shipment Info Sent to USPS", + "description": "", "status": "pre_transit", "status_detail": "status_update", + "datetime": "2023-11-01T05:14:45Z", "source": "USPS", "carrier_code": "", + "tracking_location": {"object": "TrackingLocation", "city": null, "state": + null, "country": null, "zip": null}}, {"object": "TrackingDetail", "message": + "Shipping Label Created", "description": "", "status": "pre_transit", "status_detail": + "status_update", "datetime": "2023-11-01T17:51:45Z", "source": "USPS", "carrier_code": + "", "tracking_location": {"object": "TrackingLocation", "city": "HOUSTON", + "state": "TX", "country": null, "zip": "77063"}}], "carrier_detail": {"object": + "CarrierDetail", "service": "First-Class Package Service", "container_type": + null, "est_delivery_date_local": null, "est_delivery_time_local": null, "origin_location": + "HOUSTON TX, 77001", "origin_tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}, "destination_location": + "CHARLESTON SC, 29401", "destination_tracking_location": null, "guaranteed_delivery_date": + null, "alternate_identifier": null, "initial_delivery_attempt": null}, "finalized": + true, "is_return": false, "public_url": "https://track.easypost.com/djE6dHJrX2FjZmNjNTA1OGM1NDQ1YmRhNmMzYzMzMTEyNWQ1MmM5"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1618' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/trackers/trk_acfcc5058c5445bda6c3c331125d52c9 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda765aaee8de78bb88600118ed0 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.080598' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"tracker": {"tracking_code": "EZ1000000001", "carrier": "USPS"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '65' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/trackers + response: + body: + string: '{"id": "trk_acfcc5058c5445bda6c3c331125d52c9", "object": "Tracker", + "mode": "test", "tracking_code": "EZ1000000001", "status": "pre_transit", + "status_detail": "status_update", "created_at": "2023-11-30T20:36:36Z", "updated_at": + "2023-12-01T05:14:45Z", "signed_by": null, "weight": null, "est_delivery_date": + "2023-12-01T05:14:45Z", "shipment_id": null, "carrier": "USPS", "tracking_details": + [{"object": "TrackingDetail", "message": "Pre-Shipment Info Sent to USPS", + "description": "", "status": "pre_transit", "status_detail": "status_update", + "datetime": "2023-11-01T05:14:45Z", "source": "USPS", "carrier_code": "", + "tracking_location": {"object": "TrackingLocation", "city": null, "state": + null, "country": null, "zip": null}}, {"object": "TrackingDetail", "message": + "Shipping Label Created", "description": "", "status": "pre_transit", "status_detail": + "status_update", "datetime": "2023-11-01T17:51:45Z", "source": "USPS", "carrier_code": + "", "tracking_location": {"object": "TrackingLocation", "city": "HOUSTON", + "state": "TX", "country": null, "zip": "77063"}}], "carrier_detail": {"object": + "CarrierDetail", "service": "First-Class Package Service", "container_type": + null, "est_delivery_date_local": null, "est_delivery_time_local": null, "origin_location": + "HOUSTON TX, 77001", "origin_tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}, "destination_location": + "CHARLESTON SC, 29401", "destination_tracking_location": null, "guaranteed_delivery_date": + null, "alternate_identifier": null, "initial_delivery_attempt": null}, "finalized": + true, "is_return": false, "public_url": "https://track.easypost.com/djE6dHJrX2FjZmNjNTA1OGM1NDQ1YmRhNmMzYzMzMTEyNWQ1MmM5"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1618' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/trackers/trk_acfcc5058c5445bda6c3c331125d52c9 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaf0bce798c021000f9519 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.071083' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"tracker": {"tracking_code": "EZ1000000001", "carrier": "USPS"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '65' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/trackers + response: + body: + string: '{"id": "trk_acfcc5058c5445bda6c3c331125d52c9", "object": "Tracker", + "mode": "test", "tracking_code": "EZ1000000001", "status": "pre_transit", + "status_detail": "status_update", "created_at": "2023-11-30T20:36:36Z", "updated_at": + "2023-12-01T05:14:45Z", "signed_by": null, "weight": null, "est_delivery_date": + "2023-12-01T05:14:45Z", "shipment_id": null, "carrier": "USPS", "tracking_details": + [{"object": "TrackingDetail", "message": "Pre-Shipment Info Sent to USPS", + "description": "", "status": "pre_transit", "status_detail": "status_update", + "datetime": "2023-11-01T05:14:45Z", "source": "USPS", "carrier_code": "", + "tracking_location": {"object": "TrackingLocation", "city": null, "state": + null, "country": null, "zip": null}}, {"object": "TrackingDetail", "message": + "Shipping Label Created", "description": "", "status": "pre_transit", "status_detail": + "status_update", "datetime": "2023-11-01T17:51:45Z", "source": "USPS", "carrier_code": + "", "tracking_location": {"object": "TrackingLocation", "city": "HOUSTON", + "state": "TX", "country": null, "zip": "77063"}}], "carrier_detail": {"object": + "CarrierDetail", "service": "First-Class Package Service", "container_type": + null, "est_delivery_date_local": null, "est_delivery_time_local": null, "origin_location": + "HOUSTON TX, 77001", "origin_tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}, "destination_location": + "CHARLESTON SC, 29401", "destination_tracking_location": null, "guaranteed_delivery_date": + null, "alternate_identifier": null, "initial_delivery_attempt": null}, "finalized": + true, "is_return": false, "public_url": "https://track.easypost.com/djE6dHJrX2FjZmNjNTA1OGM1NDQ1YmRhNmMzYzMzMTEyNWQ1MmM5"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1618' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + location: + - /api/v2/trackers/trk_acfcc5058c5445bda6c3c331125d52c9 + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf16ce798c883001032eb + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.077123' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_trackers_list.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_trackers_list.yaml new file mode 100644 index 00000000..5691d6e2 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_trackers_list.yaml @@ -0,0 +1,496 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/trackers?page_size=1 + response: + body: + string: '{"trackers": [{"id": "trk_783fdb3f049b43c9a1092ed41513055e", "object": + "Tracker", "mode": "test", "tracking_code": "9405500207552010707832", "status": + "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:42:16Z", + "updated_at": "2024-01-19T21:42:16Z", "signed_by": null, "weight": null, "est_delivery_date": + "2024-01-19T21:42:16Z", "shipment_id": "shp_1b88cbe26946440d8d1afca25750e9ac", + "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": + "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-19T21:42:16Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", + "message": "Shipping Label Created", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-20T10:19:16Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": + null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": + null}, "public_url": "https://track.easypost.com/djE6dHJrXzc4M2ZkYjNmMDQ5YjQzYzlhMTA5MmVkNDE1MTMwNTVl"}], + "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1668' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaecbce78b9fa6000d1137 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.108045' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/trackers?page_size=1 + response: + body: + string: '{"trackers": [{"id": "trk_f1987fe517404992ad1454ff5cf5cc43", "object": + "Tracker", "mode": "test", "tracking_code": "9405500207552010708143", "status": + "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:44:13Z", + "updated_at": "2024-01-19T21:44:13Z", "signed_by": null, "weight": null, "est_delivery_date": + "2024-01-19T21:44:13Z", "shipment_id": "shp_09762a154e9a47d7a366232f343ef84b", + "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": + "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-19T21:44:13Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", + "message": "Shipping Label Created", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-20T10:21:13Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": + null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": + null}, "public_url": "https://track.easypost.com/djE6dHJrX2YxOTg3ZmU1MTc0MDQ5OTJhZDE0NTRmZjVjZjVjYzQz"}], + "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1668' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaed31e78ba7cb000d56aa + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.049036' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/trackers?page_size=1 + response: + body: + string: '{"trackers": [{"id": "trk_15bfb692feff4d139898d88d44a999dc", "object": + "Tracker", "mode": "test", "tracking_code": "9405500207552010708624", "status": + "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:48:06Z", + "updated_at": "2024-01-19T21:48:06Z", "signed_by": null, "weight": null, "est_delivery_date": + "2024-01-19T21:48:06Z", "shipment_id": "shp_a6b3fe8dc7804c51bf4f047f6cfed89c", + "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": + "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-19T21:48:06Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", + "message": "Shipping Label Created", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-20T10:25:06Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": + null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": + null}, "public_url": "https://track.easypost.com/djE6dHJrXzE1YmZiNjkyZmVmZjRkMTM5ODk4ZDg4ZDQ0YTk5OWRj"}], + "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1668' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdaa65aaee1ae78bb04f00114d9c + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.180699' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/trackers?page_size=1 + response: + body: + string: '{"trackers": [{"id": "trk_868d8dd515a74ae4aeb0f1e89d160df1", "object": + "Tracker", "mode": "test", "tracking_code": "9405500207552010709232", "status": + "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:50:01Z", + "updated_at": "2024-01-19T21:50:01Z", "signed_by": null, "weight": null, "est_delivery_date": + "2024-01-19T21:50:01Z", "shipment_id": "shp_e6890d7bdcba4918bad87fdcc87deb6a", + "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": + "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-19T21:50:01Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", + "message": "Shipping Label Created", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-20T10:27:01Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": + null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": + null}, "public_url": "https://track.easypost.com/djE6dHJrXzg2OGQ4ZGQ1MTVhNzRhZTRhZWIwZjFlODlkMTYwZGYx"}], + "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1668' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdad65aaee8ee78bb88900118f68 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.044845' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/trackers?page_size=1 + response: + body: + string: '{"trackers": [{"id": "trk_b14d8cb4d02247f1ae3fbf6d40460ce6", "object": + "Tracker", "mode": "test", "tracking_code": "9405500207552010711617", "status": + "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:59:21Z", + "updated_at": "2024-01-19T21:59:21Z", "signed_by": null, "weight": null, "est_delivery_date": + "2024-01-19T21:59:21Z", "shipment_id": "shp_4cb2ac419eb04d1da5c923fd9b3785e8", + "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": + "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-19T21:59:21Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", + "message": "Shipping Label Created", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-20T10:36:21Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": + null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": + null}, "public_url": "https://track.easypost.com/djE6dHJrX2IxNGQ4Y2I0ZDAyMjQ3ZjFhZTNmYmY2ZDQwNDYwY2U2"}], + "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1668' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf0bde798c03b000f95eb + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.055255' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/trackers?page_size=1 + response: + body: + string: '{"trackers": [{"id": "trk_65bb8063950b4af594ef16f0b65c1733", "object": + "Tracker", "mode": "test", "tracking_code": "9405500207552010712010", "status": + "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T22:02:16Z", + "updated_at": "2024-01-19T22:02:16Z", "signed_by": null, "weight": null, "est_delivery_date": + "2024-01-19T22:02:16Z", "shipment_id": "shp_6643f05ef56a40f3bfd702548750d5d3", + "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": + "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-19T22:02:16Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", + "message": "Shipping Label Created", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-20T10:39:16Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": + null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": + null}, "public_url": "https://track.easypost.com/djE6dHJrXzY1YmI4MDYzOTUwYjRhZjU5NGVmMTZmMGI2NWMxNzMz"}], + "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1668' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaf16de798c89d001033a5 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.059541' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_trackers_retrieve.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_trackers_retrieve.yaml new file mode 100644 index 00000000..dbe0c4a7 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_trackers_retrieve.yaml @@ -0,0 +1,988 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/trackers?page_size=1 + response: + body: + string: '{"trackers": [{"id": "trk_783fdb3f049b43c9a1092ed41513055e", "object": + "Tracker", "mode": "test", "tracking_code": "9405500207552010707832", "status": + "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:42:16Z", + "updated_at": "2024-01-19T21:42:16Z", "signed_by": null, "weight": null, "est_delivery_date": + "2024-01-19T21:42:16Z", "shipment_id": "shp_1b88cbe26946440d8d1afca25750e9ac", + "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": + "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-19T21:42:16Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", + "message": "Shipping Label Created", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-20T10:19:16Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": + null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": + null}, "public_url": "https://track.easypost.com/djE6dHJrXzc4M2ZkYjNmMDQ5YjQzYzlhMTA5MmVkNDE1MTMwNTVl"}], + "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1668' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaecbbe78b9f8d000d10f1 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.048618' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/trackers/trk_783fdb3f049b43c9a1092ed41513055e + response: + body: + string: '{"id": "trk_783fdb3f049b43c9a1092ed41513055e", "object": "Tracker", + "mode": "test", "tracking_code": "9405500207552010707832", "status": "pre_transit", + "status_detail": "status_update", "created_at": "2024-01-19T21:42:16Z", "updated_at": + "2024-01-19T21:42:16Z", "signed_by": null, "weight": null, "est_delivery_date": + "2024-01-19T21:42:16Z", "shipment_id": "shp_1b88cbe26946440d8d1afca25750e9ac", + "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": + "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-19T21:42:16Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", + "message": "Shipping Label Created", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-20T10:19:16Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": + null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": + null}, "public_url": "https://track.easypost.com/djE6dHJrXzc4M2ZkYjNmMDQ5YjQzYzlhMTA5MmVkNDE1MTMwNTVl"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1637' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaecbce78b9fa5000d1117 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.047180' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/trackers?page_size=1 + response: + body: + string: '{"trackers": [{"id": "trk_f1987fe517404992ad1454ff5cf5cc43", "object": + "Tracker", "mode": "test", "tracking_code": "9405500207552010708143", "status": + "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:44:13Z", + "updated_at": "2024-01-19T21:44:13Z", "signed_by": null, "weight": null, "est_delivery_date": + "2024-01-19T21:44:13Z", "shipment_id": "shp_09762a154e9a47d7a366232f343ef84b", + "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": + "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-19T21:44:13Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", + "message": "Shipping Label Created", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-20T10:21:13Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": + null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": + null}, "public_url": "https://track.easypost.com/djE6dHJrX2YxOTg3ZmU1MTc0MDQ5OTJhZDE0NTRmZjVjZjVjYzQz"}], + "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1668' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaed31e78ba7c9000d5619 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.046775' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/trackers/trk_f1987fe517404992ad1454ff5cf5cc43 + response: + body: + string: '{"id": "trk_f1987fe517404992ad1454ff5cf5cc43", "object": "Tracker", + "mode": "test", "tracking_code": "9405500207552010708143", "status": "pre_transit", + "status_detail": "status_update", "created_at": "2024-01-19T21:44:13Z", "updated_at": + "2024-01-19T21:44:13Z", "signed_by": null, "weight": null, "est_delivery_date": + "2024-01-19T21:44:13Z", "shipment_id": "shp_09762a154e9a47d7a366232f343ef84b", + "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": + "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-19T21:44:13Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", + "message": "Shipping Label Created", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-20T10:21:13Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": + null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": + null}, "public_url": "https://track.easypost.com/djE6dHJrX2YxOTg3ZmU1MTc0MDQ5OTJhZDE0NTRmZjVjZjVjYzQz"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1637' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaed31e78ba7ca000d5656 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.048001' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/trackers?page_size=1 + response: + body: + string: '{"trackers": [{"id": "trk_15bfb692feff4d139898d88d44a999dc", "object": + "Tracker", "mode": "test", "tracking_code": "9405500207552010708624", "status": + "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:48:06Z", + "updated_at": "2024-01-19T21:48:06Z", "signed_by": null, "weight": null, "est_delivery_date": + "2024-01-19T21:48:06Z", "shipment_id": "shp_a6b3fe8dc7804c51bf4f047f6cfed89c", + "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": + "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-19T21:48:06Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", + "message": "Shipping Label Created", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-20T10:25:06Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": + null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": + null}, "public_url": "https://track.easypost.com/djE6dHJrXzE1YmZiNjkyZmVmZjRkMTM5ODk4ZDg4ZDQ0YTk5OWRj"}], + "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1668' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdaa65aaee1ae78bb04d00114d42 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.050653' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/trackers/trk_15bfb692feff4d139898d88d44a999dc + response: + body: + string: '{"id": "trk_15bfb692feff4d139898d88d44a999dc", "object": "Tracker", + "mode": "test", "tracking_code": "9405500207552010708624", "status": "pre_transit", + "status_detail": "status_update", "created_at": "2024-01-19T21:48:06Z", "updated_at": + "2024-01-19T21:48:06Z", "signed_by": null, "weight": null, "est_delivery_date": + "2024-01-19T21:48:06Z", "shipment_id": "shp_a6b3fe8dc7804c51bf4f047f6cfed89c", + "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": + "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-19T21:48:06Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", + "message": "Shipping Label Created", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-20T10:25:06Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": + null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": + null}, "public_url": "https://track.easypost.com/djE6dHJrXzE1YmZiNjkyZmVmZjRkMTM5ODk4ZDg4ZDQ0YTk5OWRj"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1637' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda965aaee1ae78bb04e00114d6c + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.048731' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/trackers?page_size=1 + response: + body: + string: '{"trackers": [{"id": "trk_868d8dd515a74ae4aeb0f1e89d160df1", "object": + "Tracker", "mode": "test", "tracking_code": "9405500207552010709232", "status": + "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:50:01Z", + "updated_at": "2024-01-19T21:50:01Z", "signed_by": null, "weight": null, "est_delivery_date": + "2024-01-19T21:50:01Z", "shipment_id": "shp_e6890d7bdcba4918bad87fdcc87deb6a", + "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": + "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-19T21:50:01Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", + "message": "Shipping Label Created", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-20T10:27:01Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": + null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": + null}, "public_url": "https://track.easypost.com/djE6dHJrXzg2OGQ4ZGQ1MTVhNzRhZTRhZWIwZjFlODlkMTYwZGYx"}], + "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1668' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda865aaee8de78bb88700118f07 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.051258' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/trackers/trk_868d8dd515a74ae4aeb0f1e89d160df1 + response: + body: + string: '{"id": "trk_868d8dd515a74ae4aeb0f1e89d160df1", "object": "Tracker", + "mode": "test", "tracking_code": "9405500207552010709232", "status": "pre_transit", + "status_detail": "status_update", "created_at": "2024-01-19T21:50:01Z", "updated_at": + "2024-01-19T21:50:01Z", "signed_by": null, "weight": null, "est_delivery_date": + "2024-01-19T21:50:01Z", "shipment_id": "shp_e6890d7bdcba4918bad87fdcc87deb6a", + "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": + "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-19T21:50:01Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", + "message": "Shipping Label Created", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-20T10:27:01Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": + null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": + null}, "public_url": "https://track.easypost.com/djE6dHJrXzg2OGQ4ZGQ1MTVhNzRhZTRhZWIwZjFlODlkMTYwZGYx"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1637' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda865aaee8de78bb88800118f33 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.059387' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/trackers?page_size=1 + response: + body: + string: '{"trackers": [{"id": "trk_b14d8cb4d02247f1ae3fbf6d40460ce6", "object": + "Tracker", "mode": "test", "tracking_code": "9405500207552010711617", "status": + "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:59:21Z", + "updated_at": "2024-01-19T21:59:21Z", "signed_by": null, "weight": null, "est_delivery_date": + "2024-01-19T21:59:21Z", "shipment_id": "shp_4cb2ac419eb04d1da5c923fd9b3785e8", + "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": + "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-19T21:59:21Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", + "message": "Shipping Label Created", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-20T10:36:21Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": + null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": + null}, "public_url": "https://track.easypost.com/djE6dHJrX2IxNGQ4Y2I0ZDAyMjQ3ZjFhZTNmYmY2ZDQwNDYwY2U2"}], + "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1668' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf0bde798c022000f9567 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.047137' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/trackers/trk_b14d8cb4d02247f1ae3fbf6d40460ce6 + response: + body: + string: '{"id": "trk_b14d8cb4d02247f1ae3fbf6d40460ce6", "object": "Tracker", + "mode": "test", "tracking_code": "9405500207552010711617", "status": "pre_transit", + "status_detail": "status_update", "created_at": "2024-01-19T21:59:21Z", "updated_at": + "2024-01-19T21:59:21Z", "signed_by": null, "weight": null, "est_delivery_date": + "2024-01-19T21:59:21Z", "shipment_id": "shp_4cb2ac419eb04d1da5c923fd9b3785e8", + "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": + "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-19T21:59:21Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", + "message": "Shipping Label Created", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-20T10:36:21Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": + null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": + null}, "public_url": "https://track.easypost.com/djE6dHJrX2IxNGQ4Y2I0ZDAyMjQ3ZjFhZTNmYmY2ZDQwNDYwY2U2"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1637' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaf0bde798c023000f95a4 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.075722' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/trackers?page_size=1 + response: + body: + string: '{"trackers": [{"id": "trk_65bb8063950b4af594ef16f0b65c1733", "object": + "Tracker", "mode": "test", "tracking_code": "9405500207552010712010", "status": + "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T22:02:16Z", + "updated_at": "2024-01-19T22:02:16Z", "signed_by": null, "weight": null, "est_delivery_date": + "2024-01-19T22:02:16Z", "shipment_id": "shp_6643f05ef56a40f3bfd702548750d5d3", + "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": + "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-19T22:02:16Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", + "message": "Shipping Label Created", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-20T10:39:16Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": + null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": + null}, "public_url": "https://track.easypost.com/djE6dHJrXzY1YmI4MDYzOTUwYjRhZjU5NGVmMTZmMGI2NWMxNzMz"}], + "has_more": true}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1668' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaf16ce798c8840010332c + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.049662' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/trackers/trk_65bb8063950b4af594ef16f0b65c1733 + response: + body: + string: '{"id": "trk_65bb8063950b4af594ef16f0b65c1733", "object": "Tracker", + "mode": "test", "tracking_code": "9405500207552010712010", "status": "pre_transit", + "status_detail": "status_update", "created_at": "2024-01-19T22:02:16Z", "updated_at": + "2024-01-19T22:02:16Z", "signed_by": null, "weight": null, "est_delivery_date": + "2024-01-19T22:02:16Z", "shipment_id": "shp_6643f05ef56a40f3bfd702548750d5d3", + "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": + "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-19T22:02:16Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", + "message": "Shipping Label Created", "description": "", "status": "pre_transit", + "status_detail": "status_update", "datetime": "2023-12-20T10:39:16Z", "source": + "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", + "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": + [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class + Package Service", "container_type": null, "est_delivery_date_local": null, + "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": + {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": + null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": + null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": + null}, "public_url": "https://track.easypost.com/djE6dHJrXzY1YmI4MDYzOTUwYjRhZjU5NGVmMTZmMGI2NWMxNzMz"}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1637' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaf16ce798c89c00103361 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.068777' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_users_retrieve.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_users_retrieve.yaml new file mode 100644 index 00000000..39e47783 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_users_retrieve.yaml @@ -0,0 +1,517 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/users + response: + body: + string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": + null, "name": "New Name", "phone_number": "5555555555", "verified": true, + "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": + false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": + "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", + "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": + null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": + "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User2", "phone_number": "8005550100", "verified": true, "created_at": + "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}, + {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": + "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": + "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": + false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User", "phone_number": "8005550100", "verified": true, "created_at": + "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1725' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaecbee78b9fa8000d122b + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.074373' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/users + response: + body: + string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": + null, "name": "New Name", "phone_number": "5555555555", "verified": true, + "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": + false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": + "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", + "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": + null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": + "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User2", "phone_number": "8005550100", "verified": true, "created_at": + "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}, + {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": + "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": + "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": + false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User", "phone_number": "8005550100", "verified": true, "created_at": + "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2010' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaed33e78ba7e5000d57a7 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.082367' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/users + response: + body: + string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": + null, "name": "New Name", "phone_number": "5555555555", "verified": true, + "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": + false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": + "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", + "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": + null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": + "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User2", "phone_number": "8005550100", "verified": true, "created_at": + "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}, + {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": + "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": + "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": + false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User", "phone_number": "8005550100", "verified": true, "created_at": + "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2010' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdaa65aaee1ce78bb06900114e9d + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.089293' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/users + response: + body: + string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": + null, "name": "New Name", "phone_number": "5555555555", "verified": true, + "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": + false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": + "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", + "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": + null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": + "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User2", "phone_number": "8005550100", "verified": true, "created_at": + "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}, + {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": + "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": + "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": + false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User", "phone_number": "8005550100", "verified": true, "created_at": + "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2010' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda965aaee8fe78bb88c00119066 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.125851' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/users + response: + body: + string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": + null, "name": "New Name", "phone_number": "5555555555", "verified": true, + "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": + false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": + "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", + "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": + null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": + "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User2", "phone_number": "8005550100", "verified": true, "created_at": + "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}, + {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": + "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": + "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": + false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User", "phone_number": "8005550100", "verified": true, "created_at": + "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2010' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf0bfe798c03e000f9775 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.089462' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/users + response: + body: + string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": + null, "name": "New Name", "phone_number": "5555555555", "verified": true, + "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": + false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": + "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", + "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": + null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": + "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User2", "phone_number": "8005550100", "verified": true, "created_at": + "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}, + {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": + "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": + "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": + false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User", "phone_number": "8005550100", "verified": true, "created_at": + "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2010' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaf16fe798c8a0001034f4 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.213756' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_users_update.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_users_update.yaml new file mode 100644 index 00000000..6c62f25b --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_users_update.yaml @@ -0,0 +1,1052 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/users + response: + body: + string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": + null, "name": "New Name", "phone_number": "5555555555", "verified": true, + "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": + false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": + "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", + "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": + null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": + "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User2", "phone_number": "8005550100", "verified": true, "created_at": + "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}, + {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": + "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": + "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": + false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User", "phone_number": "8005550100", "verified": true, "created_at": + "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1725' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaecbee78b9fa9000d1258 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.083183' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"user": {"phone": "5555555555"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '33' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: PATCH + uri: https://api.easypost.com/v2/users/user_54356a6b96c940d8913961a3c7b909f2 + response: + body: + string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": + null, "name": "New Name", "phone_number": "5555555555", "verified": true, + "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": + false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": + "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", + "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": + null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": + "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User2", "phone_number": "8005550100", "verified": true, "created_at": + "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}, + {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": + "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": + "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": + false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User", "phone_number": "8005550100", "verified": true, "created_at": + "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '1725' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaecbee78b9faa000d127b + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.079252' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/users + response: + body: + string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": + null, "name": "New Name", "phone_number": "5555555555", "verified": true, + "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": + false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": + "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", + "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": + null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": + "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User2", "phone_number": "8005550100", "verified": true, "created_at": + "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}, + {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": + "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": + "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": + false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User", "phone_number": "8005550100", "verified": true, "created_at": + "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2010' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaed33e78ba7e6000d57e3 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.111682' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"user": {"phone": "5555555555"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '33' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: PATCH + uri: https://api.easypost.com/v2/users/user_54356a6b96c940d8913961a3c7b909f2 + response: + body: + string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": + null, "name": "New Name", "phone_number": "5555555555", "verified": true, + "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": + false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": + "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", + "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": + null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": + "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User2", "phone_number": "8005550100", "verified": true, "created_at": + "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}, + {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": + "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": + "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": + false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User", "phone_number": "8005550100", "verified": true, "created_at": + "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2010' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaed33e78ba7e7000d5824 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.092223' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/users + response: + body: + string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": + null, "name": "New Name", "phone_number": "5555555555", "verified": true, + "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": + false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": + "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", + "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": + null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": + "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User2", "phone_number": "8005550100", "verified": true, "created_at": + "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}, + {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": + "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": + "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": + false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User", "phone_number": "8005550100", "verified": true, "created_at": + "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2010' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda965aaee1de78bb06a00114ecc + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.085195' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"user": {"phone": "5555555555"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '33' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: PATCH + uri: https://api.easypost.com/v2/users/user_54356a6b96c940d8913961a3c7b909f2 + response: + body: + string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": + null, "name": "New Name", "phone_number": "5555555555", "verified": true, + "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": + false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": + "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", + "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": + null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": + "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User2", "phone_number": "8005550100", "verified": true, "created_at": + "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}, + {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": + "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": + "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": + false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User", "phone_number": "8005550100", "verified": true, "created_at": + "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2010' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdae65aaee1de78bb06b00114ef2 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.087206' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/users + response: + body: + string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": + null, "name": "New Name", "phone_number": "5555555555", "verified": true, + "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": + false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": + "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", + "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": + null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": + "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User2", "phone_number": "8005550100", "verified": true, "created_at": + "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}, + {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": + "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": + "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": + false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User", "phone_number": "8005550100", "verified": true, "created_at": + "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2010' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdae65aaee90e78bb88d0011909a + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.086240' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"user": {"phone": "5555555555"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '33' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: PATCH + uri: https://api.easypost.com/v2/users/user_54356a6b96c940d8913961a3c7b909f2 + response: + body: + string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": + null, "name": "New Name", "phone_number": "5555555555", "verified": true, + "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": + false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": + "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", + "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": + null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": + "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User2", "phone_number": "8005550100", "verified": true, "created_at": + "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}, + {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": + "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": + "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": + false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User", "phone_number": "8005550100", "verified": true, "created_at": + "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2010' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdab65aaee90e78bb88e001190d6 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.091120' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/users + response: + body: + string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": + null, "name": "New Name", "phone_number": "5555555555", "verified": true, + "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": + false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": + "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", + "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": + null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": + "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User2", "phone_number": "8005550100", "verified": true, "created_at": + "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}, + {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": + "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": + "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": + false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User", "phone_number": "8005550100", "verified": true, "created_at": + "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2010' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf0bfe798c03f000f97bb + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.093954' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"user": {"phone": "5555555555"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '33' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: PATCH + uri: https://api.easypost.com/v2/users/user_54356a6b96c940d8913961a3c7b909f2 + response: + body: + string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": + null, "name": "New Name", "phone_number": "5555555555", "verified": true, + "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": + false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": + "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", + "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": + null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": + "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User2", "phone_number": "8005550100", "verified": true, "created_at": + "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}, + {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": + "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": + "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": + false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User", "phone_number": "8005550100", "verified": true, "created_at": + "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2010' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf0c0e798c040000f9830 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.081392' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/users + response: + body: + string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": + null, "name": "New Name", "phone_number": "5555555555", "verified": true, + "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": + false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": + "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", + "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": + null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": + "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User2", "phone_number": "8005550100", "verified": true, "created_at": + "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}, + {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": + "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": + "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": + false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User", "phone_number": "8005550100", "verified": true, "created_at": + "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2010' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaf16fe798c8a100103579 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.084770' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"user": {"phone": "5555555555"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '33' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: PATCH + uri: https://api.easypost.com/v2/users/user_54356a6b96c940d8913961a3c7b909f2 + response: + body: + string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": + null, "name": "New Name", "phone_number": "5555555555", "verified": true, + "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": + false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": + "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", + "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": + null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": + "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User2", "phone_number": "8005550100", "verified": true, "created_at": + "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}, + {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": + "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": + "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": + false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", + "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": + "Test User", "phone_number": "8005550100", "verified": true, "created_at": + "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": + false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": + "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test + User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", + "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2010' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf16fe798c8a2001035d1 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.086901' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_webhooks_create.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_webhooks_create.yaml new file mode 100644 index 00000000..98c9ee82 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_webhooks_create.yaml @@ -0,0 +1,790 @@ +interactions: +- request: + body: '{"webhook": {"url": "http://example.com"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '42' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/webhooks + response: + body: + string: '{"id": "hook_a258052cb71311eeab0e11baa1d48065", "object": "Webhook", + "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:42:25Z", + "disabled_at": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '161' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaecc1e78b9fc7000d13b6 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.162408' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/webhooks/hook_a258052cb71311eeab0e11baa1d48065 + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaecc1e78b9fc9000d140e + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.296082' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"webhook": {"url": "http://example.com"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '42' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/webhooks + response: + body: + string: '{"id": "hook_e7db6328b71311eeb30851732233c017", "object": "Webhook", + "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:44:22Z", + "disabled_at": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '161' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaed35e78ba7eb000d5983 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.130830' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/webhooks/hook_e7db6328b71311eeb30851732233c017 + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaed36e78ba7ec000d59b3 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.318621' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"webhook": {"url": "http://example.com"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '42' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/webhooks + response: + body: + string: '{"id": "hook_7385ef88b71411ee922e33df67866324", "object": "Webhook", + "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:48:16Z", + "disabled_at": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '161' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda965aaee20e78bb06f00115048 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.175403' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/webhooks/hook_7385ef88b71411ee922e33df67866324 + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda865aaee20e78bb070001150a1 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.322261' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"webhook": {"url": "http://example.com"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '42' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/webhooks + response: + body: + string: '{"id": "hook_b817ee94b71411eea8747f6fd9510e61", "object": "Webhook", + "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:50:11Z", + "disabled_at": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '161' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda865aaee93e78bb8a900119271 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.178003' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/webhooks/hook_b817ee94b71411eea8747f6fd9510e61 + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda965aaee93e78bb8aa001192be + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.336926' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"webhook": {"url": "http://example.com"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '42' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/webhooks + response: + body: + string: '{"id": "hook_057b9e0ab71611ee92fe09834b6f519e", "object": "Webhook", + "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:59:30Z", + "disabled_at": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '161' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf0c2e798c044000f99d6 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.163451' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/webhooks/hook_057b9e0ab71611ee92fe09834b6f519e + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf0c2e798c05c000f9a0e + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.256200' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"webhook": {"url": "http://example.com"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '42' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/webhooks + response: + body: + string: '{"id": "hook_6e60fa0ab71611ee96d829a56e1adbe0", "object": "Webhook", + "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T22:02:26Z", + "disabled_at": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '161' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaf172e798c8bf001037de + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.145424' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/webhooks/hook_6e60fa0ab71611ee96d829a56e1adbe0 + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf172e798c8c000103826 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.351506' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_webhooks_delete.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_webhooks_delete.yaml new file mode 100644 index 00000000..a7b735d9 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_webhooks_delete.yaml @@ -0,0 +1,788 @@ +interactions: +- request: + body: '{"webhook": {"url": "http://example.com"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '42' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/webhooks + response: + body: + string: '{"id": "hook_a5b3b98cb71311eebaad0ff890ad3e6a", "object": "Webhook", + "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:42:31Z", + "disabled_at": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '161' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaecc6e78b9fea000d16be + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.155746' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/webhooks/hook_a5b3b98cb71311eebaad0ff890ad3e6a + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaecc7e78b9feb000d16f1 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.281922' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"webhook": {"url": "http://example.com"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '42' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/webhooks + response: + body: + string: '{"id": "hook_eb3fa38ab71311eea03e1100c5ae9ad2", "object": "Webhook", + "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:44:27Z", + "disabled_at": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '161' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaed3be78ba80d000d5ca9 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.177734' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/webhooks/hook_eb3fa38ab71311eea03e1100c5ae9ad2 + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaed3be78ba80e000d5ce8 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.329067' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"webhook": {"url": "http://example.com"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '42' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/webhooks + response: + body: + string: '{"id": "hook_76faf500b71411ee8a7e7fbeeefa1da3", "object": "Webhook", + "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:48:22Z", + "disabled_at": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '161' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda765aaee25e78bb0a9001153f0 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.180791' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/webhooks/hook_76faf500b71411ee8a7e7fbeeefa1da3 + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdad65aaee26e78bb0aa0011541b + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.327926' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"webhook": {"url": "http://example.com"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '42' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/webhooks + response: + body: + string: '{"id": "hook_bba6bc0cb71411ee8708450a69d5097e", "object": "Webhook", + "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:50:17Z", + "disabled_at": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '161' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda765aaee99e78bb8cb00119600 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.155136' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/webhooks/hook_bba6bc0cb71411ee8708450a69d5097e + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdae65aaee99e78bb8cc00119646 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.357895' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"webhook": {"url": "http://example.com"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '42' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/webhooks + response: + body: + string: '{"id": "hook_08f01d22b71611eeac2d136660ebe8e1", "object": "Webhook", + "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:59:36Z", + "disabled_at": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '161' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaf0c8e798c07d000f9cd0 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.130903' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/webhooks/hook_08f01d22b71611eeac2d136660ebe8e1 + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaf0c8e798c07e000f9d02 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.306515' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"webhook": {"url": "http://example.com"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '42' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/webhooks + response: + body: + string: '{"id": "hook_71b73296b71611ee85454d2474daa015", "object": "Webhook", + "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T22:02:32Z", + "disabled_at": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '161' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaf177e798c8e100103cf4 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.175240' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/webhooks/hook_71b73296b71611ee85454d2474daa015 + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf178e798c8e200103d94 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.499184' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_webhooks_list.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_webhooks_list.yaml new file mode 100644 index 00000000..eaaf9364 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_webhooks_list.yaml @@ -0,0 +1,1166 @@ +interactions: +- request: + body: '{"webhook": {"url": "http://example.com"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '42' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/webhooks + response: + body: + string: '{"id": "hook_a3f025eab71311ee809a6118297c1e69", "object": "Webhook", + "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:42:28Z", + "disabled_at": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '161' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaecc3e78b9fcd000d1544 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.148959' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/webhooks?page_size=1 + response: + body: + string: '{"webhooks": [{"id": "hook_a3f025eab71311ee809a6118297c1e69", "object": + "Webhook", "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:42:28Z", + "disabled_at": null}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '176' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaecc4e78b9fce000d1577 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.031030' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/webhooks/hook_a3f025eab71311ee809a6118297c1e69 + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaecc4e78b9fcf000d1590 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.391793' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"webhook": {"url": "http://example.com"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '42' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/webhooks + response: + body: + string: '{"id": "hook_e93fe090b71311eea1fb11a2c6955459", "object": "Webhook", + "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:44:24Z", + "disabled_at": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '161' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaed38e78ba807000d5ac2 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.151795' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/webhooks?page_size=1 + response: + body: + string: '{"webhooks": [{"id": "hook_e93fe090b71311eea1fb11a2c6955459", "object": + "Webhook", "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:44:24Z", + "disabled_at": null}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '176' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaed38e78ba808000d5af4 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.025198' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/webhooks/hook_e93fe090b71311eea1fb11a2c6955459 + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaed38e78ba809000d5b1d + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.295689' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"webhook": {"url": "http://example.com"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '42' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/webhooks + response: + body: + string: '{"id": "hook_74f58c52b71411eea11e112d61fefbe2", "object": "Webhook", + "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:48:18Z", + "disabled_at": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '161' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda865aaee22e78bb08b00115209 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.128367' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/webhooks?page_size=1 + response: + body: + string: '{"webhooks": [{"id": "hook_74f58c52b71411eea11e112d61fefbe2", "object": + "Webhook", "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:48:18Z", + "disabled_at": null}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '176' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda865aaee22e78bb08c00115236 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.025240' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/webhooks/hook_74f58c52b71411eea11e112d61fefbe2 + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdab65aaee23e78bb08d00115253 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.515791' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"webhook": {"url": "http://example.com"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '42' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/webhooks + response: + body: + string: '{"id": "hook_b9c668a6b71411ee9ea44502384d3ec9", "object": "Webhook", + "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:50:14Z", + "disabled_at": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '161' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda765aaee95e78bb8ae00119432 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.167194' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/webhooks?page_size=1 + response: + body: + string: '{"webhooks": [{"id": "hook_b9c668a6b71411ee9ea44502384d3ec9", "object": + "Webhook", "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:50:14Z", + "disabled_at": null}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '176' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda765aaee96e78bb8af00119476 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.028471' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/webhooks/hook_b9c668a6b71411ee9ea44502384d3ec9 + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdae65aaee96e78bb8b00011949a + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.336550' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"webhook": {"url": "http://example.com"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '42' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/webhooks + response: + body: + string: '{"id": "hook_06f507f8b71611eeae12493355cdf30f", "object": "Webhook", + "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:59:33Z", + "disabled_at": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '161' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf0c4e798c060000f9b36 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.170305' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/webhooks?page_size=1 + response: + body: + string: '{"webhooks": [{"id": "hook_06f507f8b71611eeae12493355cdf30f", "object": + "Webhook", "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:59:33Z", + "disabled_at": null}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '176' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf0c5e798c061000f9b81 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.027397' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/webhooks/hook_06f507f8b71611eeae12493355cdf30f + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaf0c5e798c062000f9ba0 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.384021' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"webhook": {"url": "http://example.com"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '42' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/webhooks + response: + body: + string: '{"id": "hook_6fbfd8d0b71611ee87502fa15ededa06", "object": "Webhook", + "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T22:02:29Z", + "disabled_at": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '161' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaf174e798c8c4001039db + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.137746' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/webhooks?page_size=1 + response: + body: + string: '{"webhooks": [{"id": "hook_6fbfd8d0b71611ee87502fa15ededa06", "object": + "Webhook", "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T22:02:29Z", + "disabled_at": null}]}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '176' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf175e798c8c500103a2f + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.027315' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/webhooks/hook_6fbfd8d0b71611ee87502fa15ededa06 + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaf175e798c8c600103a78 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.322772' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_webhooks_retrieve.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_webhooks_retrieve.yaml new file mode 100644 index 00000000..7055edf2 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_webhooks_retrieve.yaml @@ -0,0 +1,1164 @@ +interactions: +- request: + body: '{"webhook": {"url": "http://example.com"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '42' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/webhooks + response: + body: + string: '{"id": "hook_a317b64cb71311eebfd9774bcdd1148b", "object": "Webhook", + "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:42:26Z", + "disabled_at": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '161' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaecc2e78b9fca000d1482 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.200084' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/webhooks/hook_a317b64cb71311eebfd9774bcdd1148b + response: + body: + string: '{"id": "hook_a317b64cb71311eebfd9774bcdd1148b", "object": "Webhook", + "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:42:26Z", + "disabled_at": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '161' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaecc2e78b9fcb000d14b7 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.029760' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/webhooks/hook_a317b64cb71311eebfd9774bcdd1148b + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaecc3e78b9fcc000d14ed + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.362651' + x-version-label: + - easypost-202401191855-c1565c253c-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"webhook": {"url": "http://example.com"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '42' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/webhooks + response: + body: + string: '{"id": "hook_e86d7628b71311eea6a83b8e0e1391d2", "object": "Webhook", + "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:44:23Z", + "disabled_at": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '161' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaed36e78ba7ed000d5a0c + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.130308' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/webhooks/hook_e86d7628b71311eea6a83b8e0e1391d2 + response: + body: + string: '{"id": "hook_e86d7628b71311eea6a83b8e0e1391d2", "object": "Webhook", + "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:44:23Z", + "disabled_at": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '161' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaed37e78ba7ee000d5a52 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.028465' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/webhooks/hook_e86d7628b71311eea6a83b8e0e1391d2 + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaed37e78ba806000d5a75 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.278517' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"webhook": {"url": "http://example.com"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '42' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/webhooks + response: + body: + string: '{"id": "hook_7448062cb71411ee952d5d247cadacdc", "object": "Webhook", + "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:48:17Z", + "disabled_at": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '161' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda865aaee21e78bb08800115102 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.165804' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/webhooks/hook_7448062cb71411ee952d5d247cadacdc + response: + body: + string: '{"id": "hook_7448062cb71411ee952d5d247cadacdc", "object": "Webhook", + "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:48:17Z", + "disabled_at": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '161' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdad65aaee21e78bb0890011515b + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.031830' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/webhooks/hook_7448062cb71411ee952d5d247cadacdc + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdaa65aaee21e78bb08a00115196 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.261612' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"webhook": {"url": "http://example.com"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '42' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/webhooks + response: + body: + string: '{"id": "hook_b8c9ae36b71411ee9d9b0b854eec6322", "object": "Webhook", + "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:50:12Z", + "disabled_at": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '161' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda965aaee94e78bb8ab00119339 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.137455' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/webhooks/hook_b8c9ae36b71411ee9d9b0b854eec6322 + response: + body: + string: '{"id": "hook_b8c9ae36b71411ee9d9b0b854eec6322", "object": "Webhook", + "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:50:12Z", + "disabled_at": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '161' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdaa65aaee94e78bb8ac0011938d + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.028925' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/webhooks/hook_b8c9ae36b71411ee9d9b0b854eec6322 + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdac65aaee95e78bb8ad001193be + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.367455' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"webhook": {"url": "http://example.com"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '42' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/webhooks + response: + body: + string: '{"id": "hook_060bd2c2b71611eeaf8a1943ecdf7c86", "object": "Webhook", + "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:59:31Z", + "disabled_at": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '161' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f865aaf0c3e798c05d000f9a5b + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.138540' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/webhooks/hook_060bd2c2b71611eeaf8a1943ecdf7c86 + response: + body: + string: '{"id": "hook_060bd2c2b71611eeaf8a1943ecdf7c86", "object": "Webhook", + "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:59:31Z", + "disabled_at": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '161' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaf0c3e798c05e000f9a9b + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.030818' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/webhooks/hook_060bd2c2b71611eeaf8a1943ecdf7c86 + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaf0c3e798c05f000f9ac5 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb38nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.353518' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"webhook": {"url": "http://example.com"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '42' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/webhooks + response: + body: + string: '{"id": "hook_6eff7d1ab71611eebfe04d802f4a76b4", "object": "Webhook", + "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T22:02:27Z", + "disabled_at": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '161' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf173e798c8c1001038a8 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb35nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.129112' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + authorization: + - + user-agent: + - + method: GET + uri: https://api.easypost.com/v2/webhooks/hook_6eff7d1ab71611eebfe04d802f4a76b4 + response: + body: + string: '{"id": "hook_6eff7d1ab71611eebfe04d802f4a76b4", "object": "Webhook", + "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T22:02:27Z", + "disabled_at": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '161' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf173e798c8c2001038f7 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.028288' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/webhooks/hook_6eff7d1ab71611eebfe04d802f4a76b4 + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf174e798c8c300103932 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.307737' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_webhooks_update.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_webhooks_update.yaml new file mode 100644 index 00000000..a5afbe84 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/cassettes/test_webhooks_update.yaml @@ -0,0 +1,1190 @@ +interactions: +- request: + body: '{"webhook": {"url": "http://example.com"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '42' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/webhooks + response: + body: + string: '{"id": "hook_a4b29896b71311eeb89d5393417d9862", "object": "Webhook", + "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:42:29Z", + "disabled_at": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '161' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaecc5e78b9fe7000d15eb + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.164476' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"webhook": {}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '15' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: PATCH + uri: https://api.easypost.com/v2/webhooks/hook_a4b29896b71311eeb89d5393417d9862 + response: + body: + string: '{"id": "hook_a4b29896b71311eeb89d5393417d9862", "object": "Webhook", + "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:42:29Z", + "disabled_at": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '161' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f765aaecc5e78b9fe8000d1616 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb41nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.493411' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/webhooks/hook_a4b29896b71311eeb89d5393417d9862 + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaecc6e78b9fe9000d1681 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.311332' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"webhook": {"url": "http://example.com"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '42' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/webhooks + response: + body: + string: '{"id": "hook_ea25d514b71311eeb9196b0e07593052", "object": "Webhook", + "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:44:26Z", + "disabled_at": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '161' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f365aaed39e78ba80a000d5b9a + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.138455' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"webhook": {}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '15' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: PATCH + uri: https://api.easypost.com/v2/webhooks/hook_ea25d514b71311eeb9196b0e07593052 + response: + body: + string: '{"id": "hook_ea25d514b71311eeb9196b0e07593052", "object": "Webhook", + "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:44:26Z", + "disabled_at": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '161' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f665aaed39e78ba80b000d5bcf + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.464175' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/webhooks/hook_ea25d514b71311eeb9196b0e07593052 + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaed3ae78ba80c000d5c3e + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb43nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.437495' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"webhook": {"url": "http://example.com"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '42' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/webhooks + response: + body: + string: '{"id": "hook_75c79b3eb71411ee99963b1f58fc4ef5", "object": "Webhook", + "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:48:20Z", + "disabled_at": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '161' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdab65aaee23e78bb08e001152c2 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.181675' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"webhook": {}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '15' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: PATCH + uri: https://api.easypost.com/v2/webhooks/hook_75c79b3eb71411ee99963b1f58fc4ef5 + response: + body: + string: '{"id": "hook_75c79b3eb71411ee99963b1f58fc4ef5", "object": "Webhook", + "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:48:20Z", + "disabled_at": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '161' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda765aaee24e78bb09000115310 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb42nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.552755' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/webhooks/hook_75c79b3eb71411ee99963b1f58fc4ef5 + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdac65aaee25e78bb09100115392 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.310803' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"webhook": {"url": "http://example.com"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '42' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/webhooks + response: + body: + string: '{"id": "hook_ba91b588b71411ee85866f0305b3321a", "object": "Webhook", + "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:50:15Z", + "disabled_at": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '161' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda965aaee97e78bb8c8001194fa + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.200105' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"webhook": {}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '15' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: PATCH + uri: https://api.easypost.com/v2/webhooks/hook_ba91b588b71411ee85866f0305b3321a + response: + body: + string: '{"id": "hook_ba91b588b71411ee85866f0305b3321a", "object": "Webhook", + "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:50:15Z", + "disabled_at": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '161' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fda765aaee97e78bb8c900119537 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb40nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.476420' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/webhooks/hook_ba91b588b71411ee85866f0305b3321a + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - f627fdaa65aaee98e78bb8ca0011959e + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb34nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb1nuq 003ad9bca0 + x-runtime: + - '0.320167' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"webhook": {"url": "http://example.com"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '42' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/webhooks + response: + body: + string: '{"id": "hook_07e1e53cb71611ee943045252c59cb87", "object": "Webhook", + "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:59:34Z", + "disabled_at": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '161' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f465aaf0c6e798c063000f9be8 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb33nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.147380' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"webhook": {}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '15' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: PATCH + uri: https://api.easypost.com/v2/webhooks/hook_07e1e53cb71611ee943045252c59cb87 + response: + body: + string: '{"id": "hook_07e1e53cb71611ee943045252c59cb87", "object": "Webhook", + "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:59:34Z", + "disabled_at": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '161' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf0c6e798c064000f9c1b + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb31nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.491829' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/webhooks/hook_07e1e53cb71611ee943045252c59cb87 + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f165aaf0c7e798c065000f9c76 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb36nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.326906' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"webhook": {"url": "http://example.com"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '42' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: POST + uri: https://api.easypost.com/v2/webhooks + response: + body: + string: '{"id": "hook_7086d71eb71611ee93316d857d58f1db", "object": "Webhook", + "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T22:02:30Z", + "disabled_at": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '161' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-canary: + - direct + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf175e798c8de00103b25 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb32nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb2nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.161188' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"webhook": {}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '15' + Content-Type: + - application/json + authorization: + - + user-agent: + - + method: PATCH + uri: https://api.easypost.com/v2/webhooks/hook_7086d71eb71611ee93316d857d58f1db + response: + body: + string: '{"id": "hook_7086d71eb71611ee93316d857d58f1db", "object": "Webhook", + "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T22:02:30Z", + "disabled_at": null}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '161' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f565aaf176e798c8df00103b7d + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.464928' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + authorization: + - + user-agent: + - + method: DELETE + uri: https://api.easypost.com/v2/webhooks/hook_7086d71eb71611ee93316d857d58f1db + response: + body: + string: '{}' + headers: + cache-control: + - private, no-cache, no-store + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + expires: + - '0' + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-backend: + - easypost + x-content-type-options: + - nosniff + x-download-options: + - noopen + x-ep-request-uuid: + - 479b01f265aaf177e798c8e000103c19 + x-frame-options: + - SAMEORIGIN + x-node: + - bigweb39nuq + x-permitted-cross-domain-policies: + - none + x-proxied: + - intlb1nuq 1a7e326d32 + - extlb2nuq 003ad9bca0 + x-runtime: + - '0.363901' + x-version-label: + - easypost-202401192104-eb5201a879-master + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/official/tools/build_doc_json_responses/tests/conftest.py b/official/tools/build_doc_json_responses/tests/conftest.py new file mode 100644 index 00000000..7dcd95b7 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/conftest.py @@ -0,0 +1,275 @@ +import datetime +import json +import os +from typing import ( + Any, + Dict, + List, + Tuple, +) + +import easypost +import pytest +from dotenv import load_dotenv + +load_dotenv() + +EASYPOST_TEST_API_KEY = os.getenv("EASYPOST_TEST_API_KEY") +EASYPOST_PROD_API_KEY = os.getenv("EASYPOST_PROD_API_KEY") +PARTNER_USER_PROD_API_KEY = os.getenv("PARTNER_USER_PROD_API_KEY", "123") +REFERRAL_CUSTOMER_PROD_API_KEY = os.getenv("REFERRAL_CUSTOMER_PROD_API_KEY", "123") + +OVERWRITE = "all" if os.getenv("OVERWRITE", False) else "once" + +SCRUBBED_STRING = "" +SCRUBBED_ARRAY: List = [] +SCRUBBED_DICT: Dict = {} + + +@pytest.fixture(scope="session") +def vcr_config(): + """Setup the VCR config for the test suite.""" + return { + "match_on": [ + "body", + "method", + "query", + "uri", + ], + "record_mode": OVERWRITE, + "decode_compressed_response": True, + "filter_headers": [ + ("authorization", SCRUBBED_STRING), + ("user-agent", SCRUBBED_STRING), + ], + "filter_query_parameters": [ + "card[number]", + "card[cvc]", + ], + "before_record_response": scrub_response_bodies( + scrubbers=[ + ["client_ip", SCRUBBED_STRING], + ["key", SCRUBBED_STRING], + ] + ), + } + + +def scrub_response_bodies(scrubbers: List[Tuple[str, Any]]) -> Any: + """Scrub sensitive data from response bodies prior to recording the cassette.""" + + def before_record_response(response: Any) -> Any: + """This function fires prior to persisting data to a cassette.""" + if response["body"]["string"]: + response_body = json.loads(response["body"]["string"].decode()) + + for scrubber in scrubbers: + response_body = scrub_data(response_body, scrubber) + + response["body"]["string"] = json.dumps(response_body).encode() + return response + + def scrub_data(data: Any, scrubber: Tuple[str, Any]) -> Any: + """Scrub data from a cassette recursively.""" + key = scrubber[0] + replacement = scrubber[1] + + # Root-level list scrubbing + if isinstance(data, list): + for index, item in enumerate(data): + if key in item: + data[index][key] = replacement + elif isinstance(data, dict): + # Root-level key scrubbing + if key in data: + data[key] = replacement + else: + # Nested scrubbing + for item in data: + element = data[item] + if isinstance(element, list): + for nested_index, nested_item in enumerate(element): + data[item][nested_index] = scrub_data(nested_item, scrubber) + elif isinstance(element, dict): + data[item] = scrub_data(element, scrubber) + return data + + return before_record_response + + +def read_fixture_data(): + """Reads fixture data from the fixtures JSON file.""" + with open( + os.path.join( + "..", "examples", "official", "fixtures", "example-snippet-fixtures.json" + ) + ) as data: + fixtures = json.load(data) + + return fixtures + + +@pytest.fixture +def test_client(): + """If a test needs to use the EasyPost test mode, make it depend on this fixture.""" + return easypost.EasyPostClient(api_key=EASYPOST_TEST_API_KEY) + + +@pytest.fixture +def prod_client(): + """If a test needs to use the EasyPost prod mode, make it depend on this fixture.""" + return easypost.EasyPostClient(api_key=EASYPOST_PROD_API_KEY) + + +@pytest.fixture +def partner_user_prod_client(): + """If a test needs to use prod mode with a partner user's API key, make it depend on this fixture.""" + return easypost.EasyPostClient(api_key=PARTNER_USER_PROD_API_KEY) + + +@pytest.fixture +def referral_customer_prod_client(): + """If a test needs to use prod mode with a referral customer API key, make it depend on this fixture.""" + return easypost.EasyPostClient(api_key=REFERRAL_CUSTOMER_PROD_API_KEY) + + +@pytest.fixture() +def next_weekday(): + """Returns the next weekday as a string in YYYY-MM-DD format.""" + tomorrow = datetime.date.today() + datetime.timedelta(days=1) + if tomorrow.weekday() == 5: # Tomorrow is Saturday + # Return next Monday + return (tomorrow + datetime.timedelta(days=2)).strftime("%Y-%m-%d") + elif tomorrow.weekday() == 6: # Tomorrow is Sunday + # Return next Monday + return (tomorrow + datetime.timedelta(days=1)).strftime("%Y-%m-%d") + else: + # Return tomorrow + return tomorrow.strftime("%Y-%m-%d") + +@pytest.fixture +def synchronous_sleep_seconds(): + """Use this fixture for sleeping between API calls where synchronous flows happen.""" + return 20 + +@pytest.fixture +def page_size(): + """We keep the page_size of retrieving `all` records small so cassettes stay small.""" + return 1 + + +@pytest.fixture +def usps_carrier_account_id(): + """This is the USPS carrier account ID that comes with your + EasyPost account by default and should be used for all tests. + """ + # Fallback to the EasyPost Docs Tooling User USPS carrier account ID due to strict matching + return os.getenv("USPS_CARRIER_ACCOUNT_ID", "ca_9685a1198a75477885a3cdca37559bac") + + +@pytest.fixture +def report_type(): + return "shipment" + + +@pytest.fixture +def report_date(): + return "2022-10-01" + + +@pytest.fixture +def address_create(): + return read_fixture_data()["address"]["create"] + + +@pytest.fixture +def address_create_and_verify(): + return read_fixture_data()["address"]["create_and_verify"] + + +@pytest.fixture +def address_create_strictly_verified(): + return read_fixture_data()["address"]["create_strictly_verified"] + + +@pytest.fixture +def carrier_account_create(): + return read_fixture_data()["carrier_account"]["create"] + + +@pytest.fixture +def customs_info_create(): + return read_fixture_data()["customs_info"]["create"] + + +@pytest.fixture +def customs_item_create(): + return read_fixture_data()["customs_item"]["create"] + + +@pytest.fixture +def end_shipper_create(): + return read_fixture_data()["end_shipper"]["create"] + + +@pytest.fixture +def form_create(): + return read_fixture_data()["form"]["create"] + + +@pytest.fixture +def insurance_create(): + return read_fixture_data()["insurance"]["create"] + + +@pytest.fixture +def order_create(): + return read_fixture_data()["order"]["create"] + + +@pytest.fixture +def parcel_create(): + return read_fixture_data()["parcel"]["create"] + + +@pytest.fixture +def pickup_create(next_weekday): + """This fixture will require you to add a `shipment` key with a Shipment object from a test. + """ + pickup_date = next_weekday + + pickup_data = read_fixture_data()["pickup"]["create"] + pickup_data["min_datetime"] = pickup_date + pickup_data["max_datetime"] = pickup_date + + return pickup_data + + +@pytest.fixture +def shipment_create(): + return read_fixture_data()["shipment"]["create"] + + +@pytest.fixture +def shipment_one_call_buy(usps_carrier_account_id): + shipment_data = read_fixture_data()["shipment"]["create"] + shipment_data["service"] = "Priority" + shipment_data["carrier"] = "USPS" + shipment_data["carrier_accounts"] = [usps_carrier_account_id] + + return shipment_data + + +@pytest.fixture +def tax_identifier_create(): + return read_fixture_data()["tax_identifier"]["create"] + + +@pytest.fixture +def tracker_create(): + return read_fixture_data()["tracker"]["create"] + + +@pytest.fixture +def webhook_create(): + return read_fixture_data()["webhook"]["create"] diff --git a/official/tools/build_doc_json_responses/tests/test_address.py b/official/tools/build_doc_json_responses/tests/test_address.py new file mode 100644 index 00000000..187cf7b5 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/test_address.py @@ -0,0 +1,68 @@ +import easypost +import pytest +from builder.snippets import build_response_snippet + + +@pytest.mark.vcr() +def test_addresses_create(test_client, address_create): + test_client.address.create(**address_create) + + build_response_snippet() + + +@pytest.mark.vcr() +def test_addresses_create_and_verify(test_client, address_create_and_verify): + test_client.address.create_and_verify(**address_create_and_verify) + + build_response_snippet() + + +@pytest.mark.vcr() +def test_addresses_verify_param(test_client, address_create): + address_create["verify"] = True + test_client.address.create(**address_create) + + build_response_snippet() + + +@pytest.mark.vcr() +def test_addresses_verify_strict_param(test_client, address_create): + address_create["verify_strict"] = True + test_client.address.create(**address_create) + + build_response_snippet() + + +@pytest.mark.vcr() +def test_addresses_verify(test_client, address_create): + """Verify and already created address.""" + address = test_client.address.create(**address_create) + test_client.address.verify(id=address.id) + + build_response_snippet(interaction_index=1) + + +@pytest.mark.vcr() +def test_addresses_verify_failure(test_client, address_create): + """Verify and already created address.""" + address_create["street1"] = "UNDELIVERABLE ST" + address_create["street2"] = None + address_create["verify"] = True + test_client.address.create(**address_create) + + build_response_snippet() + + +@pytest.mark.vcr() +def test_addresses_retrieve(test_client, address_create): + address = test_client.address.create(**address_create) + test_client.address.retrieve(id=address.id) + + build_response_snippet(interaction_index=1) + + +@pytest.mark.vcr() +def test_addresses_list(test_client, page_size): + test_client.address.all(page_size=page_size) + + build_response_snippet() diff --git a/official/tools/build_doc_json_responses/tests/test_api_keys.py b/official/tools/build_doc_json_responses/tests/test_api_keys.py new file mode 100644 index 00000000..2768c7af --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/test_api_keys.py @@ -0,0 +1,68 @@ +import os + +import pytest +from builder.snippets import ( + build_response_snippet, + save_raw_json, +) + + +@pytest.mark.vcr() +def test_api_keys_retrieve(prod_client): + user = prod_client.user.retrieve_me() + prod_client.user.api_keys(id=user.id) + + build_response_snippet(interaction_index=1) + + +def test_api_keys_create(prod_client): + test_name = os.environ.get("PYTEST_CURRENT_TEST").split(":")[-1].split(" ")[0] + + response_dict = { + "object": "ApiKey", + "key": "", + "mode": "test", + "created_at": "2022-01-29T00:02:36Z", + "active": True, + "id": "ak_...", + } + + save_raw_json(test_name, response_dict) + + +def test_api_keys_delete(prod_client): + test_name = os.environ.get("PYTEST_CURRENT_TEST").split(":")[-1].split(" ")[0] + + response_dict = {} + + save_raw_json(test_name, response_dict) + + +def test_api_keys_enable(prod_client): + test_name = os.environ.get("PYTEST_CURRENT_TEST").split(":")[-1].split(" ")[0] + + response_dict = { + "object": "ApiKey", + "key": "", + "mode": "test", + "created_at": "2022-01-29T00:02:36Z", + "active": True, + "id": "ak_...", + } + + save_raw_json(test_name, response_dict) + + +def test_api_keys_disable(prod_client): + test_name = os.environ.get("PYTEST_CURRENT_TEST").split(":")[-1].split(" ")[0] + + response_dict = { + "object": "ApiKey", + "key": "", + "mode": "test", + "created_at": "2022-01-29T00:02:36Z", + "active": False, + "id": "ak_...", + } + + save_raw_json(test_name, response_dict) diff --git a/official/tools/build_doc_json_responses/tests/test_batch.py b/official/tools/build_doc_json_responses/tests/test_batch.py new file mode 100644 index 00000000..f59d1d05 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/test_batch.py @@ -0,0 +1,87 @@ +import inspect +import os +import time + +import easypost +import pytest +from builder.snippets import build_response_snippet + + +@pytest.mark.vcr() +def test_batches_create(test_client, shipment_one_call_buy): + test_client.batch.create(shipments=[shipment_one_call_buy]) + + build_response_snippet() + + +@pytest.mark.vcr() +def test_batches_retrieve(test_client, shipment_one_call_buy): + batch = test_client.batch.create(shipments=[shipment_one_call_buy]) + test_client.batch.retrieve(id=batch.id) + + build_response_snippet(interaction_index=1) + + +@pytest.mark.vcr() +def test_batches_list(test_client, page_size): + test_client.batch.all(page_size=page_size) + + build_response_snippet() + + +@pytest.mark.vcr() +def test_batches_buy(test_client, shipment_one_call_buy, synchronous_sleep_seconds): + function_name = inspect.stack()[0][3] + batch = test_client.batch.create(shipments=[shipment_one_call_buy]) + if not os.path.exists(os.path.join("tests", "cassettes", f"{function_name}.yaml")): + time.sleep(synchronous_sleep_seconds) # Wait enough time for the batch to process buying the shipment + test_client.batch.buy(id=batch.id) + + build_response_snippet(interaction_index=1) + + +@pytest.mark.vcr() +def test_batches_scan_forms(test_client, shipment_one_call_buy, synchronous_sleep_seconds): + function_name = inspect.stack()[0][3] + batch = test_client.batch.create(shipments=[shipment_one_call_buy]) + if not os.path.exists(os.path.join("tests", "cassettes", f"{function_name}.yaml")): + time.sleep(synchronous_sleep_seconds) # Wait enough time for the batch to process buying the shipment + test_client.batch.buy(id=batch.id) + if not os.path.exists(os.path.join("tests", "cassettes", f"{function_name}.yaml")): + time.sleep(synchronous_sleep_seconds) # Wait enough time for the batch to process buying the shipment + test_client.batch.create_scan_form(id=batch.id) + + build_response_snippet(interaction_index=1) + + +@pytest.mark.vcr() +def test_batches_add_shipments(test_client, shipment_one_call_buy): + shipment = test_client.shipment.create(**shipment_one_call_buy) + batch = test_client.batch.create() + test_client.batch.add_shipments(id=batch.id, shipments=[shipment]) + + build_response_snippet(interaction_index=2) + + +@pytest.mark.vcr() +def test_batches_remove_shipments(test_client, shipment_one_call_buy): + shipment = test_client.shipment.create(**shipment_one_call_buy) + batch = test_client.batch.create() + test_client.batch.add_shipments(id=batch.id, shipments=[shipment]) + test_client.batch.remove_shipments(id=batch.id, shipments=[shipment]) + + build_response_snippet(interaction_index=3) + + +@pytest.mark.vcr() +def test_batches_label(test_client, shipment_one_call_buy, synchronous_sleep_seconds): + function_name = inspect.stack()[0][3] + batch = test_client.batch.create(shipments=[shipment_one_call_buy]) + if not os.path.exists(os.path.join("tests", "cassettes", f"{function_name}.yaml")): + time.sleep(synchronous_sleep_seconds) # Wait enough time for the batch to process buying the shipment + test_client.batch.buy(id=batch.id) + if not os.path.exists(os.path.join("tests", "cassettes", f"{function_name}.yaml")): + time.sleep(synchronous_sleep_seconds) # Wait enough time for the batch to process buying the shipment + test_client.batch.label(id=batch.id, file_format="ZPL") + + build_response_snippet(interaction_index=2) diff --git a/official/tools/build_doc_json_responses/tests/test_billing.py b/official/tools/build_doc_json_responses/tests/test_billing.py new file mode 100644 index 00000000..68035975 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/test_billing.py @@ -0,0 +1,72 @@ +import os +from unittest.mock import patch + + +import pytest +from builder.snippets import save_raw_json + + +def test_billing_fund(prod_client): + response_dict = {} + + test_name = os.environ.get("PYTEST_CURRENT_TEST").split(":")[-1].split(" ")[0] + save_raw_json(test_name, response_dict) + + +def test_billing_delete(prod_client): + response_dict = {} + + test_name = os.environ.get("PYTEST_CURRENT_TEST").split(":")[-1].split(" ")[0] + save_raw_json(test_name, response_dict) + + +def test_billing_list(prod_client): + response_dict = { + "id": "cust_...", + "object": "PaymentMethods", + "primary_payment_method": { + "id": "card_...", + "disabled_at": None, + "object": "CreditCard", + "name": None, + "last4": "4242", + "exp_month": 1, + "exp_year": 2025, + "brand": "Visa", + }, + "secondary_payment_method": { + "id": "card_...", + "disabled_at": None, + "object": "CreditCard", + "name": None, + "last4": "4444", + "exp_month": 1, + "exp_year": 2025, + "brand": "Mastercard", + }, + } + + test_name = os.environ.get("PYTEST_CURRENT_TEST").split(":")[-1].split(" ")[0] + save_raw_json(test_name, response_dict) + + +def test_billing_create_referral_token(prod_client): + response_dict = {"public_key": "pk_..."} + + test_name = os.environ.get("PYTEST_CURRENT_TEST").split(":")[-1].split(" ")[0] + save_raw_json(test_name, response_dict) + + +def test_billing_create_ep_credit_card(prod_client): + response_dict = { + "id": "card_...", + "object": "CreditCard", + "name": None, + "last4": "1234", + "exp_month": 1, + "exp_year": 2025, + "brand": "Visa", + } + + test_name = os.environ.get("PYTEST_CURRENT_TEST").split(":")[-1].split(" ")[0] + save_raw_json(test_name, response_dict) diff --git a/official/tools/build_doc_json_responses/tests/test_brand.py b/official/tools/build_doc_json_responses/tests/test_brand.py new file mode 100644 index 00000000..d4bf7b2a --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/test_brand.py @@ -0,0 +1,11 @@ + +import pytest +from builder.snippets import build_response_snippet + + +@pytest.mark.vcr() +def test_brand_update(prod_client): + user = prod_client.user.retrieve_me() + prod_client.user.update_brand(id=user.id, color="#123456") + + build_response_snippet(interaction_index=1) diff --git a/official/tools/build_doc_json_responses/tests/test_carrier_account.py b/official/tools/build_doc_json_responses/tests/test_carrier_account.py new file mode 100644 index 00000000..2006b2c0 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/test_carrier_account.py @@ -0,0 +1,49 @@ +import easypost +import pytest +from builder.snippets import build_response_snippet + + +@pytest.mark.vcr() +def test_carrier_accounts_create(prod_client, carrier_account_create): + carrier_account = prod_client.carrier_account.create(**carrier_account_create) + + prod_client.carrier_account.delete(id=carrier_account.id) # Delete the carrier account once it's done being tested. + + build_response_snippet() + + +@pytest.mark.vcr() +def test_carrier_accounts_retrieve(prod_client, carrier_account_create): + carrier_account = prod_client.carrier_account.create(**carrier_account_create) + prod_client.carrier_account.retrieve(id=carrier_account.id) + + prod_client.carrier_account.delete(id=carrier_account.id) # Delete the carrier account once it's done being tested. + + build_response_snippet(interaction_index=1) + + +@pytest.mark.vcr() +def test_carrier_accounts_list(prod_client, page_size): + prod_client.carrier_account.all(page_size=page_size) + + build_response_snippet() + + +@pytest.mark.vcr() +def test_carrier_accounts_update(prod_client, carrier_account_create): + carrier_account = prod_client.carrier_account.create(**carrier_account_create) + + carrier_account = prod_client.carrier_account.update(id=carrier_account.id, description="My custom description") + + prod_client.carrier_account.delete(id=carrier_account.id) # Delete the carrier account once it's done being tested. + + build_response_snippet(interaction_index=1) + + +@pytest.mark.vcr() +def test_carrier_accounts_delete(prod_client, carrier_account_create): + carrier_account = prod_client.carrier_account.create(**carrier_account_create) + + prod_client.carrier_account.delete(id=carrier_account.id) + + build_response_snippet(interaction_index=1) diff --git a/official/tools/build_doc_json_responses/tests/test_carrier_metadata.py b/official/tools/build_doc_json_responses/tests/test_carrier_metadata.py new file mode 100644 index 00000000..99924719 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/test_carrier_metadata.py @@ -0,0 +1,13 @@ +import easypost +import pytest +from builder.snippets import build_response_snippet + + +@pytest.mark.vcr() +def test_carrier_metadata_retrieve(test_client): + test_client.carrier_metadata.retrieve( + carriers=["usps"], + types=["service_levels", "predefined_packages"], + ) + + build_response_snippet() diff --git a/official/tools/build_doc_json_responses/tests/test_carrier_types.py b/official/tools/build_doc_json_responses/tests/test_carrier_types.py new file mode 100644 index 00000000..411e9962 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/test_carrier_types.py @@ -0,0 +1,10 @@ +import easypost +import pytest +from builder.snippets import build_response_snippet + + +@pytest.mark.vcr() +def test_carrier_types_list(prod_client): + prod_client.carrier_account.types() + + build_response_snippet(objects_to_persist=3) diff --git a/official/tools/build_doc_json_responses/tests/test_customs_info.py b/official/tools/build_doc_json_responses/tests/test_customs_info.py new file mode 100644 index 00000000..818624b5 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/test_customs_info.py @@ -0,0 +1,18 @@ +import easypost +import pytest +from builder.snippets import build_response_snippet + + +@pytest.mark.vcr() +def test_customs_infos_create(test_client, customs_info_create): + test_client.customs_info.create(**customs_info_create) + + build_response_snippet() + + +@pytest.mark.vcr() +def test_customs_infos_retrieve(test_client, customs_info_create): + customs_info = test_client.customs_info.create(**customs_info_create) + test_client.customs_info.retrieve(id=customs_info.id) + + build_response_snippet() diff --git a/official/tools/build_doc_json_responses/tests/test_customs_item.py b/official/tools/build_doc_json_responses/tests/test_customs_item.py new file mode 100644 index 00000000..2d4e423c --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/test_customs_item.py @@ -0,0 +1,18 @@ +import easypost +import pytest +from builder.snippets import build_response_snippet + + +@pytest.mark.vcr() +def test_customs_items_create(test_client, customs_item_create): + test_client.customs_item.create(**customs_item_create) + + build_response_snippet() + + +@pytest.mark.vcr() +def test_customs_items_retrieve(test_client, customs_item_create): + customs_item = test_client.customs_item.create(**customs_item_create) + test_client.customs_item.retrieve(id=customs_item.id) + + build_response_snippet() diff --git a/official/tools/build_doc_json_responses/tests/test_end_shipper.py b/official/tools/build_doc_json_responses/tests/test_end_shipper.py new file mode 100644 index 00000000..edbaa2a2 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/test_end_shipper.py @@ -0,0 +1,54 @@ +import easypost +import pytest +from builder.snippets import build_response_snippet + + +@pytest.mark.vcr() +def test_endshipper_create(test_client, end_shipper_create): + test_client.end_shipper.create(**end_shipper_create) + + build_response_snippet() + + +@pytest.mark.vcr() +def test_endshipper_retrieve(test_client, end_shipper_create): + endshipper = test_client.end_shipper.create(**end_shipper_create) + + test_client.end_shipper.retrieve(id=endshipper.id) + + build_response_snippet(interaction_index=1) + + +@pytest.mark.vcr() +def test_endshipper_list(test_client, page_size): + test_client.end_shipper.all(page_size=page_size) + + build_response_snippet() + + +@pytest.mark.vcr() +def test_endshipper_update(test_client, end_shipper_create): + endshipper = test_client.end_shipper.create(**end_shipper_create) + + test_client.end_shipper.update(id=endshipper.id, + name="NEW NAME", + company="BAZ", + street1="164 TOWNSEND STREET UNIT 1", + street2="UNIT 1", + city="SAN FRANCISCO", + state="CA", + zip="94107", + country="US", + phone="555-555-5555", + email="FOO@EXAMPLE.COM") + + build_response_snippet(interaction_index=1) + + +@pytest.mark.vcr() +def test_endshipper_buy(test_client, end_shipper_create, shipment_create): + end_shipper = test_client.end_shipper.create(**end_shipper_create) + shipment = test_client.shipment.create(**shipment_create) + test_client.shipment.buy(id=shipment.id, end_shipper_id=end_shipper["id"], rate=shipment.lowest_rate()) + + build_response_snippet(interaction_index=2) diff --git a/official/tools/build_doc_json_responses/tests/test_event.py b/official/tools/build_doc_json_responses/tests/test_event.py new file mode 100644 index 00000000..042c1146 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/test_event.py @@ -0,0 +1,20 @@ +import pytest +from builder.snippets import ( + build_response_snippet, + save_raw_json, +) + + +@pytest.mark.vcr() +def test_events_list(test_client, page_size): + test_client.event.all(page_size=page_size) + + build_response_snippet() + + +@pytest.mark.vcr() +def test_events_retrieve(test_client, page_size): + events = test_client.event.all(page_size=page_size) + test_client.event.retrieve(id=events["events"][0].id) + + build_response_snippet(interaction_index=1) diff --git a/official/tools/build_doc_json_responses/tests/test_form.py b/official/tools/build_doc_json_responses/tests/test_form.py new file mode 100644 index 00000000..b36e0656 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/test_form.py @@ -0,0 +1,16 @@ + +import pytest +from builder.snippets import build_response_snippet + + +@pytest.mark.vcr() +def test_forms_create(test_client, shipment_one_call_buy, form_create): + shipment = test_client.shipment.create(**shipment_one_call_buy) + form_type = "return_packing_slip" + test_client.shipment.generate_form( + id=shipment.id, + form_type=form_type, + form_options=form_create, + ) + + build_response_snippet(interaction_index=1) diff --git a/official/tools/build_doc_json_responses/tests/test_insurance.py b/official/tools/build_doc_json_responses/tests/test_insurance.py new file mode 100644 index 00000000..30e04463 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/test_insurance.py @@ -0,0 +1,25 @@ + +import pytest +from builder.snippets import build_response_snippet + + +@pytest.mark.vcr() +def test_insurance_create(test_client, insurance_create): + test_client.insurance.create(**insurance_create) + + build_response_snippet() + + +@pytest.mark.vcr() +def test_insurance_retrieve(test_client, page_size): + insurances = test_client.insurance.all(page_size=page_size) + test_client.insurance.retrieve(id=insurances["insurances"][0].id) + + build_response_snippet(interaction_index=1) + + +@pytest.mark.vcr() +def test_insurance_list(test_client, page_size): + test_client.insurance.all(page_size=page_size) + + build_response_snippet() diff --git a/official/tools/build_doc_json_responses/tests/test_options.py b/official/tools/build_doc_json_responses/tests/test_options.py new file mode 100644 index 00000000..1562a658 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/test_options.py @@ -0,0 +1,11 @@ + +import pytest +from builder.snippets import build_response_snippet + + +@pytest.mark.vcr() +def test_options_create_with_options(test_client, shipment_create): + shipment_create["options"] = {"print_custom_1": "Custom label message"} + test_client.shipment.create(**shipment_create) + + build_response_snippet() diff --git a/official/tools/build_doc_json_responses/tests/test_order.py b/official/tools/build_doc_json_responses/tests/test_order.py new file mode 100644 index 00000000..eebadee8 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/test_order.py @@ -0,0 +1,40 @@ + +import pytest +from builder.snippets import build_response_snippet + + +@pytest.mark.vcr() +def test_orders_create(test_client, order_create): + test_client.order.create(**order_create) + + build_response_snippet() + + +@pytest.mark.vcr() +def test_orders_retrieve(test_client, order_create): + order = test_client.order.create(**order_create) + test_client.order.retrieve(id=order.id) + + build_response_snippet(interaction_index=1) + + +@pytest.mark.vcr() +def test_orders_buy(test_client, order_create): + order = test_client.order.create(**order_create) + test_client.order.buy( + id=order.id, + carrier="USPS", + service="First", + ) + + build_response_snippet(interaction_index=1) + + +@pytest.mark.vcr() +def test_orders_one_call_buy(test_client, order_create, usps_carrier_account_id): + order_create["carrier"] = "USPS" + order_create["service"] = "First" + order_create["carrier_accounts"] = [usps_carrier_account_id] + test_client.order.create(**order_create) + + build_response_snippet() diff --git a/official/tools/build_doc_json_responses/tests/test_pagination.py b/official/tools/build_doc_json_responses/tests/test_pagination.py new file mode 100644 index 00000000..046dd556 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/test_pagination.py @@ -0,0 +1,14 @@ +import easypost +import pytest +from builder.snippets import build_response_snippet + + +@pytest.mark.vcr() +def test_pagination_get_next_page(test_client): + shipments = test_client.shipment.all( + page_size=5, + ) + + test_client.shipment.get_next_page(shipments, page_size=5) + + build_response_snippet(interaction_index=2) diff --git a/official/tools/build_doc_json_responses/tests/test_parcel.py b/official/tools/build_doc_json_responses/tests/test_parcel.py new file mode 100644 index 00000000..0b1a613d --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/test_parcel.py @@ -0,0 +1,18 @@ + +import pytest +from builder.snippets import build_response_snippet + + +@pytest.mark.vcr() +def test_parcels_create(test_client, parcel_create): + test_client.parcel.create(**parcel_create) + + build_response_snippet() + + +@pytest.mark.vcr() +def test_parcels_retrieve(test_client, parcel_create): + parcel = test_client.parcel.create(**parcel_create) + test_client.parcel.retrieve(id=parcel.id) + + build_response_snippet() diff --git a/official/tools/build_doc_json_responses/tests/test_payload.py b/official/tools/build_doc_json_responses/tests/test_payload.py new file mode 100644 index 00000000..d66e216b --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/test_payload.py @@ -0,0 +1,96 @@ +import os + +from builder.snippets import ( + build_response_snippet, + save_raw_json, +) + + +def test_payloads_retrieve(test_client): + response_dict = { + "id": "payload_734d47163d0711ecb29421da38a2f124", + "object": "Payload", + "created_at": "2021-11-04T00:37:55Z", + "updated_at": "2021-11-04T01:14:18Z", + "request_url": "https://api.example.com/webhook", + "request_headers": { + "Accept": "application/json", + "Content-Type": "application/json", + "User-Agent": "Go-http-client/1.1" + }, + "request_body": "{\"key\":\"value\"}", + "response_code": 200, + "response_headers": { + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 02 Nov 2021 23:37:55 GMT", + "Server": "nginx/1.19.6", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "X-Request-Id": "a1b2c3d4e5f6g7h8i9j0", + "X-Runtime": "0.001000", + "X-Xss-Protection": "1; mode=block" + }, + "total_time": 34 + } + + test_name = os.environ.get("PYTEST_CURRENT_TEST").split(":")[-1].split(" ")[0] + save_raw_json(test_name, response_dict) + + +def test_payloads_list(test_client): + response_dict = { + "payloads": [ + { + "id": "payload_734d47163d0711ecb29421da38a2f124", + "object": "Payload", + "created_at": "2021-11-04T00:37:55Z", + "updated_at": "2021-11-04T01:14:18Z", + "request_url": "https://api.example.com/webhook", + "request_headers": { + "Accept": "application/json", + "Content-Type": "application/json", + "User-Agent": "Go-http-client/1.1" + }, + "request_body": "{\"key\":\"value\"}", + "response_code": 200, + "response_headers": { + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 02 Nov 2021 23:37:55 GMT", + "Server": "nginx/1.19.6", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "X-Request-Id": "a1b2c3d4e5f6g7h8i9j0", + "X-Runtime": "0.001000", + "X-Xss-Protection": "1; mode=block" + }, + "total_time": 34 + }, + { + "id": "payload_734d47163d0711ecb29421da38a2f414", + "object": "Payload", + "created_at": "2021-11-04T00:37:55Z", + "updated_at": "2021-11-04T01:14:18Z", + "request_url": "https://api.example.com/webhook", + "request_headers": { + "Accept": "application/json", + "Content-Type": "application/json", + "User-Agent": "Go-http-client/1.1" + }, + "request_body": "{\"key\":\"value\"}", + "response_code": 404, + "response_headers": { + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 02 Nov 2021 23:37:55 GMT", + "Server": "nginx/1.19.6", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "X-Request-Id": "a1b2c3d4e5f6g7h8i9j0", + "X-Runtime": "0.001000", + "X-Xss-Protection": "1; mode=block" + }, + "total_time": 122 + } + ] + } + test_name = os.environ.get("PYTEST_CURRENT_TEST").split(":")[-1].split(" ")[0] + save_raw_json(test_name, response_dict) diff --git a/official/tools/build_doc_json_responses/tests/test_pickup.py b/official/tools/build_doc_json_responses/tests/test_pickup.py new file mode 100644 index 00000000..91d2ba0b --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/test_pickup.py @@ -0,0 +1,61 @@ +import inspect +import os +import time + +import pytest +from builder.snippets import build_response_snippet + + +@pytest.mark.vcr() +def test_pickups_create(test_client, shipment_one_call_buy, pickup_create): + shipment = test_client.shipment.create(**shipment_one_call_buy) + pickup_create["shipment"] = shipment + test_client.pickup.create(**pickup_create) + + build_response_snippet(interaction_index=1) + + +@pytest.mark.vcr() +def test_pickups_retrieve(test_client, shipment_one_call_buy, pickup_create): + shipment = test_client.shipment.create(**shipment_one_call_buy) + pickup_create["shipment"] = shipment + pickup = test_client.pickup.create(**pickup_create) + test_client.pickup.retrieve(id=pickup.id) + + build_response_snippet(interaction_index=2) + + +@pytest.mark.vcr() +def test_pickups_buy(test_client, shipment_one_call_buy, pickup_create, synchronous_sleep_seconds): + function_name = inspect.stack()[0][3] + shipment = test_client.shipment.create(**shipment_one_call_buy) + pickup_create["shipment"] = shipment + pickup = test_client.pickup.create(**pickup_create) + if not os.path.exists(os.path.join("tests", "cassettes", f"{function_name}.yaml")): + time.sleep(synchronous_sleep_seconds) # Wait enough time for the pickup to process before buying it + test_client.pickup.buy(id=pickup.id, carrier="USPS", service="NextDay") + + build_response_snippet(interaction_index=2) + + +@pytest.mark.vcr() +def test_pickups_cancel(test_client, shipment_one_call_buy, pickup_create, synchronous_sleep_seconds): + function_name = inspect.stack()[0][3] + shipment = test_client.shipment.create(**shipment_one_call_buy) + pickup_create["shipment"] = shipment + pickup = test_client.pickup.create(**pickup_create) + if not os.path.exists(os.path.join("tests", "cassettes", f"{function_name}.yaml")): + time.sleep(synchronous_sleep_seconds) # Wait enough time for the pickup to process before buying it + bought_pickup = test_client.pickup.buy(id=pickup.id, carrier="USPS", service="NextDay") + if not os.path.exists(os.path.join("tests", "cassettes", f"{function_name}.yaml")): + time.sleep(synchronous_sleep_seconds) # Wait enough time for the pickup to process before cancelling it + test_client.pickup.cancel(id=bought_pickup.id) + + build_response_snippet(interaction_index=3) + + +@pytest.mark.vcr() +def test_pickups_list(test_client, page_size): + test_client.pickup.all(page_size=page_size) + + build_response_snippet() diff --git a/official/tools/build_doc_json_responses/tests/test_rate.py b/official/tools/build_doc_json_responses/tests/test_rate.py new file mode 100644 index 00000000..438a777f --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/test_rate.py @@ -0,0 +1,27 @@ + +import pytest +from builder.snippets import build_response_snippet + + +@pytest.mark.vcr() +def test_rates_retrieve(test_client, shipment_create): + shipment = test_client.shipment.create(**shipment_create) + + test_client.rate.retrieve(id=shipment.rates[0].id) + + build_response_snippet(interaction_index=1) + + +@pytest.mark.vcr() +def test_rates_retrieve_stateless(test_client, shipment_create): + test_client.beta_rate.retrieve_stateless_rates(**shipment_create) + + build_response_snippet() + + +@pytest.mark.vcr() +def test_rates_regenerate(test_client, shipment_create): + shipment = test_client.shipment.create(**shipment_create) + test_client.shipment.regenerate_rates(id=shipment.id) + + build_response_snippet(interaction_index=1) diff --git a/official/tools/build_doc_json_responses/tests/test_referral_customer.py b/official/tools/build_doc_json_responses/tests/test_referral_customer.py new file mode 100644 index 00000000..65cfdd48 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/test_referral_customer.py @@ -0,0 +1,96 @@ +import os +from unittest.mock import patch + +import pytest +from builder.snippets import ( + build_response_snippet, + save_raw_json, +) + +REFERRAL_USER_PROD_API_KEY = os.getenv("REFERRAL_USER_PROD_API_KEY", "123") + + +def test_referral_customers_add_payment_method_with_credit_card(partner_user_prod_client): + response_dict = { + "id": "card_...", + "disabled_at": None, + "object": "CreditCard", + "name": None, + "last4": "1234", + "exp_month": 7, + "exp_year": 2024, + "brand": "MasterCard", + } + + test_name = os.environ.get("PYTEST_CURRENT_TEST").split(":")[-1].split(" ")[0] + save_raw_json(test_name, response_dict) + + +def test_referral_customers_add_payment_method_with_bank_account(partner_user_prod_client): + response_dict = { + "id": "ba_...", + "disabled_at": None, + "object": "BankAccount", + "bank_name": "WELLS FARGO", + "last4": "1234", + "country": "US" + } + + test_name = os.environ.get("PYTEST_CURRENT_TEST").split(":")[-1].split(" ")[0] + save_raw_json(test_name, response_dict) + + +def test_referral_customers_refund_by_amount(partner_user_prod_client): + response_dict = { + "refunded_amount": 2000, + "payment_log_id": "paylog_...", + "refunded_payment_logs": ["paylog...", "paylog..."], + "errors": [], + } + + test_name = os.environ.get("PYTEST_CURRENT_TEST").split(":")[-1].split(" ")[0] + save_raw_json(test_name, response_dict) + + +def test_referral_customers_refund_by_payment_log(partner_user_prod_client): + response_dict = { + "refunded_amount": 2000, + "payment_log_id": "paylog_...", + "refunded_payment_logs": ["paylog...", "paylog..."], + "errors": [], + } + + test_name = os.environ.get("PYTEST_CURRENT_TEST").split(":")[-1].split(" ")[0] + save_raw_json(test_name, response_dict) + + +@pytest.mark.vcr() +def test_referral_customers_create(partner_user_prod_client): + """This test requires a partner user's production API key via PARTNER_USER_PROD_API_KEY.""" + partner_user_prod_client.referral_customer.create( + name="test test", + email="test@test.com", + phone="8888888888", + ) + + build_response_snippet() + + +@pytest.mark.vcr() +def test_referral_customers_update(partner_user_prod_client): + """This test requires a partner user's production API key via PARTNER_USER_PROD_API_KEY.""" + referral_users = partner_user_prod_client.referral_customer.all() + partner_user_prod_client.referral_customer.update_email( + id=referral_users.referral_customers[0].id, + email="email@example.com", + ) + + build_response_snippet(interaction_index=1) + + +@pytest.mark.vcr() +def test_referral_customers_list(partner_user_prod_client, page_size): + """This test requires a partner user's production API key via PARTNER_USER_PROD_API_KEY.""" + partner_user_prod_client.referral_customer.all(page_size=page_size) + + build_response_snippet() diff --git a/official/tools/build_doc_json_responses/tests/test_refund.py b/official/tools/build_doc_json_responses/tests/test_refund.py new file mode 100644 index 00000000..038e89e3 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/test_refund.py @@ -0,0 +1,31 @@ + +import pytest +from builder.snippets import build_response_snippet + + +@pytest.mark.vcr() +def test_refunds_create(test_client, shipment_one_call_buy): + shipment = test_client.shipment.create(**shipment_one_call_buy) + # We need to retrieve the shipment so that the tracking_code has time to populate + retrieved_shipment = test_client.shipment.retrieve(id=shipment.id) + test_client.refund.create( + carrier="USPS", + tracking_codes=retrieved_shipment.tracking_code, + ) + + build_response_snippet(interaction_index=2) + + +@pytest.mark.vcr() +def test_refunds_list(test_client, page_size): + test_client.refund.all(page_size=page_size) + + build_response_snippet() + + +@pytest.mark.vcr() +def test_refunds_retrieve(test_client, page_size): + refunds = test_client.refund.all(page_size=page_size) + test_client.refund.retrieve(id=refunds["refunds"][0]["id"]) + + build_response_snippet(interaction_index=1) diff --git a/official/tools/build_doc_json_responses/tests/test_report.py b/official/tools/build_doc_json_responses/tests/test_report.py new file mode 100644 index 00000000..d6269f7c --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/test_report.py @@ -0,0 +1,34 @@ + +import pytest +from builder.snippets import build_response_snippet + + +@pytest.mark.vcr() +def test_reports_create(test_client, report_type, report_date): + test_client.report.create( + type=report_type, + start_date=report_date, + end_date=report_date, + ) + + build_response_snippet() + + +@pytest.mark.vcr() +def test_reports_retrieve(test_client, report_type, report_date): + report = test_client.report.create( + type=report_type, + start_date=report_date, + end_date=report_date, + ) + + test_client.report.retrieve(id=report.id) + + build_response_snippet() + + +@pytest.mark.vcr() +def test_reports_list(test_client, report_type, page_size): + test_client.report.all(type=report_type, page_size=page_size) + + build_response_snippet() diff --git a/official/tools/build_doc_json_responses/tests/test_returns.py b/official/tools/build_doc_json_responses/tests/test_returns.py new file mode 100644 index 00000000..53ca4d70 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/test_returns.py @@ -0,0 +1,11 @@ + +import pytest +from builder.snippets import build_response_snippet + + +@pytest.mark.vcr() +def test_returns_create(test_client, shipment_create): + shipment_create["is_return"] = True + test_client.shipment.create(**shipment_create) + + build_response_snippet() diff --git a/official/tools/build_doc_json_responses/tests/test_scan_form.py b/official/tools/build_doc_json_responses/tests/test_scan_form.py new file mode 100644 index 00000000..98a7f8d4 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/test_scan_form.py @@ -0,0 +1,27 @@ + +import pytest +from builder.snippets import build_response_snippet + + +@pytest.mark.vcr() +def test_scan_form_create(test_client, shipment_one_call_buy): + shipment = test_client.shipment.create(**shipment_one_call_buy) + test_client.scan_form.create(shipment=[shipment]) + + build_response_snippet(interaction_index=1) + + +@pytest.mark.vcr() +def test_scan_form_retrieve(test_client, shipment_one_call_buy): + shipment = test_client.shipment.create(**shipment_one_call_buy) + scanform = test_client.scan_form.create(shipment=[shipment]) + test_client.scan_form.retrieve(id=scanform.id) + + build_response_snippet(interaction_index=2) + + +@pytest.mark.vcr() +def test_scan_form_list(test_client, page_size): + test_client.scan_form.all(page_size=page_size) + + build_response_snippet() diff --git a/official/tools/build_doc_json_responses/tests/test_shipment.py b/official/tools/build_doc_json_responses/tests/test_shipment.py new file mode 100644 index 00000000..c1a69856 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/test_shipment.py @@ -0,0 +1,49 @@ + +import pytest +from builder.snippets import build_response_snippet + + +@pytest.mark.vcr() +def test_shipments_create(test_client, shipment_create): + test_client.shipment.create(**shipment_create) + + build_response_snippet() + + +@pytest.mark.vcr() +def test_shipments_retrieve(test_client, shipment_create): + shipment = test_client.shipment.create(**shipment_create) + test_client.shipment.retrieve(id=shipment.id) + + build_response_snippet(interaction_index=1) + + +@pytest.mark.vcr() +def test_shipments_list(test_client, page_size): + test_client.shipment.all(page_size=page_size) + + build_response_snippet() + + +@pytest.mark.vcr() +def test_shipments_buy(test_client, shipment_create): + shipment = test_client.shipment.create(**shipment_create) + test_client.shipment.buy(id=shipment.id, rate=shipment.lowest_rate(), insurance="249.99") + + build_response_snippet(interaction_index=1) + + +@pytest.mark.vcr() +def test_shipments_one_call_buy(test_client, shipment_one_call_buy): + test_client.shipment.create(**shipment_one_call_buy) + + build_response_snippet() + + +@pytest.mark.vcr() +def test_shipments_label(test_client, shipment_create): + shipment = test_client.shipment.create(**shipment_create) + test_client.shipment.buy(id=shipment.id, rate=shipment.lowest_rate()) + test_client.shipment.label(id=shipment.id, file_format="ZPL") + + build_response_snippet(interaction_index=2) diff --git a/official/tools/build_doc_json_responses/tests/test_shipping_insurance.py b/official/tools/build_doc_json_responses/tests/test_shipping_insurance.py new file mode 100644 index 00000000..e82101d1 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/test_shipping_insurance.py @@ -0,0 +1,18 @@ + +import pytest +from builder.snippets import build_response_snippet + + +@pytest.mark.vcr() +def test_shipping_insurance_insure(test_client, shipment_one_call_buy): + """Set insurnace to `0` when buying a shipment. + + If the shipment was purchased with a USPS rate, it must have had its insurance set to `0` when bought + so that USPS doesn't automatically insure it so we could manually insure it here. + """ + # Set to 0 so USPS doesn't insure this automatically and we can insure the shipment manually + shipment_one_call_buy["insurance"] = 0 + shipment = test_client.shipment.create(**shipment_one_call_buy) + test_client.shipment.insure(id=shipment.id, amount="100") + + build_response_snippet(interaction_index=1) diff --git a/official/tools/build_doc_json_responses/tests/test_shipping_refund.py b/official/tools/build_doc_json_responses/tests/test_shipping_refund.py new file mode 100644 index 00000000..a2b54587 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/test_shipping_refund.py @@ -0,0 +1,27 @@ +import easypost +import pytest +from builder.snippets import build_response_snippet + + +@pytest.mark.vcr() +def test_shipping_refund_shipments_refund_refund(test_client, shipment_one_call_buy): + """Refunding a test shipment must happen within seconds of the shipment being created as test shipments naturally + follow a flow of created -> delivered to cycle through tracking events in test mode - as such anything older + than a few seconds in test mode may not be refundable. + """ + shipment = test_client.shipment.create(**shipment_one_call_buy) + test_client.shipment.refund(id=shipment.id) + + build_response_snippet(interaction_index=1) + + +@pytest.mark.vcr() +def test_shipping_refund_shipping_refund_refund(test_client, shipment_one_call_buy): + """Refunding a test shipment must happen within seconds of the shipment being created as test shipments naturally + follow a flow of created -> delivered to cycle through tracking events in test mode - as such anything older + than a few seconds in test mode may not be refundable. + """ + shipment = test_client.shipment.create(**shipment_one_call_buy) + test_client.shipment.refund(id=shipment.id) + + build_response_snippet(interaction_index=1) diff --git a/official/tools/build_doc_json_responses/tests/test_smartrate.py b/official/tools/build_doc_json_responses/tests/test_smartrate.py new file mode 100644 index 00000000..9fbc34cf --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/test_smartrate.py @@ -0,0 +1,21 @@ +import pytest +from builder.snippets import build_response_snippet + + +@pytest.mark.vcr() +def test_smartrate_retrieve_time_in_transit_statistics(test_client, shipment_create): + shipment = test_client.shipment.create(**shipment_create) + test_client.shipment.get_smart_rates(id=shipment.id) + + build_response_snippet(interaction_index=1) + + +@pytest.mark.vcr() +def test_smartrate_retrieve_estimated_delivery_date(test_client, shipment_create, next_weekday): + shipment = test_client.shipment.create(**shipment_create) + test_client.shipment.retrieve_estimated_delivery_date( + id=shipment.id, + planned_ship_date=next_weekday, + ) + + build_response_snippet(interaction_index=1) diff --git a/official/tools/build_doc_json_responses/tests/test_tax_identifiers.py b/official/tools/build_doc_json_responses/tests/test_tax_identifiers.py new file mode 100644 index 00000000..d27ef840 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/test_tax_identifiers.py @@ -0,0 +1,12 @@ + +import pytest +from builder.snippets import build_response_snippet + + +@pytest.mark.vcr() +def test_tax_identifiers_create(test_client, shipment_create, tax_identifier_create): + shipment_data = shipment_create + shipment_data["tax_identifiers"] = [tax_identifier_create] + test_client.shipment.create(**shipment_data) + + build_response_snippet() diff --git a/official/tools/build_doc_json_responses/tests/test_tracker.py b/official/tools/build_doc_json_responses/tests/test_tracker.py new file mode 100644 index 00000000..4b44a392 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/test_tracker.py @@ -0,0 +1,25 @@ + +import pytest +from builder.snippets import build_response_snippet + + +@pytest.mark.vcr() +def test_trackers_create(test_client, tracker_create): + test_client.tracker.create(**tracker_create) + + build_response_snippet() + + +@pytest.mark.vcr() +def test_trackers_retrieve(test_client, page_size): + trackers = test_client.tracker.all(page_size=page_size) + test_client.tracker.retrieve(id=trackers["trackers"][0].id) + + build_response_snippet(interaction_index=1) + + +@pytest.mark.vcr() +def test_trackers_list(test_client, page_size): + test_client.tracker.all(page_size=page_size) + + build_response_snippet() diff --git a/official/tools/build_doc_json_responses/tests/test_user.py b/official/tools/build_doc_json_responses/tests/test_user.py new file mode 100644 index 00000000..675309f9 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/test_user.py @@ -0,0 +1,44 @@ + +import pytest +from builder.snippets import build_response_snippet + + +@pytest.mark.vcr() +def test_child_users_create(prod_client): + user = prod_client.user.create(name="Test User") + + # Delete the user so we don't clutter up the test environment + prod_client.user.delete(id=user.id) + + build_response_snippet() + + +@pytest.mark.vcr() +def test_users_retrieve(prod_client): + prod_client.user.retrieve_me() + + build_response_snippet() + + +@pytest.mark.vcr() +def test_users_update(prod_client): + user = prod_client.user.retrieve_me() + + prod_client.user.update(id=user.id, phone="5555555555") + + build_response_snippet(interaction_index=1) + + +@pytest.mark.vcr() +def test_child_users_list(prod_client): + prod_client.user.all_children() + + build_response_snippet() + + +@pytest.mark.vcr() +def test_child_users_delete(prod_client): + user = prod_client.user.create(name="Test User") + prod_client.user.delete(id=user.id) + + build_response_snippet(interaction_index=1) diff --git a/official/tools/build_doc_json_responses/tests/test_webhook.py b/official/tools/build_doc_json_responses/tests/test_webhook.py new file mode 100644 index 00000000..81000293 --- /dev/null +++ b/official/tools/build_doc_json_responses/tests/test_webhook.py @@ -0,0 +1,53 @@ +import pytest +from builder.snippets import build_response_snippet + + +@pytest.mark.vcr() +def test_webhooks_create(test_client, webhook_create): + webhook = test_client.webhook.create(**webhook_create) + + test_client.webhook.delete( + id=webhook.id) # we are deleting the webhook here so we don't keep sending events to a dead webhook. + + build_response_snippet() + + +@pytest.mark.vcr() +def test_webhooks_retrieve(test_client, webhook_create): + webhook = test_client.webhook.create(**webhook_create) + test_client.webhook.retrieve(id=webhook.id) + + test_client.webhook.delete( + id=webhook.id) # we are deleting the webhook here so we don't keep sending events to a dead webhook. + + build_response_snippet(interaction_index=1) + + +@pytest.mark.vcr() +def test_webhooks_list(test_client, webhook_create, page_size): + webhook = test_client.webhook.create(**webhook_create) + test_client.webhook.all(page_size=page_size) + + test_client.webhook.delete( + id=webhook.id) # we are deleting the webhook here so we don't keep sending events to a dead webhook. + + build_response_snippet(interaction_index=1) + + +@pytest.mark.vcr() +def test_webhooks_update(test_client, webhook_create): + webhook = test_client.webhook.create(**webhook_create) + test_client.webhook.update(id=webhook.id) + + test_client.webhook.delete( + id=webhook.id) # we are deleting the webhook here so we don't keep sending events to a dead webhook. + + build_response_snippet(interaction_index=1) + + +@pytest.mark.vcr() +def test_webhooks_delete(test_client, webhook_create): + webhook = test_client.webhook.create(**webhook_create) + test_client.webhook.delete(id=webhook.id) + + build_response_snippet(interaction_index=1) From 05020456a575adfd5a031cd3457ecf19da3738a3 Mon Sep 17 00:00:00 2001 From: nwithan8 Date: Tue, 23 Jan 2024 17:16:05 -0700 Subject: [PATCH 4/8] - gitignore JSON response tool cassettes to avoid bloat - Update README for better tool documentation - Fix JSON response tool unit tests --- .gitignore | 1 + .../tools/build_doc_json_responses/README.md | 24 +- .../cassettes/test_addresses_create.yaml | 756 --- .../test_addresses_create_and_verify.yaml | 774 --- .../tests/cassettes/test_addresses_list.yaml | 674 --- .../cassettes/test_addresses_retrieve.yaml | 1426 ----- .../cassettes/test_addresses_verify.yaml | 1464 ------ .../test_addresses_verify_failure.yaml | 816 --- .../test_addresses_verify_param.yaml | 778 --- .../test_addresses_verify_strict_param.yaml | 774 --- .../cassettes/test_api_keys_retrieve.yaml | 1572 ------ .../cassettes/test_batches_add_shipments.yaml | 3298 ------------ .../tests/cassettes/test_batches_buy.yaml | 1532 ------ .../tests/cassettes/test_batches_create.yaml | 818 --- .../tests/cassettes/test_batches_label.yaml | 448 -- .../tests/cassettes/test_batches_list.yaml | 694 --- .../test_batches_remove_shipments.yaml | 4002 -------------- .../cassettes/test_batches_retrieve.yaml | 1485 ------ .../cassettes/test_batches_scan_forms.yaml | 453 -- .../tests/cassettes/test_brand_update.yaml | 1554 ------ .../test_carrier_accounts_create.yaml | 1465 ------ .../test_carrier_accounts_delete.yaml | 1222 ----- .../cassettes/test_carrier_accounts_list.yaml | 1829 ------- .../test_carrier_accounts_retrieve.yaml | 2107 -------- .../test_carrier_accounts_update.yaml | 1987 ------- .../test_carrier_metadata_retrieve.yaml | 127 - .../cassettes/test_carrier_types_list.yaml | 4614 ----------------- .../cassettes/test_child_users_create.yaml | 662 --- .../cassettes/test_child_users_delete.yaml | 778 --- .../cassettes/test_child_users_list.yaml | 449 -- .../cassettes/test_customs_infos_create.yaml | 652 --- .../test_customs_infos_retrieve.yaml | 1222 ----- .../cassettes/test_customs_items_create.yaml | 600 --- .../test_customs_items_retrieve.yaml | 1126 ---- .../tests/cassettes/test_endshipper_buy.yaml | 3440 ------------ .../cassettes/test_endshipper_create.yaml | 580 --- .../tests/cassettes/test_endshipper_list.yaml | 530 -- .../cassettes/test_endshipper_retrieve.yaml | 1106 ---- .../cassettes/test_endshipper_update.yaml | 1154 ----- .../tests/cassettes/test_events_list.yaml | 518 -- .../tests/cassettes/test_events_retrieve.yaml | 1036 ---- .../tests/cassettes/test_forms_create.yaml | 3060 ----------- .../cassettes/test_insurance_create.yaml | 870 ---- .../tests/cassettes/test_insurance_list.yaml | 782 --- .../cassettes/test_insurance_retrieve.yaml | 1550 ------ .../test_options_create_with_options.yaml | 1380 ----- .../tests/cassettes/test_orders_buy.yaml | 3804 -------------- .../tests/cassettes/test_orders_create.yaml | 1388 ----- .../cassettes/test_orders_one_call_buy.yaml | 1674 ------ .../tests/cassettes/test_orders_retrieve.yaml | 3510 ------------- .../test_pagination_get_next_page.yaml | 818 --- .../tests/cassettes/test_parcels_create.yaml | 503 -- .../cassettes/test_parcels_retrieve.yaml | 951 ---- .../tests/cassettes/test_pickups_buy.yaml | 2470 --------- .../tests/cassettes/test_pickups_cancel.yaml | 3032 ----------- .../tests/cassettes/test_pickups_create.yaml | 1908 ------- .../tests/cassettes/test_pickups_list.yaml | 79 - .../cassettes/test_pickups_retrieve.yaml | 2444 --------- .../cassettes/test_rates_regenerate.yaml | 1887 ------- .../tests/cassettes/test_rates_retrieve.yaml | 1663 ------ .../test_rates_retrieve_stateless.yaml | 124 - .../test_referral_customers_create.yaml | 529 -- .../test_referral_customers_list.yaml | 478 -- .../test_referral_customers_update.yaml | 1380 ----- .../tests/cassettes/test_refunds_create.yaml | 3079 ----------- .../tests/cassettes/test_refunds_list.yaml | 459 -- .../cassettes/test_refunds_retrieve.yaml | 913 ---- .../tests/cassettes/test_reports_create.yaml | 478 -- .../tests/cassettes/test_reports_list.yaml | 459 -- .../cassettes/test_reports_retrieve.yaml | 930 ---- .../tests/cassettes/test_returns_create.yaml | 2001 ------- .../cassettes/test_scan_form_create.yaml | 1851 ------- .../tests/cassettes/test_scan_form_list.yaml | 506 -- .../cassettes/test_scan_form_retrieve.yaml | 2353 --------- .../tests/cassettes/test_shipments_buy.yaml | 2512 --------- .../cassettes/test_shipments_create.yaml | 1196 ----- .../tests/cassettes/test_shipments_label.yaml | 3678 ------------- .../tests/cassettes/test_shipments_list.yaml | 1374 ----- .../test_shipments_one_call_buy.yaml | 1313 ----- .../cassettes/test_shipments_refund.yaml | 2256 -------- .../cassettes/test_shipments_retrieve.yaml | 2276 -------- .../test_shipping_insurance_insure.yaml | 2266 -------- ...ipping_refund_shipments_refund_refund.yaml | 379 -- ...hipping_refund_shipping_refund_refund.yaml | 377 -- ...rate_retrieve_estimated_delivery_date.yaml | 282 - ...e_retrieve_time_in_transit_statistics.yaml | 1440 ----- .../test_tax_identifiers_create.yaml | 1048 ---- .../tests/cassettes/test_trackers_create.yaml | 524 -- .../tests/cassettes/test_trackers_list.yaml | 496 -- .../cassettes/test_trackers_retrieve.yaml | 988 ---- .../tests/cassettes/test_users_retrieve.yaml | 517 -- .../tests/cassettes/test_users_update.yaml | 1052 ---- .../tests/cassettes/test_webhooks_create.yaml | 790 --- .../tests/cassettes/test_webhooks_delete.yaml | 788 --- .../tests/cassettes/test_webhooks_list.yaml | 1166 ----- .../cassettes/test_webhooks_retrieve.yaml | 1164 ----- .../tests/cassettes/test_webhooks_update.yaml | 1190 ----- .../tests/conftest.py | 2 +- .../tests/test_api_keys.py | 2 +- 99 files changed, 23 insertions(+), 128913 deletions(-) delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_addresses_create.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_addresses_create_and_verify.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_addresses_list.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_addresses_retrieve.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_addresses_verify.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_addresses_verify_failure.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_addresses_verify_param.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_addresses_verify_strict_param.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_api_keys_retrieve.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_batches_add_shipments.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_batches_buy.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_batches_create.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_batches_label.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_batches_list.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_batches_remove_shipments.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_batches_retrieve.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_batches_scan_forms.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_brand_update.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_carrier_accounts_create.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_carrier_accounts_delete.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_carrier_accounts_list.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_carrier_accounts_retrieve.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_carrier_accounts_update.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_carrier_metadata_retrieve.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_carrier_types_list.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_child_users_create.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_child_users_delete.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_child_users_list.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_customs_infos_create.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_customs_infos_retrieve.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_customs_items_create.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_customs_items_retrieve.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_endshipper_buy.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_endshipper_create.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_endshipper_list.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_endshipper_retrieve.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_endshipper_update.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_events_list.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_events_retrieve.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_forms_create.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_insurance_create.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_insurance_list.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_insurance_retrieve.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_options_create_with_options.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_orders_buy.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_orders_create.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_orders_one_call_buy.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_orders_retrieve.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_pagination_get_next_page.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_parcels_create.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_parcels_retrieve.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_pickups_buy.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_pickups_cancel.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_pickups_create.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_pickups_list.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_pickups_retrieve.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_rates_regenerate.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_rates_retrieve.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_rates_retrieve_stateless.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_referral_customers_create.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_referral_customers_list.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_referral_customers_update.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_refunds_create.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_refunds_list.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_refunds_retrieve.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_reports_create.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_reports_list.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_reports_retrieve.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_returns_create.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_scan_form_create.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_scan_form_list.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_scan_form_retrieve.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_shipments_buy.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_shipments_create.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_shipments_label.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_shipments_list.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_shipments_one_call_buy.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_shipments_refund.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_shipments_retrieve.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_shipping_insurance_insure.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_shipping_refund_shipments_refund_refund.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_shipping_refund_shipping_refund_refund.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_smartrate_retrieve_estimated_delivery_date.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_smartrate_retrieve_time_in_transit_statistics.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_tax_identifiers_create.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_trackers_create.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_trackers_list.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_trackers_retrieve.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_users_retrieve.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_users_update.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_webhooks_create.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_webhooks_delete.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_webhooks_list.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_webhooks_retrieve.yaml delete mode 100644 official/tools/build_doc_json_responses/tests/cassettes/test_webhooks_update.yaml diff --git a/.gitignore b/.gitignore index 0e669c72..2f7be862 100644 --- a/.gitignore +++ b/.gitignore @@ -27,3 +27,4 @@ venv /.eslintignore *.sw* /official/tools/build_doc_json_responses/responses/ +/official/tools/build_doc_json_responses/tests/cassettes/ diff --git a/official/tools/build_doc_json_responses/README.md b/official/tools/build_doc_json_responses/README.md index d237779f..d0c69ac6 100644 --- a/official/tools/build_doc_json_responses/README.md +++ b/official/tools/build_doc_json_responses/README.md @@ -6,16 +6,24 @@ The tool is set up as a "test suite" that will record the requests and responses NOTE: The test names are VERY important and must match up with the expected plural object and action name so that when generated, we can drop them into the website without manual intervention. +## Installation + +```bash +make install +``` + ## Usage -You'll need to run the `make generate` command twice - it will fail the first time through. The first time will record the cassette, the second time it will save the standalone files. This is necessary because `vcrpy` doesn't save the file until the test function closes, though we call the standalone function inside the test function to capture the test name. +First, if you are regenerating response snippets, you will first need to delete the related cassette file(s) in `tests/cassettes`. If a cassette file already exists for a given snippet, it will not be overwritten and the generated response snippet will not be updated. + +Next, you will need to run the `make generate` command twice - it will fail the first time through. The first time will record the cassette, the second time it will save the snippet files. This is necessary because `vcrpy` doesn't save a cassette until the test function closes, though we call the standalone function inside the test function to capture the test name. ```bash -# Run the following to save recordings to standalone files +# Run the following to save HTTP recordings EASYPOST_TEST_API_KEY=putrealkeyhere EASYPOST_PROD_API_KEY=putrealkeyhere PARTNER_USER_PROD_API_KEY=putrealkeyhere REFERRAL_CUSTOMER_PROD_API_KEY=putrealkeyhere make generate -# Run the following to overwrite previous interactions -EASYPOST_TEST_API_KEY=putrealkeyhere EASYPOST_PROD_API_KEY=putrealkeyhere PARTNER_USER_PROD_API_KEY=putrealkeyhere REFERRAL_CUSTOMER_PROD_API_KEY=putrealkeyhere OVERWRITE=true make generate +# Run the same command again to save the response snippets +EASYPOST_TEST_API_KEY=putrealkeyhere EASYPOST_PROD_API_KEY=putrealkeyhere PARTNER_USER_PROD_API_KEY=putrealkeyhere REFERRAL_CUSTOMER_PROD_API_KEY=putrealkeyhere make generate ``` **NOTE**: Some static data used by this tool, such as the USPS carrier account ID, is associated with the EasyPost Docs Tooling User. You must use that user's API keys to generate these snippets. @@ -23,3 +31,11 @@ EASYPOST_TEST_API_KEY=putrealkeyhere EASYPOST_PROD_API_KEY=putrealkeyhere PARTNE Generate response snippets are stored in the `responses` directory. Copy this entire directory to `official/docs/responses` once complete. **NOTE**: The `responses` directory structure is exactly as expected by the docs website and other downstream projects -- do not alter it. + +## Troubleshooting + +### A bunch of "F"s + +This is expected. Tests will fail the first time through because the final step of each test is to generate a response snippet from the just-recorded cassette. Unfortunately, `pyvcr` does not save the cassette files until after the unit test is completed, meaning the file does not exist when the response snippet generator is looking for it. + +If you run the test a second time, the cassette files will exist, allowing the response snippet generator to read it, allowing the tests to pass. diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_addresses_create.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_addresses_create.yaml deleted file mode 100644 index a9b345ed..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_addresses_create.yaml +++ /dev/null @@ -1,756 +0,0 @@ -interactions: -- request: - body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": - "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": - "EasyPost", "phone": "415-123-4567"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '188' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses - response: - body: - string: '{"id": "adr_3d3815d8b71311ee83453cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:39:35+00:00", "updated_at": "2024-01-19T21:39:35+00:00", - "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": - "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": - "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": - {}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '446' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_3d3815d8b71311ee83453cecef1b359e - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaec17e78b9ac1000ca695 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.034779' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": - "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": - "EasyPost", "phone": "415-123-4567"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '188' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses - response: - body: - string: '{"id": "adr_b460ec25b71311eeb02bac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:42:55+00:00", "updated_at": "2024-01-19T21:42:55+00:00", - "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": - "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": - "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": - {}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '446' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_b460ec25b71311eeb02bac1f6bc539ae - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaecdfe78b9fef000d2439 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.061239' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": - "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": - "EasyPost", "phone": "415-123-4567"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '188' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses - response: - body: - string: '{"id": "adr_3d105a66b71411ee9e33ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:46:44+00:00", "updated_at": "2024-01-19T21:46:44+00:00", - "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": - "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": - "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": - {}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '446' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_3d105a66b71411ee9e33ac1f6bc539ae - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda765aaedc4e78ba872001117a3 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.034451' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": - "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": - "EasyPost", "phone": "415-123-4567"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '188' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses - response: - body: - string: '{"id": "adr_7fa5c3dab71411eeafaf3cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:48:36+00:00", "updated_at": "2024-01-19T21:48:36+00:00", - "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": - "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": - "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": - {}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '446' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_7fa5c3dab71411eeafaf3cecef1b359e - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdab65aaee34e78bb0af00115c4d - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.032477' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": - "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": - "EasyPost", "phone": "415-123-4567"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '188' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses - response: - body: - string: '{"id": "adr_c1d1277eb71511eeae70ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T21:57:36+00:00", "updated_at": "2024-01-19T21:57:36+00:00", - "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": - "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": - "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": - {}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '446' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_c1d1277eb71511eeae70ac1f6bc539aa - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaf050e798bb39000f54e5 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.039344' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": - "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": - "EasyPost", "phone": "415-123-4567"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '188' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses - response: - body: - string: '{"id": "adr_3527374ab71611ee81deac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T22:00:50+00:00", "updated_at": "2024-01-19T22:00:50+00:00", - "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": - "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": - "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": - {}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '446' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_3527374ab71611ee81deac1f6bc53342 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaf112e798c39c000fe058 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.036336' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": - "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": - "EasyPost", "phone": "415-123-4567"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '188' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses - response: - body: - string: '{"id": "adr_7e682837b71611ee96c63cecef1b359e", "object": "Address", - "created_at": "2024-01-19T22:02:53+00:00", "updated_at": "2024-01-19T22:02:53+00:00", - "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": - "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": - "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": - {}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '446' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_7e682837b71611ee96c63cecef1b359e - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaf18de798c8e600104e36 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.036056' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": - "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": - "EasyPost", "phone": "415-123-4567"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '188' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses - response: - body: - string: '{"id": "adr_8c19c223b71611eeae59ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T22:03:16+00:00", "updated_at": "2024-01-19T22:03:16+00:00", - "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": - "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": - "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": - {}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '446' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_8c19c223b71611eeae59ac1f6bc539aa - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf1a4e798cc5f00106007 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.039499' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": - "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": - "EasyPost", "phone": "415-123-4567"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '188' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses - response: - body: - string: '{"id": "adr_f23868b7b71611ee82b0ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T22:06:07+00:00", "updated_at": "2024-01-19T22:06:07+00:00", - "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": - "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": - "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": - {}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '446' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_f23868b7b71611ee82b0ac1f6bc539ae - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaf24fe798d1410010d6fc - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.036743' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": - "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": - "EasyPost", "phone": "415-123-4567"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '188' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses - response: - body: - string: '{"id": "adr_cf0c4972b72311ee90f7ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T23:38:12+00:00", "updated_at": "2024-01-19T23:38:12+00:00", - "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": - "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": - "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": - {}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '446' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_cf0c4972b72311ee90f7ac1f6bc539aa - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165ab07e3e799e523001d7111 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.051647' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_addresses_create_and_verify.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_addresses_create_and_verify.yaml deleted file mode 100644 index 809b36f9..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_addresses_create_and_verify.yaml +++ /dev/null @@ -1,774 +0,0 @@ -interactions: -- request: - body: '{"address": {"street1": "417 Montgomery Street", "street2": "FL 5", "city": - "San Francisco", "state": "CA", "zip": "94104", "country": "US", "company": - "EasyPost", "phone": "415-123-4567"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '189' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses/create_and_verify - response: - body: - string: '{"address": {"id": "adr_3d733da6b71311ee835b3cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:39:35+00:00", "updated_at": "2024-01-19T21:39:35+00:00", - "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", - "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": false, "federal_tax_id": null, "state_tax_id": null, - "verifications": {"zip4": {"success": true, "errors": [], "details": null}, - "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, - "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '641' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_3d733da6b71311ee835b3cecef1b359e - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaec17e78b9ac2000ca6d6 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.055179' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"address": {"street1": "417 Montgomery Street", "street2": "FL 5", "city": - "San Francisco", "state": "CA", "zip": "94104", "country": "US", "company": - "EasyPost", "phone": "415-123-4567"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '189' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses/create_and_verify - response: - body: - string: '{"address": {"id": "adr_b4955d59b71311eeafa8ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:42:55+00:00", "updated_at": "2024-01-19T21:42:55+00:00", - "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", - "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": false, "federal_tax_id": null, "state_tax_id": null, - "verifications": {"zip4": {"success": true, "errors": [], "details": null}, - "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, - "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '641' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_b4955d59b71311eeafa8ac1f6bc53342 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaecdfe78b9ff0000d246a - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.049822' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"address": {"street1": "417 Montgomery Street", "street2": "FL 5", "city": - "San Francisco", "state": "CA", "zip": "94104", "country": "US", "company": - "EasyPost", "phone": "415-123-4567"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '189' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses/create_and_verify - response: - body: - string: '{"address": {"id": "adr_3d431a43b71411ee9b483cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:46:45+00:00", "updated_at": "2024-01-19T21:46:45+00:00", - "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", - "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": false, "federal_tax_id": null, "state_tax_id": null, - "verifications": {"zip4": {"success": true, "errors": [], "details": null}, - "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, - "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '641' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_3d431a43b71411ee9b483cecef1b359e - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda765aaedc4e78bab81001117c5 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.065598' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"address": {"street1": "417 Montgomery Street", "street2": "FL 5", "city": - "San Francisco", "state": "CA", "zip": "94104", "country": "US", "company": - "EasyPost", "phone": "415-123-4567"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '189' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses/create_and_verify - response: - body: - string: '{"address": {"id": "adr_7fd89323b71411ee814bac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:48:36+00:00", "updated_at": "2024-01-19T21:48:36+00:00", - "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", - "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": false, "federal_tax_id": null, "state_tax_id": null, - "verifications": {"zip4": {"success": true, "errors": [], "details": null}, - "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, - "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '641' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_7fd89323b71411ee814bac1f6bc539aa - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdab65aaee34e78bb0b000115c8c - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.052539' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"address": {"street1": "417 Montgomery Street", "street2": "FL 5", "city": - "San Francisco", "state": "CA", "zip": "94104", "country": "US", "company": - "EasyPost", "phone": "415-123-4567"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '189' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses/create_and_verify - response: - body: - string: '{"address": {"id": "adr_c204d30ab71511ee9da2ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:57:37+00:00", "updated_at": "2024-01-19T21:57:37+00:00", - "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", - "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": false, "federal_tax_id": null, "state_tax_id": null, - "verifications": {"zip4": {"success": true, "errors": [], "details": null}, - "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, - "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '641' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_c204d30ab71511ee9da2ac1f6bc53342 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf051e798bb3a000f5513 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.072317' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"address": {"street1": "417 Montgomery Street", "street2": "FL 5", "city": - "San Francisco", "state": "CA", "zip": "94104", "country": "US", "company": - "EasyPost", "phone": "415-123-4567"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '189' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses/create_and_verify - response: - body: - string: '{"address": {"id": "adr_355c107fb71611ee91e6ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T22:00:50+00:00", "updated_at": "2024-01-19T22:00:50+00:00", - "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", - "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": false, "federal_tax_id": null, "state_tax_id": null, - "verifications": {"zip4": {"success": true, "errors": [], "details": null}, - "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, - "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '641' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_355c107fb71611ee91e6ac1f6bc539aa - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf112e798c39d000fe0ad - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.057311' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"address": {"street1": "417 Montgomery Street", "street2": "FL 5", "city": - "San Francisco", "state": "CA", "zip": "94104", "country": "US", "company": - "EasyPost", "phone": "415-123-4567"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '189' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses/create_and_verify - response: - body: - string: '{"address": {"id": "adr_7e9e0f27b71611ee96d93cecef1b359e", "object": - "Address", "created_at": "2024-01-19T22:02:53+00:00", "updated_at": "2024-01-19T22:02:53+00:00", - "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", - "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": false, "federal_tax_id": null, "state_tax_id": null, - "verifications": {"zip4": {"success": true, "errors": [], "details": null}, - "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, - "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '641' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_7e9e0f27b71611ee96d93cecef1b359e - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf18de798c8e700104e77 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.060177' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"address": {"street1": "417 Montgomery Street", "street2": "FL 5", "city": - "San Francisco", "state": "CA", "zip": "94104", "country": "US", "company": - "EasyPost", "phone": "415-123-4567"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '189' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses/create_and_verify - response: - body: - string: '{"address": {"id": "adr_8c504237b71611eea03aac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T22:03:16+00:00", "updated_at": "2024-01-19T22:03:16+00:00", - "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", - "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": false, "federal_tax_id": null, "state_tax_id": null, - "verifications": {"zip4": {"success": true, "errors": [], "details": null}, - "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, - "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '641' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_8c504237b71611eea03aac1f6bc539ae - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaf1a4e798cc6000106055 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.059934' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"address": {"street1": "417 Montgomery Street", "street2": "FL 5", "city": - "San Francisco", "state": "CA", "zip": "94104", "country": "US", "company": - "EasyPost", "phone": "415-123-4567"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '189' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses/create_and_verify - response: - body: - string: '{"address": {"id": "adr_f28b6861b71611ee82c5ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T22:06:08+00:00", "updated_at": "2024-01-19T22:06:08+00:00", - "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", - "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": false, "federal_tax_id": null, "state_tax_id": null, - "verifications": {"zip4": {"success": true, "errors": [], "details": null}, - "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, - "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '641' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_f28b6861b71611ee82c5ac1f6bc539ae - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf250e798d1420010d73f - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.065639' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"address": {"street1": "417 Montgomery Street", "street2": "FL 5", "city": - "San Francisco", "state": "CA", "zip": "94104", "country": "US", "company": - "EasyPost", "phone": "415-123-4567"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '189' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses/create_and_verify - response: - body: - string: '{"address": {"id": "adr_cf45d71cb72311ee8665ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T23:38:12+00:00", "updated_at": "2024-01-19T23:38:12+00:00", - "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", - "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": false, "federal_tax_id": null, "state_tax_id": null, - "verifications": {"zip4": {"success": true, "errors": [], "details": null}, - "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, - "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '641' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_cf45d71cb72311ee8665ac1f6bc539ae - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765ab07e4e799e524001d7142 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.059896' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_addresses_list.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_addresses_list.yaml deleted file mode 100644 index b2613d2f..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_addresses_list.yaml +++ /dev/null @@ -1,674 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/addresses?page_size=1 - response: - body: - string: '{"addresses": [{"id": "adr_3e80b02eb71311ee83bf3cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:39:37+00:00", "updated_at": "2024-01-19T21:39:37+00:00", - "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": - "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": - "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": - {}}], "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '478' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaec1ae78b9ae1000ca83d - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.033327' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/addresses?page_size=1 - response: - body: - string: '{"addresses": [{"id": "adr_b5aa371db71311eeb0a0ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:42:57+00:00", "updated_at": "2024-01-19T21:42:57+00:00", - "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": - "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": - "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": - {}}], "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '478' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaece2e78ba306000d25d6 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.043302' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/addresses?page_size=1 - response: - body: - string: '{"addresses": [{"id": "adr_3e7f602db71411ee9dcdac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:46:47+00:00", "updated_at": "2024-01-19T21:46:47+00:00", - "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": - "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": - "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": - {}}], "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '478' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda765aaedc7e78baba500111979 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.031920' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/addresses?page_size=1 - response: - body: - string: '{"addresses": [{"id": "adr_80f98adbb71411ee8194ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:48:38+00:00", "updated_at": "2024-01-19T21:48:38+00:00", - "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": - "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": - "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": - {}}], "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '478' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdae65aaee37e78bb0d000115ded - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.030725' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/addresses?page_size=1 - response: - body: - string: '{"addresses": [{"id": "adr_c3528378b71511ee9dfdac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:57:39+00:00", "updated_at": "2024-01-19T21:57:39+00:00", - "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": - "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": - "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": - {}}], "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '478' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf053e798bb5d000f56b4 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.030749' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/addresses?page_size=1 - response: - body: - string: '{"addresses": [{"id": "adr_36bb3b20b71611ee825eac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T22:00:53+00:00", "updated_at": "2024-01-19T22:00:53+00:00", - "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": - "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": - "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": - {}}], "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '478' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf115e798c3bd000fe372 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.037038' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/addresses?page_size=1 - response: - body: - string: '{"addresses": [{"id": "adr_7ff44328b71611ee97373cecef1b359e", "object": - "Address", "created_at": "2024-01-19T22:02:55+00:00", "updated_at": "2024-01-19T22:02:55+00:00", - "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": - "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": - "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": - {}}], "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '478' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf190e798c90600105085 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.028547' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/addresses?page_size=1 - response: - body: - string: '{"addresses": [{"id": "adr_8d8e0c75b71611eeaef4ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T22:03:18+00:00", "updated_at": "2024-01-19T22:03:18+00:00", - "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": - "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": - "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": - {}}], "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '478' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf1a7e798cc7f001062bf - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.030436' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/addresses?page_size=1 - response: - body: - string: '{"addresses": [{"id": "adr_f3f61dcab71611ee8051ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T22:06:10+00:00", "updated_at": "2024-01-19T22:06:10+00:00", - "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": - "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": - "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": - {}}], "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '478' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaf253e798d1610010d969 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.035790' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/addresses?page_size=1 - response: - body: - string: '{"addresses": [{"id": "adr_d09c1819b72311ee84c0ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T23:38:14+00:00", "updated_at": "2024-01-19T23:38:14+00:00", - "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": - "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": - "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": - {}}], "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '478' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365ab07e7e799e543001d72b6 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.029849' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_addresses_retrieve.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_addresses_retrieve.yaml deleted file mode 100644 index 06970e73..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_addresses_retrieve.yaml +++ /dev/null @@ -1,1426 +0,0 @@ -interactions: -- request: - body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": - "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": - "EasyPost", "phone": "415-123-4567"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '188' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses - response: - body: - string: '{"id": "adr_3e80b02eb71311ee83bf3cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:39:37+00:00", "updated_at": "2024-01-19T21:39:37+00:00", - "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": - "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": - "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": - {}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '446' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_3e80b02eb71311ee83bf3cecef1b359e - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaec19e78b9ac8000ca7ec - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.067312' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/addresses/adr_3e80b02eb71311ee83bf3cecef1b359e - response: - body: - string: '{"id": "adr_3e80b02eb71311ee83bf3cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:39:37+00:00", "updated_at": "2024-01-19T21:39:37+00:00", - "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": - "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": - "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": - {}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '446' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaec19e78b9ae0000ca813 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.027109' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": - "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": - "EasyPost", "phone": "415-123-4567"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '188' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses - response: - body: - string: '{"id": "adr_b5aa371db71311eeb0a0ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:42:57+00:00", "updated_at": "2024-01-19T21:42:57+00:00", - "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": - "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": - "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": - {}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '446' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_b5aa371db71311eeb0a0ac1f6bc539ae - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaece1e78ba304000d256a - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.041331' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/addresses/adr_b5aa371db71311eeb0a0ac1f6bc539ae - response: - body: - string: '{"id": "adr_b5aa371db71311eeb0a0ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:42:57+00:00", "updated_at": "2024-01-19T21:42:57+00:00", - "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": - "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": - "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": - {}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '446' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaece1e78ba305000d259e - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.030282' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": - "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": - "EasyPost", "phone": "415-123-4567"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '188' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses - response: - body: - string: '{"id": "adr_3e7f602db71411ee9dcdac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:46:47+00:00", "updated_at": "2024-01-19T21:46:47+00:00", - "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": - "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": - "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": - {}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '446' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_3e7f602db71411ee9dcdac1f6bc53342 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdab65aaedc7e78baba30011191c - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.035725' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/addresses/adr_3e7f602db71411ee9dcdac1f6bc53342 - response: - body: - string: '{"id": "adr_3e7f602db71411ee9dcdac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:46:47+00:00", "updated_at": "2024-01-19T21:46:47+00:00", - "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": - "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": - "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": - {}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '446' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda865aaedc7e78baba400111942 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.036901' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": - "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": - "EasyPost", "phone": "415-123-4567"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '188' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses - response: - body: - string: '{"id": "adr_80f98adbb71411ee8194ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T21:48:38+00:00", "updated_at": "2024-01-19T21:48:38+00:00", - "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": - "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": - "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": - {}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '446' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_80f98adbb71411ee8194ac1f6bc539aa - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda865aaee36e78bb0ce00115d97 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.036482' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/addresses/adr_80f98adbb71411ee8194ac1f6bc539aa - response: - body: - string: '{"id": "adr_80f98adbb71411ee8194ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T21:48:38+00:00", "updated_at": "2024-01-19T21:48:38+00:00", - "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": - "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": - "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": - {}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '446' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdaa65aaee36e78bb0cf00115db6 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.029450' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": - "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": - "EasyPost", "phone": "415-123-4567"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '188' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses - response: - body: - string: '{"id": "adr_c3528378b71511ee9dfdac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:57:39+00:00", "updated_at": "2024-01-19T21:57:39+00:00", - "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": - "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": - "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": - {}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '446' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_c3528378b71511ee9dfdac1f6bc53342 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf053e798bb5b000f5653 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.036166' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/addresses/adr_c3528378b71511ee9dfdac1f6bc53342 - response: - body: - string: '{"id": "adr_c3528378b71511ee9dfdac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:57:39+00:00", "updated_at": "2024-01-19T21:57:39+00:00", - "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": - "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": - "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": - {}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '446' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf053e798bb5c000f567f - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.027639' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": - "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": - "EasyPost", "phone": "415-123-4567"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '188' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses - response: - body: - string: '{"id": "adr_36bb3b20b71611ee825eac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T22:00:53+00:00", "updated_at": "2024-01-19T22:00:53+00:00", - "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": - "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": - "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": - {}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '446' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_36bb3b20b71611ee825eac1f6bc53342 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf115e798c3bb000fe2d9 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.031958' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/addresses/adr_36bb3b20b71611ee825eac1f6bc53342 - response: - body: - string: '{"id": "adr_36bb3b20b71611ee825eac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T22:00:53+00:00", "updated_at": "2024-01-19T22:00:53+00:00", - "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": - "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": - "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": - {}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '446' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaf115e798c3bc000fe31d - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.034824' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": - "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": - "EasyPost", "phone": "415-123-4567"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '188' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses - response: - body: - string: '{"id": "adr_7ff44328b71611ee97373cecef1b359e", "object": "Address", - "created_at": "2024-01-19T22:02:55+00:00", "updated_at": "2024-01-19T22:02:55+00:00", - "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": - "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": - "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": - {}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '446' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_7ff44328b71611ee97373cecef1b359e - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaf18fe798c9040010501f - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.042543' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/addresses/adr_7ff44328b71611ee97373cecef1b359e - response: - body: - string: '{"id": "adr_7ff44328b71611ee97373cecef1b359e", "object": "Address", - "created_at": "2024-01-19T22:02:55+00:00", "updated_at": "2024-01-19T22:02:55+00:00", - "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": - "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": - "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": - {}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '446' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf190e798c90500105055 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.032119' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": - "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": - "EasyPost", "phone": "415-123-4567"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '188' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses - response: - body: - string: '{"id": "adr_8d8e0c75b71611eeaef4ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T22:03:18+00:00", "updated_at": "2024-01-19T22:03:18+00:00", - "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": - "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": - "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": - {}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '446' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_8d8e0c75b71611eeaef4ac1f6bc539aa - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf1a6e798cc7d00106236 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.036053' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/addresses/adr_8d8e0c75b71611eeaef4ac1f6bc539aa - response: - body: - string: '{"id": "adr_8d8e0c75b71611eeaef4ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T22:03:18+00:00", "updated_at": "2024-01-19T22:03:18+00:00", - "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": - "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": - "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": - {}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '446' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaf1a6e798cc7e0010627d - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.033603' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": - "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": - "EasyPost", "phone": "415-123-4567"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '188' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses - response: - body: - string: '{"id": "adr_f3f61dcab71611ee8051ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T22:06:10+00:00", "updated_at": "2024-01-19T22:06:10+00:00", - "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": - "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": - "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": - {}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '446' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_f3f61dcab71611ee8051ac1f6bc53342 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaf252e798d1480010d8f7 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.037242' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/addresses/adr_f3f61dcab71611ee8051ac1f6bc53342 - response: - body: - string: '{"id": "adr_f3f61dcab71611ee8051ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T22:06:10+00:00", "updated_at": "2024-01-19T22:06:10+00:00", - "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": - "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": - "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": - {}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '446' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf252e798d1600010d924 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.031393' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": - "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": - "EasyPost", "phone": "415-123-4567"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '188' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses - response: - body: - string: '{"id": "adr_d09c1819b72311ee84c0ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T23:38:14+00:00", "updated_at": "2024-01-19T23:38:14+00:00", - "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": - "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": - "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": - {}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '446' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_d09c1819b72311ee84c0ac1f6bc53342 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465ab07e6e799e541001d7259 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.037101' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/addresses/adr_d09c1819b72311ee84c0ac1f6bc53342 - response: - body: - string: '{"id": "adr_d09c1819b72311ee84c0ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T23:38:14+00:00", "updated_at": "2024-01-19T23:38:14+00:00", - "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": - "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": - "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": - {}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '446' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365ab07e6e799e542001d727c - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.033632' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_addresses_verify.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_addresses_verify.yaml deleted file mode 100644 index fbc71b5f..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_addresses_verify.yaml +++ /dev/null @@ -1,1464 +0,0 @@ -interactions: -- request: - body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": - "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": - "EasyPost", "phone": "415-123-4567"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '188' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses - response: - body: - string: '{"id": "adr_3df98c4fb71311ee857cac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:39:36+00:00", "updated_at": "2024-01-19T21:39:36+00:00", - "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": - "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": - "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": - {}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '446' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_3df98c4fb71311ee857cac1f6bc53342 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaec18e78b9ac5000ca76f - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.034077' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/addresses/adr_3df98c4fb71311ee857cac1f6bc53342/verify - response: - body: - string: '{"address": {"id": "adr_3e282aa2b71311ee83973cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:39:37+00:00", "updated_at": "2024-01-19T21:39:37+00:00", - "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", - "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": false, "federal_tax_id": null, "state_tax_id": null, - "verifications": {"zip4": {"success": true, "errors": [], "details": null}, - "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, - "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '641' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_3e282aa2b71311ee83973cecef1b359e - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaec18e78b9ac6000ca78f - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.076971' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": - "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": - "EasyPost", "phone": "415-123-4567"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '188' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses - response: - body: - string: '{"id": "adr_b523f830b71311eebf6bac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T21:42:56+00:00", "updated_at": "2024-01-19T21:42:56+00:00", - "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": - "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": - "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": - {}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '446' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_b523f830b71311eebf6bac1f6bc539aa - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaece0e78ba301000d24ef - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.036314' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/addresses/adr_b523f830b71311eebf6bac1f6bc539aa/verify - response: - body: - string: '{"address": {"id": "adr_b54f9407b71311eebf7fac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:42:56+00:00", "updated_at": "2024-01-19T21:42:56+00:00", - "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", - "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": false, "federal_tax_id": null, "state_tax_id": null, - "verifications": {"zip4": {"success": true, "errors": [], "details": null}, - "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, - "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '641' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_b54f9407b71311eebf7fac1f6bc539aa - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaece0e78ba302000d2515 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.064087' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": - "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": - "EasyPost", "phone": "415-123-4567"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '188' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses - response: - body: - string: '{"id": "adr_3dd093beb71411ee9b6c3cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:46:45+00:00", "updated_at": "2024-01-19T21:46:45+00:00", - "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": - "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": - "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": - {}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '446' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_3dd093beb71411ee9b6c3cecef1b359e - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaedc5e78bab84000dc1e3 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.038711' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/addresses/adr_3dd093beb71411ee9b6c3cecef1b359e/verify - response: - body: - string: '{"address": {"id": "adr_3dfcb297b71411ee9e67ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:46:46+00:00", "updated_at": "2024-01-19T21:46:46+00:00", - "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", - "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": false, "federal_tax_id": null, "state_tax_id": null, - "verifications": {"zip4": {"success": true, "errors": [], "details": null}, - "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, - "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '641' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_3dfcb297b71411ee9e67ac1f6bc539ae - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaedc6e78bab85000dc207 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.060543' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": - "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": - "EasyPost", "phone": "415-123-4567"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '188' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses - response: - body: - string: '{"id": "adr_806aa8eeb71411ee816dac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T21:48:37+00:00", "updated_at": "2024-01-19T21:48:37+00:00", - "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": - "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": - "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": - {}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '446' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_806aa8eeb71411ee816dac1f6bc539aa - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdab65aaee35e78bb0cb00115d04 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.054323' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/addresses/adr_806aa8eeb71411ee816dac1f6bc539aa/verify - response: - body: - string: '{"address": {"id": "adr_809ada5cb71411eeafe83cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:48:37+00:00", "updated_at": "2024-01-19T21:48:37+00:00", - "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", - "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": false, "federal_tax_id": null, "state_tax_id": null, - "verifications": {"zip4": {"success": true, "errors": [], "details": null}, - "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, - "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '641' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_809ada5cb71411eeafe83cecef1b359e - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdad65aaee35e78bb0cc00115d2e - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.068475' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": - "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": - "EasyPost", "phone": "415-123-4567"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '188' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses - response: - body: - string: '{"id": "adr_c2bd248eb71511eea01bac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:57:38+00:00", "updated_at": "2024-01-19T21:57:38+00:00", - "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": - "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": - "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": - {}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '446' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_c2bd248eb71511eea01bac1f6bc539ae - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaf052e798bb3d000f55d4 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.032778' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/addresses/adr_c2bd248eb71511eea01bac1f6bc539ae/verify - response: - body: - string: '{"address": {"id": "adr_c2e9ad44b71511eeaeb5ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:57:38+00:00", "updated_at": "2024-01-19T21:57:38+00:00", - "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", - "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": false, "federal_tax_id": null, "state_tax_id": null, - "verifications": {"zip4": {"success": true, "errors": [], "details": null}, - "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, - "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '641' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_c2e9ad44b71511eeaeb5ac1f6bc539aa - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaf052e798bb55000f55f8 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.060191' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": - "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": - "EasyPost", "phone": "415-123-4567"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '188' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses - response: - body: - string: '{"id": "adr_36251c0eb71611ee922cac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T22:00:52+00:00", "updated_at": "2024-01-19T22:00:52+00:00", - "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": - "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": - "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": - {}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '446' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_36251c0eb71611ee922cac1f6bc539aa - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdab65aaf114e798c3b70013309e - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.034246' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/addresses/adr_36251c0eb71611ee922cac1f6bc539aa/verify - response: - body: - string: '{"address": {"id": "adr_36506bd0b71611eebff93cecef1b359e", "object": - "Address", "created_at": "2024-01-19T22:00:52+00:00", "updated_at": "2024-01-19T22:00:52+00:00", - "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", - "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": false, "federal_tax_id": null, "state_tax_id": null, - "verifications": {"zip4": {"success": true, "errors": [], "details": null}, - "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, - "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '641' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_36506bd0b71611eebff93cecef1b359e - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdae65aaf114e798c3b8001330e3 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.067085' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": - "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": - "EasyPost", "phone": "415-123-4567"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '188' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses - response: - body: - string: '{"id": "adr_7f5212d5b71611ee97093cecef1b359e", "object": "Address", - "created_at": "2024-01-19T22:02:54+00:00", "updated_at": "2024-01-19T22:02:54+00:00", - "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": - "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": - "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": - {}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '446' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_7f5212d5b71611ee97093cecef1b359e - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf18ee798c90100104f6a - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.035316' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/addresses/adr_7f5212d5b71611ee97093cecef1b359e/verify - response: - body: - string: '{"address": {"id": "adr_7f82db86b71611ee99a1ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T22:02:55+00:00", "updated_at": "2024-01-19T22:02:55+00:00", - "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", - "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": false, "federal_tax_id": null, "state_tax_id": null, - "verifications": {"zip4": {"success": true, "errors": [], "details": null}, - "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, - "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '641' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_7f82db86b71611ee99a1ac1f6bc53342 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaf18fe798c90200104f9a - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.111611' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": - "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": - "EasyPost", "phone": "415-123-4567"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '188' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses - response: - body: - string: '{"id": "adr_8cef06e9b71611eeaebaac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T22:03:17+00:00", "updated_at": "2024-01-19T22:03:17+00:00", - "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": - "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": - "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": - {}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '446' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_8cef06e9b71611eeaebaac1f6bc539aa - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaf1a5e798cc7a00106161 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.036251' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/addresses/adr_8cef06e9b71611eeaebaac1f6bc539aa/verify - response: - body: - string: '{"address": {"id": "adr_8d1acc0fb71611ee9c703cecef1b359e", "object": - "Address", "created_at": "2024-01-19T22:03:17+00:00", "updated_at": "2024-01-19T22:03:17+00:00", - "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", - "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": false, "federal_tax_id": null, "state_tax_id": null, - "verifications": {"zip4": {"success": true, "errors": [], "details": null}, - "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, - "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '641' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_8d1acc0fb71611ee9c703cecef1b359e - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaf1a5e798cc7b00106199 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.064374' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": - "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": - "EasyPost", "phone": "415-123-4567"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '188' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses - response: - body: - string: '{"id": "adr_f32feb6fb71611eebe773cecef1b359e", "object": "Address", - "created_at": "2024-01-19T22:06:09+00:00", "updated_at": "2024-01-19T22:06:09+00:00", - "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": - "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": - "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": - {}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '446' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_f32feb6fb71611eebe773cecef1b359e - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf251e798d1450010d804 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.039901' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/addresses/adr_f32feb6fb71611eebe773cecef1b359e/verify - response: - body: - string: '{"address": {"id": "adr_f35c347ab71611eebfffac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T22:06:09+00:00", "updated_at": "2024-01-19T22:06:09+00:00", - "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", - "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": false, "federal_tax_id": null, "state_tax_id": null, - "verifications": {"zip4": {"success": true, "errors": [], "details": null}, - "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, - "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '641' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_f35c347ab71611eebfffac1f6bc53342 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf251e798d1460010d83e - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.066171' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": - "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": - "EasyPost", "phone": "415-123-4567"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '188' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses - response: - body: - string: '{"id": "adr_cff34a0db72311ee848eac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T23:38:13+00:00", "updated_at": "2024-01-19T23:38:13+00:00", - "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", "street2": - "FLOOR 5", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": - "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": - {}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '446' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_cff34a0db72311ee848eac1f6bc53342 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda765ab07e5e799e53e0020cadf - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.031565' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/addresses/adr_cff34a0db72311ee848eac1f6bc53342/verify - response: - body: - string: '{"address": {"id": "adr_d0228e04b72311ee868eac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T23:38:13+00:00", "updated_at": "2024-01-19T23:38:13+00:00", - "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", - "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": false, "federal_tax_id": null, "state_tax_id": null, - "verifications": {"zip4": {"success": true, "errors": [], "details": null}, - "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, - "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '641' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_d0228e04b72311ee868eac1f6bc539ae - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdaa65ab07e5e799e53f0020caf4 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.073726' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_addresses_verify_failure.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_addresses_verify_failure.yaml deleted file mode 100644 index 1b44dcfc..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_addresses_verify_failure.yaml +++ /dev/null @@ -1,816 +0,0 @@ -interactions: -- request: - body: '{"address": {"street1": "UNDELIVERABLE ST", "street2": null, "city": "SAN - FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": "EasyPost", - "phone": "415-123-4567"}, "verify": true}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '198' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses - response: - body: - string: '{"id": "adr_3e55b5d3b71311ee83a83cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:39:37+00:00", "updated_at": "2024-01-19T21:39:37+00:00", - "name": null, "company": "EasyPost", "street1": "UNDELIVERABLE ST", "street2": - null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", - "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": - {"zip4": {"success": false, "errors": [{"code": "E.ADDRESS.NOT_FOUND", "field": - "address", "message": "Address not found", "suggestion": null}, {"code": "E.HOUSE_NUMBER.MISSING", - "field": "street1", "message": "House number is missing", "suggestion": null}], - "details": null}, "delivery": {"success": false, "errors": [{"code": "E.ADDRESS.NOT_FOUND", - "field": "address", "message": "Address not found", "suggestion": null}, {"code": - "E.HOUSE_NUMBER.MISSING", "field": "street1", "message": "House number is - missing", "suggestion": null}], "details": {}}}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '949' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_3e55b5d3b71311ee83a83cecef1b359e - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaec19e78b9ac7000ca7bd - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.045402' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"address": {"street1": "UNDELIVERABLE ST", "street2": null, "city": "SAN - FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": "EasyPost", - "phone": "415-123-4567"}, "verify": true}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '198' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses - response: - body: - string: '{"id": "adr_b57f7a43b71311eeb008ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:42:57+00:00", "updated_at": "2024-01-19T21:42:57+00:00", - "name": null, "company": "EasyPost", "street1": "UNDELIVERABLE ST", "street2": - null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", - "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": - {"zip4": {"success": false, "errors": [{"code": "E.ADDRESS.NOT_FOUND", "field": - "address", "message": "Address not found", "suggestion": null}, {"code": "E.HOUSE_NUMBER.MISSING", - "field": "street1", "message": "House number is missing", "suggestion": null}], - "details": null}, "delivery": {"success": false, "errors": [{"code": "E.ADDRESS.NOT_FOUND", - "field": "address", "message": "Address not found", "suggestion": null}, {"code": - "E.HOUSE_NUMBER.MISSING", "field": "street1", "message": "House number is - missing", "suggestion": null}], "details": {}}}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '949' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_b57f7a43b71311eeb008ac1f6bc53342 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaece1e78ba303000d2541 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.049044' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"address": {"street1": "UNDELIVERABLE ST", "street2": null, "city": "SAN - FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": "EasyPost", - "phone": "415-123-4567"}, "verify": true}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '198' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses - response: - body: - string: '{"id": "adr_3e53406eb71411ee9dc8ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:46:46+00:00", "updated_at": "2024-01-19T21:46:46+00:00", - "name": null, "company": "EasyPost", "street1": "UNDELIVERABLE ST", "street2": - null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", - "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": - {"zip4": {"success": false, "errors": [{"code": "E.ADDRESS.NOT_FOUND", "field": - "address", "message": "Address not found", "suggestion": null}, {"code": "E.HOUSE_NUMBER.MISSING", - "field": "street1", "message": "House number is missing", "suggestion": null}], - "details": null}, "delivery": {"success": false, "errors": [{"code": "E.ADDRESS.NOT_FOUND", - "field": "address", "message": "Address not found", "suggestion": null}, {"code": - "E.HOUSE_NUMBER.MISSING", "field": "street1", "message": "House number is - missing", "suggestion": null}], "details": {}}}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '949' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_3e53406eb71411ee9dc8ac1f6bc53342 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaedc6e78bab86000dc25b - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.050678' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"address": {"street1": "UNDELIVERABLE ST", "street2": null, "city": "SAN - FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": "EasyPost", - "phone": "415-123-4567"}, "verify": true}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '198' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses - response: - body: - string: '{"id": "adr_80ccda90b71411eeb31aac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:48:38+00:00", "updated_at": "2024-01-19T21:48:38+00:00", - "name": null, "company": "EasyPost", "street1": "UNDELIVERABLE ST", "street2": - null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", - "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": - {"zip4": {"success": false, "errors": [{"code": "E.ADDRESS.NOT_FOUND", "field": - "address", "message": "Address not found", "suggestion": null}, {"code": "E.HOUSE_NUMBER.MISSING", - "field": "street1", "message": "House number is missing", "suggestion": null}], - "details": null}, "delivery": {"success": false, "errors": [{"code": "E.ADDRESS.NOT_FOUND", - "field": "address", "message": "Address not found", "suggestion": null}, {"code": - "E.HOUSE_NUMBER.MISSING", "field": "street1", "message": "House number is - missing", "suggestion": null}], "details": {}}}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '949' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_80ccda90b71411eeb31aac1f6bc539ae - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdad65aaee36e78bb0cd00115d6f - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.048354' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"address": {"street1": "UNDELIVERABLE ST", "street2": null, "city": "SAN - FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": "EasyPost", - "phone": "415-123-4567"}, "verify": true}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '198' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses - response: - body: - string: '{"id": "adr_c323b1ceb71511ee9defac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:57:39+00:00", "updated_at": "2024-01-19T21:57:39+00:00", - "name": null, "company": "EasyPost", "street1": "UNDELIVERABLE ST", "street2": - null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", - "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": - {"zip4": {"success": false, "errors": [{"code": "E.ADDRESS.NOT_FOUND", "field": - "address", "message": "Address not found", "suggestion": null}, {"code": "E.HOUSE_NUMBER.MISSING", - "field": "street1", "message": "House number is missing", "suggestion": null}], - "details": null}, "delivery": {"success": false, "errors": [{"code": "E.ADDRESS.NOT_FOUND", - "field": "address", "message": "Address not found", "suggestion": null}, {"code": - "E.HOUSE_NUMBER.MISSING", "field": "street1", "message": "House number is - missing", "suggestion": null}], "details": {}}}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '949' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_c323b1ceb71511ee9defac1f6bc53342 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaf053e798bb56000f5626 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.052124' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"address": {"street1": "UNDELIVERABLE ST", "street2": null, "city": "SAN - FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": "EasyPost", - "phone": "415-123-4567"}, "verify": true}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '198' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses - response: - body: - string: '{"id": "adr_368a5dcab71611ee9247ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T22:00:52+00:00", "updated_at": "2024-01-19T22:00:52+00:00", - "name": null, "company": "EasyPost", "street1": "UNDELIVERABLE ST", "street2": - null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", - "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": - {"zip4": {"success": false, "errors": [{"code": "E.ADDRESS.NOT_FOUND", "field": - "address", "message": "Address not found", "suggestion": null}, {"code": "E.HOUSE_NUMBER.MISSING", - "field": "street1", "message": "House number is missing", "suggestion": null}], - "details": null}, "delivery": {"success": false, "errors": [{"code": "E.ADDRESS.NOT_FOUND", - "field": "address", "message": "Address not found", "suggestion": null}, {"code": - "E.HOUSE_NUMBER.MISSING", "field": "street1", "message": "House number is - missing", "suggestion": null}], "details": {}}}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '949' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_368a5dcab71611ee9247ac1f6bc539aa - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf114e798c3b9000fe27f - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.049229' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"address": {"street1": "UNDELIVERABLE ST", "street2": null, "city": "SAN - FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": "EasyPost", - "phone": "415-123-4567"}, "verify": true}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '198' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses - response: - body: - string: '{"id": "adr_7fc00904b71611ee9b37ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T22:02:55+00:00", "updated_at": "2024-01-19T22:02:55+00:00", - "name": null, "company": "EasyPost", "street1": "UNDELIVERABLE ST", "street2": - null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", - "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": - {"zip4": {"success": false, "errors": [{"code": "E.ADDRESS.NOT_FOUND", "field": - "address", "message": "Address not found", "suggestion": null}, {"code": "E.HOUSE_NUMBER.MISSING", - "field": "street1", "message": "House number is missing", "suggestion": null}], - "details": null}, "delivery": {"success": false, "errors": [{"code": "E.ADDRESS.NOT_FOUND", - "field": "address", "message": "Address not found", "suggestion": null}, {"code": - "E.HOUSE_NUMBER.MISSING", "field": "street1", "message": "House number is - missing", "suggestion": null}], "details": {}}}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '949' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_7fc00904b71611ee9b37ac1f6bc539ae - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaf18fe798c90300104fe3 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.055483' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"address": {"street1": "UNDELIVERABLE ST", "street2": null, "city": "SAN - FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": "EasyPost", - "phone": "415-123-4567"}, "verify": true}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '198' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses - response: - body: - string: '{"id": "adr_8d57ec92b71611ee9ed2ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T22:03:18+00:00", "updated_at": "2024-01-19T22:03:18+00:00", - "name": null, "company": "EasyPost", "street1": "UNDELIVERABLE ST", "street2": - null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", - "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": - {"zip4": {"success": false, "errors": [{"code": "E.ADDRESS.NOT_FOUND", "field": - "address", "message": "Address not found", "suggestion": null}, {"code": "E.HOUSE_NUMBER.MISSING", - "field": "street1", "message": "House number is missing", "suggestion": null}], - "details": null}, "delivery": {"success": false, "errors": [{"code": "E.ADDRESS.NOT_FOUND", - "field": "address", "message": "Address not found", "suggestion": null}, {"code": - "E.HOUSE_NUMBER.MISSING", "field": "street1", "message": "House number is - missing", "suggestion": null}], "details": {}}}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '949' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_8d57ec92b71611ee9ed2ac1f6bc53342 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaf1a6e798cc7c001061f1 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.052517' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"address": {"street1": "UNDELIVERABLE ST", "street2": null, "city": "SAN - FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": "EasyPost", - "phone": "415-123-4567"}, "verify": true}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '198' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses - response: - body: - string: '{"id": "adr_f3998c4eb71611ee801cac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T22:06:09+00:00", "updated_at": "2024-01-19T22:06:09+00:00", - "name": null, "company": "EasyPost", "street1": "UNDELIVERABLE ST", "street2": - null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", - "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": - {"zip4": {"success": false, "errors": [{"code": "E.ADDRESS.NOT_FOUND", "field": - "address", "message": "Address not found", "suggestion": null}, {"code": "E.HOUSE_NUMBER.MISSING", - "field": "street1", "message": "House number is missing", "suggestion": null}], - "details": null}, "delivery": {"success": false, "errors": [{"code": "E.ADDRESS.NOT_FOUND", - "field": "address", "message": "Address not found", "suggestion": null}, {"code": - "E.HOUSE_NUMBER.MISSING", "field": "street1", "message": "House number is - missing", "suggestion": null}], "details": {}}}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '949' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_f3998c4eb71611ee801cac1f6bc53342 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaf251e798d1470010d884 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.048947' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"address": {"street1": "UNDELIVERABLE ST", "street2": null, "city": "SAN - FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": "EasyPost", - "phone": "415-123-4567"}, "verify": true}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '198' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses - response: - body: - string: '{"id": "adr_d064c5d6b72311ee86a1ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T23:38:14+00:00", "updated_at": "2024-01-19T23:38:14+00:00", - "name": null, "company": "EasyPost", "street1": "UNDELIVERABLE ST", "street2": - null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", - "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": - {"zip4": {"success": false, "errors": [{"code": "E.ADDRESS.NOT_FOUND", "field": - "address", "message": "Address not found", "suggestion": null}, {"code": "E.HOUSE_NUMBER.MISSING", - "field": "street1", "message": "House number is missing", "suggestion": null}], - "details": null}, "delivery": {"success": false, "errors": [{"code": "E.ADDRESS.NOT_FOUND", - "field": "address", "message": "Address not found", "suggestion": null}, {"code": - "E.HOUSE_NUMBER.MISSING", "field": "street1", "message": "House number is - missing", "suggestion": null}], "details": {}}}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '949' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_d064c5d6b72311ee86a1ac1f6bc539ae - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265ab07e6e799e540001d722a - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.047475' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_addresses_verify_param.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_addresses_verify_param.yaml deleted file mode 100644 index 9e218b9a..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_addresses_verify_param.yaml +++ /dev/null @@ -1,778 +0,0 @@ -interactions: -- request: - body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": - "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": - "EasyPost", "phone": "415-123-4567"}, "verify": true}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '204' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses - response: - body: - string: '{"id": "adr_3d9fe04cb71311ee86a0ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:39:36+00:00", "updated_at": "2024-01-19T21:39:36+00:00", - "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", - "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": false, "federal_tax_id": null, "state_tax_id": null, - "verifications": {"zip4": {"success": true, "errors": [], "details": null}, - "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, - "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '629' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_3d9fe04cb71311ee86a0ac1f6bc539ae - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaec18e78b9ac3000ca70a - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.054286' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": - "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": - "EasyPost", "phone": "415-123-4567"}, "verify": true}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '204' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses - response: - body: - string: '{"id": "adr_b4c546acb71311eeafbdac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:42:56+00:00", "updated_at": "2024-01-19T21:42:56+00:00", - "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", - "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": false, "federal_tax_id": null, "state_tax_id": null, - "verifications": {"zip4": {"success": true, "errors": [], "details": null}, - "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, - "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '629' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_b4c546acb71311eeafbdac1f6bc53342 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaecdfe78ba2ff000d2493 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.056070' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": - "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": - "EasyPost", "phone": "415-123-4567"}, "verify": true}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '204' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses - response: - body: - string: '{"id": "adr_3d738818b71411ee9e46ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:46:45+00:00", "updated_at": "2024-01-19T21:46:45+00:00", - "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", - "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": false, "federal_tax_id": null, "state_tax_id": null, - "verifications": {"zip4": {"success": true, "errors": [], "details": null}, - "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, - "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '629' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_3d738818b71411ee9e46ac1f6bc539ae - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdab65aaedc5e78bab82001117f9 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.052121' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": - "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": - "EasyPost", "phone": "415-123-4567"}, "verify": true}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '204' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses - response: - body: - string: '{"id": "adr_800be7efb71411eeb171ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:48:37+00:00", "updated_at": "2024-01-19T21:48:37+00:00", - "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", - "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": false, "federal_tax_id": null, "state_tax_id": null, - "verifications": {"zip4": {"success": true, "errors": [], "details": null}, - "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, - "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '629' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_800be7efb71411eeb171ac1f6bc53342 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdab65aaee35e78bb0b100115cb7 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.049584' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": - "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": - "EasyPost", "phone": "415-123-4567"}, "verify": true}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '204' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses - response: - body: - string: '{"id": "adr_c257be71b71511ee9ff6ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:57:37+00:00", "updated_at": "2024-01-19T21:57:37+00:00", - "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", - "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": false, "federal_tax_id": null, "state_tax_id": null, - "verifications": {"zip4": {"success": true, "errors": [], "details": null}, - "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, - "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '629' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_c257be71b71511ee9ff6ac1f6bc539ae - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaf051e798bb3b000f5565 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.056496' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": - "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": - "EasyPost", "phone": "415-123-4567"}, "verify": true}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '204' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses - response: - body: - string: '{"id": "adr_358fe9a4b71611ee91faac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T22:00:51+00:00", "updated_at": "2024-01-19T22:00:51+00:00", - "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", - "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": false, "federal_tax_id": null, "state_tax_id": null, - "verifications": {"zip4": {"success": true, "errors": [], "details": null}, - "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, - "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '629' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_358fe9a4b71611ee91faac1f6bc539aa - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf113e798c39e000fe0f3 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.070028' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": - "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": - "EasyPost", "phone": "415-123-4567"}, "verify": true}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '204' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses - response: - body: - string: '{"id": "adr_7ee7d5bcb71611eea92cac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T22:02:54+00:00", "updated_at": "2024-01-19T22:02:54+00:00", - "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", - "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": false, "federal_tax_id": null, "state_tax_id": null, - "verifications": {"zip4": {"success": true, "errors": [], "details": null}, - "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, - "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '629' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_7ee7d5bcb71611eea92cac1f6bc539aa - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf18ee798c8ff00104ede - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.064110' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": - "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": - "EasyPost", "phone": "415-123-4567"}, "verify": true}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '204' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses - response: - body: - string: '{"id": "adr_8c8628b4b71611ee9c373cecef1b359e", "object": "Address", - "created_at": "2024-01-19T22:03:16+00:00", "updated_at": "2024-01-19T22:03:16+00:00", - "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", - "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": false, "federal_tax_id": null, "state_tax_id": null, - "verifications": {"zip4": {"success": true, "errors": [], "details": null}, - "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, - "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '629' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_8c8628b4b71611ee9c373cecef1b359e - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaf1a4e798cc61001060ba - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.059614' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": - "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": - "EasyPost", "phone": "415-123-4567"}, "verify": true}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '204' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses - response: - body: - string: '{"id": "adr_f2c28391b71611ee82ddac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T22:06:08+00:00", "updated_at": "2024-01-19T22:06:08+00:00", - "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", - "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": false, "federal_tax_id": null, "state_tax_id": null, - "verifications": {"zip4": {"success": true, "errors": [], "details": null}, - "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, - "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '629' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_f2c28391b71611ee82ddac1f6bc539ae - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf250e798d1430010d781 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.054666' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": - "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": - "EasyPost", "phone": "415-123-4567"}, "verify": true}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '204' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses - response: - body: - string: '{"id": "adr_cf80f5f2b72311eebe553cecef1b359e", "object": "Address", - "created_at": "2024-01-19T23:38:12+00:00", "updated_at": "2024-01-19T23:38:12+00:00", - "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", - "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": false, "federal_tax_id": null, "state_tax_id": null, - "verifications": {"zip4": {"success": true, "errors": [], "details": null}, - "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, - "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '629' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_cf80f5f2b72311eebe553cecef1b359e - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565ab07e4e799e53c001d7172 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.083274' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_addresses_verify_strict_param.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_addresses_verify_strict_param.yaml deleted file mode 100644 index 486d69bc..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_addresses_verify_strict_param.yaml +++ /dev/null @@ -1,774 +0,0 @@ -interactions: -- request: - body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": - "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": - "EasyPost", "phone": "415-123-4567"}, "verify_strict": true}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '211' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses - response: - body: - string: '{"id": "adr_3dcd27a7b71311ee837b3cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:39:36+00:00", "updated_at": "2024-01-19T21:39:36+00:00", - "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", - "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": false, "federal_tax_id": null, "state_tax_id": null, - "verifications": {"zip4": {"success": true, "errors": [], "details": null}, - "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, - "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '629' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_3dcd27a7b71311ee837b3cecef1b359e - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaec18e78b9ac4000ca73b - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.075831' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": - "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": - "EasyPost", "phone": "415-123-4567"}, "verify_strict": true}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '211' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses - response: - body: - string: '{"id": "adr_b4f92e37b71311eeafd2ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:42:56+00:00", "updated_at": "2024-01-19T21:42:56+00:00", - "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", - "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": false, "federal_tax_id": null, "state_tax_id": null, - "verifications": {"zip4": {"success": true, "errors": [], "details": null}, - "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, - "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '629' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_b4f92e37b71311eeafd2ac1f6bc53342 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaece0e78ba300000d24c1 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.052997' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": - "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": - "EasyPost", "phone": "415-123-4567"}, "verify_strict": true}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '211' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses - response: - body: - string: '{"id": "adr_3da2f23db71411eeacdeac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T21:46:45+00:00", "updated_at": "2024-01-19T21:46:45+00:00", - "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", - "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": false, "federal_tax_id": null, "state_tax_id": null, - "verifications": {"zip4": {"success": true, "errors": [], "details": null}, - "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, - "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '629' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_3da2f23db71411eeacdeac1f6bc539aa - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda865aaedc5e78bab8300111819 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.058587' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": - "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": - "EasyPost", "phone": "415-123-4567"}, "verify_strict": true}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '211' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses - response: - body: - string: '{"id": "adr_803da6f2b71411eeafd73cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:48:37+00:00", "updated_at": "2024-01-19T21:48:37+00:00", - "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", - "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": false, "federal_tax_id": null, "state_tax_id": null, - "verifications": {"zip4": {"success": true, "errors": [], "details": null}, - "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, - "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '629' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_803da6f2b71411eeafd73cecef1b359e - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda765aaee35e78bb0ca00115cdc - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.056849' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": - "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": - "EasyPost", "phone": "415-123-4567"}, "verify_strict": true}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '211' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses - response: - body: - string: '{"id": "adr_c28e1f81b71511ee9c183cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:57:38+00:00", "updated_at": "2024-01-19T21:57:38+00:00", - "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", - "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": false, "federal_tax_id": null, "state_tax_id": null, - "verifications": {"zip4": {"success": true, "errors": [], "details": null}, - "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, - "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '629' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_c28e1f81b71511ee9c183cecef1b359e - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaf052e798bb3c000f55a3 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.061038' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": - "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": - "EasyPost", "phone": "415-123-4567"}, "verify_strict": true}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '211' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses - response: - body: - string: '{"id": "adr_35f07039b71611eebfd33cecef1b359e", "object": "Address", - "created_at": "2024-01-19T22:00:51+00:00", "updated_at": "2024-01-19T22:00:51+00:00", - "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", - "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": false, "federal_tax_id": null, "state_tax_id": null, - "verifications": {"zip4": {"success": true, "errors": [], "details": null}, - "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, - "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '629' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_35f07039b71611eebfd33cecef1b359e - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda965aaf113e798c3b600133031 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.076584' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": - "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": - "EasyPost", "phone": "415-123-4567"}, "verify_strict": true}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '211' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses - response: - body: - string: '{"id": "adr_7f1f1ce9b71611eea93dac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T22:02:54+00:00", "updated_at": "2024-01-19T22:02:54+00:00", - "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", - "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": false, "federal_tax_id": null, "state_tax_id": null, - "verifications": {"zip4": {"success": true, "errors": [], "details": null}, - "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, - "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '629' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_7f1f1ce9b71611eea93dac1f6bc539aa - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf18ee798c90000104f22 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.060952' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": - "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": - "EasyPost", "phone": "415-123-4567"}, "verify_strict": true}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '211' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses - response: - body: - string: '{"id": "adr_8cbc9dc1b71611ee9c473cecef1b359e", "object": "Address", - "created_at": "2024-01-19T22:03:17+00:00", "updated_at": "2024-01-19T22:03:17+00:00", - "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", - "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": false, "federal_tax_id": null, "state_tax_id": null, - "verifications": {"zip4": {"success": true, "errors": [], "details": null}, - "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, - "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '629' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_8cbc9dc1b71611ee9c473cecef1b359e - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaf1a5e798cc620010611a - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.062573' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": - "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": - "EasyPost", "phone": "415-123-4567"}, "verify_strict": true}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '211' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses - response: - body: - string: '{"id": "adr_f2fbbc78b71611ee9070ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T22:06:08+00:00", "updated_at": "2024-01-19T22:06:08+00:00", - "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", - "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": false, "federal_tax_id": null, "state_tax_id": null, - "verifications": {"zip4": {"success": true, "errors": [], "details": null}, - "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, - "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '629' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_f2fbbc78b71611ee9070ac1f6bc539aa - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaf250e798d1440010d7c8 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.052537' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"address": {"street1": "417 MONTGOMERY ST", "street2": "FLOOR 5", "city": - "SAN FRANCISCO", "state": "CA", "zip": "94104", "country": "US", "company": - "EasyPost", "phone": "415-123-4567"}, "verify_strict": true}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '211' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/addresses - response: - body: - string: '{"id": "adr_cfbd472fb72311ee911cac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T23:38:13+00:00", "updated_at": "2024-01-19T23:38:13+00:00", - "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", - "country": "US", "phone": "4151234567", "email": null, "mode": "test", "carrier_facility": - null, "residential": false, "federal_tax_id": null, "state_tax_id": null, - "verifications": {"zip4": {"success": true, "errors": [], "details": null}, - "delivery": {"success": true, "errors": [], "details": {"latitude": 37.79342, - "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '629' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/addresses/adr_cfbd472fb72311ee911cac1f6bc539aa - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdad65ab07e5e799e53d0020cac3 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.058667' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_api_keys_retrieve.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_api_keys_retrieve.yaml deleted file mode 100644 index 53e6a382..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_api_keys_retrieve.yaml +++ /dev/null @@ -1,1572 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/users - response: - body: - string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": - null, "name": "New Name", "phone_number": "5555555555", "verified": true, - "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": - false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": - "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", - "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": - null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": - "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User2", "phone_number": "8005550100", "verified": true, "created_at": - "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}, - {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": - "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": - "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": - false, "has_elevate_access": false, "children": []}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1440' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaec1ae78b9ae2000ca879 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.070350' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/users - response: - body: - string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": - null, "name": "New Name", "phone_number": "5555555555", "verified": true, - "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": - false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": - "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", - "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": - null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": - "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User2", "phone_number": "8005550100", "verified": true, "created_at": - "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}, - {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": - "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": - "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": - false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User", "phone_number": "8005550100", "verified": true, "created_at": - "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1725' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaece2e78ba307000d2613 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.074387' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/users - response: - body: - string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": - null, "name": "New Name", "phone_number": "5555555555", "verified": true, - "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": - false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": - "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", - "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": - null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": - "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User2", "phone_number": "8005550100", "verified": true, "created_at": - "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}, - {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": - "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": - "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": - false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User", "phone_number": "8005550100", "verified": true, "created_at": - "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2010' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdad65aaedc7e78baba6001119a2 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.086749' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/api_keys - response: - body: - string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "keys": [{"object": - "ApiKey", "active": true, "key": "", "mode": "test", "created_at": - "2022-02-24T20:59:05Z", "id": "ak_16f993eae7984eab94e0957a78bee407"}, {"object": - "ApiKey", "active": true, "key": "", "mode": "production", "created_at": - "2022-02-24T20:59:14Z", "id": "ak_62524a9c3f684f65ab9eccbf70950df8"}], "children": - [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", "keys": [{"object": "ApiKey", - "active": true, "key": "", "mode": "test", "created_at": "2023-12-11T17:13:38Z", - "id": "ak_90e045d452174b3e99198138dc7938f5"}, {"object": "ApiKey", "active": - true, "key": "", "mode": "production", "created_at": "2023-12-11T17:13:38Z", - "id": "ak_7ef472842fda4256b72779e74653ca79"}], "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", - "keys": [{"object": "ApiKey", "active": true, "key": "", "mode": - "test", "created_at": "2023-12-11T17:13:43Z", "id": "ak_726be943161e4028a347dd2389284d7d"}, - {"object": "ApiKey", "active": true, "key": "", "mode": "production", - "created_at": "2023-12-11T17:13:43Z", "id": "ak_dd9f2e1f14d342679191eee4b69b6ad0"}], - "children": []}, {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "keys": [{"object": - "ApiKey", "active": true, "key": "", "mode": "test", "created_at": - "2024-01-04T19:56:21Z", "id": "ak_e14b2c164b95497a8b9141b2ad212855"}, {"object": - "ApiKey", "active": true, "key": "", "mode": "production", "created_at": - "2024-01-04T19:56:21Z", "id": "ak_a35fabeaec96494694ec0c8726103a80"}], "children": - []}, {"id": "user_31754439d4524fbb8867d138de537e12", "keys": [{"object": "ApiKey", - "active": true, "key": "", "mode": "test", "created_at": "2024-01-19T21:42:21Z", - "id": "ak_dffa08301f7d4a54895f7840d54d05e0"}, {"object": "ApiKey", "active": - true, "key": "", "mode": "production", "created_at": "2024-01-19T21:42:21Z", - "id": "ak_d386ae3ceee04b0880002cd39dca2587"}], "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", - "keys": [{"object": "ApiKey", "active": true, "key": "", "mode": - "test", "created_at": "2024-01-19T21:44:18Z", "id": "ak_92d46dfa461245bba1ec48aac1f2090d"}, - {"object": "ApiKey", "active": true, "key": "", "mode": "production", - "created_at": "2024-01-19T21:44:18Z", "id": "ak_8637c80064224594b9dfdf82efbb27b7"}], - "children": []}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2782' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdae65aaedc8e78baba7001119d5 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.040909' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/users - response: - body: - string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": - null, "name": "New Name", "phone_number": "5555555555", "verified": true, - "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": - false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": - "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", - "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": - null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": - "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User2", "phone_number": "8005550100", "verified": true, "created_at": - "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}, - {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": - "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": - "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": - false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User", "phone_number": "8005550100", "verified": true, "created_at": - "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2010' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdae65aaee37e78bb0d100115e2b - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.161130' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/api_keys - response: - body: - string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "keys": [{"object": - "ApiKey", "active": true, "key": "", "mode": "test", "created_at": - "2022-02-24T20:59:05Z", "id": "ak_16f993eae7984eab94e0957a78bee407"}, {"object": - "ApiKey", "active": true, "key": "", "mode": "production", "created_at": - "2022-02-24T20:59:14Z", "id": "ak_62524a9c3f684f65ab9eccbf70950df8"}], "children": - [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", "keys": [{"object": "ApiKey", - "active": true, "key": "", "mode": "test", "created_at": "2023-12-11T17:13:38Z", - "id": "ak_90e045d452174b3e99198138dc7938f5"}, {"object": "ApiKey", "active": - true, "key": "", "mode": "production", "created_at": "2023-12-11T17:13:38Z", - "id": "ak_7ef472842fda4256b72779e74653ca79"}], "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", - "keys": [{"object": "ApiKey", "active": true, "key": "", "mode": - "test", "created_at": "2023-12-11T17:13:43Z", "id": "ak_726be943161e4028a347dd2389284d7d"}, - {"object": "ApiKey", "active": true, "key": "", "mode": "production", - "created_at": "2023-12-11T17:13:43Z", "id": "ak_dd9f2e1f14d342679191eee4b69b6ad0"}], - "children": []}, {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "keys": [{"object": - "ApiKey", "active": true, "key": "", "mode": "test", "created_at": - "2024-01-04T19:56:21Z", "id": "ak_e14b2c164b95497a8b9141b2ad212855"}, {"object": - "ApiKey", "active": true, "key": "", "mode": "production", "created_at": - "2024-01-04T19:56:21Z", "id": "ak_a35fabeaec96494694ec0c8726103a80"}], "children": - []}, {"id": "user_31754439d4524fbb8867d138de537e12", "keys": [{"object": "ApiKey", - "active": true, "key": "", "mode": "test", "created_at": "2024-01-19T21:42:21Z", - "id": "ak_dffa08301f7d4a54895f7840d54d05e0"}, {"object": "ApiKey", "active": - true, "key": "", "mode": "production", "created_at": "2024-01-19T21:42:21Z", - "id": "ak_d386ae3ceee04b0880002cd39dca2587"}], "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", - "keys": [{"object": "ApiKey", "active": true, "key": "", "mode": - "test", "created_at": "2024-01-19T21:44:18Z", "id": "ak_92d46dfa461245bba1ec48aac1f2090d"}, - {"object": "ApiKey", "active": true, "key": "", "mode": "production", - "created_at": "2024-01-19T21:44:18Z", "id": "ak_8637c80064224594b9dfdf82efbb27b7"}], - "children": []}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2782' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdad65aaee37e78bb0d200115e70 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.040240' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/users - response: - body: - string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": - null, "name": "New Name", "phone_number": "5555555555", "verified": true, - "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": - false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": - "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", - "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": - null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": - "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User2", "phone_number": "8005550100", "verified": true, "created_at": - "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}, - {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": - "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": - "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": - false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User", "phone_number": "8005550100", "verified": true, "created_at": - "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2010' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf054e798bb5e000f56ee - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.195848' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/api_keys - response: - body: - string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "keys": [{"object": - "ApiKey", "active": true, "key": "", "mode": "test", "created_at": - "2022-02-24T20:59:05Z", "id": "ak_16f993eae7984eab94e0957a78bee407"}, {"object": - "ApiKey", "active": true, "key": "", "mode": "production", "created_at": - "2022-02-24T20:59:14Z", "id": "ak_62524a9c3f684f65ab9eccbf70950df8"}], "children": - [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", "keys": [{"object": "ApiKey", - "active": true, "key": "", "mode": "test", "created_at": "2023-12-11T17:13:38Z", - "id": "ak_90e045d452174b3e99198138dc7938f5"}, {"object": "ApiKey", "active": - true, "key": "", "mode": "production", "created_at": "2023-12-11T17:13:38Z", - "id": "ak_7ef472842fda4256b72779e74653ca79"}], "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", - "keys": [{"object": "ApiKey", "active": true, "key": "", "mode": - "test", "created_at": "2023-12-11T17:13:43Z", "id": "ak_726be943161e4028a347dd2389284d7d"}, - {"object": "ApiKey", "active": true, "key": "", "mode": "production", - "created_at": "2023-12-11T17:13:43Z", "id": "ak_dd9f2e1f14d342679191eee4b69b6ad0"}], - "children": []}, {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "keys": [{"object": - "ApiKey", "active": true, "key": "", "mode": "test", "created_at": - "2024-01-04T19:56:21Z", "id": "ak_e14b2c164b95497a8b9141b2ad212855"}, {"object": - "ApiKey", "active": true, "key": "", "mode": "production", "created_at": - "2024-01-04T19:56:21Z", "id": "ak_a35fabeaec96494694ec0c8726103a80"}], "children": - []}, {"id": "user_31754439d4524fbb8867d138de537e12", "keys": [{"object": "ApiKey", - "active": true, "key": "", "mode": "test", "created_at": "2024-01-19T21:42:21Z", - "id": "ak_dffa08301f7d4a54895f7840d54d05e0"}, {"object": "ApiKey", "active": - true, "key": "", "mode": "production", "created_at": "2024-01-19T21:42:21Z", - "id": "ak_d386ae3ceee04b0880002cd39dca2587"}], "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", - "keys": [{"object": "ApiKey", "active": true, "key": "", "mode": - "test", "created_at": "2024-01-19T21:44:18Z", "id": "ak_92d46dfa461245bba1ec48aac1f2090d"}, - {"object": "ApiKey", "active": true, "key": "", "mode": "production", - "created_at": "2024-01-19T21:44:18Z", "id": "ak_8637c80064224594b9dfdf82efbb27b7"}], - "children": []}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2782' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf054e798bb76000f5725 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.031288' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/users - response: - body: - string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": - null, "name": "New Name", "phone_number": "5555555555", "verified": true, - "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": - false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": - "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", - "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": - null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": - "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User2", "phone_number": "8005550100", "verified": true, "created_at": - "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}, - {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": - "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": - "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": - false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User", "phone_number": "8005550100", "verified": true, "created_at": - "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2010' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaf115e798c3be000fe3b9 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.099716' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/api_keys - response: - body: - string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "keys": [{"object": - "ApiKey", "active": true, "key": "", "mode": "test", "created_at": - "2022-02-24T20:59:05Z", "id": "ak_16f993eae7984eab94e0957a78bee407"}, {"object": - "ApiKey", "active": true, "key": "", "mode": "production", "created_at": - "2022-02-24T20:59:14Z", "id": "ak_62524a9c3f684f65ab9eccbf70950df8"}], "children": - [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", "keys": [{"object": "ApiKey", - "active": true, "key": "", "mode": "test", "created_at": "2023-12-11T17:13:38Z", - "id": "ak_90e045d452174b3e99198138dc7938f5"}, {"object": "ApiKey", "active": - true, "key": "", "mode": "production", "created_at": "2023-12-11T17:13:38Z", - "id": "ak_7ef472842fda4256b72779e74653ca79"}], "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", - "keys": [{"object": "ApiKey", "active": true, "key": "", "mode": - "test", "created_at": "2023-12-11T17:13:43Z", "id": "ak_726be943161e4028a347dd2389284d7d"}, - {"object": "ApiKey", "active": true, "key": "", "mode": "production", - "created_at": "2023-12-11T17:13:43Z", "id": "ak_dd9f2e1f14d342679191eee4b69b6ad0"}], - "children": []}, {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "keys": [{"object": - "ApiKey", "active": true, "key": "", "mode": "test", "created_at": - "2024-01-04T19:56:21Z", "id": "ak_e14b2c164b95497a8b9141b2ad212855"}, {"object": - "ApiKey", "active": true, "key": "", "mode": "production", "created_at": - "2024-01-04T19:56:21Z", "id": "ak_a35fabeaec96494694ec0c8726103a80"}], "children": - []}, {"id": "user_31754439d4524fbb8867d138de537e12", "keys": [{"object": "ApiKey", - "active": true, "key": "", "mode": "test", "created_at": "2024-01-19T21:42:21Z", - "id": "ak_dffa08301f7d4a54895f7840d54d05e0"}, {"object": "ApiKey", "active": - true, "key": "", "mode": "production", "created_at": "2024-01-19T21:42:21Z", - "id": "ak_d386ae3ceee04b0880002cd39dca2587"}], "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", - "keys": [{"object": "ApiKey", "active": true, "key": "", "mode": - "test", "created_at": "2024-01-19T21:44:18Z", "id": "ak_92d46dfa461245bba1ec48aac1f2090d"}, - {"object": "ApiKey", "active": true, "key": "", "mode": "production", - "created_at": "2024-01-19T21:44:18Z", "id": "ak_8637c80064224594b9dfdf82efbb27b7"}], - "children": []}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2782' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf116e798c3bf000fe407 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.032155' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/users - response: - body: - string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": - null, "name": "New Name", "phone_number": "5555555555", "verified": true, - "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": - false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": - "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", - "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": - null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": - "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User2", "phone_number": "8005550100", "verified": true, "created_at": - "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}, - {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": - "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": - "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": - false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User", "phone_number": "8005550100", "verified": true, "created_at": - "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2010' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaf190e798c907001050d1 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.087941' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/api_keys - response: - body: - string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "keys": [{"object": - "ApiKey", "active": true, "key": "", "mode": "test", "created_at": - "2022-02-24T20:59:05Z", "id": "ak_16f993eae7984eab94e0957a78bee407"}, {"object": - "ApiKey", "active": true, "key": "", "mode": "production", "created_at": - "2022-02-24T20:59:14Z", "id": "ak_62524a9c3f684f65ab9eccbf70950df8"}], "children": - [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", "keys": [{"object": "ApiKey", - "active": true, "key": "", "mode": "test", "created_at": "2023-12-11T17:13:38Z", - "id": "ak_90e045d452174b3e99198138dc7938f5"}, {"object": "ApiKey", "active": - true, "key": "", "mode": "production", "created_at": "2023-12-11T17:13:38Z", - "id": "ak_7ef472842fda4256b72779e74653ca79"}], "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", - "keys": [{"object": "ApiKey", "active": true, "key": "", "mode": - "test", "created_at": "2023-12-11T17:13:43Z", "id": "ak_726be943161e4028a347dd2389284d7d"}, - {"object": "ApiKey", "active": true, "key": "", "mode": "production", - "created_at": "2023-12-11T17:13:43Z", "id": "ak_dd9f2e1f14d342679191eee4b69b6ad0"}], - "children": []}, {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "keys": [{"object": - "ApiKey", "active": true, "key": "", "mode": "test", "created_at": - "2024-01-04T19:56:21Z", "id": "ak_e14b2c164b95497a8b9141b2ad212855"}, {"object": - "ApiKey", "active": true, "key": "", "mode": "production", "created_at": - "2024-01-04T19:56:21Z", "id": "ak_a35fabeaec96494694ec0c8726103a80"}], "children": - []}, {"id": "user_31754439d4524fbb8867d138de537e12", "keys": [{"object": "ApiKey", - "active": true, "key": "", "mode": "test", "created_at": "2024-01-19T21:42:21Z", - "id": "ak_dffa08301f7d4a54895f7840d54d05e0"}, {"object": "ApiKey", "active": - true, "key": "", "mode": "production", "created_at": "2024-01-19T21:42:21Z", - "id": "ak_d386ae3ceee04b0880002cd39dca2587"}], "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", - "keys": [{"object": "ApiKey", "active": true, "key": "", "mode": - "test", "created_at": "2024-01-19T21:44:18Z", "id": "ak_92d46dfa461245bba1ec48aac1f2090d"}, - {"object": "ApiKey", "active": true, "key": "", "mode": "production", - "created_at": "2024-01-19T21:44:18Z", "id": "ak_8637c80064224594b9dfdf82efbb27b7"}], - "children": []}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2782' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf191e798c90800105102 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.054444' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/users - response: - body: - string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": - null, "name": "New Name", "phone_number": "5555555555", "verified": true, - "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": - false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": - "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", - "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": - null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": - "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User2", "phone_number": "8005550100", "verified": true, "created_at": - "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}, - {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": - "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": - "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": - false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User", "phone_number": "8005550100", "verified": true, "created_at": - "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2010' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaf1a7e798cc8000106307 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.087308' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/api_keys - response: - body: - string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "keys": [{"object": - "ApiKey", "active": true, "key": "", "mode": "test", "created_at": - "2022-02-24T20:59:05Z", "id": "ak_16f993eae7984eab94e0957a78bee407"}, {"object": - "ApiKey", "active": true, "key": "", "mode": "production", "created_at": - "2022-02-24T20:59:14Z", "id": "ak_62524a9c3f684f65ab9eccbf70950df8"}], "children": - [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", "keys": [{"object": "ApiKey", - "active": true, "key": "", "mode": "test", "created_at": "2023-12-11T17:13:38Z", - "id": "ak_90e045d452174b3e99198138dc7938f5"}, {"object": "ApiKey", "active": - true, "key": "", "mode": "production", "created_at": "2023-12-11T17:13:38Z", - "id": "ak_7ef472842fda4256b72779e74653ca79"}], "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", - "keys": [{"object": "ApiKey", "active": true, "key": "", "mode": - "test", "created_at": "2023-12-11T17:13:43Z", "id": "ak_726be943161e4028a347dd2389284d7d"}, - {"object": "ApiKey", "active": true, "key": "", "mode": "production", - "created_at": "2023-12-11T17:13:43Z", "id": "ak_dd9f2e1f14d342679191eee4b69b6ad0"}], - "children": []}, {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "keys": [{"object": - "ApiKey", "active": true, "key": "", "mode": "test", "created_at": - "2024-01-04T19:56:21Z", "id": "ak_e14b2c164b95497a8b9141b2ad212855"}, {"object": - "ApiKey", "active": true, "key": "", "mode": "production", "created_at": - "2024-01-04T19:56:21Z", "id": "ak_a35fabeaec96494694ec0c8726103a80"}], "children": - []}, {"id": "user_31754439d4524fbb8867d138de537e12", "keys": [{"object": "ApiKey", - "active": true, "key": "", "mode": "test", "created_at": "2024-01-19T21:42:21Z", - "id": "ak_dffa08301f7d4a54895f7840d54d05e0"}, {"object": "ApiKey", "active": - true, "key": "", "mode": "production", "created_at": "2024-01-19T21:42:21Z", - "id": "ak_d386ae3ceee04b0880002cd39dca2587"}], "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", - "keys": [{"object": "ApiKey", "active": true, "key": "", "mode": - "test", "created_at": "2024-01-19T21:44:18Z", "id": "ak_92d46dfa461245bba1ec48aac1f2090d"}, - {"object": "ApiKey", "active": true, "key": "", "mode": "production", - "created_at": "2024-01-19T21:44:18Z", "id": "ak_8637c80064224594b9dfdf82efbb27b7"}], - "children": []}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2782' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf1a8e798cc8100106342 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.033455' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/users - response: - body: - string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": - null, "name": "New Name", "phone_number": "5555555555", "verified": true, - "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": - false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": - "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", - "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": - null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": - "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User2", "phone_number": "8005550100", "verified": true, "created_at": - "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}, - {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": - "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": - "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": - false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User", "phone_number": "8005550100", "verified": true, "created_at": - "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2010' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf253e798d1620010d9b5 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.087212' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/api_keys - response: - body: - string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "keys": [{"object": - "ApiKey", "active": true, "key": "", "mode": "test", "created_at": - "2022-02-24T20:59:05Z", "id": "ak_16f993eae7984eab94e0957a78bee407"}, {"object": - "ApiKey", "active": true, "key": "", "mode": "production", "created_at": - "2022-02-24T20:59:14Z", "id": "ak_62524a9c3f684f65ab9eccbf70950df8"}], "children": - [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", "keys": [{"object": "ApiKey", - "active": true, "key": "", "mode": "test", "created_at": "2023-12-11T17:13:38Z", - "id": "ak_90e045d452174b3e99198138dc7938f5"}, {"object": "ApiKey", "active": - true, "key": "", "mode": "production", "created_at": "2023-12-11T17:13:38Z", - "id": "ak_7ef472842fda4256b72779e74653ca79"}], "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", - "keys": [{"object": "ApiKey", "active": true, "key": "", "mode": - "test", "created_at": "2023-12-11T17:13:43Z", "id": "ak_726be943161e4028a347dd2389284d7d"}, - {"object": "ApiKey", "active": true, "key": "", "mode": "production", - "created_at": "2023-12-11T17:13:43Z", "id": "ak_dd9f2e1f14d342679191eee4b69b6ad0"}], - "children": []}, {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "keys": [{"object": - "ApiKey", "active": true, "key": "", "mode": "test", "created_at": - "2024-01-04T19:56:21Z", "id": "ak_e14b2c164b95497a8b9141b2ad212855"}, {"object": - "ApiKey", "active": true, "key": "", "mode": "production", "created_at": - "2024-01-04T19:56:21Z", "id": "ak_a35fabeaec96494694ec0c8726103a80"}], "children": - []}, {"id": "user_31754439d4524fbb8867d138de537e12", "keys": [{"object": "ApiKey", - "active": true, "key": "", "mode": "test", "created_at": "2024-01-19T21:42:21Z", - "id": "ak_dffa08301f7d4a54895f7840d54d05e0"}, {"object": "ApiKey", "active": - true, "key": "", "mode": "production", "created_at": "2024-01-19T21:42:21Z", - "id": "ak_d386ae3ceee04b0880002cd39dca2587"}], "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", - "keys": [{"object": "ApiKey", "active": true, "key": "", "mode": - "test", "created_at": "2024-01-19T21:44:18Z", "id": "ak_92d46dfa461245bba1ec48aac1f2090d"}, - {"object": "ApiKey", "active": true, "key": "", "mode": "production", - "created_at": "2024-01-19T21:44:18Z", "id": "ak_8637c80064224594b9dfdf82efbb27b7"}], - "children": []}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2782' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf253e798d1630010d9e9 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.030268' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/users - response: - body: - string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": - null, "name": "New Name", "phone_number": "5555555555", "verified": true, - "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": - false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": - "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", - "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": - null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": - "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User2", "phone_number": "8005550100", "verified": true, "created_at": - "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}, - {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": - "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": - "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": - false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User", "phone_number": "8005550100", "verified": true, "created_at": - "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2010' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465ab07e7e799e544001d72e5 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.093711' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/api_keys - response: - body: - string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "keys": [{"object": - "ApiKey", "active": true, "key": "", "mode": "test", "created_at": - "2022-02-24T20:59:05Z", "id": "ak_16f993eae7984eab94e0957a78bee407"}, {"object": - "ApiKey", "active": true, "key": "", "mode": "production", "created_at": - "2022-02-24T20:59:14Z", "id": "ak_62524a9c3f684f65ab9eccbf70950df8"}], "children": - [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", "keys": [{"object": "ApiKey", - "active": true, "key": "", "mode": "test", "created_at": "2023-12-11T17:13:38Z", - "id": "ak_90e045d452174b3e99198138dc7938f5"}, {"object": "ApiKey", "active": - true, "key": "", "mode": "production", "created_at": "2023-12-11T17:13:38Z", - "id": "ak_7ef472842fda4256b72779e74653ca79"}], "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", - "keys": [{"object": "ApiKey", "active": true, "key": "", "mode": - "test", "created_at": "2023-12-11T17:13:43Z", "id": "ak_726be943161e4028a347dd2389284d7d"}, - {"object": "ApiKey", "active": true, "key": "", "mode": "production", - "created_at": "2023-12-11T17:13:43Z", "id": "ak_dd9f2e1f14d342679191eee4b69b6ad0"}], - "children": []}, {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "keys": [{"object": - "ApiKey", "active": true, "key": "", "mode": "test", "created_at": - "2024-01-04T19:56:21Z", "id": "ak_e14b2c164b95497a8b9141b2ad212855"}, {"object": - "ApiKey", "active": true, "key": "", "mode": "production", "created_at": - "2024-01-04T19:56:21Z", "id": "ak_a35fabeaec96494694ec0c8726103a80"}], "children": - []}, {"id": "user_31754439d4524fbb8867d138de537e12", "keys": [{"object": "ApiKey", - "active": true, "key": "", "mode": "test", "created_at": "2024-01-19T21:42:21Z", - "id": "ak_dffa08301f7d4a54895f7840d54d05e0"}, {"object": "ApiKey", "active": - true, "key": "", "mode": "production", "created_at": "2024-01-19T21:42:21Z", - "id": "ak_d386ae3ceee04b0880002cd39dca2587"}], "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", - "keys": [{"object": "ApiKey", "active": true, "key": "", "mode": - "test", "created_at": "2024-01-19T21:44:18Z", "id": "ak_92d46dfa461245bba1ec48aac1f2090d"}, - {"object": "ApiKey", "active": true, "key": "", "mode": "production", - "created_at": "2024-01-19T21:44:18Z", "id": "ak_8637c80064224594b9dfdf82efbb27b7"}], - "children": []}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2782' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765ab07e7e799e545001d730e - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.032260' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_batches_add_shipments.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_batches_add_shipments.yaml deleted file mode 100644 index 25472324..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_batches_add_shipments.yaml +++ /dev/null @@ -1,3298 +0,0 @@ -interactions: -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:40:11Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010707504", "updated_at": "2024-01-19T21:40:12Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_72e4c7185c5b4ec69615d6c971dee66b", "object": "CustomsInfo", "created_at": - "2024-01-19T21:40:11Z", "updated_at": "2024-01-19T21:40:11Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_2797752246e145ee8fec30d105775cf4", - "object": "CustomsItem", "created_at": "2024-01-19T21:40:11Z", "updated_at": - "2024-01-19T21:40:11Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_52edc801b71311ee8c98ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:40:11+00:00", "updated_at": - "2024-01-19T21:40:11+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_83771c84ba2f44e380277f2cb68341b6", - "object": "Parcel", "created_at": "2024-01-19T21:40:11Z", "updated_at": "2024-01-19T21:40:11Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_3deec53529304deeb3f235647b0afa77", "created_at": "2024-01-19T21:40:12Z", - "updated_at": "2024-01-19T21:40:12Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:40:12Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8f4073da265da4808a8ab9bd2ef2f5d56.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_0b01cebe43444895bf2c9686f3fdb132", "object": - "Rate", "created_at": "2024-01-19T21:40:12Z", "updated_at": "2024-01-19T21:40:12Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_8f16c7d5967b4682ad8596a1475d023d", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_a51440eb856f42ae8d8e882a6edaf436", - "object": "Rate", "created_at": "2024-01-19T21:40:12Z", "updated_at": "2024-01-19T21:40:12Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_8f16c7d5967b4682ad8596a1475d023d", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_cb4b0c12ab4f4df2a65a488453a1a2ef", - "object": "Rate", "created_at": "2024-01-19T21:40:12Z", "updated_at": "2024-01-19T21:40:12Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_8f16c7d5967b4682ad8596a1475d023d", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_bea883c833404fdbafcfbac2616befc8", - "object": "Rate", "created_at": "2024-01-19T21:40:12Z", "updated_at": "2024-01-19T21:40:12Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_8f16c7d5967b4682ad8596a1475d023d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_710f4d6a29504881aaa8c29a6712649a", "object": "Rate", "created_at": - "2024-01-19T21:40:12Z", "updated_at": "2024-01-19T21:40:12Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_8f16c7d5967b4682ad8596a1475d023d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_a51440eb856f42ae8d8e882a6edaf436", - "object": "Rate", "created_at": "2024-01-19T21:40:12Z", "updated_at": "2024-01-19T21:40:12Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_8f16c7d5967b4682ad8596a1475d023d", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_d84c2ee8a14a4e63a8e671e84d04583f", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010707504", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:40:12Z", - "updated_at": "2024-01-19T21:40:12Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_8f16c7d5967b4682ad8596a1475d023d", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrX2Q4NGMyZWU4YTE0YTRlNjNhOGU2NzFlODRkMDQ1ODNm"}, - "to_address": {"id": "adr_52eba5dfb71311ee8c94ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:40:11+00:00", "updated_at": "2024-01-19T21:40:12+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_52edc801b71311ee8c98ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:40:11+00:00", "updated_at": - "2024-01-19T21:40:11+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_52eba5dfb71311ee8c94ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:40:11+00:00", "updated_at": "2024-01-19T21:40:12+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_8f16c7d5967b4682ad8596a1475d023d", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_8f16c7d5967b4682ad8596a1475d023d - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaec3be78b9b07000cbca8 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.066978' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"batch": {}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '13' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches - response: - body: - string: '{"id": "batch_64a58d60294943d8ae88db0b5094a907", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 0, "reference": null, - "created_at": "2024-01-19T21:40:13Z", "updated_at": "2024-01-19T21:40:13Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '383' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaec3de78b9b08000cbd8a - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.051516' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipments": [{"id": "shp_8f16c7d5967b4682ad8596a1475d023d"}]}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '63' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches/batch_64a58d60294943d8ae88db0b5094a907/add_shipments - response: - body: - string: '{"id": "batch_64a58d60294943d8ae88db0b5094a907", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T21:40:13Z", "updated_at": "2024-01-19T21:40:13Z", - "scan_form": null, "shipments": [{"batch_status": "postage_purchased", "batch_message": - null, "reference": null, "tracking_code": "9405500207552010707504", "id": - "shp_8f16c7d5967b4682ad8596a1475d023d"}], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 1, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '542' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaec3de78b9b09000cbdb9 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.072559' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:43:01Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010707917", "updated_at": "2024-01-19T21:43:02Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_33a31ca1ebb24bb9a5ca9c5d453b59cf", "object": "CustomsInfo", "created_at": - "2024-01-19T21:43:01Z", "updated_at": "2024-01-19T21:43:01Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_2cebbb972069486b95d407063972f8bc", - "object": "CustomsItem", "created_at": "2024-01-19T21:43:01Z", "updated_at": - "2024-01-19T21:43:01Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_b84bd3c0b71311eeb15bac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:43:01+00:00", "updated_at": - "2024-01-19T21:43:01+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_995af5528c48452b8727216816e56840", - "object": "Parcel", "created_at": "2024-01-19T21:43:01Z", "updated_at": "2024-01-19T21:43:01Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_8b464011c18542739059aeefddc4cc4d", "created_at": "2024-01-19T21:43:02Z", - "updated_at": "2024-01-19T21:43:02Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:43:02Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e891e51c2537324682a22e36e209a43bf6.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_6d6be089c48442238b3289f0afebecb6", "object": - "Rate", "created_at": "2024-01-19T21:43:02Z", "updated_at": "2024-01-19T21:43:02Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_ef011bbbf5924189be26e55ab3511632", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_64bf62de930f4b87a9671c23f0e605ea", - "object": "Rate", "created_at": "2024-01-19T21:43:02Z", "updated_at": "2024-01-19T21:43:02Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_ef011bbbf5924189be26e55ab3511632", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_dbee3dfae1ab428ab7d02279dd6e1d2a", - "object": "Rate", "created_at": "2024-01-19T21:43:02Z", "updated_at": "2024-01-19T21:43:02Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_ef011bbbf5924189be26e55ab3511632", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_25ac07d6e0404aa98ee345db52a59d50", "object": "Rate", "created_at": - "2024-01-19T21:43:02Z", "updated_at": "2024-01-19T21:43:02Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_ef011bbbf5924189be26e55ab3511632", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_6767e5124e82448ea2170311e50b8452", "object": "Rate", "created_at": - "2024-01-19T21:43:02Z", "updated_at": "2024-01-19T21:43:02Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_ef011bbbf5924189be26e55ab3511632", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_6d6be089c48442238b3289f0afebecb6", - "object": "Rate", "created_at": "2024-01-19T21:43:02Z", "updated_at": "2024-01-19T21:43:02Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_ef011bbbf5924189be26e55ab3511632", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_3d4648c53c894ae6ab4fecbe4295cd99", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010707917", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:43:02Z", - "updated_at": "2024-01-19T21:43:02Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_ef011bbbf5924189be26e55ab3511632", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzNkNDY0OGM1M2M4OTRhZTZhYjRmZWNiZTQyOTVjZDk5"}, - "to_address": {"id": "adr_b849bfb7b71311eeb158ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:43:01+00:00", "updated_at": "2024-01-19T21:43:02+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_b84bd3c0b71311eeb15bac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:43:01+00:00", "updated_at": - "2024-01-19T21:43:01+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_b849bfb7b71311eeb158ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:43:01+00:00", "updated_at": "2024-01-19T21:43:02+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_ef011bbbf5924189be26e55ab3511632", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_ef011bbbf5924189be26e55ab3511632 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaece5e78ba328000d282e - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.007508' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"batch": {}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '13' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches - response: - body: - string: '{"id": "batch_8c9fecbc823849d8b582b31f4844f949", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 0, "reference": null, - "created_at": "2024-01-19T21:43:03Z", "updated_at": "2024-01-19T21:43:03Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '383' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaece7e78ba329000d28ec - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.040663' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipments": [{"id": "shp_ef011bbbf5924189be26e55ab3511632"}]}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '63' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches/batch_8c9fecbc823849d8b582b31f4844f949/add_shipments - response: - body: - string: '{"id": "batch_8c9fecbc823849d8b582b31f4844f949", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T21:43:03Z", "updated_at": "2024-01-19T21:43:03Z", - "scan_form": null, "shipments": [{"batch_status": "postage_purchased", "batch_message": - null, "reference": null, "tracking_code": "9405500207552010707917", "id": - "shp_ef011bbbf5924189be26e55ab3511632"}], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 1, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '542' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaece7e78ba341000d2928 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.054020' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:46:51Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010708327", "updated_at": "2024-01-19T21:46:52Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_13cc1b1e0ed94c878609bef8c268ddca", "object": "CustomsInfo", "created_at": - "2024-01-19T21:46:51Z", "updated_at": "2024-01-19T21:46:51Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_8f85dc202f5d402aa9af47a86a8117ce", - "object": "CustomsItem", "created_at": "2024-01-19T21:46:51Z", "updated_at": - "2024-01-19T21:46:51Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_4151b656b71411eeae00ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:46:51+00:00", "updated_at": - "2024-01-19T21:46:51+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_cfbf22aac6534cb5be71da58794dba74", - "object": "Parcel", "created_at": "2024-01-19T21:46:51Z", "updated_at": "2024-01-19T21:46:51Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_9899aaa6e2254910a08a863bbd6afbd6", "created_at": "2024-01-19T21:46:52Z", - "updated_at": "2024-01-19T21:46:52Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:46:52Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8a859c7ee95b148a1a3ff58adfbf183ee.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_5aa362a7a51d4239a94b0a6f3724b119", "object": - "Rate", "created_at": "2024-01-19T21:46:51Z", "updated_at": "2024-01-19T21:46:51Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_6f2a5992d5554c549f88d82a74da990e", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b7ebe7e0a6814670bb0750d89fa0a3d6", - "object": "Rate", "created_at": "2024-01-19T21:46:51Z", "updated_at": "2024-01-19T21:46:51Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_6f2a5992d5554c549f88d82a74da990e", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_81c8c62506454d3bacf797369838bc11", - "object": "Rate", "created_at": "2024-01-19T21:46:51Z", "updated_at": "2024-01-19T21:46:51Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_6f2a5992d5554c549f88d82a74da990e", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_4fb07f6e6d5e4944a3ee59e59c5f9ecc", "object": "Rate", "created_at": - "2024-01-19T21:46:52Z", "updated_at": "2024-01-19T21:46:52Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_6f2a5992d5554c549f88d82a74da990e", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_07526e442c27461b8c02082e1cbfa3ef", "object": "Rate", "created_at": - "2024-01-19T21:46:52Z", "updated_at": "2024-01-19T21:46:52Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_6f2a5992d5554c549f88d82a74da990e", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_5aa362a7a51d4239a94b0a6f3724b119", - "object": "Rate", "created_at": "2024-01-19T21:46:52Z", "updated_at": "2024-01-19T21:46:52Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_6f2a5992d5554c549f88d82a74da990e", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_244f3c7cc0c24f5a8d41b222c672cc14", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708327", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:46:52Z", - "updated_at": "2024-01-19T21:46:52Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_6f2a5992d5554c549f88d82a74da990e", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzI0NGYzYzdjYzBjMjRmNWE4ZDQxYjIyMmM2NzJjYzE0"}, - "to_address": {"id": "adr_414f57cdb71411ee9f72ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:46:51+00:00", "updated_at": "2024-01-19T21:46:52+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_4151b656b71411eeae00ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:46:51+00:00", "updated_at": - "2024-01-19T21:46:51+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_414f57cdb71411ee9f72ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:46:51+00:00", "updated_at": "2024-01-19T21:46:52+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_6f2a5992d5554c549f88d82a74da990e", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_6f2a5992d5554c549f88d82a74da990e - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdae65aaedcbe78babcb00111c07 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '1.302086' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"batch": {}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '13' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches - response: - body: - string: '{"id": "batch_2d9e5fbd0b214ab2ac9f7a14d9290034", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 0, "reference": null, - "created_at": "2024-01-19T21:46:53Z", "updated_at": "2024-01-19T21:46:53Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '383' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdaa65aaedcde78babcc00111ced - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.036904' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipments": [{"id": "shp_6f2a5992d5554c549f88d82a74da990e"}]}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '63' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches/batch_2d9e5fbd0b214ab2ac9f7a14d9290034/add_shipments - response: - body: - string: '{"id": "batch_2d9e5fbd0b214ab2ac9f7a14d9290034", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T21:46:53Z", "updated_at": "2024-01-19T21:46:53Z", - "scan_form": null, "shipments": [{"batch_status": "postage_purchased", "batch_message": - null, "reference": null, "tracking_code": "9405500207552010708327", "id": - "shp_6f2a5992d5554c549f88d82a74da990e"}], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 1, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '542' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda965aaedcde78babe400111d16 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.046767' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:48:43Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010708785", "updated_at": "2024-01-19T21:48:44Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_ff059baa6c784095a6f5f7b153d6bf50", "object": "CustomsInfo", "created_at": - "2024-01-19T21:48:43Z", "updated_at": "2024-01-19T21:48:43Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_bec42e9f26e445ca8230b378fb45c13d", - "object": "CustomsItem", "created_at": "2024-01-19T21:48:43Z", "updated_at": - "2024-01-19T21:48:43Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_83eb8fdeb71411ee8288ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:48:43+00:00", "updated_at": - "2024-01-19T21:48:43+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_bcd835b2f37644f7ab9e775de7c6f6ab", - "object": "Parcel", "created_at": "2024-01-19T21:48:43Z", "updated_at": "2024-01-19T21:48:43Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_12f97a0575dd4a45bba3e5d2db53dd37", "created_at": "2024-01-19T21:48:44Z", - "updated_at": "2024-01-19T21:48:44Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:48:44Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e891a752eb17cf4722875458dd91d4b8b7.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_b5f74e92de5f408b9a8685401c8006f7", "object": - "Rate", "created_at": "2024-01-19T21:48:43Z", "updated_at": "2024-01-19T21:48:43Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_6045f2888664459b8afc616132f5bd54", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_6f37a6929fe34ae9b3a9d855904d2651", - "object": "Rate", "created_at": "2024-01-19T21:48:43Z", "updated_at": "2024-01-19T21:48:43Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_6045f2888664459b8afc616132f5bd54", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_56a2b62e102346f3ab125574b64e1b27", - "object": "Rate", "created_at": "2024-01-19T21:48:43Z", "updated_at": "2024-01-19T21:48:43Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_6045f2888664459b8afc616132f5bd54", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_8b369dc08e82407ca30f2e97b14d967e", "object": "Rate", "created_at": - "2024-01-19T21:48:43Z", "updated_at": "2024-01-19T21:48:43Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_6045f2888664459b8afc616132f5bd54", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_474c7f1ddb5c49708ef531c69b1ab8cd", "object": "Rate", "created_at": - "2024-01-19T21:48:43Z", "updated_at": "2024-01-19T21:48:43Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_6045f2888664459b8afc616132f5bd54", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_b5f74e92de5f408b9a8685401c8006f7", - "object": "Rate", "created_at": "2024-01-19T21:48:44Z", "updated_at": "2024-01-19T21:48:44Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_6045f2888664459b8afc616132f5bd54", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_fe88ddb561054d11b3403bdd0a627944", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708785", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:48:44Z", - "updated_at": "2024-01-19T21:48:44Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_6045f2888664459b8afc616132f5bd54", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrX2ZlODhkZGI1NjEwNTRkMTFiMzQwM2JkZDBhNjI3OTQ0"}, - "to_address": {"id": "adr_83e901c0b71411ee8287ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T21:48:43+00:00", "updated_at": "2024-01-19T21:48:43+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_83eb8fdeb71411ee8288ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:48:43+00:00", "updated_at": - "2024-01-19T21:48:43+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_83e901c0b71411ee8287ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:48:43+00:00", "updated_at": "2024-01-19T21:48:43+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_6045f2888664459b8afc616132f5bd54", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_6045f2888664459b8afc616132f5bd54 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdad65aaee3be78bb0f300116090 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '1.075272' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"batch": {}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '13' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches - response: - body: - string: '{"id": "batch_2473f389354e463e930fae041502559d", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 0, "reference": null, - "created_at": "2024-01-19T21:48:44Z", "updated_at": "2024-01-19T21:48:44Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '383' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda765aaee3ce78bb0f40011613e - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.034680' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipments": [{"id": "shp_6045f2888664459b8afc616132f5bd54"}]}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '63' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches/batch_2473f389354e463e930fae041502559d/add_shipments - response: - body: - string: '{"id": "batch_2473f389354e463e930fae041502559d", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T21:48:44Z", "updated_at": "2024-01-19T21:48:44Z", - "scan_form": null, "shipments": [{"batch_status": "postage_purchased", "batch_message": - null, "reference": null, "tracking_code": "9405500207552010708785", "id": - "shp_6045f2888664459b8afc616132f5bd54"}], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 1, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '542' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda865aaee3de78bb4030011615f - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.049048' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:57:54Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010711242", "updated_at": "2024-01-19T21:57:54Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_9272e1873cc347358509462b2d53a867", "object": "CustomsInfo", "created_at": - "2024-01-19T21:57:54Z", "updated_at": "2024-01-19T21:57:54Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_21f2bf9758a14d999afcefc3abfaaa76", - "object": "CustomsItem", "created_at": "2024-01-19T21:57:54Z", "updated_at": - "2024-01-19T21:57:54Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_cc0eff4db71511ee9f033cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:57:54+00:00", "updated_at": - "2024-01-19T21:57:54+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_30c95b4aa1ec4a50bbf89452d55c798a", - "object": "Parcel", "created_at": "2024-01-19T21:57:54Z", "updated_at": "2024-01-19T21:57:54Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_85390cf71a7a43c091eefc4485876a31", "created_at": "2024-01-19T21:57:54Z", - "updated_at": "2024-01-19T21:57:54Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:57:54Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8cd8d0566ffc740e0b74833a02c8c2e8a.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_040377f740334a26a15db4e858e193fa", "object": - "Rate", "created_at": "2024-01-19T21:57:54Z", "updated_at": "2024-01-19T21:57:54Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_f23041f2756547e79ea9f2abebad2427", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_a8b5b32c55fe41ef89c9e7d0d450a7ac", - "object": "Rate", "created_at": "2024-01-19T21:57:54Z", "updated_at": "2024-01-19T21:57:54Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_f23041f2756547e79ea9f2abebad2427", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_3f638533152846eda5c2a1f93cbd02be", - "object": "Rate", "created_at": "2024-01-19T21:57:54Z", "updated_at": "2024-01-19T21:57:54Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_f23041f2756547e79ea9f2abebad2427", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_323107b51f2945bd9e28ca1b5fa51d55", "object": "Rate", "created_at": - "2024-01-19T21:57:54Z", "updated_at": "2024-01-19T21:57:54Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_f23041f2756547e79ea9f2abebad2427", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_3ee73e5af1c94259a7113aceb00a3a53", "object": "Rate", "created_at": - "2024-01-19T21:57:54Z", "updated_at": "2024-01-19T21:57:54Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_f23041f2756547e79ea9f2abebad2427", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_040377f740334a26a15db4e858e193fa", - "object": "Rate", "created_at": "2024-01-19T21:57:54Z", "updated_at": "2024-01-19T21:57:54Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_f23041f2756547e79ea9f2abebad2427", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_681f3aa262a14b69a824d6a48d51f5a6", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711242", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:57:55Z", - "updated_at": "2024-01-19T21:57:55Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_f23041f2756547e79ea9f2abebad2427", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzY4MWYzYWEyNjJhMTRiNjlhODI0ZDZhNDhkNTFmNWE2"}, - "to_address": {"id": "adr_cc0c80c2b71511eea2e7ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:57:54+00:00", "updated_at": "2024-01-19T21:57:54+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_cc0eff4db71511ee9f033cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:57:54+00:00", "updated_at": - "2024-01-19T21:57:54+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_cc0c80c2b71511eea2e7ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:57:54+00:00", "updated_at": "2024-01-19T21:57:54+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_f23041f2756547e79ea9f2abebad2427", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_f23041f2756547e79ea9f2abebad2427 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf062e798bb97000f5f82 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.020327' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"batch": {}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '13' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches - response: - body: - string: '{"id": "batch_a50b2ffe2d08448b976d0ee3482275ca", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 0, "reference": null, - "created_at": "2024-01-19T21:57:55Z", "updated_at": "2024-01-19T21:57:55Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '383' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaf063e798bb98000f6048 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.037783' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipments": [{"id": "shp_f23041f2756547e79ea9f2abebad2427"}]}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '63' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches/batch_a50b2ffe2d08448b976d0ee3482275ca/add_shipments - response: - body: - string: '{"id": "batch_a50b2ffe2d08448b976d0ee3482275ca", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T21:57:55Z", "updated_at": "2024-01-19T21:57:55Z", - "scan_form": null, "shipments": [{"batch_status": "postage_purchased", "batch_message": - null, "reference": null, "tracking_code": "9405500207552010711242", "id": - "shp_f23041f2756547e79ea9f2abebad2427"}], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 1, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '542' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaf063e798bb99000f6066 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.053846' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T22:00:57Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010711723", "updated_at": "2024-01-19T22:00:58Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_5987ca56f2f54de19d8613c53f2a2b36", "object": "CustomsInfo", "created_at": - "2024-01-19T22:00:57Z", "updated_at": "2024-01-19T22:00:57Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_9f6d4507cd4d444b85d82725ea683584", - "object": "CustomsItem", "created_at": "2024-01-19T22:00:57Z", "updated_at": - "2024-01-19T22:00:57Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_396de62eb71611ee8360ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:00:57+00:00", "updated_at": - "2024-01-19T22:00:57+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_2c6b52ece96c47c59dc236afa9a07d69", - "object": "Parcel", "created_at": "2024-01-19T22:00:57Z", "updated_at": "2024-01-19T22:00:57Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_dc491e7fcb5d4532bbb6890dc3124644", "created_at": "2024-01-19T22:00:58Z", - "updated_at": "2024-01-19T22:00:58Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T22:00:58Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8caec0e9ab5a648af8ced7032b53ca108.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_e6af8f343c8845e88e5d1f4f2675ca29", "object": - "Rate", "created_at": "2024-01-19T22:00:57Z", "updated_at": "2024-01-19T22:00:57Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_7f11d573891d4ff7a06db0b00e5ce4c2", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_6a60c9e150fc48f795df5ea7e1ac5f1f", - "object": "Rate", "created_at": "2024-01-19T22:00:57Z", "updated_at": "2024-01-19T22:00:57Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_7f11d573891d4ff7a06db0b00e5ce4c2", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_1b3525545ab54b9ea5171a258d8118f7", - "object": "Rate", "created_at": "2024-01-19T22:00:57Z", "updated_at": "2024-01-19T22:00:57Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_7f11d573891d4ff7a06db0b00e5ce4c2", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f140fd3d32534a4c9e5149bf2217f8c7", - "object": "Rate", "created_at": "2024-01-19T22:00:57Z", "updated_at": "2024-01-19T22:00:57Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_7f11d573891d4ff7a06db0b00e5ce4c2", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_869cab41262a45989a161ef5a961a7a2", "object": "Rate", "created_at": - "2024-01-19T22:00:57Z", "updated_at": "2024-01-19T22:00:57Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_7f11d573891d4ff7a06db0b00e5ce4c2", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_6a60c9e150fc48f795df5ea7e1ac5f1f", - "object": "Rate", "created_at": "2024-01-19T22:00:58Z", "updated_at": "2024-01-19T22:00:58Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_7f11d573891d4ff7a06db0b00e5ce4c2", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_0c1159fa07fd4c59b4cca2b0e1b43687", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711723", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:00:58Z", - "updated_at": "2024-01-19T22:00:58Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_7f11d573891d4ff7a06db0b00e5ce4c2", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzBjMTE1OWZhMDdmZDRjNTliNGNjYTJiMGUxYjQzNjg3"}, - "to_address": {"id": "adr_396b29a4b71611ee81213cecef1b359e", "object": "Address", - "created_at": "2024-01-19T22:00:57+00:00", "updated_at": "2024-01-19T22:00:57+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_396de62eb71611ee8360ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:00:57+00:00", "updated_at": - "2024-01-19T22:00:57+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_396b29a4b71611ee81213cecef1b359e", "object": - "Address", "created_at": "2024-01-19T22:00:57+00:00", "updated_at": "2024-01-19T22:00:57+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_7f11d573891d4ff7a06db0b00e5ce4c2", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_7f11d573891d4ff7a06db0b00e5ce4c2 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaf119e798c3e0000fe733 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.962755' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"batch": {}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '13' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches - response: - body: - string: '{"id": "batch_77d938bf264c49c5a1a1183fe358392f", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 0, "reference": null, - "created_at": "2024-01-19T22:00:58Z", "updated_at": "2024-01-19T22:00:58Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '383' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaf11ae798c3f8000fe86c - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.038234' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipments": [{"id": "shp_7f11d573891d4ff7a06db0b00e5ce4c2"}]}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '63' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches/batch_77d938bf264c49c5a1a1183fe358392f/add_shipments - response: - body: - string: '{"id": "batch_77d938bf264c49c5a1a1183fe358392f", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T22:00:58Z", "updated_at": "2024-01-19T22:00:58Z", - "scan_form": null, "shipments": [{"batch_status": "postage_purchased", "batch_message": - null, "reference": null, "tracking_code": "9405500207552010711723", "id": - "shp_7f11d573891d4ff7a06db0b00e5ce4c2"}], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 1, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '542' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaf11ae798c3f9000fe8aa - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.055155' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T22:03:00Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010712126", "updated_at": "2024-01-19T22:03:01Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_a384af742d4944a583a92b9fd0340864", "object": "CustomsInfo", "created_at": - "2024-01-19T22:03:00Z", "updated_at": "2024-01-19T22:03:00Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_50cc23f5f49848d58c5f47295df81949", - "object": "CustomsItem", "created_at": "2024-01-19T22:03:00Z", "updated_at": - "2024-01-19T22:03:00Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_82e9e476b71611ee98553cecef1b359e", - "object": "Address", "created_at": "2024-01-19T22:03:00+00:00", "updated_at": - "2024-01-19T22:03:00+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_473cc1e25cdb410d9bacb03ae1c81dac", - "object": "Parcel", "created_at": "2024-01-19T22:03:00Z", "updated_at": "2024-01-19T22:03:00Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_aa47fdc1fd524bb5adada02ba1db2221", "created_at": "2024-01-19T22:03:01Z", - "updated_at": "2024-01-19T22:03:01Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T22:03:01Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8a127305ff84b4e11b69b5187cf418975.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_a499c23a16f1437a9e06629ec33671f0", "object": - "Rate", "created_at": "2024-01-19T22:03:01Z", "updated_at": "2024-01-19T22:03:01Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_5e9501509bdb43d9aaa17a168f22ad08", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_9d02080d3dbb46739f15ef6983a59c54", - "object": "Rate", "created_at": "2024-01-19T22:03:01Z", "updated_at": "2024-01-19T22:03:01Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_5e9501509bdb43d9aaa17a168f22ad08", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b6696298e89f442f83ffededffdafa57", - "object": "Rate", "created_at": "2024-01-19T22:03:01Z", "updated_at": "2024-01-19T22:03:01Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_5e9501509bdb43d9aaa17a168f22ad08", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_3d045b09aaf64b37aafa25122ab29dc8", "object": "Rate", "created_at": - "2024-01-19T22:03:01Z", "updated_at": "2024-01-19T22:03:01Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_5e9501509bdb43d9aaa17a168f22ad08", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_5eed22efc51b42148c45460eaaf7dee9", "object": "Rate", "created_at": - "2024-01-19T22:03:01Z", "updated_at": "2024-01-19T22:03:01Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_5e9501509bdb43d9aaa17a168f22ad08", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_a499c23a16f1437a9e06629ec33671f0", - "object": "Rate", "created_at": "2024-01-19T22:03:01Z", "updated_at": "2024-01-19T22:03:01Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_5e9501509bdb43d9aaa17a168f22ad08", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_9eee3d83ef1e4a8e94223d6c21b5c71a", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010712126", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:03:01Z", - "updated_at": "2024-01-19T22:03:01Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_5e9501509bdb43d9aaa17a168f22ad08", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzllZWUzZDgzZWYxZTRhOGU5NDIyM2Q2YzIxYjVjNzFh"}, - "to_address": {"id": "adr_82e760a6b71611ee98543cecef1b359e", "object": "Address", - "created_at": "2024-01-19T22:03:00+00:00", "updated_at": "2024-01-19T22:03:01+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_82e9e476b71611ee98553cecef1b359e", - "object": "Address", "created_at": "2024-01-19T22:03:00+00:00", "updated_at": - "2024-01-19T22:03:00+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_82e760a6b71611ee98543cecef1b359e", "object": - "Address", "created_at": "2024-01-19T22:03:00+00:00", "updated_at": "2024-01-19T22:03:01+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_5e9501509bdb43d9aaa17a168f22ad08", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_5e9501509bdb43d9aaa17a168f22ad08 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf194e798cc200010539f - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.048176' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"batch": {}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '13' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches - response: - body: - string: '{"id": "batch_c9a1cf971a994df899ee5038b30d15b0", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 0, "reference": null, - "created_at": "2024-01-19T22:03:02Z", "updated_at": "2024-01-19T22:03:02Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '383' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaf196e798cc38001054b5 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.052175' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipments": [{"id": "shp_5e9501509bdb43d9aaa17a168f22ad08"}]}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '63' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches/batch_c9a1cf971a994df899ee5038b30d15b0/add_shipments - response: - body: - string: '{"id": "batch_c9a1cf971a994df899ee5038b30d15b0", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T22:03:02Z", "updated_at": "2024-01-19T22:03:02Z", - "scan_form": null, "shipments": [{"batch_status": "postage_purchased", "batch_message": - null, "reference": null, "tracking_code": "9405500207552010712126", "id": - "shp_5e9501509bdb43d9aaa17a168f22ad08"}], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 1, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '542' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaf196e798cc39001054f5 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.052044' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T22:04:03Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010712331", "updated_at": "2024-01-19T22:04:04Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_6a9215476c16499caccedcb1336e739b", "object": "CustomsInfo", "created_at": - "2024-01-19T22:04:03Z", "updated_at": "2024-01-19T22:04:03Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_a60ead4277fc4155b4dfa859d4c3e6ab", - "object": "CustomsItem", "created_at": "2024-01-19T22:04:03Z", "updated_at": - "2024-01-19T22:04:03Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_a87b8a4db71611eea7b7ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:04:03+00:00", "updated_at": - "2024-01-19T22:04:03+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_fca0b56e4da94f5889aee5e2184ee8a7", - "object": "Parcel", "created_at": "2024-01-19T22:04:03Z", "updated_at": "2024-01-19T22:04:03Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_4562c63e9bca4fe6a34c8cb4493aed6c", "created_at": "2024-01-19T22:04:04Z", - "updated_at": "2024-01-19T22:04:04Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T22:04:04Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e82fab067ed74b447e957b269c1a566e9c.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_1e4b9e497bfe4d7f877f51a1f1f851fe", "object": - "Rate", "created_at": "2024-01-19T22:04:04Z", "updated_at": "2024-01-19T22:04:04Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_d9cd0d29283048268acb84806ca39269", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_1446dd9629da43608b1e5d1d0321eab3", - "object": "Rate", "created_at": "2024-01-19T22:04:04Z", "updated_at": "2024-01-19T22:04:04Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_d9cd0d29283048268acb84806ca39269", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_ffe04038218f4f7eaa30c5c2f49e6c0d", - "object": "Rate", "created_at": "2024-01-19T22:04:04Z", "updated_at": "2024-01-19T22:04:04Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_d9cd0d29283048268acb84806ca39269", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_93e0df6b04af4a73a0ba9a3823ea4bbf", "object": "Rate", "created_at": - "2024-01-19T22:04:04Z", "updated_at": "2024-01-19T22:04:04Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_d9cd0d29283048268acb84806ca39269", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_6e5a2f7cd66d45d5b0fc105b5bd5e097", "object": "Rate", "created_at": - "2024-01-19T22:04:04Z", "updated_at": "2024-01-19T22:04:04Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_d9cd0d29283048268acb84806ca39269", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_1e4b9e497bfe4d7f877f51a1f1f851fe", - "object": "Rate", "created_at": "2024-01-19T22:04:04Z", "updated_at": "2024-01-19T22:04:04Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_d9cd0d29283048268acb84806ca39269", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_bc9fde705b9b42f995a79e6d9523debd", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010712331", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:04:04Z", - "updated_at": "2024-01-19T22:04:04Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_d9cd0d29283048268acb84806ca39269", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrX2JjOWZkZTcwNWI5YjQyZjk5NWE3OWU2ZDk1MjNkZWJk"}, - "to_address": {"id": "adr_a8793639b71611eeaa32ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T22:04:03+00:00", "updated_at": "2024-01-19T22:04:04+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_a87b8a4db71611eea7b7ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:04:03+00:00", "updated_at": - "2024-01-19T22:04:03+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_a8793639b71611eeaa32ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T22:04:03+00:00", "updated_at": "2024-01-19T22:04:04+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_d9cd0d29283048268acb84806ca39269", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_d9cd0d29283048268acb84806ca39269 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf1d3e798ccc30010837c - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.021131' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"batch": {}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '13' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches - response: - body: - string: '{"id": "batch_9305af5ad5f643138c9755c0159d6244", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 0, "reference": null, - "created_at": "2024-01-19T22:04:05Z", "updated_at": "2024-01-19T22:04:05Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '383' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaf1d5e798ccc400108437 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.039789' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipments": [{"id": "shp_d9cd0d29283048268acb84806ca39269"}]}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '63' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches/batch_9305af5ad5f643138c9755c0159d6244/add_shipments - response: - body: - string: '{"id": "batch_9305af5ad5f643138c9755c0159d6244", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T22:04:05Z", "updated_at": "2024-01-19T22:04:05Z", - "scan_form": null, "shipments": [{"batch_status": "postage_purchased", "batch_message": - null, "reference": null, "tracking_code": "9405500207552010712331", "id": - "shp_d9cd0d29283048268acb84806ca39269"}], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 1, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '542' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaf1d5e798ccc500108473 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.052426' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T22:06:15Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010713017", "updated_at": "2024-01-19T22:06:16Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_bcc5fa8c2e794a5ea5a563b7e01d5d23", "object": "CustomsInfo", "created_at": - "2024-01-19T22:06:15Z", "updated_at": "2024-01-19T22:06:15Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_2d03460c4fe14bf8ad95faca5b75d44e", - "object": "CustomsItem", "created_at": "2024-01-19T22:06:15Z", "updated_at": - "2024-01-19T22:06:15Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_f725f191b71611ee812dac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:06:15+00:00", "updated_at": - "2024-01-19T22:06:15+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_236dce15507e43d3a9b6586ce56ab595", - "object": "Parcel", "created_at": "2024-01-19T22:06:15Z", "updated_at": "2024-01-19T22:06:15Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_b48b00c1a00f424aa94a1e668b077110", "created_at": "2024-01-19T22:06:16Z", - "updated_at": "2024-01-19T22:06:16Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T22:06:16Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8cdda65f17ef34ffa80e8353cf2a9c3f6.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_ee2a0d49167440a9979ae91c4aa238a9", "object": - "Rate", "created_at": "2024-01-19T22:06:16Z", "updated_at": "2024-01-19T22:06:16Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_2dde532cdba14ee1b470bf5c1afd04ef", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_e66932a3906d4ad18a230ddfe622f9d3", - "object": "Rate", "created_at": "2024-01-19T22:06:16Z", "updated_at": "2024-01-19T22:06:16Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_2dde532cdba14ee1b470bf5c1afd04ef", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_9dc5489c737f47ee9ecba89620d29128", - "object": "Rate", "created_at": "2024-01-19T22:06:16Z", "updated_at": "2024-01-19T22:06:16Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_2dde532cdba14ee1b470bf5c1afd04ef", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_9fe41bf1a6844ebf88200f308651adfe", - "object": "Rate", "created_at": "2024-01-19T22:06:16Z", "updated_at": "2024-01-19T22:06:16Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_2dde532cdba14ee1b470bf5c1afd04ef", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_cee22a2b358c421f8a20ac1b653c1837", "object": "Rate", "created_at": - "2024-01-19T22:06:16Z", "updated_at": "2024-01-19T22:06:16Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_2dde532cdba14ee1b470bf5c1afd04ef", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_e66932a3906d4ad18a230ddfe622f9d3", - "object": "Rate", "created_at": "2024-01-19T22:06:16Z", "updated_at": "2024-01-19T22:06:16Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_2dde532cdba14ee1b470bf5c1afd04ef", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_709baed8dfb74498a9f82647fbb6ffff", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010713017", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:06:16Z", - "updated_at": "2024-01-19T22:06:16Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_2dde532cdba14ee1b470bf5c1afd04ef", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzcwOWJhZWQ4ZGZiNzQ0OThhOWY4MjY0N2ZiYjZmZmZm"}, - "to_address": {"id": "adr_f723604ab71611ee91d4ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T22:06:15+00:00", "updated_at": "2024-01-19T22:06:16+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_f725f191b71611ee812dac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:06:15+00:00", "updated_at": - "2024-01-19T22:06:15+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_f723604ab71611ee91d4ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T22:06:15+00:00", "updated_at": "2024-01-19T22:06:16+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_2dde532cdba14ee1b470bf5c1afd04ef", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_2dde532cdba14ee1b470bf5c1afd04ef - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf257e798d1850010dc4f - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.189461' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"batch": {}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '13' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches - response: - body: - string: '{"id": "batch_50ec34f62b9d4c03b982ea365406e3ae", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 0, "reference": null, - "created_at": "2024-01-19T22:06:17Z", "updated_at": "2024-01-19T22:06:17Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '383' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaf259e798d1860010dd6c - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.050781' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipments": [{"id": "shp_2dde532cdba14ee1b470bf5c1afd04ef"}]}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '63' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches/batch_50ec34f62b9d4c03b982ea365406e3ae/add_shipments - response: - body: - string: '{"id": "batch_50ec34f62b9d4c03b982ea365406e3ae", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T22:06:17Z", "updated_at": "2024-01-19T22:06:17Z", - "scan_form": null, "shipments": [{"batch_status": "postage_purchased", "batch_message": - null, "reference": null, "tracking_code": "9405500207552010713017", "id": - "shp_2dde532cdba14ee1b470bf5c1afd04ef"}], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 1, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '542' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaf259e798d1870010dd91 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.052824' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T23:38:19Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010723580", "updated_at": "2024-01-19T23:38:20Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_fd16f17e95ec475abb7b9d1b7d9a3cbd", "object": "CustomsInfo", "created_at": - "2024-01-19T23:38:19Z", "updated_at": "2024-01-19T23:38:19Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_7d05590080a345a19668c0d48157033b", - "object": "CustomsItem", "created_at": "2024-01-19T23:38:19Z", "updated_at": - "2024-01-19T23:38:19Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_d3c1e5ddb72311ee877eac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T23:38:19+00:00", "updated_at": - "2024-01-19T23:38:19+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_0114d91b4778404d9ad03af00a579aca", - "object": "Parcel", "created_at": "2024-01-19T23:38:19Z", "updated_at": "2024-01-19T23:38:19Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_6c843400ce1c43a58ac481d2f8249462", "created_at": "2024-01-19T23:38:20Z", - "updated_at": "2024-01-19T23:38:20Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T23:38:20Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8497827c55714482fbb58c3ecfa6ba66e.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_783a785d101b405ba4efd5aaec206dff", "object": - "Rate", "created_at": "2024-01-19T23:38:20Z", "updated_at": "2024-01-19T23:38:20Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_9fbf5d43dc8b4340b5c0aa41240456a2", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_ea373837a52d4384abc4bcef2c68c2a2", - "object": "Rate", "created_at": "2024-01-19T23:38:20Z", "updated_at": "2024-01-19T23:38:20Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_9fbf5d43dc8b4340b5c0aa41240456a2", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_af5d85c4f0d84ed6b8c6356e709bb3eb", - "object": "Rate", "created_at": "2024-01-19T23:38:20Z", "updated_at": "2024-01-19T23:38:20Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_9fbf5d43dc8b4340b5c0aa41240456a2", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4035359c81b94473adb92c1a632decc5", - "object": "Rate", "created_at": "2024-01-19T23:38:20Z", "updated_at": "2024-01-19T23:38:20Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_9fbf5d43dc8b4340b5c0aa41240456a2", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_86a9ed0390ac4f7ba42cf508d857f947", "object": "Rate", "created_at": - "2024-01-19T23:38:20Z", "updated_at": "2024-01-19T23:38:20Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_9fbf5d43dc8b4340b5c0aa41240456a2", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_ea373837a52d4384abc4bcef2c68c2a2", - "object": "Rate", "created_at": "2024-01-19T23:38:20Z", "updated_at": "2024-01-19T23:38:20Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_9fbf5d43dc8b4340b5c0aa41240456a2", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_33b92ddc03a44da0a4976fc460d43988", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010723580", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T23:38:20Z", - "updated_at": "2024-01-19T23:38:20Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_9fbf5d43dc8b4340b5c0aa41240456a2", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzMzYjkyZGRjMDNhNDRkYTBhNDk3NmZjNDYwZDQzOTg4"}, - "to_address": {"id": "adr_d3beefe1b72311ee877cac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T23:38:19+00:00", "updated_at": "2024-01-19T23:38:20+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_d3c1e5ddb72311ee877eac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T23:38:19+00:00", "updated_at": - "2024-01-19T23:38:19+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_d3beefe1b72311ee877cac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T23:38:19+00:00", "updated_at": "2024-01-19T23:38:20+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_9fbf5d43dc8b4340b5c0aa41240456a2", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_9fbf5d43dc8b4340b5c0aa41240456a2 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865ab07ebe799e566001d7524 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.060939' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"batch": {}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '13' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches - response: - body: - string: '{"id": "batch_0e838e1fce7c491fa4d5c229f351330b", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 0, "reference": null, - "created_at": "2024-01-19T23:38:21Z", "updated_at": "2024-01-19T23:38:21Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '383' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165ab07ede799e57e001d75cd - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.057268' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipments": [{"id": "shp_9fbf5d43dc8b4340b5c0aa41240456a2"}]}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '63' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches/batch_0e838e1fce7c491fa4d5c229f351330b/add_shipments - response: - body: - string: '{"id": "batch_0e838e1fce7c491fa4d5c229f351330b", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T23:38:21Z", "updated_at": "2024-01-19T23:38:21Z", - "scan_form": null, "shipments": [{"batch_status": "postage_purchased", "batch_message": - null, "reference": null, "tracking_code": "9405500207552010723580", "id": - "shp_9fbf5d43dc8b4340b5c0aa41240456a2"}], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 1, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '542' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565ab07ede799e57f001d75f3 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.053211' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_batches_buy.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_batches_buy.yaml deleted file mode 100644 index 12556711..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_batches_buy.yaml +++ /dev/null @@ -1,1532 +0,0 @@ -interactions: -- request: - body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": - "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '1002' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches - response: - body: - string: '{"id": "batch_d6251841e1fc4e29979b04f074d03bf4", "object": "Batch", - "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T21:39:40Z", "updated_at": "2024-01-19T21:39:40Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '384' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaec1ce78b9ae7000ca9a3 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.046061' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '2' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches/batch_d6251841e1fc4e29979b04f074d03bf4/buy - response: - body: - string: '{"id": "batch_d6251841e1fc4e29979b04f074d03bf4", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T21:39:40Z", "updated_at": "2024-01-19T21:39:40Z", - "scan_form": null, "shipments": [{"batch_status": "queued_for_purchase", "batch_message": - null, "reference": null, "tracking_code": null, "id": "shp_a90b4c2282e54465817f806f5ecf3943"}], - "status": {"created": 1, "queued_for_purchase": 0, "creation_failed": 0, "postage_purchased": - 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '524' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaec26e78b9ae8000cafe2 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.068203' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": - "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '1002' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches - response: - body: - string: '{"id": "batch_f6c9b484a7b44328ae86a1c9352262ad", "object": "Batch", - "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T21:43:00Z", "updated_at": "2024-01-19T21:43:00Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '384' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaece4e78ba323000d2728 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.047443' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '2' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches/batch_f6c9b484a7b44328ae86a1c9352262ad/buy - response: - body: - string: '{"id": "batch_f6c9b484a7b44328ae86a1c9352262ad", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T21:43:00Z", "updated_at": "2024-01-19T21:43:00Z", - "scan_form": null, "shipments": [{"batch_status": "queued_for_purchase", "batch_message": - null, "reference": null, "tracking_code": null, "id": "shp_b96d014e5f5b476ca6c977b2d590b71a"}], - "status": {"created": 1, "queued_for_purchase": 0, "creation_failed": 0, "postage_purchased": - 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '524' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaece4e78ba324000d276c - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.061924' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": - "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '1002' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches - response: - body: - string: '{"id": "batch_6adb7e4aacbd4eadb7d6d85dacab89e8", "object": "Batch", - "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T21:46:49Z", "updated_at": "2024-01-19T21:46:49Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '384' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdac65aaedc9e78babc300111ae6 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.055035' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '2' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches/batch_6adb7e4aacbd4eadb7d6d85dacab89e8/buy - response: - body: - string: '{"id": "batch_6adb7e4aacbd4eadb7d6d85dacab89e8", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T21:46:49Z", "updated_at": "2024-01-19T21:46:50Z", - "scan_form": null, "shipments": [{"batch_status": "queued_for_purchase", "batch_message": - null, "reference": null, "tracking_code": null, "id": "shp_a36457839ce149b8b7147eacd56cdeda"}], - "status": {"created": 1, "queued_for_purchase": 0, "creation_failed": 0, "postage_purchased": - 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '524' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda765aaedcae78babc400111b10 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.066517' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": - "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '1002' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches - response: - body: - string: '{"id": "batch_2f74cbde62f440a8adcbe6f103ed0911", "object": "Batch", - "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T21:48:41Z", "updated_at": "2024-01-19T21:48:41Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '384' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdab65aaee39e78bb0ee00115f9e - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.048799' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '2' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches/batch_2f74cbde62f440a8adcbe6f103ed0911/buy - response: - body: - string: '{"id": "batch_2f74cbde62f440a8adcbe6f103ed0911", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T21:48:41Z", "updated_at": "2024-01-19T21:48:41Z", - "scan_form": null, "shipments": [{"batch_status": "queued_for_purchase", "batch_message": - null, "reference": null, "tracking_code": null, "id": "shp_8fd0a6d559c94ad7945181e5cbfbcd26"}], - "status": {"created": 1, "queued_for_purchase": 0, "creation_failed": 0, "postage_purchased": - 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '524' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdad65aaee3ae78bb0ef00115fd0 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.065317' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": - "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '1002' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches - response: - body: - string: '{"id": "batch_ed6c07a7aedf4699b9001e3bebf9d76b", "object": "Batch", - "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T21:57:42Z", "updated_at": "2024-01-19T21:57:42Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '384' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf056e798bb7b000f5840 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.067420' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '2' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches/batch_ed6c07a7aedf4699b9001e3bebf9d76b/buy - response: - body: - string: '{"id": "batch_ed6c07a7aedf4699b9001e3bebf9d76b", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T21:57:42Z", "updated_at": "2024-01-19T21:57:42Z", - "scan_form": null, "shipments": [{"batch_status": "queued_for_purchase", "batch_message": - null, "reference": null, "tracking_code": null, "id": "shp_3a252ef228e1447c989075ff41912253"}], - "status": {"created": 1, "queued_for_purchase": 0, "creation_failed": 0, "postage_purchased": - 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '524' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf056e798bb7c000f586d - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.066487' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": - "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '1002' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches - response: - body: - string: '{"id": "batch_828bb21d348f4ae9b1c90e6b37775c73", "object": "Batch", - "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T22:00:56Z", "updated_at": "2024-01-19T22:00:56Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '384' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaf117e798c3db000fe5c9 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.043456' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '2' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches/batch_828bb21d348f4ae9b1c90e6b37775c73/buy - response: - body: - string: '{"id": "batch_828bb21d348f4ae9b1c90e6b37775c73", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T22:00:56Z", "updated_at": "2024-01-19T22:00:56Z", - "scan_form": null, "shipments": [{"batch_status": "queued_for_purchase", "batch_message": - null, "reference": null, "tracking_code": null, "id": "shp_f0a4905a74944b30968c6ca38b90de0b"}], - "status": {"created": 1, "queued_for_purchase": 0, "creation_failed": 0, "postage_purchased": - 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '524' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf118e798c3dc000fe617 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.072624' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": - "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '1002' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches - response: - body: - string: '{"id": "batch_52af54b019cf4034afe70c276fa1cec8", "object": "Batch", - "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T22:02:58Z", "updated_at": "2024-01-19T22:02:58Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '384' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf192e798cc1b00105243 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.048478' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '2' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches/batch_52af54b019cf4034afe70c276fa1cec8/buy - response: - body: - string: '{"id": "batch_52af54b019cf4034afe70c276fa1cec8", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T22:02:58Z", "updated_at": "2024-01-19T22:02:59Z", - "scan_form": null, "shipments": [{"batch_status": "queued_for_purchase", "batch_message": - null, "reference": null, "tracking_code": null, "id": "shp_949c857bb0f8438584c0bbf1766f9aa1"}], - "status": {"created": 1, "queued_for_purchase": 0, "creation_failed": 0, "postage_purchased": - 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '524' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaf193e798cc1c0010526e - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.080014' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": - "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '1002' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches - response: - body: - string: '{"id": "batch_8bcd6b4313e64672a2f2834046898890", "object": "Batch", - "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T22:03:22Z", "updated_at": "2024-01-19T22:03:22Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '384' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaf1aae798cc9d001064e5 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.047982' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '2' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches/batch_8bcd6b4313e64672a2f2834046898890/buy - response: - body: - string: '{"id": "batch_8bcd6b4313e64672a2f2834046898890", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T22:03:22Z", "updated_at": "2024-01-19T22:03:22Z", - "scan_form": null, "shipments": [{"batch_status": "queued_for_purchase", "batch_message": - null, "reference": null, "tracking_code": null, "id": "shp_ca89b72dc8cd4963b85584532b749956"}], - "status": {"created": 1, "queued_for_purchase": 0, "creation_failed": 0, "postage_purchased": - 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '524' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf1aae798cc9e0010651a - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.065758' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": - "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '1002' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches - response: - body: - string: '{"id": "batch_12ee8c90e50042abae1460fae4ce151b", "object": "Batch", - "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T22:06:13Z", "updated_at": "2024-01-19T22:06:13Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '384' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaf255e798d1680010db47 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.051918' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '2' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches/batch_12ee8c90e50042abae1460fae4ce151b/buy - response: - body: - string: '{"id": "batch_12ee8c90e50042abae1460fae4ce151b", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T22:06:13Z", "updated_at": "2024-01-19T22:06:14Z", - "scan_form": null, "shipments": [{"batch_status": "queued_for_purchase", "batch_message": - null, "reference": null, "tracking_code": null, "id": "shp_51e4544562014c92b58a28ad694f8561"}], - "status": {"created": 1, "queued_for_purchase": 0, "creation_failed": 0, "postage_purchased": - 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '524' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaf256e798d1810010db67 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.070710' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": - "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '1002' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches - response: - body: - string: '{"id": "batch_9145042d41274d70ac3f836c7fb45b79", "object": "Batch", - "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T23:38:17Z", "updated_at": "2024-01-19T23:38:17Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '384' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465ab07e9e799e561001d742c - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.044883' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '2' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches/batch_9145042d41274d70ac3f836c7fb45b79/buy - response: - body: - string: '{"id": "batch_9145042d41274d70ac3f836c7fb45b79", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T23:38:17Z", "updated_at": "2024-01-19T23:38:18Z", - "scan_form": null, "shipments": [{"batch_status": "queued_for_purchase", "batch_message": - null, "reference": null, "tracking_code": null, "id": "shp_ad4167913b3f4b4ba59f405980a7c1d3"}], - "status": {"created": 1, "queued_for_purchase": 0, "creation_failed": 0, "postage_purchased": - 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '524' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665ab07eae799e562001d7449 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.067986' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_batches_create.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_batches_create.yaml deleted file mode 100644 index 44b47dac..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_batches_create.yaml +++ /dev/null @@ -1,818 +0,0 @@ -interactions: -- request: - body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": - "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '1002' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches - response: - body: - string: '{"id": "batch_ab8e9b4b2f10414085045a1e281e5dc9", "object": "Batch", - "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T21:39:38Z", "updated_at": "2024-01-19T21:39:38Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '384' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaec1ae78b9ae3000ca8b1 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.086198' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": - "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '1002' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches - response: - body: - string: '{"id": "batch_f9d47e9160d646b18cb83b9a393795cf", "object": "Batch", - "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T21:42:59Z", "updated_at": "2024-01-19T21:42:59Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '384' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaece3e78ba308000d2664 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.042840' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": - "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '1002' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches - response: - body: - string: '{"id": "batch_aaf405f8c1144fcea6feee38bb54aa42", "object": "Batch", - "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T21:46:48Z", "updated_at": "2024-01-19T21:46:48Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '384' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdab65aaedc8e78baba8001119fa - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.043570' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": - "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '1002' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches - response: - body: - string: '{"id": "batch_80ce555d75d04a018c489297003edb95", "object": "Batch", - "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T21:48:40Z", "updated_at": "2024-01-19T21:48:40Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '384' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda765aaee38e78bb0d300115ea7 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.044147' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": - "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '1002' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches - response: - body: - string: '{"id": "batch_b65c12ef9d144befa107c9a87a331521", "object": "Batch", - "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T21:57:41Z", "updated_at": "2024-01-19T21:57:41Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '384' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf055e798bb77000f5762 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.042755' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": - "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '1002' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches - response: - body: - string: '{"id": "batch_acec365db5e5469b9ae8eea0a7d97087", "object": "Batch", - "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T22:00:54Z", "updated_at": "2024-01-19T22:00:54Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '384' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf116e798c3d7000fe461 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.046893' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": - "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '1002' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches - response: - body: - string: '{"id": "batch_63b025d727c34a219545ad4d4fdc5b4b", "object": "Batch", - "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T22:02:57Z", "updated_at": "2024-01-19T22:02:57Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '384' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf191e798cc1700105143 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.042919' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": - "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '1002' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches - response: - body: - string: '{"id": "batch_f4adc26e9ade48db9aec8b8917dfa6a9", "object": "Batch", - "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T22:03:20Z", "updated_at": "2024-01-19T22:03:20Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '384' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf1a8e798cc820010638d - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.046456' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": - "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '1002' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches - response: - body: - string: '{"id": "batch_fe7fa7055cc845fab338a6d7502151cd", "object": "Batch", - "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T22:06:12Z", "updated_at": "2024-01-19T22:06:12Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '384' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf254e798d1640010da23 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.064160' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": - "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '1002' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches - response: - body: - string: '{"id": "batch_1440c9361814491d81a8403b5c8699df", "object": "Batch", - "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T23:38:16Z", "updated_at": "2024-01-19T23:38:16Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '384' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865ab07e8e799e55d001d7351 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.051125' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_batches_label.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_batches_label.yaml deleted file mode 100644 index 4dc931cd..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_batches_label.yaml +++ /dev/null @@ -1,448 +0,0 @@ -interactions: -- request: - body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": - "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '1002' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches - response: - body: - string: '{"id": "batch_df05f9391272462cbd5b0e53e0bcb7e0", "object": "Batch", - "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T22:04:08Z", "updated_at": "2024-01-19T22:04:08Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '384' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf1d8e798cce10010868b - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.045314' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '2' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches/batch_df05f9391272462cbd5b0e53e0bcb7e0/buy - response: - body: - string: '{"id": "batch_df05f9391272462cbd5b0e53e0bcb7e0", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T22:04:08Z", "updated_at": "2024-01-19T22:04:08Z", - "scan_form": null, "shipments": [{"batch_status": "queued_for_purchase", "batch_message": - null, "reference": null, "tracking_code": null, "id": "shp_140c001c845348caa3f62fe3c0fa15d0"}], - "status": {"created": 1, "queued_for_purchase": 0, "creation_failed": 0, "postage_purchased": - 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '524' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaf1ede798cce3001094b0 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.055453' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"file_format": "ZPL"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '22' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches/batch_df05f9391272462cbd5b0e53e0bcb7e0/label - response: - body: - string: '{"id": "batch_df05f9391272462cbd5b0e53e0bcb7e0", "object": "Batch", - "mode": "test", "state": "label_generating", "num_shipments": 1, "reference": - null, "created_at": "2024-01-19T22:04:08Z", "updated_at": "2024-01-19T22:04:49Z", - "scan_form": null, "shipments": [{"batch_status": "postage_purchased", "batch_message": - null, "reference": null, "tracking_code": "9405500207552010712409", "id": - "shp_140c001c845348caa3f62fe3c0fa15d0"}], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 1, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '551' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf201e798cce40010a117 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.046214' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": - "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '1002' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches - response: - body: - string: '{"id": "batch_7364598ee705416cbf1f622be4111458", "object": "Batch", - "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T23:38:24Z", "updated_at": "2024-01-19T23:38:24Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '384' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565ab07f0e799e584001d774f - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.038810' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '2' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches/batch_7364598ee705416cbf1f622be4111458/buy - response: - body: - string: '{"id": "batch_7364598ee705416cbf1f622be4111458", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T23:38:24Z", "updated_at": "2024-01-19T23:38:24Z", - "scan_form": null, "shipments": [{"batch_status": "queued_for_purchase", "batch_message": - null, "reference": null, "tracking_code": null, "id": "shp_e37272a50a8a487ca4ca3027e99d8ea5"}], - "status": {"created": 1, "queued_for_purchase": 0, "creation_failed": 0, "postage_purchased": - 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '524' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465ab07f0e799e585001d7776 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.077830' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"file_format": "ZPL"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '22' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches/batch_7364598ee705416cbf1f622be4111458/label - response: - body: - string: '{"error": {"code": "BATCH.STATE.NOT_PURCHASED", "message": "One or - more of the shipments is not purchased.", "errors": []}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '117' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265ab07f1e799e586001d7793 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.030407' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 422 - message: Unprocessable Entity -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_batches_list.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_batches_list.yaml deleted file mode 100644 index eb409ac1..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_batches_list.yaml +++ /dev/null @@ -1,694 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/batches?page_size=1 - response: - body: - string: '{"batches": [{"id": "batch_fa8d621742eb48819dfb260f5c289a43", "object": - "Batch", "mode": "test", "state": "creation_failed", "num_shipments": 1, "reference": - null, "created_at": "2024-01-19T19:40:28Z", "updated_at": "2024-01-19T19:40:29Z", - "scan_form": null, "shipments": [{"batch_status": "creation_failed", "batch_message": - "None of the carrier_account_ids provided are valid and enabled", "reference": - null, "tracking_code": null, "id": "shp_bd99e54621e242cab6c1979d2b60cd86"}], - "status": {"created": 0, "queued_for_purchase": 0, "creation_failed": 1, "postage_purchased": - 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}], "has_more": - true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '618' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaec1be78b9ae6000ca94c - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.052083' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/batches?page_size=1 - response: - body: - string: '{"batches": [{"id": "batch_fa8d621742eb48819dfb260f5c289a43", "object": - "Batch", "mode": "test", "state": "creation_failed", "num_shipments": 1, "reference": - null, "created_at": "2024-01-19T19:40:28Z", "updated_at": "2024-01-19T19:40:29Z", - "scan_form": null, "shipments": [{"batch_status": "creation_failed", "batch_message": - "None of the carrier_account_ids provided are valid and enabled", "reference": - null, "tracking_code": null, "id": "shp_bd99e54621e242cab6c1979d2b60cd86"}], - "status": {"created": 0, "queued_for_purchase": 0, "creation_failed": 1, "postage_purchased": - 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}], "has_more": - true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '618' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaece3e78ba322000d2700 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.050786' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/batches?page_size=1 - response: - body: - string: '{"batches": [{"id": "batch_fa8d621742eb48819dfb260f5c289a43", "object": - "Batch", "mode": "test", "state": "creation_failed", "num_shipments": 1, "reference": - null, "created_at": "2024-01-19T19:40:28Z", "updated_at": "2024-01-19T19:40:29Z", - "scan_form": null, "shipments": [{"batch_status": "creation_failed", "batch_message": - "None of the carrier_account_ids provided are valid and enabled", "reference": - null, "tracking_code": null, "id": "shp_bd99e54621e242cab6c1979d2b60cd86"}], - "status": {"created": 0, "queued_for_purchase": 0, "creation_failed": 1, "postage_purchased": - 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}], "has_more": - true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '618' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda865aaedc9e78babab00111a9b - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.055664' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/batches?page_size=1 - response: - body: - string: '{"batches": [{"id": "batch_fa8d621742eb48819dfb260f5c289a43", "object": - "Batch", "mode": "test", "state": "creation_failed", "num_shipments": 1, "reference": - null, "created_at": "2024-01-19T19:40:28Z", "updated_at": "2024-01-19T19:40:29Z", - "scan_form": null, "shipments": [{"batch_status": "creation_failed", "batch_message": - "None of the carrier_account_ids provided are valid and enabled", "reference": - null, "tracking_code": null, "id": "shp_bd99e54621e242cab6c1979d2b60cd86"}], - "status": {"created": 0, "queued_for_purchase": 0, "creation_failed": 1, "postage_purchased": - 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}], "has_more": - true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '618' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdae65aaee39e78bb0ed00115f5d - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.053343' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/batches?page_size=1 - response: - body: - string: '{"batches": [{"id": "batch_fa8d621742eb48819dfb260f5c289a43", "object": - "Batch", "mode": "test", "state": "creation_failed", "num_shipments": 1, "reference": - null, "created_at": "2024-01-19T19:40:28Z", "updated_at": "2024-01-19T19:40:29Z", - "scan_form": null, "shipments": [{"batch_status": "creation_failed", "batch_message": - "None of the carrier_account_ids provided are valid and enabled", "reference": - null, "tracking_code": null, "id": "shp_bd99e54621e242cab6c1979d2b60cd86"}], - "status": {"created": 0, "queued_for_purchase": 0, "creation_failed": 1, "postage_purchased": - 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}], "has_more": - true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '618' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaf055e798bb7a000f57f0 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.055900' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/batches?page_size=1 - response: - body: - string: '{"batches": [{"id": "batch_fa8d621742eb48819dfb260f5c289a43", "object": - "Batch", "mode": "test", "state": "creation_failed", "num_shipments": 1, "reference": - null, "created_at": "2024-01-19T19:40:28Z", "updated_at": "2024-01-19T19:40:29Z", - "scan_form": null, "shipments": [{"batch_status": "creation_failed", "batch_message": - "None of the carrier_account_ids provided are valid and enabled", "reference": - null, "tracking_code": null, "id": "shp_bd99e54621e242cab6c1979d2b60cd86"}], - "status": {"created": 0, "queued_for_purchase": 0, "creation_failed": 1, "postage_purchased": - 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}], "has_more": - true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '618' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaf117e798c3da000fe55e - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.052966' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/batches?page_size=1 - response: - body: - string: '{"batches": [{"id": "batch_fa8d621742eb48819dfb260f5c289a43", "object": - "Batch", "mode": "test", "state": "creation_failed", "num_shipments": 1, "reference": - null, "created_at": "2024-01-19T19:40:28Z", "updated_at": "2024-01-19T19:40:29Z", - "scan_form": null, "shipments": [{"batch_status": "creation_failed", "batch_message": - "None of the carrier_account_ids provided are valid and enabled", "reference": - null, "tracking_code": null, "id": "shp_bd99e54621e242cab6c1979d2b60cd86"}], - "status": {"created": 0, "queued_for_purchase": 0, "creation_failed": 1, "postage_purchased": - 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}], "has_more": - true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '618' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf192e798cc1a001051ec - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.054725' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/batches?page_size=1 - response: - body: - string: '{"batches": [{"id": "batch_fa8d621742eb48819dfb260f5c289a43", "object": - "Batch", "mode": "test", "state": "creation_failed", "num_shipments": 1, "reference": - null, "created_at": "2024-01-19T19:40:28Z", "updated_at": "2024-01-19T19:40:29Z", - "scan_form": null, "shipments": [{"batch_status": "creation_failed", "batch_message": - "None of the carrier_account_ids provided are valid and enabled", "reference": - null, "tracking_code": null, "id": "shp_bd99e54621e242cab6c1979d2b60cd86"}], - "status": {"created": 0, "queued_for_purchase": 0, "creation_failed": 1, "postage_purchased": - 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}], "has_more": - true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '618' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaf1a9e798cc9c00106481 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.050317' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/batches?page_size=1 - response: - body: - string: '{"batches": [{"id": "batch_fa8d621742eb48819dfb260f5c289a43", "object": - "Batch", "mode": "test", "state": "creation_failed", "num_shipments": 1, "reference": - null, "created_at": "2024-01-19T19:40:28Z", "updated_at": "2024-01-19T19:40:29Z", - "scan_form": null, "shipments": [{"batch_status": "creation_failed", "batch_message": - "None of the carrier_account_ids provided are valid and enabled", "reference": - null, "tracking_code": null, "id": "shp_bd99e54621e242cab6c1979d2b60cd86"}], - "status": {"created": 0, "queued_for_purchase": 0, "creation_failed": 1, "postage_purchased": - 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}], "has_more": - true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '618' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf255e798d1670010db0a - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.055931' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/batches?page_size=1 - response: - body: - string: '{"batches": [{"id": "batch_fa8d621742eb48819dfb260f5c289a43", "object": - "Batch", "mode": "test", "state": "creation_failed", "num_shipments": 1, "reference": - null, "created_at": "2024-01-19T19:40:28Z", "updated_at": "2024-01-19T19:40:29Z", - "scan_form": null, "shipments": [{"batch_status": "creation_failed", "batch_message": - "None of the carrier_account_ids provided are valid and enabled", "reference": - null, "tracking_code": null, "id": "shp_bd99e54621e242cab6c1979d2b60cd86"}], - "status": {"created": 0, "queued_for_purchase": 0, "creation_failed": 1, "postage_purchased": - 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}], "has_more": - true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '618' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765ab07e9e799e560001d73e9 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.056027' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_batches_remove_shipments.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_batches_remove_shipments.yaml deleted file mode 100644 index 422b70ec..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_batches_remove_shipments.yaml +++ /dev/null @@ -1,4002 +0,0 @@ -interactions: -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:40:13Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010707528", "updated_at": "2024-01-19T21:40:14Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_caa50bc3c9fb4661849e149db6db3554", "object": "CustomsInfo", "created_at": - "2024-01-19T21:40:13Z", "updated_at": "2024-01-19T21:40:13Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_ac218dba6c77491db7d4d74416f069ff", - "object": "CustomsItem", "created_at": "2024-01-19T21:40:13Z", "updated_at": - "2024-01-19T21:40:13Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_54138ad5b71311ee8b813cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:40:13+00:00", "updated_at": - "2024-01-19T21:40:13+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_c60a6d52343542ddb2268611818acc61", - "object": "Parcel", "created_at": "2024-01-19T21:40:13Z", "updated_at": "2024-01-19T21:40:13Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_db1ddecb14744c4ab5dc7ba418be31f8", "created_at": "2024-01-19T21:40:14Z", - "updated_at": "2024-01-19T21:40:14Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:40:14Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e844b1851a27374ce5b29ef4c461d551a6.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_e874448c93154b4b84cd43e5a057352f", "object": - "Rate", "created_at": "2024-01-19T21:40:13Z", "updated_at": "2024-01-19T21:40:13Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_282a50076e8e49ada236a20220538a4e", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f22a2925b2c44c8e9d476a39472bdc5a", - "object": "Rate", "created_at": "2024-01-19T21:40:13Z", "updated_at": "2024-01-19T21:40:13Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_282a50076e8e49ada236a20220538a4e", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_6e015ba10d4343f89d64eb3d2ab7f1ba", - "object": "Rate", "created_at": "2024-01-19T21:40:13Z", "updated_at": "2024-01-19T21:40:13Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_282a50076e8e49ada236a20220538a4e", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_9f9adf866f764e8aa2594650a9cf715b", - "object": "Rate", "created_at": "2024-01-19T21:40:13Z", "updated_at": "2024-01-19T21:40:13Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_282a50076e8e49ada236a20220538a4e", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_1a4ce85d9c474406aa509f87763d4361", "object": "Rate", "created_at": - "2024-01-19T21:40:13Z", "updated_at": "2024-01-19T21:40:13Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_282a50076e8e49ada236a20220538a4e", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_f22a2925b2c44c8e9d476a39472bdc5a", - "object": "Rate", "created_at": "2024-01-19T21:40:14Z", "updated_at": "2024-01-19T21:40:14Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_282a50076e8e49ada236a20220538a4e", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_be5b60d4b3ad441cb567fdfdc57cc694", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010707528", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:40:14Z", - "updated_at": "2024-01-19T21:40:14Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_282a50076e8e49ada236a20220538a4e", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrX2JlNWI2MGQ0YjNhZDQ0MWNiNTY3ZmRmZGM1N2NjNjk0"}, - "to_address": {"id": "adr_541131ecb71311ee8e56ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:40:13+00:00", "updated_at": "2024-01-19T21:40:14+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_54138ad5b71311ee8b813cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:40:13+00:00", "updated_at": - "2024-01-19T21:40:13+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_541131ecb71311ee8e56ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:40:13+00:00", "updated_at": "2024-01-19T21:40:14+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_282a50076e8e49ada236a20220538a4e", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_282a50076e8e49ada236a20220538a4e - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaec3de78b9b0a000cbdf4 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.147344' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"batch": {}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '13' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches - response: - body: - string: '{"id": "batch_254386e6b4314b419bcb0486ca65fc80", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 0, "reference": null, - "created_at": "2024-01-19T21:40:15Z", "updated_at": "2024-01-19T21:40:15Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '383' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaec3fe78b9b22000cbee6 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.041213' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipments": [{"id": "shp_282a50076e8e49ada236a20220538a4e"}]}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '63' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches/batch_254386e6b4314b419bcb0486ca65fc80/add_shipments - response: - body: - string: '{"id": "batch_254386e6b4314b419bcb0486ca65fc80", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T21:40:15Z", "updated_at": "2024-01-19T21:40:15Z", - "scan_form": null, "shipments": [{"batch_status": "postage_purchased", "batch_message": - null, "reference": null, "tracking_code": "9405500207552010707528", "id": - "shp_282a50076e8e49ada236a20220538a4e"}], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 1, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '542' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaec3fe78b9b23000cbf33 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.049413' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipments": [{"id": "shp_282a50076e8e49ada236a20220538a4e"}]}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '63' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches/batch_254386e6b4314b419bcb0486ca65fc80/remove_shipments - response: - body: - string: '{"id": "batch_254386e6b4314b419bcb0486ca65fc80", "object": "Batch", - "mode": "test", "state": "purchased", "num_shipments": 0, "reference": null, - "created_at": "2024-01-19T21:40:15Z", "updated_at": "2024-01-19T21:40:15Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '385' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaec3fe78b9b24000cbf62 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.053084' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:43:04Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010707924", "updated_at": "2024-01-19T21:43:04Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_8bded23381e449458d0bd5f7fcaea9b5", "object": "CustomsInfo", "created_at": - "2024-01-19T21:43:04Z", "updated_at": "2024-01-19T21:43:04Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_1f360690e65c4f1090baa923f96ab194", - "object": "CustomsItem", "created_at": "2024-01-19T21:43:04Z", "updated_at": - "2024-01-19T21:43:04Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_b98dcb78b71311ee812aac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:43:04+00:00", "updated_at": - "2024-01-19T21:43:04+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_ae0fcda3118d44bb8b9a37e83f1abd0c", - "object": "Parcel", "created_at": "2024-01-19T21:43:04Z", "updated_at": "2024-01-19T21:43:04Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_8f2d355cb7f0445ab38e38abca73052f", "created_at": "2024-01-19T21:43:04Z", - "updated_at": "2024-01-19T21:43:04Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:43:04Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e893f65941079949c0a089efb1eb14ec96.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_5f87f9e3fd1a410592c12e9b33f0d9ac", "object": - "Rate", "created_at": "2024-01-19T21:43:04Z", "updated_at": "2024-01-19T21:43:04Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_de2f998d91984ee993049fb44dd19b2f", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_3c849eb96eb54edbbb6b52e59edc1e0f", - "object": "Rate", "created_at": "2024-01-19T21:43:04Z", "updated_at": "2024-01-19T21:43:04Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_de2f998d91984ee993049fb44dd19b2f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_13cf965c37cf4f58a7b8a77846e04a3a", "object": "Rate", "created_at": - "2024-01-19T21:43:04Z", "updated_at": "2024-01-19T21:43:04Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_de2f998d91984ee993049fb44dd19b2f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_b6f215dcd1e9411c850323cb0daeae22", "object": "Rate", "created_at": - "2024-01-19T21:43:04Z", "updated_at": "2024-01-19T21:43:04Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_de2f998d91984ee993049fb44dd19b2f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_1d76b645542c477ab0365ca0b2e6cf83", "object": "Rate", "created_at": - "2024-01-19T21:43:04Z", "updated_at": "2024-01-19T21:43:04Z", "mode": "test", - "service": "Priority", "carrier": "USPS", "rate": "7.99", "currency": "USD", - "retail_rate": "14.05", "retail_currency": "USD", "list_rate": "10.27", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": - "shp_de2f998d91984ee993049fb44dd19b2f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_1d76b645542c477ab0365ca0b2e6cf83", - "object": "Rate", "created_at": "2024-01-19T21:43:04Z", "updated_at": "2024-01-19T21:43:04Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_de2f998d91984ee993049fb44dd19b2f", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_ed5c3326f0ea481abca1092908f38d22", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010707924", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:43:05Z", - "updated_at": "2024-01-19T21:43:05Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_de2f998d91984ee993049fb44dd19b2f", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrX2VkNWMzMzI2ZjBlYTQ4MWFiY2ExMDkyOTA4ZjM4ZDIy"}, - "to_address": {"id": "adr_b98bf69eb71311eeb22cac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:43:04+00:00", "updated_at": "2024-01-19T21:43:04+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_b98dcb78b71311ee812aac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:43:04+00:00", "updated_at": - "2024-01-19T21:43:04+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_b98bf69eb71311eeb22cac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:43:04+00:00", "updated_at": "2024-01-19T21:43:04+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_de2f998d91984ee993049fb44dd19b2f", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_de2f998d91984ee993049fb44dd19b2f - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaece8e78ba342000d295d - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.072564' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"batch": {}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '13' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches - response: - body: - string: '{"id": "batch_9221949d3bb34ebea10b730cc6856a41", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 0, "reference": null, - "created_at": "2024-01-19T21:43:05Z", "updated_at": "2024-01-19T21:43:05Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '383' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaece9e78ba343000d2a22 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.037417' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipments": [{"id": "shp_de2f998d91984ee993049fb44dd19b2f"}]}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '63' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches/batch_9221949d3bb34ebea10b730cc6856a41/add_shipments - response: - body: - string: '{"id": "batch_9221949d3bb34ebea10b730cc6856a41", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T21:43:05Z", "updated_at": "2024-01-19T21:43:05Z", - "scan_form": null, "shipments": [{"batch_status": "postage_purchased", "batch_message": - null, "reference": null, "tracking_code": "9405500207552010707924", "id": - "shp_de2f998d91984ee993049fb44dd19b2f"}], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 1, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '542' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaece9e78ba344000d2a45 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.050391' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipments": [{"id": "shp_de2f998d91984ee993049fb44dd19b2f"}]}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '63' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches/batch_9221949d3bb34ebea10b730cc6856a41/remove_shipments - response: - body: - string: '{"id": "batch_9221949d3bb34ebea10b730cc6856a41", "object": "Batch", - "mode": "test", "state": "purchased", "num_shipments": 0, "reference": null, - "created_at": "2024-01-19T21:43:05Z", "updated_at": "2024-01-19T21:43:05Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '385' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaece9e78ba345000d2a71 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.054017' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:46:54Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010708341", "updated_at": "2024-01-19T21:46:55Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_e079cc64976b4295a798612e32be57cc", "object": "CustomsInfo", "created_at": - "2024-01-19T21:46:54Z", "updated_at": "2024-01-19T21:46:54Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_42c495a703bb450db279a90798879aa7", - "object": "CustomsItem", "created_at": "2024-01-19T21:46:54Z", "updated_at": - "2024-01-19T21:46:54Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_42bc08e2b71411ee9f41ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:46:54+00:00", "updated_at": - "2024-01-19T21:46:54+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_fa88f46de85446b6878af516da84dd33", - "object": "Parcel", "created_at": "2024-01-19T21:46:54Z", "updated_at": "2024-01-19T21:46:54Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_29a219b7abed4847bf2c07d219a11a82", "created_at": "2024-01-19T21:46:54Z", - "updated_at": "2024-01-19T21:46:55Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:46:54Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e891e9d0dcb4524fca9dfc1f93b79334a3.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_71e5e44bbdc24899b0bbc373345695f2", "object": - "Rate", "created_at": "2024-01-19T21:46:54Z", "updated_at": "2024-01-19T21:46:54Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_fbc5fc1e50f349a1addb5a1b0264a6ca", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_6a6aaad6477a482dabeb44f6f0ae4fda", - "object": "Rate", "created_at": "2024-01-19T21:46:54Z", "updated_at": "2024-01-19T21:46:54Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_fbc5fc1e50f349a1addb5a1b0264a6ca", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_74c5531fb5284dd9ac9ae307d3b758b1", - "object": "Rate", "created_at": "2024-01-19T21:46:54Z", "updated_at": "2024-01-19T21:46:54Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_fbc5fc1e50f349a1addb5a1b0264a6ca", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_a9e54be32d5d43e791dbf8f7f9243dc9", "object": "Rate", "created_at": - "2024-01-19T21:46:54Z", "updated_at": "2024-01-19T21:46:54Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_fbc5fc1e50f349a1addb5a1b0264a6ca", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_e105871a242b44e2b5da7070218ff16e", "object": "Rate", "created_at": - "2024-01-19T21:46:54Z", "updated_at": "2024-01-19T21:46:54Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_fbc5fc1e50f349a1addb5a1b0264a6ca", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_71e5e44bbdc24899b0bbc373345695f2", - "object": "Rate", "created_at": "2024-01-19T21:46:54Z", "updated_at": "2024-01-19T21:46:54Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_fbc5fc1e50f349a1addb5a1b0264a6ca", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_45a354a5b06f4ee99bd490d1b51aca5d", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708341", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:46:55Z", - "updated_at": "2024-01-19T21:46:55Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_fbc5fc1e50f349a1addb5a1b0264a6ca", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzQ1YTM1NGE1YjA2ZjRlZTk5YmQ0OTBkMWI1MWFjYTVk"}, - "to_address": {"id": "adr_42b9cdcbb71411ee9d0a3cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:46:54+00:00", "updated_at": "2024-01-19T21:46:54+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_42bc08e2b71411ee9f41ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:46:54+00:00", "updated_at": - "2024-01-19T21:46:54+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_42b9cdcbb71411ee9d0a3cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:46:54+00:00", "updated_at": "2024-01-19T21:46:54+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_fbc5fc1e50f349a1addb5a1b0264a6ca", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_fbc5fc1e50f349a1addb5a1b0264a6ca - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdac65aaedcee78babe500111d58 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '1.054591' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"batch": {}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '13' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches - response: - body: - string: '{"id": "batch_733aed7280cb4fe7bf88b4283e2b641c", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 0, "reference": null, - "created_at": "2024-01-19T21:46:55Z", "updated_at": "2024-01-19T21:46:55Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '383' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdac65aaedcfe78babe600111e03 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.040434' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipments": [{"id": "shp_fbc5fc1e50f349a1addb5a1b0264a6ca"}]}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '63' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches/batch_733aed7280cb4fe7bf88b4283e2b641c/add_shipments - response: - body: - string: '{"id": "batch_733aed7280cb4fe7bf88b4283e2b641c", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T21:46:55Z", "updated_at": "2024-01-19T21:46:55Z", - "scan_form": null, "shipments": [{"batch_status": "postage_purchased", "batch_message": - null, "reference": null, "tracking_code": "9405500207552010708341", "id": - "shp_fbc5fc1e50f349a1addb5a1b0264a6ca"}], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 1, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '542' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda865aaedcfe78babe700111e25 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.056519' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipments": [{"id": "shp_fbc5fc1e50f349a1addb5a1b0264a6ca"}]}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '63' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches/batch_733aed7280cb4fe7bf88b4283e2b641c/remove_shipments - response: - body: - string: '{"id": "batch_733aed7280cb4fe7bf88b4283e2b641c", "object": "Batch", - "mode": "test", "state": "purchased", "num_shipments": 0, "reference": null, - "created_at": "2024-01-19T21:46:55Z", "updated_at": "2024-01-19T21:46:55Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '385' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdae65aaedcfe78babe800111e52 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.073532' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:48:45Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010708808", "updated_at": "2024-01-19T21:48:46Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_654e7c86e70047539f688e192f120128", "object": "CustomsInfo", "created_at": - "2024-01-19T21:48:45Z", "updated_at": "2024-01-19T21:48:45Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_029baaf30e9d4b09abc3aa5c81294639", - "object": "CustomsItem", "created_at": "2024-01-19T21:48:45Z", "updated_at": - "2024-01-19T21:48:45Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_851b2a3cb71411eeb463ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:48:45+00:00", "updated_at": - "2024-01-19T21:48:45+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_7732f0c2d7ca495babb6d66e7570f765", - "object": "Parcel", "created_at": "2024-01-19T21:48:45Z", "updated_at": "2024-01-19T21:48:45Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_af1b98b4779041718a1ce1ff77c33f99", "created_at": "2024-01-19T21:48:46Z", - "updated_at": "2024-01-19T21:48:46Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:48:46Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8f7597d0cc0274966a9b68bb3b1f2f47d.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_fcca06eeb05d4b4687456731933b5a47", "object": - "Rate", "created_at": "2024-01-19T21:48:45Z", "updated_at": "2024-01-19T21:48:45Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_171855562acc45a2af64b5854dc54b03", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_e5ac2dfcb9de4947aa1062bd5ff875a9", - "object": "Rate", "created_at": "2024-01-19T21:48:45Z", "updated_at": "2024-01-19T21:48:45Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_171855562acc45a2af64b5854dc54b03", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_7cda80e8747646418d8042287a3d982a", - "object": "Rate", "created_at": "2024-01-19T21:48:45Z", "updated_at": "2024-01-19T21:48:45Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_171855562acc45a2af64b5854dc54b03", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_1cda099d568b49708243692de79a2ba8", "object": "Rate", "created_at": - "2024-01-19T21:48:45Z", "updated_at": "2024-01-19T21:48:45Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_171855562acc45a2af64b5854dc54b03", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_fbb70629599e4aa798f21d3abd0086f9", "object": "Rate", "created_at": - "2024-01-19T21:48:45Z", "updated_at": "2024-01-19T21:48:45Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_171855562acc45a2af64b5854dc54b03", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_fcca06eeb05d4b4687456731933b5a47", - "object": "Rate", "created_at": "2024-01-19T21:48:46Z", "updated_at": "2024-01-19T21:48:46Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_171855562acc45a2af64b5854dc54b03", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_cf73dfd06856424997960d6bc63b6ee3", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708808", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:48:46Z", - "updated_at": "2024-01-19T21:48:46Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_171855562acc45a2af64b5854dc54b03", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrX2NmNzNkZmQwNjg1NjQyNDk5Nzk2MGQ2YmM2M2I2ZWUz"}, - "to_address": {"id": "adr_8518377cb71411ee82d3ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T21:48:45+00:00", "updated_at": "2024-01-19T21:48:45+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_851b2a3cb71411eeb463ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:48:45+00:00", "updated_at": - "2024-01-19T21:48:45+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_8518377cb71411ee82d3ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:48:45+00:00", "updated_at": "2024-01-19T21:48:45+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_171855562acc45a2af64b5854dc54b03", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_171855562acc45a2af64b5854dc54b03 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdae65aaee3de78bb4040011618e - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '1.005794' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"batch": {}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '13' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches - response: - body: - string: '{"id": "batch_1916d5cae8654952bf9320aae54b2134", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 0, "reference": null, - "created_at": "2024-01-19T21:48:46Z", "updated_at": "2024-01-19T21:48:46Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '383' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda865aaee3ee78bb4050011623b - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.042695' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipments": [{"id": "shp_171855562acc45a2af64b5854dc54b03"}]}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '63' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches/batch_1916d5cae8654952bf9320aae54b2134/add_shipments - response: - body: - string: '{"id": "batch_1916d5cae8654952bf9320aae54b2134", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T21:48:46Z", "updated_at": "2024-01-19T21:48:46Z", - "scan_form": null, "shipments": [{"batch_status": "postage_purchased", "batch_message": - null, "reference": null, "tracking_code": "9405500207552010708808", "id": - "shp_171855562acc45a2af64b5854dc54b03"}], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 1, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '542' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdae65aaee3ee78bb4060011626a - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.060975' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipments": [{"id": "shp_171855562acc45a2af64b5854dc54b03"}]}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '63' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches/batch_1916d5cae8654952bf9320aae54b2134/remove_shipments - response: - body: - string: '{"id": "batch_1916d5cae8654952bf9320aae54b2134", "object": "Batch", - "mode": "test", "state": "purchased", "num_shipments": 0, "reference": null, - "created_at": "2024-01-19T21:48:46Z", "updated_at": "2024-01-19T21:48:47Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '385' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdae65aaee3fe78bb407001162ae - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.056032' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:57:56Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010711266", "updated_at": "2024-01-19T21:57:56Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_4cb8e146d9434f1ea5619c385561addb", "object": "CustomsInfo", "created_at": - "2024-01-19T21:57:56Z", "updated_at": "2024-01-19T21:57:56Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_39a574f26f054db4aee05c8d49558145", - "object": "CustomsItem", "created_at": "2024-01-19T21:57:56Z", "updated_at": - "2024-01-19T21:57:56Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_cd362986b71511eeb1a3ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:57:56+00:00", "updated_at": - "2024-01-19T21:57:56+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_68f93b97f06c420b8fdf4dbe02a1c8f0", - "object": "Parcel", "created_at": "2024-01-19T21:57:56Z", "updated_at": "2024-01-19T21:57:56Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_3d84e94615994aeb8d3d43cc09d79a55", "created_at": "2024-01-19T21:57:56Z", - "updated_at": "2024-01-19T21:57:56Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:57:56Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e89ec59d3f293e49cd8ebea99a6c4995e3.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_e407b29367e7491d873a3900a6dc7a50", "object": - "Rate", "created_at": "2024-01-19T21:57:56Z", "updated_at": "2024-01-19T21:57:56Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_c91cbad3f27b438394c696672a01aa43", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_320bc2d9917442f6aca7d65bda2c241a", - "object": "Rate", "created_at": "2024-01-19T21:57:56Z", "updated_at": "2024-01-19T21:57:56Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_c91cbad3f27b438394c696672a01aa43", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_7fa9a6f6cc3a4c3b80b2ea34c816d4f8", - "object": "Rate", "created_at": "2024-01-19T21:57:56Z", "updated_at": "2024-01-19T21:57:56Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_c91cbad3f27b438394c696672a01aa43", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_292f3a5b140c4b16929697a483454b72", - "object": "Rate", "created_at": "2024-01-19T21:57:56Z", "updated_at": "2024-01-19T21:57:56Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_c91cbad3f27b438394c696672a01aa43", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_f047b223e400448bb4d83aff460329aa", "object": "Rate", "created_at": - "2024-01-19T21:57:56Z", "updated_at": "2024-01-19T21:57:56Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_c91cbad3f27b438394c696672a01aa43", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_320bc2d9917442f6aca7d65bda2c241a", - "object": "Rate", "created_at": "2024-01-19T21:57:56Z", "updated_at": "2024-01-19T21:57:56Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_c91cbad3f27b438394c696672a01aa43", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_61d4666b46904413abd3ddb0d2c6ddc0", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711266", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:57:56Z", - "updated_at": "2024-01-19T21:57:56Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_c91cbad3f27b438394c696672a01aa43", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzYxZDQ2NjZiNDY5MDQ0MTNhYmQzZGRiMGQyYzZkZGMw"}, - "to_address": {"id": "adr_cd33b310b71511ee9f643cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:57:55+00:00", "updated_at": "2024-01-19T21:57:56+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_cd362986b71511eeb1a3ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:57:56+00:00", "updated_at": - "2024-01-19T21:57:56+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_cd33b310b71511ee9f643cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:57:55+00:00", "updated_at": "2024-01-19T21:57:56+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_c91cbad3f27b438394c696672a01aa43", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_c91cbad3f27b438394c696672a01aa43 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaf063e798bb9a000f60a7 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.967253' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"batch": {}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '13' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches - response: - body: - string: '{"id": "batch_7a6d9cef72fe45fa810af1b646cc73b9", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 0, "reference": null, - "created_at": "2024-01-19T21:57:57Z", "updated_at": "2024-01-19T21:57:57Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '383' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf065e798bb9b000f6148 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.035927' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipments": [{"id": "shp_c91cbad3f27b438394c696672a01aa43"}]}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '63' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches/batch_7a6d9cef72fe45fa810af1b646cc73b9/add_shipments - response: - body: - string: '{"id": "batch_7a6d9cef72fe45fa810af1b646cc73b9", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T21:57:57Z", "updated_at": "2024-01-19T21:57:57Z", - "scan_form": null, "shipments": [{"batch_status": "postage_purchased", "batch_message": - null, "reference": null, "tracking_code": "9405500207552010711266", "id": - "shp_c91cbad3f27b438394c696672a01aa43"}], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 1, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '542' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaf065e798bb9c000f6193 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.062763' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipments": [{"id": "shp_c91cbad3f27b438394c696672a01aa43"}]}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '63' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches/batch_7a6d9cef72fe45fa810af1b646cc73b9/remove_shipments - response: - body: - string: '{"id": "batch_7a6d9cef72fe45fa810af1b646cc73b9", "object": "Batch", - "mode": "test", "state": "purchased", "num_shipments": 0, "reference": null, - "created_at": "2024-01-19T21:57:57Z", "updated_at": "2024-01-19T21:57:57Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '385' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaf065e798bb9d000f61ba - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.049759' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T22:00:59Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010711747", "updated_at": "2024-01-19T22:01:00Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_7059ac33668d4708a38762454143baa5", "object": "CustomsInfo", "created_at": - "2024-01-19T22:00:59Z", "updated_at": "2024-01-19T22:00:59Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_e079d80359fc4ff79baf6a4ca876c65a", - "object": "CustomsItem", "created_at": "2024-01-19T22:00:59Z", "updated_at": - "2024-01-19T22:00:59Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_3a9889ddb71611ee8594ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T22:00:59+00:00", "updated_at": - "2024-01-19T22:00:59+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_821f75049ae54413b26b9b13dad9724d", - "object": "Parcel", "created_at": "2024-01-19T22:00:59Z", "updated_at": "2024-01-19T22:00:59Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_25199fa4031941debebfc4440981ad8c", "created_at": "2024-01-19T22:01:00Z", - "updated_at": "2024-01-19T22:01:00Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T22:01:00Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e862bf79e31c8a48a9919cdda69722f422.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_7a4f786698ff48b99b02bf14f6f74b12", "object": - "Rate", "created_at": "2024-01-19T22:00:59Z", "updated_at": "2024-01-19T22:00:59Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_f347c2dd393a47dba4b644954e4ba97a", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_44c606be57e049d2a329ac3d6140d767", - "object": "Rate", "created_at": "2024-01-19T22:00:59Z", "updated_at": "2024-01-19T22:00:59Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_f347c2dd393a47dba4b644954e4ba97a", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_a7dde908d5b04ff7a4f8b4a000156f14", - "object": "Rate", "created_at": "2024-01-19T22:00:59Z", "updated_at": "2024-01-19T22:00:59Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_f347c2dd393a47dba4b644954e4ba97a", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_33378be27bf94eea8d371c5f5145fe64", - "object": "Rate", "created_at": "2024-01-19T22:00:59Z", "updated_at": "2024-01-19T22:00:59Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_f347c2dd393a47dba4b644954e4ba97a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_09d2f84466d34ca5adbb16be5e3899d4", "object": "Rate", "created_at": - "2024-01-19T22:00:59Z", "updated_at": "2024-01-19T22:00:59Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_f347c2dd393a47dba4b644954e4ba97a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_44c606be57e049d2a329ac3d6140d767", - "object": "Rate", "created_at": "2024-01-19T22:01:00Z", "updated_at": "2024-01-19T22:01:00Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_f347c2dd393a47dba4b644954e4ba97a", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_ed76b7e66f424281b371697072e294e7", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711747", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:01:00Z", - "updated_at": "2024-01-19T22:01:00Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_f347c2dd393a47dba4b644954e4ba97a", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrX2VkNzZiN2U2NmY0MjQyODFiMzcxNjk3MDcyZTI5NGU3"}, - "to_address": {"id": "adr_3a950616b71611ee83c9ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T22:00:59+00:00", "updated_at": "2024-01-19T22:00:59+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_3a9889ddb71611ee8594ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T22:00:59+00:00", "updated_at": - "2024-01-19T22:00:59+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_3a950616b71611ee83c9ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T22:00:59+00:00", "updated_at": "2024-01-19T22:00:59+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_f347c2dd393a47dba4b644954e4ba97a", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_f347c2dd393a47dba4b644954e4ba97a - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf11be798c3fa000fe91b - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.968741' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"batch": {}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '13' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches - response: - body: - string: '{"id": "batch_a7171ac5e0564c7b9ddf3ccb72f0e43f", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 0, "reference": null, - "created_at": "2024-01-19T22:01:00Z", "updated_at": "2024-01-19T22:01:00Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '383' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaf11ce798c3fb000fea42 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.036898' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipments": [{"id": "shp_f347c2dd393a47dba4b644954e4ba97a"}]}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '63' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches/batch_a7171ac5e0564c7b9ddf3ccb72f0e43f/add_shipments - response: - body: - string: '{"id": "batch_a7171ac5e0564c7b9ddf3ccb72f0e43f", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T22:01:00Z", "updated_at": "2024-01-19T22:01:00Z", - "scan_form": null, "shipments": [{"batch_status": "postage_purchased", "batch_message": - null, "reference": null, "tracking_code": "9405500207552010711747", "id": - "shp_f347c2dd393a47dba4b644954e4ba97a"}], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 1, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '542' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf11ce798c3fc000fea80 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.052184' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipments": [{"id": "shp_f347c2dd393a47dba4b644954e4ba97a"}]}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '63' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches/batch_a7171ac5e0564c7b9ddf3ccb72f0e43f/remove_shipments - response: - body: - string: '{"id": "batch_a7171ac5e0564c7b9ddf3ccb72f0e43f", "object": "Batch", - "mode": "test", "state": "purchased", "num_shipments": 0, "reference": null, - "created_at": "2024-01-19T22:01:00Z", "updated_at": "2024-01-19T22:01:01Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '385' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf11de798c3fd000feabe - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.047623' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T22:03:03Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010712133", "updated_at": "2024-01-19T22:03:04Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_fbe4724d7f0c4d2ea671ed12a05a20b8", "object": "CustomsInfo", "created_at": - "2024-01-19T22:03:03Z", "updated_at": "2024-01-19T22:03:03Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_883d154b16c64e93b55e47af223379fa", - "object": "CustomsItem", "created_at": "2024-01-19T22:03:03Z", "updated_at": - "2024-01-19T22:03:03Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_843e3590b71611ee98fe3cecef1b359e", - "object": "Address", "created_at": "2024-01-19T22:03:03+00:00", "updated_at": - "2024-01-19T22:03:03+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_fb548666686446b18736e6a0e9d3328a", - "object": "Parcel", "created_at": "2024-01-19T22:03:03Z", "updated_at": "2024-01-19T22:03:03Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_88e33bfd17354efab81570ec861a6ba0", "created_at": "2024-01-19T22:03:03Z", - "updated_at": "2024-01-19T22:03:03Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T22:03:03Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8d0e410039bef4e5d9f61fd6844ec250a.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_b341e8413e0a4876a3fa3848674a2de1", "object": - "Rate", "created_at": "2024-01-19T22:03:03Z", "updated_at": "2024-01-19T22:03:03Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_84faf597e9d14313949857367cc1283f", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c0004b5812f04bcf8399d8cf647c4304", - "object": "Rate", "created_at": "2024-01-19T22:03:03Z", "updated_at": "2024-01-19T22:03:03Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_84faf597e9d14313949857367cc1283f", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_17d3b88ef9c6457e969e648b86c63d54", - "object": "Rate", "created_at": "2024-01-19T22:03:03Z", "updated_at": "2024-01-19T22:03:03Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_84faf597e9d14313949857367cc1283f", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_edd4d1b34abf4236b60e5bbdb2182461", - "object": "Rate", "created_at": "2024-01-19T22:03:03Z", "updated_at": "2024-01-19T22:03:03Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_84faf597e9d14313949857367cc1283f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_fa7e6f5105e04530896d4dce5600e829", "object": "Rate", "created_at": - "2024-01-19T22:03:03Z", "updated_at": "2024-01-19T22:03:03Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_84faf597e9d14313949857367cc1283f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_c0004b5812f04bcf8399d8cf647c4304", - "object": "Rate", "created_at": "2024-01-19T22:03:03Z", "updated_at": "2024-01-19T22:03:03Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_84faf597e9d14313949857367cc1283f", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_982cc556e0be4deda285fbc0dc6c1cef", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010712133", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:03:04Z", - "updated_at": "2024-01-19T22:03:04Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_84faf597e9d14313949857367cc1283f", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzk4MmNjNTU2ZTBiZTRkZWRhMjg1ZmJjMGRjNmMxY2Vm"}, - "to_address": {"id": "adr_843b9944b71611eeab58ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T22:03:03+00:00", "updated_at": "2024-01-19T22:03:03+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_843e3590b71611ee98fe3cecef1b359e", - "object": "Address", "created_at": "2024-01-19T22:03:03+00:00", "updated_at": - "2024-01-19T22:03:03+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_843b9944b71611eeab58ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T22:03:03+00:00", "updated_at": "2024-01-19T22:03:03+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_84faf597e9d14313949857367cc1283f", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_84faf597e9d14313949857367cc1283f - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf197e798cc3a00105584 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.101723' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"batch": {}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '13' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches - response: - body: - string: '{"id": "batch_b58f8fbf96fa48ec924420cca02f2129", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 0, "reference": null, - "created_at": "2024-01-19T22:03:04Z", "updated_at": "2024-01-19T22:03:04Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '383' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf198e798cc3b001056a0 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.037867' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipments": [{"id": "shp_84faf597e9d14313949857367cc1283f"}]}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '63' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches/batch_b58f8fbf96fa48ec924420cca02f2129/add_shipments - response: - body: - string: '{"id": "batch_b58f8fbf96fa48ec924420cca02f2129", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T22:03:04Z", "updated_at": "2024-01-19T22:03:04Z", - "scan_form": null, "shipments": [{"batch_status": "postage_purchased", "batch_message": - null, "reference": null, "tracking_code": "9405500207552010712133", "id": - "shp_84faf597e9d14313949857367cc1283f"}], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 1, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '542' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf198e798cc3c001056d3 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.062407' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipments": [{"id": "shp_84faf597e9d14313949857367cc1283f"}]}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '63' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches/batch_b58f8fbf96fa48ec924420cca02f2129/remove_shipments - response: - body: - string: '{"id": "batch_b58f8fbf96fa48ec924420cca02f2129", "object": "Batch", - "mode": "test", "state": "purchased", "num_shipments": 0, "reference": null, - "created_at": "2024-01-19T22:03:04Z", "updated_at": "2024-01-19T22:03:04Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '385' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf199e798cc3d00105709 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.048099' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T22:04:06Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010712348", "updated_at": "2024-01-19T22:04:07Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_9889ddf81adc43339330980e998b9c02", "object": "CustomsInfo", "created_at": - "2024-01-19T22:04:06Z", "updated_at": "2024-01-19T22:04:06Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_1be31ea5e23e4e159e41f4cb2a3c0945", - "object": "CustomsItem", "created_at": "2024-01-19T22:04:06Z", "updated_at": - "2024-01-19T22:04:06Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_a9d4c929b71611eeb87bac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T22:04:06+00:00", "updated_at": - "2024-01-19T22:04:06+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_19b915509f124ddf8f2e805746fbf719", - "object": "Parcel", "created_at": "2024-01-19T22:04:06Z", "updated_at": "2024-01-19T22:04:06Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_9b3fd12062b74d7981aa7c85c59382a9", "created_at": "2024-01-19T22:04:06Z", - "updated_at": "2024-01-19T22:04:07Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T22:04:06Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e82069bbe7c9fc41f68ff5c51d34af07fc.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_6a1b2c63e87447c9b7495d009c58851f", "object": - "Rate", "created_at": "2024-01-19T22:04:06Z", "updated_at": "2024-01-19T22:04:06Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_fa29465e744c43c59a003b68f18d32e1", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_bceb012166034e10b95a8d8a6819a3c2", - "object": "Rate", "created_at": "2024-01-19T22:04:06Z", "updated_at": "2024-01-19T22:04:06Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_fa29465e744c43c59a003b68f18d32e1", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_fef37c62b65f4372a6c48c7d84028322", - "object": "Rate", "created_at": "2024-01-19T22:04:06Z", "updated_at": "2024-01-19T22:04:06Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_fa29465e744c43c59a003b68f18d32e1", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_82f28e35b126443983d3a0ec938c5927", "object": "Rate", "created_at": - "2024-01-19T22:04:06Z", "updated_at": "2024-01-19T22:04:06Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_fa29465e744c43c59a003b68f18d32e1", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_3e7e29cdfb1147bd9d792e7de653e1ac", "object": "Rate", "created_at": - "2024-01-19T22:04:06Z", "updated_at": "2024-01-19T22:04:06Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_fa29465e744c43c59a003b68f18d32e1", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_6a1b2c63e87447c9b7495d009c58851f", - "object": "Rate", "created_at": "2024-01-19T22:04:06Z", "updated_at": "2024-01-19T22:04:06Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_fa29465e744c43c59a003b68f18d32e1", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_47fbb753bcab4cfab2d8b3b9228a1a58", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010712348", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:04:07Z", - "updated_at": "2024-01-19T22:04:07Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_fa29465e744c43c59a003b68f18d32e1", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzQ3ZmJiNzUzYmNhYjRjZmFiMmQ4YjNiOTIyOGExYTU4"}, - "to_address": {"id": "adr_a9d1fb2fb71611eea6873cecef1b359e", "object": "Address", - "created_at": "2024-01-19T22:04:06+00:00", "updated_at": "2024-01-19T22:04:06+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_a9d4c929b71611eeb87bac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T22:04:06+00:00", "updated_at": - "2024-01-19T22:04:06+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_a9d1fb2fb71611eea6873cecef1b359e", "object": - "Address", "created_at": "2024-01-19T22:04:06+00:00", "updated_at": "2024-01-19T22:04:06+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_fa29465e744c43c59a003b68f18d32e1", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_fa29465e744c43c59a003b68f18d32e1 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaf1d6e798ccdd001084bf - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.114703' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"batch": {}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '13' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches - response: - body: - string: '{"id": "batch_05afe01fbb3f43ed9a06d9e1b0952ab3", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 0, "reference": null, - "created_at": "2024-01-19T22:04:07Z", "updated_at": "2024-01-19T22:04:07Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '383' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf1d7e798ccde001085cd - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.039327' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipments": [{"id": "shp_fa29465e744c43c59a003b68f18d32e1"}]}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '63' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches/batch_05afe01fbb3f43ed9a06d9e1b0952ab3/add_shipments - response: - body: - string: '{"id": "batch_05afe01fbb3f43ed9a06d9e1b0952ab3", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T22:04:07Z", "updated_at": "2024-01-19T22:04:07Z", - "scan_form": null, "shipments": [{"batch_status": "postage_purchased", "batch_message": - null, "reference": null, "tracking_code": "9405500207552010712348", "id": - "shp_fa29465e744c43c59a003b68f18d32e1"}], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 1, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '542' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf1d7e798ccdf001085fb - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.054573' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipments": [{"id": "shp_fa29465e744c43c59a003b68f18d32e1"}]}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '63' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches/batch_05afe01fbb3f43ed9a06d9e1b0952ab3/remove_shipments - response: - body: - string: '{"id": "batch_05afe01fbb3f43ed9a06d9e1b0952ab3", "object": "Batch", - "mode": "test", "state": "purchased", "num_shipments": 0, "reference": null, - "created_at": "2024-01-19T22:04:07Z", "updated_at": "2024-01-19T22:04:08Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '385' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf1d8e798cce00010863b - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.049514' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T22:06:18Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010713031", "updated_at": "2024-01-19T22:06:19Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_f870e5d5c96845519e25c0783fd86865", "object": "CustomsInfo", "created_at": - "2024-01-19T22:06:18Z", "updated_at": "2024-01-19T22:06:18Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_a112d495ae614e929e3cd3aad56473bc", - "object": "CustomsItem", "created_at": "2024-01-19T22:06:18Z", "updated_at": - "2024-01-19T22:06:18Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_f89127b5b71611ee84c3ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T22:06:18+00:00", "updated_at": - "2024-01-19T22:06:18+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_ca7617c3932a4e9f9247d794bea7e43a", - "object": "Parcel", "created_at": "2024-01-19T22:06:18Z", "updated_at": "2024-01-19T22:06:18Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_8810e2db5a4d4254b2ed9f2dd9fc2210", "created_at": "2024-01-19T22:06:18Z", - "updated_at": "2024-01-19T22:06:19Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T22:06:18Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e88aaa098aa4fb4c6782dddd6ed8640470.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_76948d41826a43f283eeb775f88cedf2", "object": - "Rate", "created_at": "2024-01-19T22:06:18Z", "updated_at": "2024-01-19T22:06:18Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_55387450c6444cfc961f910a4a5ac1b0", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_6b1ce99db1ee4c229dfb77d1118a660b", - "object": "Rate", "created_at": "2024-01-19T22:06:18Z", "updated_at": "2024-01-19T22:06:18Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_55387450c6444cfc961f910a4a5ac1b0", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_a140eea1cf2c4cc2b1fba6a37384595f", - "object": "Rate", "created_at": "2024-01-19T22:06:18Z", "updated_at": "2024-01-19T22:06:18Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_55387450c6444cfc961f910a4a5ac1b0", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4368f613d729497a897603bd3ac59541", - "object": "Rate", "created_at": "2024-01-19T22:06:18Z", "updated_at": "2024-01-19T22:06:18Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_55387450c6444cfc961f910a4a5ac1b0", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_b8ebafcdb40746efba4626377aefcf32", "object": "Rate", "created_at": - "2024-01-19T22:06:18Z", "updated_at": "2024-01-19T22:06:18Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_55387450c6444cfc961f910a4a5ac1b0", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_6b1ce99db1ee4c229dfb77d1118a660b", - "object": "Rate", "created_at": "2024-01-19T22:06:19Z", "updated_at": "2024-01-19T22:06:19Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_55387450c6444cfc961f910a4a5ac1b0", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_299cbea4490d44239fbc2d0c12661070", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010713031", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:06:19Z", - "updated_at": "2024-01-19T22:06:19Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_55387450c6444cfc961f910a4a5ac1b0", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzI5OWNiZWE0NDkwZDQ0MjM5ZmJjMmQwYzEyNjYxMDcw"}, - "to_address": {"id": "adr_f88ea932b71611ee84c2ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T22:06:18+00:00", "updated_at": "2024-01-19T22:06:18+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_f89127b5b71611ee84c3ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T22:06:18+00:00", "updated_at": - "2024-01-19T22:06:18+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_f88ea932b71611ee84c2ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T22:06:18+00:00", "updated_at": "2024-01-19T22:06:18+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_55387450c6444cfc961f910a4a5ac1b0", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_55387450c6444cfc961f910a4a5ac1b0 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaf25ae798d1880010ddea - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.257083' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"batch": {}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '13' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches - response: - body: - string: '{"id": "batch_b36bedb4edc84f9fbe7ca997b586df6e", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 0, "reference": null, - "created_at": "2024-01-19T22:06:19Z", "updated_at": "2024-01-19T22:06:19Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '383' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf25be798d1890010dec6 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.040322' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipments": [{"id": "shp_55387450c6444cfc961f910a4a5ac1b0"}]}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '63' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches/batch_b36bedb4edc84f9fbe7ca997b586df6e/add_shipments - response: - body: - string: '{"id": "batch_b36bedb4edc84f9fbe7ca997b586df6e", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T22:06:19Z", "updated_at": "2024-01-19T22:06:19Z", - "scan_form": null, "shipments": [{"batch_status": "postage_purchased", "batch_message": - null, "reference": null, "tracking_code": "9405500207552010713031", "id": - "shp_55387450c6444cfc961f910a4a5ac1b0"}], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 1, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '542' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaf25be798d18a0010dee7 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.050624' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipments": [{"id": "shp_55387450c6444cfc961f910a4a5ac1b0"}]}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '63' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches/batch_b36bedb4edc84f9fbe7ca997b586df6e/remove_shipments - response: - body: - string: '{"id": "batch_b36bedb4edc84f9fbe7ca997b586df6e", "object": "Batch", - "mode": "test", "state": "purchased", "num_shipments": 0, "reference": null, - "created_at": "2024-01-19T22:06:19Z", "updated_at": "2024-01-19T22:06:20Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '385' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaf25ce798d4990010df07 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.051457' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T23:38:22Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010723597", "updated_at": "2024-01-19T23:38:23Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_8aff3e476bc14ff4bf3d50949970119a", "object": "CustomsInfo", "created_at": - "2024-01-19T23:38:22Z", "updated_at": "2024-01-19T23:38:22Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_3fef17be41b44bbd91a280592ce4321d", - "object": "CustomsItem", "created_at": "2024-01-19T23:38:22Z", "updated_at": - "2024-01-19T23:38:22Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_d52835b5b72311ee87bdac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T23:38:22+00:00", "updated_at": - "2024-01-19T23:38:22+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_43d0019c1e8545f1b3b482224f84cbd3", - "object": "Parcel", "created_at": "2024-01-19T23:38:22Z", "updated_at": "2024-01-19T23:38:22Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_2a72a7aca44d4fdf988b6b7efc40cbab", "created_at": "2024-01-19T23:38:22Z", - "updated_at": "2024-01-19T23:38:23Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T23:38:22Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8387a3c20357a481fa98f8a64ef4bf25b.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_1bd966b9566c4e2095117418bd2c4380", "object": - "Rate", "created_at": "2024-01-19T23:38:22Z", "updated_at": "2024-01-19T23:38:22Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_e20fea05ab874a48924903cceb4f4cc6", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_15d9e9944f3e4204b54c24a3bc6dc6f4", - "object": "Rate", "created_at": "2024-01-19T23:38:22Z", "updated_at": "2024-01-19T23:38:22Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_e20fea05ab874a48924903cceb4f4cc6", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_400f9c6ab41c4777bb593c61fb2c5ed6", "object": "Rate", "created_at": - "2024-01-19T23:38:22Z", "updated_at": "2024-01-19T23:38:22Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_e20fea05ab874a48924903cceb4f4cc6", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_4f0a4663a86b4bdf9f12b617e1ceb3db", "object": "Rate", "created_at": - "2024-01-19T23:38:22Z", "updated_at": "2024-01-19T23:38:22Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_e20fea05ab874a48924903cceb4f4cc6", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_92a612af192a4aca8838f727299fc49f", "object": "Rate", "created_at": - "2024-01-19T23:38:22Z", "updated_at": "2024-01-19T23:38:22Z", "mode": "test", - "service": "Priority", "carrier": "USPS", "rate": "7.99", "currency": "USD", - "retail_rate": "14.05", "retail_currency": "USD", "list_rate": "10.27", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": - "shp_e20fea05ab874a48924903cceb4f4cc6", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_92a612af192a4aca8838f727299fc49f", - "object": "Rate", "created_at": "2024-01-19T23:38:22Z", "updated_at": "2024-01-19T23:38:22Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_e20fea05ab874a48924903cceb4f4cc6", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_c11b2c345125419387d15bd3a3ef0ef2", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010723597", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T23:38:23Z", - "updated_at": "2024-01-19T23:38:23Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_e20fea05ab874a48924903cceb4f4cc6", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrX2MxMWIyYzM0NTEyNTQxOTM4N2QxNWJkM2EzZWYwZWYy"}, - "to_address": {"id": "adr_d525767cb72311ee9261ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T23:38:22+00:00", "updated_at": "2024-01-19T23:38:22+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_d52835b5b72311ee87bdac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T23:38:22+00:00", "updated_at": - "2024-01-19T23:38:22+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_d525767cb72311ee9261ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T23:38:22+00:00", "updated_at": "2024-01-19T23:38:22+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_e20fea05ab874a48924903cceb4f4cc6", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_e20fea05ab874a48924903cceb4f4cc6 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665ab07eee799e580001d7638 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.928424' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"batch": {}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '13' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches - response: - body: - string: '{"id": "batch_26630214d47949aa85ff5b49441d6915", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 0, "reference": null, - "created_at": "2024-01-19T23:38:23Z", "updated_at": "2024-01-19T23:38:23Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '383' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465ab07efe799e581001d76c8 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.039635' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipments": [{"id": "shp_e20fea05ab874a48924903cceb4f4cc6"}]}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '63' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches/batch_26630214d47949aa85ff5b49441d6915/add_shipments - response: - body: - string: '{"id": "batch_26630214d47949aa85ff5b49441d6915", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T23:38:23Z", "updated_at": "2024-01-19T23:38:23Z", - "scan_form": null, "shipments": [{"batch_status": "postage_purchased", "batch_message": - null, "reference": null, "tracking_code": "9405500207552010723597", "id": - "shp_e20fea05ab874a48924903cceb4f4cc6"}], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 1, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '542' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365ab07efe799e582001d76e3 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.057294' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipments": [{"id": "shp_e20fea05ab874a48924903cceb4f4cc6"}]}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '63' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches/batch_26630214d47949aa85ff5b49441d6915/remove_shipments - response: - body: - string: '{"id": "batch_26630214d47949aa85ff5b49441d6915", "object": "Batch", - "mode": "test", "state": "purchased", "num_shipments": 0, "reference": null, - "created_at": "2024-01-19T23:38:23Z", "updated_at": "2024-01-19T23:38:23Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '385' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165ab07efe799e583001d7709 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.058495' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_batches_retrieve.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_batches_retrieve.yaml deleted file mode 100644 index 30977dfd..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_batches_retrieve.yaml +++ /dev/null @@ -1,1485 +0,0 @@ -interactions: -- request: - body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": - "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '1002' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches - response: - body: - string: '{"id": "batch_4340577b57e24854a21b76acdc69d878", "object": "Batch", - "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T21:39:39Z", "updated_at": "2024-01-19T21:39:39Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '384' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaec1be78b9ae4000ca8e6 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.049743' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/batches/batch_4340577b57e24854a21b76acdc69d878 - response: - body: - string: '{"id": "batch_4340577b57e24854a21b76acdc69d878", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T21:39:39Z", "updated_at": "2024-01-19T21:39:39Z", - "scan_form": null, "shipments": [{"batch_status": "created", "batch_message": - null, "reference": null, "tracking_code": null, "id": "shp_8bee0a902ee34778aa75fb988e46fe1b"}], - "status": {"created": 1, "queued_for_purchase": 0, "creation_failed": 0, "postage_purchased": - 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '512' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaec1be78b9ae5000ca927 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.024468' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": - "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '1002' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches - response: - body: - string: '{"id": "batch_9747838687e442db9525cf6bdb4cdf7f", "object": "Batch", - "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T21:42:59Z", "updated_at": "2024-01-19T21:42:59Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '384' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaece3e78ba320000d2695 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.054503' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/batches/batch_9747838687e442db9525cf6bdb4cdf7f - response: - body: - string: '{"id": "batch_9747838687e442db9525cf6bdb4cdf7f", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T21:42:59Z", "updated_at": "2024-01-19T21:42:59Z", - "scan_form": null, "shipments": [{"batch_status": "created", "batch_message": - null, "reference": null, "tracking_code": null, "id": "shp_40bcad49c58d43fa8e873b1383d83a55"}], - "status": {"created": 1, "queued_for_purchase": 0, "creation_failed": 0, "postage_purchased": - 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '512' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaece3e78ba321000d26c0 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.026670' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": - "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '1002' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches - response: - body: - string: '{"id": "batch_fadb8835f95647618c8e65c9968adb73", "object": "Batch", - "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T21:46:48Z", "updated_at": "2024-01-19T21:46:48Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '384' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdac65aaedc8e78baba900111a24 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.046329' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/batches/batch_fadb8835f95647618c8e65c9968adb73 - response: - body: - string: '{"id": "batch_fadb8835f95647618c8e65c9968adb73", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T21:46:48Z", "updated_at": "2024-01-19T21:46:49Z", - "scan_form": null, "shipments": [{"batch_status": "created", "batch_message": - null, "reference": null, "tracking_code": null, "id": "shp_3bbd407d01334059b28186fe912f7174"}], - "status": {"created": 1, "queued_for_purchase": 0, "creation_failed": 0, "postage_purchased": - 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '512' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdab65aaedc9e78babaa00111a62 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.025947' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": - "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '1002' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches - response: - body: - string: '{"id": "batch_b8608032bdf541b8a82ebfb32453d662", "object": "Batch", - "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T21:48:40Z", "updated_at": "2024-01-19T21:48:40Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '384' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdad65aaee38e78bb0eb00115ef5 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.045030' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/batches/batch_b8608032bdf541b8a82ebfb32453d662 - response: - body: - string: '{"id": "batch_b8608032bdf541b8a82ebfb32453d662", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T21:48:40Z", "updated_at": "2024-01-19T21:48:41Z", - "scan_form": null, "shipments": [{"batch_status": "created", "batch_message": - null, "reference": null, "tracking_code": null, "id": "shp_bcdf436206704dc7bf62fb264be55e70"}], - "status": {"created": 1, "queued_for_purchase": 0, "creation_failed": 0, "postage_purchased": - 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '512' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda765aaee39e78bb0ec00115f2d - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.028597' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": - "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '1002' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches - response: - body: - string: '{"id": "batch_ea6566f464f94d888d4b50c520d400f9", "object": "Batch", - "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T21:57:41Z", "updated_at": "2024-01-19T21:57:41Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '384' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaf055e798bb78000f5798 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.045007' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/batches/batch_ea6566f464f94d888d4b50c520d400f9 - response: - body: - string: '{"id": "batch_ea6566f464f94d888d4b50c520d400f9", "object": "Batch", - "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T21:57:41Z", "updated_at": "2024-01-19T21:57:41Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '384' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaf055e798bb79000f57bb - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.025261' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": - "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '1002' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches - response: - body: - string: '{"id": "batch_2a3b1e859d1d4e30be37a7feee215d0a", "object": "Batch", - "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T22:00:54Z", "updated_at": "2024-01-19T22:00:54Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '384' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaf116e798c3d8000fe4bc - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.050110' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/batches/batch_2a3b1e859d1d4e30be37a7feee215d0a - response: - body: - string: '{"id": "batch_2a3b1e859d1d4e30be37a7feee215d0a", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T22:00:54Z", "updated_at": "2024-01-19T22:00:55Z", - "scan_form": null, "shipments": [{"batch_status": "created", "batch_message": - null, "reference": null, "tracking_code": null, "id": "shp_794153de95df4918bdf14d9c4e111c10"}], - "status": {"created": 1, "queued_for_purchase": 0, "creation_failed": 0, "postage_purchased": - 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '512' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaf117e798c3d9000fe509 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.035669' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": - "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '1002' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches - response: - body: - string: '{"id": "batch_5d70beec0b7b45a59b05b168495b2e96", "object": "Batch", - "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T22:02:57Z", "updated_at": "2024-01-19T22:02:57Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '384' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf191e798cc1800105187 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.041161' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/batches/batch_5d70beec0b7b45a59b05b168495b2e96 - response: - body: - string: '{"id": "batch_5d70beec0b7b45a59b05b168495b2e96", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T22:02:57Z", "updated_at": "2024-01-19T22:02:58Z", - "scan_form": null, "shipments": [{"batch_status": "created", "batch_message": - null, "reference": null, "tracking_code": null, "id": "shp_191d97c7e82142bbafd85e849719c73c"}], - "status": {"created": 1, "queued_for_purchase": 0, "creation_failed": 0, "postage_purchased": - 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '512' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf192e798cc19001051b5 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.026033' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": - "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '1002' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches - response: - body: - string: '{"id": "batch_43dbc416d4e04962939b1c56f00e66e2", "object": "Batch", - "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T22:03:20Z", "updated_at": "2024-01-19T22:03:20Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '384' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf1a8e798cc83001063ce - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.053642' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/batches/batch_43dbc416d4e04962939b1c56f00e66e2 - response: - body: - string: '{"id": "batch_43dbc416d4e04962939b1c56f00e66e2", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T22:03:20Z", "updated_at": "2024-01-19T22:03:20Z", - "scan_form": null, "shipments": [{"batch_status": "created", "batch_message": - null, "reference": null, "tracking_code": null, "id": "shp_82b40d2b75ab4b6fb9eac46d9b4129a9"}], - "status": {"created": 1, "queued_for_purchase": 0, "creation_failed": 0, "postage_purchased": - 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '512' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaf1a9e798cc9b00106433 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.026593' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": - "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '1002' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches - response: - body: - string: '{"id": "batch_f03d0092670444c38ea38fbb0deda6f9", "object": "Batch", - "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T22:06:12Z", "updated_at": "2024-01-19T22:06:12Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '384' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaf254e798d1650010da77 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.107462' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/batches/batch_f03d0092670444c38ea38fbb0deda6f9 - response: - body: - string: '{"id": "batch_f03d0092670444c38ea38fbb0deda6f9", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T22:06:12Z", "updated_at": "2024-01-19T22:06:12Z", - "scan_form": null, "shipments": [{"batch_status": "created", "batch_message": - null, "reference": null, "tracking_code": null, "id": "shp_fe148126a6e64563a4faca3acfbe5dd1"}], - "status": {"created": 1, "queued_for_purchase": 0, "creation_failed": 0, "postage_purchased": - 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '512' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf254e798d1660010daa8 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.032018' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": - "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '1002' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches - response: - body: - string: '{"id": "batch_42a9ce503f274417a96af4a56863e661", "object": "Batch", - "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T23:38:16Z", "updated_at": "2024-01-19T23:38:16Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '384' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765ab07e8e799e55e001d738d - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.071913' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/batches/batch_42a9ce503f274417a96af4a56863e661 - response: - body: - string: '{"id": "batch_42a9ce503f274417a96af4a56863e661", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T23:38:16Z", "updated_at": "2024-01-19T23:38:17Z", - "scan_form": null, "shipments": [{"batch_status": "created", "batch_message": - null, "reference": null, "tracking_code": null, "id": "shp_387aa0f7dbaa41ae8162563b033d381f"}], - "status": {"created": 1, "queued_for_purchase": 0, "creation_failed": 0, "postage_purchased": - 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '512' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665ab07e9e799e55f001d73ad - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.026851' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_batches_scan_forms.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_batches_scan_forms.yaml deleted file mode 100644 index 7ee0f89e..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_batches_scan_forms.yaml +++ /dev/null @@ -1,453 +0,0 @@ -interactions: -- request: - body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": - "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '1002' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches - response: - body: - string: '{"id": "batch_6165570832d34965bfe4f0f224fef421", "object": "Batch", - "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T22:03:22Z", "updated_at": "2024-01-19T22:03:22Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '384' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf1aae798cc9f00106568 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.051338' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '2' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches/batch_6165570832d34965bfe4f0f224fef421/buy - response: - body: - string: '{"id": "batch_6165570832d34965bfe4f0f224fef421", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T22:03:22Z", "updated_at": "2024-01-19T22:03:23Z", - "scan_form": null, "shipments": [{"batch_status": "queued_for_purchase", "batch_message": - null, "reference": null, "tracking_code": null, "id": "shp_790b9989bd7e478c81d57b9013431bbc"}], - "status": {"created": 1, "queued_for_purchase": 0, "creation_failed": 0, "postage_purchased": - 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '524' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf1bfe798ccc1001074ba - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.056501' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '2' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches/batch_6165570832d34965bfe4f0f224fef421/scan_form - response: - body: - string: '{"id": "batch_6165570832d34965bfe4f0f224fef421", "object": "Batch", - "mode": "test", "state": "purchased", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T22:03:22Z", "updated_at": "2024-01-19T22:04:03Z", - "scan_form": {"id": "sf_d0df49ac5c1e4193beff07d518c6af80", "object": "ScanForm", - "created_at": "2024-01-19T22:04:03Z", "updated_at": "2024-01-19T22:04:03Z", - "tracking_codes": [], "address": null, "status": "creating", "message": null, - "form_url": null, "form_file_type": null, "batch_id": "batch_6165570832d34965bfe4f0f224fef421", - "confirmation": null}, "shipments": [{"batch_status": "postage_purchased", - "batch_message": null, "reference": null, "tracking_code": "9405500207552010712270", - "id": "shp_790b9989bd7e478c81d57b9013431bbc"}], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 1, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '856' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaf1d3e798ccc20010833b - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.068699' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"batch": {"shipments": [{"to_address": {"name": "Dr. Steve Brule", "street1": - "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '1002' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches - response: - body: - string: '{"id": "batch_8d55ec833fec4ed5a99559f8d3610a63", "object": "Batch", - "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T23:38:18Z", "updated_at": "2024-01-19T23:38:18Z", - "scan_form": null, "shipments": [], "status": {"created": 0, "queued_for_purchase": - 0, "creation_failed": 0, "postage_purchased": 0, "postage_purchase_failed": - 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '384' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265ab07eae799e563001d74a3 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.074864' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '2' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches/batch_8d55ec833fec4ed5a99559f8d3610a63/buy - response: - body: - string: '{"id": "batch_8d55ec833fec4ed5a99559f8d3610a63", "object": "Batch", - "mode": "test", "state": "created", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T23:38:18Z", "updated_at": "2024-01-19T23:38:19Z", - "scan_form": null, "shipments": [{"batch_status": "queued_for_purchase", "batch_message": - null, "reference": null, "tracking_code": null, "id": "shp_cc3fe6af5cea47e889690a73c92f9621"}], - "status": {"created": 1, "queued_for_purchase": 0, "creation_failed": 0, "postage_purchased": - 0, "postage_purchase_failed": 0}, "pickup": null, "label_url": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '524' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865ab07ebe799e564001d74ca - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.068407' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '2' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/batches/batch_8d55ec833fec4ed5a99559f8d3610a63/scan_form - response: - body: - string: '{"error": {"code": "SCAN_FORM.BATCH.NOT_PURCHASED", "message": "All - shipments on the Batch must be purchased before generating a ScanForm.", "errors": - []}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '149' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465ab07ebe799e565001d74f3 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.041019' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 422 - message: Unprocessable Entity -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_brand_update.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_brand_update.yaml deleted file mode 100644 index 919c90e1..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_brand_update.yaml +++ /dev/null @@ -1,1554 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/users - response: - body: - string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": - null, "name": "New Name", "phone_number": "5555555555", "verified": true, - "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": - false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": - "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", - "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": - null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": - "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User2", "phone_number": "8005550100", "verified": true, "created_at": - "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}, - {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": - "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": - "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": - false, "has_elevate_access": false, "children": []}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1440' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaec55e78b9b28000ccd36 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.062933' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"color": "#123456"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '20' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: PATCH - uri: https://api.easypost.com/v2/users/user_54356a6b96c940d8913961a3c7b909f2/brand - response: - body: - string: '{"id": "brd_79967d34dc894866850bc8342c84dc41", "color": "#123456", - "logo": "https://assets.easypost.com/assets/images/branding/easypost-primary-logo.7324aa54b64b34d6cd70ca5ba4d1842d.svg", - "logo_href": "https://www.easypost.com", "name": "EasyPost", "ad": null, "ad_href": - null, "object": "Brand", "user_id": "user_54356a6b96c940d8913961a3c7b909f2", - "background_color": "#123456", "theme": "theme1"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '377' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaec55e78b9b29000ccd58 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.022071' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/users - response: - body: - string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": - null, "name": "New Name", "phone_number": "5555555555", "verified": true, - "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": - false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": - "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", - "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": - null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": - "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User2", "phone_number": "8005550100", "verified": true, "created_at": - "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}, - {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": - "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": - "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": - false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User", "phone_number": "8005550100", "verified": true, "created_at": - "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1725' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaecebe78ba349000d2b1e - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.084258' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"color": "#123456"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '20' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: PATCH - uri: https://api.easypost.com/v2/users/user_54356a6b96c940d8913961a3c7b909f2/brand - response: - body: - string: '{"id": "brd_79967d34dc894866850bc8342c84dc41", "color": "#123456", - "logo": "https://assets.easypost.com/assets/images/branding/easypost-primary-logo.7324aa54b64b34d6cd70ca5ba4d1842d.svg", - "logo_href": "https://www.easypost.com", "name": "EasyPost", "ad": null, "ad_href": - null, "object": "Brand", "user_id": "user_54356a6b96c940d8913961a3c7b909f2", - "background_color": "#123456", "theme": "theme1"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '377' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaecebe78ba34a000d2b58 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.021488' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/users - response: - body: - string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": - null, "name": "New Name", "phone_number": "5555555555", "verified": true, - "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": - false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": - "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", - "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": - null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": - "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User2", "phone_number": "8005550100", "verified": true, "created_at": - "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}, - {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": - "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": - "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": - false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User", "phone_number": "8005550100", "verified": true, "created_at": - "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2010' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdad65aaedd1e78babec00111f15 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.094382' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"color": "#123456"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '20' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: PATCH - uri: https://api.easypost.com/v2/users/user_54356a6b96c940d8913961a3c7b909f2/brand - response: - body: - string: '{"id": "brd_79967d34dc894866850bc8342c84dc41", "color": "#123456", - "logo": "https://assets.easypost.com/assets/images/branding/easypost-primary-logo.7324aa54b64b34d6cd70ca5ba4d1842d.svg", - "logo_href": "https://www.easypost.com", "name": "EasyPost", "ad": null, "ad_href": - null, "object": "Brand", "user_id": "user_54356a6b96c940d8913961a3c7b909f2", - "background_color": "#123456", "theme": "theme1"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '377' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdac65aaedd1e78babed00111f45 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.021941' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/users - response: - body: - string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": - null, "name": "New Name", "phone_number": "5555555555", "verified": true, - "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": - false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": - "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", - "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": - null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": - "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User2", "phone_number": "8005550100", "verified": true, "created_at": - "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}, - {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": - "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": - "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": - false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User", "phone_number": "8005550100", "verified": true, "created_at": - "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2010' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdad65aaee40e78bb40b0011635e - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.086837' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"color": "#123456"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '20' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: PATCH - uri: https://api.easypost.com/v2/users/user_54356a6b96c940d8913961a3c7b909f2/brand - response: - body: - string: '{"id": "brd_79967d34dc894866850bc8342c84dc41", "color": "#123456", - "logo": "https://assets.easypost.com/assets/images/branding/easypost-primary-logo.7324aa54b64b34d6cd70ca5ba4d1842d.svg", - "logo_href": "https://www.easypost.com", "name": "EasyPost", "ad": null, "ad_href": - null, "object": "Brand", "user_id": "user_54356a6b96c940d8913961a3c7b909f2", - "background_color": "#123456", "theme": "theme1"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '377' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda965aaee41e78bb40c00116397 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.021003' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/users - response: - body: - string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": - null, "name": "New Name", "phone_number": "5555555555", "verified": true, - "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": - false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": - "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", - "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": - null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": - "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User2", "phone_number": "8005550100", "verified": true, "created_at": - "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}, - {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": - "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": - "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": - false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User", "phone_number": "8005550100", "verified": true, "created_at": - "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2010' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaf071e798bbb8000f6823 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.085486' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"color": "#123456"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '20' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: PATCH - uri: https://api.easypost.com/v2/users/user_54356a6b96c940d8913961a3c7b909f2/brand - response: - body: - string: '{"id": "brd_79967d34dc894866850bc8342c84dc41", "color": "#123456", - "logo": "https://assets.easypost.com/assets/images/branding/easypost-primary-logo.7324aa54b64b34d6cd70ca5ba4d1842d.svg", - "logo_href": "https://www.easypost.com", "name": "EasyPost", "ad": null, "ad_href": - null, "object": "Brand", "user_id": "user_54356a6b96c940d8913961a3c7b909f2", - "background_color": "#123456", "theme": "theme1"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '377' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf071e798bbb9000f6845 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.024479' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/users - response: - body: - string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": - null, "name": "New Name", "phone_number": "5555555555", "verified": true, - "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": - false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": - "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", - "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": - null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": - "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User2", "phone_number": "8005550100", "verified": true, "created_at": - "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}, - {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": - "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": - "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": - false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User", "phone_number": "8005550100", "verified": true, "created_at": - "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2010' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf11ee798c401000fec1e - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.089290' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"color": "#123456"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '20' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: PATCH - uri: https://api.easypost.com/v2/users/user_54356a6b96c940d8913961a3c7b909f2/brand - response: - body: - string: '{"id": "brd_79967d34dc894866850bc8342c84dc41", "color": "#123456", - "logo": "https://assets.easypost.com/assets/images/branding/easypost-primary-logo.7324aa54b64b34d6cd70ca5ba4d1842d.svg", - "logo_href": "https://www.easypost.com", "name": "EasyPost", "ad": null, "ad_href": - null, "object": "Brand", "user_id": "user_54356a6b96c940d8913961a3c7b909f2", - "background_color": "#123456", "theme": "theme1"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '377' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaf11fe798c419000fec85 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.025952' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/users - response: - body: - string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": - null, "name": "New Name", "phone_number": "5555555555", "verified": true, - "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": - false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": - "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", - "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": - null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": - "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User2", "phone_number": "8005550100", "verified": true, "created_at": - "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}, - {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": - "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": - "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": - false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User", "phone_number": "8005550100", "verified": true, "created_at": - "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2010' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaf19ae798cc410010582a - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.083270' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"color": "#123456"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '20' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: PATCH - uri: https://api.easypost.com/v2/users/user_54356a6b96c940d8913961a3c7b909f2/brand - response: - body: - string: '{"id": "brd_79967d34dc894866850bc8342c84dc41", "color": "#123456", - "logo": "https://assets.easypost.com/assets/images/branding/easypost-primary-logo.7324aa54b64b34d6cd70ca5ba4d1842d.svg", - "logo_href": "https://www.easypost.com", "name": "EasyPost", "ad": null, "ad_href": - null, "object": "Brand", "user_id": "user_54356a6b96c940d8913961a3c7b909f2", - "background_color": "#123456", "theme": "theme1"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '377' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaf19ae798cc590010587d - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.021090' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/users - response: - body: - string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": - null, "name": "New Name", "phone_number": "5555555555", "verified": true, - "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": - false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": - "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", - "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": - null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": - "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User2", "phone_number": "8005550100", "verified": true, "created_at": - "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}, - {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": - "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": - "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": - false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User", "phone_number": "8005550100", "verified": true, "created_at": - "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2010' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf201e798cce50010a153 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.088889' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"color": "#123456"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '20' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: PATCH - uri: https://api.easypost.com/v2/users/user_54356a6b96c940d8913961a3c7b909f2/brand - response: - body: - string: '{"id": "brd_79967d34dc894866850bc8342c84dc41", "color": "#123456", - "logo": "https://assets.easypost.com/assets/images/branding/easypost-primary-logo.7324aa54b64b34d6cd70ca5ba4d1842d.svg", - "logo_href": "https://www.easypost.com", "name": "EasyPost", "ad": null, "ad_href": - null, "object": "Brand", "user_id": "user_54356a6b96c940d8913961a3c7b909f2", - "background_color": "#123456", "theme": "theme1"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '377' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaf201e798cce60010a190 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.021926' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/users - response: - body: - string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": - null, "name": "New Name", "phone_number": "5555555555", "verified": true, - "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": - false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": - "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", - "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": - null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": - "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User2", "phone_number": "8005550100", "verified": true, "created_at": - "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}, - {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": - "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": - "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": - false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User", "phone_number": "8005550100", "verified": true, "created_at": - "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2010' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf25de798d49d0010e001 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.083024' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"color": "#123456"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '20' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: PATCH - uri: https://api.easypost.com/v2/users/user_54356a6b96c940d8913961a3c7b909f2/brand - response: - body: - string: '{"id": "brd_79967d34dc894866850bc8342c84dc41", "color": "#123456", - "logo": "https://assets.easypost.com/assets/images/branding/easypost-primary-logo.7324aa54b64b34d6cd70ca5ba4d1842d.svg", - "logo_href": "https://www.easypost.com", "name": "EasyPost", "ad": null, "ad_href": - null, "object": "Brand", "user_id": "user_54356a6b96c940d8913961a3c7b909f2", - "background_color": "#123456", "theme": "theme1"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '377' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaf25ee798d49e0010e02c - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.024578' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/users - response: - body: - string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": - null, "name": "New Name", "phone_number": "5555555555", "verified": true, - "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": - false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": - "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", - "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": - null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": - "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User2", "phone_number": "8005550100", "verified": true, "created_at": - "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}, - {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": - "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": - "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": - false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User", "phone_number": "8005550100", "verified": true, "created_at": - "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2010' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365ab07f1e799e587001d77bd - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.089531' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"color": "#123456"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '20' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: PATCH - uri: https://api.easypost.com/v2/users/user_54356a6b96c940d8913961a3c7b909f2/brand - response: - body: - string: '{"id": "brd_79967d34dc894866850bc8342c84dc41", "color": "#123456", - "logo": "https://assets.easypost.com/assets/images/branding/easypost-primary-logo.7324aa54b64b34d6cd70ca5ba4d1842d.svg", - "logo_href": "https://www.easypost.com", "name": "EasyPost", "ad": null, "ad_href": - null, "object": "Brand", "user_id": "user_54356a6b96c940d8913961a3c7b909f2", - "background_color": "#123456", "theme": "theme1"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '377' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565ab07f1e799e59f001d77ea - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.028369' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_carrier_accounts_create.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_carrier_accounts_create.yaml deleted file mode 100644 index 96806969..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_carrier_accounts_create.yaml +++ /dev/null @@ -1,1465 +0,0 @@ -interactions: -- request: - body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location - DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": - "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": - {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", - "pickup_id": "123456"}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '359' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/carrier_accounts - response: - body: - string: '{"id": "ca_65b36650ca424c4192f3042b7c5f5df6", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T21:40:38Z", - "updated_at": "2024-01-19T21:40:38Z", "description": "CA Location DHL eCommerce - Solutions Account", "reference": null, "billing_type": "carrier", "readable": - "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": - "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce - Solutions client secret", "value": "********"}, "pickup_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, - "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions - distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", - "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test - DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", - "value": "123456"}, "distribution_center": {"visibility": "visible", "label": - "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1481' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaec56e78b9b2a000ccd88 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.109454' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/carrier_accounts/ca_65b36650ca424c4192f3042b7c5f5df6 - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaec56e78b9b2b000ccdd2 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.113342' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location - DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": - "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": - {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", - "pickup_id": "123456"}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '359' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/carrier_accounts - response: - body: - string: '{"id": "ca_e28dd57017e242f191118f3651292e76", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T21:43:07Z", - "updated_at": "2024-01-19T21:43:07Z", "description": "CA Location DHL eCommerce - Solutions Account", "reference": null, "billing_type": "carrier", "readable": - "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": - "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce - Solutions client secret", "value": "********"}, "pickup_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, - "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions - distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", - "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test - DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", - "value": "123456"}, "distribution_center": {"visibility": "visible", "label": - "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1481' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaecebe78ba362000d2b80 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.113862' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/carrier_accounts/ca_e28dd57017e242f191118f3651292e76 - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaecece78ba363000d2bba - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.114131' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location - DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": - "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": - {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", - "pickup_id": "123456"}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '359' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/carrier_accounts - response: - body: - string: '{"id": "ca_b96741971fb54ab6a619a94038db5191", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T21:46:57Z", - "updated_at": "2024-01-19T21:46:57Z", "description": "CA Location DHL eCommerce - Solutions Account", "reference": null, "billing_type": "carrier", "readable": - "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": - "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce - Solutions client secret", "value": "********"}, "pickup_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, - "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions - distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", - "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test - DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", - "value": "123456"}, "distribution_center": {"visibility": "visible", "label": - "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1481' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdaa65aaedd1e78bac0500111f71 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.107736' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/carrier_accounts/ca_b96741971fb54ab6a619a94038db5191 - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdae65aaedd2e78bac0600111fb3 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.127970' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location - DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": - "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": - {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", - "pickup_id": "123456"}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '359' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/carrier_accounts - response: - body: - string: '{"id": "ca_458c949b6cc942d88209098f599b216d", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T21:48:49Z", - "updated_at": "2024-01-19T21:48:49Z", "description": "CA Location DHL eCommerce - Solutions Account", "reference": null, "billing_type": "carrier", "readable": - "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": - "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce - Solutions client secret", "value": "********"}, "pickup_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, - "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions - distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", - "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test - DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", - "value": "123456"}, "distribution_center": {"visibility": "visible", "label": - "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1481' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdae65aaee41e78bb424001163d6 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.115747' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/carrier_accounts/ca_458c949b6cc942d88209098f599b216d - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdaa65aaee41e78bb4250011640b - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.114290' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location - DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": - "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": - {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", - "pickup_id": "123456"}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '359' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/carrier_accounts - response: - body: - string: '{"id": "ca_cac9e8228ea84336804a0960504b0d00", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T21:58:09Z", - "updated_at": "2024-01-19T21:58:09Z", "description": "CA Location DHL eCommerce - Solutions Account", "reference": null, "billing_type": "carrier", "readable": - "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": - "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce - Solutions client secret", "value": "********"}, "pickup_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, - "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions - distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", - "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test - DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", - "value": "123456"}, "distribution_center": {"visibility": "visible", "label": - "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1481' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaf071e798bbba000f686b - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.109726' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/carrier_accounts/ca_cac9e8228ea84336804a0960504b0d00 - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf072e798bbbb000f6896 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.119476' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location - DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": - "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": - {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", - "pickup_id": "123456"}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '359' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/carrier_accounts - response: - body: - string: '{"id": "ca_4f0312b790e8416fba62ad775f207d20", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T22:01:03Z", - "updated_at": "2024-01-19T22:01:03Z", "description": "CA Location DHL eCommerce - Solutions Account", "reference": null, "billing_type": "carrier", "readable": - "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": - "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce - Solutions client secret", "value": "********"}, "pickup_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, - "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions - distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", - "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test - DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", - "value": "123456"}, "distribution_center": {"visibility": "visible", "label": - "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1481' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaf11fe798c41a000fecd6 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.112590' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/carrier_accounts/ca_4f0312b790e8416fba62ad775f207d20 - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf11fe798c41b000fed19 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.114465' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location - DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": - "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": - {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", - "pickup_id": "123456"}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '359' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/carrier_accounts - response: - body: - string: '{"id": "ca_76fc84e39d4247db89bc77780e784d10", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T22:03:07Z", - "updated_at": "2024-01-19T22:03:07Z", "description": "CA Location DHL eCommerce - Solutions Account", "reference": null, "billing_type": "carrier", "readable": - "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": - "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce - Solutions client secret", "value": "********"}, "pickup_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, - "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions - distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", - "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test - DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", - "value": "123456"}, "distribution_center": {"visibility": "visible", "label": - "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1481' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf19be798cc5a001058c1 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.109757' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location - DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": - "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": - {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", - "pickup_id": "123456"}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '359' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/carrier_accounts - response: - body: - string: '{"id": "ca_8a914f6a3faf4755b3c500e527841574", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T22:04:50Z", - "updated_at": "2024-01-19T22:04:50Z", "description": "CA Location DHL eCommerce - Solutions Account", "reference": null, "billing_type": "carrier", "readable": - "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": - "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce - Solutions client secret", "value": "********"}, "pickup_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, - "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions - distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", - "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test - DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", - "value": "123456"}, "distribution_center": {"visibility": "visible", "label": - "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1481' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf202e798ccfe0010a1ce - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.110308' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/carrier_accounts/ca_8a914f6a3faf4755b3c500e527841574 - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaf202e798ccff0010a202 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.117930' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location - DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": - "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": - {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", - "pickup_id": "123456"}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '359' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/carrier_accounts - response: - body: - string: '{"id": "ca_26a7b8112c0a40ba80b1bf29b4ea3904", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T22:06:22Z", - "updated_at": "2024-01-19T22:06:22Z", "description": "CA Location DHL eCommerce - Solutions Account", "reference": null, "billing_type": "carrier", "readable": - "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": - "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce - Solutions client secret", "value": "********"}, "pickup_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, - "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions - distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", - "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test - DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", - "value": "123456"}, "distribution_center": {"visibility": "visible", "label": - "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1481' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf25ee798d49f0010e05d - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.110038' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/carrier_accounts/ca_26a7b8112c0a40ba80b1bf29b4ea3904 - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf25ee798d4a00010e09a - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.115217' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location - DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": - "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": - {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", - "pickup_id": "123456"}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '359' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/carrier_accounts - response: - body: - string: '{"id": "ca_50973fe5d6924ee3925c875bbfd86183", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T23:38:26Z", - "updated_at": "2024-01-19T23:38:26Z", "description": "CA Location DHL eCommerce - Solutions Account", "reference": null, "billing_type": "carrier", "readable": - "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": - "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce - Solutions client secret", "value": "********"}, "pickup_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, - "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions - distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", - "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test - DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", - "value": "123456"}, "distribution_center": {"visibility": "visible", "label": - "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1481' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565ab07f2e799e5a0001d7812 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.111220' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/carrier_accounts/ca_50973fe5d6924ee3925c875bbfd86183 - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365ab07f2e799e5a1001d7841 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.121840' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_carrier_accounts_delete.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_carrier_accounts_delete.yaml deleted file mode 100644 index 5398791f..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_carrier_accounts_delete.yaml +++ /dev/null @@ -1,1222 +0,0 @@ -interactions: -- request: - body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location - DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": - "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": - {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", - "pickup_id": "123456"}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '359' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/carrier_accounts - response: - body: - string: '{"id": "ca_78190d5654d14619957d00ba081d2bc9", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T21:40:42Z", - "updated_at": "2024-01-19T21:40:42Z", "description": "CA Location DHL eCommerce - Solutions Account", "reference": null, "billing_type": "carrier", "readable": - "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": - "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce - Solutions client secret", "value": "********"}, "pickup_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, - "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions - distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", - "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test - DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", - "value": "123456"}, "distribution_center": {"visibility": "visible", "label": - "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1481' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaec5ae78b9b4b000ccfce - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.113192' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/carrier_accounts/ca_78190d5654d14619957d00ba081d2bc9 - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaec5ae78b9b4c000cd009 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.114587' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location - DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": - "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": - {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", - "pickup_id": "123456"}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '359' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/carrier_accounts - response: - body: - string: '{"id": "ca_fc3a40d1588c47ce86751514612956f6", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T21:43:10Z", - "updated_at": "2024-01-19T21:43:10Z", "description": "CA Location DHL eCommerce - Solutions Account", "reference": null, "billing_type": "carrier", "readable": - "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": - "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce - Solutions client secret", "value": "********"}, "pickup_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, - "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions - distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", - "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test - DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", - "value": "123456"}, "distribution_center": {"visibility": "visible", "label": - "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1481' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaeceee78ba386000d2d76 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.120582' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/carrier_accounts/ca_fc3a40d1588c47ce86751514612956f6 - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaecefe78ba387000d2daf - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.113423' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location - DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": - "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": - {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", - "pickup_id": "123456"}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '359' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/carrier_accounts - response: - body: - string: '{"id": "ca_81aa2f4ebc7942afa55db401d95dbb7f", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T21:47:01Z", - "updated_at": "2024-01-19T21:47:01Z", "description": "CA Location DHL eCommerce - Solutions Account", "reference": null, "billing_type": "carrier", "readable": - "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": - "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce - Solutions client secret", "value": "********"}, "pickup_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, - "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions - distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", - "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test - DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", - "value": "123456"}, "distribution_center": {"visibility": "visible", "label": - "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1481' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdac65aaedd5e78bac26001121a0 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.112406' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/carrier_accounts/ca_81aa2f4ebc7942afa55db401d95dbb7f - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdad65aaedd5e78bac27001121da - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.127231' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location - DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": - "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": - {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", - "pickup_id": "123456"}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '359' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/carrier_accounts - response: - body: - string: '{"id": "ca_1527d516c47d42f8bd1c2db5efdab93a", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T21:48:53Z", - "updated_at": "2024-01-19T21:48:53Z", "description": "CA Location DHL eCommerce - Solutions Account", "reference": null, "billing_type": "carrier", "readable": - "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": - "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce - Solutions client secret", "value": "********"}, "pickup_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, - "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions - distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", - "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test - DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", - "value": "123456"}, "distribution_center": {"visibility": "visible", "label": - "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1481' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdaa65aaee44e78bb42d001165c0 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.127715' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/carrier_accounts/ca_1527d516c47d42f8bd1c2db5efdab93a - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdab65aaee45e78bb448001165f2 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.124083' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location - DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": - "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": - {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", - "pickup_id": "123456"}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '359' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/carrier_accounts - response: - body: - string: '{"id": "ca_23aa20424ea24c769194958b353d1f9e", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T21:58:13Z", - "updated_at": "2024-01-19T21:58:13Z", "description": "CA Location DHL eCommerce - Solutions Account", "reference": null, "billing_type": "carrier", "readable": - "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": - "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce - Solutions client secret", "value": "********"}, "pickup_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, - "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions - distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", - "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test - DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", - "value": "123456"}, "distribution_center": {"visibility": "visible", "label": - "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1481' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaf075e798bbda000f6ad2 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.110079' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/carrier_accounts/ca_23aa20424ea24c769194958b353d1f9e - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaf076e798bbdb000f6b13 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.116221' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location - DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": - "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": - {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", - "pickup_id": "123456"}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '359' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/carrier_accounts - response: - body: - string: '{"id": "ca_e7c0f3575363407fa3f735654d5bffbf", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T22:01:07Z", - "updated_at": "2024-01-19T22:01:07Z", "description": "CA Location DHL eCommerce - Solutions Account", "reference": null, "billing_type": "carrier", "readable": - "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": - "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce - Solutions client secret", "value": "********"}, "pickup_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, - "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions - distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", - "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test - DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", - "value": "123456"}, "distribution_center": {"visibility": "visible", "label": - "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1481' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf123e798c43a000ff033 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.108611' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/carrier_accounts/ca_e7c0f3575363407fa3f735654d5bffbf - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf124e798c43b000ff0c8 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.123796' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location - DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": - "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": - {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", - "pickup_id": "123456"}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '359' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/carrier_accounts - response: - body: - string: '{"id": "ca_6371384c011e42cc8e60a213fbfccffb", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T22:04:54Z", - "updated_at": "2024-01-19T22:04:54Z", "description": "CA Location DHL eCommerce - Solutions Account", "reference": null, "billing_type": "carrier", "readable": - "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": - "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce - Solutions client secret", "value": "********"}, "pickup_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, - "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions - distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", - "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test - DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", - "value": "123456"}, "distribution_center": {"visibility": "visible", "label": - "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1481' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf206e798cd070010a437 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.111932' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/carrier_accounts/ca_6371384c011e42cc8e60a213fbfccffb - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf206e798cd1f0010a461 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.137454' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location - DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": - "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": - {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", - "pickup_id": "123456"}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '359' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/carrier_accounts - response: - body: - string: '{"id": "ca_2a9a4e70ecae4a12a0f4249a9b3cc860", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T22:06:26Z", - "updated_at": "2024-01-19T22:06:26Z", "description": "CA Location DHL eCommerce - Solutions Account", "reference": null, "billing_type": "carrier", "readable": - "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": - "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce - Solutions client secret", "value": "********"}, "pickup_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, - "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions - distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", - "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test - DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", - "value": "123456"}, "distribution_center": {"visibility": "visible", "label": - "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1481' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf262e798d4c00010e303 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.110967' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/carrier_accounts/ca_2a9a4e70ecae4a12a0f4249a9b3cc860 - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf262e798d4c10010e32e - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.116321' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_carrier_accounts_list.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_carrier_accounts_list.yaml deleted file mode 100644 index db88cfe1..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_carrier_accounts_list.yaml +++ /dev/null @@ -1,1829 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/carrier_accounts?page_size=1 - response: - body: - string: '[{"id": "ca_b25657e9896e4d63ac8151ac346ac41e", "object": "CarrierAccount", - "type": "UspsAccount", "clone": false, "created_at": "2017-03-01T03:01:34Z", - "updated_at": "2018-08-09T02:45:22Z", "description": "USPS Account", "reference": - null, "billing_type": "easypost", "readable": "USPS", "logo": null, "fields": - {"credentials": {"company_name": {"visibility": "visible", "label": "Account - Holder Name", "value": ""}, "address_street": {"visibility": "visible", "label": - "Street Address", "value": ""}, "address_city": {"visibility": "visible", - "label": "City", "value": ""}, "address_state": {"visibility": "visible", - "label": "State", "value": ""}, "address_zip": {"visibility": "visible", "label": - "ZIP Code", "value": ""}, "phone": {"visibility": "visible", "label": "Phone - Number", "value": ""}, "email": {"visibility": "visible", "label": "Email - Address", "value": null}, "shipper_id": {"visibility": "visible", "label": - "Shipper Identifier (Optional)", "value": ""}}}, "credentials": {"company_name": - "", "address_street": "", "address_city": "", "address_state": "", "address_zip": - "", "phone": "", "email": null, "shipper_id": ""}, "test_credentials": null}, - {"id": "ca_05ab5a0345634187b52daaf787aa4cd0", "object": "CarrierAccount", - "type": "LsoDefaultAccount", "clone": false, "created_at": "2022-04-26T16:58:59Z", - "updated_at": "2022-04-26T16:58:59Z", "description": "LSO Account", "reference": - null, "billing_type": "easypost", "readable": "LSO", "logo": null, "fields": - {"credentials": {}}, "credentials": {}, "test_credentials": null}, {"id": - "ca_d38ae88b6edb48ed93c0a16ed068215b", "object": "CarrierAccount", "type": - "DhlExpressDefaultAccount", "clone": false, "created_at": "2022-04-26T16:59:02Z", - "updated_at": "2022-04-26T16:59:02Z", "description": "DHL Express Account", - "reference": null, "billing_type": "easypost", "readable": "DHL Express", - "logo": null, "fields": {"credentials": {}}, "credentials": {}, "test_credentials": - null}, {"id": "ca_c3cbbd21bc97400bbbaed6d030909476", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2022-08-15T18:51:36Z", - "updated_at": "2022-08-15T18:51:36Z", "description": "DHL eCommerce Solutions - Account", "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce - Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions client ID", "value": "123456"}, - "client_secret": {"visibility": "password", "label": "DHL eCommerce Solutions - client secret", "value": "********"}, "pickup_id": {"visibility": "visible", - "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", - "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", - "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": - {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", - "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test - DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution - center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": - "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": - {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", - "distribution_center": "USLAX1"}}, {"id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "object": "CarrierAccount", "type": "DhlEcsAccount", "clone": false, "created_at": - "2023-05-12T21:15:15Z", "updated_at": "2023-05-12T21:15:15Z", "description": - "DHL eCommerce Solutions Account", "reference": null, "billing_type": "carrier", - "readable": "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": - {"client_id": {"visibility": "visible", "label": "DHL eCommerce Solutions - client ID", "value": "123456"}, "client_secret": {"visibility": "password", - "label": "DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions pickup ID", "value": - "123456"}, "distribution_center": {"visibility": "visible", "label": "DHL - eCommerce Solutions distribution center", "value": "USLAX1"}}, "test_credentials": - {"client_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions - client ID", "value": "123456"}, "client_secret": {"visibility": "password", - "label": "Test DHL eCommerce Solutions client secret", "value": "********"}, - "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions - pickup ID", "value": "123456"}, "distribution_center": {"visibility": "visible", - "label": "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}, {"id": "ca_99007e1aeb66421faf82676f1199481e", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2023-05-12T21:15:15Z", - "updated_at": "2023-05-12T21:15:15Z", "description": "DHL eCommerce Solutions - Account", "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce - Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions client ID", "value": "123456"}, - "client_secret": {"visibility": "password", "label": "DHL eCommerce Solutions - client secret", "value": "********"}, "pickup_id": {"visibility": "visible", - "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", - "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", - "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": - {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", - "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test - DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution - center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": - "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": - {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", - "distribution_center": "USLAX1"}}, {"id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "object": "CarrierAccount", "type": "DhlEcsAccount", "clone": false, "created_at": - "2023-05-12T21:15:16Z", "updated_at": "2023-05-12T21:15:16Z", "description": - "DHL eCommerce Solutions Account", "reference": null, "billing_type": "carrier", - "readable": "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": - {"client_id": {"visibility": "visible", "label": "DHL eCommerce Solutions - client ID", "value": "123456"}, "client_secret": {"visibility": "password", - "label": "DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions pickup ID", "value": - "123456"}, "distribution_center": {"visibility": "visible", "label": "DHL - eCommerce Solutions distribution center", "value": "USLAX1"}}, "test_credentials": - {"client_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions - client ID", "value": "123456"}, "client_secret": {"visibility": "password", - "label": "Test DHL eCommerce Solutions client secret", "value": "********"}, - "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions - pickup ID", "value": "123456"}, "distribution_center": {"visibility": "visible", - "label": "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}, {"id": "ca_b1a0a1bc45844159812e0224d53948ea", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2023-05-12T21:15:16Z", - "updated_at": "2023-05-12T21:15:16Z", "description": "DHL eCommerce Solutions - Account", "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce - Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions client ID", "value": "123456"}, - "client_secret": {"visibility": "password", "label": "DHL eCommerce Solutions - client secret", "value": "********"}, "pickup_id": {"visibility": "visible", - "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", - "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", - "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": - {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", - "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test - DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution - center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": - "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": - {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", - "distribution_center": "USLAX1"}}, {"id": "ca_c7b4cfaf671b4984b84023d77561394a", - "object": "CarrierAccount", "type": "DhlEcsAccount", "clone": false, "created_at": - "2023-05-12T21:18:18Z", "updated_at": "2023-05-12T21:18:18Z", "description": - "DHL eCommerce Solutions Account", "reference": null, "billing_type": "carrier", - "readable": "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": - {"client_id": {"visibility": "visible", "label": "DHL eCommerce Solutions - client ID", "value": "123456"}, "client_secret": {"visibility": "password", - "label": "DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions pickup ID", "value": - "123456"}, "distribution_center": {"visibility": "visible", "label": "DHL - eCommerce Solutions distribution center", "value": "USLAX1"}}, "test_credentials": - {"client_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions - client ID", "value": "123456"}, "client_secret": {"visibility": "password", - "label": "Test DHL eCommerce Solutions client secret", "value": "********"}, - "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions - pickup ID", "value": "123456"}, "distribution_center": {"visibility": "visible", - "label": "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}]' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '10617' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaec58e78b9b46000ccebc - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.382234' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/carrier_accounts?page_size=1 - response: - body: - string: '[{"id": "ca_b25657e9896e4d63ac8151ac346ac41e", "object": "CarrierAccount", - "type": "UspsAccount", "clone": false, "created_at": "2017-03-01T03:01:34Z", - "updated_at": "2018-08-09T02:45:22Z", "description": "USPS Account", "reference": - null, "billing_type": "easypost", "readable": "USPS", "logo": null, "fields": - {"credentials": {"company_name": {"visibility": "visible", "label": "Account - Holder Name", "value": ""}, "address_street": {"visibility": "visible", "label": - "Street Address", "value": ""}, "address_city": {"visibility": "visible", - "label": "City", "value": ""}, "address_state": {"visibility": "visible", - "label": "State", "value": ""}, "address_zip": {"visibility": "visible", "label": - "ZIP Code", "value": ""}, "phone": {"visibility": "visible", "label": "Phone - Number", "value": ""}, "email": {"visibility": "visible", "label": "Email - Address", "value": null}, "shipper_id": {"visibility": "visible", "label": - "Shipper Identifier (Optional)", "value": ""}}}, "credentials": {"company_name": - "", "address_street": "", "address_city": "", "address_state": "", "address_zip": - "", "phone": "", "email": null, "shipper_id": ""}, "test_credentials": null}, - {"id": "ca_05ab5a0345634187b52daaf787aa4cd0", "object": "CarrierAccount", - "type": "LsoDefaultAccount", "clone": false, "created_at": "2022-04-26T16:58:59Z", - "updated_at": "2022-04-26T16:58:59Z", "description": "LSO Account", "reference": - null, "billing_type": "easypost", "readable": "LSO", "logo": null, "fields": - {"credentials": {}}, "credentials": {}, "test_credentials": null}, {"id": - "ca_d38ae88b6edb48ed93c0a16ed068215b", "object": "CarrierAccount", "type": - "DhlExpressDefaultAccount", "clone": false, "created_at": "2022-04-26T16:59:02Z", - "updated_at": "2022-04-26T16:59:02Z", "description": "DHL Express Account", - "reference": null, "billing_type": "easypost", "readable": "DHL Express", - "logo": null, "fields": {"credentials": {}}, "credentials": {}, "test_credentials": - null}, {"id": "ca_c3cbbd21bc97400bbbaed6d030909476", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2022-08-15T18:51:36Z", - "updated_at": "2022-08-15T18:51:36Z", "description": "DHL eCommerce Solutions - Account", "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce - Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions client ID", "value": "123456"}, - "client_secret": {"visibility": "password", "label": "DHL eCommerce Solutions - client secret", "value": "********"}, "pickup_id": {"visibility": "visible", - "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", - "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", - "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": - {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", - "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test - DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution - center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": - "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": - {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", - "distribution_center": "USLAX1"}}, {"id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "object": "CarrierAccount", "type": "DhlEcsAccount", "clone": false, "created_at": - "2023-05-12T21:15:15Z", "updated_at": "2023-05-12T21:15:15Z", "description": - "DHL eCommerce Solutions Account", "reference": null, "billing_type": "carrier", - "readable": "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": - {"client_id": {"visibility": "visible", "label": "DHL eCommerce Solutions - client ID", "value": "123456"}, "client_secret": {"visibility": "password", - "label": "DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions pickup ID", "value": - "123456"}, "distribution_center": {"visibility": "visible", "label": "DHL - eCommerce Solutions distribution center", "value": "USLAX1"}}, "test_credentials": - {"client_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions - client ID", "value": "123456"}, "client_secret": {"visibility": "password", - "label": "Test DHL eCommerce Solutions client secret", "value": "********"}, - "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions - pickup ID", "value": "123456"}, "distribution_center": {"visibility": "visible", - "label": "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}, {"id": "ca_99007e1aeb66421faf82676f1199481e", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2023-05-12T21:15:15Z", - "updated_at": "2023-05-12T21:15:15Z", "description": "DHL eCommerce Solutions - Account", "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce - Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions client ID", "value": "123456"}, - "client_secret": {"visibility": "password", "label": "DHL eCommerce Solutions - client secret", "value": "********"}, "pickup_id": {"visibility": "visible", - "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", - "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", - "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": - {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", - "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test - DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution - center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": - "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": - {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", - "distribution_center": "USLAX1"}}, {"id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "object": "CarrierAccount", "type": "DhlEcsAccount", "clone": false, "created_at": - "2023-05-12T21:15:16Z", "updated_at": "2023-05-12T21:15:16Z", "description": - "DHL eCommerce Solutions Account", "reference": null, "billing_type": "carrier", - "readable": "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": - {"client_id": {"visibility": "visible", "label": "DHL eCommerce Solutions - client ID", "value": "123456"}, "client_secret": {"visibility": "password", - "label": "DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions pickup ID", "value": - "123456"}, "distribution_center": {"visibility": "visible", "label": "DHL - eCommerce Solutions distribution center", "value": "USLAX1"}}, "test_credentials": - {"client_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions - client ID", "value": "123456"}, "client_secret": {"visibility": "password", - "label": "Test DHL eCommerce Solutions client secret", "value": "********"}, - "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions - pickup ID", "value": "123456"}, "distribution_center": {"visibility": "visible", - "label": "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}, {"id": "ca_b1a0a1bc45844159812e0224d53948ea", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2023-05-12T21:15:16Z", - "updated_at": "2023-05-12T21:15:16Z", "description": "DHL eCommerce Solutions - Account", "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce - Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions client ID", "value": "123456"}, - "client_secret": {"visibility": "password", "label": "DHL eCommerce Solutions - client secret", "value": "********"}, "pickup_id": {"visibility": "visible", - "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", - "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", - "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": - {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", - "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test - DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution - center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": - "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": - {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", - "distribution_center": "USLAX1"}}, {"id": "ca_c7b4cfaf671b4984b84023d77561394a", - "object": "CarrierAccount", "type": "DhlEcsAccount", "clone": false, "created_at": - "2023-05-12T21:18:18Z", "updated_at": "2023-05-12T21:18:18Z", "description": - "DHL eCommerce Solutions Account", "reference": null, "billing_type": "carrier", - "readable": "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": - {"client_id": {"visibility": "visible", "label": "DHL eCommerce Solutions - client ID", "value": "123456"}, "client_secret": {"visibility": "password", - "label": "DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions pickup ID", "value": - "123456"}, "distribution_center": {"visibility": "visible", "label": "DHL - eCommerce Solutions distribution center", "value": "USLAX1"}}, "test_credentials": - {"client_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions - client ID", "value": "123456"}, "client_secret": {"visibility": "password", - "label": "Test DHL eCommerce Solutions client secret", "value": "********"}, - "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions - pickup ID", "value": "123456"}, "distribution_center": {"visibility": "visible", - "label": "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}]' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '10617' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaecede78ba367000d2c78 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.113130' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/carrier_accounts?page_size=1 - response: - body: - string: '[{"id": "ca_b25657e9896e4d63ac8151ac346ac41e", "object": "CarrierAccount", - "type": "UspsAccount", "clone": false, "created_at": "2017-03-01T03:01:34Z", - "updated_at": "2018-08-09T02:45:22Z", "description": "USPS Account", "reference": - null, "billing_type": "easypost", "readable": "USPS", "logo": null, "fields": - {"credentials": {"company_name": {"visibility": "visible", "label": "Account - Holder Name", "value": ""}, "address_street": {"visibility": "visible", "label": - "Street Address", "value": ""}, "address_city": {"visibility": "visible", - "label": "City", "value": ""}, "address_state": {"visibility": "visible", - "label": "State", "value": ""}, "address_zip": {"visibility": "visible", "label": - "ZIP Code", "value": ""}, "phone": {"visibility": "visible", "label": "Phone - Number", "value": ""}, "email": {"visibility": "visible", "label": "Email - Address", "value": null}, "shipper_id": {"visibility": "visible", "label": - "Shipper Identifier (Optional)", "value": ""}}}, "credentials": {"company_name": - "", "address_street": "", "address_city": "", "address_state": "", "address_zip": - "", "phone": "", "email": null, "shipper_id": ""}, "test_credentials": null}, - {"id": "ca_05ab5a0345634187b52daaf787aa4cd0", "object": "CarrierAccount", - "type": "LsoDefaultAccount", "clone": false, "created_at": "2022-04-26T16:58:59Z", - "updated_at": "2022-04-26T16:58:59Z", "description": "LSO Account", "reference": - null, "billing_type": "easypost", "readable": "LSO", "logo": null, "fields": - {"credentials": {}}, "credentials": {}, "test_credentials": null}, {"id": - "ca_d38ae88b6edb48ed93c0a16ed068215b", "object": "CarrierAccount", "type": - "DhlExpressDefaultAccount", "clone": false, "created_at": "2022-04-26T16:59:02Z", - "updated_at": "2022-04-26T16:59:02Z", "description": "DHL Express Account", - "reference": null, "billing_type": "easypost", "readable": "DHL Express", - "logo": null, "fields": {"credentials": {}}, "credentials": {}, "test_credentials": - null}, {"id": "ca_c3cbbd21bc97400bbbaed6d030909476", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2022-08-15T18:51:36Z", - "updated_at": "2022-08-15T18:51:36Z", "description": "DHL eCommerce Solutions - Account", "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce - Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions client ID", "value": "123456"}, - "client_secret": {"visibility": "password", "label": "DHL eCommerce Solutions - client secret", "value": "********"}, "pickup_id": {"visibility": "visible", - "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", - "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", - "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": - {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", - "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test - DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution - center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": - "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": - {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", - "distribution_center": "USLAX1"}}, {"id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "object": "CarrierAccount", "type": "DhlEcsAccount", "clone": false, "created_at": - "2023-05-12T21:15:15Z", "updated_at": "2023-05-12T21:15:15Z", "description": - "DHL eCommerce Solutions Account", "reference": null, "billing_type": "carrier", - "readable": "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": - {"client_id": {"visibility": "visible", "label": "DHL eCommerce Solutions - client ID", "value": "123456"}, "client_secret": {"visibility": "password", - "label": "DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions pickup ID", "value": - "123456"}, "distribution_center": {"visibility": "visible", "label": "DHL - eCommerce Solutions distribution center", "value": "USLAX1"}}, "test_credentials": - {"client_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions - client ID", "value": "123456"}, "client_secret": {"visibility": "password", - "label": "Test DHL eCommerce Solutions client secret", "value": "********"}, - "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions - pickup ID", "value": "123456"}, "distribution_center": {"visibility": "visible", - "label": "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}, {"id": "ca_99007e1aeb66421faf82676f1199481e", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2023-05-12T21:15:15Z", - "updated_at": "2023-05-12T21:15:15Z", "description": "DHL eCommerce Solutions - Account", "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce - Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions client ID", "value": "123456"}, - "client_secret": {"visibility": "password", "label": "DHL eCommerce Solutions - client secret", "value": "********"}, "pickup_id": {"visibility": "visible", - "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", - "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", - "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": - {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", - "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test - DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution - center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": - "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": - {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", - "distribution_center": "USLAX1"}}, {"id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "object": "CarrierAccount", "type": "DhlEcsAccount", "clone": false, "created_at": - "2023-05-12T21:15:16Z", "updated_at": "2023-05-12T21:15:16Z", "description": - "DHL eCommerce Solutions Account", "reference": null, "billing_type": "carrier", - "readable": "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": - {"client_id": {"visibility": "visible", "label": "DHL eCommerce Solutions - client ID", "value": "123456"}, "client_secret": {"visibility": "password", - "label": "DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions pickup ID", "value": - "123456"}, "distribution_center": {"visibility": "visible", "label": "DHL - eCommerce Solutions distribution center", "value": "USLAX1"}}, "test_credentials": - {"client_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions - client ID", "value": "123456"}, "client_secret": {"visibility": "password", - "label": "Test DHL eCommerce Solutions client secret", "value": "********"}, - "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions - pickup ID", "value": "123456"}, "distribution_center": {"visibility": "visible", - "label": "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}, {"id": "ca_b1a0a1bc45844159812e0224d53948ea", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2023-05-12T21:15:16Z", - "updated_at": "2023-05-12T21:15:16Z", "description": "DHL eCommerce Solutions - Account", "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce - Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions client ID", "value": "123456"}, - "client_secret": {"visibility": "password", "label": "DHL eCommerce Solutions - client secret", "value": "********"}, "pickup_id": {"visibility": "visible", - "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", - "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", - "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": - {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", - "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test - DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution - center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": - "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": - {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", - "distribution_center": "USLAX1"}}, {"id": "ca_c7b4cfaf671b4984b84023d77561394a", - "object": "CarrierAccount", "type": "DhlEcsAccount", "clone": false, "created_at": - "2023-05-12T21:18:18Z", "updated_at": "2023-05-12T21:18:18Z", "description": - "DHL eCommerce Solutions Account", "reference": null, "billing_type": "carrier", - "readable": "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": - {"client_id": {"visibility": "visible", "label": "DHL eCommerce Solutions - client ID", "value": "123456"}, "client_secret": {"visibility": "password", - "label": "DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions pickup ID", "value": - "123456"}, "distribution_center": {"visibility": "visible", "label": "DHL - eCommerce Solutions distribution center", "value": "USLAX1"}}, "test_credentials": - {"client_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions - client ID", "value": "123456"}, "client_secret": {"visibility": "password", - "label": "Test DHL eCommerce Solutions client secret", "value": "********"}, - "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions - pickup ID", "value": "123456"}, "distribution_center": {"visibility": "visible", - "label": "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}]' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '10617' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda865aaedd3e78bac0a0011209a - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.232096' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/carrier_accounts?page_size=1 - response: - body: - string: '[{"id": "ca_b25657e9896e4d63ac8151ac346ac41e", "object": "CarrierAccount", - "type": "UspsAccount", "clone": false, "created_at": "2017-03-01T03:01:34Z", - "updated_at": "2018-08-09T02:45:22Z", "description": "USPS Account", "reference": - null, "billing_type": "easypost", "readable": "USPS", "logo": null, "fields": - {"credentials": {"company_name": {"visibility": "visible", "label": "Account - Holder Name", "value": ""}, "address_street": {"visibility": "visible", "label": - "Street Address", "value": ""}, "address_city": {"visibility": "visible", - "label": "City", "value": ""}, "address_state": {"visibility": "visible", - "label": "State", "value": ""}, "address_zip": {"visibility": "visible", "label": - "ZIP Code", "value": ""}, "phone": {"visibility": "visible", "label": "Phone - Number", "value": ""}, "email": {"visibility": "visible", "label": "Email - Address", "value": null}, "shipper_id": {"visibility": "visible", "label": - "Shipper Identifier (Optional)", "value": ""}}}, "credentials": {"company_name": - "", "address_street": "", "address_city": "", "address_state": "", "address_zip": - "", "phone": "", "email": null, "shipper_id": ""}, "test_credentials": null}, - {"id": "ca_05ab5a0345634187b52daaf787aa4cd0", "object": "CarrierAccount", - "type": "LsoDefaultAccount", "clone": false, "created_at": "2022-04-26T16:58:59Z", - "updated_at": "2022-04-26T16:58:59Z", "description": "LSO Account", "reference": - null, "billing_type": "easypost", "readable": "LSO", "logo": null, "fields": - {"credentials": {}}, "credentials": {}, "test_credentials": null}, {"id": - "ca_d38ae88b6edb48ed93c0a16ed068215b", "object": "CarrierAccount", "type": - "DhlExpressDefaultAccount", "clone": false, "created_at": "2022-04-26T16:59:02Z", - "updated_at": "2022-04-26T16:59:02Z", "description": "DHL Express Account", - "reference": null, "billing_type": "easypost", "readable": "DHL Express", - "logo": null, "fields": {"credentials": {}}, "credentials": {}, "test_credentials": - null}, {"id": "ca_c3cbbd21bc97400bbbaed6d030909476", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2022-08-15T18:51:36Z", - "updated_at": "2022-08-15T18:51:36Z", "description": "DHL eCommerce Solutions - Account", "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce - Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions client ID", "value": "123456"}, - "client_secret": {"visibility": "password", "label": "DHL eCommerce Solutions - client secret", "value": "********"}, "pickup_id": {"visibility": "visible", - "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", - "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", - "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": - {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", - "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test - DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution - center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": - "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": - {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", - "distribution_center": "USLAX1"}}, {"id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "object": "CarrierAccount", "type": "DhlEcsAccount", "clone": false, "created_at": - "2023-05-12T21:15:15Z", "updated_at": "2023-05-12T21:15:15Z", "description": - "DHL eCommerce Solutions Account", "reference": null, "billing_type": "carrier", - "readable": "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": - {"client_id": {"visibility": "visible", "label": "DHL eCommerce Solutions - client ID", "value": "123456"}, "client_secret": {"visibility": "password", - "label": "DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions pickup ID", "value": - "123456"}, "distribution_center": {"visibility": "visible", "label": "DHL - eCommerce Solutions distribution center", "value": "USLAX1"}}, "test_credentials": - {"client_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions - client ID", "value": "123456"}, "client_secret": {"visibility": "password", - "label": "Test DHL eCommerce Solutions client secret", "value": "********"}, - "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions - pickup ID", "value": "123456"}, "distribution_center": {"visibility": "visible", - "label": "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}, {"id": "ca_99007e1aeb66421faf82676f1199481e", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2023-05-12T21:15:15Z", - "updated_at": "2023-05-12T21:15:15Z", "description": "DHL eCommerce Solutions - Account", "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce - Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions client ID", "value": "123456"}, - "client_secret": {"visibility": "password", "label": "DHL eCommerce Solutions - client secret", "value": "********"}, "pickup_id": {"visibility": "visible", - "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", - "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", - "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": - {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", - "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test - DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution - center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": - "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": - {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", - "distribution_center": "USLAX1"}}, {"id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "object": "CarrierAccount", "type": "DhlEcsAccount", "clone": false, "created_at": - "2023-05-12T21:15:16Z", "updated_at": "2023-05-12T21:15:16Z", "description": - "DHL eCommerce Solutions Account", "reference": null, "billing_type": "carrier", - "readable": "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": - {"client_id": {"visibility": "visible", "label": "DHL eCommerce Solutions - client ID", "value": "123456"}, "client_secret": {"visibility": "password", - "label": "DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions pickup ID", "value": - "123456"}, "distribution_center": {"visibility": "visible", "label": "DHL - eCommerce Solutions distribution center", "value": "USLAX1"}}, "test_credentials": - {"client_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions - client ID", "value": "123456"}, "client_secret": {"visibility": "password", - "label": "Test DHL eCommerce Solutions client secret", "value": "********"}, - "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions - pickup ID", "value": "123456"}, "distribution_center": {"visibility": "visible", - "label": "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}, {"id": "ca_b1a0a1bc45844159812e0224d53948ea", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2023-05-12T21:15:16Z", - "updated_at": "2023-05-12T21:15:16Z", "description": "DHL eCommerce Solutions - Account", "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce - Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions client ID", "value": "123456"}, - "client_secret": {"visibility": "password", "label": "DHL eCommerce Solutions - client secret", "value": "********"}, "pickup_id": {"visibility": "visible", - "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", - "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", - "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": - {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", - "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test - DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution - center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": - "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": - {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", - "distribution_center": "USLAX1"}}, {"id": "ca_c7b4cfaf671b4984b84023d77561394a", - "object": "CarrierAccount", "type": "DhlEcsAccount", "clone": false, "created_at": - "2023-05-12T21:18:18Z", "updated_at": "2023-05-12T21:18:18Z", "description": - "DHL eCommerce Solutions Account", "reference": null, "billing_type": "carrier", - "readable": "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": - {"client_id": {"visibility": "visible", "label": "DHL eCommerce Solutions - client ID", "value": "123456"}, "client_secret": {"visibility": "password", - "label": "DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions pickup ID", "value": - "123456"}, "distribution_center": {"visibility": "visible", "label": "DHL - eCommerce Solutions distribution center", "value": "USLAX1"}}, "test_credentials": - {"client_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions - client ID", "value": "123456"}, "client_secret": {"visibility": "password", - "label": "Test DHL eCommerce Solutions client secret", "value": "********"}, - "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions - pickup ID", "value": "123456"}, "distribution_center": {"visibility": "visible", - "label": "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}]' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '10617' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdab65aaee43e78bb429001164dd - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.234167' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/carrier_accounts?page_size=1 - response: - body: - string: '[{"id": "ca_b25657e9896e4d63ac8151ac346ac41e", "object": "CarrierAccount", - "type": "UspsAccount", "clone": false, "created_at": "2017-03-01T03:01:34Z", - "updated_at": "2018-08-09T02:45:22Z", "description": "USPS Account", "reference": - null, "billing_type": "easypost", "readable": "USPS", "logo": null, "fields": - {"credentials": {"company_name": {"visibility": "visible", "label": "Account - Holder Name", "value": ""}, "address_street": {"visibility": "visible", "label": - "Street Address", "value": ""}, "address_city": {"visibility": "visible", - "label": "City", "value": ""}, "address_state": {"visibility": "visible", - "label": "State", "value": ""}, "address_zip": {"visibility": "visible", "label": - "ZIP Code", "value": ""}, "phone": {"visibility": "visible", "label": "Phone - Number", "value": ""}, "email": {"visibility": "visible", "label": "Email - Address", "value": null}, "shipper_id": {"visibility": "visible", "label": - "Shipper Identifier (Optional)", "value": ""}}}, "credentials": {"company_name": - "", "address_street": "", "address_city": "", "address_state": "", "address_zip": - "", "phone": "", "email": null, "shipper_id": ""}, "test_credentials": null}, - {"id": "ca_05ab5a0345634187b52daaf787aa4cd0", "object": "CarrierAccount", - "type": "LsoDefaultAccount", "clone": false, "created_at": "2022-04-26T16:58:59Z", - "updated_at": "2022-04-26T16:58:59Z", "description": "LSO Account", "reference": - null, "billing_type": "easypost", "readable": "LSO", "logo": null, "fields": - {"credentials": {}}, "credentials": {}, "test_credentials": null}, {"id": - "ca_d38ae88b6edb48ed93c0a16ed068215b", "object": "CarrierAccount", "type": - "DhlExpressDefaultAccount", "clone": false, "created_at": "2022-04-26T16:59:02Z", - "updated_at": "2022-04-26T16:59:02Z", "description": "DHL Express Account", - "reference": null, "billing_type": "easypost", "readable": "DHL Express", - "logo": null, "fields": {"credentials": {}}, "credentials": {}, "test_credentials": - null}, {"id": "ca_c3cbbd21bc97400bbbaed6d030909476", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2022-08-15T18:51:36Z", - "updated_at": "2022-08-15T18:51:36Z", "description": "DHL eCommerce Solutions - Account", "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce - Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions client ID", "value": "123456"}, - "client_secret": {"visibility": "password", "label": "DHL eCommerce Solutions - client secret", "value": "********"}, "pickup_id": {"visibility": "visible", - "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", - "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", - "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": - {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", - "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test - DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution - center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": - "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": - {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", - "distribution_center": "USLAX1"}}, {"id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "object": "CarrierAccount", "type": "DhlEcsAccount", "clone": false, "created_at": - "2023-05-12T21:15:15Z", "updated_at": "2023-05-12T21:15:15Z", "description": - "DHL eCommerce Solutions Account", "reference": null, "billing_type": "carrier", - "readable": "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": - {"client_id": {"visibility": "visible", "label": "DHL eCommerce Solutions - client ID", "value": "123456"}, "client_secret": {"visibility": "password", - "label": "DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions pickup ID", "value": - "123456"}, "distribution_center": {"visibility": "visible", "label": "DHL - eCommerce Solutions distribution center", "value": "USLAX1"}}, "test_credentials": - {"client_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions - client ID", "value": "123456"}, "client_secret": {"visibility": "password", - "label": "Test DHL eCommerce Solutions client secret", "value": "********"}, - "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions - pickup ID", "value": "123456"}, "distribution_center": {"visibility": "visible", - "label": "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}, {"id": "ca_99007e1aeb66421faf82676f1199481e", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2023-05-12T21:15:15Z", - "updated_at": "2023-05-12T21:15:15Z", "description": "DHL eCommerce Solutions - Account", "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce - Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions client ID", "value": "123456"}, - "client_secret": {"visibility": "password", "label": "DHL eCommerce Solutions - client secret", "value": "********"}, "pickup_id": {"visibility": "visible", - "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", - "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", - "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": - {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", - "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test - DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution - center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": - "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": - {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", - "distribution_center": "USLAX1"}}, {"id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "object": "CarrierAccount", "type": "DhlEcsAccount", "clone": false, "created_at": - "2023-05-12T21:15:16Z", "updated_at": "2023-05-12T21:15:16Z", "description": - "DHL eCommerce Solutions Account", "reference": null, "billing_type": "carrier", - "readable": "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": - {"client_id": {"visibility": "visible", "label": "DHL eCommerce Solutions - client ID", "value": "123456"}, "client_secret": {"visibility": "password", - "label": "DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions pickup ID", "value": - "123456"}, "distribution_center": {"visibility": "visible", "label": "DHL - eCommerce Solutions distribution center", "value": "USLAX1"}}, "test_credentials": - {"client_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions - client ID", "value": "123456"}, "client_secret": {"visibility": "password", - "label": "Test DHL eCommerce Solutions client secret", "value": "********"}, - "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions - pickup ID", "value": "123456"}, "distribution_center": {"visibility": "visible", - "label": "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}, {"id": "ca_b1a0a1bc45844159812e0224d53948ea", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2023-05-12T21:15:16Z", - "updated_at": "2023-05-12T21:15:16Z", "description": "DHL eCommerce Solutions - Account", "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce - Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions client ID", "value": "123456"}, - "client_secret": {"visibility": "password", "label": "DHL eCommerce Solutions - client secret", "value": "********"}, "pickup_id": {"visibility": "visible", - "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", - "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", - "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": - {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", - "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test - DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution - center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": - "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": - {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", - "distribution_center": "USLAX1"}}, {"id": "ca_c7b4cfaf671b4984b84023d77561394a", - "object": "CarrierAccount", "type": "DhlEcsAccount", "clone": false, "created_at": - "2023-05-12T21:18:18Z", "updated_at": "2023-05-12T21:18:18Z", "description": - "DHL eCommerce Solutions Account", "reference": null, "billing_type": "carrier", - "readable": "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": - {"client_id": {"visibility": "visible", "label": "DHL eCommerce Solutions - client ID", "value": "123456"}, "client_secret": {"visibility": "password", - "label": "DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions pickup ID", "value": - "123456"}, "distribution_center": {"visibility": "visible", "label": "DHL - eCommerce Solutions distribution center", "value": "USLAX1"}}, "test_credentials": - {"client_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions - client ID", "value": "123456"}, "client_secret": {"visibility": "password", - "label": "Test DHL eCommerce Solutions client secret", "value": "********"}, - "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions - pickup ID", "value": "123456"}, "distribution_center": {"visibility": "visible", - "label": "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}]' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '10617' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf073e798bbbf000f6981 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.115461' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/carrier_accounts?page_size=1 - response: - body: - string: '[{"id": "ca_b25657e9896e4d63ac8151ac346ac41e", "object": "CarrierAccount", - "type": "UspsAccount", "clone": false, "created_at": "2017-03-01T03:01:34Z", - "updated_at": "2018-08-09T02:45:22Z", "description": "USPS Account", "reference": - null, "billing_type": "easypost", "readable": "USPS", "logo": null, "fields": - {"credentials": {"company_name": {"visibility": "visible", "label": "Account - Holder Name", "value": ""}, "address_street": {"visibility": "visible", "label": - "Street Address", "value": ""}, "address_city": {"visibility": "visible", - "label": "City", "value": ""}, "address_state": {"visibility": "visible", - "label": "State", "value": ""}, "address_zip": {"visibility": "visible", "label": - "ZIP Code", "value": ""}, "phone": {"visibility": "visible", "label": "Phone - Number", "value": ""}, "email": {"visibility": "visible", "label": "Email - Address", "value": null}, "shipper_id": {"visibility": "visible", "label": - "Shipper Identifier (Optional)", "value": ""}}}, "credentials": {"company_name": - "", "address_street": "", "address_city": "", "address_state": "", "address_zip": - "", "phone": "", "email": null, "shipper_id": ""}, "test_credentials": null}, - {"id": "ca_05ab5a0345634187b52daaf787aa4cd0", "object": "CarrierAccount", - "type": "LsoDefaultAccount", "clone": false, "created_at": "2022-04-26T16:58:59Z", - "updated_at": "2022-04-26T16:58:59Z", "description": "LSO Account", "reference": - null, "billing_type": "easypost", "readable": "LSO", "logo": null, "fields": - {"credentials": {}}, "credentials": {}, "test_credentials": null}, {"id": - "ca_d38ae88b6edb48ed93c0a16ed068215b", "object": "CarrierAccount", "type": - "DhlExpressDefaultAccount", "clone": false, "created_at": "2022-04-26T16:59:02Z", - "updated_at": "2022-04-26T16:59:02Z", "description": "DHL Express Account", - "reference": null, "billing_type": "easypost", "readable": "DHL Express", - "logo": null, "fields": {"credentials": {}}, "credentials": {}, "test_credentials": - null}, {"id": "ca_c3cbbd21bc97400bbbaed6d030909476", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2022-08-15T18:51:36Z", - "updated_at": "2022-08-15T18:51:36Z", "description": "DHL eCommerce Solutions - Account", "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce - Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions client ID", "value": "123456"}, - "client_secret": {"visibility": "password", "label": "DHL eCommerce Solutions - client secret", "value": "********"}, "pickup_id": {"visibility": "visible", - "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", - "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", - "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": - {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", - "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test - DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution - center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": - "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": - {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", - "distribution_center": "USLAX1"}}, {"id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "object": "CarrierAccount", "type": "DhlEcsAccount", "clone": false, "created_at": - "2023-05-12T21:15:15Z", "updated_at": "2023-05-12T21:15:15Z", "description": - "DHL eCommerce Solutions Account", "reference": null, "billing_type": "carrier", - "readable": "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": - {"client_id": {"visibility": "visible", "label": "DHL eCommerce Solutions - client ID", "value": "123456"}, "client_secret": {"visibility": "password", - "label": "DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions pickup ID", "value": - "123456"}, "distribution_center": {"visibility": "visible", "label": "DHL - eCommerce Solutions distribution center", "value": "USLAX1"}}, "test_credentials": - {"client_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions - client ID", "value": "123456"}, "client_secret": {"visibility": "password", - "label": "Test DHL eCommerce Solutions client secret", "value": "********"}, - "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions - pickup ID", "value": "123456"}, "distribution_center": {"visibility": "visible", - "label": "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}, {"id": "ca_99007e1aeb66421faf82676f1199481e", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2023-05-12T21:15:15Z", - "updated_at": "2023-05-12T21:15:15Z", "description": "DHL eCommerce Solutions - Account", "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce - Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions client ID", "value": "123456"}, - "client_secret": {"visibility": "password", "label": "DHL eCommerce Solutions - client secret", "value": "********"}, "pickup_id": {"visibility": "visible", - "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", - "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", - "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": - {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", - "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test - DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution - center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": - "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": - {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", - "distribution_center": "USLAX1"}}, {"id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "object": "CarrierAccount", "type": "DhlEcsAccount", "clone": false, "created_at": - "2023-05-12T21:15:16Z", "updated_at": "2023-05-12T21:15:16Z", "description": - "DHL eCommerce Solutions Account", "reference": null, "billing_type": "carrier", - "readable": "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": - {"client_id": {"visibility": "visible", "label": "DHL eCommerce Solutions - client ID", "value": "123456"}, "client_secret": {"visibility": "password", - "label": "DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions pickup ID", "value": - "123456"}, "distribution_center": {"visibility": "visible", "label": "DHL - eCommerce Solutions distribution center", "value": "USLAX1"}}, "test_credentials": - {"client_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions - client ID", "value": "123456"}, "client_secret": {"visibility": "password", - "label": "Test DHL eCommerce Solutions client secret", "value": "********"}, - "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions - pickup ID", "value": "123456"}, "distribution_center": {"visibility": "visible", - "label": "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}, {"id": "ca_b1a0a1bc45844159812e0224d53948ea", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2023-05-12T21:15:16Z", - "updated_at": "2023-05-12T21:15:16Z", "description": "DHL eCommerce Solutions - Account", "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce - Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions client ID", "value": "123456"}, - "client_secret": {"visibility": "password", "label": "DHL eCommerce Solutions - client secret", "value": "********"}, "pickup_id": {"visibility": "visible", - "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", - "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", - "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": - {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", - "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test - DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution - center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": - "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": - {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", - "distribution_center": "USLAX1"}}, {"id": "ca_c7b4cfaf671b4984b84023d77561394a", - "object": "CarrierAccount", "type": "DhlEcsAccount", "clone": false, "created_at": - "2023-05-12T21:18:18Z", "updated_at": "2023-05-12T21:18:18Z", "description": - "DHL eCommerce Solutions Account", "reference": null, "billing_type": "carrier", - "readable": "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": - {"client_id": {"visibility": "visible", "label": "DHL eCommerce Solutions - client ID", "value": "123456"}, "client_secret": {"visibility": "password", - "label": "DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions pickup ID", "value": - "123456"}, "distribution_center": {"visibility": "visible", "label": "DHL - eCommerce Solutions distribution center", "value": "USLAX1"}}, "test_credentials": - {"client_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions - client ID", "value": "123456"}, "client_secret": {"visibility": "password", - "label": "Test DHL eCommerce Solutions client secret", "value": "********"}, - "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions - pickup ID", "value": "123456"}, "distribution_center": {"visibility": "visible", - "label": "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}]' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '10617' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaf121e798c41f000feeab - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.139179' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/carrier_accounts?page_size=1 - response: - body: - string: '[{"id": "ca_b25657e9896e4d63ac8151ac346ac41e", "object": "CarrierAccount", - "type": "UspsAccount", "clone": false, "created_at": "2017-03-01T03:01:34Z", - "updated_at": "2018-08-09T02:45:22Z", "description": "USPS Account", "reference": - null, "billing_type": "easypost", "readable": "USPS", "logo": null, "fields": - {"credentials": {"company_name": {"visibility": "visible", "label": "Account - Holder Name", "value": ""}, "address_street": {"visibility": "visible", "label": - "Street Address", "value": ""}, "address_city": {"visibility": "visible", - "label": "City", "value": ""}, "address_state": {"visibility": "visible", - "label": "State", "value": ""}, "address_zip": {"visibility": "visible", "label": - "ZIP Code", "value": ""}, "phone": {"visibility": "visible", "label": "Phone - Number", "value": ""}, "email": {"visibility": "visible", "label": "Email - Address", "value": null}, "shipper_id": {"visibility": "visible", "label": - "Shipper Identifier (Optional)", "value": ""}}}, "credentials": {"company_name": - "", "address_street": "", "address_city": "", "address_state": "", "address_zip": - "", "phone": "", "email": null, "shipper_id": ""}, "test_credentials": null}, - {"id": "ca_05ab5a0345634187b52daaf787aa4cd0", "object": "CarrierAccount", - "type": "LsoDefaultAccount", "clone": false, "created_at": "2022-04-26T16:58:59Z", - "updated_at": "2022-04-26T16:58:59Z", "description": "LSO Account", "reference": - null, "billing_type": "easypost", "readable": "LSO", "logo": null, "fields": - {"credentials": {}}, "credentials": {}, "test_credentials": null}, {"id": - "ca_d38ae88b6edb48ed93c0a16ed068215b", "object": "CarrierAccount", "type": - "DhlExpressDefaultAccount", "clone": false, "created_at": "2022-04-26T16:59:02Z", - "updated_at": "2022-04-26T16:59:02Z", "description": "DHL Express Account", - "reference": null, "billing_type": "easypost", "readable": "DHL Express", - "logo": null, "fields": {"credentials": {}}, "credentials": {}, "test_credentials": - null}, {"id": "ca_c3cbbd21bc97400bbbaed6d030909476", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2022-08-15T18:51:36Z", - "updated_at": "2022-08-15T18:51:36Z", "description": "DHL eCommerce Solutions - Account", "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce - Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions client ID", "value": "123456"}, - "client_secret": {"visibility": "password", "label": "DHL eCommerce Solutions - client secret", "value": "********"}, "pickup_id": {"visibility": "visible", - "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", - "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", - "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": - {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", - "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test - DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution - center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": - "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": - {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", - "distribution_center": "USLAX1"}}, {"id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "object": "CarrierAccount", "type": "DhlEcsAccount", "clone": false, "created_at": - "2023-05-12T21:15:15Z", "updated_at": "2023-05-12T21:15:15Z", "description": - "DHL eCommerce Solutions Account", "reference": null, "billing_type": "carrier", - "readable": "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": - {"client_id": {"visibility": "visible", "label": "DHL eCommerce Solutions - client ID", "value": "123456"}, "client_secret": {"visibility": "password", - "label": "DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions pickup ID", "value": - "123456"}, "distribution_center": {"visibility": "visible", "label": "DHL - eCommerce Solutions distribution center", "value": "USLAX1"}}, "test_credentials": - {"client_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions - client ID", "value": "123456"}, "client_secret": {"visibility": "password", - "label": "Test DHL eCommerce Solutions client secret", "value": "********"}, - "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions - pickup ID", "value": "123456"}, "distribution_center": {"visibility": "visible", - "label": "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}, {"id": "ca_99007e1aeb66421faf82676f1199481e", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2023-05-12T21:15:15Z", - "updated_at": "2023-05-12T21:15:15Z", "description": "DHL eCommerce Solutions - Account", "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce - Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions client ID", "value": "123456"}, - "client_secret": {"visibility": "password", "label": "DHL eCommerce Solutions - client secret", "value": "********"}, "pickup_id": {"visibility": "visible", - "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", - "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", - "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": - {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", - "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test - DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution - center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": - "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": - {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", - "distribution_center": "USLAX1"}}, {"id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "object": "CarrierAccount", "type": "DhlEcsAccount", "clone": false, "created_at": - "2023-05-12T21:15:16Z", "updated_at": "2023-05-12T21:15:16Z", "description": - "DHL eCommerce Solutions Account", "reference": null, "billing_type": "carrier", - "readable": "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": - {"client_id": {"visibility": "visible", "label": "DHL eCommerce Solutions - client ID", "value": "123456"}, "client_secret": {"visibility": "password", - "label": "DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions pickup ID", "value": - "123456"}, "distribution_center": {"visibility": "visible", "label": "DHL - eCommerce Solutions distribution center", "value": "USLAX1"}}, "test_credentials": - {"client_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions - client ID", "value": "123456"}, "client_secret": {"visibility": "password", - "label": "Test DHL eCommerce Solutions client secret", "value": "********"}, - "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions - pickup ID", "value": "123456"}, "distribution_center": {"visibility": "visible", - "label": "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}, {"id": "ca_b1a0a1bc45844159812e0224d53948ea", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2023-05-12T21:15:16Z", - "updated_at": "2023-05-12T21:15:16Z", "description": "DHL eCommerce Solutions - Account", "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce - Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions client ID", "value": "123456"}, - "client_secret": {"visibility": "password", "label": "DHL eCommerce Solutions - client secret", "value": "********"}, "pickup_id": {"visibility": "visible", - "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", - "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", - "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": - {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", - "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test - DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution - center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": - "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": - {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", - "distribution_center": "USLAX1"}}, {"id": "ca_c7b4cfaf671b4984b84023d77561394a", - "object": "CarrierAccount", "type": "DhlEcsAccount", "clone": false, "created_at": - "2023-05-12T21:18:18Z", "updated_at": "2023-05-12T21:18:18Z", "description": - "DHL eCommerce Solutions Account", "reference": null, "billing_type": "carrier", - "readable": "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": - {"client_id": {"visibility": "visible", "label": "DHL eCommerce Solutions - client ID", "value": "123456"}, "client_secret": {"visibility": "password", - "label": "DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions pickup ID", "value": - "123456"}, "distribution_center": {"visibility": "visible", "label": "DHL - eCommerce Solutions distribution center", "value": "USLAX1"}}, "test_credentials": - {"client_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions - client ID", "value": "123456"}, "client_secret": {"visibility": "password", - "label": "Test DHL eCommerce Solutions client secret", "value": "********"}, - "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions - pickup ID", "value": "123456"}, "distribution_center": {"visibility": "visible", - "label": "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}]' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '10617' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf204e798cd030010a308 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.120530' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/carrier_accounts?page_size=1 - response: - body: - string: '[{"id": "ca_b25657e9896e4d63ac8151ac346ac41e", "object": "CarrierAccount", - "type": "UspsAccount", "clone": false, "created_at": "2017-03-01T03:01:34Z", - "updated_at": "2018-08-09T02:45:22Z", "description": "USPS Account", "reference": - null, "billing_type": "easypost", "readable": "USPS", "logo": null, "fields": - {"credentials": {"company_name": {"visibility": "visible", "label": "Account - Holder Name", "value": ""}, "address_street": {"visibility": "visible", "label": - "Street Address", "value": ""}, "address_city": {"visibility": "visible", - "label": "City", "value": ""}, "address_state": {"visibility": "visible", - "label": "State", "value": ""}, "address_zip": {"visibility": "visible", "label": - "ZIP Code", "value": ""}, "phone": {"visibility": "visible", "label": "Phone - Number", "value": ""}, "email": {"visibility": "visible", "label": "Email - Address", "value": null}, "shipper_id": {"visibility": "visible", "label": - "Shipper Identifier (Optional)", "value": ""}}}, "credentials": {"company_name": - "", "address_street": "", "address_city": "", "address_state": "", "address_zip": - "", "phone": "", "email": null, "shipper_id": ""}, "test_credentials": null}, - {"id": "ca_05ab5a0345634187b52daaf787aa4cd0", "object": "CarrierAccount", - "type": "LsoDefaultAccount", "clone": false, "created_at": "2022-04-26T16:58:59Z", - "updated_at": "2022-04-26T16:58:59Z", "description": "LSO Account", "reference": - null, "billing_type": "easypost", "readable": "LSO", "logo": null, "fields": - {"credentials": {}}, "credentials": {}, "test_credentials": null}, {"id": - "ca_d38ae88b6edb48ed93c0a16ed068215b", "object": "CarrierAccount", "type": - "DhlExpressDefaultAccount", "clone": false, "created_at": "2022-04-26T16:59:02Z", - "updated_at": "2022-04-26T16:59:02Z", "description": "DHL Express Account", - "reference": null, "billing_type": "easypost", "readable": "DHL Express", - "logo": null, "fields": {"credentials": {}}, "credentials": {}, "test_credentials": - null}, {"id": "ca_c3cbbd21bc97400bbbaed6d030909476", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2022-08-15T18:51:36Z", - "updated_at": "2022-08-15T18:51:36Z", "description": "DHL eCommerce Solutions - Account", "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce - Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions client ID", "value": "123456"}, - "client_secret": {"visibility": "password", "label": "DHL eCommerce Solutions - client secret", "value": "********"}, "pickup_id": {"visibility": "visible", - "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", - "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", - "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": - {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", - "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test - DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution - center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": - "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": - {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", - "distribution_center": "USLAX1"}}, {"id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "object": "CarrierAccount", "type": "DhlEcsAccount", "clone": false, "created_at": - "2023-05-12T21:15:15Z", "updated_at": "2023-05-12T21:15:15Z", "description": - "DHL eCommerce Solutions Account", "reference": null, "billing_type": "carrier", - "readable": "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": - {"client_id": {"visibility": "visible", "label": "DHL eCommerce Solutions - client ID", "value": "123456"}, "client_secret": {"visibility": "password", - "label": "DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions pickup ID", "value": - "123456"}, "distribution_center": {"visibility": "visible", "label": "DHL - eCommerce Solutions distribution center", "value": "USLAX1"}}, "test_credentials": - {"client_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions - client ID", "value": "123456"}, "client_secret": {"visibility": "password", - "label": "Test DHL eCommerce Solutions client secret", "value": "********"}, - "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions - pickup ID", "value": "123456"}, "distribution_center": {"visibility": "visible", - "label": "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}, {"id": "ca_99007e1aeb66421faf82676f1199481e", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2023-05-12T21:15:15Z", - "updated_at": "2023-05-12T21:15:15Z", "description": "DHL eCommerce Solutions - Account", "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce - Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions client ID", "value": "123456"}, - "client_secret": {"visibility": "password", "label": "DHL eCommerce Solutions - client secret", "value": "********"}, "pickup_id": {"visibility": "visible", - "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", - "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", - "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": - {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", - "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test - DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution - center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": - "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": - {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", - "distribution_center": "USLAX1"}}, {"id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "object": "CarrierAccount", "type": "DhlEcsAccount", "clone": false, "created_at": - "2023-05-12T21:15:16Z", "updated_at": "2023-05-12T21:15:16Z", "description": - "DHL eCommerce Solutions Account", "reference": null, "billing_type": "carrier", - "readable": "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": - {"client_id": {"visibility": "visible", "label": "DHL eCommerce Solutions - client ID", "value": "123456"}, "client_secret": {"visibility": "password", - "label": "DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions pickup ID", "value": - "123456"}, "distribution_center": {"visibility": "visible", "label": "DHL - eCommerce Solutions distribution center", "value": "USLAX1"}}, "test_credentials": - {"client_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions - client ID", "value": "123456"}, "client_secret": {"visibility": "password", - "label": "Test DHL eCommerce Solutions client secret", "value": "********"}, - "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions - pickup ID", "value": "123456"}, "distribution_center": {"visibility": "visible", - "label": "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}, {"id": "ca_b1a0a1bc45844159812e0224d53948ea", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2023-05-12T21:15:16Z", - "updated_at": "2023-05-12T21:15:16Z", "description": "DHL eCommerce Solutions - Account", "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce - Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions client ID", "value": "123456"}, - "client_secret": {"visibility": "password", "label": "DHL eCommerce Solutions - client secret", "value": "********"}, "pickup_id": {"visibility": "visible", - "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", - "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", - "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": - {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", - "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test - DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution - center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": - "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": - {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", - "distribution_center": "USLAX1"}}, {"id": "ca_c7b4cfaf671b4984b84023d77561394a", - "object": "CarrierAccount", "type": "DhlEcsAccount", "clone": false, "created_at": - "2023-05-12T21:18:18Z", "updated_at": "2023-05-12T21:18:18Z", "description": - "DHL eCommerce Solutions Account", "reference": null, "billing_type": "carrier", - "readable": "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": - {"client_id": {"visibility": "visible", "label": "DHL eCommerce Solutions - client ID", "value": "123456"}, "client_secret": {"visibility": "password", - "label": "DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions pickup ID", "value": - "123456"}, "distribution_center": {"visibility": "visible", "label": "DHL - eCommerce Solutions distribution center", "value": "USLAX1"}}, "test_credentials": - {"client_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions - client ID", "value": "123456"}, "client_secret": {"visibility": "password", - "label": "Test DHL eCommerce Solutions client secret", "value": "********"}, - "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions - pickup ID", "value": "123456"}, "distribution_center": {"visibility": "visible", - "label": "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}]' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '10617' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf260e798d4bb0010e1f5 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.122371' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/carrier_accounts?page_size=1 - response: - body: - string: '[{"id": "ca_b25657e9896e4d63ac8151ac346ac41e", "object": "CarrierAccount", - "type": "UspsAccount", "clone": false, "created_at": "2017-03-01T03:01:34Z", - "updated_at": "2018-08-09T02:45:22Z", "description": "USPS Account", "reference": - null, "billing_type": "easypost", "readable": "USPS", "logo": null, "fields": - {"credentials": {"company_name": {"visibility": "visible", "label": "Account - Holder Name", "value": ""}, "address_street": {"visibility": "visible", "label": - "Street Address", "value": ""}, "address_city": {"visibility": "visible", - "label": "City", "value": ""}, "address_state": {"visibility": "visible", - "label": "State", "value": ""}, "address_zip": {"visibility": "visible", "label": - "ZIP Code", "value": ""}, "phone": {"visibility": "visible", "label": "Phone - Number", "value": ""}, "email": {"visibility": "visible", "label": "Email - Address", "value": null}, "shipper_id": {"visibility": "visible", "label": - "Shipper Identifier (Optional)", "value": ""}}}, "credentials": {"company_name": - "", "address_street": "", "address_city": "", "address_state": "", "address_zip": - "", "phone": "", "email": null, "shipper_id": ""}, "test_credentials": null}, - {"id": "ca_05ab5a0345634187b52daaf787aa4cd0", "object": "CarrierAccount", - "type": "LsoDefaultAccount", "clone": false, "created_at": "2022-04-26T16:58:59Z", - "updated_at": "2022-04-26T16:58:59Z", "description": "LSO Account", "reference": - null, "billing_type": "easypost", "readable": "LSO", "logo": null, "fields": - {"credentials": {}}, "credentials": {}, "test_credentials": null}, {"id": - "ca_d38ae88b6edb48ed93c0a16ed068215b", "object": "CarrierAccount", "type": - "DhlExpressDefaultAccount", "clone": false, "created_at": "2022-04-26T16:59:02Z", - "updated_at": "2022-04-26T16:59:02Z", "description": "DHL Express Account", - "reference": null, "billing_type": "easypost", "readable": "DHL Express", - "logo": null, "fields": {"credentials": {}}, "credentials": {}, "test_credentials": - null}, {"id": "ca_c3cbbd21bc97400bbbaed6d030909476", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2022-08-15T18:51:36Z", - "updated_at": "2022-08-15T18:51:36Z", "description": "DHL eCommerce Solutions - Account", "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce - Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions client ID", "value": "123456"}, - "client_secret": {"visibility": "password", "label": "DHL eCommerce Solutions - client secret", "value": "********"}, "pickup_id": {"visibility": "visible", - "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", - "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", - "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": - {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", - "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test - DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution - center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": - "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": - {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", - "distribution_center": "USLAX1"}}, {"id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "object": "CarrierAccount", "type": "DhlEcsAccount", "clone": false, "created_at": - "2023-05-12T21:15:15Z", "updated_at": "2023-05-12T21:15:15Z", "description": - "DHL eCommerce Solutions Account", "reference": null, "billing_type": "carrier", - "readable": "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": - {"client_id": {"visibility": "visible", "label": "DHL eCommerce Solutions - client ID", "value": "123456"}, "client_secret": {"visibility": "password", - "label": "DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions pickup ID", "value": - "123456"}, "distribution_center": {"visibility": "visible", "label": "DHL - eCommerce Solutions distribution center", "value": "USLAX1"}}, "test_credentials": - {"client_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions - client ID", "value": "123456"}, "client_secret": {"visibility": "password", - "label": "Test DHL eCommerce Solutions client secret", "value": "********"}, - "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions - pickup ID", "value": "123456"}, "distribution_center": {"visibility": "visible", - "label": "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}, {"id": "ca_99007e1aeb66421faf82676f1199481e", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2023-05-12T21:15:15Z", - "updated_at": "2023-05-12T21:15:15Z", "description": "DHL eCommerce Solutions - Account", "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce - Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions client ID", "value": "123456"}, - "client_secret": {"visibility": "password", "label": "DHL eCommerce Solutions - client secret", "value": "********"}, "pickup_id": {"visibility": "visible", - "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", - "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", - "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": - {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", - "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test - DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution - center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": - "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": - {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", - "distribution_center": "USLAX1"}}, {"id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "object": "CarrierAccount", "type": "DhlEcsAccount", "clone": false, "created_at": - "2023-05-12T21:15:16Z", "updated_at": "2023-05-12T21:15:16Z", "description": - "DHL eCommerce Solutions Account", "reference": null, "billing_type": "carrier", - "readable": "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": - {"client_id": {"visibility": "visible", "label": "DHL eCommerce Solutions - client ID", "value": "123456"}, "client_secret": {"visibility": "password", - "label": "DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions pickup ID", "value": - "123456"}, "distribution_center": {"visibility": "visible", "label": "DHL - eCommerce Solutions distribution center", "value": "USLAX1"}}, "test_credentials": - {"client_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions - client ID", "value": "123456"}, "client_secret": {"visibility": "password", - "label": "Test DHL eCommerce Solutions client secret", "value": "********"}, - "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions - pickup ID", "value": "123456"}, "distribution_center": {"visibility": "visible", - "label": "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}, {"id": "ca_b1a0a1bc45844159812e0224d53948ea", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2023-05-12T21:15:16Z", - "updated_at": "2023-05-12T21:15:16Z", "description": "DHL eCommerce Solutions - Account", "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce - Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions client ID", "value": "123456"}, - "client_secret": {"visibility": "password", "label": "DHL eCommerce Solutions - client secret", "value": "********"}, "pickup_id": {"visibility": "visible", - "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", - "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", - "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": - {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", - "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test - DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution - center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": - "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": - {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", - "distribution_center": "USLAX1"}}, {"id": "ca_c7b4cfaf671b4984b84023d77561394a", - "object": "CarrierAccount", "type": "DhlEcsAccount", "clone": false, "created_at": - "2023-05-12T21:18:18Z", "updated_at": "2023-05-12T21:18:18Z", "description": - "DHL eCommerce Solutions Account", "reference": null, "billing_type": "carrier", - "readable": "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": - {"client_id": {"visibility": "visible", "label": "DHL eCommerce Solutions - client ID", "value": "123456"}, "client_secret": {"visibility": "password", - "label": "DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions pickup ID", "value": - "123456"}, "distribution_center": {"visibility": "visible", "label": "DHL - eCommerce Solutions distribution center", "value": "USLAX1"}}, "test_credentials": - {"client_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions - client ID", "value": "123456"}, "client_secret": {"visibility": "password", - "label": "Test DHL eCommerce Solutions client secret", "value": "********"}, - "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions - pickup ID", "value": "123456"}, "distribution_center": {"visibility": "visible", - "label": "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}]' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '10617' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365ab07f4e799e5a5001d7911 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.121215' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_carrier_accounts_retrieve.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_carrier_accounts_retrieve.yaml deleted file mode 100644 index 6a2f1e38..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_carrier_accounts_retrieve.yaml +++ /dev/null @@ -1,2107 +0,0 @@ -interactions: -- request: - body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location - DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": - "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": - {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", - "pickup_id": "123456"}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '359' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/carrier_accounts - response: - body: - string: '{"id": "ca_4bced7adc4364f35b177e9de0b953c6f", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T21:40:39Z", - "updated_at": "2024-01-19T21:40:39Z", "description": "CA Location DHL eCommerce - Solutions Account", "reference": null, "billing_type": "carrier", "readable": - "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": - "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce - Solutions client secret", "value": "********"}, "pickup_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, - "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions - distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", - "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test - DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", - "value": "123456"}, "distribution_center": {"visibility": "visible", "label": - "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1481' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaec57e78b9b43000cce1c - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.129858' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/carrier_accounts/ca_4bced7adc4364f35b177e9de0b953c6f - response: - body: - string: '{"id": "ca_4bced7adc4364f35b177e9de0b953c6f", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T21:40:39Z", - "updated_at": "2024-01-19T21:40:39Z", "description": "CA Location DHL eCommerce - Solutions Account", "reference": null, "billing_type": "carrier", "readable": - "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": - "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce - Solutions client secret", "value": "********"}, "pickup_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, - "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions - distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", - "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test - DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", - "value": "123456"}, "distribution_center": {"visibility": "visible", "label": - "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1481' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaec57e78b9b44000cce65 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.028849' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/carrier_accounts/ca_4bced7adc4364f35b177e9de0b953c6f - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaec57e78b9b45000cce8d - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.113679' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location - DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": - "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": - {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", - "pickup_id": "123456"}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '359' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/carrier_accounts - response: - body: - string: '{"id": "ca_d8b85ac7febf4bf0bbac56d20e0d153d", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T21:43:08Z", - "updated_at": "2024-01-19T21:43:08Z", "description": "CA Location DHL eCommerce - Solutions Account", "reference": null, "billing_type": "carrier", "readable": - "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": - "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce - Solutions client secret", "value": "********"}, "pickup_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, - "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions - distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", - "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test - DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", - "value": "123456"}, "distribution_center": {"visibility": "visible", "label": - "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1481' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaecece78ba364000d2bf4 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.108394' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/carrier_accounts/ca_d8b85ac7febf4bf0bbac56d20e0d153d - response: - body: - string: '{"id": "ca_d8b85ac7febf4bf0bbac56d20e0d153d", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T21:43:08Z", - "updated_at": "2024-01-19T21:43:08Z", "description": "CA Location DHL eCommerce - Solutions Account", "reference": null, "billing_type": "carrier", "readable": - "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": - "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce - Solutions client secret", "value": "********"}, "pickup_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, - "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions - distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", - "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test - DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", - "value": "123456"}, "distribution_center": {"visibility": "visible", "label": - "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1481' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaecece78ba365000d2c28 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.046012' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/carrier_accounts/ca_d8b85ac7febf4bf0bbac56d20e0d153d - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaecede78ba366000d2c4c - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.108901' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location - DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": - "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": - {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", - "pickup_id": "123456"}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '359' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/carrier_accounts - response: - body: - string: '{"id": "ca_56a53b6fa2334c149877cc6857cb8c72", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T21:46:58Z", - "updated_at": "2024-01-19T21:46:58Z", "description": "CA Location DHL eCommerce - Solutions Account", "reference": null, "billing_type": "carrier", "readable": - "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": - "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce - Solutions client secret", "value": "********"}, "pickup_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, - "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions - distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", - "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test - DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", - "value": "123456"}, "distribution_center": {"visibility": "visible", "label": - "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1481' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdae65aaedd2e78bac0700111ff1 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.109458' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/carrier_accounts/ca_56a53b6fa2334c149877cc6857cb8c72 - response: - body: - string: '{"id": "ca_56a53b6fa2334c149877cc6857cb8c72", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T21:46:58Z", - "updated_at": "2024-01-19T21:46:58Z", "description": "CA Location DHL eCommerce - Solutions Account", "reference": null, "billing_type": "carrier", "readable": - "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": - "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce - Solutions client secret", "value": "********"}, "pickup_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, - "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions - distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", - "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test - DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", - "value": "123456"}, "distribution_center": {"visibility": "visible", "label": - "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1481' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda965aaedd2e78bac080011202f - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.028623' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/carrier_accounts/ca_56a53b6fa2334c149877cc6857cb8c72 - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda965aaedd3e78bac0900112050 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.110892' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location - DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": - "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": - {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", - "pickup_id": "123456"}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '359' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/carrier_accounts - response: - body: - string: '{"id": "ca_fe599da3e7c248f191747cc7933cf410", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T21:48:50Z", - "updated_at": "2024-01-19T21:48:50Z", "description": "CA Location DHL eCommerce - Solutions Account", "reference": null, "billing_type": "carrier", "readable": - "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": - "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce - Solutions client secret", "value": "********"}, "pickup_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, - "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions - distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", - "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test - DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", - "value": "123456"}, "distribution_center": {"visibility": "visible", "label": - "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1481' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdaa65aaee42e78bb42600116447 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.110096' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/carrier_accounts/ca_fe599da3e7c248f191747cc7933cf410 - response: - body: - string: '{"id": "ca_fe599da3e7c248f191747cc7933cf410", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T21:48:50Z", - "updated_at": "2024-01-19T21:48:50Z", "description": "CA Location DHL eCommerce - Solutions Account", "reference": null, "billing_type": "carrier", "readable": - "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": - "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce - Solutions client secret", "value": "********"}, "pickup_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, - "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions - distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", - "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test - DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", - "value": "123456"}, "distribution_center": {"visibility": "visible", "label": - "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1481' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdaa65aaee42e78bb4270011647e - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.026492' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/carrier_accounts/ca_fe599da3e7c248f191747cc7933cf410 - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdae65aaee42e78bb428001164a3 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.133372' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location - DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": - "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": - {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", - "pickup_id": "123456"}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '359' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/carrier_accounts - response: - body: - string: '{"id": "ca_626f1b2f11214e0d8ccb3b7b9526cbb9", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T21:58:10Z", - "updated_at": "2024-01-19T21:58:10Z", "description": "CA Location DHL eCommerce - Solutions Account", "reference": null, "billing_type": "carrier", "readable": - "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": - "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce - Solutions client secret", "value": "********"}, "pickup_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, - "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions - distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", - "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test - DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", - "value": "123456"}, "distribution_center": {"visibility": "visible", "label": - "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1481' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaf072e798bbbc000f68ca - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.111867' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/carrier_accounts/ca_626f1b2f11214e0d8ccb3b7b9526cbb9 - response: - body: - string: '{"id": "ca_626f1b2f11214e0d8ccb3b7b9526cbb9", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T21:58:10Z", - "updated_at": "2024-01-19T21:58:10Z", "description": "CA Location DHL eCommerce - Solutions Account", "reference": null, "billing_type": "carrier", "readable": - "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": - "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce - Solutions client secret", "value": "********"}, "pickup_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, - "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions - distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", - "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test - DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", - "value": "123456"}, "distribution_center": {"visibility": "visible", "label": - "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1481' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaf073e798bbbd000f68fc - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.029861' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/carrier_accounts/ca_626f1b2f11214e0d8ccb3b7b9526cbb9 - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaf073e798bbbe000f6935 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.114283' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location - DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": - "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": - {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", - "pickup_id": "123456"}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '359' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/carrier_accounts - response: - body: - string: '{"id": "ca_16e4aed5a0db4a1d9215f06712754cd7", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T22:01:04Z", - "updated_at": "2024-01-19T22:01:04Z", "description": "CA Location DHL eCommerce - Solutions Account", "reference": null, "billing_type": "carrier", "readable": - "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": - "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce - Solutions client secret", "value": "********"}, "pickup_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, - "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions - distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", - "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test - DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", - "value": "123456"}, "distribution_center": {"visibility": "visible", "label": - "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1481' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaf120e798c41c000fed8b - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.261105' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/carrier_accounts/ca_16e4aed5a0db4a1d9215f06712754cd7 - response: - body: - string: '{"id": "ca_16e4aed5a0db4a1d9215f06712754cd7", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T22:01:04Z", - "updated_at": "2024-01-19T22:01:04Z", "description": "CA Location DHL eCommerce - Solutions Account", "reference": null, "billing_type": "carrier", "readable": - "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": - "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce - Solutions client secret", "value": "********"}, "pickup_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, - "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions - distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", - "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test - DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", - "value": "123456"}, "distribution_center": {"visibility": "visible", "label": - "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1481' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf120e798c41d000fedf4 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.132689' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/carrier_accounts/ca_16e4aed5a0db4a1d9215f06712754cd7 - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaf121e798c41e000fee46 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.117660' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location - DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": - "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": - {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", - "pickup_id": "123456"}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '359' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/carrier_accounts - response: - body: - string: '{"id": "ca_c24003ee74054d96937851a992962d59", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T22:04:51Z", - "updated_at": "2024-01-19T22:04:51Z", "description": "CA Location DHL eCommerce - Solutions Account", "reference": null, "billing_type": "carrier", "readable": - "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": - "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce - Solutions client secret", "value": "********"}, "pickup_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, - "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions - distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", - "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test - DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", - "value": "123456"}, "distribution_center": {"visibility": "visible", "label": - "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1481' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaf203e798cd000010a258 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.112298' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/carrier_accounts/ca_c24003ee74054d96937851a992962d59 - response: - body: - string: '{"id": "ca_c24003ee74054d96937851a992962d59", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T22:04:51Z", - "updated_at": "2024-01-19T22:04:51Z", "description": "CA Location DHL eCommerce - Solutions Account", "reference": null, "billing_type": "carrier", "readable": - "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": - "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce - Solutions client secret", "value": "********"}, "pickup_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, - "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions - distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", - "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test - DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", - "value": "123456"}, "distribution_center": {"visibility": "visible", "label": - "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1481' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaf203e798cd010010a283 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.034496' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/carrier_accounts/ca_c24003ee74054d96937851a992962d59 - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf203e798cd020010a2b1 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.235640' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location - DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": - "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": - {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", - "pickup_id": "123456"}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '359' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/carrier_accounts - response: - body: - string: '{"id": "ca_440d8f809e194557ac2b8c2b5e5a7ede", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T22:06:23Z", - "updated_at": "2024-01-19T22:06:23Z", "description": "CA Location DHL eCommerce - Solutions Account", "reference": null, "billing_type": "carrier", "readable": - "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": - "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce - Solutions client secret", "value": "********"}, "pickup_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, - "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions - distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", - "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test - DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", - "value": "123456"}, "distribution_center": {"visibility": "visible", "label": - "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1481' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf25fe798d4a10010e112 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.109855' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/carrier_accounts/ca_440d8f809e194557ac2b8c2b5e5a7ede - response: - body: - string: '{"id": "ca_440d8f809e194557ac2b8c2b5e5a7ede", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T22:06:23Z", - "updated_at": "2024-01-19T22:06:23Z", "description": "CA Location DHL eCommerce - Solutions Account", "reference": null, "billing_type": "carrier", "readable": - "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": - "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce - Solutions client secret", "value": "********"}, "pickup_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, - "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions - distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", - "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test - DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", - "value": "123456"}, "distribution_center": {"visibility": "visible", "label": - "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1481' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf25fe798d4a20010e153 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.028908' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/carrier_accounts/ca_440d8f809e194557ac2b8c2b5e5a7ede - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf260e798d4ba0010e184 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.113305' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location - DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": - "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": - {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", - "pickup_id": "123456"}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '359' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/carrier_accounts - response: - body: - string: '{"id": "ca_11034e7e23de4a3bbd54a42947bcdb85", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T23:38:27Z", - "updated_at": "2024-01-19T23:38:27Z", "description": "CA Location DHL eCommerce - Solutions Account", "reference": null, "billing_type": "carrier", "readable": - "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": - "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce - Solutions client secret", "value": "********"}, "pickup_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, - "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions - distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", - "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test - DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", - "value": "123456"}, "distribution_center": {"visibility": "visible", "label": - "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1481' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365ab07f3e799e5a2001d7876 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.111656' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/carrier_accounts/ca_11034e7e23de4a3bbd54a42947bcdb85 - response: - body: - string: '{"id": "ca_11034e7e23de4a3bbd54a42947bcdb85", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T23:38:27Z", - "updated_at": "2024-01-19T23:38:27Z", "description": "CA Location DHL eCommerce - Solutions Account", "reference": null, "billing_type": "carrier", "readable": - "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": - "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce - Solutions client secret", "value": "********"}, "pickup_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, - "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions - distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", - "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test - DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", - "value": "123456"}, "distribution_center": {"visibility": "visible", "label": - "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1481' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765ab07f3e799e5a3001d7892 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.187993' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/carrier_accounts/ca_11034e7e23de4a3bbd54a42947bcdb85 - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465ab07f4e799e5a4001d78d5 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.116296' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_carrier_accounts_update.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_carrier_accounts_update.yaml deleted file mode 100644 index 38163f34..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_carrier_accounts_update.yaml +++ /dev/null @@ -1,1987 +0,0 @@ -interactions: -- request: - body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location - DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": - "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": - {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", - "pickup_id": "123456"}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '359' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/carrier_accounts - response: - body: - string: '{"id": "ca_49661b5fd3e441b48514efaeb722c886", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T21:40:40Z", - "updated_at": "2024-01-19T21:40:40Z", "description": "CA Location DHL eCommerce - Solutions Account", "reference": null, "billing_type": "carrier", "readable": - "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": - "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce - Solutions client secret", "value": "********"}, "pickup_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, - "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions - distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", - "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test - DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", - "value": "123456"}, "distribution_center": {"visibility": "visible", "label": - "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1481' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaec58e78b9b47000ccf24 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.113236' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"carrier_account": {"description": "My custom description"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '61' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: PATCH - uri: https://api.easypost.com/v2/carrier_accounts/ca_49661b5fd3e441b48514efaeb722c886 - response: - body: - string: '{"id": "ca_49661b5fd3e441b48514efaeb722c886", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T21:40:40Z", - "updated_at": "2024-01-19T21:40:41Z", "description": "My custom description", - "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce Solutions", - "logo": null, "fields": {"credentials": {"client_id": {"visibility": "visible", - "label": "DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": - {"visibility": "password", "label": "DHL eCommerce Solutions client secret", - "value": "********"}, "pickup_id": {"visibility": "visible", "label": "DHL - eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", - "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", - "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": - {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", - "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test - DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution - center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": - "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": - {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", - "distribution_center": "USLAX1"}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1459' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaec59e78b9b48000ccf61 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.128873' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/carrier_accounts/ca_49661b5fd3e441b48514efaeb722c886 - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaec59e78b9b4a000ccf93 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.114385' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location - DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": - "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": - {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", - "pickup_id": "123456"}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '359' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/carrier_accounts - response: - body: - string: '{"id": "ca_21f19ad2c250427b81e9c414aea9df4a", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T21:43:09Z", - "updated_at": "2024-01-19T21:43:09Z", "description": "CA Location DHL eCommerce - Solutions Account", "reference": null, "billing_type": "carrier", "readable": - "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": - "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce - Solutions client secret", "value": "********"}, "pickup_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, - "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions - distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", - "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test - DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", - "value": "123456"}, "distribution_center": {"visibility": "visible", "label": - "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1481' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaecede78ba368000d2cb3 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.113822' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"carrier_account": {"description": "My custom description"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '61' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: PATCH - uri: https://api.easypost.com/v2/carrier_accounts/ca_21f19ad2c250427b81e9c414aea9df4a - response: - body: - string: '{"id": "ca_21f19ad2c250427b81e9c414aea9df4a", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T21:43:09Z", - "updated_at": "2024-01-19T21:43:10Z", "description": "My custom description", - "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce Solutions", - "logo": null, "fields": {"credentials": {"client_id": {"visibility": "visible", - "label": "DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": - {"visibility": "password", "label": "DHL eCommerce Solutions client secret", - "value": "********"}, "pickup_id": {"visibility": "visible", "label": "DHL - eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", - "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", - "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": - {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", - "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test - DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution - center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": - "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": - {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", - "distribution_center": "USLAX1"}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1459' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaeceee78ba369000d2ceb - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.127685' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/carrier_accounts/ca_21f19ad2c250427b81e9c414aea9df4a - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaeceee78ba385000d2d3b - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.114557' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location - DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": - "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": - {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", - "pickup_id": "123456"}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '359' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/carrier_accounts - response: - body: - string: '{"id": "ca_e33273d7156e42d5b9334895e927cce5", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T21:47:00Z", - "updated_at": "2024-01-19T21:47:00Z", "description": "CA Location DHL eCommerce - Solutions Account", "reference": null, "billing_type": "carrier", "readable": - "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": - "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce - Solutions client secret", "value": "********"}, "pickup_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, - "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions - distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", - "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test - DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", - "value": "123456"}, "distribution_center": {"visibility": "visible", "label": - "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1481' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda965aaedd4e78bac0c001120f3 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.106380' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"carrier_account": {"description": "My custom description"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '61' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: PATCH - uri: https://api.easypost.com/v2/carrier_accounts/ca_e33273d7156e42d5b9334895e927cce5 - response: - body: - string: '{"id": "ca_e33273d7156e42d5b9334895e927cce5", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T21:47:00Z", - "updated_at": "2024-01-19T21:47:00Z", "description": "My custom description", - "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce Solutions", - "logo": null, "fields": {"credentials": {"client_id": {"visibility": "visible", - "label": "DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": - {"visibility": "password", "label": "DHL eCommerce Solutions client secret", - "value": "********"}, "pickup_id": {"visibility": "visible", "label": "DHL - eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", - "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", - "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": - {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", - "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test - DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution - center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": - "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": - {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", - "distribution_center": "USLAX1"}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1459' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdac65aaedd4e78bac0d00112124 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.123108' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/carrier_accounts/ca_e33273d7156e42d5b9334895e927cce5 - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdab65aaedd4e78bac0e0011215d - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.114752' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location - DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": - "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": - {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", - "pickup_id": "123456"}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '359' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/carrier_accounts - response: - body: - string: '{"id": "ca_3122347ca229459e853018a4d2226e8a", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T21:48:51Z", - "updated_at": "2024-01-19T21:48:51Z", "description": "CA Location DHL eCommerce - Solutions Account", "reference": null, "billing_type": "carrier", "readable": - "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": - "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce - Solutions client secret", "value": "********"}, "pickup_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, - "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions - distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", - "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test - DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", - "value": "123456"}, "distribution_center": {"visibility": "visible", "label": - "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1481' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdae65aaee43e78bb42a0011651c - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.108209' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"carrier_account": {"description": "My custom description"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '61' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: PATCH - uri: https://api.easypost.com/v2/carrier_accounts/ca_3122347ca229459e853018a4d2226e8a - response: - body: - string: '{"id": "ca_3122347ca229459e853018a4d2226e8a", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T21:48:51Z", - "updated_at": "2024-01-19T21:48:52Z", "description": "My custom description", - "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce Solutions", - "logo": null, "fields": {"credentials": {"client_id": {"visibility": "visible", - "label": "DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": - {"visibility": "password", "label": "DHL eCommerce Solutions client secret", - "value": "********"}, "pickup_id": {"visibility": "visible", "label": "DHL - eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", - "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", - "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": - {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", - "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test - DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution - center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": - "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": - {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", - "distribution_center": "USLAX1"}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1459' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdaa65aaee44e78bb42b00116545 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.132308' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/carrier_accounts/ca_3122347ca229459e853018a4d2226e8a - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdac65aaee44e78bb42c0011657d - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.118069' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location - DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": - "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": - {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", - "pickup_id": "123456"}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '359' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/carrier_accounts - response: - body: - string: '{"id": "ca_98e0e7beaaa4467f90e125871511661f", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T21:58:12Z", - "updated_at": "2024-01-19T21:58:12Z", "description": "CA Location DHL eCommerce - Solutions Account", "reference": null, "billing_type": "carrier", "readable": - "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": - "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce - Solutions client secret", "value": "********"}, "pickup_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, - "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions - distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", - "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test - DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", - "value": "123456"}, "distribution_center": {"visibility": "visible", "label": - "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1481' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf074e798bbc0000f69ce - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.112908' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"carrier_account": {"description": "My custom description"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '61' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: PATCH - uri: https://api.easypost.com/v2/carrier_accounts/ca_98e0e7beaaa4467f90e125871511661f - response: - body: - string: '{"id": "ca_98e0e7beaaa4467f90e125871511661f", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T21:58:12Z", - "updated_at": "2024-01-19T21:58:12Z", "description": "My custom description", - "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce Solutions", - "logo": null, "fields": {"credentials": {"client_id": {"visibility": "visible", - "label": "DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": - {"visibility": "password", "label": "DHL eCommerce Solutions client secret", - "value": "********"}, "pickup_id": {"visibility": "visible", "label": "DHL - eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", - "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", - "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": - {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", - "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test - DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution - center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": - "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": - {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", - "distribution_center": "USLAX1"}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1459' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf074e798bbc1000f6a06 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.130610' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/carrier_accounts/ca_98e0e7beaaa4467f90e125871511661f - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf075e798bbd9000f6a4d - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.116606' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location - DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": - "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": - {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", - "pickup_id": "123456"}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '359' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/carrier_accounts - response: - body: - string: '{"id": "ca_3bb630c9c7de49119938b3e899b15f80", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T22:01:06Z", - "updated_at": "2024-01-19T22:01:06Z", "description": "CA Location DHL eCommerce - Solutions Account", "reference": null, "billing_type": "carrier", "readable": - "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": - "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce - Solutions client secret", "value": "********"}, "pickup_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, - "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions - distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", - "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test - DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", - "value": "123456"}, "distribution_center": {"visibility": "visible", "label": - "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1481' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaf122e798c420000fef15 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.114270' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"carrier_account": {"description": "My custom description"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '61' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: PATCH - uri: https://api.easypost.com/v2/carrier_accounts/ca_3bb630c9c7de49119938b3e899b15f80 - response: - body: - string: '{"id": "ca_3bb630c9c7de49119938b3e899b15f80", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T22:01:06Z", - "updated_at": "2024-01-19T22:01:06Z", "description": "My custom description", - "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce Solutions", - "logo": null, "fields": {"credentials": {"client_id": {"visibility": "visible", - "label": "DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": - {"visibility": "password", "label": "DHL eCommerce Solutions client secret", - "value": "********"}, "pickup_id": {"visibility": "visible", "label": "DHL - eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", - "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", - "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": - {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", - "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test - DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution - center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": - "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": - {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", - "distribution_center": "USLAX1"}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1459' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaf122e798c421000fef56 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.131204' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/carrier_accounts/ca_3bb630c9c7de49119938b3e899b15f80 - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaf123e798c422000fefac - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.119651' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location - DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": - "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": - {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", - "pickup_id": "123456"}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '359' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/carrier_accounts - response: - body: - string: '{"id": "ca_865080cfb3f144298a8bc93ff713a607", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T22:04:52Z", - "updated_at": "2024-01-19T22:04:52Z", "description": "CA Location DHL eCommerce - Solutions Account", "reference": null, "billing_type": "carrier", "readable": - "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": - "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce - Solutions client secret", "value": "********"}, "pickup_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, - "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions - distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", - "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test - DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", - "value": "123456"}, "distribution_center": {"visibility": "visible", "label": - "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1481' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaf204e798cd040010a357 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.112907' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"carrier_account": {"description": "My custom description"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '61' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: PATCH - uri: https://api.easypost.com/v2/carrier_accounts/ca_865080cfb3f144298a8bc93ff713a607 - response: - body: - string: '{"id": "ca_865080cfb3f144298a8bc93ff713a607", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T22:04:52Z", - "updated_at": "2024-01-19T22:04:53Z", "description": "My custom description", - "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce Solutions", - "logo": null, "fields": {"credentials": {"client_id": {"visibility": "visible", - "label": "DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": - {"visibility": "password", "label": "DHL eCommerce Solutions client secret", - "value": "********"}, "pickup_id": {"visibility": "visible", "label": "DHL - eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", - "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", - "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": - {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", - "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test - DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution - center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": - "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": - {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", - "distribution_center": "USLAX1"}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1459' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf205e798cd050010a3a9 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.126329' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/carrier_accounts/ca_865080cfb3f144298a8bc93ff713a607 - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf205e798cd060010a3ea - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.112763' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location - DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": - "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": - {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", - "pickup_id": "123456"}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '359' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/carrier_accounts - response: - body: - string: '{"id": "ca_1b90230a8c5d476d968c76c5e63350fd", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T22:06:25Z", - "updated_at": "2024-01-19T22:06:25Z", "description": "CA Location DHL eCommerce - Solutions Account", "reference": null, "billing_type": "carrier", "readable": - "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": - "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce - Solutions client secret", "value": "********"}, "pickup_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, - "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions - distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", - "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test - DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", - "value": "123456"}, "distribution_center": {"visibility": "visible", "label": - "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1481' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf261e798d4bc0010e251 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.107265' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"carrier_account": {"description": "My custom description"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '61' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: PATCH - uri: https://api.easypost.com/v2/carrier_accounts/ca_1b90230a8c5d476d968c76c5e63350fd - response: - body: - string: '{"id": "ca_1b90230a8c5d476d968c76c5e63350fd", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T22:06:25Z", - "updated_at": "2024-01-19T22:06:25Z", "description": "My custom description", - "reference": null, "billing_type": "carrier", "readable": "DHL eCommerce Solutions", - "logo": null, "fields": {"credentials": {"client_id": {"visibility": "visible", - "label": "DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": - {"visibility": "password", "label": "DHL eCommerce Solutions client secret", - "value": "********"}, "pickup_id": {"visibility": "visible", "label": "DHL - eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "DHL eCommerce Solutions distribution center", - "value": "USLAX1"}}, "test_credentials": {"client_id": {"visibility": "visible", - "label": "Test DHL eCommerce Solutions client ID", "value": "123456"}, "client_secret": - {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret", - "value": "********"}, "pickup_id": {"visibility": "visible", "label": "Test - DHL eCommerce Solutions pickup ID", "value": "123456"}, "distribution_center": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions distribution - center", "value": "USLAX1"}}}, "credentials": {"client_id": "123456", "client_secret": - "********", "pickup_id": "123456", "distribution_center": "USLAX1"}, "test_credentials": - {"client_id": "123456", "client_secret": "********", "pickup_id": "123456", - "distribution_center": "USLAX1"}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1459' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf261e798d4bd0010e28a - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.129572' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/carrier_accounts/ca_1b90230a8c5d476d968c76c5e63350fd - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaf262e798d4bf0010e2bc - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.118108' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"carrier_account": {"type": "DhlEcsAccount", "description": "CA Location - DHL eCommerce Solutions Account", "credentials": {"client_id": "123456", "client_secret": - "123abc", "distribution_center": "USLAX1", "pickup_id": "123456"}, "test_credentials": - {"client_id": "123456", "client_secret": "123abc", "distribution_center": "USLAX1", - "pickup_id": "123456"}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '359' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/carrier_accounts - response: - body: - string: '{"id": "ca_a5e4cb81d1b4481d812f4511ba8dfbb1", "object": "CarrierAccount", - "type": "DhlEcsAccount", "clone": false, "created_at": "2024-01-19T23:38:29Z", - "updated_at": "2024-01-19T23:38:29Z", "description": "CA Location DHL eCommerce - Solutions Account", "reference": null, "billing_type": "carrier", "readable": - "DHL eCommerce Solutions", "logo": null, "fields": {"credentials": {"client_id": - {"visibility": "visible", "label": "DHL eCommerce Solutions client ID", "value": - "123456"}, "client_secret": {"visibility": "password", "label": "DHL eCommerce - Solutions client secret", "value": "********"}, "pickup_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions pickup ID", "value": "123456"}, - "distribution_center": {"visibility": "visible", "label": "DHL eCommerce Solutions - distribution center", "value": "USLAX1"}}, "test_credentials": {"client_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions client ID", - "value": "123456"}, "client_secret": {"visibility": "password", "label": "Test - DHL eCommerce Solutions client secret", "value": "********"}, "pickup_id": - {"visibility": "visible", "label": "Test DHL eCommerce Solutions pickup ID", - "value": "123456"}, "distribution_center": {"visibility": "visible", "label": - "Test DHL eCommerce Solutions distribution center", "value": "USLAX1"}}}, - "credentials": {"client_id": "123456", "client_secret": "********", "pickup_id": - "123456", "distribution_center": "USLAX1"}, "test_credentials": {"client_id": - "123456", "client_secret": "********", "pickup_id": "123456", "distribution_center": - "USLAX1"}}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1481' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365ab07f5e799e5a6001d794b - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.232644' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_carrier_metadata_retrieve.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_carrier_metadata_retrieve.yaml deleted file mode 100644 index 1889a511..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_carrier_metadata_retrieve.yaml +++ /dev/null @@ -1,127 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/metadata/carriers?carriers=usps&types=service_levels%2Cpredefined_packages - response: - body: - string: '{"carriers": [{"human_readable": "USPS", "name": "usps", "predefined_packages": - [{"carrier": "usps", "description": null, "dimensions": ["6in x 4.5in x 0.016in"], - "human_readable": null, "max_weight": null, "name": "Card"}, {"carrier": "usps", - "description": null, "dimensions": ["11.5in x 6.125in x 0.25in"], "human_readable": - null, "max_weight": null, "name": "Letter"}, {"carrier": "usps", "description": - null, "dimensions": ["11.5in x 6.125in x 0.75in"], "human_readable": null, - "max_weight": null, "name": "Flat"}, {"carrier": "usps", "description": null, - "dimensions": ["12.5in x 9.5in"], "human_readable": null, "max_weight": null, - "name": "FlatRateEnvelope"}, {"carrier": "usps", "description": null, "dimensions": - ["15in x 9.5in"], "human_readable": null, "max_weight": null, "name": "FlatRateLegalEnvelope"}, - {"carrier": "usps", "description": null, "dimensions": ["12.5in x 9.5in"], - "human_readable": null, "max_weight": null, "name": "FlatRatePaddedEnvelope"}, - {"carrier": "usps", "description": null, "dimensions": ["10in x 5in", "12.5in - x 9.5in"], "human_readable": null, "max_weight": null, "name": "FlatRateWindowEnvelope"}, - {"carrier": "usps", "description": null, "dimensions": ["12.5in x 9.5in"], - "human_readable": null, "max_weight": null, "name": "FlatRateCardboardEnvelope"}, - {"carrier": "usps", "description": null, "dimensions": ["10in x 6in"], "human_readable": - null, "max_weight": null, "name": "SmallFlatRateEnvelope"}, {"carrier": "usps", - "description": null, "dimensions": ["Varies based on service level"], "human_readable": - null, "max_weight": null, "name": "Parcel"}, {"carrier": "usps", "description": - null, "dimensions": ["Varies based on service level"], "human_readable": null, - "max_weight": 320.0, "name": "SoftPack"}, {"carrier": "usps", "description": - null, "dimensions": ["8.6875in x 5.4375in x 1.75in"], "human_readable": null, - "max_weight": null, "name": "SmallFlatRateBox"}, {"carrier": "usps", "description": - null, "dimensions": ["11.25in x 8.75in x 6in", "14.125in x 12in x 3.5in"], - "human_readable": null, "max_weight": null, "name": "MediumFlatRateBox"}, - {"carrier": "usps", "description": null, "dimensions": ["12.25in x 12in x - 6in"], "human_readable": null, "max_weight": null, "name": "LargeFlatRateBox"}, - {"carrier": "usps", "description": null, "dimensions": ["12.25in x 12.25in - x 6in"], "human_readable": null, "max_weight": null, "name": "LargeFlatRateBoxAPOFPO"}, - {"carrier": "usps", "description": null, "dimensions": [], "human_readable": - null, "max_weight": null, "name": "FlatTubTrayBox"}, {"carrier": "usps", "description": - null, "dimensions": [], "human_readable": null, "max_weight": null, "name": - "EMMTrayBox"}, {"carrier": "usps", "description": null, "dimensions": [], - "human_readable": null, "max_weight": null, "name": "FullTrayBox"}, {"carrier": - "usps", "description": null, "dimensions": [], "human_readable": null, "max_weight": - null, "name": "HalfTrayBox"}, {"carrier": "usps", "description": null, "dimensions": - [], "human_readable": null, "max_weight": null, "name": "PMODSack"}], "service_levels": - [{"carrier": "usps", "description": "1-5 business days", "dimensions": ["Cards, - Letters and Flats only (no Parcels)", "See Predefined Packages (Card, Letter, - Flat) for details"], "human_readable": null, "max_weight": 13.0, "name": "First"}, - {"carrier": "usps", "description": "1-3 business days", "dimensions": ["Combined - Length and Girth < 108in"], "human_readable": null, "max_weight": 1120.0, - "name": "Priority"}, {"carrier": "usps", "description": "1-2 days", "dimensions": - ["Combined Length and Girth < 108in"], "human_readable": null, "max_weight": - 1120.0, "name": "Express"}, {"carrier": "usps", "description": "2-5 days", - "dimensions": ["Combined Length and Girth < 130in"], "human_readable": null, - "max_weight": 70.0, "name": "GroundAdvantage"}, {"carrier": "usps", "description": - "2-8 business days", "dimensions": ["Combined Length and Girth < 108in"], - "human_readable": null, "max_weight": 1120.0, "name": "LibraryMail"}, {"carrier": - "usps", "description": "2-8 business days", "dimensions": ["Combined Length - and Girth < 108in"], "human_readable": null, "max_weight": 1120.0, "name": - "MediaMail"}, {"carrier": "usps", "description": null, "dimensions": ["Must - be rectangular, otherwise an additional charge may apply."], "human_readable": - null, "max_weight": 15.994, "name": "FirstClassMailInternational"}, {"carrier": - "usps", "description": "7-21 days", "dimensions": ["Packages (Other Than Rolls): - Combined Length and Girth < 108in", "Rolls (Tubes): Length: min 4in; max 36 - in. Length plus twice the diameter (combined): min 6.75 in; max 42in.", "Some - countries have specific prohibitions and restrictions"], "human_readable": - null, "max_weight": 64.0, "name": "FirstClassPackageInternationalService"}, - {"carrier": "usps", "description": "6-10 business days", "dimensions": ["Combined - Length and Girth < 108in"], "human_readable": null, "max_weight": 1120.0, - "name": "PriorityMailInternational"}, {"carrier": "usps", "description": "3-5 - business days", "dimensions": ["Combined Length and Girth < 108in"], "human_readable": - null, "max_weight": 1120.0, "name": "ExpressMailInternational"}]}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '4808' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865ab074be799e1a7001d261b - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.033043' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_carrier_types_list.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_carrier_types_list.yaml deleted file mode 100644 index fbd7d853..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_carrier_types_list.yaml +++ /dev/null @@ -1,4614 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/carrier_types - response: - body: - string: '[{"object": "CarrierType", "type": "AmazonMwsAccount", "readable": - "Amazon MWS", "logo": null, "fields": {"credentials": {"access_key_id": {"visibility": - "visible", "label": "AWS Access Key ID"}, "secret_key": {"visibility": "password", - "label": "Secret Key"}, "merchant_id": {"visibility": "visible", "label": - "Seller ID"}}}}, {"object": "CarrierType", "type": "ApcAccount", "readable": - "APC", "logo": null, "fields": {"credentials": {"shipper_id": {"visibility": - "visible", "label": "APC Shipper ID"}, "password": {"visibility": "password", - "label": "APC Password"}, "facility": {"visibility": "visible", "label": "APC - Facility (e.g., NJ, LA)"}}}}, {"object": "CarrierType", "type": "AsendiaUsaAccount", - "readable": "Asendia USA", "logo": null, "fields": {"credentials": {"account_number": - {"visibility": "visible", "label": "AsendiaUsa Account Number"}, "sub_account_number": - {"visibility": "visible", "label": "AsendiaUsa Sub Account Number"}, "username": - {"visibility": "visible", "label": "AsendiaUsa Username"}, "password": {"visibility": - "password", "label": "AsendiaUsa Password"}, "api_key": {"visibility": "masked", - "label": "AsendiaUsa API key"}, "carrier_facility": {"visibility": "select", - "label": "AsendiaUsa Carrier Facility / Processing Location (Optional)"}}, - "test_credentials": {"account_number": {"visibility": "visible", "label": - "Test AsendiaUsa Account Number"}, "sub_account_number": {"visibility": "visible", - "label": "Test AsendiaUsa Sub Account Number"}, "username": {"visibility": - "visible", "label": "Test AsendiaUsa Username"}, "password": {"visibility": - "password", "label": "Test AsendiaUsa Password"}, "api_key": {"visibility": - "masked", "label": "Test AsendiaUsa API key"}, "carrier_facility": {"visibility": - "select", "label": "Test AsendiaUsa Carrier Facility / Processing Location - (Optional)"}}}}, {"object": "CarrierType", "type": "AustraliaPostAccount", - "readable": "Australia Post", "logo": null, "fields": {"credentials": {"account_number": - {"visibility": "visible", "label": "Australia Post Account Number"}, "api_key": - {"visibility": "masked", "label": "Australia Post API Key"}, "api_secret": - {"visibility": "password", "label": "Australia Post Secret Key"}, "print_as_you_go": - {"visibility": "checkbox", "label": "Print as you go"}}, "test_credentials": - {"account_number": {"visibility": "visible", "label": "Australia Post Test - Account Number"}, "api_key": {"visibility": "masked", "label": "Australia - Post Test API Key"}, "api_secret": {"visibility": "password", "label": "Australia - Post Test Secret Key"}, "print_as_you_go": {"visibility": "checkbox", "label": - "Print as you go"}}}}, {"object": "CarrierType", "type": "AxlehireV3Account", - "readable": "AxlehireV3", "logo": null, "fields": {"credentials": {"api_key": - {"visibility": "masked", "label": "Client Secret"}}, "test_credentials": {"api_key": - {"visibility": "masked", "label": "Client Secret"}}}}, {"object": "CarrierType", - "type": "BetterTrucksAccount", "readable": "Better Trucks", "logo": null, - "fields": {"credentials": {"api_key": {"visibility": "masked", "label": "Better - Trucks API key"}}, "test_credentials": {"api_key": {"visibility": "masked", - "label": "Test Better Trucks API key"}}}}, {"object": "CarrierType", "type": - "CanadaPostAccount", "readable": "Canada Post", "logo": null, "fields": {"credentials": - {"api_key": {"visibility": "masked", "label": "CanadaPost API Key"}, "contract_id": - {"visibility": "visible", "label": "CanadaPost Contract ID (contract customers - only)"}, "customer_number": {"visibility": "visible", "label": "CanadaPost - Customer Number"}, "has_credit_card": {"visibility": "checkbox", "label": - "CanadaPost account has credit card?"}, "not_platform": {"visibility": "invisible", - "label": "CanadaPost account not registered through platform?"}}, "test_credentials": - {"api_key": {"visibility": "masked", "label": "CanadaPost Test API Key"}, - "contract_id": {"visibility": "visible", "label": "CanadaPost Test Contract - ID (contract customers only)"}, "customer_number": {"visibility": "visible", - "label": "CanadaPost Test Customer Number"}, "has_credit_card": {"visibility": - "checkbox", "label": "CanadaPost Test account has credit card?"}, "not_platform": - {"visibility": "invisible", "label": "CanadaPost Test account not registered - through platform?"}}, "custom_workflow": true}}, {"object": "CarrierType", - "type": "CanparAccount", "readable": "Canpar", "logo": null, "fields": {"credentials": - {"account_number": {"visibility": "visible", "label": "Canpar Account Number"}, - "username": {"visibility": "visible", "label": "Canpar Username"}, "password": - {"visibility": "password", "label": "Canpar Password"}}, "test_credentials": - {"account_number": {"visibility": "visible", "label": "Test Canpar Account - Number"}, "username": {"visibility": "visible", "label": "Test Canpar Username"}, - "password": {"visibility": "password", "label": "Test Canpar Password"}}}}, - {"object": "CarrierType", "type": "ColumbusLastMileAccount", "readable": "CDL - Last Mile Solutions", "logo": null, "fields": {"credentials": {"username": - {"visibility": "visible", "label": "CDL Last Mile Solutions customer username"}, - "password": {"visibility": "password", "label": "CDL Last Mile Solutions customer - password"}, "tracking_code_prefix": {"visibility": "visible", "label": "CDL - Last Mile Solutions tracking code prefix"}}, "test_credentials": {"username": - {"visibility": "visible", "label": "CDL Last Mile Solutions customer test - username"}, "password": {"visibility": "password", "label": "CDL Last Mile - Solutions customer test password"}, "tracking_code_prefix": {"visibility": - "visible", "label": "CDL Last Mile Solutions tracking code prefix"}}}}, {"object": - "CarrierType", "type": "CourierExpressAccount", "readable": "Courier Express", - "logo": null, "fields": {"credentials": {"api_key": {"visibility": "masked", - "label": "Courier Express API key"}, "shipper_id": {"visibility": "visible", - "label": "Courier Express shipper ID"}}, "test_credentials": {"api_key": {"visibility": - "masked", "label": "Test Courier Express API key"}, "shipper_id": {"visibility": - "visible", "label": "Test Courier Express shipper ID"}}}}, {"object": "CarrierType", - "type": "CouriersPleaseAccount", "readable": "CouriersPlease", "logo": null, - "fields": {"credentials": {"username": {"visibility": "visible", "label": - "Account Number"}, "password": {"visibility": "password", "label": "Password"}}, - "test_credentials": {"username": {"visibility": "visible", "label": "Account - Number"}, "password": {"visibility": "password", "label": "Password"}}}}, - {"object": "CarrierType", "type": "DaiPostAccount", "readable": "Dai Post", - "logo": null, "fields": {"credentials": {"username": {"visibility": "visible", - "label": " Dai Post customer username"}, "password": {"visibility": "password", - "label": " Dai Post client secret"}, "origin_terminal": {"visibility": "visible", - "label": " Dai Post default origin terminal"}, "account_code": {"visibility": - "visible", "label": " 3-letter account code for customers with multiple accounts"}}}}, - {"object": "CarrierType", "type": "DeliverItAccount", "readable": "Deliver-It", - "logo": null, "fields": {"credentials": {"username": {"visibility": "visible", - "label": "Deliver-It Username"}, "password": {"visibility": "password", "label": - "Deliver-It Password"}, "account_number": {"visibility": "visible", "label": - "Deliver-It Account Number"}}, "test_credentials": {"username": {"visibility": - "visible", "label": "Test Deliver-It Username"}, "password": {"visibility": - "password", "label": "Test Deliver-It Password"}, "account_number": {"visibility": - "visible", "label": "Test Deliver-It Account Number"}}}}, {"object": "CarrierType", - "type": "DeutschePostUKAccount", "readable": "Deutsche Post UK", "logo": null, - "fields": {"credentials": {"client_id": {"visibility": "visible", "label": - "Deutsche Post UK Client ID"}, "client_secret": {"visibility": "password", - "label": "Deutsche Post UK Secret"}, "account_number": {"visibility": "visible", - "label": "Deutsche Post UK Account Number"}}, "test_credentials": {"client_id": - {"visibility": "visible", "label": "Test Deutsche Post UK Client ID"}, "client_secret": - {"visibility": "password", "label": "Test Deutsche Post UK Secret"}, "account_number": - {"visibility": "visible", "label": "Test Deutsche Post UK Account Number"}}}}, - {"object": "CarrierType", "type": "DhlEcommerceAsiaAccount", "readable": "DHL - Ecommerce Asia", "logo": null, "fields": {"credentials": {"account_number": - {"visibility": "visible", "label": "DHL Ecommerce Asia Account Number"}, "client_id": - {"visibility": "visible", "label": "DHL Ecommerce Asia Contract Number"}, - "password": {"visibility": "password", "label": "DHL Ecommerce Asia Password"}, - "barcode_prefix": {"visibility": "visible", "label": "DHL Ecommerce Asia Customer - ID"}}, "test_credentials": {"account_number": {"visibility": "visible", "label": - "Test DHL Ecommerce Asia Account Number"}, "client_id": {"visibility": "visible", - "label": "Test DHL Ecommerce Asia Contract Number"}, "password": {"visibility": - "password", "label": "Test DHL Ecommerce Asia Password"}, "barcode_prefix": - {"visibility": "visible", "label": "Test DHL Ecommerce Asia Customer ID"}}}}, - {"object": "CarrierType", "type": "DhlEcsAccount", "readable": "DHL eCommerce - Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions client ID"}, "client_secret": - {"visibility": "password", "label": "DHL eCommerce Solutions client secret"}, - "pickup_id": {"visibility": "visible", "label": "DHL eCommerce Solutions pickup - ID"}, "distribution_center": {"visibility": "visible", "label": "DHL eCommerce - Solutions distribution center"}}, "test_credentials": {"client_id": {"visibility": - "visible", "label": "Test DHL eCommerce Solutions client ID"}, "client_secret": - {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret"}, - "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions - pickup ID"}, "distribution_center": {"visibility": "visible", "label": "Test - DHL eCommerce Solutions distribution center"}}}}, {"object": "CarrierType", - "type": "DhlExpressAccount", "readable": "DHL Express", "logo": null, "fields": - {"credentials": {"account_number": {"visibility": "visible", "label": "DHL - Account Number"}, "country": {"visibility": "visible", "label": "Account Country - Code (2 Letter)"}, "site_id": {"visibility": "visible", "label": "Site ID - (Optional)"}, "password": {"visibility": "password", "label": "Password (Optional)"}, - "is_reseller": {"visibility": "checkbox", "label": "Reseller Account? (check - if yes)"}}}}, {"object": "CarrierType", "type": "DhlPaketAccount", "readable": - "DHL Paket", "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "DHL Paket Account Number (EKP)"}, "contract_id": {"visibility": - "visible", "label": "DHL Paket Contract Participation Value"}, "cig_username": - {"visibility": "visible", "label": "DHL Paket CIG Username"}, "cig_password": - {"visibility": "password", "label": "DHL Paket CIG Password"}, "tnt_username": - {"visibility": "visible", "label": "DHL Paket TNT Username (if applicable)"}, - "tnt_password": {"visibility": "password", "label": "DHL Paket TNT Password - (if applicable)"}, "retoure_username": {"visibility": "visible", "label": - "DHL Paket Retoure Username (if applicable)"}, "retoure_password": {"visibility": - "password", "label": "DHL Paket Retoure Password (if applicable)"}}, "test_credentials": - {"account_number": {"visibility": "visible", "label": "Test DHL Paket Account - Number (EKP)"}, "contract_id": {"visibility": "visible", "label": "Test DHL - Paket Contract Participation Value"}, "cig_username": {"visibility": "visible", - "label": " Test DHL Paket CIG Username"}, "cig_password": {"visibility": "password", - "label": "Test DHL Paket CIG Password"}, "tnt_username": {"visibility": "visible", - "label": "Test DHL Paket TNT Username (if applicable)"}, "tnt_password": {"visibility": - "password", "label": "Test DHL Paket TNT Password (if applicable)"}, "retoure_username": - {"visibility": "visible", "label": "Test DHL Paket Retoure Username (if applicable)"}, - "retoure_password": {"visibility": "password", "label": "Test DHL Paket Retoure - Password (if applicable)"}}}}, {"object": "CarrierType", "type": "DhlParcelAccount", - "readable": "DHL Parcel", "logo": null, "fields": {"credentials": {"user_id": - {"visibility": "visible", "label": "DHL Parcel User ID"}, "api_key": {"visibility": - "masked", "label": "DHL Parcel API Key"}, "account_number": {"visibility": - "visible", "label": "DHL Parcel Account Number"}}, "test_credentials": {"user_id": - {"visibility": "visible", "label": "DHL Parcel User ID"}, "api_key": {"visibility": - "masked", "label": "DHL Parcel API Key"}, "account_number": {"visibility": - "visible", "label": "DHL Parcel Account Number"}}}}, {"object": "CarrierType", - "type": "DpdAccount", "readable": "DPD", "logo": null, "fields": {"credentials": - {"username": {"visibility": "visible", "label": "WebConnect Username"}, "password": - {"visibility": "password", "label": "WebConnect Password"}, "customer_number": - {"visibility": "visible", "label": "DPD Customer Number"}}, "test_credentials": - {"username": {"visibility": "visible", "label": "Test WebConnect Username"}, - "password": {"visibility": "password", "label": "Test WebConnect Password"}, - "customer_number": {"visibility": "visible", "label": "DPD Customer Number"}}}}, - {"object": "CarrierType", "type": "DpdUkAccount", "readable": "DPD UK", "logo": - null, "fields": {"credentials": {"account_number": {"visibility": "visible", - "label": "DPD UK Account Number"}, "username": {"visibility": "visible", "label": - "DPD UK Username"}, "password": {"visibility": "password", "label": "DPD UK - Password"}}}}, {"object": "CarrierType", "type": "DpdNlAccount", "readable": - "DPD NL", "logo": null, "fields": {"credentials": {"username": {"visibility": - "visible", "label": "Delis ID"}, "password": {"visibility": "password", "label": - "Password"}}, "test_credentials": {"username": {"visibility": "visible", "label": - "Test Delis ID"}, "password": {"visibility": "password", "label": "Test Password"}}}}, - {"object": "CarrierType", "type": "EstafetaAccount", "readable": "Estafeta", - "logo": null, "fields": {"credentials": {"customer_id": {"visibility": "visible", - "label": "Subscriber ID"}, "username": {"visibility": "visible", "label": - "Login"}, "password": {"visibility": "password", "label": "Password"}, "client_id": - {"visibility": "visible", "label": "Tracking Subscriber ID"}, "user_id": {"visibility": - "visible", "label": "Tracking Login"}, "secret_key": {"visibility": "password", - "label": "Tracking Password"}, "customer_number": {"visibility": "visible", - "label": "Customer Number"}, "hub_id": {"visibility": "visible", "label": - "Office Number"}}, "test_credentials": {"customer_id": {"visibility": "visible", - "label": "Test Subscriber ID"}, "username": {"visibility": "visible", "label": - "Test Login"}, "password": {"visibility": "password", "label": "Test Password"}, - "client_id": {"visibility": "visible", "label": "Test Tracking Subscriber - ID"}, "user_id": {"visibility": "visible", "label": "Test Tracking Login"}, - "secret_key": {"visibility": "password", "label": "Test Tracking Password"}, - "customer_number": {"visibility": "visible", "label": "Test Customer Number"}, - "hub_id": {"visibility": "visible", "label": "Test Office Number"}}}}, {"object": - "CarrierType", "type": "FastwayAccount", "readable": "Fastway", "logo": null, - "fields": {"credentials": {"api_key": {"visibility": "masked", "label": "API - Key"}}}}, {"object": "CarrierType", "type": "FedexAccount", "readable": "FedEx", - "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "readonly", "label": "FedEx Account Number"}, "meter_number": {"visibility": - "invisible", "label": "FedEx Production Meter Number"}, "key": {"visibility": - "invisible", "label": "FedEx Production Authentication Key"}, "password": - {"visibility": "invisible", "label": "FedEx Production Password"}}, "test_credentials": - {"account_number": {"visibility": "readonly", "label": "FedEx Account Number"}, - "meter_number": {"visibility": "invisible", "label": "FedEx Test Meter Number"}, - "key": {"visibility": "invisible", "label": "FedEx Developer Test Key"}, "password": - {"visibility": "invisible", "label": "FedEx Test Password"}}, "creation_fields": - {"credential_information": {"account_number": {"label": "FedEx Account #", - "visibility": "visible"}}, "company_information": {"corporate_first_name": - {"label": "Company Contact First Name", "visibility": "visible"}, "corporate_last_name": - {"label": "Company Contact Last Name", "visibility": "visible"}, "corporate_job_title": - {"label": "Company Contact Job Title", "visibility": "visible"}, "corporate_company_name": - {"label": "Company Name", "visibility": "visible"}, "corporate_phone_number": - {"label": "Company Phone", "visibility": "visible"}, "corporate_email_address": - {"label": "Company Email", "visibility": "visible"}, "corporate_streets": - {"label": "Company Street", "visibility": "visible"}, "corporate_city": {"label": - "Company City", "visibility": "visible"}, "corporate_state": {"label": "Company - State", "visibility": "visible"}, "corporate_postal_code": {"label": "Company - Postal Code", "visibility": "visible"}, "corporate_country_code": {"label": - "Company Country Code", "visibility": "visible"}}, "address_information": - {"shipping_streets": {"label": "Shipping Street", "visibility": "visible"}, - "shipping_city": {"label": "Shipping City", "visibility": "visible"}, "shipping_state": - {"label": "Shipping State", "visibility": "visible"}, "shipping_postal_code": - {"label": "Shipping Postal Code ", "visibility": "visible"}, "shipping_country_code": - {"label": "Shipping Country Code", "visibility": "visible"}}}, "custom_workflow": - true}}, {"object": "CarrierType", "type": "FedexCrossBorderAccount", "readable": - "FedEx Cross Border", "logo": null, "fields": {"credentials": {"api_key": - {"visibility": "masked", "label": "FedEx Cross Border API key"}, "origin_hub": - {"visibility": "select", "label": "FedEx Cross Border Origin Hub"}}, "test_credentials": - {"api_key": {"visibility": "masked", "label": "Test FedEx Cross Border API - key"}, "origin_hub": {"visibility": "select", "label": "Test FedEx Cross Border - Origin Hub"}}}}, {"object": "CarrierType", "type": "FedexMailviewAccount", - "readable": "FedEx MailView", "logo": null, "fields": {"credentials": {"customer_id": - {"visibility": "visible", "label": "Customer Code"}, "service_id": {"visibility": - "password", "label": "Service ID"}, "fimspremium": {"visibility": "checkbox", - "label": "FIMS Premium"}, "fimsstandard": {"visibility": "checkbox", "label": - "FIMS Standard"}, "mailviewpremium": {"visibility": "checkbox", "label": "MailView - Premium"}, "mailviewlight": {"visibility": "checkbox", "label": "MailView - Light"}}}}, {"object": "CarrierType", "type": "FedexSmartpostAccount", "readable": - "FedEx SmartPost", "logo": null, "fields": {"credentials": {"account_number": - {"visibility": "visible", "label": "FedEx SmartPost Account Number"}, "hub_id": - {"visibility": "visible", "label": "FedEx SmartPost HubID"}, "meter_number": - {"visibility": "visible", "label": "Fedex SmartPost Meter Number"}, "key": - {"visibility": "masked", "label": "FedEx SmartPost Access Key"}, "password": - {"visibility": "password", "label": "SmartPost Access Key Password"}}, "creation_fields": - {"credential_information": {"account_number": {"label": "FedEx SmartPost Account - #", "visibility": "visible"}, "hub_id": {"label": "FedEx SmartPost Hub ID", - "visibility": "visible"}}, "company_information": {"corporate_first_name": - {"label": "Company Contact First Name", "visibility": "visible"}, "corporate_last_name": - {"label": "Company Contact Last Name", "visibility": "visible"}, "corporate_job_title": - {"label": "Company Contact Job Title", "visibility": "visible"}, "corporate_company_name": - {"label": "Company Name", "visibility": "visible"}, "corporate_phone_number": - {"label": "Company Phone", "visibility": "visible"}, "corporate_email_address": - {"label": "Company Email", "visibility": "visible"}, "corporate_streets": - {"label": "Company Street", "visibility": "visible"}, "corporate_city": {"label": - "Company City", "visibility": "visible"}, "corporate_state": {"label": "Company - State", "visibility": "visible"}, "corporate_postal_code": {"label": "Company - Postal Code", "visibility": "visible"}, "corporate_country_code": {"label": - "Company Country Code", "visibility": "visible"}}, "address_information": - {"shipping_streets": {"label": "Shipping Street", "visibility": "visible"}, - "shipping_city": {"label": "Shipping City", "visibility": "visible"}, "shipping_state": - {"label": "Shipping State", "visibility": "visible"}, "shipping_postal_code": - {"label": "Shipping Postal Code ", "visibility": "visible"}, "shipping_country_code": - {"label": "Shipping Country Code", "visibility": "visible"}}}, "custom_workflow": - true}}, {"object": "CarrierType", "type": "FirstMileConciseAccount", "readable": - "First Mile", "logo": null, "fields": {"credentials": {"username": {"visibility": - "visible", "label": "FirstMile Username"}, "password": {"visibility": "password", - "label": "FirsMile Password"}, "account_number": {"visibility": "visible", - "label": "FirstMile Account Number"}}, "test_credentials": {"username": {"visibility": - "visible", "label": "Test FirstMile Username"}, "password": {"visibility": - "password", "label": "Test FirstMile Password"}, "account_number": {"visibility": - "visible", "label": "Test FirstMile Account Number"}}}}, {"object": "CarrierType", - "type": "FlexportAccount", "readable": "Flexport", "logo": null, "fields": - {"credentials": {"api_key": {"visibility": "masked", "label": "Flexport Account - API Key"}}}}, {"object": "CarrierType", "type": "GsoAccount", "readable": - "GSO", "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "GSO Account Number"}, "username": {"visibility": "visible", - "label": "Username"}, "password": {"visibility": "password", "label": "Password"}}}}, - {"object": "CarrierType", "type": "HailifyAccount", "readable": "Hailify", - "logo": null, "fields": {"credentials": {"partner_id": {"visibility": "visible", - "label": "Hailify Partner ID"}}, "test_credentials": {"partner_id": {"visibility": - "visible", "label": "Test Hailify Partner ID"}}}}, {"object": "CarrierType", - "type": "HermesAccount", "readable": "Evri", "logo": null, "fields": {"credentials": - {"username": {"visibility": "visible", "label": "Evri Username"}, "password": - {"visibility": "password", "label": "Evri Password"}, "client_id": {"visibility": - "visible", "label": "Evri Client ID"}, "auth_id": {"visibility": "visible", - "label": "Evri Auth ID"}, "auth_secret": {"visibility": "password", "label": - "Evri Auth Secret"}, "client_name": {"visibility": "visible", "label": "Evri - Client name"}, "group_id": {"visibility": "visible", "label": "Evri Group - ID"}, "client_licence": {"visibility": "masked", "label": "Evri Client License"}, - "api_key": {"visibility": "masked", "label": "Evri API Key"}}}}, {"object": - "CarrierType", "type": "InterlinkExpressAccount", "readable": "Interlink Express", - "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "Interlink Express Account Number"}, "username": {"visibility": - "visible", "label": "Interlink Express Username"}, "password": {"visibility": - "password", "label": "Interlink Express Password"}, "vat_number": {"visibility": - "visible", "label": "VAT Number"}}}}, {"object": "CarrierType", "type": "LasershipV2Account", - "readable": "LaserShipV2", "logo": null, "fields": {"credentials": {"api_key": - {"visibility": "masked", "label": "LaserShipV2 API Key"}, "api_id": {"visibility": - "visible", "label": "LaserShipV2 API ID"}, "facility": {"visibility": "visible", - "label": "LaserShipV2 Customer Branch"}, "cargo_claim_value": {"visibility": - "visible", "label": "LaserShipV2 Cargo Insurance Claim Value (USD)"}, "is_reseller": - {"visibility": "checkbox", "label": "3PL Account? (check if yes)"}, "injection_location_type": - {"visibility": "visible", "label": "Injection Address Location Type (\"Business\" - or \"Residence\")"}, "injection_contact": {"visibility": "visible", "label": - "Injection Address Contact"}, "injection_organization": {"visibility": "visible", - "label": "Injection Address Organization"}, "injection_street1": {"visibility": - "visible", "label": "Injection Address Street1"}, "injection_street2": {"visibility": - "visible", "label": "Injection Address Street2"}, "injection_city": {"visibility": - "visible", "label": "Injection Address City"}, "injection_state": {"visibility": - "visible", "label": "Injection Address State"}, "injection_zip": {"visibility": - "visible", "label": "Injection Address Postal Code"}, "injection_country": - {"visibility": "visible", "label": "Injection Address Country Code"}, "injection_phone": - {"visibility": "visible", "label": "Injection Address Phone"}, "injection_phone_ext": - {"visibility": "visible", "label": "Injection Address Phone Extension"}, "injection_email": - {"visibility": "visible", "label": "Injection Address Email"}, "injection_instruction": - {"visibility": "visible", "label": "Injection Address Instruction"}, "injection_note": - {"visibility": "visible", "label": "Injection Address Note"}}}}, {"object": - "CarrierType", "type": "LoomisExpressAccount", "readable": "Loomis Express", - "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "Loomis Express Account Number"}, "username": {"visibility": - "visible", "label": "Loomis Express Username"}, "password": {"visibility": - "password", "label": "Loomis Express Password"}}, "test_credentials": {"account_number": - {"visibility": "visible", "label": "Test Loomis Express Account Number"}, - "username": {"visibility": "visible", "label": "Test Loomis Express Username"}, - "password": {"visibility": "password", "label": "Test Loomis Express Password"}}}}, - {"object": "CarrierType", "type": "LsoAccount", "readable": "LSO", "logo": - null, "fields": {"credentials": {"account_number": {"visibility": "visible", - "label": "LSO Production Account Number"}, "username": {"visibility": "visible", - "label": "LSO Production Username"}, "password": {"visibility": "password", - "label": "LSO Production Password"}}, "test_credentials": {"account_number": - {"visibility": "visible", "label": "LSO Test Account Number"}, "username": - {"visibility": "visible", "label": "LSO Test Username"}, "password": {"visibility": - "password", "label": "LSO Test Password"}}}}, {"object": "CarrierType", "type": - "NewgisticsAccount", "readable": "Newgistics", "logo": null, "fields": {"credentials": - {"client_id": {"visibility": "visible", "label": "Client ID"}, "client_secret": - {"visibility": "password", "label": "Client Secret"}, "client_facility_id": - {"visibility": "visible", "label": "Client Facility ID"}, "fulfiller_facility_id": - {"visibility": "visible", "label": "Newgistics Facility ID"}, "tracking_api_key": - {"visibility": "masked", "label": "Tracking API Key"}, "merchant_id": {"visibility": - "visible", "label": "Merchant ID"}}, "test_credentials": {"client_id": {"visibility": - "visible", "label": "Client ID"}, "client_secret": {"visibility": "password", - "label": "Client Secret"}, "client_facility_id": {"visibility": "visible", - "label": "Client Facility ID"}, "fulfiller_facility_id": {"visibility": "visible", - "label": "Newgistics Facility ID"}, "tracking_api_key": {"visibility": "masked", - "label": "Tracking API Key"}, "merchant_id": {"visibility": "visible", "label": - "Merchant ID"}}}}, {"object": "CarrierType", "type": "OmniParcelAccount", - "readable": "OmniParcel", "logo": null, "fields": {"credentials": {"api_access_key": - {"visibility": "masked", "label": "API Access Key"}, "return_api_access_key": - {"visibility": "masked", "label": "Return API Access Key"}}, "test_credentials": - {"api_access_key": {"visibility": "masked", "label": "Test API Access Key"}, - "return_api_access_key": {"visibility": "masked", "label": "Test Return API - Access Key"}}}}, {"object": "CarrierType", "type": "OntracAccount", "readable": - "OnTrac", "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "OnTrac Account Number"}, "password": {"visibility": "password", - "label": "OnTrac API Password"}}, "test_credentials": {"account_number": {"visibility": - "visible", "label": "OnTrac Test Account Number"}, "password": {"visibility": - "password", "label": "OnTrac Test API Password"}}}}, {"object": "CarrierType", - "type": "OptimaAccount", "readable": "Optima", "logo": null, "fields": {"credentials": - {"username": {"visibility": "visible", "label": "Optima username"}, "password": - {"visibility": "password", "label": "Optima password"}, "account_number": - {"visibility": "visible", "label": "Optima account number"}}, "test_credentials": - {"username": {"visibility": "visible", "label": "Test Optima username"}, "password": - {"visibility": "password", "label": "Test Optima password"}, "account_number": - {"visibility": "visible", "label": "Test Optima account number"}}}}, {"object": - "CarrierType", "type": "OsmWorldwideAccount", "readable": "OSM Worldwide", - "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "Account Number"}, "mailer_id": {"visibility": "visible", - "label": "Mailer ID"}, "facility_code": {"visibility": "visible", "label": - "Facility Code/Cost Center ID for manifesting (optional)"}, "company_name": - {"visibility": "visible", "label": "Company Name"}, "aws_sftp_username": {"visibility": - "visible", "label": "SFTP Username"}}}}, {"object": "CarrierType", "type": - "PandionAccount", "readable": "Pandion", "logo": null, "fields": {"credentials": - {"api_key": {"visibility": "masked", "label": "Prod Pandion API Key"}}, "test_credentials": - {"api_key": {"visibility": "masked", "label": "Test Pandion API Key"}}}}, - {"object": "CarrierType", "type": "ParcelForceAccount", "readable": "Parcel - Force", "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "Parcelforce Contract Number"}, "username": {"visibility": - "visible", "label": "expressLink API Username"}, "password": {"visibility": - "password", "label": "expressLink API Password"}, "department_id": {"visibility": - "visible", "label": "Department ID - not required"}}, "test_credentials": - {"account_number": {"visibility": "visible", "label": "Parcelforce Test Contract - Number"}, "username": {"visibility": "visible", "label": "Test expressLink - API Username"}, "password": {"visibility": "password", "label": "Test expressLink - API Password"}, "department_id": {"visibility": "visible", "label": "Test - Department ID - not required"}}}}, {"object": "CarrierType", "type": "ParcllAccount", - "readable": "Cirro E-Commerce", "logo": null, "fields": {"credentials": {"api_key": - {"visibility": "masked", "label": "Cirro E-Commerce API key"}, "user_id": - {"visibility": "visible", "label": "Cirro E-Commerce User Id"}, "origin_hub": - {"visibility": "select", "label": "Cirro E-Commerce Origin Hub"}}, "test_credentials": - {"api_key": {"visibility": "masked", "label": "Test Cirro E-Commerce API key"}, - "user_id": {"visibility": "visible", "label": "Test Cirro E-Commerce User - Id"}, "origin_hub": {"visibility": "select", "label": "Test Cirro E-Commerce - Origin Hub"}}}}, {"object": "CarrierType", "type": "PassportGlobalAccount", - "readable": "Passport Global", "logo": null, "fields": {"credentials": {"api_key": - {"visibility": "masked", "label": "Passport Global API key"}, "email": {"visibility": - "visible", "label": "Customer email address registered with Passport Global"}, - "name": {"visibility": "visible", "label": "Customer name registered with - Passport Global"}, "company_name": {"visibility": "visible", "label": "Customer - company name registered with Passport Global"}, "phone": {"visibility": "visible", - "label": "Customer phone number registered with Passport Global (optional)"}}, - "test_credentials": {"api_key": {"visibility": "masked", "label": "Passport - Global Test API key"}, "email": {"visibility": "visible", "label": "Customer - email address registered with Passport Global"}, "name": {"visibility": "visible", - "label": "Customer name registered with Passport Global"}, "company_name": - {"visibility": "visible", "label": "Customer company name registered with - Passport Global"}, "phone": {"visibility": "visible", "label": "Customer phone - number registered with Passport Global (optional)"}}}}, {"object": "CarrierType", - "type": "PurolatorAccount", "readable": "Purolator", "logo": null, "fields": - {"credentials": {"account_number": {"visibility": "visible", "label": "Purolator - Account Number"}, "api_key": {"visibility": "masked", "label": "Production - API Key"}, "password": {"visibility": "password", "label": "Production API - Key Password"}}}}, {"object": "CarrierType", "type": "RoyalMailAccount", "readable": - "Royal Mail", "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "Royal Mail Account Number"}, "username": {"visibility": - "visible", "label": "OBA Email Address"}, "posting_location_number": {"visibility": - "visible", "label": "Posting Location Number"}}}}, {"object": "CarrierType", - "type": "RRDonnelleyAccount", "readable": "ePost Global", "logo": null, "fields": - {"credentials": {"account_number": {"visibility": "visible", "label": "ePostGlobal - Account Number"}}}}, {"object": "CarrierType", "type": "SendleAccount", "readable": - "Sendle", "logo": null, "fields": {"credentials": {"api_key": {"visibility": - "masked", "label": "Sendle API Key"}, "user_id": {"visibility": "visible", - "label": "Sendle ID"}}, "test_credentials": {"api_key": {"visibility": "masked", - "label": "Sendle Sandbox API Key"}, "user_id": {"visibility": "visible", "label": - "Sendle Sandbox ID"}}}}, {"object": "CarrierType", "type": "SfExpressAccount", - "readable": "SF Express", "logo": null, "fields": {"credentials": {"checkword": - {"visibility": "visible", "label": "SF Express checkword"}, "customer_code": - {"visibility": "visible", "label": "SF Express customer code"}, "customer_id": - {"visibility": "visible", "label": "SF Express customer id"}}, "test_credentials": - {"checkword": {"visibility": "visible", "label": "Test SF Express checkword"}, - "customer_code": {"visibility": "visible", "label": "Test SF Express customer - code"}, "customer_id": {"visibility": "visible", "label": "Test SF Express - customer id"}}}}, {"object": "CarrierType", "type": "SmartKargoAccount", "readable": - "SmartKargo", "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "SmartKargo account number"}}, "test_credentials": {"account_number": - {"visibility": "visible", "label": "Test SmartKargo account number"}}}}, {"object": - "CarrierType", "type": "SonicAccount", "readable": "Sonic", "logo": null, - "fields": {"credentials": {"username": {"visibility": "visible", "label": - "Sonic username"}, "password": {"visibility": "password", "label": "Sonic - password"}, "account_number": {"visibility": "visible", "label": "Sonic account - number"}}, "test_credentials": {"username": {"visibility": "visible", "label": - "Test Sonic username"}, "password": {"visibility": "password", "label": "Test - Sonic password"}, "account_number": {"visibility": "visible", "label": "Test - Sonic account number"}}}}, {"object": "CarrierType", "type": "SpeedeeAccount", - "readable": "Spee-Dee", "logo": null, "fields": {"credentials": {"account_number": - {"visibility": "visible", "label": "Spee-Dee Account Number"}}}}, {"object": - "CarrierType", "type": "SwyftAccount", "readable": "Swyft", "logo": null, - "fields": {"credentials": {"password": {"visibility": "password", "label": - "Swyft API Key"}}, "test_credentials": {"password": {"visibility": "password", - "label": "Test Swyft API Key"}}}}, {"object": "CarrierType", "type": "TforceConciseAccount", - "readable": "TForce", "logo": null, "fields": {"credentials": {"username": - {"visibility": "visible", "label": "TForce Username"}, "password": {"visibility": - "password", "label": "TForce Password"}, "account_number": {"visibility": - "visible", "label": "TForce Account Number"}}, "test_credentials": {"username": - {"visibility": "visible", "label": "Test TForce Username"}, "password": {"visibility": - "password", "label": "Test TForce Password"}, "account_number": {"visibility": - "visible", "label": "Test TForce Account Number"}}}}, {"object": "CarrierType", - "type": "TollAccount", "readable": "Toll", "logo": null, "fields": {"credentials": - {"account_number": {"visibility": "visible", "label": "Toll Account Number"}, - "business_unit": {"visibility": "visible", "label": "Toll Business Unit (Ex. - IPEC)"}, "source_system_code": {"visibility": "visible", "label": "Toll Source - System Code"}}, "test_credentials": {"account_number": {"visibility": "visible", - "label": "Toll Test Account Number"}, "business_unit": {"visibility": "visible", - "label": "Toll Business Unit (Ex. IPEC)"}, "source_system_code": {"visibility": - "visible", "label": "Toll Test Source System Code"}}}}, {"object": "CarrierType", - "type": "UdsAccount", "readable": "UDS", "logo": null, "fields": {"credentials": - {"ftp_username": {"visibility": "visible", "label": "FTP Username"}, "ftp_password": - {"visibility": "password", "label": "FTP Password"}}}}, {"object": "CarrierType", - "type": "UpsAccount", "readable": "UPS", "logo": null, "fields": {"credentials": - {"access_license_number": {"visibility": "invisible", "label": "UPS Access - License Number"}, "account_number": {"visibility": "readonly", "label": "UPS - Account Number"}, "user_id": {"visibility": "invisible", "label": "UPS.com - User ID"}, "password": {"visibility": "invisible", "label": "UPS.com Password"}}, - "creation_fields": {"registration_data": {"account_number": {"label": "UPS - Account Number", "visibility": "visible"}, "client_ip": {"label": "Client - IP", "visibility": "invisible"}, "name": {"label": "Company Contact Name", - "visibility": "visible"}, "title": {"label": "Company Contact Job Title", - "visibility": "visible"}, "company": {"label": "Company Name", "visibility": - "visible"}, "phone": {"label": "Company Phone", "visibility": "visible"}, - "email": {"label": "Company Email", "visibility": "visible"}, "website": {"label": - "Company Website", "visibility": "visible"}, "street1": {"label": "Shipping - Street 1", "visibility": "visible"}, "street2": {"label": "Shipping Street - 2", "visibility": "visible"}, "city": {"label": "Shipping City", "visibility": - "visible"}, "state": {"label": "Shipping State", "visibility": "visible"}, - "postal_code": {"label": "Shipping Postal Code", "visibility": "visible"}, - "country": {"label": "Shipping Country", "visibility": "visible"}, "invoice_number": - {"label": "UPS Invoice Number", "visibility": "visible"}, "invoice_date": - {"label": "UPS Invoice Date", "visibility": "visible"}, "invoice_amount": - {"label": "UPS Invoice Amount", "visibility": "visible"}, "invoice_currency": - {"label": "UPS Invoice Currency", "visibility": "visible"}, "invoice_control_id": - {"label": "UPS Invoice Control ID", "visibility": "visible"}}}, "custom_workflow": - true}}, {"object": "CarrierType", "type": "UpsIparcelAccount", "readable": - "UPS i-Parcel", "logo": null, "fields": {"credentials": {"api_key": {"visibility": - "masked", "label": "i-Parcel API key"}}}}, {"object": "CarrierType", "type": - "UpsMailInnovationsAccount", "readable": "UPS Mail Innovations", "logo": null, - "fields": {"credentials": {"account_number": {"visibility": "visible", "label": - "UPS Shipper Number"}, "user_id": {"visibility": "visible", "label": "UPS.com - User ID"}, "password": {"visibility": "password", "label": "UPS.com Password"}, - "customer_id": {"visibility": "visible", "label": "UPS customer id (optional)"}, - "customer_guid": {"visibility": "visible", "label": "UPS customer GUID (optional)"}}}}, - {"object": "CarrierType", "type": "UspsAccount", "readable": "USPS", "logo": - null, "fields": {"credentials": {"company_name": {"visibility": "visible", - "label": "Account Holder Name"}, "address_street": {"visibility": "visible", - "label": "Street Address"}, "address_city": {"visibility": "visible", "label": - "City"}, "address_state": {"visibility": "visible", "label": "State"}, "address_zip": - {"visibility": "visible", "label": "ZIP Code"}, "phone": {"visibility": "visible", - "label": "Phone Number"}, "email": {"visibility": "visible", "label": "Email - Address"}, "shipper_id": {"visibility": "visible", "label": "Shipper Identifier - (Optional)"}}}}, {"object": "CarrierType", "type": "VehoAccount", "readable": - "Veho", "logo": null, "fields": {"credentials": {"api_key": {"visibility": - "masked", "label": "Veho Production API Key"}}, "test_credentials": {"api_key": - {"visibility": "masked", "label": "Veho Test API Key"}}}}, {"object": "CarrierType", - "type": "XDeliveryAccount", "readable": "Maergo", "logo": null, "fields": - {"credentials": {"username": {"visibility": "visible", "label": "Maergo Username"}, - "password": {"visibility": "password", "label": "Maergo Password"}}, "test_credentials": - {"username": {"visibility": "visible", "label": "Test Maergo Username"}, "password": - {"visibility": "password", "label": "Test Maergo Password"}}}}]' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '38432' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaec5ae78b9b64000cd03f - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.030665' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/carrier_types - response: - body: - string: '[{"object": "CarrierType", "type": "AmazonMwsAccount", "readable": - "Amazon MWS", "logo": null, "fields": {"credentials": {"access_key_id": {"visibility": - "visible", "label": "AWS Access Key ID"}, "secret_key": {"visibility": "password", - "label": "Secret Key"}, "merchant_id": {"visibility": "visible", "label": - "Seller ID"}}}}, {"object": "CarrierType", "type": "ApcAccount", "readable": - "APC", "logo": null, "fields": {"credentials": {"shipper_id": {"visibility": - "visible", "label": "APC Shipper ID"}, "password": {"visibility": "password", - "label": "APC Password"}, "facility": {"visibility": "visible", "label": "APC - Facility (e.g., NJ, LA)"}}}}, {"object": "CarrierType", "type": "AsendiaUsaAccount", - "readable": "Asendia USA", "logo": null, "fields": {"credentials": {"account_number": - {"visibility": "visible", "label": "AsendiaUsa Account Number"}, "sub_account_number": - {"visibility": "visible", "label": "AsendiaUsa Sub Account Number"}, "username": - {"visibility": "visible", "label": "AsendiaUsa Username"}, "password": {"visibility": - "password", "label": "AsendiaUsa Password"}, "api_key": {"visibility": "masked", - "label": "AsendiaUsa API key"}, "carrier_facility": {"visibility": "select", - "label": "AsendiaUsa Carrier Facility / Processing Location (Optional)"}}, - "test_credentials": {"account_number": {"visibility": "visible", "label": - "Test AsendiaUsa Account Number"}, "sub_account_number": {"visibility": "visible", - "label": "Test AsendiaUsa Sub Account Number"}, "username": {"visibility": - "visible", "label": "Test AsendiaUsa Username"}, "password": {"visibility": - "password", "label": "Test AsendiaUsa Password"}, "api_key": {"visibility": - "masked", "label": "Test AsendiaUsa API key"}, "carrier_facility": {"visibility": - "select", "label": "Test AsendiaUsa Carrier Facility / Processing Location - (Optional)"}}}}, {"object": "CarrierType", "type": "AustraliaPostAccount", - "readable": "Australia Post", "logo": null, "fields": {"credentials": {"account_number": - {"visibility": "visible", "label": "Australia Post Account Number"}, "api_key": - {"visibility": "masked", "label": "Australia Post API Key"}, "api_secret": - {"visibility": "password", "label": "Australia Post Secret Key"}, "print_as_you_go": - {"visibility": "checkbox", "label": "Print as you go"}}, "test_credentials": - {"account_number": {"visibility": "visible", "label": "Australia Post Test - Account Number"}, "api_key": {"visibility": "masked", "label": "Australia - Post Test API Key"}, "api_secret": {"visibility": "password", "label": "Australia - Post Test Secret Key"}, "print_as_you_go": {"visibility": "checkbox", "label": - "Print as you go"}}}}, {"object": "CarrierType", "type": "AxlehireV3Account", - "readable": "AxlehireV3", "logo": null, "fields": {"credentials": {"api_key": - {"visibility": "masked", "label": "Client Secret"}}, "test_credentials": {"api_key": - {"visibility": "masked", "label": "Client Secret"}}}}, {"object": "CarrierType", - "type": "BetterTrucksAccount", "readable": "Better Trucks", "logo": null, - "fields": {"credentials": {"api_key": {"visibility": "masked", "label": "Better - Trucks API key"}}, "test_credentials": {"api_key": {"visibility": "masked", - "label": "Test Better Trucks API key"}}}}, {"object": "CarrierType", "type": - "CanadaPostAccount", "readable": "Canada Post", "logo": null, "fields": {"credentials": - {"api_key": {"visibility": "masked", "label": "CanadaPost API Key"}, "contract_id": - {"visibility": "visible", "label": "CanadaPost Contract ID (contract customers - only)"}, "customer_number": {"visibility": "visible", "label": "CanadaPost - Customer Number"}, "has_credit_card": {"visibility": "checkbox", "label": - "CanadaPost account has credit card?"}, "not_platform": {"visibility": "invisible", - "label": "CanadaPost account not registered through platform?"}}, "test_credentials": - {"api_key": {"visibility": "masked", "label": "CanadaPost Test API Key"}, - "contract_id": {"visibility": "visible", "label": "CanadaPost Test Contract - ID (contract customers only)"}, "customer_number": {"visibility": "visible", - "label": "CanadaPost Test Customer Number"}, "has_credit_card": {"visibility": - "checkbox", "label": "CanadaPost Test account has credit card?"}, "not_platform": - {"visibility": "invisible", "label": "CanadaPost Test account not registered - through platform?"}}, "custom_workflow": true}}, {"object": "CarrierType", - "type": "CanparAccount", "readable": "Canpar", "logo": null, "fields": {"credentials": - {"account_number": {"visibility": "visible", "label": "Canpar Account Number"}, - "username": {"visibility": "visible", "label": "Canpar Username"}, "password": - {"visibility": "password", "label": "Canpar Password"}}, "test_credentials": - {"account_number": {"visibility": "visible", "label": "Test Canpar Account - Number"}, "username": {"visibility": "visible", "label": "Test Canpar Username"}, - "password": {"visibility": "password", "label": "Test Canpar Password"}}}}, - {"object": "CarrierType", "type": "ColumbusLastMileAccount", "readable": "CDL - Last Mile Solutions", "logo": null, "fields": {"credentials": {"username": - {"visibility": "visible", "label": "CDL Last Mile Solutions customer username"}, - "password": {"visibility": "password", "label": "CDL Last Mile Solutions customer - password"}, "tracking_code_prefix": {"visibility": "visible", "label": "CDL - Last Mile Solutions tracking code prefix"}}, "test_credentials": {"username": - {"visibility": "visible", "label": "CDL Last Mile Solutions customer test - username"}, "password": {"visibility": "password", "label": "CDL Last Mile - Solutions customer test password"}, "tracking_code_prefix": {"visibility": - "visible", "label": "CDL Last Mile Solutions tracking code prefix"}}}}, {"object": - "CarrierType", "type": "CourierExpressAccount", "readable": "Courier Express", - "logo": null, "fields": {"credentials": {"api_key": {"visibility": "masked", - "label": "Courier Express API key"}, "shipper_id": {"visibility": "visible", - "label": "Courier Express shipper ID"}}, "test_credentials": {"api_key": {"visibility": - "masked", "label": "Test Courier Express API key"}, "shipper_id": {"visibility": - "visible", "label": "Test Courier Express shipper ID"}}}}, {"object": "CarrierType", - "type": "CouriersPleaseAccount", "readable": "CouriersPlease", "logo": null, - "fields": {"credentials": {"username": {"visibility": "visible", "label": - "Account Number"}, "password": {"visibility": "password", "label": "Password"}}, - "test_credentials": {"username": {"visibility": "visible", "label": "Account - Number"}, "password": {"visibility": "password", "label": "Password"}}}}, - {"object": "CarrierType", "type": "DaiPostAccount", "readable": "Dai Post", - "logo": null, "fields": {"credentials": {"username": {"visibility": "visible", - "label": " Dai Post customer username"}, "password": {"visibility": "password", - "label": " Dai Post client secret"}, "origin_terminal": {"visibility": "visible", - "label": " Dai Post default origin terminal"}, "account_code": {"visibility": - "visible", "label": " 3-letter account code for customers with multiple accounts"}}}}, - {"object": "CarrierType", "type": "DeliverItAccount", "readable": "Deliver-It", - "logo": null, "fields": {"credentials": {"username": {"visibility": "visible", - "label": "Deliver-It Username"}, "password": {"visibility": "password", "label": - "Deliver-It Password"}, "account_number": {"visibility": "visible", "label": - "Deliver-It Account Number"}}, "test_credentials": {"username": {"visibility": - "visible", "label": "Test Deliver-It Username"}, "password": {"visibility": - "password", "label": "Test Deliver-It Password"}, "account_number": {"visibility": - "visible", "label": "Test Deliver-It Account Number"}}}}, {"object": "CarrierType", - "type": "DeutschePostUKAccount", "readable": "Deutsche Post UK", "logo": null, - "fields": {"credentials": {"client_id": {"visibility": "visible", "label": - "Deutsche Post UK Client ID"}, "client_secret": {"visibility": "password", - "label": "Deutsche Post UK Secret"}, "account_number": {"visibility": "visible", - "label": "Deutsche Post UK Account Number"}}, "test_credentials": {"client_id": - {"visibility": "visible", "label": "Test Deutsche Post UK Client ID"}, "client_secret": - {"visibility": "password", "label": "Test Deutsche Post UK Secret"}, "account_number": - {"visibility": "visible", "label": "Test Deutsche Post UK Account Number"}}}}, - {"object": "CarrierType", "type": "DhlEcommerceAsiaAccount", "readable": "DHL - Ecommerce Asia", "logo": null, "fields": {"credentials": {"account_number": - {"visibility": "visible", "label": "DHL Ecommerce Asia Account Number"}, "client_id": - {"visibility": "visible", "label": "DHL Ecommerce Asia Contract Number"}, - "password": {"visibility": "password", "label": "DHL Ecommerce Asia Password"}, - "barcode_prefix": {"visibility": "visible", "label": "DHL Ecommerce Asia Customer - ID"}}, "test_credentials": {"account_number": {"visibility": "visible", "label": - "Test DHL Ecommerce Asia Account Number"}, "client_id": {"visibility": "visible", - "label": "Test DHL Ecommerce Asia Contract Number"}, "password": {"visibility": - "password", "label": "Test DHL Ecommerce Asia Password"}, "barcode_prefix": - {"visibility": "visible", "label": "Test DHL Ecommerce Asia Customer ID"}}}}, - {"object": "CarrierType", "type": "DhlEcsAccount", "readable": "DHL eCommerce - Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions client ID"}, "client_secret": - {"visibility": "password", "label": "DHL eCommerce Solutions client secret"}, - "pickup_id": {"visibility": "visible", "label": "DHL eCommerce Solutions pickup - ID"}, "distribution_center": {"visibility": "visible", "label": "DHL eCommerce - Solutions distribution center"}}, "test_credentials": {"client_id": {"visibility": - "visible", "label": "Test DHL eCommerce Solutions client ID"}, "client_secret": - {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret"}, - "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions - pickup ID"}, "distribution_center": {"visibility": "visible", "label": "Test - DHL eCommerce Solutions distribution center"}}}}, {"object": "CarrierType", - "type": "DhlExpressAccount", "readable": "DHL Express", "logo": null, "fields": - {"credentials": {"account_number": {"visibility": "visible", "label": "DHL - Account Number"}, "country": {"visibility": "visible", "label": "Account Country - Code (2 Letter)"}, "site_id": {"visibility": "visible", "label": "Site ID - (Optional)"}, "password": {"visibility": "password", "label": "Password (Optional)"}, - "is_reseller": {"visibility": "checkbox", "label": "Reseller Account? (check - if yes)"}}}}, {"object": "CarrierType", "type": "DhlPaketAccount", "readable": - "DHL Paket", "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "DHL Paket Account Number (EKP)"}, "contract_id": {"visibility": - "visible", "label": "DHL Paket Contract Participation Value"}, "cig_username": - {"visibility": "visible", "label": "DHL Paket CIG Username"}, "cig_password": - {"visibility": "password", "label": "DHL Paket CIG Password"}, "tnt_username": - {"visibility": "visible", "label": "DHL Paket TNT Username (if applicable)"}, - "tnt_password": {"visibility": "password", "label": "DHL Paket TNT Password - (if applicable)"}, "retoure_username": {"visibility": "visible", "label": - "DHL Paket Retoure Username (if applicable)"}, "retoure_password": {"visibility": - "password", "label": "DHL Paket Retoure Password (if applicable)"}}, "test_credentials": - {"account_number": {"visibility": "visible", "label": "Test DHL Paket Account - Number (EKP)"}, "contract_id": {"visibility": "visible", "label": "Test DHL - Paket Contract Participation Value"}, "cig_username": {"visibility": "visible", - "label": " Test DHL Paket CIG Username"}, "cig_password": {"visibility": "password", - "label": "Test DHL Paket CIG Password"}, "tnt_username": {"visibility": "visible", - "label": "Test DHL Paket TNT Username (if applicable)"}, "tnt_password": {"visibility": - "password", "label": "Test DHL Paket TNT Password (if applicable)"}, "retoure_username": - {"visibility": "visible", "label": "Test DHL Paket Retoure Username (if applicable)"}, - "retoure_password": {"visibility": "password", "label": "Test DHL Paket Retoure - Password (if applicable)"}}}}, {"object": "CarrierType", "type": "DhlParcelAccount", - "readable": "DHL Parcel", "logo": null, "fields": {"credentials": {"user_id": - {"visibility": "visible", "label": "DHL Parcel User ID"}, "api_key": {"visibility": - "masked", "label": "DHL Parcel API Key"}, "account_number": {"visibility": - "visible", "label": "DHL Parcel Account Number"}}, "test_credentials": {"user_id": - {"visibility": "visible", "label": "DHL Parcel User ID"}, "api_key": {"visibility": - "masked", "label": "DHL Parcel API Key"}, "account_number": {"visibility": - "visible", "label": "DHL Parcel Account Number"}}}}, {"object": "CarrierType", - "type": "DpdAccount", "readable": "DPD", "logo": null, "fields": {"credentials": - {"username": {"visibility": "visible", "label": "WebConnect Username"}, "password": - {"visibility": "password", "label": "WebConnect Password"}, "customer_number": - {"visibility": "visible", "label": "DPD Customer Number"}}, "test_credentials": - {"username": {"visibility": "visible", "label": "Test WebConnect Username"}, - "password": {"visibility": "password", "label": "Test WebConnect Password"}, - "customer_number": {"visibility": "visible", "label": "DPD Customer Number"}}}}, - {"object": "CarrierType", "type": "DpdUkAccount", "readable": "DPD UK", "logo": - null, "fields": {"credentials": {"account_number": {"visibility": "visible", - "label": "DPD UK Account Number"}, "username": {"visibility": "visible", "label": - "DPD UK Username"}, "password": {"visibility": "password", "label": "DPD UK - Password"}}}}, {"object": "CarrierType", "type": "DpdNlAccount", "readable": - "DPD NL", "logo": null, "fields": {"credentials": {"username": {"visibility": - "visible", "label": "Delis ID"}, "password": {"visibility": "password", "label": - "Password"}}, "test_credentials": {"username": {"visibility": "visible", "label": - "Test Delis ID"}, "password": {"visibility": "password", "label": "Test Password"}}}}, - {"object": "CarrierType", "type": "EstafetaAccount", "readable": "Estafeta", - "logo": null, "fields": {"credentials": {"customer_id": {"visibility": "visible", - "label": "Subscriber ID"}, "username": {"visibility": "visible", "label": - "Login"}, "password": {"visibility": "password", "label": "Password"}, "client_id": - {"visibility": "visible", "label": "Tracking Subscriber ID"}, "user_id": {"visibility": - "visible", "label": "Tracking Login"}, "secret_key": {"visibility": "password", - "label": "Tracking Password"}, "customer_number": {"visibility": "visible", - "label": "Customer Number"}, "hub_id": {"visibility": "visible", "label": - "Office Number"}}, "test_credentials": {"customer_id": {"visibility": "visible", - "label": "Test Subscriber ID"}, "username": {"visibility": "visible", "label": - "Test Login"}, "password": {"visibility": "password", "label": "Test Password"}, - "client_id": {"visibility": "visible", "label": "Test Tracking Subscriber - ID"}, "user_id": {"visibility": "visible", "label": "Test Tracking Login"}, - "secret_key": {"visibility": "password", "label": "Test Tracking Password"}, - "customer_number": {"visibility": "visible", "label": "Test Customer Number"}, - "hub_id": {"visibility": "visible", "label": "Test Office Number"}}}}, {"object": - "CarrierType", "type": "FastwayAccount", "readable": "Fastway", "logo": null, - "fields": {"credentials": {"api_key": {"visibility": "masked", "label": "API - Key"}}}}, {"object": "CarrierType", "type": "FedexAccount", "readable": "FedEx", - "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "readonly", "label": "FedEx Account Number"}, "meter_number": {"visibility": - "invisible", "label": "FedEx Production Meter Number"}, "key": {"visibility": - "invisible", "label": "FedEx Production Authentication Key"}, "password": - {"visibility": "invisible", "label": "FedEx Production Password"}}, "test_credentials": - {"account_number": {"visibility": "readonly", "label": "FedEx Account Number"}, - "meter_number": {"visibility": "invisible", "label": "FedEx Test Meter Number"}, - "key": {"visibility": "invisible", "label": "FedEx Developer Test Key"}, "password": - {"visibility": "invisible", "label": "FedEx Test Password"}}, "creation_fields": - {"credential_information": {"account_number": {"label": "FedEx Account #", - "visibility": "visible"}}, "company_information": {"corporate_first_name": - {"label": "Company Contact First Name", "visibility": "visible"}, "corporate_last_name": - {"label": "Company Contact Last Name", "visibility": "visible"}, "corporate_job_title": - {"label": "Company Contact Job Title", "visibility": "visible"}, "corporate_company_name": - {"label": "Company Name", "visibility": "visible"}, "corporate_phone_number": - {"label": "Company Phone", "visibility": "visible"}, "corporate_email_address": - {"label": "Company Email", "visibility": "visible"}, "corporate_streets": - {"label": "Company Street", "visibility": "visible"}, "corporate_city": {"label": - "Company City", "visibility": "visible"}, "corporate_state": {"label": "Company - State", "visibility": "visible"}, "corporate_postal_code": {"label": "Company - Postal Code", "visibility": "visible"}, "corporate_country_code": {"label": - "Company Country Code", "visibility": "visible"}}, "address_information": - {"shipping_streets": {"label": "Shipping Street", "visibility": "visible"}, - "shipping_city": {"label": "Shipping City", "visibility": "visible"}, "shipping_state": - {"label": "Shipping State", "visibility": "visible"}, "shipping_postal_code": - {"label": "Shipping Postal Code ", "visibility": "visible"}, "shipping_country_code": - {"label": "Shipping Country Code", "visibility": "visible"}}}, "custom_workflow": - true}}, {"object": "CarrierType", "type": "FedexCrossBorderAccount", "readable": - "FedEx Cross Border", "logo": null, "fields": {"credentials": {"api_key": - {"visibility": "masked", "label": "FedEx Cross Border API key"}, "origin_hub": - {"visibility": "select", "label": "FedEx Cross Border Origin Hub"}}, "test_credentials": - {"api_key": {"visibility": "masked", "label": "Test FedEx Cross Border API - key"}, "origin_hub": {"visibility": "select", "label": "Test FedEx Cross Border - Origin Hub"}}}}, {"object": "CarrierType", "type": "FedexMailviewAccount", - "readable": "FedEx MailView", "logo": null, "fields": {"credentials": {"customer_id": - {"visibility": "visible", "label": "Customer Code"}, "service_id": {"visibility": - "password", "label": "Service ID"}, "fimspremium": {"visibility": "checkbox", - "label": "FIMS Premium"}, "fimsstandard": {"visibility": "checkbox", "label": - "FIMS Standard"}, "mailviewpremium": {"visibility": "checkbox", "label": "MailView - Premium"}, "mailviewlight": {"visibility": "checkbox", "label": "MailView - Light"}}}}, {"object": "CarrierType", "type": "FedexSmartpostAccount", "readable": - "FedEx SmartPost", "logo": null, "fields": {"credentials": {"account_number": - {"visibility": "visible", "label": "FedEx SmartPost Account Number"}, "hub_id": - {"visibility": "visible", "label": "FedEx SmartPost HubID"}, "meter_number": - {"visibility": "visible", "label": "Fedex SmartPost Meter Number"}, "key": - {"visibility": "masked", "label": "FedEx SmartPost Access Key"}, "password": - {"visibility": "password", "label": "SmartPost Access Key Password"}}, "creation_fields": - {"credential_information": {"account_number": {"label": "FedEx SmartPost Account - #", "visibility": "visible"}, "hub_id": {"label": "FedEx SmartPost Hub ID", - "visibility": "visible"}}, "company_information": {"corporate_first_name": - {"label": "Company Contact First Name", "visibility": "visible"}, "corporate_last_name": - {"label": "Company Contact Last Name", "visibility": "visible"}, "corporate_job_title": - {"label": "Company Contact Job Title", "visibility": "visible"}, "corporate_company_name": - {"label": "Company Name", "visibility": "visible"}, "corporate_phone_number": - {"label": "Company Phone", "visibility": "visible"}, "corporate_email_address": - {"label": "Company Email", "visibility": "visible"}, "corporate_streets": - {"label": "Company Street", "visibility": "visible"}, "corporate_city": {"label": - "Company City", "visibility": "visible"}, "corporate_state": {"label": "Company - State", "visibility": "visible"}, "corporate_postal_code": {"label": "Company - Postal Code", "visibility": "visible"}, "corporate_country_code": {"label": - "Company Country Code", "visibility": "visible"}}, "address_information": - {"shipping_streets": {"label": "Shipping Street", "visibility": "visible"}, - "shipping_city": {"label": "Shipping City", "visibility": "visible"}, "shipping_state": - {"label": "Shipping State", "visibility": "visible"}, "shipping_postal_code": - {"label": "Shipping Postal Code ", "visibility": "visible"}, "shipping_country_code": - {"label": "Shipping Country Code", "visibility": "visible"}}}, "custom_workflow": - true}}, {"object": "CarrierType", "type": "FirstMileConciseAccount", "readable": - "First Mile", "logo": null, "fields": {"credentials": {"username": {"visibility": - "visible", "label": "FirstMile Username"}, "password": {"visibility": "password", - "label": "FirsMile Password"}, "account_number": {"visibility": "visible", - "label": "FirstMile Account Number"}}, "test_credentials": {"username": {"visibility": - "visible", "label": "Test FirstMile Username"}, "password": {"visibility": - "password", "label": "Test FirstMile Password"}, "account_number": {"visibility": - "visible", "label": "Test FirstMile Account Number"}}}}, {"object": "CarrierType", - "type": "FlexportAccount", "readable": "Flexport", "logo": null, "fields": - {"credentials": {"api_key": {"visibility": "masked", "label": "Flexport Account - API Key"}}}}, {"object": "CarrierType", "type": "GsoAccount", "readable": - "GSO", "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "GSO Account Number"}, "username": {"visibility": "visible", - "label": "Username"}, "password": {"visibility": "password", "label": "Password"}}}}, - {"object": "CarrierType", "type": "HailifyAccount", "readable": "Hailify", - "logo": null, "fields": {"credentials": {"partner_id": {"visibility": "visible", - "label": "Hailify Partner ID"}}, "test_credentials": {"partner_id": {"visibility": - "visible", "label": "Test Hailify Partner ID"}}}}, {"object": "CarrierType", - "type": "HermesAccount", "readable": "Evri", "logo": null, "fields": {"credentials": - {"username": {"visibility": "visible", "label": "Evri Username"}, "password": - {"visibility": "password", "label": "Evri Password"}, "client_id": {"visibility": - "visible", "label": "Evri Client ID"}, "auth_id": {"visibility": "visible", - "label": "Evri Auth ID"}, "auth_secret": {"visibility": "password", "label": - "Evri Auth Secret"}, "client_name": {"visibility": "visible", "label": "Evri - Client name"}, "group_id": {"visibility": "visible", "label": "Evri Group - ID"}, "client_licence": {"visibility": "masked", "label": "Evri Client License"}, - "api_key": {"visibility": "masked", "label": "Evri API Key"}}}}, {"object": - "CarrierType", "type": "InterlinkExpressAccount", "readable": "Interlink Express", - "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "Interlink Express Account Number"}, "username": {"visibility": - "visible", "label": "Interlink Express Username"}, "password": {"visibility": - "password", "label": "Interlink Express Password"}, "vat_number": {"visibility": - "visible", "label": "VAT Number"}}}}, {"object": "CarrierType", "type": "LasershipV2Account", - "readable": "LaserShipV2", "logo": null, "fields": {"credentials": {"api_key": - {"visibility": "masked", "label": "LaserShipV2 API Key"}, "api_id": {"visibility": - "visible", "label": "LaserShipV2 API ID"}, "facility": {"visibility": "visible", - "label": "LaserShipV2 Customer Branch"}, "cargo_claim_value": {"visibility": - "visible", "label": "LaserShipV2 Cargo Insurance Claim Value (USD)"}, "is_reseller": - {"visibility": "checkbox", "label": "3PL Account? (check if yes)"}, "injection_location_type": - {"visibility": "visible", "label": "Injection Address Location Type (\"Business\" - or \"Residence\")"}, "injection_contact": {"visibility": "visible", "label": - "Injection Address Contact"}, "injection_organization": {"visibility": "visible", - "label": "Injection Address Organization"}, "injection_street1": {"visibility": - "visible", "label": "Injection Address Street1"}, "injection_street2": {"visibility": - "visible", "label": "Injection Address Street2"}, "injection_city": {"visibility": - "visible", "label": "Injection Address City"}, "injection_state": {"visibility": - "visible", "label": "Injection Address State"}, "injection_zip": {"visibility": - "visible", "label": "Injection Address Postal Code"}, "injection_country": - {"visibility": "visible", "label": "Injection Address Country Code"}, "injection_phone": - {"visibility": "visible", "label": "Injection Address Phone"}, "injection_phone_ext": - {"visibility": "visible", "label": "Injection Address Phone Extension"}, "injection_email": - {"visibility": "visible", "label": "Injection Address Email"}, "injection_instruction": - {"visibility": "visible", "label": "Injection Address Instruction"}, "injection_note": - {"visibility": "visible", "label": "Injection Address Note"}}}}, {"object": - "CarrierType", "type": "LoomisExpressAccount", "readable": "Loomis Express", - "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "Loomis Express Account Number"}, "username": {"visibility": - "visible", "label": "Loomis Express Username"}, "password": {"visibility": - "password", "label": "Loomis Express Password"}}, "test_credentials": {"account_number": - {"visibility": "visible", "label": "Test Loomis Express Account Number"}, - "username": {"visibility": "visible", "label": "Test Loomis Express Username"}, - "password": {"visibility": "password", "label": "Test Loomis Express Password"}}}}, - {"object": "CarrierType", "type": "LsoAccount", "readable": "LSO", "logo": - null, "fields": {"credentials": {"account_number": {"visibility": "visible", - "label": "LSO Production Account Number"}, "username": {"visibility": "visible", - "label": "LSO Production Username"}, "password": {"visibility": "password", - "label": "LSO Production Password"}}, "test_credentials": {"account_number": - {"visibility": "visible", "label": "LSO Test Account Number"}, "username": - {"visibility": "visible", "label": "LSO Test Username"}, "password": {"visibility": - "password", "label": "LSO Test Password"}}}}, {"object": "CarrierType", "type": - "NewgisticsAccount", "readable": "Newgistics", "logo": null, "fields": {"credentials": - {"client_id": {"visibility": "visible", "label": "Client ID"}, "client_secret": - {"visibility": "password", "label": "Client Secret"}, "client_facility_id": - {"visibility": "visible", "label": "Client Facility ID"}, "fulfiller_facility_id": - {"visibility": "visible", "label": "Newgistics Facility ID"}, "tracking_api_key": - {"visibility": "masked", "label": "Tracking API Key"}, "merchant_id": {"visibility": - "visible", "label": "Merchant ID"}}, "test_credentials": {"client_id": {"visibility": - "visible", "label": "Client ID"}, "client_secret": {"visibility": "password", - "label": "Client Secret"}, "client_facility_id": {"visibility": "visible", - "label": "Client Facility ID"}, "fulfiller_facility_id": {"visibility": "visible", - "label": "Newgistics Facility ID"}, "tracking_api_key": {"visibility": "masked", - "label": "Tracking API Key"}, "merchant_id": {"visibility": "visible", "label": - "Merchant ID"}}}}, {"object": "CarrierType", "type": "OmniParcelAccount", - "readable": "OmniParcel", "logo": null, "fields": {"credentials": {"api_access_key": - {"visibility": "masked", "label": "API Access Key"}, "return_api_access_key": - {"visibility": "masked", "label": "Return API Access Key"}}, "test_credentials": - {"api_access_key": {"visibility": "masked", "label": "Test API Access Key"}, - "return_api_access_key": {"visibility": "masked", "label": "Test Return API - Access Key"}}}}, {"object": "CarrierType", "type": "OntracAccount", "readable": - "OnTrac", "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "OnTrac Account Number"}, "password": {"visibility": "password", - "label": "OnTrac API Password"}}, "test_credentials": {"account_number": {"visibility": - "visible", "label": "OnTrac Test Account Number"}, "password": {"visibility": - "password", "label": "OnTrac Test API Password"}}}}, {"object": "CarrierType", - "type": "OptimaAccount", "readable": "Optima", "logo": null, "fields": {"credentials": - {"username": {"visibility": "visible", "label": "Optima username"}, "password": - {"visibility": "password", "label": "Optima password"}, "account_number": - {"visibility": "visible", "label": "Optima account number"}}, "test_credentials": - {"username": {"visibility": "visible", "label": "Test Optima username"}, "password": - {"visibility": "password", "label": "Test Optima password"}, "account_number": - {"visibility": "visible", "label": "Test Optima account number"}}}}, {"object": - "CarrierType", "type": "OsmWorldwideAccount", "readable": "OSM Worldwide", - "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "Account Number"}, "mailer_id": {"visibility": "visible", - "label": "Mailer ID"}, "facility_code": {"visibility": "visible", "label": - "Facility Code/Cost Center ID for manifesting (optional)"}, "company_name": - {"visibility": "visible", "label": "Company Name"}, "aws_sftp_username": {"visibility": - "visible", "label": "SFTP Username"}}}}, {"object": "CarrierType", "type": - "PandionAccount", "readable": "Pandion", "logo": null, "fields": {"credentials": - {"api_key": {"visibility": "masked", "label": "Prod Pandion API Key"}}, "test_credentials": - {"api_key": {"visibility": "masked", "label": "Test Pandion API Key"}}}}, - {"object": "CarrierType", "type": "ParcelForceAccount", "readable": "Parcel - Force", "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "Parcelforce Contract Number"}, "username": {"visibility": - "visible", "label": "expressLink API Username"}, "password": {"visibility": - "password", "label": "expressLink API Password"}, "department_id": {"visibility": - "visible", "label": "Department ID - not required"}}, "test_credentials": - {"account_number": {"visibility": "visible", "label": "Parcelforce Test Contract - Number"}, "username": {"visibility": "visible", "label": "Test expressLink - API Username"}, "password": {"visibility": "password", "label": "Test expressLink - API Password"}, "department_id": {"visibility": "visible", "label": "Test - Department ID - not required"}}}}, {"object": "CarrierType", "type": "ParcllAccount", - "readable": "Cirro E-Commerce", "logo": null, "fields": {"credentials": {"api_key": - {"visibility": "masked", "label": "Cirro E-Commerce API key"}, "user_id": - {"visibility": "visible", "label": "Cirro E-Commerce User Id"}, "origin_hub": - {"visibility": "select", "label": "Cirro E-Commerce Origin Hub"}}, "test_credentials": - {"api_key": {"visibility": "masked", "label": "Test Cirro E-Commerce API key"}, - "user_id": {"visibility": "visible", "label": "Test Cirro E-Commerce User - Id"}, "origin_hub": {"visibility": "select", "label": "Test Cirro E-Commerce - Origin Hub"}}}}, {"object": "CarrierType", "type": "PassportGlobalAccount", - "readable": "Passport Global", "logo": null, "fields": {"credentials": {"api_key": - {"visibility": "masked", "label": "Passport Global API key"}, "email": {"visibility": - "visible", "label": "Customer email address registered with Passport Global"}, - "name": {"visibility": "visible", "label": "Customer name registered with - Passport Global"}, "company_name": {"visibility": "visible", "label": "Customer - company name registered with Passport Global"}, "phone": {"visibility": "visible", - "label": "Customer phone number registered with Passport Global (optional)"}}, - "test_credentials": {"api_key": {"visibility": "masked", "label": "Passport - Global Test API key"}, "email": {"visibility": "visible", "label": "Customer - email address registered with Passport Global"}, "name": {"visibility": "visible", - "label": "Customer name registered with Passport Global"}, "company_name": - {"visibility": "visible", "label": "Customer company name registered with - Passport Global"}, "phone": {"visibility": "visible", "label": "Customer phone - number registered with Passport Global (optional)"}}}}, {"object": "CarrierType", - "type": "PurolatorAccount", "readable": "Purolator", "logo": null, "fields": - {"credentials": {"account_number": {"visibility": "visible", "label": "Purolator - Account Number"}, "api_key": {"visibility": "masked", "label": "Production - API Key"}, "password": {"visibility": "password", "label": "Production API - Key Password"}}}}, {"object": "CarrierType", "type": "RoyalMailAccount", "readable": - "Royal Mail", "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "Royal Mail Account Number"}, "username": {"visibility": - "visible", "label": "OBA Email Address"}, "posting_location_number": {"visibility": - "visible", "label": "Posting Location Number"}}}}, {"object": "CarrierType", - "type": "RRDonnelleyAccount", "readable": "ePost Global", "logo": null, "fields": - {"credentials": {"account_number": {"visibility": "visible", "label": "ePostGlobal - Account Number"}}}}, {"object": "CarrierType", "type": "SendleAccount", "readable": - "Sendle", "logo": null, "fields": {"credentials": {"api_key": {"visibility": - "masked", "label": "Sendle API Key"}, "user_id": {"visibility": "visible", - "label": "Sendle ID"}}, "test_credentials": {"api_key": {"visibility": "masked", - "label": "Sendle Sandbox API Key"}, "user_id": {"visibility": "visible", "label": - "Sendle Sandbox ID"}}}}, {"object": "CarrierType", "type": "SfExpressAccount", - "readable": "SF Express", "logo": null, "fields": {"credentials": {"checkword": - {"visibility": "visible", "label": "SF Express checkword"}, "customer_code": - {"visibility": "visible", "label": "SF Express customer code"}, "customer_id": - {"visibility": "visible", "label": "SF Express customer id"}}, "test_credentials": - {"checkword": {"visibility": "visible", "label": "Test SF Express checkword"}, - "customer_code": {"visibility": "visible", "label": "Test SF Express customer - code"}, "customer_id": {"visibility": "visible", "label": "Test SF Express - customer id"}}}}, {"object": "CarrierType", "type": "SmartKargoAccount", "readable": - "SmartKargo", "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "SmartKargo account number"}}, "test_credentials": {"account_number": - {"visibility": "visible", "label": "Test SmartKargo account number"}}}}, {"object": - "CarrierType", "type": "SonicAccount", "readable": "Sonic", "logo": null, - "fields": {"credentials": {"username": {"visibility": "visible", "label": - "Sonic username"}, "password": {"visibility": "password", "label": "Sonic - password"}, "account_number": {"visibility": "visible", "label": "Sonic account - number"}}, "test_credentials": {"username": {"visibility": "visible", "label": - "Test Sonic username"}, "password": {"visibility": "password", "label": "Test - Sonic password"}, "account_number": {"visibility": "visible", "label": "Test - Sonic account number"}}}}, {"object": "CarrierType", "type": "SpeedeeAccount", - "readable": "Spee-Dee", "logo": null, "fields": {"credentials": {"account_number": - {"visibility": "visible", "label": "Spee-Dee Account Number"}}}}, {"object": - "CarrierType", "type": "SwyftAccount", "readable": "Swyft", "logo": null, - "fields": {"credentials": {"password": {"visibility": "password", "label": - "Swyft API Key"}}, "test_credentials": {"password": {"visibility": "password", - "label": "Test Swyft API Key"}}}}, {"object": "CarrierType", "type": "TforceConciseAccount", - "readable": "TForce", "logo": null, "fields": {"credentials": {"username": - {"visibility": "visible", "label": "TForce Username"}, "password": {"visibility": - "password", "label": "TForce Password"}, "account_number": {"visibility": - "visible", "label": "TForce Account Number"}}, "test_credentials": {"username": - {"visibility": "visible", "label": "Test TForce Username"}, "password": {"visibility": - "password", "label": "Test TForce Password"}, "account_number": {"visibility": - "visible", "label": "Test TForce Account Number"}}}}, {"object": "CarrierType", - "type": "TollAccount", "readable": "Toll", "logo": null, "fields": {"credentials": - {"account_number": {"visibility": "visible", "label": "Toll Account Number"}, - "business_unit": {"visibility": "visible", "label": "Toll Business Unit (Ex. - IPEC)"}, "source_system_code": {"visibility": "visible", "label": "Toll Source - System Code"}}, "test_credentials": {"account_number": {"visibility": "visible", - "label": "Toll Test Account Number"}, "business_unit": {"visibility": "visible", - "label": "Toll Business Unit (Ex. IPEC)"}, "source_system_code": {"visibility": - "visible", "label": "Toll Test Source System Code"}}}}, {"object": "CarrierType", - "type": "UdsAccount", "readable": "UDS", "logo": null, "fields": {"credentials": - {"ftp_username": {"visibility": "visible", "label": "FTP Username"}, "ftp_password": - {"visibility": "password", "label": "FTP Password"}}}}, {"object": "CarrierType", - "type": "UpsAccount", "readable": "UPS", "logo": null, "fields": {"credentials": - {"access_license_number": {"visibility": "invisible", "label": "UPS Access - License Number"}, "account_number": {"visibility": "readonly", "label": "UPS - Account Number"}, "user_id": {"visibility": "invisible", "label": "UPS.com - User ID"}, "password": {"visibility": "invisible", "label": "UPS.com Password"}}, - "creation_fields": {"registration_data": {"account_number": {"label": "UPS - Account Number", "visibility": "visible"}, "client_ip": {"label": "Client - IP", "visibility": "invisible"}, "name": {"label": "Company Contact Name", - "visibility": "visible"}, "title": {"label": "Company Contact Job Title", - "visibility": "visible"}, "company": {"label": "Company Name", "visibility": - "visible"}, "phone": {"label": "Company Phone", "visibility": "visible"}, - "email": {"label": "Company Email", "visibility": "visible"}, "website": {"label": - "Company Website", "visibility": "visible"}, "street1": {"label": "Shipping - Street 1", "visibility": "visible"}, "street2": {"label": "Shipping Street - 2", "visibility": "visible"}, "city": {"label": "Shipping City", "visibility": - "visible"}, "state": {"label": "Shipping State", "visibility": "visible"}, - "postal_code": {"label": "Shipping Postal Code", "visibility": "visible"}, - "country": {"label": "Shipping Country", "visibility": "visible"}, "invoice_number": - {"label": "UPS Invoice Number", "visibility": "visible"}, "invoice_date": - {"label": "UPS Invoice Date", "visibility": "visible"}, "invoice_amount": - {"label": "UPS Invoice Amount", "visibility": "visible"}, "invoice_currency": - {"label": "UPS Invoice Currency", "visibility": "visible"}, "invoice_control_id": - {"label": "UPS Invoice Control ID", "visibility": "visible"}}}, "custom_workflow": - true}}, {"object": "CarrierType", "type": "UpsIparcelAccount", "readable": - "UPS i-Parcel", "logo": null, "fields": {"credentials": {"api_key": {"visibility": - "masked", "label": "i-Parcel API key"}}}}, {"object": "CarrierType", "type": - "UpsMailInnovationsAccount", "readable": "UPS Mail Innovations", "logo": null, - "fields": {"credentials": {"account_number": {"visibility": "visible", "label": - "UPS Shipper Number"}, "user_id": {"visibility": "visible", "label": "UPS.com - User ID"}, "password": {"visibility": "password", "label": "UPS.com Password"}, - "customer_id": {"visibility": "visible", "label": "UPS customer id (optional)"}, - "customer_guid": {"visibility": "visible", "label": "UPS customer GUID (optional)"}}}}, - {"object": "CarrierType", "type": "UspsAccount", "readable": "USPS", "logo": - null, "fields": {"credentials": {"company_name": {"visibility": "visible", - "label": "Account Holder Name"}, "address_street": {"visibility": "visible", - "label": "Street Address"}, "address_city": {"visibility": "visible", "label": - "City"}, "address_state": {"visibility": "visible", "label": "State"}, "address_zip": - {"visibility": "visible", "label": "ZIP Code"}, "phone": {"visibility": "visible", - "label": "Phone Number"}, "email": {"visibility": "visible", "label": "Email - Address"}, "shipper_id": {"visibility": "visible", "label": "Shipper Identifier - (Optional)"}}}}, {"object": "CarrierType", "type": "VehoAccount", "readable": - "Veho", "logo": null, "fields": {"credentials": {"api_key": {"visibility": - "masked", "label": "Veho Production API Key"}}, "test_credentials": {"api_key": - {"visibility": "masked", "label": "Veho Test API Key"}}}}, {"object": "CarrierType", - "type": "XDeliveryAccount", "readable": "Maergo", "logo": null, "fields": - {"credentials": {"username": {"visibility": "visible", "label": "Maergo Username"}, - "password": {"visibility": "password", "label": "Maergo Password"}}, "test_credentials": - {"username": {"visibility": "visible", "label": "Test Maergo Username"}, "password": - {"visibility": "password", "label": "Test Maergo Password"}}}}]' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '38432' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaecefe78ba388000d2de7 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.030382' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/carrier_types - response: - body: - string: '[{"object": "CarrierType", "type": "AmazonMwsAccount", "readable": - "Amazon MWS", "logo": null, "fields": {"credentials": {"access_key_id": {"visibility": - "visible", "label": "AWS Access Key ID"}, "secret_key": {"visibility": "password", - "label": "Secret Key"}, "merchant_id": {"visibility": "visible", "label": - "Seller ID"}}}}, {"object": "CarrierType", "type": "ApcAccount", "readable": - "APC", "logo": null, "fields": {"credentials": {"shipper_id": {"visibility": - "visible", "label": "APC Shipper ID"}, "password": {"visibility": "password", - "label": "APC Password"}, "facility": {"visibility": "visible", "label": "APC - Facility (e.g., NJ, LA)"}}}}, {"object": "CarrierType", "type": "AsendiaUsaAccount", - "readable": "Asendia USA", "logo": null, "fields": {"credentials": {"account_number": - {"visibility": "visible", "label": "AsendiaUsa Account Number"}, "sub_account_number": - {"visibility": "visible", "label": "AsendiaUsa Sub Account Number"}, "username": - {"visibility": "visible", "label": "AsendiaUsa Username"}, "password": {"visibility": - "password", "label": "AsendiaUsa Password"}, "api_key": {"visibility": "masked", - "label": "AsendiaUsa API key"}, "carrier_facility": {"visibility": "select", - "label": "AsendiaUsa Carrier Facility / Processing Location (Optional)"}}, - "test_credentials": {"account_number": {"visibility": "visible", "label": - "Test AsendiaUsa Account Number"}, "sub_account_number": {"visibility": "visible", - "label": "Test AsendiaUsa Sub Account Number"}, "username": {"visibility": - "visible", "label": "Test AsendiaUsa Username"}, "password": {"visibility": - "password", "label": "Test AsendiaUsa Password"}, "api_key": {"visibility": - "masked", "label": "Test AsendiaUsa API key"}, "carrier_facility": {"visibility": - "select", "label": "Test AsendiaUsa Carrier Facility / Processing Location - (Optional)"}}}}, {"object": "CarrierType", "type": "AustraliaPostAccount", - "readable": "Australia Post", "logo": null, "fields": {"credentials": {"account_number": - {"visibility": "visible", "label": "Australia Post Account Number"}, "api_key": - {"visibility": "masked", "label": "Australia Post API Key"}, "api_secret": - {"visibility": "password", "label": "Australia Post Secret Key"}, "print_as_you_go": - {"visibility": "checkbox", "label": "Print as you go"}}, "test_credentials": - {"account_number": {"visibility": "visible", "label": "Australia Post Test - Account Number"}, "api_key": {"visibility": "masked", "label": "Australia - Post Test API Key"}, "api_secret": {"visibility": "password", "label": "Australia - Post Test Secret Key"}, "print_as_you_go": {"visibility": "checkbox", "label": - "Print as you go"}}}}, {"object": "CarrierType", "type": "AxlehireV3Account", - "readable": "AxlehireV3", "logo": null, "fields": {"credentials": {"api_key": - {"visibility": "masked", "label": "Client Secret"}}, "test_credentials": {"api_key": - {"visibility": "masked", "label": "Client Secret"}}}}, {"object": "CarrierType", - "type": "BetterTrucksAccount", "readable": "Better Trucks", "logo": null, - "fields": {"credentials": {"api_key": {"visibility": "masked", "label": "Better - Trucks API key"}}, "test_credentials": {"api_key": {"visibility": "masked", - "label": "Test Better Trucks API key"}}}}, {"object": "CarrierType", "type": - "CanadaPostAccount", "readable": "Canada Post", "logo": null, "fields": {"credentials": - {"api_key": {"visibility": "masked", "label": "CanadaPost API Key"}, "contract_id": - {"visibility": "visible", "label": "CanadaPost Contract ID (contract customers - only)"}, "customer_number": {"visibility": "visible", "label": "CanadaPost - Customer Number"}, "has_credit_card": {"visibility": "checkbox", "label": - "CanadaPost account has credit card?"}, "not_platform": {"visibility": "invisible", - "label": "CanadaPost account not registered through platform?"}}, "test_credentials": - {"api_key": {"visibility": "masked", "label": "CanadaPost Test API Key"}, - "contract_id": {"visibility": "visible", "label": "CanadaPost Test Contract - ID (contract customers only)"}, "customer_number": {"visibility": "visible", - "label": "CanadaPost Test Customer Number"}, "has_credit_card": {"visibility": - "checkbox", "label": "CanadaPost Test account has credit card?"}, "not_platform": - {"visibility": "invisible", "label": "CanadaPost Test account not registered - through platform?"}}, "custom_workflow": true}}, {"object": "CarrierType", - "type": "CanparAccount", "readable": "Canpar", "logo": null, "fields": {"credentials": - {"account_number": {"visibility": "visible", "label": "Canpar Account Number"}, - "username": {"visibility": "visible", "label": "Canpar Username"}, "password": - {"visibility": "password", "label": "Canpar Password"}}, "test_credentials": - {"account_number": {"visibility": "visible", "label": "Test Canpar Account - Number"}, "username": {"visibility": "visible", "label": "Test Canpar Username"}, - "password": {"visibility": "password", "label": "Test Canpar Password"}}}}, - {"object": "CarrierType", "type": "ColumbusLastMileAccount", "readable": "CDL - Last Mile Solutions", "logo": null, "fields": {"credentials": {"username": - {"visibility": "visible", "label": "CDL Last Mile Solutions customer username"}, - "password": {"visibility": "password", "label": "CDL Last Mile Solutions customer - password"}, "tracking_code_prefix": {"visibility": "visible", "label": "CDL - Last Mile Solutions tracking code prefix"}}, "test_credentials": {"username": - {"visibility": "visible", "label": "CDL Last Mile Solutions customer test - username"}, "password": {"visibility": "password", "label": "CDL Last Mile - Solutions customer test password"}, "tracking_code_prefix": {"visibility": - "visible", "label": "CDL Last Mile Solutions tracking code prefix"}}}}, {"object": - "CarrierType", "type": "CourierExpressAccount", "readable": "Courier Express", - "logo": null, "fields": {"credentials": {"api_key": {"visibility": "masked", - "label": "Courier Express API key"}, "shipper_id": {"visibility": "visible", - "label": "Courier Express shipper ID"}}, "test_credentials": {"api_key": {"visibility": - "masked", "label": "Test Courier Express API key"}, "shipper_id": {"visibility": - "visible", "label": "Test Courier Express shipper ID"}}}}, {"object": "CarrierType", - "type": "CouriersPleaseAccount", "readable": "CouriersPlease", "logo": null, - "fields": {"credentials": {"username": {"visibility": "visible", "label": - "Account Number"}, "password": {"visibility": "password", "label": "Password"}}, - "test_credentials": {"username": {"visibility": "visible", "label": "Account - Number"}, "password": {"visibility": "password", "label": "Password"}}}}, - {"object": "CarrierType", "type": "DaiPostAccount", "readable": "Dai Post", - "logo": null, "fields": {"credentials": {"username": {"visibility": "visible", - "label": " Dai Post customer username"}, "password": {"visibility": "password", - "label": " Dai Post client secret"}, "origin_terminal": {"visibility": "visible", - "label": " Dai Post default origin terminal"}, "account_code": {"visibility": - "visible", "label": " 3-letter account code for customers with multiple accounts"}}}}, - {"object": "CarrierType", "type": "DeliverItAccount", "readable": "Deliver-It", - "logo": null, "fields": {"credentials": {"username": {"visibility": "visible", - "label": "Deliver-It Username"}, "password": {"visibility": "password", "label": - "Deliver-It Password"}, "account_number": {"visibility": "visible", "label": - "Deliver-It Account Number"}}, "test_credentials": {"username": {"visibility": - "visible", "label": "Test Deliver-It Username"}, "password": {"visibility": - "password", "label": "Test Deliver-It Password"}, "account_number": {"visibility": - "visible", "label": "Test Deliver-It Account Number"}}}}, {"object": "CarrierType", - "type": "DeutschePostUKAccount", "readable": "Deutsche Post UK", "logo": null, - "fields": {"credentials": {"client_id": {"visibility": "visible", "label": - "Deutsche Post UK Client ID"}, "client_secret": {"visibility": "password", - "label": "Deutsche Post UK Secret"}, "account_number": {"visibility": "visible", - "label": "Deutsche Post UK Account Number"}}, "test_credentials": {"client_id": - {"visibility": "visible", "label": "Test Deutsche Post UK Client ID"}, "client_secret": - {"visibility": "password", "label": "Test Deutsche Post UK Secret"}, "account_number": - {"visibility": "visible", "label": "Test Deutsche Post UK Account Number"}}}}, - {"object": "CarrierType", "type": "DhlEcommerceAsiaAccount", "readable": "DHL - Ecommerce Asia", "logo": null, "fields": {"credentials": {"account_number": - {"visibility": "visible", "label": "DHL Ecommerce Asia Account Number"}, "client_id": - {"visibility": "visible", "label": "DHL Ecommerce Asia Contract Number"}, - "password": {"visibility": "password", "label": "DHL Ecommerce Asia Password"}, - "barcode_prefix": {"visibility": "visible", "label": "DHL Ecommerce Asia Customer - ID"}}, "test_credentials": {"account_number": {"visibility": "visible", "label": - "Test DHL Ecommerce Asia Account Number"}, "client_id": {"visibility": "visible", - "label": "Test DHL Ecommerce Asia Contract Number"}, "password": {"visibility": - "password", "label": "Test DHL Ecommerce Asia Password"}, "barcode_prefix": - {"visibility": "visible", "label": "Test DHL Ecommerce Asia Customer ID"}}}}, - {"object": "CarrierType", "type": "DhlEcsAccount", "readable": "DHL eCommerce - Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions client ID"}, "client_secret": - {"visibility": "password", "label": "DHL eCommerce Solutions client secret"}, - "pickup_id": {"visibility": "visible", "label": "DHL eCommerce Solutions pickup - ID"}, "distribution_center": {"visibility": "visible", "label": "DHL eCommerce - Solutions distribution center"}}, "test_credentials": {"client_id": {"visibility": - "visible", "label": "Test DHL eCommerce Solutions client ID"}, "client_secret": - {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret"}, - "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions - pickup ID"}, "distribution_center": {"visibility": "visible", "label": "Test - DHL eCommerce Solutions distribution center"}}}}, {"object": "CarrierType", - "type": "DhlExpressAccount", "readable": "DHL Express", "logo": null, "fields": - {"credentials": {"account_number": {"visibility": "visible", "label": "DHL - Account Number"}, "country": {"visibility": "visible", "label": "Account Country - Code (2 Letter)"}, "site_id": {"visibility": "visible", "label": "Site ID - (Optional)"}, "password": {"visibility": "password", "label": "Password (Optional)"}, - "is_reseller": {"visibility": "checkbox", "label": "Reseller Account? (check - if yes)"}}}}, {"object": "CarrierType", "type": "DhlPaketAccount", "readable": - "DHL Paket", "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "DHL Paket Account Number (EKP)"}, "contract_id": {"visibility": - "visible", "label": "DHL Paket Contract Participation Value"}, "cig_username": - {"visibility": "visible", "label": "DHL Paket CIG Username"}, "cig_password": - {"visibility": "password", "label": "DHL Paket CIG Password"}, "tnt_username": - {"visibility": "visible", "label": "DHL Paket TNT Username (if applicable)"}, - "tnt_password": {"visibility": "password", "label": "DHL Paket TNT Password - (if applicable)"}, "retoure_username": {"visibility": "visible", "label": - "DHL Paket Retoure Username (if applicable)"}, "retoure_password": {"visibility": - "password", "label": "DHL Paket Retoure Password (if applicable)"}}, "test_credentials": - {"account_number": {"visibility": "visible", "label": "Test DHL Paket Account - Number (EKP)"}, "contract_id": {"visibility": "visible", "label": "Test DHL - Paket Contract Participation Value"}, "cig_username": {"visibility": "visible", - "label": " Test DHL Paket CIG Username"}, "cig_password": {"visibility": "password", - "label": "Test DHL Paket CIG Password"}, "tnt_username": {"visibility": "visible", - "label": "Test DHL Paket TNT Username (if applicable)"}, "tnt_password": {"visibility": - "password", "label": "Test DHL Paket TNT Password (if applicable)"}, "retoure_username": - {"visibility": "visible", "label": "Test DHL Paket Retoure Username (if applicable)"}, - "retoure_password": {"visibility": "password", "label": "Test DHL Paket Retoure - Password (if applicable)"}}}}, {"object": "CarrierType", "type": "DhlParcelAccount", - "readable": "DHL Parcel", "logo": null, "fields": {"credentials": {"user_id": - {"visibility": "visible", "label": "DHL Parcel User ID"}, "api_key": {"visibility": - "masked", "label": "DHL Parcel API Key"}, "account_number": {"visibility": - "visible", "label": "DHL Parcel Account Number"}}, "test_credentials": {"user_id": - {"visibility": "visible", "label": "DHL Parcel User ID"}, "api_key": {"visibility": - "masked", "label": "DHL Parcel API Key"}, "account_number": {"visibility": - "visible", "label": "DHL Parcel Account Number"}}}}, {"object": "CarrierType", - "type": "DpdAccount", "readable": "DPD", "logo": null, "fields": {"credentials": - {"username": {"visibility": "visible", "label": "WebConnect Username"}, "password": - {"visibility": "password", "label": "WebConnect Password"}, "customer_number": - {"visibility": "visible", "label": "DPD Customer Number"}}, "test_credentials": - {"username": {"visibility": "visible", "label": "Test WebConnect Username"}, - "password": {"visibility": "password", "label": "Test WebConnect Password"}, - "customer_number": {"visibility": "visible", "label": "DPD Customer Number"}}}}, - {"object": "CarrierType", "type": "DpdUkAccount", "readable": "DPD UK", "logo": - null, "fields": {"credentials": {"account_number": {"visibility": "visible", - "label": "DPD UK Account Number"}, "username": {"visibility": "visible", "label": - "DPD UK Username"}, "password": {"visibility": "password", "label": "DPD UK - Password"}}}}, {"object": "CarrierType", "type": "DpdNlAccount", "readable": - "DPD NL", "logo": null, "fields": {"credentials": {"username": {"visibility": - "visible", "label": "Delis ID"}, "password": {"visibility": "password", "label": - "Password"}}, "test_credentials": {"username": {"visibility": "visible", "label": - "Test Delis ID"}, "password": {"visibility": "password", "label": "Test Password"}}}}, - {"object": "CarrierType", "type": "EstafetaAccount", "readable": "Estafeta", - "logo": null, "fields": {"credentials": {"customer_id": {"visibility": "visible", - "label": "Subscriber ID"}, "username": {"visibility": "visible", "label": - "Login"}, "password": {"visibility": "password", "label": "Password"}, "client_id": - {"visibility": "visible", "label": "Tracking Subscriber ID"}, "user_id": {"visibility": - "visible", "label": "Tracking Login"}, "secret_key": {"visibility": "password", - "label": "Tracking Password"}, "customer_number": {"visibility": "visible", - "label": "Customer Number"}, "hub_id": {"visibility": "visible", "label": - "Office Number"}}, "test_credentials": {"customer_id": {"visibility": "visible", - "label": "Test Subscriber ID"}, "username": {"visibility": "visible", "label": - "Test Login"}, "password": {"visibility": "password", "label": "Test Password"}, - "client_id": {"visibility": "visible", "label": "Test Tracking Subscriber - ID"}, "user_id": {"visibility": "visible", "label": "Test Tracking Login"}, - "secret_key": {"visibility": "password", "label": "Test Tracking Password"}, - "customer_number": {"visibility": "visible", "label": "Test Customer Number"}, - "hub_id": {"visibility": "visible", "label": "Test Office Number"}}}}, {"object": - "CarrierType", "type": "FastwayAccount", "readable": "Fastway", "logo": null, - "fields": {"credentials": {"api_key": {"visibility": "masked", "label": "API - Key"}}}}, {"object": "CarrierType", "type": "FedexAccount", "readable": "FedEx", - "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "readonly", "label": "FedEx Account Number"}, "meter_number": {"visibility": - "invisible", "label": "FedEx Production Meter Number"}, "key": {"visibility": - "invisible", "label": "FedEx Production Authentication Key"}, "password": - {"visibility": "invisible", "label": "FedEx Production Password"}}, "test_credentials": - {"account_number": {"visibility": "readonly", "label": "FedEx Account Number"}, - "meter_number": {"visibility": "invisible", "label": "FedEx Test Meter Number"}, - "key": {"visibility": "invisible", "label": "FedEx Developer Test Key"}, "password": - {"visibility": "invisible", "label": "FedEx Test Password"}}, "creation_fields": - {"credential_information": {"account_number": {"label": "FedEx Account #", - "visibility": "visible"}}, "company_information": {"corporate_first_name": - {"label": "Company Contact First Name", "visibility": "visible"}, "corporate_last_name": - {"label": "Company Contact Last Name", "visibility": "visible"}, "corporate_job_title": - {"label": "Company Contact Job Title", "visibility": "visible"}, "corporate_company_name": - {"label": "Company Name", "visibility": "visible"}, "corporate_phone_number": - {"label": "Company Phone", "visibility": "visible"}, "corporate_email_address": - {"label": "Company Email", "visibility": "visible"}, "corporate_streets": - {"label": "Company Street", "visibility": "visible"}, "corporate_city": {"label": - "Company City", "visibility": "visible"}, "corporate_state": {"label": "Company - State", "visibility": "visible"}, "corporate_postal_code": {"label": "Company - Postal Code", "visibility": "visible"}, "corporate_country_code": {"label": - "Company Country Code", "visibility": "visible"}}, "address_information": - {"shipping_streets": {"label": "Shipping Street", "visibility": "visible"}, - "shipping_city": {"label": "Shipping City", "visibility": "visible"}, "shipping_state": - {"label": "Shipping State", "visibility": "visible"}, "shipping_postal_code": - {"label": "Shipping Postal Code ", "visibility": "visible"}, "shipping_country_code": - {"label": "Shipping Country Code", "visibility": "visible"}}}, "custom_workflow": - true}}, {"object": "CarrierType", "type": "FedexCrossBorderAccount", "readable": - "FedEx Cross Border", "logo": null, "fields": {"credentials": {"api_key": - {"visibility": "masked", "label": "FedEx Cross Border API key"}, "origin_hub": - {"visibility": "select", "label": "FedEx Cross Border Origin Hub"}}, "test_credentials": - {"api_key": {"visibility": "masked", "label": "Test FedEx Cross Border API - key"}, "origin_hub": {"visibility": "select", "label": "Test FedEx Cross Border - Origin Hub"}}}}, {"object": "CarrierType", "type": "FedexMailviewAccount", - "readable": "FedEx MailView", "logo": null, "fields": {"credentials": {"customer_id": - {"visibility": "visible", "label": "Customer Code"}, "service_id": {"visibility": - "password", "label": "Service ID"}, "fimspremium": {"visibility": "checkbox", - "label": "FIMS Premium"}, "fimsstandard": {"visibility": "checkbox", "label": - "FIMS Standard"}, "mailviewpremium": {"visibility": "checkbox", "label": "MailView - Premium"}, "mailviewlight": {"visibility": "checkbox", "label": "MailView - Light"}}}}, {"object": "CarrierType", "type": "FedexSmartpostAccount", "readable": - "FedEx SmartPost", "logo": null, "fields": {"credentials": {"account_number": - {"visibility": "visible", "label": "FedEx SmartPost Account Number"}, "hub_id": - {"visibility": "visible", "label": "FedEx SmartPost HubID"}, "meter_number": - {"visibility": "visible", "label": "Fedex SmartPost Meter Number"}, "key": - {"visibility": "masked", "label": "FedEx SmartPost Access Key"}, "password": - {"visibility": "password", "label": "SmartPost Access Key Password"}}, "creation_fields": - {"credential_information": {"account_number": {"label": "FedEx SmartPost Account - #", "visibility": "visible"}, "hub_id": {"label": "FedEx SmartPost Hub ID", - "visibility": "visible"}}, "company_information": {"corporate_first_name": - {"label": "Company Contact First Name", "visibility": "visible"}, "corporate_last_name": - {"label": "Company Contact Last Name", "visibility": "visible"}, "corporate_job_title": - {"label": "Company Contact Job Title", "visibility": "visible"}, "corporate_company_name": - {"label": "Company Name", "visibility": "visible"}, "corporate_phone_number": - {"label": "Company Phone", "visibility": "visible"}, "corporate_email_address": - {"label": "Company Email", "visibility": "visible"}, "corporate_streets": - {"label": "Company Street", "visibility": "visible"}, "corporate_city": {"label": - "Company City", "visibility": "visible"}, "corporate_state": {"label": "Company - State", "visibility": "visible"}, "corporate_postal_code": {"label": "Company - Postal Code", "visibility": "visible"}, "corporate_country_code": {"label": - "Company Country Code", "visibility": "visible"}}, "address_information": - {"shipping_streets": {"label": "Shipping Street", "visibility": "visible"}, - "shipping_city": {"label": "Shipping City", "visibility": "visible"}, "shipping_state": - {"label": "Shipping State", "visibility": "visible"}, "shipping_postal_code": - {"label": "Shipping Postal Code ", "visibility": "visible"}, "shipping_country_code": - {"label": "Shipping Country Code", "visibility": "visible"}}}, "custom_workflow": - true}}, {"object": "CarrierType", "type": "FirstMileConciseAccount", "readable": - "First Mile", "logo": null, "fields": {"credentials": {"username": {"visibility": - "visible", "label": "FirstMile Username"}, "password": {"visibility": "password", - "label": "FirsMile Password"}, "account_number": {"visibility": "visible", - "label": "FirstMile Account Number"}}, "test_credentials": {"username": {"visibility": - "visible", "label": "Test FirstMile Username"}, "password": {"visibility": - "password", "label": "Test FirstMile Password"}, "account_number": {"visibility": - "visible", "label": "Test FirstMile Account Number"}}}}, {"object": "CarrierType", - "type": "FlexportAccount", "readable": "Flexport", "logo": null, "fields": - {"credentials": {"api_key": {"visibility": "masked", "label": "Flexport Account - API Key"}}}}, {"object": "CarrierType", "type": "GsoAccount", "readable": - "GSO", "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "GSO Account Number"}, "username": {"visibility": "visible", - "label": "Username"}, "password": {"visibility": "password", "label": "Password"}}}}, - {"object": "CarrierType", "type": "HailifyAccount", "readable": "Hailify", - "logo": null, "fields": {"credentials": {"partner_id": {"visibility": "visible", - "label": "Hailify Partner ID"}}, "test_credentials": {"partner_id": {"visibility": - "visible", "label": "Test Hailify Partner ID"}}}}, {"object": "CarrierType", - "type": "HermesAccount", "readable": "Evri", "logo": null, "fields": {"credentials": - {"username": {"visibility": "visible", "label": "Evri Username"}, "password": - {"visibility": "password", "label": "Evri Password"}, "client_id": {"visibility": - "visible", "label": "Evri Client ID"}, "auth_id": {"visibility": "visible", - "label": "Evri Auth ID"}, "auth_secret": {"visibility": "password", "label": - "Evri Auth Secret"}, "client_name": {"visibility": "visible", "label": "Evri - Client name"}, "group_id": {"visibility": "visible", "label": "Evri Group - ID"}, "client_licence": {"visibility": "masked", "label": "Evri Client License"}, - "api_key": {"visibility": "masked", "label": "Evri API Key"}}}}, {"object": - "CarrierType", "type": "InterlinkExpressAccount", "readable": "Interlink Express", - "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "Interlink Express Account Number"}, "username": {"visibility": - "visible", "label": "Interlink Express Username"}, "password": {"visibility": - "password", "label": "Interlink Express Password"}, "vat_number": {"visibility": - "visible", "label": "VAT Number"}}}}, {"object": "CarrierType", "type": "LasershipV2Account", - "readable": "LaserShipV2", "logo": null, "fields": {"credentials": {"api_key": - {"visibility": "masked", "label": "LaserShipV2 API Key"}, "api_id": {"visibility": - "visible", "label": "LaserShipV2 API ID"}, "facility": {"visibility": "visible", - "label": "LaserShipV2 Customer Branch"}, "cargo_claim_value": {"visibility": - "visible", "label": "LaserShipV2 Cargo Insurance Claim Value (USD)"}, "is_reseller": - {"visibility": "checkbox", "label": "3PL Account? (check if yes)"}, "injection_location_type": - {"visibility": "visible", "label": "Injection Address Location Type (\"Business\" - or \"Residence\")"}, "injection_contact": {"visibility": "visible", "label": - "Injection Address Contact"}, "injection_organization": {"visibility": "visible", - "label": "Injection Address Organization"}, "injection_street1": {"visibility": - "visible", "label": "Injection Address Street1"}, "injection_street2": {"visibility": - "visible", "label": "Injection Address Street2"}, "injection_city": {"visibility": - "visible", "label": "Injection Address City"}, "injection_state": {"visibility": - "visible", "label": "Injection Address State"}, "injection_zip": {"visibility": - "visible", "label": "Injection Address Postal Code"}, "injection_country": - {"visibility": "visible", "label": "Injection Address Country Code"}, "injection_phone": - {"visibility": "visible", "label": "Injection Address Phone"}, "injection_phone_ext": - {"visibility": "visible", "label": "Injection Address Phone Extension"}, "injection_email": - {"visibility": "visible", "label": "Injection Address Email"}, "injection_instruction": - {"visibility": "visible", "label": "Injection Address Instruction"}, "injection_note": - {"visibility": "visible", "label": "Injection Address Note"}}}}, {"object": - "CarrierType", "type": "LoomisExpressAccount", "readable": "Loomis Express", - "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "Loomis Express Account Number"}, "username": {"visibility": - "visible", "label": "Loomis Express Username"}, "password": {"visibility": - "password", "label": "Loomis Express Password"}}, "test_credentials": {"account_number": - {"visibility": "visible", "label": "Test Loomis Express Account Number"}, - "username": {"visibility": "visible", "label": "Test Loomis Express Username"}, - "password": {"visibility": "password", "label": "Test Loomis Express Password"}}}}, - {"object": "CarrierType", "type": "LsoAccount", "readable": "LSO", "logo": - null, "fields": {"credentials": {"account_number": {"visibility": "visible", - "label": "LSO Production Account Number"}, "username": {"visibility": "visible", - "label": "LSO Production Username"}, "password": {"visibility": "password", - "label": "LSO Production Password"}}, "test_credentials": {"account_number": - {"visibility": "visible", "label": "LSO Test Account Number"}, "username": - {"visibility": "visible", "label": "LSO Test Username"}, "password": {"visibility": - "password", "label": "LSO Test Password"}}}}, {"object": "CarrierType", "type": - "NewgisticsAccount", "readable": "Newgistics", "logo": null, "fields": {"credentials": - {"client_id": {"visibility": "visible", "label": "Client ID"}, "client_secret": - {"visibility": "password", "label": "Client Secret"}, "client_facility_id": - {"visibility": "visible", "label": "Client Facility ID"}, "fulfiller_facility_id": - {"visibility": "visible", "label": "Newgistics Facility ID"}, "tracking_api_key": - {"visibility": "masked", "label": "Tracking API Key"}, "merchant_id": {"visibility": - "visible", "label": "Merchant ID"}}, "test_credentials": {"client_id": {"visibility": - "visible", "label": "Client ID"}, "client_secret": {"visibility": "password", - "label": "Client Secret"}, "client_facility_id": {"visibility": "visible", - "label": "Client Facility ID"}, "fulfiller_facility_id": {"visibility": "visible", - "label": "Newgistics Facility ID"}, "tracking_api_key": {"visibility": "masked", - "label": "Tracking API Key"}, "merchant_id": {"visibility": "visible", "label": - "Merchant ID"}}}}, {"object": "CarrierType", "type": "OmniParcelAccount", - "readable": "OmniParcel", "logo": null, "fields": {"credentials": {"api_access_key": - {"visibility": "masked", "label": "API Access Key"}, "return_api_access_key": - {"visibility": "masked", "label": "Return API Access Key"}}, "test_credentials": - {"api_access_key": {"visibility": "masked", "label": "Test API Access Key"}, - "return_api_access_key": {"visibility": "masked", "label": "Test Return API - Access Key"}}}}, {"object": "CarrierType", "type": "OntracAccount", "readable": - "OnTrac", "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "OnTrac Account Number"}, "password": {"visibility": "password", - "label": "OnTrac API Password"}}, "test_credentials": {"account_number": {"visibility": - "visible", "label": "OnTrac Test Account Number"}, "password": {"visibility": - "password", "label": "OnTrac Test API Password"}}}}, {"object": "CarrierType", - "type": "OptimaAccount", "readable": "Optima", "logo": null, "fields": {"credentials": - {"username": {"visibility": "visible", "label": "Optima username"}, "password": - {"visibility": "password", "label": "Optima password"}, "account_number": - {"visibility": "visible", "label": "Optima account number"}}, "test_credentials": - {"username": {"visibility": "visible", "label": "Test Optima username"}, "password": - {"visibility": "password", "label": "Test Optima password"}, "account_number": - {"visibility": "visible", "label": "Test Optima account number"}}}}, {"object": - "CarrierType", "type": "OsmWorldwideAccount", "readable": "OSM Worldwide", - "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "Account Number"}, "mailer_id": {"visibility": "visible", - "label": "Mailer ID"}, "facility_code": {"visibility": "visible", "label": - "Facility Code/Cost Center ID for manifesting (optional)"}, "company_name": - {"visibility": "visible", "label": "Company Name"}, "aws_sftp_username": {"visibility": - "visible", "label": "SFTP Username"}}}}, {"object": "CarrierType", "type": - "PandionAccount", "readable": "Pandion", "logo": null, "fields": {"credentials": - {"api_key": {"visibility": "masked", "label": "Prod Pandion API Key"}}, "test_credentials": - {"api_key": {"visibility": "masked", "label": "Test Pandion API Key"}}}}, - {"object": "CarrierType", "type": "ParcelForceAccount", "readable": "Parcel - Force", "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "Parcelforce Contract Number"}, "username": {"visibility": - "visible", "label": "expressLink API Username"}, "password": {"visibility": - "password", "label": "expressLink API Password"}, "department_id": {"visibility": - "visible", "label": "Department ID - not required"}}, "test_credentials": - {"account_number": {"visibility": "visible", "label": "Parcelforce Test Contract - Number"}, "username": {"visibility": "visible", "label": "Test expressLink - API Username"}, "password": {"visibility": "password", "label": "Test expressLink - API Password"}, "department_id": {"visibility": "visible", "label": "Test - Department ID - not required"}}}}, {"object": "CarrierType", "type": "ParcllAccount", - "readable": "Cirro E-Commerce", "logo": null, "fields": {"credentials": {"api_key": - {"visibility": "masked", "label": "Cirro E-Commerce API key"}, "user_id": - {"visibility": "visible", "label": "Cirro E-Commerce User Id"}, "origin_hub": - {"visibility": "select", "label": "Cirro E-Commerce Origin Hub"}}, "test_credentials": - {"api_key": {"visibility": "masked", "label": "Test Cirro E-Commerce API key"}, - "user_id": {"visibility": "visible", "label": "Test Cirro E-Commerce User - Id"}, "origin_hub": {"visibility": "select", "label": "Test Cirro E-Commerce - Origin Hub"}}}}, {"object": "CarrierType", "type": "PassportGlobalAccount", - "readable": "Passport Global", "logo": null, "fields": {"credentials": {"api_key": - {"visibility": "masked", "label": "Passport Global API key"}, "email": {"visibility": - "visible", "label": "Customer email address registered with Passport Global"}, - "name": {"visibility": "visible", "label": "Customer name registered with - Passport Global"}, "company_name": {"visibility": "visible", "label": "Customer - company name registered with Passport Global"}, "phone": {"visibility": "visible", - "label": "Customer phone number registered with Passport Global (optional)"}}, - "test_credentials": {"api_key": {"visibility": "masked", "label": "Passport - Global Test API key"}, "email": {"visibility": "visible", "label": "Customer - email address registered with Passport Global"}, "name": {"visibility": "visible", - "label": "Customer name registered with Passport Global"}, "company_name": - {"visibility": "visible", "label": "Customer company name registered with - Passport Global"}, "phone": {"visibility": "visible", "label": "Customer phone - number registered with Passport Global (optional)"}}}}, {"object": "CarrierType", - "type": "PurolatorAccount", "readable": "Purolator", "logo": null, "fields": - {"credentials": {"account_number": {"visibility": "visible", "label": "Purolator - Account Number"}, "api_key": {"visibility": "masked", "label": "Production - API Key"}, "password": {"visibility": "password", "label": "Production API - Key Password"}}}}, {"object": "CarrierType", "type": "RoyalMailAccount", "readable": - "Royal Mail", "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "Royal Mail Account Number"}, "username": {"visibility": - "visible", "label": "OBA Email Address"}, "posting_location_number": {"visibility": - "visible", "label": "Posting Location Number"}}}}, {"object": "CarrierType", - "type": "RRDonnelleyAccount", "readable": "ePost Global", "logo": null, "fields": - {"credentials": {"account_number": {"visibility": "visible", "label": "ePostGlobal - Account Number"}}}}, {"object": "CarrierType", "type": "SendleAccount", "readable": - "Sendle", "logo": null, "fields": {"credentials": {"api_key": {"visibility": - "masked", "label": "Sendle API Key"}, "user_id": {"visibility": "visible", - "label": "Sendle ID"}}, "test_credentials": {"api_key": {"visibility": "masked", - "label": "Sendle Sandbox API Key"}, "user_id": {"visibility": "visible", "label": - "Sendle Sandbox ID"}}}}, {"object": "CarrierType", "type": "SfExpressAccount", - "readable": "SF Express", "logo": null, "fields": {"credentials": {"checkword": - {"visibility": "visible", "label": "SF Express checkword"}, "customer_code": - {"visibility": "visible", "label": "SF Express customer code"}, "customer_id": - {"visibility": "visible", "label": "SF Express customer id"}}, "test_credentials": - {"checkword": {"visibility": "visible", "label": "Test SF Express checkword"}, - "customer_code": {"visibility": "visible", "label": "Test SF Express customer - code"}, "customer_id": {"visibility": "visible", "label": "Test SF Express - customer id"}}}}, {"object": "CarrierType", "type": "SmartKargoAccount", "readable": - "SmartKargo", "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "SmartKargo account number"}}, "test_credentials": {"account_number": - {"visibility": "visible", "label": "Test SmartKargo account number"}}}}, {"object": - "CarrierType", "type": "SonicAccount", "readable": "Sonic", "logo": null, - "fields": {"credentials": {"username": {"visibility": "visible", "label": - "Sonic username"}, "password": {"visibility": "password", "label": "Sonic - password"}, "account_number": {"visibility": "visible", "label": "Sonic account - number"}}, "test_credentials": {"username": {"visibility": "visible", "label": - "Test Sonic username"}, "password": {"visibility": "password", "label": "Test - Sonic password"}, "account_number": {"visibility": "visible", "label": "Test - Sonic account number"}}}}, {"object": "CarrierType", "type": "SpeedeeAccount", - "readable": "Spee-Dee", "logo": null, "fields": {"credentials": {"account_number": - {"visibility": "visible", "label": "Spee-Dee Account Number"}}}}, {"object": - "CarrierType", "type": "SwyftAccount", "readable": "Swyft", "logo": null, - "fields": {"credentials": {"password": {"visibility": "password", "label": - "Swyft API Key"}}, "test_credentials": {"password": {"visibility": "password", - "label": "Test Swyft API Key"}}}}, {"object": "CarrierType", "type": "TforceConciseAccount", - "readable": "TForce", "logo": null, "fields": {"credentials": {"username": - {"visibility": "visible", "label": "TForce Username"}, "password": {"visibility": - "password", "label": "TForce Password"}, "account_number": {"visibility": - "visible", "label": "TForce Account Number"}}, "test_credentials": {"username": - {"visibility": "visible", "label": "Test TForce Username"}, "password": {"visibility": - "password", "label": "Test TForce Password"}, "account_number": {"visibility": - "visible", "label": "Test TForce Account Number"}}}}, {"object": "CarrierType", - "type": "TollAccount", "readable": "Toll", "logo": null, "fields": {"credentials": - {"account_number": {"visibility": "visible", "label": "Toll Account Number"}, - "business_unit": {"visibility": "visible", "label": "Toll Business Unit (Ex. - IPEC)"}, "source_system_code": {"visibility": "visible", "label": "Toll Source - System Code"}}, "test_credentials": {"account_number": {"visibility": "visible", - "label": "Toll Test Account Number"}, "business_unit": {"visibility": "visible", - "label": "Toll Business Unit (Ex. IPEC)"}, "source_system_code": {"visibility": - "visible", "label": "Toll Test Source System Code"}}}}, {"object": "CarrierType", - "type": "UdsAccount", "readable": "UDS", "logo": null, "fields": {"credentials": - {"ftp_username": {"visibility": "visible", "label": "FTP Username"}, "ftp_password": - {"visibility": "password", "label": "FTP Password"}}}}, {"object": "CarrierType", - "type": "UpsAccount", "readable": "UPS", "logo": null, "fields": {"credentials": - {"access_license_number": {"visibility": "invisible", "label": "UPS Access - License Number"}, "account_number": {"visibility": "readonly", "label": "UPS - Account Number"}, "user_id": {"visibility": "invisible", "label": "UPS.com - User ID"}, "password": {"visibility": "invisible", "label": "UPS.com Password"}}, - "creation_fields": {"registration_data": {"account_number": {"label": "UPS - Account Number", "visibility": "visible"}, "client_ip": {"label": "Client - IP", "visibility": "invisible"}, "name": {"label": "Company Contact Name", - "visibility": "visible"}, "title": {"label": "Company Contact Job Title", - "visibility": "visible"}, "company": {"label": "Company Name", "visibility": - "visible"}, "phone": {"label": "Company Phone", "visibility": "visible"}, - "email": {"label": "Company Email", "visibility": "visible"}, "website": {"label": - "Company Website", "visibility": "visible"}, "street1": {"label": "Shipping - Street 1", "visibility": "visible"}, "street2": {"label": "Shipping Street - 2", "visibility": "visible"}, "city": {"label": "Shipping City", "visibility": - "visible"}, "state": {"label": "Shipping State", "visibility": "visible"}, - "postal_code": {"label": "Shipping Postal Code", "visibility": "visible"}, - "country": {"label": "Shipping Country", "visibility": "visible"}, "invoice_number": - {"label": "UPS Invoice Number", "visibility": "visible"}, "invoice_date": - {"label": "UPS Invoice Date", "visibility": "visible"}, "invoice_amount": - {"label": "UPS Invoice Amount", "visibility": "visible"}, "invoice_currency": - {"label": "UPS Invoice Currency", "visibility": "visible"}, "invoice_control_id": - {"label": "UPS Invoice Control ID", "visibility": "visible"}}}, "custom_workflow": - true}}, {"object": "CarrierType", "type": "UpsIparcelAccount", "readable": - "UPS i-Parcel", "logo": null, "fields": {"credentials": {"api_key": {"visibility": - "masked", "label": "i-Parcel API key"}}}}, {"object": "CarrierType", "type": - "UpsMailInnovationsAccount", "readable": "UPS Mail Innovations", "logo": null, - "fields": {"credentials": {"account_number": {"visibility": "visible", "label": - "UPS Shipper Number"}, "user_id": {"visibility": "visible", "label": "UPS.com - User ID"}, "password": {"visibility": "password", "label": "UPS.com Password"}, - "customer_id": {"visibility": "visible", "label": "UPS customer id (optional)"}, - "customer_guid": {"visibility": "visible", "label": "UPS customer GUID (optional)"}}}}, - {"object": "CarrierType", "type": "UspsAccount", "readable": "USPS", "logo": - null, "fields": {"credentials": {"company_name": {"visibility": "visible", - "label": "Account Holder Name"}, "address_street": {"visibility": "visible", - "label": "Street Address"}, "address_city": {"visibility": "visible", "label": - "City"}, "address_state": {"visibility": "visible", "label": "State"}, "address_zip": - {"visibility": "visible", "label": "ZIP Code"}, "phone": {"visibility": "visible", - "label": "Phone Number"}, "email": {"visibility": "visible", "label": "Email - Address"}, "shipper_id": {"visibility": "visible", "label": "Shipper Identifier - (Optional)"}}}}, {"object": "CarrierType", "type": "VehoAccount", "readable": - "Veho", "logo": null, "fields": {"credentials": {"api_key": {"visibility": - "masked", "label": "Veho Production API Key"}}, "test_credentials": {"api_key": - {"visibility": "masked", "label": "Veho Test API Key"}}}}, {"object": "CarrierType", - "type": "XDeliveryAccount", "readable": "Maergo", "logo": null, "fields": - {"credentials": {"username": {"visibility": "visible", "label": "Maergo Username"}, - "password": {"visibility": "password", "label": "Maergo Password"}}, "test_credentials": - {"username": {"visibility": "visible", "label": "Test Maergo Username"}, "password": - {"visibility": "password", "label": "Test Maergo Password"}}}}]' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '38432' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdad65aaedd5e78bac280011221f - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.037208' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/carrier_types - response: - body: - string: '[{"object": "CarrierType", "type": "AmazonMwsAccount", "readable": - "Amazon MWS", "logo": null, "fields": {"credentials": {"access_key_id": {"visibility": - "visible", "label": "AWS Access Key ID"}, "secret_key": {"visibility": "password", - "label": "Secret Key"}, "merchant_id": {"visibility": "visible", "label": - "Seller ID"}}}}, {"object": "CarrierType", "type": "ApcAccount", "readable": - "APC", "logo": null, "fields": {"credentials": {"shipper_id": {"visibility": - "visible", "label": "APC Shipper ID"}, "password": {"visibility": "password", - "label": "APC Password"}, "facility": {"visibility": "visible", "label": "APC - Facility (e.g., NJ, LA)"}}}}, {"object": "CarrierType", "type": "AsendiaUsaAccount", - "readable": "Asendia USA", "logo": null, "fields": {"credentials": {"account_number": - {"visibility": "visible", "label": "AsendiaUsa Account Number"}, "sub_account_number": - {"visibility": "visible", "label": "AsendiaUsa Sub Account Number"}, "username": - {"visibility": "visible", "label": "AsendiaUsa Username"}, "password": {"visibility": - "password", "label": "AsendiaUsa Password"}, "api_key": {"visibility": "masked", - "label": "AsendiaUsa API key"}, "carrier_facility": {"visibility": "select", - "label": "AsendiaUsa Carrier Facility / Processing Location (Optional)"}}, - "test_credentials": {"account_number": {"visibility": "visible", "label": - "Test AsendiaUsa Account Number"}, "sub_account_number": {"visibility": "visible", - "label": "Test AsendiaUsa Sub Account Number"}, "username": {"visibility": - "visible", "label": "Test AsendiaUsa Username"}, "password": {"visibility": - "password", "label": "Test AsendiaUsa Password"}, "api_key": {"visibility": - "masked", "label": "Test AsendiaUsa API key"}, "carrier_facility": {"visibility": - "select", "label": "Test AsendiaUsa Carrier Facility / Processing Location - (Optional)"}}}}, {"object": "CarrierType", "type": "AustraliaPostAccount", - "readable": "Australia Post", "logo": null, "fields": {"credentials": {"account_number": - {"visibility": "visible", "label": "Australia Post Account Number"}, "api_key": - {"visibility": "masked", "label": "Australia Post API Key"}, "api_secret": - {"visibility": "password", "label": "Australia Post Secret Key"}, "print_as_you_go": - {"visibility": "checkbox", "label": "Print as you go"}}, "test_credentials": - {"account_number": {"visibility": "visible", "label": "Australia Post Test - Account Number"}, "api_key": {"visibility": "masked", "label": "Australia - Post Test API Key"}, "api_secret": {"visibility": "password", "label": "Australia - Post Test Secret Key"}, "print_as_you_go": {"visibility": "checkbox", "label": - "Print as you go"}}}}, {"object": "CarrierType", "type": "AxlehireV3Account", - "readable": "AxlehireV3", "logo": null, "fields": {"credentials": {"api_key": - {"visibility": "masked", "label": "Client Secret"}}, "test_credentials": {"api_key": - {"visibility": "masked", "label": "Client Secret"}}}}, {"object": "CarrierType", - "type": "BetterTrucksAccount", "readable": "Better Trucks", "logo": null, - "fields": {"credentials": {"api_key": {"visibility": "masked", "label": "Better - Trucks API key"}}, "test_credentials": {"api_key": {"visibility": "masked", - "label": "Test Better Trucks API key"}}}}, {"object": "CarrierType", "type": - "CanadaPostAccount", "readable": "Canada Post", "logo": null, "fields": {"credentials": - {"api_key": {"visibility": "masked", "label": "CanadaPost API Key"}, "contract_id": - {"visibility": "visible", "label": "CanadaPost Contract ID (contract customers - only)"}, "customer_number": {"visibility": "visible", "label": "CanadaPost - Customer Number"}, "has_credit_card": {"visibility": "checkbox", "label": - "CanadaPost account has credit card?"}, "not_platform": {"visibility": "invisible", - "label": "CanadaPost account not registered through platform?"}}, "test_credentials": - {"api_key": {"visibility": "masked", "label": "CanadaPost Test API Key"}, - "contract_id": {"visibility": "visible", "label": "CanadaPost Test Contract - ID (contract customers only)"}, "customer_number": {"visibility": "visible", - "label": "CanadaPost Test Customer Number"}, "has_credit_card": {"visibility": - "checkbox", "label": "CanadaPost Test account has credit card?"}, "not_platform": - {"visibility": "invisible", "label": "CanadaPost Test account not registered - through platform?"}}, "custom_workflow": true}}, {"object": "CarrierType", - "type": "CanparAccount", "readable": "Canpar", "logo": null, "fields": {"credentials": - {"account_number": {"visibility": "visible", "label": "Canpar Account Number"}, - "username": {"visibility": "visible", "label": "Canpar Username"}, "password": - {"visibility": "password", "label": "Canpar Password"}}, "test_credentials": - {"account_number": {"visibility": "visible", "label": "Test Canpar Account - Number"}, "username": {"visibility": "visible", "label": "Test Canpar Username"}, - "password": {"visibility": "password", "label": "Test Canpar Password"}}}}, - {"object": "CarrierType", "type": "ColumbusLastMileAccount", "readable": "CDL - Last Mile Solutions", "logo": null, "fields": {"credentials": {"username": - {"visibility": "visible", "label": "CDL Last Mile Solutions customer username"}, - "password": {"visibility": "password", "label": "CDL Last Mile Solutions customer - password"}, "tracking_code_prefix": {"visibility": "visible", "label": "CDL - Last Mile Solutions tracking code prefix"}}, "test_credentials": {"username": - {"visibility": "visible", "label": "CDL Last Mile Solutions customer test - username"}, "password": {"visibility": "password", "label": "CDL Last Mile - Solutions customer test password"}, "tracking_code_prefix": {"visibility": - "visible", "label": "CDL Last Mile Solutions tracking code prefix"}}}}, {"object": - "CarrierType", "type": "CourierExpressAccount", "readable": "Courier Express", - "logo": null, "fields": {"credentials": {"api_key": {"visibility": "masked", - "label": "Courier Express API key"}, "shipper_id": {"visibility": "visible", - "label": "Courier Express shipper ID"}}, "test_credentials": {"api_key": {"visibility": - "masked", "label": "Test Courier Express API key"}, "shipper_id": {"visibility": - "visible", "label": "Test Courier Express shipper ID"}}}}, {"object": "CarrierType", - "type": "CouriersPleaseAccount", "readable": "CouriersPlease", "logo": null, - "fields": {"credentials": {"username": {"visibility": "visible", "label": - "Account Number"}, "password": {"visibility": "password", "label": "Password"}}, - "test_credentials": {"username": {"visibility": "visible", "label": "Account - Number"}, "password": {"visibility": "password", "label": "Password"}}}}, - {"object": "CarrierType", "type": "DaiPostAccount", "readable": "Dai Post", - "logo": null, "fields": {"credentials": {"username": {"visibility": "visible", - "label": " Dai Post customer username"}, "password": {"visibility": "password", - "label": " Dai Post client secret"}, "origin_terminal": {"visibility": "visible", - "label": " Dai Post default origin terminal"}, "account_code": {"visibility": - "visible", "label": " 3-letter account code for customers with multiple accounts"}}}}, - {"object": "CarrierType", "type": "DeliverItAccount", "readable": "Deliver-It", - "logo": null, "fields": {"credentials": {"username": {"visibility": "visible", - "label": "Deliver-It Username"}, "password": {"visibility": "password", "label": - "Deliver-It Password"}, "account_number": {"visibility": "visible", "label": - "Deliver-It Account Number"}}, "test_credentials": {"username": {"visibility": - "visible", "label": "Test Deliver-It Username"}, "password": {"visibility": - "password", "label": "Test Deliver-It Password"}, "account_number": {"visibility": - "visible", "label": "Test Deliver-It Account Number"}}}}, {"object": "CarrierType", - "type": "DeutschePostUKAccount", "readable": "Deutsche Post UK", "logo": null, - "fields": {"credentials": {"client_id": {"visibility": "visible", "label": - "Deutsche Post UK Client ID"}, "client_secret": {"visibility": "password", - "label": "Deutsche Post UK Secret"}, "account_number": {"visibility": "visible", - "label": "Deutsche Post UK Account Number"}}, "test_credentials": {"client_id": - {"visibility": "visible", "label": "Test Deutsche Post UK Client ID"}, "client_secret": - {"visibility": "password", "label": "Test Deutsche Post UK Secret"}, "account_number": - {"visibility": "visible", "label": "Test Deutsche Post UK Account Number"}}}}, - {"object": "CarrierType", "type": "DhlEcommerceAsiaAccount", "readable": "DHL - Ecommerce Asia", "logo": null, "fields": {"credentials": {"account_number": - {"visibility": "visible", "label": "DHL Ecommerce Asia Account Number"}, "client_id": - {"visibility": "visible", "label": "DHL Ecommerce Asia Contract Number"}, - "password": {"visibility": "password", "label": "DHL Ecommerce Asia Password"}, - "barcode_prefix": {"visibility": "visible", "label": "DHL Ecommerce Asia Customer - ID"}}, "test_credentials": {"account_number": {"visibility": "visible", "label": - "Test DHL Ecommerce Asia Account Number"}, "client_id": {"visibility": "visible", - "label": "Test DHL Ecommerce Asia Contract Number"}, "password": {"visibility": - "password", "label": "Test DHL Ecommerce Asia Password"}, "barcode_prefix": - {"visibility": "visible", "label": "Test DHL Ecommerce Asia Customer ID"}}}}, - {"object": "CarrierType", "type": "DhlEcsAccount", "readable": "DHL eCommerce - Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions client ID"}, "client_secret": - {"visibility": "password", "label": "DHL eCommerce Solutions client secret"}, - "pickup_id": {"visibility": "visible", "label": "DHL eCommerce Solutions pickup - ID"}, "distribution_center": {"visibility": "visible", "label": "DHL eCommerce - Solutions distribution center"}}, "test_credentials": {"client_id": {"visibility": - "visible", "label": "Test DHL eCommerce Solutions client ID"}, "client_secret": - {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret"}, - "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions - pickup ID"}, "distribution_center": {"visibility": "visible", "label": "Test - DHL eCommerce Solutions distribution center"}}}}, {"object": "CarrierType", - "type": "DhlExpressAccount", "readable": "DHL Express", "logo": null, "fields": - {"credentials": {"account_number": {"visibility": "visible", "label": "DHL - Account Number"}, "country": {"visibility": "visible", "label": "Account Country - Code (2 Letter)"}, "site_id": {"visibility": "visible", "label": "Site ID - (Optional)"}, "password": {"visibility": "password", "label": "Password (Optional)"}, - "is_reseller": {"visibility": "checkbox", "label": "Reseller Account? (check - if yes)"}}}}, {"object": "CarrierType", "type": "DhlPaketAccount", "readable": - "DHL Paket", "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "DHL Paket Account Number (EKP)"}, "contract_id": {"visibility": - "visible", "label": "DHL Paket Contract Participation Value"}, "cig_username": - {"visibility": "visible", "label": "DHL Paket CIG Username"}, "cig_password": - {"visibility": "password", "label": "DHL Paket CIG Password"}, "tnt_username": - {"visibility": "visible", "label": "DHL Paket TNT Username (if applicable)"}, - "tnt_password": {"visibility": "password", "label": "DHL Paket TNT Password - (if applicable)"}, "retoure_username": {"visibility": "visible", "label": - "DHL Paket Retoure Username (if applicable)"}, "retoure_password": {"visibility": - "password", "label": "DHL Paket Retoure Password (if applicable)"}}, "test_credentials": - {"account_number": {"visibility": "visible", "label": "Test DHL Paket Account - Number (EKP)"}, "contract_id": {"visibility": "visible", "label": "Test DHL - Paket Contract Participation Value"}, "cig_username": {"visibility": "visible", - "label": " Test DHL Paket CIG Username"}, "cig_password": {"visibility": "password", - "label": "Test DHL Paket CIG Password"}, "tnt_username": {"visibility": "visible", - "label": "Test DHL Paket TNT Username (if applicable)"}, "tnt_password": {"visibility": - "password", "label": "Test DHL Paket TNT Password (if applicable)"}, "retoure_username": - {"visibility": "visible", "label": "Test DHL Paket Retoure Username (if applicable)"}, - "retoure_password": {"visibility": "password", "label": "Test DHL Paket Retoure - Password (if applicable)"}}}}, {"object": "CarrierType", "type": "DhlParcelAccount", - "readable": "DHL Parcel", "logo": null, "fields": {"credentials": {"user_id": - {"visibility": "visible", "label": "DHL Parcel User ID"}, "api_key": {"visibility": - "masked", "label": "DHL Parcel API Key"}, "account_number": {"visibility": - "visible", "label": "DHL Parcel Account Number"}}, "test_credentials": {"user_id": - {"visibility": "visible", "label": "DHL Parcel User ID"}, "api_key": {"visibility": - "masked", "label": "DHL Parcel API Key"}, "account_number": {"visibility": - "visible", "label": "DHL Parcel Account Number"}}}}, {"object": "CarrierType", - "type": "DpdAccount", "readable": "DPD", "logo": null, "fields": {"credentials": - {"username": {"visibility": "visible", "label": "WebConnect Username"}, "password": - {"visibility": "password", "label": "WebConnect Password"}, "customer_number": - {"visibility": "visible", "label": "DPD Customer Number"}}, "test_credentials": - {"username": {"visibility": "visible", "label": "Test WebConnect Username"}, - "password": {"visibility": "password", "label": "Test WebConnect Password"}, - "customer_number": {"visibility": "visible", "label": "DPD Customer Number"}}}}, - {"object": "CarrierType", "type": "DpdUkAccount", "readable": "DPD UK", "logo": - null, "fields": {"credentials": {"account_number": {"visibility": "visible", - "label": "DPD UK Account Number"}, "username": {"visibility": "visible", "label": - "DPD UK Username"}, "password": {"visibility": "password", "label": "DPD UK - Password"}}}}, {"object": "CarrierType", "type": "DpdNlAccount", "readable": - "DPD NL", "logo": null, "fields": {"credentials": {"username": {"visibility": - "visible", "label": "Delis ID"}, "password": {"visibility": "password", "label": - "Password"}}, "test_credentials": {"username": {"visibility": "visible", "label": - "Test Delis ID"}, "password": {"visibility": "password", "label": "Test Password"}}}}, - {"object": "CarrierType", "type": "EstafetaAccount", "readable": "Estafeta", - "logo": null, "fields": {"credentials": {"customer_id": {"visibility": "visible", - "label": "Subscriber ID"}, "username": {"visibility": "visible", "label": - "Login"}, "password": {"visibility": "password", "label": "Password"}, "client_id": - {"visibility": "visible", "label": "Tracking Subscriber ID"}, "user_id": {"visibility": - "visible", "label": "Tracking Login"}, "secret_key": {"visibility": "password", - "label": "Tracking Password"}, "customer_number": {"visibility": "visible", - "label": "Customer Number"}, "hub_id": {"visibility": "visible", "label": - "Office Number"}}, "test_credentials": {"customer_id": {"visibility": "visible", - "label": "Test Subscriber ID"}, "username": {"visibility": "visible", "label": - "Test Login"}, "password": {"visibility": "password", "label": "Test Password"}, - "client_id": {"visibility": "visible", "label": "Test Tracking Subscriber - ID"}, "user_id": {"visibility": "visible", "label": "Test Tracking Login"}, - "secret_key": {"visibility": "password", "label": "Test Tracking Password"}, - "customer_number": {"visibility": "visible", "label": "Test Customer Number"}, - "hub_id": {"visibility": "visible", "label": "Test Office Number"}}}}, {"object": - "CarrierType", "type": "FastwayAccount", "readable": "Fastway", "logo": null, - "fields": {"credentials": {"api_key": {"visibility": "masked", "label": "API - Key"}}}}, {"object": "CarrierType", "type": "FedexAccount", "readable": "FedEx", - "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "readonly", "label": "FedEx Account Number"}, "meter_number": {"visibility": - "invisible", "label": "FedEx Production Meter Number"}, "key": {"visibility": - "invisible", "label": "FedEx Production Authentication Key"}, "password": - {"visibility": "invisible", "label": "FedEx Production Password"}}, "test_credentials": - {"account_number": {"visibility": "readonly", "label": "FedEx Account Number"}, - "meter_number": {"visibility": "invisible", "label": "FedEx Test Meter Number"}, - "key": {"visibility": "invisible", "label": "FedEx Developer Test Key"}, "password": - {"visibility": "invisible", "label": "FedEx Test Password"}}, "creation_fields": - {"credential_information": {"account_number": {"label": "FedEx Account #", - "visibility": "visible"}}, "company_information": {"corporate_first_name": - {"label": "Company Contact First Name", "visibility": "visible"}, "corporate_last_name": - {"label": "Company Contact Last Name", "visibility": "visible"}, "corporate_job_title": - {"label": "Company Contact Job Title", "visibility": "visible"}, "corporate_company_name": - {"label": "Company Name", "visibility": "visible"}, "corporate_phone_number": - {"label": "Company Phone", "visibility": "visible"}, "corporate_email_address": - {"label": "Company Email", "visibility": "visible"}, "corporate_streets": - {"label": "Company Street", "visibility": "visible"}, "corporate_city": {"label": - "Company City", "visibility": "visible"}, "corporate_state": {"label": "Company - State", "visibility": "visible"}, "corporate_postal_code": {"label": "Company - Postal Code", "visibility": "visible"}, "corporate_country_code": {"label": - "Company Country Code", "visibility": "visible"}}, "address_information": - {"shipping_streets": {"label": "Shipping Street", "visibility": "visible"}, - "shipping_city": {"label": "Shipping City", "visibility": "visible"}, "shipping_state": - {"label": "Shipping State", "visibility": "visible"}, "shipping_postal_code": - {"label": "Shipping Postal Code ", "visibility": "visible"}, "shipping_country_code": - {"label": "Shipping Country Code", "visibility": "visible"}}}, "custom_workflow": - true}}, {"object": "CarrierType", "type": "FedexCrossBorderAccount", "readable": - "FedEx Cross Border", "logo": null, "fields": {"credentials": {"api_key": - {"visibility": "masked", "label": "FedEx Cross Border API key"}, "origin_hub": - {"visibility": "select", "label": "FedEx Cross Border Origin Hub"}}, "test_credentials": - {"api_key": {"visibility": "masked", "label": "Test FedEx Cross Border API - key"}, "origin_hub": {"visibility": "select", "label": "Test FedEx Cross Border - Origin Hub"}}}}, {"object": "CarrierType", "type": "FedexMailviewAccount", - "readable": "FedEx MailView", "logo": null, "fields": {"credentials": {"customer_id": - {"visibility": "visible", "label": "Customer Code"}, "service_id": {"visibility": - "password", "label": "Service ID"}, "fimspremium": {"visibility": "checkbox", - "label": "FIMS Premium"}, "fimsstandard": {"visibility": "checkbox", "label": - "FIMS Standard"}, "mailviewpremium": {"visibility": "checkbox", "label": "MailView - Premium"}, "mailviewlight": {"visibility": "checkbox", "label": "MailView - Light"}}}}, {"object": "CarrierType", "type": "FedexSmartpostAccount", "readable": - "FedEx SmartPost", "logo": null, "fields": {"credentials": {"account_number": - {"visibility": "visible", "label": "FedEx SmartPost Account Number"}, "hub_id": - {"visibility": "visible", "label": "FedEx SmartPost HubID"}, "meter_number": - {"visibility": "visible", "label": "Fedex SmartPost Meter Number"}, "key": - {"visibility": "masked", "label": "FedEx SmartPost Access Key"}, "password": - {"visibility": "password", "label": "SmartPost Access Key Password"}}, "creation_fields": - {"credential_information": {"account_number": {"label": "FedEx SmartPost Account - #", "visibility": "visible"}, "hub_id": {"label": "FedEx SmartPost Hub ID", - "visibility": "visible"}}, "company_information": {"corporate_first_name": - {"label": "Company Contact First Name", "visibility": "visible"}, "corporate_last_name": - {"label": "Company Contact Last Name", "visibility": "visible"}, "corporate_job_title": - {"label": "Company Contact Job Title", "visibility": "visible"}, "corporate_company_name": - {"label": "Company Name", "visibility": "visible"}, "corporate_phone_number": - {"label": "Company Phone", "visibility": "visible"}, "corporate_email_address": - {"label": "Company Email", "visibility": "visible"}, "corporate_streets": - {"label": "Company Street", "visibility": "visible"}, "corporate_city": {"label": - "Company City", "visibility": "visible"}, "corporate_state": {"label": "Company - State", "visibility": "visible"}, "corporate_postal_code": {"label": "Company - Postal Code", "visibility": "visible"}, "corporate_country_code": {"label": - "Company Country Code", "visibility": "visible"}}, "address_information": - {"shipping_streets": {"label": "Shipping Street", "visibility": "visible"}, - "shipping_city": {"label": "Shipping City", "visibility": "visible"}, "shipping_state": - {"label": "Shipping State", "visibility": "visible"}, "shipping_postal_code": - {"label": "Shipping Postal Code ", "visibility": "visible"}, "shipping_country_code": - {"label": "Shipping Country Code", "visibility": "visible"}}}, "custom_workflow": - true}}, {"object": "CarrierType", "type": "FirstMileConciseAccount", "readable": - "First Mile", "logo": null, "fields": {"credentials": {"username": {"visibility": - "visible", "label": "FirstMile Username"}, "password": {"visibility": "password", - "label": "FirsMile Password"}, "account_number": {"visibility": "visible", - "label": "FirstMile Account Number"}}, "test_credentials": {"username": {"visibility": - "visible", "label": "Test FirstMile Username"}, "password": {"visibility": - "password", "label": "Test FirstMile Password"}, "account_number": {"visibility": - "visible", "label": "Test FirstMile Account Number"}}}}, {"object": "CarrierType", - "type": "FlexportAccount", "readable": "Flexport", "logo": null, "fields": - {"credentials": {"api_key": {"visibility": "masked", "label": "Flexport Account - API Key"}}}}, {"object": "CarrierType", "type": "GsoAccount", "readable": - "GSO", "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "GSO Account Number"}, "username": {"visibility": "visible", - "label": "Username"}, "password": {"visibility": "password", "label": "Password"}}}}, - {"object": "CarrierType", "type": "HailifyAccount", "readable": "Hailify", - "logo": null, "fields": {"credentials": {"partner_id": {"visibility": "visible", - "label": "Hailify Partner ID"}}, "test_credentials": {"partner_id": {"visibility": - "visible", "label": "Test Hailify Partner ID"}}}}, {"object": "CarrierType", - "type": "HermesAccount", "readable": "Evri", "logo": null, "fields": {"credentials": - {"username": {"visibility": "visible", "label": "Evri Username"}, "password": - {"visibility": "password", "label": "Evri Password"}, "client_id": {"visibility": - "visible", "label": "Evri Client ID"}, "auth_id": {"visibility": "visible", - "label": "Evri Auth ID"}, "auth_secret": {"visibility": "password", "label": - "Evri Auth Secret"}, "client_name": {"visibility": "visible", "label": "Evri - Client name"}, "group_id": {"visibility": "visible", "label": "Evri Group - ID"}, "client_licence": {"visibility": "masked", "label": "Evri Client License"}, - "api_key": {"visibility": "masked", "label": "Evri API Key"}}}}, {"object": - "CarrierType", "type": "InterlinkExpressAccount", "readable": "Interlink Express", - "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "Interlink Express Account Number"}, "username": {"visibility": - "visible", "label": "Interlink Express Username"}, "password": {"visibility": - "password", "label": "Interlink Express Password"}, "vat_number": {"visibility": - "visible", "label": "VAT Number"}}}}, {"object": "CarrierType", "type": "LasershipV2Account", - "readable": "LaserShipV2", "logo": null, "fields": {"credentials": {"api_key": - {"visibility": "masked", "label": "LaserShipV2 API Key"}, "api_id": {"visibility": - "visible", "label": "LaserShipV2 API ID"}, "facility": {"visibility": "visible", - "label": "LaserShipV2 Customer Branch"}, "cargo_claim_value": {"visibility": - "visible", "label": "LaserShipV2 Cargo Insurance Claim Value (USD)"}, "is_reseller": - {"visibility": "checkbox", "label": "3PL Account? (check if yes)"}, "injection_location_type": - {"visibility": "visible", "label": "Injection Address Location Type (\"Business\" - or \"Residence\")"}, "injection_contact": {"visibility": "visible", "label": - "Injection Address Contact"}, "injection_organization": {"visibility": "visible", - "label": "Injection Address Organization"}, "injection_street1": {"visibility": - "visible", "label": "Injection Address Street1"}, "injection_street2": {"visibility": - "visible", "label": "Injection Address Street2"}, "injection_city": {"visibility": - "visible", "label": "Injection Address City"}, "injection_state": {"visibility": - "visible", "label": "Injection Address State"}, "injection_zip": {"visibility": - "visible", "label": "Injection Address Postal Code"}, "injection_country": - {"visibility": "visible", "label": "Injection Address Country Code"}, "injection_phone": - {"visibility": "visible", "label": "Injection Address Phone"}, "injection_phone_ext": - {"visibility": "visible", "label": "Injection Address Phone Extension"}, "injection_email": - {"visibility": "visible", "label": "Injection Address Email"}, "injection_instruction": - {"visibility": "visible", "label": "Injection Address Instruction"}, "injection_note": - {"visibility": "visible", "label": "Injection Address Note"}}}}, {"object": - "CarrierType", "type": "LoomisExpressAccount", "readable": "Loomis Express", - "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "Loomis Express Account Number"}, "username": {"visibility": - "visible", "label": "Loomis Express Username"}, "password": {"visibility": - "password", "label": "Loomis Express Password"}}, "test_credentials": {"account_number": - {"visibility": "visible", "label": "Test Loomis Express Account Number"}, - "username": {"visibility": "visible", "label": "Test Loomis Express Username"}, - "password": {"visibility": "password", "label": "Test Loomis Express Password"}}}}, - {"object": "CarrierType", "type": "LsoAccount", "readable": "LSO", "logo": - null, "fields": {"credentials": {"account_number": {"visibility": "visible", - "label": "LSO Production Account Number"}, "username": {"visibility": "visible", - "label": "LSO Production Username"}, "password": {"visibility": "password", - "label": "LSO Production Password"}}, "test_credentials": {"account_number": - {"visibility": "visible", "label": "LSO Test Account Number"}, "username": - {"visibility": "visible", "label": "LSO Test Username"}, "password": {"visibility": - "password", "label": "LSO Test Password"}}}}, {"object": "CarrierType", "type": - "NewgisticsAccount", "readable": "Newgistics", "logo": null, "fields": {"credentials": - {"client_id": {"visibility": "visible", "label": "Client ID"}, "client_secret": - {"visibility": "password", "label": "Client Secret"}, "client_facility_id": - {"visibility": "visible", "label": "Client Facility ID"}, "fulfiller_facility_id": - {"visibility": "visible", "label": "Newgistics Facility ID"}, "tracking_api_key": - {"visibility": "masked", "label": "Tracking API Key"}, "merchant_id": {"visibility": - "visible", "label": "Merchant ID"}}, "test_credentials": {"client_id": {"visibility": - "visible", "label": "Client ID"}, "client_secret": {"visibility": "password", - "label": "Client Secret"}, "client_facility_id": {"visibility": "visible", - "label": "Client Facility ID"}, "fulfiller_facility_id": {"visibility": "visible", - "label": "Newgistics Facility ID"}, "tracking_api_key": {"visibility": "masked", - "label": "Tracking API Key"}, "merchant_id": {"visibility": "visible", "label": - "Merchant ID"}}}}, {"object": "CarrierType", "type": "OmniParcelAccount", - "readable": "OmniParcel", "logo": null, "fields": {"credentials": {"api_access_key": - {"visibility": "masked", "label": "API Access Key"}, "return_api_access_key": - {"visibility": "masked", "label": "Return API Access Key"}}, "test_credentials": - {"api_access_key": {"visibility": "masked", "label": "Test API Access Key"}, - "return_api_access_key": {"visibility": "masked", "label": "Test Return API - Access Key"}}}}, {"object": "CarrierType", "type": "OntracAccount", "readable": - "OnTrac", "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "OnTrac Account Number"}, "password": {"visibility": "password", - "label": "OnTrac API Password"}}, "test_credentials": {"account_number": {"visibility": - "visible", "label": "OnTrac Test Account Number"}, "password": {"visibility": - "password", "label": "OnTrac Test API Password"}}}}, {"object": "CarrierType", - "type": "OptimaAccount", "readable": "Optima", "logo": null, "fields": {"credentials": - {"username": {"visibility": "visible", "label": "Optima username"}, "password": - {"visibility": "password", "label": "Optima password"}, "account_number": - {"visibility": "visible", "label": "Optima account number"}}, "test_credentials": - {"username": {"visibility": "visible", "label": "Test Optima username"}, "password": - {"visibility": "password", "label": "Test Optima password"}, "account_number": - {"visibility": "visible", "label": "Test Optima account number"}}}}, {"object": - "CarrierType", "type": "OsmWorldwideAccount", "readable": "OSM Worldwide", - "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "Account Number"}, "mailer_id": {"visibility": "visible", - "label": "Mailer ID"}, "facility_code": {"visibility": "visible", "label": - "Facility Code/Cost Center ID for manifesting (optional)"}, "company_name": - {"visibility": "visible", "label": "Company Name"}, "aws_sftp_username": {"visibility": - "visible", "label": "SFTP Username"}}}}, {"object": "CarrierType", "type": - "PandionAccount", "readable": "Pandion", "logo": null, "fields": {"credentials": - {"api_key": {"visibility": "masked", "label": "Prod Pandion API Key"}}, "test_credentials": - {"api_key": {"visibility": "masked", "label": "Test Pandion API Key"}}}}, - {"object": "CarrierType", "type": "ParcelForceAccount", "readable": "Parcel - Force", "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "Parcelforce Contract Number"}, "username": {"visibility": - "visible", "label": "expressLink API Username"}, "password": {"visibility": - "password", "label": "expressLink API Password"}, "department_id": {"visibility": - "visible", "label": "Department ID - not required"}}, "test_credentials": - {"account_number": {"visibility": "visible", "label": "Parcelforce Test Contract - Number"}, "username": {"visibility": "visible", "label": "Test expressLink - API Username"}, "password": {"visibility": "password", "label": "Test expressLink - API Password"}, "department_id": {"visibility": "visible", "label": "Test - Department ID - not required"}}}}, {"object": "CarrierType", "type": "ParcllAccount", - "readable": "Cirro E-Commerce", "logo": null, "fields": {"credentials": {"api_key": - {"visibility": "masked", "label": "Cirro E-Commerce API key"}, "user_id": - {"visibility": "visible", "label": "Cirro E-Commerce User Id"}, "origin_hub": - {"visibility": "select", "label": "Cirro E-Commerce Origin Hub"}}, "test_credentials": - {"api_key": {"visibility": "masked", "label": "Test Cirro E-Commerce API key"}, - "user_id": {"visibility": "visible", "label": "Test Cirro E-Commerce User - Id"}, "origin_hub": {"visibility": "select", "label": "Test Cirro E-Commerce - Origin Hub"}}}}, {"object": "CarrierType", "type": "PassportGlobalAccount", - "readable": "Passport Global", "logo": null, "fields": {"credentials": {"api_key": - {"visibility": "masked", "label": "Passport Global API key"}, "email": {"visibility": - "visible", "label": "Customer email address registered with Passport Global"}, - "name": {"visibility": "visible", "label": "Customer name registered with - Passport Global"}, "company_name": {"visibility": "visible", "label": "Customer - company name registered with Passport Global"}, "phone": {"visibility": "visible", - "label": "Customer phone number registered with Passport Global (optional)"}}, - "test_credentials": {"api_key": {"visibility": "masked", "label": "Passport - Global Test API key"}, "email": {"visibility": "visible", "label": "Customer - email address registered with Passport Global"}, "name": {"visibility": "visible", - "label": "Customer name registered with Passport Global"}, "company_name": - {"visibility": "visible", "label": "Customer company name registered with - Passport Global"}, "phone": {"visibility": "visible", "label": "Customer phone - number registered with Passport Global (optional)"}}}}, {"object": "CarrierType", - "type": "PurolatorAccount", "readable": "Purolator", "logo": null, "fields": - {"credentials": {"account_number": {"visibility": "visible", "label": "Purolator - Account Number"}, "api_key": {"visibility": "masked", "label": "Production - API Key"}, "password": {"visibility": "password", "label": "Production API - Key Password"}}}}, {"object": "CarrierType", "type": "RoyalMailAccount", "readable": - "Royal Mail", "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "Royal Mail Account Number"}, "username": {"visibility": - "visible", "label": "OBA Email Address"}, "posting_location_number": {"visibility": - "visible", "label": "Posting Location Number"}}}}, {"object": "CarrierType", - "type": "RRDonnelleyAccount", "readable": "ePost Global", "logo": null, "fields": - {"credentials": {"account_number": {"visibility": "visible", "label": "ePostGlobal - Account Number"}}}}, {"object": "CarrierType", "type": "SendleAccount", "readable": - "Sendle", "logo": null, "fields": {"credentials": {"api_key": {"visibility": - "masked", "label": "Sendle API Key"}, "user_id": {"visibility": "visible", - "label": "Sendle ID"}}, "test_credentials": {"api_key": {"visibility": "masked", - "label": "Sendle Sandbox API Key"}, "user_id": {"visibility": "visible", "label": - "Sendle Sandbox ID"}}}}, {"object": "CarrierType", "type": "SfExpressAccount", - "readable": "SF Express", "logo": null, "fields": {"credentials": {"checkword": - {"visibility": "visible", "label": "SF Express checkword"}, "customer_code": - {"visibility": "visible", "label": "SF Express customer code"}, "customer_id": - {"visibility": "visible", "label": "SF Express customer id"}}, "test_credentials": - {"checkword": {"visibility": "visible", "label": "Test SF Express checkword"}, - "customer_code": {"visibility": "visible", "label": "Test SF Express customer - code"}, "customer_id": {"visibility": "visible", "label": "Test SF Express - customer id"}}}}, {"object": "CarrierType", "type": "SmartKargoAccount", "readable": - "SmartKargo", "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "SmartKargo account number"}}, "test_credentials": {"account_number": - {"visibility": "visible", "label": "Test SmartKargo account number"}}}}, {"object": - "CarrierType", "type": "SonicAccount", "readable": "Sonic", "logo": null, - "fields": {"credentials": {"username": {"visibility": "visible", "label": - "Sonic username"}, "password": {"visibility": "password", "label": "Sonic - password"}, "account_number": {"visibility": "visible", "label": "Sonic account - number"}}, "test_credentials": {"username": {"visibility": "visible", "label": - "Test Sonic username"}, "password": {"visibility": "password", "label": "Test - Sonic password"}, "account_number": {"visibility": "visible", "label": "Test - Sonic account number"}}}}, {"object": "CarrierType", "type": "SpeedeeAccount", - "readable": "Spee-Dee", "logo": null, "fields": {"credentials": {"account_number": - {"visibility": "visible", "label": "Spee-Dee Account Number"}}}}, {"object": - "CarrierType", "type": "SwyftAccount", "readable": "Swyft", "logo": null, - "fields": {"credentials": {"password": {"visibility": "password", "label": - "Swyft API Key"}}, "test_credentials": {"password": {"visibility": "password", - "label": "Test Swyft API Key"}}}}, {"object": "CarrierType", "type": "TforceConciseAccount", - "readable": "TForce", "logo": null, "fields": {"credentials": {"username": - {"visibility": "visible", "label": "TForce Username"}, "password": {"visibility": - "password", "label": "TForce Password"}, "account_number": {"visibility": - "visible", "label": "TForce Account Number"}}, "test_credentials": {"username": - {"visibility": "visible", "label": "Test TForce Username"}, "password": {"visibility": - "password", "label": "Test TForce Password"}, "account_number": {"visibility": - "visible", "label": "Test TForce Account Number"}}}}, {"object": "CarrierType", - "type": "TollAccount", "readable": "Toll", "logo": null, "fields": {"credentials": - {"account_number": {"visibility": "visible", "label": "Toll Account Number"}, - "business_unit": {"visibility": "visible", "label": "Toll Business Unit (Ex. - IPEC)"}, "source_system_code": {"visibility": "visible", "label": "Toll Source - System Code"}}, "test_credentials": {"account_number": {"visibility": "visible", - "label": "Toll Test Account Number"}, "business_unit": {"visibility": "visible", - "label": "Toll Business Unit (Ex. IPEC)"}, "source_system_code": {"visibility": - "visible", "label": "Toll Test Source System Code"}}}}, {"object": "CarrierType", - "type": "UdsAccount", "readable": "UDS", "logo": null, "fields": {"credentials": - {"ftp_username": {"visibility": "visible", "label": "FTP Username"}, "ftp_password": - {"visibility": "password", "label": "FTP Password"}}}}, {"object": "CarrierType", - "type": "UpsAccount", "readable": "UPS", "logo": null, "fields": {"credentials": - {"access_license_number": {"visibility": "invisible", "label": "UPS Access - License Number"}, "account_number": {"visibility": "readonly", "label": "UPS - Account Number"}, "user_id": {"visibility": "invisible", "label": "UPS.com - User ID"}, "password": {"visibility": "invisible", "label": "UPS.com Password"}}, - "creation_fields": {"registration_data": {"account_number": {"label": "UPS - Account Number", "visibility": "visible"}, "client_ip": {"label": "Client - IP", "visibility": "invisible"}, "name": {"label": "Company Contact Name", - "visibility": "visible"}, "title": {"label": "Company Contact Job Title", - "visibility": "visible"}, "company": {"label": "Company Name", "visibility": - "visible"}, "phone": {"label": "Company Phone", "visibility": "visible"}, - "email": {"label": "Company Email", "visibility": "visible"}, "website": {"label": - "Company Website", "visibility": "visible"}, "street1": {"label": "Shipping - Street 1", "visibility": "visible"}, "street2": {"label": "Shipping Street - 2", "visibility": "visible"}, "city": {"label": "Shipping City", "visibility": - "visible"}, "state": {"label": "Shipping State", "visibility": "visible"}, - "postal_code": {"label": "Shipping Postal Code", "visibility": "visible"}, - "country": {"label": "Shipping Country", "visibility": "visible"}, "invoice_number": - {"label": "UPS Invoice Number", "visibility": "visible"}, "invoice_date": - {"label": "UPS Invoice Date", "visibility": "visible"}, "invoice_amount": - {"label": "UPS Invoice Amount", "visibility": "visible"}, "invoice_currency": - {"label": "UPS Invoice Currency", "visibility": "visible"}, "invoice_control_id": - {"label": "UPS Invoice Control ID", "visibility": "visible"}}}, "custom_workflow": - true}}, {"object": "CarrierType", "type": "UpsIparcelAccount", "readable": - "UPS i-Parcel", "logo": null, "fields": {"credentials": {"api_key": {"visibility": - "masked", "label": "i-Parcel API key"}}}}, {"object": "CarrierType", "type": - "UpsMailInnovationsAccount", "readable": "UPS Mail Innovations", "logo": null, - "fields": {"credentials": {"account_number": {"visibility": "visible", "label": - "UPS Shipper Number"}, "user_id": {"visibility": "visible", "label": "UPS.com - User ID"}, "password": {"visibility": "password", "label": "UPS.com Password"}, - "customer_id": {"visibility": "visible", "label": "UPS customer id (optional)"}, - "customer_guid": {"visibility": "visible", "label": "UPS customer GUID (optional)"}}}}, - {"object": "CarrierType", "type": "UspsAccount", "readable": "USPS", "logo": - null, "fields": {"credentials": {"company_name": {"visibility": "visible", - "label": "Account Holder Name"}, "address_street": {"visibility": "visible", - "label": "Street Address"}, "address_city": {"visibility": "visible", "label": - "City"}, "address_state": {"visibility": "visible", "label": "State"}, "address_zip": - {"visibility": "visible", "label": "ZIP Code"}, "phone": {"visibility": "visible", - "label": "Phone Number"}, "email": {"visibility": "visible", "label": "Email - Address"}, "shipper_id": {"visibility": "visible", "label": "Shipper Identifier - (Optional)"}}}}, {"object": "CarrierType", "type": "VehoAccount", "readable": - "Veho", "logo": null, "fields": {"credentials": {"api_key": {"visibility": - "masked", "label": "Veho Production API Key"}}, "test_credentials": {"api_key": - {"visibility": "masked", "label": "Veho Test API Key"}}}}, {"object": "CarrierType", - "type": "XDeliveryAccount", "readable": "Maergo", "logo": null, "fields": - {"credentials": {"username": {"visibility": "visible", "label": "Maergo Username"}, - "password": {"visibility": "password", "label": "Maergo Password"}}, "test_credentials": - {"username": {"visibility": "visible", "label": "Test Maergo Username"}, "password": - {"visibility": "password", "label": "Test Maergo Password"}}}}]' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '38432' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda765aaee45e78bb44900116619 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.030834' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/carrier_types - response: - body: - string: '[{"object": "CarrierType", "type": "AmazonMwsAccount", "readable": - "Amazon MWS", "logo": null, "fields": {"credentials": {"access_key_id": {"visibility": - "visible", "label": "AWS Access Key ID"}, "secret_key": {"visibility": "password", - "label": "Secret Key"}, "merchant_id": {"visibility": "visible", "label": - "Seller ID"}}}}, {"object": "CarrierType", "type": "ApcAccount", "readable": - "APC", "logo": null, "fields": {"credentials": {"shipper_id": {"visibility": - "visible", "label": "APC Shipper ID"}, "password": {"visibility": "password", - "label": "APC Password"}, "facility": {"visibility": "visible", "label": "APC - Facility (e.g., NJ, LA)"}}}}, {"object": "CarrierType", "type": "AsendiaUsaAccount", - "readable": "Asendia USA", "logo": null, "fields": {"credentials": {"account_number": - {"visibility": "visible", "label": "AsendiaUsa Account Number"}, "sub_account_number": - {"visibility": "visible", "label": "AsendiaUsa Sub Account Number"}, "username": - {"visibility": "visible", "label": "AsendiaUsa Username"}, "password": {"visibility": - "password", "label": "AsendiaUsa Password"}, "api_key": {"visibility": "masked", - "label": "AsendiaUsa API key"}, "carrier_facility": {"visibility": "select", - "label": "AsendiaUsa Carrier Facility / Processing Location (Optional)"}}, - "test_credentials": {"account_number": {"visibility": "visible", "label": - "Test AsendiaUsa Account Number"}, "sub_account_number": {"visibility": "visible", - "label": "Test AsendiaUsa Sub Account Number"}, "username": {"visibility": - "visible", "label": "Test AsendiaUsa Username"}, "password": {"visibility": - "password", "label": "Test AsendiaUsa Password"}, "api_key": {"visibility": - "masked", "label": "Test AsendiaUsa API key"}, "carrier_facility": {"visibility": - "select", "label": "Test AsendiaUsa Carrier Facility / Processing Location - (Optional)"}}}}, {"object": "CarrierType", "type": "AustraliaPostAccount", - "readable": "Australia Post", "logo": null, "fields": {"credentials": {"account_number": - {"visibility": "visible", "label": "Australia Post Account Number"}, "api_key": - {"visibility": "masked", "label": "Australia Post API Key"}, "api_secret": - {"visibility": "password", "label": "Australia Post Secret Key"}, "print_as_you_go": - {"visibility": "checkbox", "label": "Print as you go"}}, "test_credentials": - {"account_number": {"visibility": "visible", "label": "Australia Post Test - Account Number"}, "api_key": {"visibility": "masked", "label": "Australia - Post Test API Key"}, "api_secret": {"visibility": "password", "label": "Australia - Post Test Secret Key"}, "print_as_you_go": {"visibility": "checkbox", "label": - "Print as you go"}}}}, {"object": "CarrierType", "type": "AxlehireV3Account", - "readable": "AxlehireV3", "logo": null, "fields": {"credentials": {"api_key": - {"visibility": "masked", "label": "Client Secret"}}, "test_credentials": {"api_key": - {"visibility": "masked", "label": "Client Secret"}}}}, {"object": "CarrierType", - "type": "BetterTrucksAccount", "readable": "Better Trucks", "logo": null, - "fields": {"credentials": {"api_key": {"visibility": "masked", "label": "Better - Trucks API key"}}, "test_credentials": {"api_key": {"visibility": "masked", - "label": "Test Better Trucks API key"}}}}, {"object": "CarrierType", "type": - "CanadaPostAccount", "readable": "Canada Post", "logo": null, "fields": {"credentials": - {"api_key": {"visibility": "masked", "label": "CanadaPost API Key"}, "contract_id": - {"visibility": "visible", "label": "CanadaPost Contract ID (contract customers - only)"}, "customer_number": {"visibility": "visible", "label": "CanadaPost - Customer Number"}, "has_credit_card": {"visibility": "checkbox", "label": - "CanadaPost account has credit card?"}, "not_platform": {"visibility": "invisible", - "label": "CanadaPost account not registered through platform?"}}, "test_credentials": - {"api_key": {"visibility": "masked", "label": "CanadaPost Test API Key"}, - "contract_id": {"visibility": "visible", "label": "CanadaPost Test Contract - ID (contract customers only)"}, "customer_number": {"visibility": "visible", - "label": "CanadaPost Test Customer Number"}, "has_credit_card": {"visibility": - "checkbox", "label": "CanadaPost Test account has credit card?"}, "not_platform": - {"visibility": "invisible", "label": "CanadaPost Test account not registered - through platform?"}}, "custom_workflow": true}}, {"object": "CarrierType", - "type": "CanparAccount", "readable": "Canpar", "logo": null, "fields": {"credentials": - {"account_number": {"visibility": "visible", "label": "Canpar Account Number"}, - "username": {"visibility": "visible", "label": "Canpar Username"}, "password": - {"visibility": "password", "label": "Canpar Password"}}, "test_credentials": - {"account_number": {"visibility": "visible", "label": "Test Canpar Account - Number"}, "username": {"visibility": "visible", "label": "Test Canpar Username"}, - "password": {"visibility": "password", "label": "Test Canpar Password"}}}}, - {"object": "CarrierType", "type": "ColumbusLastMileAccount", "readable": "CDL - Last Mile Solutions", "logo": null, "fields": {"credentials": {"username": - {"visibility": "visible", "label": "CDL Last Mile Solutions customer username"}, - "password": {"visibility": "password", "label": "CDL Last Mile Solutions customer - password"}, "tracking_code_prefix": {"visibility": "visible", "label": "CDL - Last Mile Solutions tracking code prefix"}}, "test_credentials": {"username": - {"visibility": "visible", "label": "CDL Last Mile Solutions customer test - username"}, "password": {"visibility": "password", "label": "CDL Last Mile - Solutions customer test password"}, "tracking_code_prefix": {"visibility": - "visible", "label": "CDL Last Mile Solutions tracking code prefix"}}}}, {"object": - "CarrierType", "type": "CourierExpressAccount", "readable": "Courier Express", - "logo": null, "fields": {"credentials": {"api_key": {"visibility": "masked", - "label": "Courier Express API key"}, "shipper_id": {"visibility": "visible", - "label": "Courier Express shipper ID"}}, "test_credentials": {"api_key": {"visibility": - "masked", "label": "Test Courier Express API key"}, "shipper_id": {"visibility": - "visible", "label": "Test Courier Express shipper ID"}}}}, {"object": "CarrierType", - "type": "CouriersPleaseAccount", "readable": "CouriersPlease", "logo": null, - "fields": {"credentials": {"username": {"visibility": "visible", "label": - "Account Number"}, "password": {"visibility": "password", "label": "Password"}}, - "test_credentials": {"username": {"visibility": "visible", "label": "Account - Number"}, "password": {"visibility": "password", "label": "Password"}}}}, - {"object": "CarrierType", "type": "DaiPostAccount", "readable": "Dai Post", - "logo": null, "fields": {"credentials": {"username": {"visibility": "visible", - "label": " Dai Post customer username"}, "password": {"visibility": "password", - "label": " Dai Post client secret"}, "origin_terminal": {"visibility": "visible", - "label": " Dai Post default origin terminal"}, "account_code": {"visibility": - "visible", "label": " 3-letter account code for customers with multiple accounts"}}}}, - {"object": "CarrierType", "type": "DeliverItAccount", "readable": "Deliver-It", - "logo": null, "fields": {"credentials": {"username": {"visibility": "visible", - "label": "Deliver-It Username"}, "password": {"visibility": "password", "label": - "Deliver-It Password"}, "account_number": {"visibility": "visible", "label": - "Deliver-It Account Number"}}, "test_credentials": {"username": {"visibility": - "visible", "label": "Test Deliver-It Username"}, "password": {"visibility": - "password", "label": "Test Deliver-It Password"}, "account_number": {"visibility": - "visible", "label": "Test Deliver-It Account Number"}}}}, {"object": "CarrierType", - "type": "DeutschePostUKAccount", "readable": "Deutsche Post UK", "logo": null, - "fields": {"credentials": {"client_id": {"visibility": "visible", "label": - "Deutsche Post UK Client ID"}, "client_secret": {"visibility": "password", - "label": "Deutsche Post UK Secret"}, "account_number": {"visibility": "visible", - "label": "Deutsche Post UK Account Number"}}, "test_credentials": {"client_id": - {"visibility": "visible", "label": "Test Deutsche Post UK Client ID"}, "client_secret": - {"visibility": "password", "label": "Test Deutsche Post UK Secret"}, "account_number": - {"visibility": "visible", "label": "Test Deutsche Post UK Account Number"}}}}, - {"object": "CarrierType", "type": "DhlEcommerceAsiaAccount", "readable": "DHL - Ecommerce Asia", "logo": null, "fields": {"credentials": {"account_number": - {"visibility": "visible", "label": "DHL Ecommerce Asia Account Number"}, "client_id": - {"visibility": "visible", "label": "DHL Ecommerce Asia Contract Number"}, - "password": {"visibility": "password", "label": "DHL Ecommerce Asia Password"}, - "barcode_prefix": {"visibility": "visible", "label": "DHL Ecommerce Asia Customer - ID"}}, "test_credentials": {"account_number": {"visibility": "visible", "label": - "Test DHL Ecommerce Asia Account Number"}, "client_id": {"visibility": "visible", - "label": "Test DHL Ecommerce Asia Contract Number"}, "password": {"visibility": - "password", "label": "Test DHL Ecommerce Asia Password"}, "barcode_prefix": - {"visibility": "visible", "label": "Test DHL Ecommerce Asia Customer ID"}}}}, - {"object": "CarrierType", "type": "DhlEcsAccount", "readable": "DHL eCommerce - Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions client ID"}, "client_secret": - {"visibility": "password", "label": "DHL eCommerce Solutions client secret"}, - "pickup_id": {"visibility": "visible", "label": "DHL eCommerce Solutions pickup - ID"}, "distribution_center": {"visibility": "visible", "label": "DHL eCommerce - Solutions distribution center"}}, "test_credentials": {"client_id": {"visibility": - "visible", "label": "Test DHL eCommerce Solutions client ID"}, "client_secret": - {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret"}, - "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions - pickup ID"}, "distribution_center": {"visibility": "visible", "label": "Test - DHL eCommerce Solutions distribution center"}}}}, {"object": "CarrierType", - "type": "DhlExpressAccount", "readable": "DHL Express", "logo": null, "fields": - {"credentials": {"account_number": {"visibility": "visible", "label": "DHL - Account Number"}, "country": {"visibility": "visible", "label": "Account Country - Code (2 Letter)"}, "site_id": {"visibility": "visible", "label": "Site ID - (Optional)"}, "password": {"visibility": "password", "label": "Password (Optional)"}, - "is_reseller": {"visibility": "checkbox", "label": "Reseller Account? (check - if yes)"}}}}, {"object": "CarrierType", "type": "DhlPaketAccount", "readable": - "DHL Paket", "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "DHL Paket Account Number (EKP)"}, "contract_id": {"visibility": - "visible", "label": "DHL Paket Contract Participation Value"}, "cig_username": - {"visibility": "visible", "label": "DHL Paket CIG Username"}, "cig_password": - {"visibility": "password", "label": "DHL Paket CIG Password"}, "tnt_username": - {"visibility": "visible", "label": "DHL Paket TNT Username (if applicable)"}, - "tnt_password": {"visibility": "password", "label": "DHL Paket TNT Password - (if applicable)"}, "retoure_username": {"visibility": "visible", "label": - "DHL Paket Retoure Username (if applicable)"}, "retoure_password": {"visibility": - "password", "label": "DHL Paket Retoure Password (if applicable)"}}, "test_credentials": - {"account_number": {"visibility": "visible", "label": "Test DHL Paket Account - Number (EKP)"}, "contract_id": {"visibility": "visible", "label": "Test DHL - Paket Contract Participation Value"}, "cig_username": {"visibility": "visible", - "label": " Test DHL Paket CIG Username"}, "cig_password": {"visibility": "password", - "label": "Test DHL Paket CIG Password"}, "tnt_username": {"visibility": "visible", - "label": "Test DHL Paket TNT Username (if applicable)"}, "tnt_password": {"visibility": - "password", "label": "Test DHL Paket TNT Password (if applicable)"}, "retoure_username": - {"visibility": "visible", "label": "Test DHL Paket Retoure Username (if applicable)"}, - "retoure_password": {"visibility": "password", "label": "Test DHL Paket Retoure - Password (if applicable)"}}}}, {"object": "CarrierType", "type": "DhlParcelAccount", - "readable": "DHL Parcel", "logo": null, "fields": {"credentials": {"user_id": - {"visibility": "visible", "label": "DHL Parcel User ID"}, "api_key": {"visibility": - "masked", "label": "DHL Parcel API Key"}, "account_number": {"visibility": - "visible", "label": "DHL Parcel Account Number"}}, "test_credentials": {"user_id": - {"visibility": "visible", "label": "DHL Parcel User ID"}, "api_key": {"visibility": - "masked", "label": "DHL Parcel API Key"}, "account_number": {"visibility": - "visible", "label": "DHL Parcel Account Number"}}}}, {"object": "CarrierType", - "type": "DpdAccount", "readable": "DPD", "logo": null, "fields": {"credentials": - {"username": {"visibility": "visible", "label": "WebConnect Username"}, "password": - {"visibility": "password", "label": "WebConnect Password"}, "customer_number": - {"visibility": "visible", "label": "DPD Customer Number"}}, "test_credentials": - {"username": {"visibility": "visible", "label": "Test WebConnect Username"}, - "password": {"visibility": "password", "label": "Test WebConnect Password"}, - "customer_number": {"visibility": "visible", "label": "DPD Customer Number"}}}}, - {"object": "CarrierType", "type": "DpdUkAccount", "readable": "DPD UK", "logo": - null, "fields": {"credentials": {"account_number": {"visibility": "visible", - "label": "DPD UK Account Number"}, "username": {"visibility": "visible", "label": - "DPD UK Username"}, "password": {"visibility": "password", "label": "DPD UK - Password"}}}}, {"object": "CarrierType", "type": "DpdNlAccount", "readable": - "DPD NL", "logo": null, "fields": {"credentials": {"username": {"visibility": - "visible", "label": "Delis ID"}, "password": {"visibility": "password", "label": - "Password"}}, "test_credentials": {"username": {"visibility": "visible", "label": - "Test Delis ID"}, "password": {"visibility": "password", "label": "Test Password"}}}}, - {"object": "CarrierType", "type": "EstafetaAccount", "readable": "Estafeta", - "logo": null, "fields": {"credentials": {"customer_id": {"visibility": "visible", - "label": "Subscriber ID"}, "username": {"visibility": "visible", "label": - "Login"}, "password": {"visibility": "password", "label": "Password"}, "client_id": - {"visibility": "visible", "label": "Tracking Subscriber ID"}, "user_id": {"visibility": - "visible", "label": "Tracking Login"}, "secret_key": {"visibility": "password", - "label": "Tracking Password"}, "customer_number": {"visibility": "visible", - "label": "Customer Number"}, "hub_id": {"visibility": "visible", "label": - "Office Number"}}, "test_credentials": {"customer_id": {"visibility": "visible", - "label": "Test Subscriber ID"}, "username": {"visibility": "visible", "label": - "Test Login"}, "password": {"visibility": "password", "label": "Test Password"}, - "client_id": {"visibility": "visible", "label": "Test Tracking Subscriber - ID"}, "user_id": {"visibility": "visible", "label": "Test Tracking Login"}, - "secret_key": {"visibility": "password", "label": "Test Tracking Password"}, - "customer_number": {"visibility": "visible", "label": "Test Customer Number"}, - "hub_id": {"visibility": "visible", "label": "Test Office Number"}}}}, {"object": - "CarrierType", "type": "FastwayAccount", "readable": "Fastway", "logo": null, - "fields": {"credentials": {"api_key": {"visibility": "masked", "label": "API - Key"}}}}, {"object": "CarrierType", "type": "FedexAccount", "readable": "FedEx", - "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "readonly", "label": "FedEx Account Number"}, "meter_number": {"visibility": - "invisible", "label": "FedEx Production Meter Number"}, "key": {"visibility": - "invisible", "label": "FedEx Production Authentication Key"}, "password": - {"visibility": "invisible", "label": "FedEx Production Password"}}, "test_credentials": - {"account_number": {"visibility": "readonly", "label": "FedEx Account Number"}, - "meter_number": {"visibility": "invisible", "label": "FedEx Test Meter Number"}, - "key": {"visibility": "invisible", "label": "FedEx Developer Test Key"}, "password": - {"visibility": "invisible", "label": "FedEx Test Password"}}, "creation_fields": - {"credential_information": {"account_number": {"label": "FedEx Account #", - "visibility": "visible"}}, "company_information": {"corporate_first_name": - {"label": "Company Contact First Name", "visibility": "visible"}, "corporate_last_name": - {"label": "Company Contact Last Name", "visibility": "visible"}, "corporate_job_title": - {"label": "Company Contact Job Title", "visibility": "visible"}, "corporate_company_name": - {"label": "Company Name", "visibility": "visible"}, "corporate_phone_number": - {"label": "Company Phone", "visibility": "visible"}, "corporate_email_address": - {"label": "Company Email", "visibility": "visible"}, "corporate_streets": - {"label": "Company Street", "visibility": "visible"}, "corporate_city": {"label": - "Company City", "visibility": "visible"}, "corporate_state": {"label": "Company - State", "visibility": "visible"}, "corporate_postal_code": {"label": "Company - Postal Code", "visibility": "visible"}, "corporate_country_code": {"label": - "Company Country Code", "visibility": "visible"}}, "address_information": - {"shipping_streets": {"label": "Shipping Street", "visibility": "visible"}, - "shipping_city": {"label": "Shipping City", "visibility": "visible"}, "shipping_state": - {"label": "Shipping State", "visibility": "visible"}, "shipping_postal_code": - {"label": "Shipping Postal Code ", "visibility": "visible"}, "shipping_country_code": - {"label": "Shipping Country Code", "visibility": "visible"}}}, "custom_workflow": - true}}, {"object": "CarrierType", "type": "FedexCrossBorderAccount", "readable": - "FedEx Cross Border", "logo": null, "fields": {"credentials": {"api_key": - {"visibility": "masked", "label": "FedEx Cross Border API key"}, "origin_hub": - {"visibility": "select", "label": "FedEx Cross Border Origin Hub"}}, "test_credentials": - {"api_key": {"visibility": "masked", "label": "Test FedEx Cross Border API - key"}, "origin_hub": {"visibility": "select", "label": "Test FedEx Cross Border - Origin Hub"}}}}, {"object": "CarrierType", "type": "FedexMailviewAccount", - "readable": "FedEx MailView", "logo": null, "fields": {"credentials": {"customer_id": - {"visibility": "visible", "label": "Customer Code"}, "service_id": {"visibility": - "password", "label": "Service ID"}, "fimspremium": {"visibility": "checkbox", - "label": "FIMS Premium"}, "fimsstandard": {"visibility": "checkbox", "label": - "FIMS Standard"}, "mailviewpremium": {"visibility": "checkbox", "label": "MailView - Premium"}, "mailviewlight": {"visibility": "checkbox", "label": "MailView - Light"}}}}, {"object": "CarrierType", "type": "FedexSmartpostAccount", "readable": - "FedEx SmartPost", "logo": null, "fields": {"credentials": {"account_number": - {"visibility": "visible", "label": "FedEx SmartPost Account Number"}, "hub_id": - {"visibility": "visible", "label": "FedEx SmartPost HubID"}, "meter_number": - {"visibility": "visible", "label": "Fedex SmartPost Meter Number"}, "key": - {"visibility": "masked", "label": "FedEx SmartPost Access Key"}, "password": - {"visibility": "password", "label": "SmartPost Access Key Password"}}, "creation_fields": - {"credential_information": {"account_number": {"label": "FedEx SmartPost Account - #", "visibility": "visible"}, "hub_id": {"label": "FedEx SmartPost Hub ID", - "visibility": "visible"}}, "company_information": {"corporate_first_name": - {"label": "Company Contact First Name", "visibility": "visible"}, "corporate_last_name": - {"label": "Company Contact Last Name", "visibility": "visible"}, "corporate_job_title": - {"label": "Company Contact Job Title", "visibility": "visible"}, "corporate_company_name": - {"label": "Company Name", "visibility": "visible"}, "corporate_phone_number": - {"label": "Company Phone", "visibility": "visible"}, "corporate_email_address": - {"label": "Company Email", "visibility": "visible"}, "corporate_streets": - {"label": "Company Street", "visibility": "visible"}, "corporate_city": {"label": - "Company City", "visibility": "visible"}, "corporate_state": {"label": "Company - State", "visibility": "visible"}, "corporate_postal_code": {"label": "Company - Postal Code", "visibility": "visible"}, "corporate_country_code": {"label": - "Company Country Code", "visibility": "visible"}}, "address_information": - {"shipping_streets": {"label": "Shipping Street", "visibility": "visible"}, - "shipping_city": {"label": "Shipping City", "visibility": "visible"}, "shipping_state": - {"label": "Shipping State", "visibility": "visible"}, "shipping_postal_code": - {"label": "Shipping Postal Code ", "visibility": "visible"}, "shipping_country_code": - {"label": "Shipping Country Code", "visibility": "visible"}}}, "custom_workflow": - true}}, {"object": "CarrierType", "type": "FirstMileConciseAccount", "readable": - "First Mile", "logo": null, "fields": {"credentials": {"username": {"visibility": - "visible", "label": "FirstMile Username"}, "password": {"visibility": "password", - "label": "FirsMile Password"}, "account_number": {"visibility": "visible", - "label": "FirstMile Account Number"}}, "test_credentials": {"username": {"visibility": - "visible", "label": "Test FirstMile Username"}, "password": {"visibility": - "password", "label": "Test FirstMile Password"}, "account_number": {"visibility": - "visible", "label": "Test FirstMile Account Number"}}}}, {"object": "CarrierType", - "type": "FlexportAccount", "readable": "Flexport", "logo": null, "fields": - {"credentials": {"api_key": {"visibility": "masked", "label": "Flexport Account - API Key"}}}}, {"object": "CarrierType", "type": "GsoAccount", "readable": - "GSO", "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "GSO Account Number"}, "username": {"visibility": "visible", - "label": "Username"}, "password": {"visibility": "password", "label": "Password"}}}}, - {"object": "CarrierType", "type": "HailifyAccount", "readable": "Hailify", - "logo": null, "fields": {"credentials": {"partner_id": {"visibility": "visible", - "label": "Hailify Partner ID"}}, "test_credentials": {"partner_id": {"visibility": - "visible", "label": "Test Hailify Partner ID"}}}}, {"object": "CarrierType", - "type": "HermesAccount", "readable": "Evri", "logo": null, "fields": {"credentials": - {"username": {"visibility": "visible", "label": "Evri Username"}, "password": - {"visibility": "password", "label": "Evri Password"}, "client_id": {"visibility": - "visible", "label": "Evri Client ID"}, "auth_id": {"visibility": "visible", - "label": "Evri Auth ID"}, "auth_secret": {"visibility": "password", "label": - "Evri Auth Secret"}, "client_name": {"visibility": "visible", "label": "Evri - Client name"}, "group_id": {"visibility": "visible", "label": "Evri Group - ID"}, "client_licence": {"visibility": "masked", "label": "Evri Client License"}, - "api_key": {"visibility": "masked", "label": "Evri API Key"}}}}, {"object": - "CarrierType", "type": "InterlinkExpressAccount", "readable": "Interlink Express", - "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "Interlink Express Account Number"}, "username": {"visibility": - "visible", "label": "Interlink Express Username"}, "password": {"visibility": - "password", "label": "Interlink Express Password"}, "vat_number": {"visibility": - "visible", "label": "VAT Number"}}}}, {"object": "CarrierType", "type": "LasershipV2Account", - "readable": "LaserShipV2", "logo": null, "fields": {"credentials": {"api_key": - {"visibility": "masked", "label": "LaserShipV2 API Key"}, "api_id": {"visibility": - "visible", "label": "LaserShipV2 API ID"}, "facility": {"visibility": "visible", - "label": "LaserShipV2 Customer Branch"}, "cargo_claim_value": {"visibility": - "visible", "label": "LaserShipV2 Cargo Insurance Claim Value (USD)"}, "is_reseller": - {"visibility": "checkbox", "label": "3PL Account? (check if yes)"}, "injection_location_type": - {"visibility": "visible", "label": "Injection Address Location Type (\"Business\" - or \"Residence\")"}, "injection_contact": {"visibility": "visible", "label": - "Injection Address Contact"}, "injection_organization": {"visibility": "visible", - "label": "Injection Address Organization"}, "injection_street1": {"visibility": - "visible", "label": "Injection Address Street1"}, "injection_street2": {"visibility": - "visible", "label": "Injection Address Street2"}, "injection_city": {"visibility": - "visible", "label": "Injection Address City"}, "injection_state": {"visibility": - "visible", "label": "Injection Address State"}, "injection_zip": {"visibility": - "visible", "label": "Injection Address Postal Code"}, "injection_country": - {"visibility": "visible", "label": "Injection Address Country Code"}, "injection_phone": - {"visibility": "visible", "label": "Injection Address Phone"}, "injection_phone_ext": - {"visibility": "visible", "label": "Injection Address Phone Extension"}, "injection_email": - {"visibility": "visible", "label": "Injection Address Email"}, "injection_instruction": - {"visibility": "visible", "label": "Injection Address Instruction"}, "injection_note": - {"visibility": "visible", "label": "Injection Address Note"}}}}, {"object": - "CarrierType", "type": "LoomisExpressAccount", "readable": "Loomis Express", - "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "Loomis Express Account Number"}, "username": {"visibility": - "visible", "label": "Loomis Express Username"}, "password": {"visibility": - "password", "label": "Loomis Express Password"}}, "test_credentials": {"account_number": - {"visibility": "visible", "label": "Test Loomis Express Account Number"}, - "username": {"visibility": "visible", "label": "Test Loomis Express Username"}, - "password": {"visibility": "password", "label": "Test Loomis Express Password"}}}}, - {"object": "CarrierType", "type": "LsoAccount", "readable": "LSO", "logo": - null, "fields": {"credentials": {"account_number": {"visibility": "visible", - "label": "LSO Production Account Number"}, "username": {"visibility": "visible", - "label": "LSO Production Username"}, "password": {"visibility": "password", - "label": "LSO Production Password"}}, "test_credentials": {"account_number": - {"visibility": "visible", "label": "LSO Test Account Number"}, "username": - {"visibility": "visible", "label": "LSO Test Username"}, "password": {"visibility": - "password", "label": "LSO Test Password"}}}}, {"object": "CarrierType", "type": - "NewgisticsAccount", "readable": "Newgistics", "logo": null, "fields": {"credentials": - {"client_id": {"visibility": "visible", "label": "Client ID"}, "client_secret": - {"visibility": "password", "label": "Client Secret"}, "client_facility_id": - {"visibility": "visible", "label": "Client Facility ID"}, "fulfiller_facility_id": - {"visibility": "visible", "label": "Newgistics Facility ID"}, "tracking_api_key": - {"visibility": "masked", "label": "Tracking API Key"}, "merchant_id": {"visibility": - "visible", "label": "Merchant ID"}}, "test_credentials": {"client_id": {"visibility": - "visible", "label": "Client ID"}, "client_secret": {"visibility": "password", - "label": "Client Secret"}, "client_facility_id": {"visibility": "visible", - "label": "Client Facility ID"}, "fulfiller_facility_id": {"visibility": "visible", - "label": "Newgistics Facility ID"}, "tracking_api_key": {"visibility": "masked", - "label": "Tracking API Key"}, "merchant_id": {"visibility": "visible", "label": - "Merchant ID"}}}}, {"object": "CarrierType", "type": "OmniParcelAccount", - "readable": "OmniParcel", "logo": null, "fields": {"credentials": {"api_access_key": - {"visibility": "masked", "label": "API Access Key"}, "return_api_access_key": - {"visibility": "masked", "label": "Return API Access Key"}}, "test_credentials": - {"api_access_key": {"visibility": "masked", "label": "Test API Access Key"}, - "return_api_access_key": {"visibility": "masked", "label": "Test Return API - Access Key"}}}}, {"object": "CarrierType", "type": "OntracAccount", "readable": - "OnTrac", "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "OnTrac Account Number"}, "password": {"visibility": "password", - "label": "OnTrac API Password"}}, "test_credentials": {"account_number": {"visibility": - "visible", "label": "OnTrac Test Account Number"}, "password": {"visibility": - "password", "label": "OnTrac Test API Password"}}}}, {"object": "CarrierType", - "type": "OptimaAccount", "readable": "Optima", "logo": null, "fields": {"credentials": - {"username": {"visibility": "visible", "label": "Optima username"}, "password": - {"visibility": "password", "label": "Optima password"}, "account_number": - {"visibility": "visible", "label": "Optima account number"}}, "test_credentials": - {"username": {"visibility": "visible", "label": "Test Optima username"}, "password": - {"visibility": "password", "label": "Test Optima password"}, "account_number": - {"visibility": "visible", "label": "Test Optima account number"}}}}, {"object": - "CarrierType", "type": "OsmWorldwideAccount", "readable": "OSM Worldwide", - "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "Account Number"}, "mailer_id": {"visibility": "visible", - "label": "Mailer ID"}, "facility_code": {"visibility": "visible", "label": - "Facility Code/Cost Center ID for manifesting (optional)"}, "company_name": - {"visibility": "visible", "label": "Company Name"}, "aws_sftp_username": {"visibility": - "visible", "label": "SFTP Username"}}}}, {"object": "CarrierType", "type": - "PandionAccount", "readable": "Pandion", "logo": null, "fields": {"credentials": - {"api_key": {"visibility": "masked", "label": "Prod Pandion API Key"}}, "test_credentials": - {"api_key": {"visibility": "masked", "label": "Test Pandion API Key"}}}}, - {"object": "CarrierType", "type": "ParcelForceAccount", "readable": "Parcel - Force", "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "Parcelforce Contract Number"}, "username": {"visibility": - "visible", "label": "expressLink API Username"}, "password": {"visibility": - "password", "label": "expressLink API Password"}, "department_id": {"visibility": - "visible", "label": "Department ID - not required"}}, "test_credentials": - {"account_number": {"visibility": "visible", "label": "Parcelforce Test Contract - Number"}, "username": {"visibility": "visible", "label": "Test expressLink - API Username"}, "password": {"visibility": "password", "label": "Test expressLink - API Password"}, "department_id": {"visibility": "visible", "label": "Test - Department ID - not required"}}}}, {"object": "CarrierType", "type": "ParcllAccount", - "readable": "Cirro E-Commerce", "logo": null, "fields": {"credentials": {"api_key": - {"visibility": "masked", "label": "Cirro E-Commerce API key"}, "user_id": - {"visibility": "visible", "label": "Cirro E-Commerce User Id"}, "origin_hub": - {"visibility": "select", "label": "Cirro E-Commerce Origin Hub"}}, "test_credentials": - {"api_key": {"visibility": "masked", "label": "Test Cirro E-Commerce API key"}, - "user_id": {"visibility": "visible", "label": "Test Cirro E-Commerce User - Id"}, "origin_hub": {"visibility": "select", "label": "Test Cirro E-Commerce - Origin Hub"}}}}, {"object": "CarrierType", "type": "PassportGlobalAccount", - "readable": "Passport Global", "logo": null, "fields": {"credentials": {"api_key": - {"visibility": "masked", "label": "Passport Global API key"}, "email": {"visibility": - "visible", "label": "Customer email address registered with Passport Global"}, - "name": {"visibility": "visible", "label": "Customer name registered with - Passport Global"}, "company_name": {"visibility": "visible", "label": "Customer - company name registered with Passport Global"}, "phone": {"visibility": "visible", - "label": "Customer phone number registered with Passport Global (optional)"}}, - "test_credentials": {"api_key": {"visibility": "masked", "label": "Passport - Global Test API key"}, "email": {"visibility": "visible", "label": "Customer - email address registered with Passport Global"}, "name": {"visibility": "visible", - "label": "Customer name registered with Passport Global"}, "company_name": - {"visibility": "visible", "label": "Customer company name registered with - Passport Global"}, "phone": {"visibility": "visible", "label": "Customer phone - number registered with Passport Global (optional)"}}}}, {"object": "CarrierType", - "type": "PurolatorAccount", "readable": "Purolator", "logo": null, "fields": - {"credentials": {"account_number": {"visibility": "visible", "label": "Purolator - Account Number"}, "api_key": {"visibility": "masked", "label": "Production - API Key"}, "password": {"visibility": "password", "label": "Production API - Key Password"}}}}, {"object": "CarrierType", "type": "RoyalMailAccount", "readable": - "Royal Mail", "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "Royal Mail Account Number"}, "username": {"visibility": - "visible", "label": "OBA Email Address"}, "posting_location_number": {"visibility": - "visible", "label": "Posting Location Number"}}}}, {"object": "CarrierType", - "type": "RRDonnelleyAccount", "readable": "ePost Global", "logo": null, "fields": - {"credentials": {"account_number": {"visibility": "visible", "label": "ePostGlobal - Account Number"}}}}, {"object": "CarrierType", "type": "SendleAccount", "readable": - "Sendle", "logo": null, "fields": {"credentials": {"api_key": {"visibility": - "masked", "label": "Sendle API Key"}, "user_id": {"visibility": "visible", - "label": "Sendle ID"}}, "test_credentials": {"api_key": {"visibility": "masked", - "label": "Sendle Sandbox API Key"}, "user_id": {"visibility": "visible", "label": - "Sendle Sandbox ID"}}}}, {"object": "CarrierType", "type": "SfExpressAccount", - "readable": "SF Express", "logo": null, "fields": {"credentials": {"checkword": - {"visibility": "visible", "label": "SF Express checkword"}, "customer_code": - {"visibility": "visible", "label": "SF Express customer code"}, "customer_id": - {"visibility": "visible", "label": "SF Express customer id"}}, "test_credentials": - {"checkword": {"visibility": "visible", "label": "Test SF Express checkword"}, - "customer_code": {"visibility": "visible", "label": "Test SF Express customer - code"}, "customer_id": {"visibility": "visible", "label": "Test SF Express - customer id"}}}}, {"object": "CarrierType", "type": "SmartKargoAccount", "readable": - "SmartKargo", "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "SmartKargo account number"}}, "test_credentials": {"account_number": - {"visibility": "visible", "label": "Test SmartKargo account number"}}}}, {"object": - "CarrierType", "type": "SonicAccount", "readable": "Sonic", "logo": null, - "fields": {"credentials": {"username": {"visibility": "visible", "label": - "Sonic username"}, "password": {"visibility": "password", "label": "Sonic - password"}, "account_number": {"visibility": "visible", "label": "Sonic account - number"}}, "test_credentials": {"username": {"visibility": "visible", "label": - "Test Sonic username"}, "password": {"visibility": "password", "label": "Test - Sonic password"}, "account_number": {"visibility": "visible", "label": "Test - Sonic account number"}}}}, {"object": "CarrierType", "type": "SpeedeeAccount", - "readable": "Spee-Dee", "logo": null, "fields": {"credentials": {"account_number": - {"visibility": "visible", "label": "Spee-Dee Account Number"}}}}, {"object": - "CarrierType", "type": "SwyftAccount", "readable": "Swyft", "logo": null, - "fields": {"credentials": {"password": {"visibility": "password", "label": - "Swyft API Key"}}, "test_credentials": {"password": {"visibility": "password", - "label": "Test Swyft API Key"}}}}, {"object": "CarrierType", "type": "TforceConciseAccount", - "readable": "TForce", "logo": null, "fields": {"credentials": {"username": - {"visibility": "visible", "label": "TForce Username"}, "password": {"visibility": - "password", "label": "TForce Password"}, "account_number": {"visibility": - "visible", "label": "TForce Account Number"}}, "test_credentials": {"username": - {"visibility": "visible", "label": "Test TForce Username"}, "password": {"visibility": - "password", "label": "Test TForce Password"}, "account_number": {"visibility": - "visible", "label": "Test TForce Account Number"}}}}, {"object": "CarrierType", - "type": "TollAccount", "readable": "Toll", "logo": null, "fields": {"credentials": - {"account_number": {"visibility": "visible", "label": "Toll Account Number"}, - "business_unit": {"visibility": "visible", "label": "Toll Business Unit (Ex. - IPEC)"}, "source_system_code": {"visibility": "visible", "label": "Toll Source - System Code"}}, "test_credentials": {"account_number": {"visibility": "visible", - "label": "Toll Test Account Number"}, "business_unit": {"visibility": "visible", - "label": "Toll Business Unit (Ex. IPEC)"}, "source_system_code": {"visibility": - "visible", "label": "Toll Test Source System Code"}}}}, {"object": "CarrierType", - "type": "UdsAccount", "readable": "UDS", "logo": null, "fields": {"credentials": - {"ftp_username": {"visibility": "visible", "label": "FTP Username"}, "ftp_password": - {"visibility": "password", "label": "FTP Password"}}}}, {"object": "CarrierType", - "type": "UpsAccount", "readable": "UPS", "logo": null, "fields": {"credentials": - {"access_license_number": {"visibility": "invisible", "label": "UPS Access - License Number"}, "account_number": {"visibility": "readonly", "label": "UPS - Account Number"}, "user_id": {"visibility": "invisible", "label": "UPS.com - User ID"}, "password": {"visibility": "invisible", "label": "UPS.com Password"}}, - "creation_fields": {"registration_data": {"account_number": {"label": "UPS - Account Number", "visibility": "visible"}, "client_ip": {"label": "Client - IP", "visibility": "invisible"}, "name": {"label": "Company Contact Name", - "visibility": "visible"}, "title": {"label": "Company Contact Job Title", - "visibility": "visible"}, "company": {"label": "Company Name", "visibility": - "visible"}, "phone": {"label": "Company Phone", "visibility": "visible"}, - "email": {"label": "Company Email", "visibility": "visible"}, "website": {"label": - "Company Website", "visibility": "visible"}, "street1": {"label": "Shipping - Street 1", "visibility": "visible"}, "street2": {"label": "Shipping Street - 2", "visibility": "visible"}, "city": {"label": "Shipping City", "visibility": - "visible"}, "state": {"label": "Shipping State", "visibility": "visible"}, - "postal_code": {"label": "Shipping Postal Code", "visibility": "visible"}, - "country": {"label": "Shipping Country", "visibility": "visible"}, "invoice_number": - {"label": "UPS Invoice Number", "visibility": "visible"}, "invoice_date": - {"label": "UPS Invoice Date", "visibility": "visible"}, "invoice_amount": - {"label": "UPS Invoice Amount", "visibility": "visible"}, "invoice_currency": - {"label": "UPS Invoice Currency", "visibility": "visible"}, "invoice_control_id": - {"label": "UPS Invoice Control ID", "visibility": "visible"}}}, "custom_workflow": - true}}, {"object": "CarrierType", "type": "UpsIparcelAccount", "readable": - "UPS i-Parcel", "logo": null, "fields": {"credentials": {"api_key": {"visibility": - "masked", "label": "i-Parcel API key"}}}}, {"object": "CarrierType", "type": - "UpsMailInnovationsAccount", "readable": "UPS Mail Innovations", "logo": null, - "fields": {"credentials": {"account_number": {"visibility": "visible", "label": - "UPS Shipper Number"}, "user_id": {"visibility": "visible", "label": "UPS.com - User ID"}, "password": {"visibility": "password", "label": "UPS.com Password"}, - "customer_id": {"visibility": "visible", "label": "UPS customer id (optional)"}, - "customer_guid": {"visibility": "visible", "label": "UPS customer GUID (optional)"}}}}, - {"object": "CarrierType", "type": "UspsAccount", "readable": "USPS", "logo": - null, "fields": {"credentials": {"company_name": {"visibility": "visible", - "label": "Account Holder Name"}, "address_street": {"visibility": "visible", - "label": "Street Address"}, "address_city": {"visibility": "visible", "label": - "City"}, "address_state": {"visibility": "visible", "label": "State"}, "address_zip": - {"visibility": "visible", "label": "ZIP Code"}, "phone": {"visibility": "visible", - "label": "Phone Number"}, "email": {"visibility": "visible", "label": "Email - Address"}, "shipper_id": {"visibility": "visible", "label": "Shipper Identifier - (Optional)"}}}}, {"object": "CarrierType", "type": "VehoAccount", "readable": - "Veho", "logo": null, "fields": {"credentials": {"api_key": {"visibility": - "masked", "label": "Veho Production API Key"}}, "test_credentials": {"api_key": - {"visibility": "masked", "label": "Veho Test API Key"}}}}, {"object": "CarrierType", - "type": "XDeliveryAccount", "readable": "Maergo", "logo": null, "fields": - {"credentials": {"username": {"visibility": "visible", "label": "Maergo Username"}, - "password": {"visibility": "password", "label": "Maergo Password"}}, "test_credentials": - {"username": {"visibility": "visible", "label": "Test Maergo Username"}, "password": - {"visibility": "password", "label": "Test Maergo Password"}}}}]' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '38432' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaf076e798bbdc000f6b57 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.031481' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/carrier_types - response: - body: - string: '[{"object": "CarrierType", "type": "AmazonMwsAccount", "readable": - "Amazon MWS", "logo": null, "fields": {"credentials": {"access_key_id": {"visibility": - "visible", "label": "AWS Access Key ID"}, "secret_key": {"visibility": "password", - "label": "Secret Key"}, "merchant_id": {"visibility": "visible", "label": - "Seller ID"}}}}, {"object": "CarrierType", "type": "ApcAccount", "readable": - "APC", "logo": null, "fields": {"credentials": {"shipper_id": {"visibility": - "visible", "label": "APC Shipper ID"}, "password": {"visibility": "password", - "label": "APC Password"}, "facility": {"visibility": "visible", "label": "APC - Facility (e.g., NJ, LA)"}}}}, {"object": "CarrierType", "type": "AsendiaUsaAccount", - "readable": "Asendia USA", "logo": null, "fields": {"credentials": {"account_number": - {"visibility": "visible", "label": "AsendiaUsa Account Number"}, "sub_account_number": - {"visibility": "visible", "label": "AsendiaUsa Sub Account Number"}, "username": - {"visibility": "visible", "label": "AsendiaUsa Username"}, "password": {"visibility": - "password", "label": "AsendiaUsa Password"}, "api_key": {"visibility": "masked", - "label": "AsendiaUsa API key"}, "carrier_facility": {"visibility": "select", - "label": "AsendiaUsa Carrier Facility / Processing Location (Optional)"}}, - "test_credentials": {"account_number": {"visibility": "visible", "label": - "Test AsendiaUsa Account Number"}, "sub_account_number": {"visibility": "visible", - "label": "Test AsendiaUsa Sub Account Number"}, "username": {"visibility": - "visible", "label": "Test AsendiaUsa Username"}, "password": {"visibility": - "password", "label": "Test AsendiaUsa Password"}, "api_key": {"visibility": - "masked", "label": "Test AsendiaUsa API key"}, "carrier_facility": {"visibility": - "select", "label": "Test AsendiaUsa Carrier Facility / Processing Location - (Optional)"}}}}, {"object": "CarrierType", "type": "AustraliaPostAccount", - "readable": "Australia Post", "logo": null, "fields": {"credentials": {"account_number": - {"visibility": "visible", "label": "Australia Post Account Number"}, "api_key": - {"visibility": "masked", "label": "Australia Post API Key"}, "api_secret": - {"visibility": "password", "label": "Australia Post Secret Key"}, "print_as_you_go": - {"visibility": "checkbox", "label": "Print as you go"}}, "test_credentials": - {"account_number": {"visibility": "visible", "label": "Australia Post Test - Account Number"}, "api_key": {"visibility": "masked", "label": "Australia - Post Test API Key"}, "api_secret": {"visibility": "password", "label": "Australia - Post Test Secret Key"}, "print_as_you_go": {"visibility": "checkbox", "label": - "Print as you go"}}}}, {"object": "CarrierType", "type": "AxlehireV3Account", - "readable": "AxlehireV3", "logo": null, "fields": {"credentials": {"api_key": - {"visibility": "masked", "label": "Client Secret"}}, "test_credentials": {"api_key": - {"visibility": "masked", "label": "Client Secret"}}}}, {"object": "CarrierType", - "type": "BetterTrucksAccount", "readable": "Better Trucks", "logo": null, - "fields": {"credentials": {"api_key": {"visibility": "masked", "label": "Better - Trucks API key"}}, "test_credentials": {"api_key": {"visibility": "masked", - "label": "Test Better Trucks API key"}}}}, {"object": "CarrierType", "type": - "CanadaPostAccount", "readable": "Canada Post", "logo": null, "fields": {"credentials": - {"api_key": {"visibility": "masked", "label": "CanadaPost API Key"}, "contract_id": - {"visibility": "visible", "label": "CanadaPost Contract ID (contract customers - only)"}, "customer_number": {"visibility": "visible", "label": "CanadaPost - Customer Number"}, "has_credit_card": {"visibility": "checkbox", "label": - "CanadaPost account has credit card?"}, "not_platform": {"visibility": "invisible", - "label": "CanadaPost account not registered through platform?"}}, "test_credentials": - {"api_key": {"visibility": "masked", "label": "CanadaPost Test API Key"}, - "contract_id": {"visibility": "visible", "label": "CanadaPost Test Contract - ID (contract customers only)"}, "customer_number": {"visibility": "visible", - "label": "CanadaPost Test Customer Number"}, "has_credit_card": {"visibility": - "checkbox", "label": "CanadaPost Test account has credit card?"}, "not_platform": - {"visibility": "invisible", "label": "CanadaPost Test account not registered - through platform?"}}, "custom_workflow": true}}, {"object": "CarrierType", - "type": "CanparAccount", "readable": "Canpar", "logo": null, "fields": {"credentials": - {"account_number": {"visibility": "visible", "label": "Canpar Account Number"}, - "username": {"visibility": "visible", "label": "Canpar Username"}, "password": - {"visibility": "password", "label": "Canpar Password"}}, "test_credentials": - {"account_number": {"visibility": "visible", "label": "Test Canpar Account - Number"}, "username": {"visibility": "visible", "label": "Test Canpar Username"}, - "password": {"visibility": "password", "label": "Test Canpar Password"}}}}, - {"object": "CarrierType", "type": "ColumbusLastMileAccount", "readable": "CDL - Last Mile Solutions", "logo": null, "fields": {"credentials": {"username": - {"visibility": "visible", "label": "CDL Last Mile Solutions customer username"}, - "password": {"visibility": "password", "label": "CDL Last Mile Solutions customer - password"}, "tracking_code_prefix": {"visibility": "visible", "label": "CDL - Last Mile Solutions tracking code prefix"}}, "test_credentials": {"username": - {"visibility": "visible", "label": "CDL Last Mile Solutions customer test - username"}, "password": {"visibility": "password", "label": "CDL Last Mile - Solutions customer test password"}, "tracking_code_prefix": {"visibility": - "visible", "label": "CDL Last Mile Solutions tracking code prefix"}}}}, {"object": - "CarrierType", "type": "CourierExpressAccount", "readable": "Courier Express", - "logo": null, "fields": {"credentials": {"api_key": {"visibility": "masked", - "label": "Courier Express API key"}, "shipper_id": {"visibility": "visible", - "label": "Courier Express shipper ID"}}, "test_credentials": {"api_key": {"visibility": - "masked", "label": "Test Courier Express API key"}, "shipper_id": {"visibility": - "visible", "label": "Test Courier Express shipper ID"}}}}, {"object": "CarrierType", - "type": "CouriersPleaseAccount", "readable": "CouriersPlease", "logo": null, - "fields": {"credentials": {"username": {"visibility": "visible", "label": - "Account Number"}, "password": {"visibility": "password", "label": "Password"}}, - "test_credentials": {"username": {"visibility": "visible", "label": "Account - Number"}, "password": {"visibility": "password", "label": "Password"}}}}, - {"object": "CarrierType", "type": "DaiPostAccount", "readable": "Dai Post", - "logo": null, "fields": {"credentials": {"username": {"visibility": "visible", - "label": " Dai Post customer username"}, "password": {"visibility": "password", - "label": " Dai Post client secret"}, "origin_terminal": {"visibility": "visible", - "label": " Dai Post default origin terminal"}, "account_code": {"visibility": - "visible", "label": " 3-letter account code for customers with multiple accounts"}}}}, - {"object": "CarrierType", "type": "DeliverItAccount", "readable": "Deliver-It", - "logo": null, "fields": {"credentials": {"username": {"visibility": "visible", - "label": "Deliver-It Username"}, "password": {"visibility": "password", "label": - "Deliver-It Password"}, "account_number": {"visibility": "visible", "label": - "Deliver-It Account Number"}}, "test_credentials": {"username": {"visibility": - "visible", "label": "Test Deliver-It Username"}, "password": {"visibility": - "password", "label": "Test Deliver-It Password"}, "account_number": {"visibility": - "visible", "label": "Test Deliver-It Account Number"}}}}, {"object": "CarrierType", - "type": "DeutschePostUKAccount", "readable": "Deutsche Post UK", "logo": null, - "fields": {"credentials": {"client_id": {"visibility": "visible", "label": - "Deutsche Post UK Client ID"}, "client_secret": {"visibility": "password", - "label": "Deutsche Post UK Secret"}, "account_number": {"visibility": "visible", - "label": "Deutsche Post UK Account Number"}}, "test_credentials": {"client_id": - {"visibility": "visible", "label": "Test Deutsche Post UK Client ID"}, "client_secret": - {"visibility": "password", "label": "Test Deutsche Post UK Secret"}, "account_number": - {"visibility": "visible", "label": "Test Deutsche Post UK Account Number"}}}}, - {"object": "CarrierType", "type": "DhlEcommerceAsiaAccount", "readable": "DHL - Ecommerce Asia", "logo": null, "fields": {"credentials": {"account_number": - {"visibility": "visible", "label": "DHL Ecommerce Asia Account Number"}, "client_id": - {"visibility": "visible", "label": "DHL Ecommerce Asia Contract Number"}, - "password": {"visibility": "password", "label": "DHL Ecommerce Asia Password"}, - "barcode_prefix": {"visibility": "visible", "label": "DHL Ecommerce Asia Customer - ID"}}, "test_credentials": {"account_number": {"visibility": "visible", "label": - "Test DHL Ecommerce Asia Account Number"}, "client_id": {"visibility": "visible", - "label": "Test DHL Ecommerce Asia Contract Number"}, "password": {"visibility": - "password", "label": "Test DHL Ecommerce Asia Password"}, "barcode_prefix": - {"visibility": "visible", "label": "Test DHL Ecommerce Asia Customer ID"}}}}, - {"object": "CarrierType", "type": "DhlEcsAccount", "readable": "DHL eCommerce - Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions client ID"}, "client_secret": - {"visibility": "password", "label": "DHL eCommerce Solutions client secret"}, - "pickup_id": {"visibility": "visible", "label": "DHL eCommerce Solutions pickup - ID"}, "distribution_center": {"visibility": "visible", "label": "DHL eCommerce - Solutions distribution center"}}, "test_credentials": {"client_id": {"visibility": - "visible", "label": "Test DHL eCommerce Solutions client ID"}, "client_secret": - {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret"}, - "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions - pickup ID"}, "distribution_center": {"visibility": "visible", "label": "Test - DHL eCommerce Solutions distribution center"}}}}, {"object": "CarrierType", - "type": "DhlExpressAccount", "readable": "DHL Express", "logo": null, "fields": - {"credentials": {"account_number": {"visibility": "visible", "label": "DHL - Account Number"}, "country": {"visibility": "visible", "label": "Account Country - Code (2 Letter)"}, "site_id": {"visibility": "visible", "label": "Site ID - (Optional)"}, "password": {"visibility": "password", "label": "Password (Optional)"}, - "is_reseller": {"visibility": "checkbox", "label": "Reseller Account? (check - if yes)"}}}}, {"object": "CarrierType", "type": "DhlPaketAccount", "readable": - "DHL Paket", "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "DHL Paket Account Number (EKP)"}, "contract_id": {"visibility": - "visible", "label": "DHL Paket Contract Participation Value"}, "cig_username": - {"visibility": "visible", "label": "DHL Paket CIG Username"}, "cig_password": - {"visibility": "password", "label": "DHL Paket CIG Password"}, "tnt_username": - {"visibility": "visible", "label": "DHL Paket TNT Username (if applicable)"}, - "tnt_password": {"visibility": "password", "label": "DHL Paket TNT Password - (if applicable)"}, "retoure_username": {"visibility": "visible", "label": - "DHL Paket Retoure Username (if applicable)"}, "retoure_password": {"visibility": - "password", "label": "DHL Paket Retoure Password (if applicable)"}}, "test_credentials": - {"account_number": {"visibility": "visible", "label": "Test DHL Paket Account - Number (EKP)"}, "contract_id": {"visibility": "visible", "label": "Test DHL - Paket Contract Participation Value"}, "cig_username": {"visibility": "visible", - "label": " Test DHL Paket CIG Username"}, "cig_password": {"visibility": "password", - "label": "Test DHL Paket CIG Password"}, "tnt_username": {"visibility": "visible", - "label": "Test DHL Paket TNT Username (if applicable)"}, "tnt_password": {"visibility": - "password", "label": "Test DHL Paket TNT Password (if applicable)"}, "retoure_username": - {"visibility": "visible", "label": "Test DHL Paket Retoure Username (if applicable)"}, - "retoure_password": {"visibility": "password", "label": "Test DHL Paket Retoure - Password (if applicable)"}}}}, {"object": "CarrierType", "type": "DhlParcelAccount", - "readable": "DHL Parcel", "logo": null, "fields": {"credentials": {"user_id": - {"visibility": "visible", "label": "DHL Parcel User ID"}, "api_key": {"visibility": - "masked", "label": "DHL Parcel API Key"}, "account_number": {"visibility": - "visible", "label": "DHL Parcel Account Number"}}, "test_credentials": {"user_id": - {"visibility": "visible", "label": "DHL Parcel User ID"}, "api_key": {"visibility": - "masked", "label": "DHL Parcel API Key"}, "account_number": {"visibility": - "visible", "label": "DHL Parcel Account Number"}}}}, {"object": "CarrierType", - "type": "DpdAccount", "readable": "DPD", "logo": null, "fields": {"credentials": - {"username": {"visibility": "visible", "label": "WebConnect Username"}, "password": - {"visibility": "password", "label": "WebConnect Password"}, "customer_number": - {"visibility": "visible", "label": "DPD Customer Number"}}, "test_credentials": - {"username": {"visibility": "visible", "label": "Test WebConnect Username"}, - "password": {"visibility": "password", "label": "Test WebConnect Password"}, - "customer_number": {"visibility": "visible", "label": "DPD Customer Number"}}}}, - {"object": "CarrierType", "type": "DpdUkAccount", "readable": "DPD UK", "logo": - null, "fields": {"credentials": {"account_number": {"visibility": "visible", - "label": "DPD UK Account Number"}, "username": {"visibility": "visible", "label": - "DPD UK Username"}, "password": {"visibility": "password", "label": "DPD UK - Password"}}}}, {"object": "CarrierType", "type": "DpdNlAccount", "readable": - "DPD NL", "logo": null, "fields": {"credentials": {"username": {"visibility": - "visible", "label": "Delis ID"}, "password": {"visibility": "password", "label": - "Password"}}, "test_credentials": {"username": {"visibility": "visible", "label": - "Test Delis ID"}, "password": {"visibility": "password", "label": "Test Password"}}}}, - {"object": "CarrierType", "type": "EstafetaAccount", "readable": "Estafeta", - "logo": null, "fields": {"credentials": {"customer_id": {"visibility": "visible", - "label": "Subscriber ID"}, "username": {"visibility": "visible", "label": - "Login"}, "password": {"visibility": "password", "label": "Password"}, "client_id": - {"visibility": "visible", "label": "Tracking Subscriber ID"}, "user_id": {"visibility": - "visible", "label": "Tracking Login"}, "secret_key": {"visibility": "password", - "label": "Tracking Password"}, "customer_number": {"visibility": "visible", - "label": "Customer Number"}, "hub_id": {"visibility": "visible", "label": - "Office Number"}}, "test_credentials": {"customer_id": {"visibility": "visible", - "label": "Test Subscriber ID"}, "username": {"visibility": "visible", "label": - "Test Login"}, "password": {"visibility": "password", "label": "Test Password"}, - "client_id": {"visibility": "visible", "label": "Test Tracking Subscriber - ID"}, "user_id": {"visibility": "visible", "label": "Test Tracking Login"}, - "secret_key": {"visibility": "password", "label": "Test Tracking Password"}, - "customer_number": {"visibility": "visible", "label": "Test Customer Number"}, - "hub_id": {"visibility": "visible", "label": "Test Office Number"}}}}, {"object": - "CarrierType", "type": "FastwayAccount", "readable": "Fastway", "logo": null, - "fields": {"credentials": {"api_key": {"visibility": "masked", "label": "API - Key"}}}}, {"object": "CarrierType", "type": "FedexAccount", "readable": "FedEx", - "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "readonly", "label": "FedEx Account Number"}, "meter_number": {"visibility": - "invisible", "label": "FedEx Production Meter Number"}, "key": {"visibility": - "invisible", "label": "FedEx Production Authentication Key"}, "password": - {"visibility": "invisible", "label": "FedEx Production Password"}}, "test_credentials": - {"account_number": {"visibility": "readonly", "label": "FedEx Account Number"}, - "meter_number": {"visibility": "invisible", "label": "FedEx Test Meter Number"}, - "key": {"visibility": "invisible", "label": "FedEx Developer Test Key"}, "password": - {"visibility": "invisible", "label": "FedEx Test Password"}}, "creation_fields": - {"credential_information": {"account_number": {"label": "FedEx Account #", - "visibility": "visible"}}, "company_information": {"corporate_first_name": - {"label": "Company Contact First Name", "visibility": "visible"}, "corporate_last_name": - {"label": "Company Contact Last Name", "visibility": "visible"}, "corporate_job_title": - {"label": "Company Contact Job Title", "visibility": "visible"}, "corporate_company_name": - {"label": "Company Name", "visibility": "visible"}, "corporate_phone_number": - {"label": "Company Phone", "visibility": "visible"}, "corporate_email_address": - {"label": "Company Email", "visibility": "visible"}, "corporate_streets": - {"label": "Company Street", "visibility": "visible"}, "corporate_city": {"label": - "Company City", "visibility": "visible"}, "corporate_state": {"label": "Company - State", "visibility": "visible"}, "corporate_postal_code": {"label": "Company - Postal Code", "visibility": "visible"}, "corporate_country_code": {"label": - "Company Country Code", "visibility": "visible"}}, "address_information": - {"shipping_streets": {"label": "Shipping Street", "visibility": "visible"}, - "shipping_city": {"label": "Shipping City", "visibility": "visible"}, "shipping_state": - {"label": "Shipping State", "visibility": "visible"}, "shipping_postal_code": - {"label": "Shipping Postal Code ", "visibility": "visible"}, "shipping_country_code": - {"label": "Shipping Country Code", "visibility": "visible"}}}, "custom_workflow": - true}}, {"object": "CarrierType", "type": "FedexCrossBorderAccount", "readable": - "FedEx Cross Border", "logo": null, "fields": {"credentials": {"api_key": - {"visibility": "masked", "label": "FedEx Cross Border API key"}, "origin_hub": - {"visibility": "select", "label": "FedEx Cross Border Origin Hub"}}, "test_credentials": - {"api_key": {"visibility": "masked", "label": "Test FedEx Cross Border API - key"}, "origin_hub": {"visibility": "select", "label": "Test FedEx Cross Border - Origin Hub"}}}}, {"object": "CarrierType", "type": "FedexMailviewAccount", - "readable": "FedEx MailView", "logo": null, "fields": {"credentials": {"customer_id": - {"visibility": "visible", "label": "Customer Code"}, "service_id": {"visibility": - "password", "label": "Service ID"}, "fimspremium": {"visibility": "checkbox", - "label": "FIMS Premium"}, "fimsstandard": {"visibility": "checkbox", "label": - "FIMS Standard"}, "mailviewpremium": {"visibility": "checkbox", "label": "MailView - Premium"}, "mailviewlight": {"visibility": "checkbox", "label": "MailView - Light"}}}}, {"object": "CarrierType", "type": "FedexSmartpostAccount", "readable": - "FedEx SmartPost", "logo": null, "fields": {"credentials": {"account_number": - {"visibility": "visible", "label": "FedEx SmartPost Account Number"}, "hub_id": - {"visibility": "visible", "label": "FedEx SmartPost HubID"}, "meter_number": - {"visibility": "visible", "label": "Fedex SmartPost Meter Number"}, "key": - {"visibility": "masked", "label": "FedEx SmartPost Access Key"}, "password": - {"visibility": "password", "label": "SmartPost Access Key Password"}}, "creation_fields": - {"credential_information": {"account_number": {"label": "FedEx SmartPost Account - #", "visibility": "visible"}, "hub_id": {"label": "FedEx SmartPost Hub ID", - "visibility": "visible"}}, "company_information": {"corporate_first_name": - {"label": "Company Contact First Name", "visibility": "visible"}, "corporate_last_name": - {"label": "Company Contact Last Name", "visibility": "visible"}, "corporate_job_title": - {"label": "Company Contact Job Title", "visibility": "visible"}, "corporate_company_name": - {"label": "Company Name", "visibility": "visible"}, "corporate_phone_number": - {"label": "Company Phone", "visibility": "visible"}, "corporate_email_address": - {"label": "Company Email", "visibility": "visible"}, "corporate_streets": - {"label": "Company Street", "visibility": "visible"}, "corporate_city": {"label": - "Company City", "visibility": "visible"}, "corporate_state": {"label": "Company - State", "visibility": "visible"}, "corporate_postal_code": {"label": "Company - Postal Code", "visibility": "visible"}, "corporate_country_code": {"label": - "Company Country Code", "visibility": "visible"}}, "address_information": - {"shipping_streets": {"label": "Shipping Street", "visibility": "visible"}, - "shipping_city": {"label": "Shipping City", "visibility": "visible"}, "shipping_state": - {"label": "Shipping State", "visibility": "visible"}, "shipping_postal_code": - {"label": "Shipping Postal Code ", "visibility": "visible"}, "shipping_country_code": - {"label": "Shipping Country Code", "visibility": "visible"}}}, "custom_workflow": - true}}, {"object": "CarrierType", "type": "FirstMileConciseAccount", "readable": - "First Mile", "logo": null, "fields": {"credentials": {"username": {"visibility": - "visible", "label": "FirstMile Username"}, "password": {"visibility": "password", - "label": "FirsMile Password"}, "account_number": {"visibility": "visible", - "label": "FirstMile Account Number"}}, "test_credentials": {"username": {"visibility": - "visible", "label": "Test FirstMile Username"}, "password": {"visibility": - "password", "label": "Test FirstMile Password"}, "account_number": {"visibility": - "visible", "label": "Test FirstMile Account Number"}}}}, {"object": "CarrierType", - "type": "FlexportAccount", "readable": "Flexport", "logo": null, "fields": - {"credentials": {"api_key": {"visibility": "masked", "label": "Flexport Account - API Key"}}}}, {"object": "CarrierType", "type": "GsoAccount", "readable": - "GSO", "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "GSO Account Number"}, "username": {"visibility": "visible", - "label": "Username"}, "password": {"visibility": "password", "label": "Password"}}}}, - {"object": "CarrierType", "type": "HailifyAccount", "readable": "Hailify", - "logo": null, "fields": {"credentials": {"partner_id": {"visibility": "visible", - "label": "Hailify Partner ID"}}, "test_credentials": {"partner_id": {"visibility": - "visible", "label": "Test Hailify Partner ID"}}}}, {"object": "CarrierType", - "type": "HermesAccount", "readable": "Evri", "logo": null, "fields": {"credentials": - {"username": {"visibility": "visible", "label": "Evri Username"}, "password": - {"visibility": "password", "label": "Evri Password"}, "client_id": {"visibility": - "visible", "label": "Evri Client ID"}, "auth_id": {"visibility": "visible", - "label": "Evri Auth ID"}, "auth_secret": {"visibility": "password", "label": - "Evri Auth Secret"}, "client_name": {"visibility": "visible", "label": "Evri - Client name"}, "group_id": {"visibility": "visible", "label": "Evri Group - ID"}, "client_licence": {"visibility": "masked", "label": "Evri Client License"}, - "api_key": {"visibility": "masked", "label": "Evri API Key"}}}}, {"object": - "CarrierType", "type": "InterlinkExpressAccount", "readable": "Interlink Express", - "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "Interlink Express Account Number"}, "username": {"visibility": - "visible", "label": "Interlink Express Username"}, "password": {"visibility": - "password", "label": "Interlink Express Password"}, "vat_number": {"visibility": - "visible", "label": "VAT Number"}}}}, {"object": "CarrierType", "type": "LasershipV2Account", - "readable": "LaserShipV2", "logo": null, "fields": {"credentials": {"api_key": - {"visibility": "masked", "label": "LaserShipV2 API Key"}, "api_id": {"visibility": - "visible", "label": "LaserShipV2 API ID"}, "facility": {"visibility": "visible", - "label": "LaserShipV2 Customer Branch"}, "cargo_claim_value": {"visibility": - "visible", "label": "LaserShipV2 Cargo Insurance Claim Value (USD)"}, "is_reseller": - {"visibility": "checkbox", "label": "3PL Account? (check if yes)"}, "injection_location_type": - {"visibility": "visible", "label": "Injection Address Location Type (\"Business\" - or \"Residence\")"}, "injection_contact": {"visibility": "visible", "label": - "Injection Address Contact"}, "injection_organization": {"visibility": "visible", - "label": "Injection Address Organization"}, "injection_street1": {"visibility": - "visible", "label": "Injection Address Street1"}, "injection_street2": {"visibility": - "visible", "label": "Injection Address Street2"}, "injection_city": {"visibility": - "visible", "label": "Injection Address City"}, "injection_state": {"visibility": - "visible", "label": "Injection Address State"}, "injection_zip": {"visibility": - "visible", "label": "Injection Address Postal Code"}, "injection_country": - {"visibility": "visible", "label": "Injection Address Country Code"}, "injection_phone": - {"visibility": "visible", "label": "Injection Address Phone"}, "injection_phone_ext": - {"visibility": "visible", "label": "Injection Address Phone Extension"}, "injection_email": - {"visibility": "visible", "label": "Injection Address Email"}, "injection_instruction": - {"visibility": "visible", "label": "Injection Address Instruction"}, "injection_note": - {"visibility": "visible", "label": "Injection Address Note"}}}}, {"object": - "CarrierType", "type": "LoomisExpressAccount", "readable": "Loomis Express", - "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "Loomis Express Account Number"}, "username": {"visibility": - "visible", "label": "Loomis Express Username"}, "password": {"visibility": - "password", "label": "Loomis Express Password"}}, "test_credentials": {"account_number": - {"visibility": "visible", "label": "Test Loomis Express Account Number"}, - "username": {"visibility": "visible", "label": "Test Loomis Express Username"}, - "password": {"visibility": "password", "label": "Test Loomis Express Password"}}}}, - {"object": "CarrierType", "type": "LsoAccount", "readable": "LSO", "logo": - null, "fields": {"credentials": {"account_number": {"visibility": "visible", - "label": "LSO Production Account Number"}, "username": {"visibility": "visible", - "label": "LSO Production Username"}, "password": {"visibility": "password", - "label": "LSO Production Password"}}, "test_credentials": {"account_number": - {"visibility": "visible", "label": "LSO Test Account Number"}, "username": - {"visibility": "visible", "label": "LSO Test Username"}, "password": {"visibility": - "password", "label": "LSO Test Password"}}}}, {"object": "CarrierType", "type": - "NewgisticsAccount", "readable": "Newgistics", "logo": null, "fields": {"credentials": - {"client_id": {"visibility": "visible", "label": "Client ID"}, "client_secret": - {"visibility": "password", "label": "Client Secret"}, "client_facility_id": - {"visibility": "visible", "label": "Client Facility ID"}, "fulfiller_facility_id": - {"visibility": "visible", "label": "Newgistics Facility ID"}, "tracking_api_key": - {"visibility": "masked", "label": "Tracking API Key"}, "merchant_id": {"visibility": - "visible", "label": "Merchant ID"}}, "test_credentials": {"client_id": {"visibility": - "visible", "label": "Client ID"}, "client_secret": {"visibility": "password", - "label": "Client Secret"}, "client_facility_id": {"visibility": "visible", - "label": "Client Facility ID"}, "fulfiller_facility_id": {"visibility": "visible", - "label": "Newgistics Facility ID"}, "tracking_api_key": {"visibility": "masked", - "label": "Tracking API Key"}, "merchant_id": {"visibility": "visible", "label": - "Merchant ID"}}}}, {"object": "CarrierType", "type": "OmniParcelAccount", - "readable": "OmniParcel", "logo": null, "fields": {"credentials": {"api_access_key": - {"visibility": "masked", "label": "API Access Key"}, "return_api_access_key": - {"visibility": "masked", "label": "Return API Access Key"}}, "test_credentials": - {"api_access_key": {"visibility": "masked", "label": "Test API Access Key"}, - "return_api_access_key": {"visibility": "masked", "label": "Test Return API - Access Key"}}}}, {"object": "CarrierType", "type": "OntracAccount", "readable": - "OnTrac", "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "OnTrac Account Number"}, "password": {"visibility": "password", - "label": "OnTrac API Password"}}, "test_credentials": {"account_number": {"visibility": - "visible", "label": "OnTrac Test Account Number"}, "password": {"visibility": - "password", "label": "OnTrac Test API Password"}}}}, {"object": "CarrierType", - "type": "OptimaAccount", "readable": "Optima", "logo": null, "fields": {"credentials": - {"username": {"visibility": "visible", "label": "Optima username"}, "password": - {"visibility": "password", "label": "Optima password"}, "account_number": - {"visibility": "visible", "label": "Optima account number"}}, "test_credentials": - {"username": {"visibility": "visible", "label": "Test Optima username"}, "password": - {"visibility": "password", "label": "Test Optima password"}, "account_number": - {"visibility": "visible", "label": "Test Optima account number"}}}}, {"object": - "CarrierType", "type": "OsmWorldwideAccount", "readable": "OSM Worldwide", - "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "Account Number"}, "mailer_id": {"visibility": "visible", - "label": "Mailer ID"}, "facility_code": {"visibility": "visible", "label": - "Facility Code/Cost Center ID for manifesting (optional)"}, "company_name": - {"visibility": "visible", "label": "Company Name"}, "aws_sftp_username": {"visibility": - "visible", "label": "SFTP Username"}}}}, {"object": "CarrierType", "type": - "PandionAccount", "readable": "Pandion", "logo": null, "fields": {"credentials": - {"api_key": {"visibility": "masked", "label": "Prod Pandion API Key"}}, "test_credentials": - {"api_key": {"visibility": "masked", "label": "Test Pandion API Key"}}}}, - {"object": "CarrierType", "type": "ParcelForceAccount", "readable": "Parcel - Force", "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "Parcelforce Contract Number"}, "username": {"visibility": - "visible", "label": "expressLink API Username"}, "password": {"visibility": - "password", "label": "expressLink API Password"}, "department_id": {"visibility": - "visible", "label": "Department ID - not required"}}, "test_credentials": - {"account_number": {"visibility": "visible", "label": "Parcelforce Test Contract - Number"}, "username": {"visibility": "visible", "label": "Test expressLink - API Username"}, "password": {"visibility": "password", "label": "Test expressLink - API Password"}, "department_id": {"visibility": "visible", "label": "Test - Department ID - not required"}}}}, {"object": "CarrierType", "type": "ParcllAccount", - "readable": "Cirro E-Commerce", "logo": null, "fields": {"credentials": {"api_key": - {"visibility": "masked", "label": "Cirro E-Commerce API key"}, "user_id": - {"visibility": "visible", "label": "Cirro E-Commerce User Id"}, "origin_hub": - {"visibility": "select", "label": "Cirro E-Commerce Origin Hub"}}, "test_credentials": - {"api_key": {"visibility": "masked", "label": "Test Cirro E-Commerce API key"}, - "user_id": {"visibility": "visible", "label": "Test Cirro E-Commerce User - Id"}, "origin_hub": {"visibility": "select", "label": "Test Cirro E-Commerce - Origin Hub"}}}}, {"object": "CarrierType", "type": "PassportGlobalAccount", - "readable": "Passport Global", "logo": null, "fields": {"credentials": {"api_key": - {"visibility": "masked", "label": "Passport Global API key"}, "email": {"visibility": - "visible", "label": "Customer email address registered with Passport Global"}, - "name": {"visibility": "visible", "label": "Customer name registered with - Passport Global"}, "company_name": {"visibility": "visible", "label": "Customer - company name registered with Passport Global"}, "phone": {"visibility": "visible", - "label": "Customer phone number registered with Passport Global (optional)"}}, - "test_credentials": {"api_key": {"visibility": "masked", "label": "Passport - Global Test API key"}, "email": {"visibility": "visible", "label": "Customer - email address registered with Passport Global"}, "name": {"visibility": "visible", - "label": "Customer name registered with Passport Global"}, "company_name": - {"visibility": "visible", "label": "Customer company name registered with - Passport Global"}, "phone": {"visibility": "visible", "label": "Customer phone - number registered with Passport Global (optional)"}}}}, {"object": "CarrierType", - "type": "PurolatorAccount", "readable": "Purolator", "logo": null, "fields": - {"credentials": {"account_number": {"visibility": "visible", "label": "Purolator - Account Number"}, "api_key": {"visibility": "masked", "label": "Production - API Key"}, "password": {"visibility": "password", "label": "Production API - Key Password"}}}}, {"object": "CarrierType", "type": "RoyalMailAccount", "readable": - "Royal Mail", "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "Royal Mail Account Number"}, "username": {"visibility": - "visible", "label": "OBA Email Address"}, "posting_location_number": {"visibility": - "visible", "label": "Posting Location Number"}}}}, {"object": "CarrierType", - "type": "RRDonnelleyAccount", "readable": "ePost Global", "logo": null, "fields": - {"credentials": {"account_number": {"visibility": "visible", "label": "ePostGlobal - Account Number"}}}}, {"object": "CarrierType", "type": "SendleAccount", "readable": - "Sendle", "logo": null, "fields": {"credentials": {"api_key": {"visibility": - "masked", "label": "Sendle API Key"}, "user_id": {"visibility": "visible", - "label": "Sendle ID"}}, "test_credentials": {"api_key": {"visibility": "masked", - "label": "Sendle Sandbox API Key"}, "user_id": {"visibility": "visible", "label": - "Sendle Sandbox ID"}}}}, {"object": "CarrierType", "type": "SfExpressAccount", - "readable": "SF Express", "logo": null, "fields": {"credentials": {"checkword": - {"visibility": "visible", "label": "SF Express checkword"}, "customer_code": - {"visibility": "visible", "label": "SF Express customer code"}, "customer_id": - {"visibility": "visible", "label": "SF Express customer id"}}, "test_credentials": - {"checkword": {"visibility": "visible", "label": "Test SF Express checkword"}, - "customer_code": {"visibility": "visible", "label": "Test SF Express customer - code"}, "customer_id": {"visibility": "visible", "label": "Test SF Express - customer id"}}}}, {"object": "CarrierType", "type": "SmartKargoAccount", "readable": - "SmartKargo", "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "SmartKargo account number"}}, "test_credentials": {"account_number": - {"visibility": "visible", "label": "Test SmartKargo account number"}}}}, {"object": - "CarrierType", "type": "SonicAccount", "readable": "Sonic", "logo": null, - "fields": {"credentials": {"username": {"visibility": "visible", "label": - "Sonic username"}, "password": {"visibility": "password", "label": "Sonic - password"}, "account_number": {"visibility": "visible", "label": "Sonic account - number"}}, "test_credentials": {"username": {"visibility": "visible", "label": - "Test Sonic username"}, "password": {"visibility": "password", "label": "Test - Sonic password"}, "account_number": {"visibility": "visible", "label": "Test - Sonic account number"}}}}, {"object": "CarrierType", "type": "SpeedeeAccount", - "readable": "Spee-Dee", "logo": null, "fields": {"credentials": {"account_number": - {"visibility": "visible", "label": "Spee-Dee Account Number"}}}}, {"object": - "CarrierType", "type": "SwyftAccount", "readable": "Swyft", "logo": null, - "fields": {"credentials": {"password": {"visibility": "password", "label": - "Swyft API Key"}}, "test_credentials": {"password": {"visibility": "password", - "label": "Test Swyft API Key"}}}}, {"object": "CarrierType", "type": "TforceConciseAccount", - "readable": "TForce", "logo": null, "fields": {"credentials": {"username": - {"visibility": "visible", "label": "TForce Username"}, "password": {"visibility": - "password", "label": "TForce Password"}, "account_number": {"visibility": - "visible", "label": "TForce Account Number"}}, "test_credentials": {"username": - {"visibility": "visible", "label": "Test TForce Username"}, "password": {"visibility": - "password", "label": "Test TForce Password"}, "account_number": {"visibility": - "visible", "label": "Test TForce Account Number"}}}}, {"object": "CarrierType", - "type": "TollAccount", "readable": "Toll", "logo": null, "fields": {"credentials": - {"account_number": {"visibility": "visible", "label": "Toll Account Number"}, - "business_unit": {"visibility": "visible", "label": "Toll Business Unit (Ex. - IPEC)"}, "source_system_code": {"visibility": "visible", "label": "Toll Source - System Code"}}, "test_credentials": {"account_number": {"visibility": "visible", - "label": "Toll Test Account Number"}, "business_unit": {"visibility": "visible", - "label": "Toll Business Unit (Ex. IPEC)"}, "source_system_code": {"visibility": - "visible", "label": "Toll Test Source System Code"}}}}, {"object": "CarrierType", - "type": "UdsAccount", "readable": "UDS", "logo": null, "fields": {"credentials": - {"ftp_username": {"visibility": "visible", "label": "FTP Username"}, "ftp_password": - {"visibility": "password", "label": "FTP Password"}}}}, {"object": "CarrierType", - "type": "UpsAccount", "readable": "UPS", "logo": null, "fields": {"credentials": - {"access_license_number": {"visibility": "invisible", "label": "UPS Access - License Number"}, "account_number": {"visibility": "readonly", "label": "UPS - Account Number"}, "user_id": {"visibility": "invisible", "label": "UPS.com - User ID"}, "password": {"visibility": "invisible", "label": "UPS.com Password"}}, - "creation_fields": {"registration_data": {"account_number": {"label": "UPS - Account Number", "visibility": "visible"}, "client_ip": {"label": "Client - IP", "visibility": "invisible"}, "name": {"label": "Company Contact Name", - "visibility": "visible"}, "title": {"label": "Company Contact Job Title", - "visibility": "visible"}, "company": {"label": "Company Name", "visibility": - "visible"}, "phone": {"label": "Company Phone", "visibility": "visible"}, - "email": {"label": "Company Email", "visibility": "visible"}, "website": {"label": - "Company Website", "visibility": "visible"}, "street1": {"label": "Shipping - Street 1", "visibility": "visible"}, "street2": {"label": "Shipping Street - 2", "visibility": "visible"}, "city": {"label": "Shipping City", "visibility": - "visible"}, "state": {"label": "Shipping State", "visibility": "visible"}, - "postal_code": {"label": "Shipping Postal Code", "visibility": "visible"}, - "country": {"label": "Shipping Country", "visibility": "visible"}, "invoice_number": - {"label": "UPS Invoice Number", "visibility": "visible"}, "invoice_date": - {"label": "UPS Invoice Date", "visibility": "visible"}, "invoice_amount": - {"label": "UPS Invoice Amount", "visibility": "visible"}, "invoice_currency": - {"label": "UPS Invoice Currency", "visibility": "visible"}, "invoice_control_id": - {"label": "UPS Invoice Control ID", "visibility": "visible"}}}, "custom_workflow": - true}}, {"object": "CarrierType", "type": "UpsIparcelAccount", "readable": - "UPS i-Parcel", "logo": null, "fields": {"credentials": {"api_key": {"visibility": - "masked", "label": "i-Parcel API key"}}}}, {"object": "CarrierType", "type": - "UpsMailInnovationsAccount", "readable": "UPS Mail Innovations", "logo": null, - "fields": {"credentials": {"account_number": {"visibility": "visible", "label": - "UPS Shipper Number"}, "user_id": {"visibility": "visible", "label": "UPS.com - User ID"}, "password": {"visibility": "password", "label": "UPS.com Password"}, - "customer_id": {"visibility": "visible", "label": "UPS customer id (optional)"}, - "customer_guid": {"visibility": "visible", "label": "UPS customer GUID (optional)"}}}}, - {"object": "CarrierType", "type": "UspsAccount", "readable": "USPS", "logo": - null, "fields": {"credentials": {"company_name": {"visibility": "visible", - "label": "Account Holder Name"}, "address_street": {"visibility": "visible", - "label": "Street Address"}, "address_city": {"visibility": "visible", "label": - "City"}, "address_state": {"visibility": "visible", "label": "State"}, "address_zip": - {"visibility": "visible", "label": "ZIP Code"}, "phone": {"visibility": "visible", - "label": "Phone Number"}, "email": {"visibility": "visible", "label": "Email - Address"}, "shipper_id": {"visibility": "visible", "label": "Shipper Identifier - (Optional)"}}}}, {"object": "CarrierType", "type": "VehoAccount", "readable": - "Veho", "logo": null, "fields": {"credentials": {"api_key": {"visibility": - "masked", "label": "Veho Production API Key"}}, "test_credentials": {"api_key": - {"visibility": "masked", "label": "Veho Test API Key"}}}}, {"object": "CarrierType", - "type": "XDeliveryAccount", "readable": "Maergo", "logo": null, "fields": - {"credentials": {"username": {"visibility": "visible", "label": "Maergo Username"}, - "password": {"visibility": "password", "label": "Maergo Password"}}, "test_credentials": - {"username": {"visibility": "visible", "label": "Test Maergo Username"}, "password": - {"visibility": "password", "label": "Test Maergo Password"}}}}]' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '38432' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaf124e798c43c000ff145 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.027617' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/carrier_types - response: - body: - string: '[{"object": "CarrierType", "type": "AmazonMwsAccount", "readable": - "Amazon MWS", "logo": null, "fields": {"credentials": {"access_key_id": {"visibility": - "visible", "label": "AWS Access Key ID"}, "secret_key": {"visibility": "password", - "label": "Secret Key"}, "merchant_id": {"visibility": "visible", "label": - "Seller ID"}}}}, {"object": "CarrierType", "type": "ApcAccount", "readable": - "APC", "logo": null, "fields": {"credentials": {"shipper_id": {"visibility": - "visible", "label": "APC Shipper ID"}, "password": {"visibility": "password", - "label": "APC Password"}, "facility": {"visibility": "visible", "label": "APC - Facility (e.g., NJ, LA)"}}}}, {"object": "CarrierType", "type": "AsendiaUsaAccount", - "readable": "Asendia USA", "logo": null, "fields": {"credentials": {"account_number": - {"visibility": "visible", "label": "AsendiaUsa Account Number"}, "sub_account_number": - {"visibility": "visible", "label": "AsendiaUsa Sub Account Number"}, "username": - {"visibility": "visible", "label": "AsendiaUsa Username"}, "password": {"visibility": - "password", "label": "AsendiaUsa Password"}, "api_key": {"visibility": "masked", - "label": "AsendiaUsa API key"}, "carrier_facility": {"visibility": "select", - "label": "AsendiaUsa Carrier Facility / Processing Location (Optional)"}}, - "test_credentials": {"account_number": {"visibility": "visible", "label": - "Test AsendiaUsa Account Number"}, "sub_account_number": {"visibility": "visible", - "label": "Test AsendiaUsa Sub Account Number"}, "username": {"visibility": - "visible", "label": "Test AsendiaUsa Username"}, "password": {"visibility": - "password", "label": "Test AsendiaUsa Password"}, "api_key": {"visibility": - "masked", "label": "Test AsendiaUsa API key"}, "carrier_facility": {"visibility": - "select", "label": "Test AsendiaUsa Carrier Facility / Processing Location - (Optional)"}}}}, {"object": "CarrierType", "type": "AustraliaPostAccount", - "readable": "Australia Post", "logo": null, "fields": {"credentials": {"account_number": - {"visibility": "visible", "label": "Australia Post Account Number"}, "api_key": - {"visibility": "masked", "label": "Australia Post API Key"}, "api_secret": - {"visibility": "password", "label": "Australia Post Secret Key"}, "print_as_you_go": - {"visibility": "checkbox", "label": "Print as you go"}}, "test_credentials": - {"account_number": {"visibility": "visible", "label": "Australia Post Test - Account Number"}, "api_key": {"visibility": "masked", "label": "Australia - Post Test API Key"}, "api_secret": {"visibility": "password", "label": "Australia - Post Test Secret Key"}, "print_as_you_go": {"visibility": "checkbox", "label": - "Print as you go"}}}}, {"object": "CarrierType", "type": "AxlehireV3Account", - "readable": "AxlehireV3", "logo": null, "fields": {"credentials": {"api_key": - {"visibility": "masked", "label": "Client Secret"}}, "test_credentials": {"api_key": - {"visibility": "masked", "label": "Client Secret"}}}}, {"object": "CarrierType", - "type": "BetterTrucksAccount", "readable": "Better Trucks", "logo": null, - "fields": {"credentials": {"api_key": {"visibility": "masked", "label": "Better - Trucks API key"}}, "test_credentials": {"api_key": {"visibility": "masked", - "label": "Test Better Trucks API key"}}}}, {"object": "CarrierType", "type": - "CanadaPostAccount", "readable": "Canada Post", "logo": null, "fields": {"credentials": - {"api_key": {"visibility": "masked", "label": "CanadaPost API Key"}, "contract_id": - {"visibility": "visible", "label": "CanadaPost Contract ID (contract customers - only)"}, "customer_number": {"visibility": "visible", "label": "CanadaPost - Customer Number"}, "has_credit_card": {"visibility": "checkbox", "label": - "CanadaPost account has credit card?"}, "not_platform": {"visibility": "invisible", - "label": "CanadaPost account not registered through platform?"}}, "test_credentials": - {"api_key": {"visibility": "masked", "label": "CanadaPost Test API Key"}, - "contract_id": {"visibility": "visible", "label": "CanadaPost Test Contract - ID (contract customers only)"}, "customer_number": {"visibility": "visible", - "label": "CanadaPost Test Customer Number"}, "has_credit_card": {"visibility": - "checkbox", "label": "CanadaPost Test account has credit card?"}, "not_platform": - {"visibility": "invisible", "label": "CanadaPost Test account not registered - through platform?"}}, "custom_workflow": true}}, {"object": "CarrierType", - "type": "CanparAccount", "readable": "Canpar", "logo": null, "fields": {"credentials": - {"account_number": {"visibility": "visible", "label": "Canpar Account Number"}, - "username": {"visibility": "visible", "label": "Canpar Username"}, "password": - {"visibility": "password", "label": "Canpar Password"}}, "test_credentials": - {"account_number": {"visibility": "visible", "label": "Test Canpar Account - Number"}, "username": {"visibility": "visible", "label": "Test Canpar Username"}, - "password": {"visibility": "password", "label": "Test Canpar Password"}}}}, - {"object": "CarrierType", "type": "ColumbusLastMileAccount", "readable": "CDL - Last Mile Solutions", "logo": null, "fields": {"credentials": {"username": - {"visibility": "visible", "label": "CDL Last Mile Solutions customer username"}, - "password": {"visibility": "password", "label": "CDL Last Mile Solutions customer - password"}, "tracking_code_prefix": {"visibility": "visible", "label": "CDL - Last Mile Solutions tracking code prefix"}}, "test_credentials": {"username": - {"visibility": "visible", "label": "CDL Last Mile Solutions customer test - username"}, "password": {"visibility": "password", "label": "CDL Last Mile - Solutions customer test password"}, "tracking_code_prefix": {"visibility": - "visible", "label": "CDL Last Mile Solutions tracking code prefix"}}}}, {"object": - "CarrierType", "type": "CourierExpressAccount", "readable": "Courier Express", - "logo": null, "fields": {"credentials": {"api_key": {"visibility": "masked", - "label": "Courier Express API key"}, "shipper_id": {"visibility": "visible", - "label": "Courier Express shipper ID"}}, "test_credentials": {"api_key": {"visibility": - "masked", "label": "Test Courier Express API key"}, "shipper_id": {"visibility": - "visible", "label": "Test Courier Express shipper ID"}}}}, {"object": "CarrierType", - "type": "CouriersPleaseAccount", "readable": "CouriersPlease", "logo": null, - "fields": {"credentials": {"username": {"visibility": "visible", "label": - "Account Number"}, "password": {"visibility": "password", "label": "Password"}}, - "test_credentials": {"username": {"visibility": "visible", "label": "Account - Number"}, "password": {"visibility": "password", "label": "Password"}}}}, - {"object": "CarrierType", "type": "DaiPostAccount", "readable": "Dai Post", - "logo": null, "fields": {"credentials": {"username": {"visibility": "visible", - "label": " Dai Post customer username"}, "password": {"visibility": "password", - "label": " Dai Post client secret"}, "origin_terminal": {"visibility": "visible", - "label": " Dai Post default origin terminal"}, "account_code": {"visibility": - "visible", "label": " 3-letter account code for customers with multiple accounts"}}}}, - {"object": "CarrierType", "type": "DeliverItAccount", "readable": "Deliver-It", - "logo": null, "fields": {"credentials": {"username": {"visibility": "visible", - "label": "Deliver-It Username"}, "password": {"visibility": "password", "label": - "Deliver-It Password"}, "account_number": {"visibility": "visible", "label": - "Deliver-It Account Number"}}, "test_credentials": {"username": {"visibility": - "visible", "label": "Test Deliver-It Username"}, "password": {"visibility": - "password", "label": "Test Deliver-It Password"}, "account_number": {"visibility": - "visible", "label": "Test Deliver-It Account Number"}}}}, {"object": "CarrierType", - "type": "DeutschePostUKAccount", "readable": "Deutsche Post UK", "logo": null, - "fields": {"credentials": {"client_id": {"visibility": "visible", "label": - "Deutsche Post UK Client ID"}, "client_secret": {"visibility": "password", - "label": "Deutsche Post UK Secret"}, "account_number": {"visibility": "visible", - "label": "Deutsche Post UK Account Number"}}, "test_credentials": {"client_id": - {"visibility": "visible", "label": "Test Deutsche Post UK Client ID"}, "client_secret": - {"visibility": "password", "label": "Test Deutsche Post UK Secret"}, "account_number": - {"visibility": "visible", "label": "Test Deutsche Post UK Account Number"}}}}, - {"object": "CarrierType", "type": "DhlEcommerceAsiaAccount", "readable": "DHL - Ecommerce Asia", "logo": null, "fields": {"credentials": {"account_number": - {"visibility": "visible", "label": "DHL Ecommerce Asia Account Number"}, "client_id": - {"visibility": "visible", "label": "DHL Ecommerce Asia Contract Number"}, - "password": {"visibility": "password", "label": "DHL Ecommerce Asia Password"}, - "barcode_prefix": {"visibility": "visible", "label": "DHL Ecommerce Asia Customer - ID"}}, "test_credentials": {"account_number": {"visibility": "visible", "label": - "Test DHL Ecommerce Asia Account Number"}, "client_id": {"visibility": "visible", - "label": "Test DHL Ecommerce Asia Contract Number"}, "password": {"visibility": - "password", "label": "Test DHL Ecommerce Asia Password"}, "barcode_prefix": - {"visibility": "visible", "label": "Test DHL Ecommerce Asia Customer ID"}}}}, - {"object": "CarrierType", "type": "DhlEcsAccount", "readable": "DHL eCommerce - Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions client ID"}, "client_secret": - {"visibility": "password", "label": "DHL eCommerce Solutions client secret"}, - "pickup_id": {"visibility": "visible", "label": "DHL eCommerce Solutions pickup - ID"}, "distribution_center": {"visibility": "visible", "label": "DHL eCommerce - Solutions distribution center"}}, "test_credentials": {"client_id": {"visibility": - "visible", "label": "Test DHL eCommerce Solutions client ID"}, "client_secret": - {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret"}, - "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions - pickup ID"}, "distribution_center": {"visibility": "visible", "label": "Test - DHL eCommerce Solutions distribution center"}}}}, {"object": "CarrierType", - "type": "DhlExpressAccount", "readable": "DHL Express", "logo": null, "fields": - {"credentials": {"account_number": {"visibility": "visible", "label": "DHL - Account Number"}, "country": {"visibility": "visible", "label": "Account Country - Code (2 Letter)"}, "site_id": {"visibility": "visible", "label": "Site ID - (Optional)"}, "password": {"visibility": "password", "label": "Password (Optional)"}, - "is_reseller": {"visibility": "checkbox", "label": "Reseller Account? (check - if yes)"}}}}, {"object": "CarrierType", "type": "DhlPaketAccount", "readable": - "DHL Paket", "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "DHL Paket Account Number (EKP)"}, "contract_id": {"visibility": - "visible", "label": "DHL Paket Contract Participation Value"}, "cig_username": - {"visibility": "visible", "label": "DHL Paket CIG Username"}, "cig_password": - {"visibility": "password", "label": "DHL Paket CIG Password"}, "tnt_username": - {"visibility": "visible", "label": "DHL Paket TNT Username (if applicable)"}, - "tnt_password": {"visibility": "password", "label": "DHL Paket TNT Password - (if applicable)"}, "retoure_username": {"visibility": "visible", "label": - "DHL Paket Retoure Username (if applicable)"}, "retoure_password": {"visibility": - "password", "label": "DHL Paket Retoure Password (if applicable)"}}, "test_credentials": - {"account_number": {"visibility": "visible", "label": "Test DHL Paket Account - Number (EKP)"}, "contract_id": {"visibility": "visible", "label": "Test DHL - Paket Contract Participation Value"}, "cig_username": {"visibility": "visible", - "label": " Test DHL Paket CIG Username"}, "cig_password": {"visibility": "password", - "label": "Test DHL Paket CIG Password"}, "tnt_username": {"visibility": "visible", - "label": "Test DHL Paket TNT Username (if applicable)"}, "tnt_password": {"visibility": - "password", "label": "Test DHL Paket TNT Password (if applicable)"}, "retoure_username": - {"visibility": "visible", "label": "Test DHL Paket Retoure Username (if applicable)"}, - "retoure_password": {"visibility": "password", "label": "Test DHL Paket Retoure - Password (if applicable)"}}}}, {"object": "CarrierType", "type": "DhlParcelAccount", - "readable": "DHL Parcel", "logo": null, "fields": {"credentials": {"user_id": - {"visibility": "visible", "label": "DHL Parcel User ID"}, "api_key": {"visibility": - "masked", "label": "DHL Parcel API Key"}, "account_number": {"visibility": - "visible", "label": "DHL Parcel Account Number"}}, "test_credentials": {"user_id": - {"visibility": "visible", "label": "DHL Parcel User ID"}, "api_key": {"visibility": - "masked", "label": "DHL Parcel API Key"}, "account_number": {"visibility": - "visible", "label": "DHL Parcel Account Number"}}}}, {"object": "CarrierType", - "type": "DpdAccount", "readable": "DPD", "logo": null, "fields": {"credentials": - {"username": {"visibility": "visible", "label": "WebConnect Username"}, "password": - {"visibility": "password", "label": "WebConnect Password"}, "customer_number": - {"visibility": "visible", "label": "DPD Customer Number"}}, "test_credentials": - {"username": {"visibility": "visible", "label": "Test WebConnect Username"}, - "password": {"visibility": "password", "label": "Test WebConnect Password"}, - "customer_number": {"visibility": "visible", "label": "DPD Customer Number"}}}}, - {"object": "CarrierType", "type": "DpdUkAccount", "readable": "DPD UK", "logo": - null, "fields": {"credentials": {"account_number": {"visibility": "visible", - "label": "DPD UK Account Number"}, "username": {"visibility": "visible", "label": - "DPD UK Username"}, "password": {"visibility": "password", "label": "DPD UK - Password"}}}}, {"object": "CarrierType", "type": "DpdNlAccount", "readable": - "DPD NL", "logo": null, "fields": {"credentials": {"username": {"visibility": - "visible", "label": "Delis ID"}, "password": {"visibility": "password", "label": - "Password"}}, "test_credentials": {"username": {"visibility": "visible", "label": - "Test Delis ID"}, "password": {"visibility": "password", "label": "Test Password"}}}}, - {"object": "CarrierType", "type": "EstafetaAccount", "readable": "Estafeta", - "logo": null, "fields": {"credentials": {"customer_id": {"visibility": "visible", - "label": "Subscriber ID"}, "username": {"visibility": "visible", "label": - "Login"}, "password": {"visibility": "password", "label": "Password"}, "client_id": - {"visibility": "visible", "label": "Tracking Subscriber ID"}, "user_id": {"visibility": - "visible", "label": "Tracking Login"}, "secret_key": {"visibility": "password", - "label": "Tracking Password"}, "customer_number": {"visibility": "visible", - "label": "Customer Number"}, "hub_id": {"visibility": "visible", "label": - "Office Number"}}, "test_credentials": {"customer_id": {"visibility": "visible", - "label": "Test Subscriber ID"}, "username": {"visibility": "visible", "label": - "Test Login"}, "password": {"visibility": "password", "label": "Test Password"}, - "client_id": {"visibility": "visible", "label": "Test Tracking Subscriber - ID"}, "user_id": {"visibility": "visible", "label": "Test Tracking Login"}, - "secret_key": {"visibility": "password", "label": "Test Tracking Password"}, - "customer_number": {"visibility": "visible", "label": "Test Customer Number"}, - "hub_id": {"visibility": "visible", "label": "Test Office Number"}}}}, {"object": - "CarrierType", "type": "FastwayAccount", "readable": "Fastway", "logo": null, - "fields": {"credentials": {"api_key": {"visibility": "masked", "label": "API - Key"}}}}, {"object": "CarrierType", "type": "FedexAccount", "readable": "FedEx", - "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "readonly", "label": "FedEx Account Number"}, "meter_number": {"visibility": - "invisible", "label": "FedEx Production Meter Number"}, "key": {"visibility": - "invisible", "label": "FedEx Production Authentication Key"}, "password": - {"visibility": "invisible", "label": "FedEx Production Password"}}, "test_credentials": - {"account_number": {"visibility": "readonly", "label": "FedEx Account Number"}, - "meter_number": {"visibility": "invisible", "label": "FedEx Test Meter Number"}, - "key": {"visibility": "invisible", "label": "FedEx Developer Test Key"}, "password": - {"visibility": "invisible", "label": "FedEx Test Password"}}, "creation_fields": - {"credential_information": {"account_number": {"label": "FedEx Account #", - "visibility": "visible"}}, "company_information": {"corporate_first_name": - {"label": "Company Contact First Name", "visibility": "visible"}, "corporate_last_name": - {"label": "Company Contact Last Name", "visibility": "visible"}, "corporate_job_title": - {"label": "Company Contact Job Title", "visibility": "visible"}, "corporate_company_name": - {"label": "Company Name", "visibility": "visible"}, "corporate_phone_number": - {"label": "Company Phone", "visibility": "visible"}, "corporate_email_address": - {"label": "Company Email", "visibility": "visible"}, "corporate_streets": - {"label": "Company Street", "visibility": "visible"}, "corporate_city": {"label": - "Company City", "visibility": "visible"}, "corporate_state": {"label": "Company - State", "visibility": "visible"}, "corporate_postal_code": {"label": "Company - Postal Code", "visibility": "visible"}, "corporate_country_code": {"label": - "Company Country Code", "visibility": "visible"}}, "address_information": - {"shipping_streets": {"label": "Shipping Street", "visibility": "visible"}, - "shipping_city": {"label": "Shipping City", "visibility": "visible"}, "shipping_state": - {"label": "Shipping State", "visibility": "visible"}, "shipping_postal_code": - {"label": "Shipping Postal Code ", "visibility": "visible"}, "shipping_country_code": - {"label": "Shipping Country Code", "visibility": "visible"}}}, "custom_workflow": - true}}, {"object": "CarrierType", "type": "FedexCrossBorderAccount", "readable": - "FedEx Cross Border", "logo": null, "fields": {"credentials": {"api_key": - {"visibility": "masked", "label": "FedEx Cross Border API key"}, "origin_hub": - {"visibility": "select", "label": "FedEx Cross Border Origin Hub"}}, "test_credentials": - {"api_key": {"visibility": "masked", "label": "Test FedEx Cross Border API - key"}, "origin_hub": {"visibility": "select", "label": "Test FedEx Cross Border - Origin Hub"}}}}, {"object": "CarrierType", "type": "FedexMailviewAccount", - "readable": "FedEx MailView", "logo": null, "fields": {"credentials": {"customer_id": - {"visibility": "visible", "label": "Customer Code"}, "service_id": {"visibility": - "password", "label": "Service ID"}, "fimspremium": {"visibility": "checkbox", - "label": "FIMS Premium"}, "fimsstandard": {"visibility": "checkbox", "label": - "FIMS Standard"}, "mailviewpremium": {"visibility": "checkbox", "label": "MailView - Premium"}, "mailviewlight": {"visibility": "checkbox", "label": "MailView - Light"}}}}, {"object": "CarrierType", "type": "FedexSmartpostAccount", "readable": - "FedEx SmartPost", "logo": null, "fields": {"credentials": {"account_number": - {"visibility": "visible", "label": "FedEx SmartPost Account Number"}, "hub_id": - {"visibility": "visible", "label": "FedEx SmartPost HubID"}, "meter_number": - {"visibility": "visible", "label": "Fedex SmartPost Meter Number"}, "key": - {"visibility": "masked", "label": "FedEx SmartPost Access Key"}, "password": - {"visibility": "password", "label": "SmartPost Access Key Password"}}, "creation_fields": - {"credential_information": {"account_number": {"label": "FedEx SmartPost Account - #", "visibility": "visible"}, "hub_id": {"label": "FedEx SmartPost Hub ID", - "visibility": "visible"}}, "company_information": {"corporate_first_name": - {"label": "Company Contact First Name", "visibility": "visible"}, "corporate_last_name": - {"label": "Company Contact Last Name", "visibility": "visible"}, "corporate_job_title": - {"label": "Company Contact Job Title", "visibility": "visible"}, "corporate_company_name": - {"label": "Company Name", "visibility": "visible"}, "corporate_phone_number": - {"label": "Company Phone", "visibility": "visible"}, "corporate_email_address": - {"label": "Company Email", "visibility": "visible"}, "corporate_streets": - {"label": "Company Street", "visibility": "visible"}, "corporate_city": {"label": - "Company City", "visibility": "visible"}, "corporate_state": {"label": "Company - State", "visibility": "visible"}, "corporate_postal_code": {"label": "Company - Postal Code", "visibility": "visible"}, "corporate_country_code": {"label": - "Company Country Code", "visibility": "visible"}}, "address_information": - {"shipping_streets": {"label": "Shipping Street", "visibility": "visible"}, - "shipping_city": {"label": "Shipping City", "visibility": "visible"}, "shipping_state": - {"label": "Shipping State", "visibility": "visible"}, "shipping_postal_code": - {"label": "Shipping Postal Code ", "visibility": "visible"}, "shipping_country_code": - {"label": "Shipping Country Code", "visibility": "visible"}}}, "custom_workflow": - true}}, {"object": "CarrierType", "type": "FirstMileConciseAccount", "readable": - "First Mile", "logo": null, "fields": {"credentials": {"username": {"visibility": - "visible", "label": "FirstMile Username"}, "password": {"visibility": "password", - "label": "FirsMile Password"}, "account_number": {"visibility": "visible", - "label": "FirstMile Account Number"}}, "test_credentials": {"username": {"visibility": - "visible", "label": "Test FirstMile Username"}, "password": {"visibility": - "password", "label": "Test FirstMile Password"}, "account_number": {"visibility": - "visible", "label": "Test FirstMile Account Number"}}}}, {"object": "CarrierType", - "type": "FlexportAccount", "readable": "Flexport", "logo": null, "fields": - {"credentials": {"api_key": {"visibility": "masked", "label": "Flexport Account - API Key"}}}}, {"object": "CarrierType", "type": "GsoAccount", "readable": - "GSO", "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "GSO Account Number"}, "username": {"visibility": "visible", - "label": "Username"}, "password": {"visibility": "password", "label": "Password"}}}}, - {"object": "CarrierType", "type": "HailifyAccount", "readable": "Hailify", - "logo": null, "fields": {"credentials": {"partner_id": {"visibility": "visible", - "label": "Hailify Partner ID"}}, "test_credentials": {"partner_id": {"visibility": - "visible", "label": "Test Hailify Partner ID"}}}}, {"object": "CarrierType", - "type": "HermesAccount", "readable": "Evri", "logo": null, "fields": {"credentials": - {"username": {"visibility": "visible", "label": "Evri Username"}, "password": - {"visibility": "password", "label": "Evri Password"}, "client_id": {"visibility": - "visible", "label": "Evri Client ID"}, "auth_id": {"visibility": "visible", - "label": "Evri Auth ID"}, "auth_secret": {"visibility": "password", "label": - "Evri Auth Secret"}, "client_name": {"visibility": "visible", "label": "Evri - Client name"}, "group_id": {"visibility": "visible", "label": "Evri Group - ID"}, "client_licence": {"visibility": "masked", "label": "Evri Client License"}, - "api_key": {"visibility": "masked", "label": "Evri API Key"}}}}, {"object": - "CarrierType", "type": "InterlinkExpressAccount", "readable": "Interlink Express", - "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "Interlink Express Account Number"}, "username": {"visibility": - "visible", "label": "Interlink Express Username"}, "password": {"visibility": - "password", "label": "Interlink Express Password"}, "vat_number": {"visibility": - "visible", "label": "VAT Number"}}}}, {"object": "CarrierType", "type": "LasershipV2Account", - "readable": "LaserShipV2", "logo": null, "fields": {"credentials": {"api_key": - {"visibility": "masked", "label": "LaserShipV2 API Key"}, "api_id": {"visibility": - "visible", "label": "LaserShipV2 API ID"}, "facility": {"visibility": "visible", - "label": "LaserShipV2 Customer Branch"}, "cargo_claim_value": {"visibility": - "visible", "label": "LaserShipV2 Cargo Insurance Claim Value (USD)"}, "is_reseller": - {"visibility": "checkbox", "label": "3PL Account? (check if yes)"}, "injection_location_type": - {"visibility": "visible", "label": "Injection Address Location Type (\"Business\" - or \"Residence\")"}, "injection_contact": {"visibility": "visible", "label": - "Injection Address Contact"}, "injection_organization": {"visibility": "visible", - "label": "Injection Address Organization"}, "injection_street1": {"visibility": - "visible", "label": "Injection Address Street1"}, "injection_street2": {"visibility": - "visible", "label": "Injection Address Street2"}, "injection_city": {"visibility": - "visible", "label": "Injection Address City"}, "injection_state": {"visibility": - "visible", "label": "Injection Address State"}, "injection_zip": {"visibility": - "visible", "label": "Injection Address Postal Code"}, "injection_country": - {"visibility": "visible", "label": "Injection Address Country Code"}, "injection_phone": - {"visibility": "visible", "label": "Injection Address Phone"}, "injection_phone_ext": - {"visibility": "visible", "label": "Injection Address Phone Extension"}, "injection_email": - {"visibility": "visible", "label": "Injection Address Email"}, "injection_instruction": - {"visibility": "visible", "label": "Injection Address Instruction"}, "injection_note": - {"visibility": "visible", "label": "Injection Address Note"}}}}, {"object": - "CarrierType", "type": "LoomisExpressAccount", "readable": "Loomis Express", - "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "Loomis Express Account Number"}, "username": {"visibility": - "visible", "label": "Loomis Express Username"}, "password": {"visibility": - "password", "label": "Loomis Express Password"}}, "test_credentials": {"account_number": - {"visibility": "visible", "label": "Test Loomis Express Account Number"}, - "username": {"visibility": "visible", "label": "Test Loomis Express Username"}, - "password": {"visibility": "password", "label": "Test Loomis Express Password"}}}}, - {"object": "CarrierType", "type": "LsoAccount", "readable": "LSO", "logo": - null, "fields": {"credentials": {"account_number": {"visibility": "visible", - "label": "LSO Production Account Number"}, "username": {"visibility": "visible", - "label": "LSO Production Username"}, "password": {"visibility": "password", - "label": "LSO Production Password"}}, "test_credentials": {"account_number": - {"visibility": "visible", "label": "LSO Test Account Number"}, "username": - {"visibility": "visible", "label": "LSO Test Username"}, "password": {"visibility": - "password", "label": "LSO Test Password"}}}}, {"object": "CarrierType", "type": - "NewgisticsAccount", "readable": "Newgistics", "logo": null, "fields": {"credentials": - {"client_id": {"visibility": "visible", "label": "Client ID"}, "client_secret": - {"visibility": "password", "label": "Client Secret"}, "client_facility_id": - {"visibility": "visible", "label": "Client Facility ID"}, "fulfiller_facility_id": - {"visibility": "visible", "label": "Newgistics Facility ID"}, "tracking_api_key": - {"visibility": "masked", "label": "Tracking API Key"}, "merchant_id": {"visibility": - "visible", "label": "Merchant ID"}}, "test_credentials": {"client_id": {"visibility": - "visible", "label": "Client ID"}, "client_secret": {"visibility": "password", - "label": "Client Secret"}, "client_facility_id": {"visibility": "visible", - "label": "Client Facility ID"}, "fulfiller_facility_id": {"visibility": "visible", - "label": "Newgistics Facility ID"}, "tracking_api_key": {"visibility": "masked", - "label": "Tracking API Key"}, "merchant_id": {"visibility": "visible", "label": - "Merchant ID"}}}}, {"object": "CarrierType", "type": "OmniParcelAccount", - "readable": "OmniParcel", "logo": null, "fields": {"credentials": {"api_access_key": - {"visibility": "masked", "label": "API Access Key"}, "return_api_access_key": - {"visibility": "masked", "label": "Return API Access Key"}}, "test_credentials": - {"api_access_key": {"visibility": "masked", "label": "Test API Access Key"}, - "return_api_access_key": {"visibility": "masked", "label": "Test Return API - Access Key"}}}}, {"object": "CarrierType", "type": "OntracAccount", "readable": - "OnTrac", "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "OnTrac Account Number"}, "password": {"visibility": "password", - "label": "OnTrac API Password"}}, "test_credentials": {"account_number": {"visibility": - "visible", "label": "OnTrac Test Account Number"}, "password": {"visibility": - "password", "label": "OnTrac Test API Password"}}}}, {"object": "CarrierType", - "type": "OptimaAccount", "readable": "Optima", "logo": null, "fields": {"credentials": - {"username": {"visibility": "visible", "label": "Optima username"}, "password": - {"visibility": "password", "label": "Optima password"}, "account_number": - {"visibility": "visible", "label": "Optima account number"}}, "test_credentials": - {"username": {"visibility": "visible", "label": "Test Optima username"}, "password": - {"visibility": "password", "label": "Test Optima password"}, "account_number": - {"visibility": "visible", "label": "Test Optima account number"}}}}, {"object": - "CarrierType", "type": "OsmWorldwideAccount", "readable": "OSM Worldwide", - "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "Account Number"}, "mailer_id": {"visibility": "visible", - "label": "Mailer ID"}, "facility_code": {"visibility": "visible", "label": - "Facility Code/Cost Center ID for manifesting (optional)"}, "company_name": - {"visibility": "visible", "label": "Company Name"}, "aws_sftp_username": {"visibility": - "visible", "label": "SFTP Username"}}}}, {"object": "CarrierType", "type": - "PandionAccount", "readable": "Pandion", "logo": null, "fields": {"credentials": - {"api_key": {"visibility": "masked", "label": "Prod Pandion API Key"}}, "test_credentials": - {"api_key": {"visibility": "masked", "label": "Test Pandion API Key"}}}}, - {"object": "CarrierType", "type": "ParcelForceAccount", "readable": "Parcel - Force", "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "Parcelforce Contract Number"}, "username": {"visibility": - "visible", "label": "expressLink API Username"}, "password": {"visibility": - "password", "label": "expressLink API Password"}, "department_id": {"visibility": - "visible", "label": "Department ID - not required"}}, "test_credentials": - {"account_number": {"visibility": "visible", "label": "Parcelforce Test Contract - Number"}, "username": {"visibility": "visible", "label": "Test expressLink - API Username"}, "password": {"visibility": "password", "label": "Test expressLink - API Password"}, "department_id": {"visibility": "visible", "label": "Test - Department ID - not required"}}}}, {"object": "CarrierType", "type": "ParcllAccount", - "readable": "Cirro E-Commerce", "logo": null, "fields": {"credentials": {"api_key": - {"visibility": "masked", "label": "Cirro E-Commerce API key"}, "user_id": - {"visibility": "visible", "label": "Cirro E-Commerce User Id"}, "origin_hub": - {"visibility": "select", "label": "Cirro E-Commerce Origin Hub"}}, "test_credentials": - {"api_key": {"visibility": "masked", "label": "Test Cirro E-Commerce API key"}, - "user_id": {"visibility": "visible", "label": "Test Cirro E-Commerce User - Id"}, "origin_hub": {"visibility": "select", "label": "Test Cirro E-Commerce - Origin Hub"}}}}, {"object": "CarrierType", "type": "PassportGlobalAccount", - "readable": "Passport Global", "logo": null, "fields": {"credentials": {"api_key": - {"visibility": "masked", "label": "Passport Global API key"}, "email": {"visibility": - "visible", "label": "Customer email address registered with Passport Global"}, - "name": {"visibility": "visible", "label": "Customer name registered with - Passport Global"}, "company_name": {"visibility": "visible", "label": "Customer - company name registered with Passport Global"}, "phone": {"visibility": "visible", - "label": "Customer phone number registered with Passport Global (optional)"}}, - "test_credentials": {"api_key": {"visibility": "masked", "label": "Passport - Global Test API key"}, "email": {"visibility": "visible", "label": "Customer - email address registered with Passport Global"}, "name": {"visibility": "visible", - "label": "Customer name registered with Passport Global"}, "company_name": - {"visibility": "visible", "label": "Customer company name registered with - Passport Global"}, "phone": {"visibility": "visible", "label": "Customer phone - number registered with Passport Global (optional)"}}}}, {"object": "CarrierType", - "type": "PurolatorAccount", "readable": "Purolator", "logo": null, "fields": - {"credentials": {"account_number": {"visibility": "visible", "label": "Purolator - Account Number"}, "api_key": {"visibility": "masked", "label": "Production - API Key"}, "password": {"visibility": "password", "label": "Production API - Key Password"}}}}, {"object": "CarrierType", "type": "RoyalMailAccount", "readable": - "Royal Mail", "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "Royal Mail Account Number"}, "username": {"visibility": - "visible", "label": "OBA Email Address"}, "posting_location_number": {"visibility": - "visible", "label": "Posting Location Number"}}}}, {"object": "CarrierType", - "type": "RRDonnelleyAccount", "readable": "ePost Global", "logo": null, "fields": - {"credentials": {"account_number": {"visibility": "visible", "label": "ePostGlobal - Account Number"}}}}, {"object": "CarrierType", "type": "SendleAccount", "readable": - "Sendle", "logo": null, "fields": {"credentials": {"api_key": {"visibility": - "masked", "label": "Sendle API Key"}, "user_id": {"visibility": "visible", - "label": "Sendle ID"}}, "test_credentials": {"api_key": {"visibility": "masked", - "label": "Sendle Sandbox API Key"}, "user_id": {"visibility": "visible", "label": - "Sendle Sandbox ID"}}}}, {"object": "CarrierType", "type": "SfExpressAccount", - "readable": "SF Express", "logo": null, "fields": {"credentials": {"checkword": - {"visibility": "visible", "label": "SF Express checkword"}, "customer_code": - {"visibility": "visible", "label": "SF Express customer code"}, "customer_id": - {"visibility": "visible", "label": "SF Express customer id"}}, "test_credentials": - {"checkword": {"visibility": "visible", "label": "Test SF Express checkword"}, - "customer_code": {"visibility": "visible", "label": "Test SF Express customer - code"}, "customer_id": {"visibility": "visible", "label": "Test SF Express - customer id"}}}}, {"object": "CarrierType", "type": "SmartKargoAccount", "readable": - "SmartKargo", "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "SmartKargo account number"}}, "test_credentials": {"account_number": - {"visibility": "visible", "label": "Test SmartKargo account number"}}}}, {"object": - "CarrierType", "type": "SonicAccount", "readable": "Sonic", "logo": null, - "fields": {"credentials": {"username": {"visibility": "visible", "label": - "Sonic username"}, "password": {"visibility": "password", "label": "Sonic - password"}, "account_number": {"visibility": "visible", "label": "Sonic account - number"}}, "test_credentials": {"username": {"visibility": "visible", "label": - "Test Sonic username"}, "password": {"visibility": "password", "label": "Test - Sonic password"}, "account_number": {"visibility": "visible", "label": "Test - Sonic account number"}}}}, {"object": "CarrierType", "type": "SpeedeeAccount", - "readable": "Spee-Dee", "logo": null, "fields": {"credentials": {"account_number": - {"visibility": "visible", "label": "Spee-Dee Account Number"}}}}, {"object": - "CarrierType", "type": "SwyftAccount", "readable": "Swyft", "logo": null, - "fields": {"credentials": {"password": {"visibility": "password", "label": - "Swyft API Key"}}, "test_credentials": {"password": {"visibility": "password", - "label": "Test Swyft API Key"}}}}, {"object": "CarrierType", "type": "TforceConciseAccount", - "readable": "TForce", "logo": null, "fields": {"credentials": {"username": - {"visibility": "visible", "label": "TForce Username"}, "password": {"visibility": - "password", "label": "TForce Password"}, "account_number": {"visibility": - "visible", "label": "TForce Account Number"}}, "test_credentials": {"username": - {"visibility": "visible", "label": "Test TForce Username"}, "password": {"visibility": - "password", "label": "Test TForce Password"}, "account_number": {"visibility": - "visible", "label": "Test TForce Account Number"}}}}, {"object": "CarrierType", - "type": "TollAccount", "readable": "Toll", "logo": null, "fields": {"credentials": - {"account_number": {"visibility": "visible", "label": "Toll Account Number"}, - "business_unit": {"visibility": "visible", "label": "Toll Business Unit (Ex. - IPEC)"}, "source_system_code": {"visibility": "visible", "label": "Toll Source - System Code"}}, "test_credentials": {"account_number": {"visibility": "visible", - "label": "Toll Test Account Number"}, "business_unit": {"visibility": "visible", - "label": "Toll Business Unit (Ex. IPEC)"}, "source_system_code": {"visibility": - "visible", "label": "Toll Test Source System Code"}}}}, {"object": "CarrierType", - "type": "UdsAccount", "readable": "UDS", "logo": null, "fields": {"credentials": - {"ftp_username": {"visibility": "visible", "label": "FTP Username"}, "ftp_password": - {"visibility": "password", "label": "FTP Password"}}}}, {"object": "CarrierType", - "type": "UpsAccount", "readable": "UPS", "logo": null, "fields": {"credentials": - {"access_license_number": {"visibility": "invisible", "label": "UPS Access - License Number"}, "account_number": {"visibility": "readonly", "label": "UPS - Account Number"}, "user_id": {"visibility": "invisible", "label": "UPS.com - User ID"}, "password": {"visibility": "invisible", "label": "UPS.com Password"}}, - "creation_fields": {"registration_data": {"account_number": {"label": "UPS - Account Number", "visibility": "visible"}, "client_ip": {"label": "Client - IP", "visibility": "invisible"}, "name": {"label": "Company Contact Name", - "visibility": "visible"}, "title": {"label": "Company Contact Job Title", - "visibility": "visible"}, "company": {"label": "Company Name", "visibility": - "visible"}, "phone": {"label": "Company Phone", "visibility": "visible"}, - "email": {"label": "Company Email", "visibility": "visible"}, "website": {"label": - "Company Website", "visibility": "visible"}, "street1": {"label": "Shipping - Street 1", "visibility": "visible"}, "street2": {"label": "Shipping Street - 2", "visibility": "visible"}, "city": {"label": "Shipping City", "visibility": - "visible"}, "state": {"label": "Shipping State", "visibility": "visible"}, - "postal_code": {"label": "Shipping Postal Code", "visibility": "visible"}, - "country": {"label": "Shipping Country", "visibility": "visible"}, "invoice_number": - {"label": "UPS Invoice Number", "visibility": "visible"}, "invoice_date": - {"label": "UPS Invoice Date", "visibility": "visible"}, "invoice_amount": - {"label": "UPS Invoice Amount", "visibility": "visible"}, "invoice_currency": - {"label": "UPS Invoice Currency", "visibility": "visible"}, "invoice_control_id": - {"label": "UPS Invoice Control ID", "visibility": "visible"}}}, "custom_workflow": - true}}, {"object": "CarrierType", "type": "UpsIparcelAccount", "readable": - "UPS i-Parcel", "logo": null, "fields": {"credentials": {"api_key": {"visibility": - "masked", "label": "i-Parcel API key"}}}}, {"object": "CarrierType", "type": - "UpsMailInnovationsAccount", "readable": "UPS Mail Innovations", "logo": null, - "fields": {"credentials": {"account_number": {"visibility": "visible", "label": - "UPS Shipper Number"}, "user_id": {"visibility": "visible", "label": "UPS.com - User ID"}, "password": {"visibility": "password", "label": "UPS.com Password"}, - "customer_id": {"visibility": "visible", "label": "UPS customer id (optional)"}, - "customer_guid": {"visibility": "visible", "label": "UPS customer GUID (optional)"}}}}, - {"object": "CarrierType", "type": "UspsAccount", "readable": "USPS", "logo": - null, "fields": {"credentials": {"company_name": {"visibility": "visible", - "label": "Account Holder Name"}, "address_street": {"visibility": "visible", - "label": "Street Address"}, "address_city": {"visibility": "visible", "label": - "City"}, "address_state": {"visibility": "visible", "label": "State"}, "address_zip": - {"visibility": "visible", "label": "ZIP Code"}, "phone": {"visibility": "visible", - "label": "Phone Number"}, "email": {"visibility": "visible", "label": "Email - Address"}, "shipper_id": {"visibility": "visible", "label": "Shipper Identifier - (Optional)"}}}}, {"object": "CarrierType", "type": "VehoAccount", "readable": - "Veho", "logo": null, "fields": {"credentials": {"api_key": {"visibility": - "masked", "label": "Veho Production API Key"}}, "test_credentials": {"api_key": - {"visibility": "masked", "label": "Veho Test API Key"}}}}, {"object": "CarrierType", - "type": "XDeliveryAccount", "readable": "Maergo", "logo": null, "fields": - {"credentials": {"username": {"visibility": "visible", "label": "Maergo Username"}, - "password": {"visibility": "password", "label": "Maergo Password"}}, "test_credentials": - {"username": {"visibility": "visible", "label": "Test Maergo Username"}, "password": - {"visibility": "password", "label": "Test Maergo Password"}}}}]' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '38432' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf207e798cd200010a4a4 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.027488' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/carrier_types - response: - body: - string: '[{"object": "CarrierType", "type": "AmazonMwsAccount", "readable": - "Amazon MWS", "logo": null, "fields": {"credentials": {"access_key_id": {"visibility": - "visible", "label": "AWS Access Key ID"}, "secret_key": {"visibility": "password", - "label": "Secret Key"}, "merchant_id": {"visibility": "visible", "label": - "Seller ID"}}}}, {"object": "CarrierType", "type": "ApcAccount", "readable": - "APC", "logo": null, "fields": {"credentials": {"shipper_id": {"visibility": - "visible", "label": "APC Shipper ID"}, "password": {"visibility": "password", - "label": "APC Password"}, "facility": {"visibility": "visible", "label": "APC - Facility (e.g., NJ, LA)"}}}}, {"object": "CarrierType", "type": "AsendiaUsaAccount", - "readable": "Asendia USA", "logo": null, "fields": {"credentials": {"account_number": - {"visibility": "visible", "label": "AsendiaUsa Account Number"}, "sub_account_number": - {"visibility": "visible", "label": "AsendiaUsa Sub Account Number"}, "username": - {"visibility": "visible", "label": "AsendiaUsa Username"}, "password": {"visibility": - "password", "label": "AsendiaUsa Password"}, "api_key": {"visibility": "masked", - "label": "AsendiaUsa API key"}, "carrier_facility": {"visibility": "select", - "label": "AsendiaUsa Carrier Facility / Processing Location (Optional)"}}, - "test_credentials": {"account_number": {"visibility": "visible", "label": - "Test AsendiaUsa Account Number"}, "sub_account_number": {"visibility": "visible", - "label": "Test AsendiaUsa Sub Account Number"}, "username": {"visibility": - "visible", "label": "Test AsendiaUsa Username"}, "password": {"visibility": - "password", "label": "Test AsendiaUsa Password"}, "api_key": {"visibility": - "masked", "label": "Test AsendiaUsa API key"}, "carrier_facility": {"visibility": - "select", "label": "Test AsendiaUsa Carrier Facility / Processing Location - (Optional)"}}}}, {"object": "CarrierType", "type": "AustraliaPostAccount", - "readable": "Australia Post", "logo": null, "fields": {"credentials": {"account_number": - {"visibility": "visible", "label": "Australia Post Account Number"}, "api_key": - {"visibility": "masked", "label": "Australia Post API Key"}, "api_secret": - {"visibility": "password", "label": "Australia Post Secret Key"}, "print_as_you_go": - {"visibility": "checkbox", "label": "Print as you go"}}, "test_credentials": - {"account_number": {"visibility": "visible", "label": "Australia Post Test - Account Number"}, "api_key": {"visibility": "masked", "label": "Australia - Post Test API Key"}, "api_secret": {"visibility": "password", "label": "Australia - Post Test Secret Key"}, "print_as_you_go": {"visibility": "checkbox", "label": - "Print as you go"}}}}, {"object": "CarrierType", "type": "AxlehireV3Account", - "readable": "AxlehireV3", "logo": null, "fields": {"credentials": {"api_key": - {"visibility": "masked", "label": "Client Secret"}}, "test_credentials": {"api_key": - {"visibility": "masked", "label": "Client Secret"}}}}, {"object": "CarrierType", - "type": "BetterTrucksAccount", "readable": "Better Trucks", "logo": null, - "fields": {"credentials": {"api_key": {"visibility": "masked", "label": "Better - Trucks API key"}}, "test_credentials": {"api_key": {"visibility": "masked", - "label": "Test Better Trucks API key"}}}}, {"object": "CarrierType", "type": - "CanadaPostAccount", "readable": "Canada Post", "logo": null, "fields": {"credentials": - {"api_key": {"visibility": "masked", "label": "CanadaPost API Key"}, "contract_id": - {"visibility": "visible", "label": "CanadaPost Contract ID (contract customers - only)"}, "customer_number": {"visibility": "visible", "label": "CanadaPost - Customer Number"}, "has_credit_card": {"visibility": "checkbox", "label": - "CanadaPost account has credit card?"}, "not_platform": {"visibility": "invisible", - "label": "CanadaPost account not registered through platform?"}}, "test_credentials": - {"api_key": {"visibility": "masked", "label": "CanadaPost Test API Key"}, - "contract_id": {"visibility": "visible", "label": "CanadaPost Test Contract - ID (contract customers only)"}, "customer_number": {"visibility": "visible", - "label": "CanadaPost Test Customer Number"}, "has_credit_card": {"visibility": - "checkbox", "label": "CanadaPost Test account has credit card?"}, "not_platform": - {"visibility": "invisible", "label": "CanadaPost Test account not registered - through platform?"}}, "custom_workflow": true}}, {"object": "CarrierType", - "type": "CanparAccount", "readable": "Canpar", "logo": null, "fields": {"credentials": - {"account_number": {"visibility": "visible", "label": "Canpar Account Number"}, - "username": {"visibility": "visible", "label": "Canpar Username"}, "password": - {"visibility": "password", "label": "Canpar Password"}}, "test_credentials": - {"account_number": {"visibility": "visible", "label": "Test Canpar Account - Number"}, "username": {"visibility": "visible", "label": "Test Canpar Username"}, - "password": {"visibility": "password", "label": "Test Canpar Password"}}}}, - {"object": "CarrierType", "type": "ColumbusLastMileAccount", "readable": "CDL - Last Mile Solutions", "logo": null, "fields": {"credentials": {"username": - {"visibility": "visible", "label": "CDL Last Mile Solutions customer username"}, - "password": {"visibility": "password", "label": "CDL Last Mile Solutions customer - password"}, "tracking_code_prefix": {"visibility": "visible", "label": "CDL - Last Mile Solutions tracking code prefix"}}, "test_credentials": {"username": - {"visibility": "visible", "label": "CDL Last Mile Solutions customer test - username"}, "password": {"visibility": "password", "label": "CDL Last Mile - Solutions customer test password"}, "tracking_code_prefix": {"visibility": - "visible", "label": "CDL Last Mile Solutions tracking code prefix"}}}}, {"object": - "CarrierType", "type": "CourierExpressAccount", "readable": "Courier Express", - "logo": null, "fields": {"credentials": {"api_key": {"visibility": "masked", - "label": "Courier Express API key"}, "shipper_id": {"visibility": "visible", - "label": "Courier Express shipper ID"}}, "test_credentials": {"api_key": {"visibility": - "masked", "label": "Test Courier Express API key"}, "shipper_id": {"visibility": - "visible", "label": "Test Courier Express shipper ID"}}}}, {"object": "CarrierType", - "type": "CouriersPleaseAccount", "readable": "CouriersPlease", "logo": null, - "fields": {"credentials": {"username": {"visibility": "visible", "label": - "Account Number"}, "password": {"visibility": "password", "label": "Password"}}, - "test_credentials": {"username": {"visibility": "visible", "label": "Account - Number"}, "password": {"visibility": "password", "label": "Password"}}}}, - {"object": "CarrierType", "type": "DaiPostAccount", "readable": "Dai Post", - "logo": null, "fields": {"credentials": {"username": {"visibility": "visible", - "label": " Dai Post customer username"}, "password": {"visibility": "password", - "label": " Dai Post client secret"}, "origin_terminal": {"visibility": "visible", - "label": " Dai Post default origin terminal"}, "account_code": {"visibility": - "visible", "label": " 3-letter account code for customers with multiple accounts"}}}}, - {"object": "CarrierType", "type": "DeliverItAccount", "readable": "Deliver-It", - "logo": null, "fields": {"credentials": {"username": {"visibility": "visible", - "label": "Deliver-It Username"}, "password": {"visibility": "password", "label": - "Deliver-It Password"}, "account_number": {"visibility": "visible", "label": - "Deliver-It Account Number"}}, "test_credentials": {"username": {"visibility": - "visible", "label": "Test Deliver-It Username"}, "password": {"visibility": - "password", "label": "Test Deliver-It Password"}, "account_number": {"visibility": - "visible", "label": "Test Deliver-It Account Number"}}}}, {"object": "CarrierType", - "type": "DeutschePostUKAccount", "readable": "Deutsche Post UK", "logo": null, - "fields": {"credentials": {"client_id": {"visibility": "visible", "label": - "Deutsche Post UK Client ID"}, "client_secret": {"visibility": "password", - "label": "Deutsche Post UK Secret"}, "account_number": {"visibility": "visible", - "label": "Deutsche Post UK Account Number"}}, "test_credentials": {"client_id": - {"visibility": "visible", "label": "Test Deutsche Post UK Client ID"}, "client_secret": - {"visibility": "password", "label": "Test Deutsche Post UK Secret"}, "account_number": - {"visibility": "visible", "label": "Test Deutsche Post UK Account Number"}}}}, - {"object": "CarrierType", "type": "DhlEcommerceAsiaAccount", "readable": "DHL - Ecommerce Asia", "logo": null, "fields": {"credentials": {"account_number": - {"visibility": "visible", "label": "DHL Ecommerce Asia Account Number"}, "client_id": - {"visibility": "visible", "label": "DHL Ecommerce Asia Contract Number"}, - "password": {"visibility": "password", "label": "DHL Ecommerce Asia Password"}, - "barcode_prefix": {"visibility": "visible", "label": "DHL Ecommerce Asia Customer - ID"}}, "test_credentials": {"account_number": {"visibility": "visible", "label": - "Test DHL Ecommerce Asia Account Number"}, "client_id": {"visibility": "visible", - "label": "Test DHL Ecommerce Asia Contract Number"}, "password": {"visibility": - "password", "label": "Test DHL Ecommerce Asia Password"}, "barcode_prefix": - {"visibility": "visible", "label": "Test DHL Ecommerce Asia Customer ID"}}}}, - {"object": "CarrierType", "type": "DhlEcsAccount", "readable": "DHL eCommerce - Solutions", "logo": null, "fields": {"credentials": {"client_id": {"visibility": - "visible", "label": "DHL eCommerce Solutions client ID"}, "client_secret": - {"visibility": "password", "label": "DHL eCommerce Solutions client secret"}, - "pickup_id": {"visibility": "visible", "label": "DHL eCommerce Solutions pickup - ID"}, "distribution_center": {"visibility": "visible", "label": "DHL eCommerce - Solutions distribution center"}}, "test_credentials": {"client_id": {"visibility": - "visible", "label": "Test DHL eCommerce Solutions client ID"}, "client_secret": - {"visibility": "password", "label": "Test DHL eCommerce Solutions client secret"}, - "pickup_id": {"visibility": "visible", "label": "Test DHL eCommerce Solutions - pickup ID"}, "distribution_center": {"visibility": "visible", "label": "Test - DHL eCommerce Solutions distribution center"}}}}, {"object": "CarrierType", - "type": "DhlExpressAccount", "readable": "DHL Express", "logo": null, "fields": - {"credentials": {"account_number": {"visibility": "visible", "label": "DHL - Account Number"}, "country": {"visibility": "visible", "label": "Account Country - Code (2 Letter)"}, "site_id": {"visibility": "visible", "label": "Site ID - (Optional)"}, "password": {"visibility": "password", "label": "Password (Optional)"}, - "is_reseller": {"visibility": "checkbox", "label": "Reseller Account? (check - if yes)"}}}}, {"object": "CarrierType", "type": "DhlPaketAccount", "readable": - "DHL Paket", "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "DHL Paket Account Number (EKP)"}, "contract_id": {"visibility": - "visible", "label": "DHL Paket Contract Participation Value"}, "cig_username": - {"visibility": "visible", "label": "DHL Paket CIG Username"}, "cig_password": - {"visibility": "password", "label": "DHL Paket CIG Password"}, "tnt_username": - {"visibility": "visible", "label": "DHL Paket TNT Username (if applicable)"}, - "tnt_password": {"visibility": "password", "label": "DHL Paket TNT Password - (if applicable)"}, "retoure_username": {"visibility": "visible", "label": - "DHL Paket Retoure Username (if applicable)"}, "retoure_password": {"visibility": - "password", "label": "DHL Paket Retoure Password (if applicable)"}}, "test_credentials": - {"account_number": {"visibility": "visible", "label": "Test DHL Paket Account - Number (EKP)"}, "contract_id": {"visibility": "visible", "label": "Test DHL - Paket Contract Participation Value"}, "cig_username": {"visibility": "visible", - "label": " Test DHL Paket CIG Username"}, "cig_password": {"visibility": "password", - "label": "Test DHL Paket CIG Password"}, "tnt_username": {"visibility": "visible", - "label": "Test DHL Paket TNT Username (if applicable)"}, "tnt_password": {"visibility": - "password", "label": "Test DHL Paket TNT Password (if applicable)"}, "retoure_username": - {"visibility": "visible", "label": "Test DHL Paket Retoure Username (if applicable)"}, - "retoure_password": {"visibility": "password", "label": "Test DHL Paket Retoure - Password (if applicable)"}}}}, {"object": "CarrierType", "type": "DhlParcelAccount", - "readable": "DHL Parcel", "logo": null, "fields": {"credentials": {"user_id": - {"visibility": "visible", "label": "DHL Parcel User ID"}, "api_key": {"visibility": - "masked", "label": "DHL Parcel API Key"}, "account_number": {"visibility": - "visible", "label": "DHL Parcel Account Number"}}, "test_credentials": {"user_id": - {"visibility": "visible", "label": "DHL Parcel User ID"}, "api_key": {"visibility": - "masked", "label": "DHL Parcel API Key"}, "account_number": {"visibility": - "visible", "label": "DHL Parcel Account Number"}}}}, {"object": "CarrierType", - "type": "DpdAccount", "readable": "DPD", "logo": null, "fields": {"credentials": - {"username": {"visibility": "visible", "label": "WebConnect Username"}, "password": - {"visibility": "password", "label": "WebConnect Password"}, "customer_number": - {"visibility": "visible", "label": "DPD Customer Number"}}, "test_credentials": - {"username": {"visibility": "visible", "label": "Test WebConnect Username"}, - "password": {"visibility": "password", "label": "Test WebConnect Password"}, - "customer_number": {"visibility": "visible", "label": "DPD Customer Number"}}}}, - {"object": "CarrierType", "type": "DpdUkAccount", "readable": "DPD UK", "logo": - null, "fields": {"credentials": {"account_number": {"visibility": "visible", - "label": "DPD UK Account Number"}, "username": {"visibility": "visible", "label": - "DPD UK Username"}, "password": {"visibility": "password", "label": "DPD UK - Password"}}}}, {"object": "CarrierType", "type": "DpdNlAccount", "readable": - "DPD NL", "logo": null, "fields": {"credentials": {"username": {"visibility": - "visible", "label": "Delis ID"}, "password": {"visibility": "password", "label": - "Password"}}, "test_credentials": {"username": {"visibility": "visible", "label": - "Test Delis ID"}, "password": {"visibility": "password", "label": "Test Password"}}}}, - {"object": "CarrierType", "type": "EstafetaAccount", "readable": "Estafeta", - "logo": null, "fields": {"credentials": {"customer_id": {"visibility": "visible", - "label": "Subscriber ID"}, "username": {"visibility": "visible", "label": - "Login"}, "password": {"visibility": "password", "label": "Password"}, "client_id": - {"visibility": "visible", "label": "Tracking Subscriber ID"}, "user_id": {"visibility": - "visible", "label": "Tracking Login"}, "secret_key": {"visibility": "password", - "label": "Tracking Password"}, "customer_number": {"visibility": "visible", - "label": "Customer Number"}, "hub_id": {"visibility": "visible", "label": - "Office Number"}}, "test_credentials": {"customer_id": {"visibility": "visible", - "label": "Test Subscriber ID"}, "username": {"visibility": "visible", "label": - "Test Login"}, "password": {"visibility": "password", "label": "Test Password"}, - "client_id": {"visibility": "visible", "label": "Test Tracking Subscriber - ID"}, "user_id": {"visibility": "visible", "label": "Test Tracking Login"}, - "secret_key": {"visibility": "password", "label": "Test Tracking Password"}, - "customer_number": {"visibility": "visible", "label": "Test Customer Number"}, - "hub_id": {"visibility": "visible", "label": "Test Office Number"}}}}, {"object": - "CarrierType", "type": "FastwayAccount", "readable": "Fastway", "logo": null, - "fields": {"credentials": {"api_key": {"visibility": "masked", "label": "API - Key"}}}}, {"object": "CarrierType", "type": "FedexAccount", "readable": "FedEx", - "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "readonly", "label": "FedEx Account Number"}, "meter_number": {"visibility": - "invisible", "label": "FedEx Production Meter Number"}, "key": {"visibility": - "invisible", "label": "FedEx Production Authentication Key"}, "password": - {"visibility": "invisible", "label": "FedEx Production Password"}}, "test_credentials": - {"account_number": {"visibility": "readonly", "label": "FedEx Account Number"}, - "meter_number": {"visibility": "invisible", "label": "FedEx Test Meter Number"}, - "key": {"visibility": "invisible", "label": "FedEx Developer Test Key"}, "password": - {"visibility": "invisible", "label": "FedEx Test Password"}}, "creation_fields": - {"credential_information": {"account_number": {"label": "FedEx Account #", - "visibility": "visible"}}, "company_information": {"corporate_first_name": - {"label": "Company Contact First Name", "visibility": "visible"}, "corporate_last_name": - {"label": "Company Contact Last Name", "visibility": "visible"}, "corporate_job_title": - {"label": "Company Contact Job Title", "visibility": "visible"}, "corporate_company_name": - {"label": "Company Name", "visibility": "visible"}, "corporate_phone_number": - {"label": "Company Phone", "visibility": "visible"}, "corporate_email_address": - {"label": "Company Email", "visibility": "visible"}, "corporate_streets": - {"label": "Company Street", "visibility": "visible"}, "corporate_city": {"label": - "Company City", "visibility": "visible"}, "corporate_state": {"label": "Company - State", "visibility": "visible"}, "corporate_postal_code": {"label": "Company - Postal Code", "visibility": "visible"}, "corporate_country_code": {"label": - "Company Country Code", "visibility": "visible"}}, "address_information": - {"shipping_streets": {"label": "Shipping Street", "visibility": "visible"}, - "shipping_city": {"label": "Shipping City", "visibility": "visible"}, "shipping_state": - {"label": "Shipping State", "visibility": "visible"}, "shipping_postal_code": - {"label": "Shipping Postal Code ", "visibility": "visible"}, "shipping_country_code": - {"label": "Shipping Country Code", "visibility": "visible"}}}, "custom_workflow": - true}}, {"object": "CarrierType", "type": "FedexCrossBorderAccount", "readable": - "FedEx Cross Border", "logo": null, "fields": {"credentials": {"api_key": - {"visibility": "masked", "label": "FedEx Cross Border API key"}, "origin_hub": - {"visibility": "select", "label": "FedEx Cross Border Origin Hub"}}, "test_credentials": - {"api_key": {"visibility": "masked", "label": "Test FedEx Cross Border API - key"}, "origin_hub": {"visibility": "select", "label": "Test FedEx Cross Border - Origin Hub"}}}}, {"object": "CarrierType", "type": "FedexMailviewAccount", - "readable": "FedEx MailView", "logo": null, "fields": {"credentials": {"customer_id": - {"visibility": "visible", "label": "Customer Code"}, "service_id": {"visibility": - "password", "label": "Service ID"}, "fimspremium": {"visibility": "checkbox", - "label": "FIMS Premium"}, "fimsstandard": {"visibility": "checkbox", "label": - "FIMS Standard"}, "mailviewpremium": {"visibility": "checkbox", "label": "MailView - Premium"}, "mailviewlight": {"visibility": "checkbox", "label": "MailView - Light"}}}}, {"object": "CarrierType", "type": "FedexSmartpostAccount", "readable": - "FedEx SmartPost", "logo": null, "fields": {"credentials": {"account_number": - {"visibility": "visible", "label": "FedEx SmartPost Account Number"}, "hub_id": - {"visibility": "visible", "label": "FedEx SmartPost HubID"}, "meter_number": - {"visibility": "visible", "label": "Fedex SmartPost Meter Number"}, "key": - {"visibility": "masked", "label": "FedEx SmartPost Access Key"}, "password": - {"visibility": "password", "label": "SmartPost Access Key Password"}}, "creation_fields": - {"credential_information": {"account_number": {"label": "FedEx SmartPost Account - #", "visibility": "visible"}, "hub_id": {"label": "FedEx SmartPost Hub ID", - "visibility": "visible"}}, "company_information": {"corporate_first_name": - {"label": "Company Contact First Name", "visibility": "visible"}, "corporate_last_name": - {"label": "Company Contact Last Name", "visibility": "visible"}, "corporate_job_title": - {"label": "Company Contact Job Title", "visibility": "visible"}, "corporate_company_name": - {"label": "Company Name", "visibility": "visible"}, "corporate_phone_number": - {"label": "Company Phone", "visibility": "visible"}, "corporate_email_address": - {"label": "Company Email", "visibility": "visible"}, "corporate_streets": - {"label": "Company Street", "visibility": "visible"}, "corporate_city": {"label": - "Company City", "visibility": "visible"}, "corporate_state": {"label": "Company - State", "visibility": "visible"}, "corporate_postal_code": {"label": "Company - Postal Code", "visibility": "visible"}, "corporate_country_code": {"label": - "Company Country Code", "visibility": "visible"}}, "address_information": - {"shipping_streets": {"label": "Shipping Street", "visibility": "visible"}, - "shipping_city": {"label": "Shipping City", "visibility": "visible"}, "shipping_state": - {"label": "Shipping State", "visibility": "visible"}, "shipping_postal_code": - {"label": "Shipping Postal Code ", "visibility": "visible"}, "shipping_country_code": - {"label": "Shipping Country Code", "visibility": "visible"}}}, "custom_workflow": - true}}, {"object": "CarrierType", "type": "FirstMileConciseAccount", "readable": - "First Mile", "logo": null, "fields": {"credentials": {"username": {"visibility": - "visible", "label": "FirstMile Username"}, "password": {"visibility": "password", - "label": "FirsMile Password"}, "account_number": {"visibility": "visible", - "label": "FirstMile Account Number"}}, "test_credentials": {"username": {"visibility": - "visible", "label": "Test FirstMile Username"}, "password": {"visibility": - "password", "label": "Test FirstMile Password"}, "account_number": {"visibility": - "visible", "label": "Test FirstMile Account Number"}}}}, {"object": "CarrierType", - "type": "FlexportAccount", "readable": "Flexport", "logo": null, "fields": - {"credentials": {"api_key": {"visibility": "masked", "label": "Flexport Account - API Key"}}}}, {"object": "CarrierType", "type": "GsoAccount", "readable": - "GSO", "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "GSO Account Number"}, "username": {"visibility": "visible", - "label": "Username"}, "password": {"visibility": "password", "label": "Password"}}}}, - {"object": "CarrierType", "type": "HailifyAccount", "readable": "Hailify", - "logo": null, "fields": {"credentials": {"partner_id": {"visibility": "visible", - "label": "Hailify Partner ID"}}, "test_credentials": {"partner_id": {"visibility": - "visible", "label": "Test Hailify Partner ID"}}}}, {"object": "CarrierType", - "type": "HermesAccount", "readable": "Evri", "logo": null, "fields": {"credentials": - {"username": {"visibility": "visible", "label": "Evri Username"}, "password": - {"visibility": "password", "label": "Evri Password"}, "client_id": {"visibility": - "visible", "label": "Evri Client ID"}, "auth_id": {"visibility": "visible", - "label": "Evri Auth ID"}, "auth_secret": {"visibility": "password", "label": - "Evri Auth Secret"}, "client_name": {"visibility": "visible", "label": "Evri - Client name"}, "group_id": {"visibility": "visible", "label": "Evri Group - ID"}, "client_licence": {"visibility": "masked", "label": "Evri Client License"}, - "api_key": {"visibility": "masked", "label": "Evri API Key"}}}}, {"object": - "CarrierType", "type": "InterlinkExpressAccount", "readable": "Interlink Express", - "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "Interlink Express Account Number"}, "username": {"visibility": - "visible", "label": "Interlink Express Username"}, "password": {"visibility": - "password", "label": "Interlink Express Password"}, "vat_number": {"visibility": - "visible", "label": "VAT Number"}}}}, {"object": "CarrierType", "type": "LasershipV2Account", - "readable": "LaserShipV2", "logo": null, "fields": {"credentials": {"api_key": - {"visibility": "masked", "label": "LaserShipV2 API Key"}, "api_id": {"visibility": - "visible", "label": "LaserShipV2 API ID"}, "facility": {"visibility": "visible", - "label": "LaserShipV2 Customer Branch"}, "cargo_claim_value": {"visibility": - "visible", "label": "LaserShipV2 Cargo Insurance Claim Value (USD)"}, "is_reseller": - {"visibility": "checkbox", "label": "3PL Account? (check if yes)"}, "injection_location_type": - {"visibility": "visible", "label": "Injection Address Location Type (\"Business\" - or \"Residence\")"}, "injection_contact": {"visibility": "visible", "label": - "Injection Address Contact"}, "injection_organization": {"visibility": "visible", - "label": "Injection Address Organization"}, "injection_street1": {"visibility": - "visible", "label": "Injection Address Street1"}, "injection_street2": {"visibility": - "visible", "label": "Injection Address Street2"}, "injection_city": {"visibility": - "visible", "label": "Injection Address City"}, "injection_state": {"visibility": - "visible", "label": "Injection Address State"}, "injection_zip": {"visibility": - "visible", "label": "Injection Address Postal Code"}, "injection_country": - {"visibility": "visible", "label": "Injection Address Country Code"}, "injection_phone": - {"visibility": "visible", "label": "Injection Address Phone"}, "injection_phone_ext": - {"visibility": "visible", "label": "Injection Address Phone Extension"}, "injection_email": - {"visibility": "visible", "label": "Injection Address Email"}, "injection_instruction": - {"visibility": "visible", "label": "Injection Address Instruction"}, "injection_note": - {"visibility": "visible", "label": "Injection Address Note"}}}}, {"object": - "CarrierType", "type": "LoomisExpressAccount", "readable": "Loomis Express", - "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "Loomis Express Account Number"}, "username": {"visibility": - "visible", "label": "Loomis Express Username"}, "password": {"visibility": - "password", "label": "Loomis Express Password"}}, "test_credentials": {"account_number": - {"visibility": "visible", "label": "Test Loomis Express Account Number"}, - "username": {"visibility": "visible", "label": "Test Loomis Express Username"}, - "password": {"visibility": "password", "label": "Test Loomis Express Password"}}}}, - {"object": "CarrierType", "type": "LsoAccount", "readable": "LSO", "logo": - null, "fields": {"credentials": {"account_number": {"visibility": "visible", - "label": "LSO Production Account Number"}, "username": {"visibility": "visible", - "label": "LSO Production Username"}, "password": {"visibility": "password", - "label": "LSO Production Password"}}, "test_credentials": {"account_number": - {"visibility": "visible", "label": "LSO Test Account Number"}, "username": - {"visibility": "visible", "label": "LSO Test Username"}, "password": {"visibility": - "password", "label": "LSO Test Password"}}}}, {"object": "CarrierType", "type": - "NewgisticsAccount", "readable": "Newgistics", "logo": null, "fields": {"credentials": - {"client_id": {"visibility": "visible", "label": "Client ID"}, "client_secret": - {"visibility": "password", "label": "Client Secret"}, "client_facility_id": - {"visibility": "visible", "label": "Client Facility ID"}, "fulfiller_facility_id": - {"visibility": "visible", "label": "Newgistics Facility ID"}, "tracking_api_key": - {"visibility": "masked", "label": "Tracking API Key"}, "merchant_id": {"visibility": - "visible", "label": "Merchant ID"}}, "test_credentials": {"client_id": {"visibility": - "visible", "label": "Client ID"}, "client_secret": {"visibility": "password", - "label": "Client Secret"}, "client_facility_id": {"visibility": "visible", - "label": "Client Facility ID"}, "fulfiller_facility_id": {"visibility": "visible", - "label": "Newgistics Facility ID"}, "tracking_api_key": {"visibility": "masked", - "label": "Tracking API Key"}, "merchant_id": {"visibility": "visible", "label": - "Merchant ID"}}}}, {"object": "CarrierType", "type": "OmniParcelAccount", - "readable": "OmniParcel", "logo": null, "fields": {"credentials": {"api_access_key": - {"visibility": "masked", "label": "API Access Key"}, "return_api_access_key": - {"visibility": "masked", "label": "Return API Access Key"}}, "test_credentials": - {"api_access_key": {"visibility": "masked", "label": "Test API Access Key"}, - "return_api_access_key": {"visibility": "masked", "label": "Test Return API - Access Key"}}}}, {"object": "CarrierType", "type": "OntracAccount", "readable": - "OnTrac", "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "OnTrac Account Number"}, "password": {"visibility": "password", - "label": "OnTrac API Password"}}, "test_credentials": {"account_number": {"visibility": - "visible", "label": "OnTrac Test Account Number"}, "password": {"visibility": - "password", "label": "OnTrac Test API Password"}}}}, {"object": "CarrierType", - "type": "OptimaAccount", "readable": "Optima", "logo": null, "fields": {"credentials": - {"username": {"visibility": "visible", "label": "Optima username"}, "password": - {"visibility": "password", "label": "Optima password"}, "account_number": - {"visibility": "visible", "label": "Optima account number"}}, "test_credentials": - {"username": {"visibility": "visible", "label": "Test Optima username"}, "password": - {"visibility": "password", "label": "Test Optima password"}, "account_number": - {"visibility": "visible", "label": "Test Optima account number"}}}}, {"object": - "CarrierType", "type": "OsmWorldwideAccount", "readable": "OSM Worldwide", - "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "Account Number"}, "mailer_id": {"visibility": "visible", - "label": "Mailer ID"}, "facility_code": {"visibility": "visible", "label": - "Facility Code/Cost Center ID for manifesting (optional)"}, "company_name": - {"visibility": "visible", "label": "Company Name"}, "aws_sftp_username": {"visibility": - "visible", "label": "SFTP Username"}}}}, {"object": "CarrierType", "type": - "PandionAccount", "readable": "Pandion", "logo": null, "fields": {"credentials": - {"api_key": {"visibility": "masked", "label": "Prod Pandion API Key"}}, "test_credentials": - {"api_key": {"visibility": "masked", "label": "Test Pandion API Key"}}}}, - {"object": "CarrierType", "type": "ParcelForceAccount", "readable": "Parcel - Force", "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "Parcelforce Contract Number"}, "username": {"visibility": - "visible", "label": "expressLink API Username"}, "password": {"visibility": - "password", "label": "expressLink API Password"}, "department_id": {"visibility": - "visible", "label": "Department ID - not required"}}, "test_credentials": - {"account_number": {"visibility": "visible", "label": "Parcelforce Test Contract - Number"}, "username": {"visibility": "visible", "label": "Test expressLink - API Username"}, "password": {"visibility": "password", "label": "Test expressLink - API Password"}, "department_id": {"visibility": "visible", "label": "Test - Department ID - not required"}}}}, {"object": "CarrierType", "type": "ParcllAccount", - "readable": "Cirro E-Commerce", "logo": null, "fields": {"credentials": {"api_key": - {"visibility": "masked", "label": "Cirro E-Commerce API key"}, "user_id": - {"visibility": "visible", "label": "Cirro E-Commerce User Id"}, "origin_hub": - {"visibility": "select", "label": "Cirro E-Commerce Origin Hub"}}, "test_credentials": - {"api_key": {"visibility": "masked", "label": "Test Cirro E-Commerce API key"}, - "user_id": {"visibility": "visible", "label": "Test Cirro E-Commerce User - Id"}, "origin_hub": {"visibility": "select", "label": "Test Cirro E-Commerce - Origin Hub"}}}}, {"object": "CarrierType", "type": "PassportGlobalAccount", - "readable": "Passport Global", "logo": null, "fields": {"credentials": {"api_key": - {"visibility": "masked", "label": "Passport Global API key"}, "email": {"visibility": - "visible", "label": "Customer email address registered with Passport Global"}, - "name": {"visibility": "visible", "label": "Customer name registered with - Passport Global"}, "company_name": {"visibility": "visible", "label": "Customer - company name registered with Passport Global"}, "phone": {"visibility": "visible", - "label": "Customer phone number registered with Passport Global (optional)"}}, - "test_credentials": {"api_key": {"visibility": "masked", "label": "Passport - Global Test API key"}, "email": {"visibility": "visible", "label": "Customer - email address registered with Passport Global"}, "name": {"visibility": "visible", - "label": "Customer name registered with Passport Global"}, "company_name": - {"visibility": "visible", "label": "Customer company name registered with - Passport Global"}, "phone": {"visibility": "visible", "label": "Customer phone - number registered with Passport Global (optional)"}}}}, {"object": "CarrierType", - "type": "PurolatorAccount", "readable": "Purolator", "logo": null, "fields": - {"credentials": {"account_number": {"visibility": "visible", "label": "Purolator - Account Number"}, "api_key": {"visibility": "masked", "label": "Production - API Key"}, "password": {"visibility": "password", "label": "Production API - Key Password"}}}}, {"object": "CarrierType", "type": "RoyalMailAccount", "readable": - "Royal Mail", "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "Royal Mail Account Number"}, "username": {"visibility": - "visible", "label": "OBA Email Address"}, "posting_location_number": {"visibility": - "visible", "label": "Posting Location Number"}}}}, {"object": "CarrierType", - "type": "RRDonnelleyAccount", "readable": "ePost Global", "logo": null, "fields": - {"credentials": {"account_number": {"visibility": "visible", "label": "ePostGlobal - Account Number"}}}}, {"object": "CarrierType", "type": "SendleAccount", "readable": - "Sendle", "logo": null, "fields": {"credentials": {"api_key": {"visibility": - "masked", "label": "Sendle API Key"}, "user_id": {"visibility": "visible", - "label": "Sendle ID"}}, "test_credentials": {"api_key": {"visibility": "masked", - "label": "Sendle Sandbox API Key"}, "user_id": {"visibility": "visible", "label": - "Sendle Sandbox ID"}}}}, {"object": "CarrierType", "type": "SfExpressAccount", - "readable": "SF Express", "logo": null, "fields": {"credentials": {"checkword": - {"visibility": "visible", "label": "SF Express checkword"}, "customer_code": - {"visibility": "visible", "label": "SF Express customer code"}, "customer_id": - {"visibility": "visible", "label": "SF Express customer id"}}, "test_credentials": - {"checkword": {"visibility": "visible", "label": "Test SF Express checkword"}, - "customer_code": {"visibility": "visible", "label": "Test SF Express customer - code"}, "customer_id": {"visibility": "visible", "label": "Test SF Express - customer id"}}}}, {"object": "CarrierType", "type": "SmartKargoAccount", "readable": - "SmartKargo", "logo": null, "fields": {"credentials": {"account_number": {"visibility": - "visible", "label": "SmartKargo account number"}}, "test_credentials": {"account_number": - {"visibility": "visible", "label": "Test SmartKargo account number"}}}}, {"object": - "CarrierType", "type": "SonicAccount", "readable": "Sonic", "logo": null, - "fields": {"credentials": {"username": {"visibility": "visible", "label": - "Sonic username"}, "password": {"visibility": "password", "label": "Sonic - password"}, "account_number": {"visibility": "visible", "label": "Sonic account - number"}}, "test_credentials": {"username": {"visibility": "visible", "label": - "Test Sonic username"}, "password": {"visibility": "password", "label": "Test - Sonic password"}, "account_number": {"visibility": "visible", "label": "Test - Sonic account number"}}}}, {"object": "CarrierType", "type": "SpeedeeAccount", - "readable": "Spee-Dee", "logo": null, "fields": {"credentials": {"account_number": - {"visibility": "visible", "label": "Spee-Dee Account Number"}}}}, {"object": - "CarrierType", "type": "SwyftAccount", "readable": "Swyft", "logo": null, - "fields": {"credentials": {"password": {"visibility": "password", "label": - "Swyft API Key"}}, "test_credentials": {"password": {"visibility": "password", - "label": "Test Swyft API Key"}}}}, {"object": "CarrierType", "type": "TforceConciseAccount", - "readable": "TForce", "logo": null, "fields": {"credentials": {"username": - {"visibility": "visible", "label": "TForce Username"}, "password": {"visibility": - "password", "label": "TForce Password"}, "account_number": {"visibility": - "visible", "label": "TForce Account Number"}}, "test_credentials": {"username": - {"visibility": "visible", "label": "Test TForce Username"}, "password": {"visibility": - "password", "label": "Test TForce Password"}, "account_number": {"visibility": - "visible", "label": "Test TForce Account Number"}}}}, {"object": "CarrierType", - "type": "TollAccount", "readable": "Toll", "logo": null, "fields": {"credentials": - {"account_number": {"visibility": "visible", "label": "Toll Account Number"}, - "business_unit": {"visibility": "visible", "label": "Toll Business Unit (Ex. - IPEC)"}, "source_system_code": {"visibility": "visible", "label": "Toll Source - System Code"}}, "test_credentials": {"account_number": {"visibility": "visible", - "label": "Toll Test Account Number"}, "business_unit": {"visibility": "visible", - "label": "Toll Business Unit (Ex. IPEC)"}, "source_system_code": {"visibility": - "visible", "label": "Toll Test Source System Code"}}}}, {"object": "CarrierType", - "type": "UdsAccount", "readable": "UDS", "logo": null, "fields": {"credentials": - {"ftp_username": {"visibility": "visible", "label": "FTP Username"}, "ftp_password": - {"visibility": "password", "label": "FTP Password"}}}}, {"object": "CarrierType", - "type": "UpsAccount", "readable": "UPS", "logo": null, "fields": {"credentials": - {"access_license_number": {"visibility": "invisible", "label": "UPS Access - License Number"}, "account_number": {"visibility": "readonly", "label": "UPS - Account Number"}, "user_id": {"visibility": "invisible", "label": "UPS.com - User ID"}, "password": {"visibility": "invisible", "label": "UPS.com Password"}}, - "creation_fields": {"registration_data": {"account_number": {"label": "UPS - Account Number", "visibility": "visible"}, "client_ip": {"label": "Client - IP", "visibility": "invisible"}, "name": {"label": "Company Contact Name", - "visibility": "visible"}, "title": {"label": "Company Contact Job Title", - "visibility": "visible"}, "company": {"label": "Company Name", "visibility": - "visible"}, "phone": {"label": "Company Phone", "visibility": "visible"}, - "email": {"label": "Company Email", "visibility": "visible"}, "website": {"label": - "Company Website", "visibility": "visible"}, "street1": {"label": "Shipping - Street 1", "visibility": "visible"}, "street2": {"label": "Shipping Street - 2", "visibility": "visible"}, "city": {"label": "Shipping City", "visibility": - "visible"}, "state": {"label": "Shipping State", "visibility": "visible"}, - "postal_code": {"label": "Shipping Postal Code", "visibility": "visible"}, - "country": {"label": "Shipping Country", "visibility": "visible"}, "invoice_number": - {"label": "UPS Invoice Number", "visibility": "visible"}, "invoice_date": - {"label": "UPS Invoice Date", "visibility": "visible"}, "invoice_amount": - {"label": "UPS Invoice Amount", "visibility": "visible"}, "invoice_currency": - {"label": "UPS Invoice Currency", "visibility": "visible"}, "invoice_control_id": - {"label": "UPS Invoice Control ID", "visibility": "visible"}}}, "custom_workflow": - true}}, {"object": "CarrierType", "type": "UpsIparcelAccount", "readable": - "UPS i-Parcel", "logo": null, "fields": {"credentials": {"api_key": {"visibility": - "masked", "label": "i-Parcel API key"}}}}, {"object": "CarrierType", "type": - "UpsMailInnovationsAccount", "readable": "UPS Mail Innovations", "logo": null, - "fields": {"credentials": {"account_number": {"visibility": "visible", "label": - "UPS Shipper Number"}, "user_id": {"visibility": "visible", "label": "UPS.com - User ID"}, "password": {"visibility": "password", "label": "UPS.com Password"}, - "customer_id": {"visibility": "visible", "label": "UPS customer id (optional)"}, - "customer_guid": {"visibility": "visible", "label": "UPS customer GUID (optional)"}}}}, - {"object": "CarrierType", "type": "UspsAccount", "readable": "USPS", "logo": - null, "fields": {"credentials": {"company_name": {"visibility": "visible", - "label": "Account Holder Name"}, "address_street": {"visibility": "visible", - "label": "Street Address"}, "address_city": {"visibility": "visible", "label": - "City"}, "address_state": {"visibility": "visible", "label": "State"}, "address_zip": - {"visibility": "visible", "label": "ZIP Code"}, "phone": {"visibility": "visible", - "label": "Phone Number"}, "email": {"visibility": "visible", "label": "Email - Address"}, "shipper_id": {"visibility": "visible", "label": "Shipper Identifier - (Optional)"}}}}, {"object": "CarrierType", "type": "VehoAccount", "readable": - "Veho", "logo": null, "fields": {"credentials": {"api_key": {"visibility": - "masked", "label": "Veho Production API Key"}}, "test_credentials": {"api_key": - {"visibility": "masked", "label": "Veho Test API Key"}}}}, {"object": "CarrierType", - "type": "XDeliveryAccount", "readable": "Maergo", "logo": null, "fields": - {"credentials": {"username": {"visibility": "visible", "label": "Maergo Username"}, - "password": {"visibility": "password", "label": "Maergo Password"}}, "test_credentials": - {"username": {"visibility": "visible", "label": "Test Maergo Username"}, "password": - {"visibility": "password", "label": "Test Maergo Password"}}}}]' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '38432' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf263e798d4c20010e384 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.030711' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_child_users_create.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_child_users_create.yaml deleted file mode 100644 index 93aacce2..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_child_users_create.yaml +++ /dev/null @@ -1,662 +0,0 @@ -interactions: -- request: - body: '{"user": {"name": "Test User"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '31' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/users - response: - body: - string: '{"id": "user_31754439d4524fbb8867d138de537e12", "object": "User", "parent_id": - "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test User", "phone_number": - "8005550100", "verified": true, "created_at": "2024-01-19T21:42:21Z", "default_carbon_offset": - false, "has_elevate_access": false, "children": [], "api_keys": [{"object": - "ApiKey", "key": "", "mode": "test", "created_at": "2024-01-19T21:42:21Z", - "active": true, "id": "ak_dffa08301f7d4a54895f7840d54d05e0"}, {"object": "ApiKey", - "key": "", "mode": "production", "created_at": "2024-01-19T21:42:21Z", - "active": true, "id": "ak_d386ae3ceee04b0880002cd39dca2587"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '691' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaecbde78b9fa7000d11a0 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.712418' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"user": {"name": "Test User"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '31' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/users - response: - body: - string: '{"id": "user_d26377e80676431d88c17d8b140d365a", "object": "User", "parent_id": - "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test User", "phone_number": - "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", "default_carbon_offset": - false, "has_elevate_access": false, "children": [], "api_keys": [{"object": - "ApiKey", "key": "", "mode": "test", "created_at": "2024-01-19T21:44:18Z", - "active": true, "id": "ak_92d46dfa461245bba1ec48aac1f2090d"}, {"object": "ApiKey", - "key": "", "mode": "production", "created_at": "2024-01-19T21:44:18Z", - "active": true, "id": "ak_8637c80064224594b9dfdf82efbb27b7"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '691' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaed32e78ba7cc000d56f3 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.693695' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"user": {"name": "Test User"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '31' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/users - response: - body: - string: '{"id": "user_72074c8f709a4c199c452fc45eee9c41", "object": "User", "parent_id": - "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test User", "phone_number": - "8005550100", "verified": true, "created_at": "2024-01-19T21:48:11Z", "default_carbon_offset": - false, "has_elevate_access": false, "children": [], "api_keys": [{"object": - "ApiKey", "key": "", "mode": "test", "created_at": "2024-01-19T21:48:11Z", - "active": true, "id": "ak_f7875890e11941159ffd203fd956a1d7"}, {"object": "ApiKey", - "key": "", "mode": "production", "created_at": "2024-01-19T21:48:11Z", - "active": true, "id": "ak_c41578b9187d47a998acbe19723d6793"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '691' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdae65aaee1be78bb06700114dce - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.872627' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/users/user_72074c8f709a4c199c452fc45eee9c41 - response: - body: - string: '' - headers: - cache-control: - - private, no-cache, no-store - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdac65aaee1ce78bb06800114e6a - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.120679' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 204 - message: No Content -- request: - body: '{"user": {"name": "Test User"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '31' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/users - response: - body: - string: '{"id": "user_9b717cab9b164882837df05940d91ef5", "object": "User", "parent_id": - "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test User", "phone_number": - "8005550100", "verified": true, "created_at": "2024-01-19T21:50:06Z", "default_carbon_offset": - false, "has_elevate_access": false, "children": [], "api_keys": [{"object": - "ApiKey", "key": "", "mode": "test", "created_at": "2024-01-19T21:50:06Z", - "active": true, "id": "ak_f922cea4730c40559d5af9cf24b375f0"}, {"object": "ApiKey", - "key": "", "mode": "production", "created_at": "2024-01-19T21:50:06Z", - "active": true, "id": "ak_d9b61263ec964a88a916155a74933fda"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '691' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda965aaee8ee78bb88a00118f96 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.718772' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/users/user_9b717cab9b164882837df05940d91ef5 - response: - body: - string: '' - headers: - cache-control: - - private, no-cache, no-store - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdad65aaee8fe78bb88b00119027 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.121762' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 204 - message: No Content -- request: - body: '{"user": {"name": "Test User"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '31' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/users - response: - body: - string: '{"id": "user_ef8759387f554d5ea6f8e7d8705b492b", "object": "User", "parent_id": - "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test User", "phone_number": - "8005550100", "verified": true, "created_at": "2024-01-19T21:59:26Z", "default_carbon_offset": - false, "has_elevate_access": false, "children": [], "api_keys": [{"object": - "ApiKey", "key": "", "mode": "test", "created_at": "2024-01-19T21:59:26Z", - "active": true, "id": "ak_43e2b29bf91e4900a2ff7316c36480dc"}, {"object": "ApiKey", - "key": "", "mode": "production", "created_at": "2024-01-19T21:59:26Z", - "active": true, "id": "ak_28f0d78c26d34e7fb720d15e02d83b17"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '691' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf0bee798c03c000f963a - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.721668' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/users/user_ef8759387f554d5ea6f8e7d8705b492b - response: - body: - string: '' - headers: - cache-control: - - private, no-cache, no-store - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaf0bfe798c03d000f9719 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.124792' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 204 - message: No Content -- request: - body: '{"user": {"name": "Test User"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '31' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/users - response: - body: - string: '{"id": "user_17374a40340d48d2af5cbe9c03449717", "object": "User", "parent_id": - "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test User", "phone_number": - "8005550100", "verified": true, "created_at": "2024-01-19T22:02:21Z", "default_carbon_offset": - false, "has_elevate_access": false, "children": [], "api_keys": [{"object": - "ApiKey", "key": "", "mode": "test", "created_at": "2024-01-19T22:02:21Z", - "active": true, "id": "ak_80d14fb3adba496f86c9f7b8d1ea279a"}, {"object": "ApiKey", - "key": "", "mode": "production", "created_at": "2024-01-19T22:02:21Z", - "active": true, "id": "ak_4b9927f606734bd7895cc915a71de8e5"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '691' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf16de798c89e001033ef - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.699605' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/users/user_17374a40340d48d2af5cbe9c03449717 - response: - body: - string: '' - headers: - cache-control: - - private, no-cache, no-store - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaf16ee798c89f001034ac - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.119342' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 204 - message: No Content -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_child_users_delete.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_child_users_delete.yaml deleted file mode 100644 index 3763c89d..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_child_users_delete.yaml +++ /dev/null @@ -1,778 +0,0 @@ -interactions: -- request: - body: '{"user": {"name": "Test User"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '31' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/users - response: - body: - string: '{"id": "user_e845881a9a8248a5bfe6c7ce7770aac0", "object": "User", "parent_id": - "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test User", "phone_number": - "8005550100", "verified": true, "created_at": "2024-01-19T21:42:24Z", "default_carbon_offset": - false, "has_elevate_access": false, "children": [], "api_keys": [{"object": - "ApiKey", "key": "", "mode": "test", "created_at": "2024-01-19T21:42:24Z", - "active": true, "id": "ak_e41b5330b4384282ad6d92c99c732917"}, {"object": "ApiKey", - "key": "", "mode": "production", "created_at": "2024-01-19T21:42:24Z", - "active": true, "id": "ak_30371cb814324279b1443561ffeebb08"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '691' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaecbfe78b9fac000d12e0 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.714436' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/users/user_e845881a9a8248a5bfe6c7ce7770aac0 - response: - body: - string: '' - headers: - cache-control: - - private, no-cache, no-store - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaecc0e78b9fad000d1371 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.120176' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 204 - message: No Content -- request: - body: '{"user": {"name": "Test User"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '31' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/users - response: - body: - string: '{"id": "user_64feda2b5aeb49c2b39de87fd2d979a1", "object": "User", "parent_id": - "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test User", "phone_number": - "8005550100", "verified": true, "created_at": "2024-01-19T21:44:20Z", "default_carbon_offset": - false, "has_elevate_access": false, "children": [], "api_keys": [{"object": - "ApiKey", "key": "", "mode": "test", "created_at": "2024-01-19T21:44:20Z", - "active": true, "id": "ak_c0feef48d31e44c9a06f1383b9e98a3c"}, {"object": "ApiKey", - "key": "", "mode": "production", "created_at": "2024-01-19T21:44:20Z", - "active": true, "id": "ak_c368943adb6548fb96a0adc5f81f1dfe"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '691' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaed34e78ba7e9000d58a9 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.709389' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/users/user_64feda2b5aeb49c2b39de87fd2d979a1 - response: - body: - string: '' - headers: - cache-control: - - private, no-cache, no-store - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaed35e78ba7ea000d5943 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.129054' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 204 - message: No Content -- request: - body: '{"user": {"name": "Test User"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '31' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/users - response: - body: - string: '{"id": "user_9f6ce92b089846628639a090df210af1", "object": "User", "parent_id": - "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test User", "phone_number": - "8005550100", "verified": true, "created_at": "2024-01-19T21:48:14Z", "default_carbon_offset": - false, "has_elevate_access": false, "children": [], "api_keys": [{"object": - "ApiKey", "key": "", "mode": "test", "created_at": "2024-01-19T21:48:14Z", - "active": true, "id": "ak_c46b58e251f14ef08f33fbf4936248bf"}, {"object": "ApiKey", - "key": "", "mode": "production", "created_at": "2024-01-19T21:48:14Z", - "active": true, "id": "ak_5c85bcf148e546e793e320e75a496bb9"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '691' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdac65aaee1ee78bb06d00114f64 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '1.011865' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/users/user_9f6ce92b089846628639a090df210af1 - response: - body: - string: '' - headers: - cache-control: - - private, no-cache, no-store - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdae65aaee1fe78bb06e00115016 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.127945' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 204 - message: No Content -- request: - body: '{"user": {"name": "Test User"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '31' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/users - response: - body: - string: '{"id": "user_8885b401094540409c977f2ecc30e0b6", "object": "User", "parent_id": - "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test User", "phone_number": - "8005550100", "verified": true, "created_at": "2024-01-19T21:50:09Z", "default_carbon_offset": - false, "has_elevate_access": false, "children": [], "api_keys": [{"object": - "ApiKey", "key": "", "mode": "test", "created_at": "2024-01-19T21:50:10Z", - "active": true, "id": "ak_a146829619524bf5903885c47bdda610"}, {"object": "ApiKey", - "key": "", "mode": "production", "created_at": "2024-01-19T21:50:10Z", - "active": true, "id": "ak_75ebdbc74c3e4c49a3353c1727d8f82b"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '691' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdac65aaee91e78bb8a700119196 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.745977' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/users/user_8885b401094540409c977f2ecc30e0b6 - response: - body: - string: '' - headers: - cache-control: - - private, no-cache, no-store - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdad65aaee92e78bb8a800119231 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.126052' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 204 - message: No Content -- request: - body: '{"user": {"name": "Test User"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '31' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/users - response: - body: - string: '{"id": "user_8741c9505414470b85ee9975e0db542e", "object": "User", "parent_id": - "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test User", "phone_number": - "8005550100", "verified": true, "created_at": "2024-01-19T21:59:29Z", "default_carbon_offset": - false, "has_elevate_access": false, "children": [], "api_keys": [{"object": - "ApiKey", "key": "", "mode": "test", "created_at": "2024-01-19T21:59:29Z", - "active": true, "id": "ak_4f294038e30e4f11bb0e129497b81347"}, {"object": "ApiKey", - "key": "", "mode": "production", "created_at": "2024-01-19T21:59:29Z", - "active": true, "id": "ak_8647b303e01746feb033179d4a49f611"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '691' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaf0c1e798c042000f98df - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.697638' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/users/user_8741c9505414470b85ee9975e0db542e - response: - body: - string: '' - headers: - cache-control: - - private, no-cache, no-store - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaf0c1e798c043000f9998 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.125316' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 204 - message: No Content -- request: - body: '{"user": {"name": "Test User"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '31' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/users - response: - body: - string: '{"id": "user_019a0be77a5f4e92811144058336a6c7", "object": "User", "parent_id": - "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test User", "phone_number": - "8005550100", "verified": true, "created_at": "2024-01-19T22:02:25Z", "default_carbon_offset": - false, "has_elevate_access": false, "children": [], "api_keys": [{"object": - "ApiKey", "key": "", "mode": "test", "created_at": "2024-01-19T22:02:25Z", - "active": true, "id": "ak_02aa455f7d2343d9b13c53e68b8748d9"}, {"object": "ApiKey", - "key": "", "mode": "production", "created_at": "2024-01-19T22:02:25Z", - "active": true, "id": "ak_6ac98383d1424d82a4b02a49eaca41c0"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '691' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaf170e798c8bd001036c1 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.772190' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/users/user_019a0be77a5f4e92811144058336a6c7 - response: - body: - string: '' - headers: - cache-control: - - private, no-cache, no-store - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaf171e798c8be00103789 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.131022' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 204 - message: No Content -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_child_users_list.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_child_users_list.yaml deleted file mode 100644 index 1461c18c..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_child_users_list.yaml +++ /dev/null @@ -1,449 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/users/children - response: - body: - string: '{"children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:38Z"}, - {"id": "user_437e724f37de412db6df8821968d8d3c", "object": "User", "parent_id": - "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test User2", "phone_number": - "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z"}, {"id": - "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", - "name": "Child Account Name22", "phone_number": "8005550100", "verified": - true, "created_at": "2024-01-04T19:56:21Z"}, {"id": "user_31754439d4524fbb8867d138de537e12", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User", "phone_number": "8005550100", "verified": true, "created_at": - "2024-01-19T21:42:21Z"}], "has_more": false}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '900' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaecbfe78b9fab000d12ba - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.058079' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/users/children - response: - body: - string: '{"children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:38Z"}, - {"id": "user_437e724f37de412db6df8821968d8d3c", "object": "User", "parent_id": - "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test User2", "phone_number": - "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z"}, {"id": - "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", - "name": "Child Account Name22", "phone_number": "8005550100", "verified": - true, "created_at": "2024-01-04T19:56:21Z"}, {"id": "user_31754439d4524fbb8867d138de537e12", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User", "phone_number": "8005550100", "verified": true, "created_at": - "2024-01-19T21:42:21Z"}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z"}], - "has_more": false}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1114' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaed34e78ba7e8000d5873 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.035350' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/users/children - response: - body: - string: '{"children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:38Z"}, - {"id": "user_437e724f37de412db6df8821968d8d3c", "object": "User", "parent_id": - "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test User2", "phone_number": - "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z"}, {"id": - "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", - "name": "Child Account Name22", "phone_number": "8005550100", "verified": - true, "created_at": "2024-01-04T19:56:21Z"}, {"id": "user_31754439d4524fbb8867d138de537e12", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User", "phone_number": "8005550100", "verified": true, "created_at": - "2024-01-19T21:42:21Z"}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z"}], - "has_more": false}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1114' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdab65aaee1de78bb06c00114f1b - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.038356' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/users/children - response: - body: - string: '{"children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:38Z"}, - {"id": "user_437e724f37de412db6df8821968d8d3c", "object": "User", "parent_id": - "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test User2", "phone_number": - "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z"}, {"id": - "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", - "name": "Child Account Name22", "phone_number": "8005550100", "verified": - true, "created_at": "2024-01-04T19:56:21Z"}, {"id": "user_31754439d4524fbb8867d138de537e12", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User", "phone_number": "8005550100", "verified": true, "created_at": - "2024-01-19T21:42:21Z"}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z"}], - "has_more": false}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1114' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdae65aaee91e78bb88f00119119 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.228186' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/users/children - response: - body: - string: '{"children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:38Z"}, - {"id": "user_437e724f37de412db6df8821968d8d3c", "object": "User", "parent_id": - "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test User2", "phone_number": - "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z"}, {"id": - "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", - "name": "Child Account Name22", "phone_number": "8005550100", "verified": - true, "created_at": "2024-01-04T19:56:21Z"}, {"id": "user_31754439d4524fbb8867d138de537e12", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User", "phone_number": "8005550100", "verified": true, "created_at": - "2024-01-19T21:42:21Z"}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z"}], - "has_more": false}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1114' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaf0c0e798c041000f988b - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.058678' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/users/children - response: - body: - string: '{"children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:38Z"}, - {"id": "user_437e724f37de412db6df8821968d8d3c", "object": "User", "parent_id": - "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test User2", "phone_number": - "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z"}, {"id": - "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", - "name": "Child Account Name22", "phone_number": "8005550100", "verified": - true, "created_at": "2024-01-04T19:56:21Z"}, {"id": "user_31754439d4524fbb8867d138de537e12", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User", "phone_number": "8005550100", "verified": true, "created_at": - "2024-01-19T21:42:21Z"}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z"}], - "has_more": false}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1114' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf170e798c8a400103640 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.120449' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_customs_infos_create.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_customs_infos_create.yaml deleted file mode 100644 index 01eae214..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_customs_infos_create.yaml +++ /dev/null @@ -1,652 +0,0 @@ -interactions: -- request: - body: '{"customs_info": {"customs_certify": "true", "customs_signer": "Steve Brule", - "contents_type": "merchandise", "contents_explanation": "", "restriction_type": - "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": [{"description": "T-shirt", - "quantity": "1", "weight": "5", "value": "10", "code": "123", "hs_tariff_number": - "123456", "origin_country": "US"}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '358' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/customs_infos - response: - body: - string: '{"id": "cstinfo_831ded88bcd742708daf7cd54cae8c1e", "object": "CustomsInfo", - "created_at": "2024-01-19T21:40:43Z", "updated_at": "2024-01-19T21:40:43Z", - "contents_explanation": "", "contents_type": "merchandise", "customs_certify": - true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": - "return", "restriction_comments": null, "restriction_type": "none", "mode": - "test", "declaration": null, "customs_items": [{"id": "cstitem_a2676810f53244c1a329c3a4e48c0a34", - "object": "CustomsItem", "created_at": "2024-01-19T21:40:43Z", "updated_at": - "2024-01-19T21:40:43Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '788' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/customs_infos/cstinfo_831ded88bcd742708daf7cd54cae8c1e - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaec5be78b9b65000cd067 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.041458' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"customs_info": {"customs_certify": "true", "customs_signer": "Steve Brule", - "contents_type": "merchandise", "contents_explanation": "", "restriction_type": - "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": [{"description": "T-shirt", - "quantity": "1", "weight": "5", "value": "10", "code": "123", "hs_tariff_number": - "123456", "origin_country": "US"}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '358' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/customs_infos - response: - body: - string: '{"id": "cstinfo_3f271cfbce224c98b43c0390d40b352f", "object": "CustomsInfo", - "created_at": "2024-01-19T21:43:11Z", "updated_at": "2024-01-19T21:43:11Z", - "contents_explanation": "", "contents_type": "merchandise", "customs_certify": - true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": - "return", "restriction_comments": null, "restriction_type": "none", "mode": - "test", "declaration": null, "customs_items": [{"id": "cstitem_c3ea2a3f993f430b9d97846191dc308c", - "object": "CustomsItem", "created_at": "2024-01-19T21:43:11Z", "updated_at": - "2024-01-19T21:43:11Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '788' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/customs_infos/cstinfo_3f271cfbce224c98b43c0390d40b352f - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaecefe78ba389000d2e1f - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.038747' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"customs_info": {"customs_certify": "true", "customs_signer": "Steve Brule", - "contents_type": "merchandise", "contents_explanation": "", "restriction_type": - "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": [{"description": "T-shirt", - "quantity": "1", "weight": "5", "value": "10", "code": "123", "hs_tariff_number": - "123456", "origin_country": "US"}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '358' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/customs_infos - response: - body: - string: '{"id": "cstinfo_a277484bbe0042889ab5617bc66f5c2f", "object": "CustomsInfo", - "created_at": "2024-01-19T21:47:02Z", "updated_at": "2024-01-19T21:47:02Z", - "contents_explanation": "", "contents_type": "merchandise", "customs_certify": - true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": - "return", "restriction_comments": null, "restriction_type": "none", "mode": - "test", "declaration": null, "customs_items": [{"id": "cstitem_24d398feeedd4762975c3c49ea46d0a2", - "object": "CustomsItem", "created_at": "2024-01-19T21:47:02Z", "updated_at": - "2024-01-19T21:47:02Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '788' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/customs_infos/cstinfo_a277484bbe0042889ab5617bc66f5c2f - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda865aaedd6e78bac2900112271 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.042840' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"customs_info": {"customs_certify": "true", "customs_signer": "Steve Brule", - "contents_type": "merchandise", "contents_explanation": "", "restriction_type": - "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": [{"description": "T-shirt", - "quantity": "1", "weight": "5", "value": "10", "code": "123", "hs_tariff_number": - "123456", "origin_country": "US"}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '358' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/customs_infos - response: - body: - string: '{"id": "cstinfo_112e94eab5a4443dade68ed1d2d752ba", "object": "CustomsInfo", - "created_at": "2024-01-19T21:48:54Z", "updated_at": "2024-01-19T21:48:54Z", - "contents_explanation": "", "contents_type": "merchandise", "customs_certify": - true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": - "return", "restriction_comments": null, "restriction_type": "none", "mode": - "test", "declaration": null, "customs_items": [{"id": "cstitem_630c1982ba944539b48197dc3889edfb", - "object": "CustomsItem", "created_at": "2024-01-19T21:48:54Z", "updated_at": - "2024-01-19T21:48:54Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '788' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/customs_infos/cstinfo_112e94eab5a4443dade68ed1d2d752ba - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda765aaee46e78bb44a0011664b - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.041610' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"customs_info": {"customs_certify": "true", "customs_signer": "Steve Brule", - "contents_type": "merchandise", "contents_explanation": "", "restriction_type": - "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": [{"description": "T-shirt", - "quantity": "1", "weight": "5", "value": "10", "code": "123", "hs_tariff_number": - "123456", "origin_country": "US"}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '358' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/customs_infos - response: - body: - string: '{"id": "cstinfo_9de3c7db152e4150a0cc1498822ab8a5", "object": "CustomsInfo", - "created_at": "2024-01-19T21:58:15Z", "updated_at": "2024-01-19T21:58:15Z", - "contents_explanation": "", "contents_type": "merchandise", "customs_certify": - true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": - "return", "restriction_comments": null, "restriction_type": "none", "mode": - "test", "declaration": null, "customs_items": [{"id": "cstitem_e0ffe268b2c748498720a38a4aaeb513", - "object": "CustomsItem", "created_at": "2024-01-19T21:58:15Z", "updated_at": - "2024-01-19T21:58:15Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '788' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/customs_infos/cstinfo_9de3c7db152e4150a0cc1498822ab8a5 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaf076e798bbdd000f6ba7 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.164688' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"customs_info": {"customs_certify": "true", "customs_signer": "Steve Brule", - "contents_type": "merchandise", "contents_explanation": "", "restriction_type": - "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": [{"description": "T-shirt", - "quantity": "1", "weight": "5", "value": "10", "code": "123", "hs_tariff_number": - "123456", "origin_country": "US"}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '358' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/customs_infos - response: - body: - string: '{"id": "cstinfo_4535d303259c4ac8ab87446518429e93", "object": "CustomsInfo", - "created_at": "2024-01-19T22:01:09Z", "updated_at": "2024-01-19T22:01:09Z", - "contents_explanation": "", "contents_type": "merchandise", "customs_certify": - true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": - "return", "restriction_comments": null, "restriction_type": "none", "mode": - "test", "declaration": null, "customs_items": [{"id": "cstitem_c9b38fdc63724c0c8929b7e9d5d89cb3", - "object": "CustomsItem", "created_at": "2024-01-19T22:01:09Z", "updated_at": - "2024-01-19T22:01:09Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '788' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/customs_infos/cstinfo_4535d303259c4ac8ab87446518429e93 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaf125e798c43d000ff1dd - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.045200' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"customs_info": {"customs_certify": "true", "customs_signer": "Steve Brule", - "contents_type": "merchandise", "contents_explanation": "", "restriction_type": - "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": [{"description": "T-shirt", - "quantity": "1", "weight": "5", "value": "10", "code": "123", "hs_tariff_number": - "123456", "origin_country": "US"}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '358' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/customs_infos - response: - body: - string: '{"id": "cstinfo_a608cd89b4e14787b3e91e2f3a5f7a29", "object": "CustomsInfo", - "created_at": "2024-01-19T22:04:55Z", "updated_at": "2024-01-19T22:04:55Z", - "contents_explanation": "", "contents_type": "merchandise", "customs_certify": - true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": - "return", "restriction_comments": null, "restriction_type": "none", "mode": - "test", "declaration": null, "customs_items": [{"id": "cstitem_7bc9a22d91fc40c890bd7422aa116b50", - "object": "CustomsItem", "created_at": "2024-01-19T22:04:55Z", "updated_at": - "2024-01-19T22:04:55Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '788' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/customs_infos/cstinfo_a608cd89b4e14787b3e91e2f3a5f7a29 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaf207e798cd210010a501 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.039566' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"customs_info": {"customs_certify": "true", "customs_signer": "Steve Brule", - "contents_type": "merchandise", "contents_explanation": "", "restriction_type": - "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": [{"description": "T-shirt", - "quantity": "1", "weight": "5", "value": "10", "code": "123", "hs_tariff_number": - "123456", "origin_country": "US"}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '358' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/customs_infos - response: - body: - string: '{"id": "cstinfo_cc8fe736fe944217be2e662f303740e1", "object": "CustomsInfo", - "created_at": "2024-01-19T22:06:28Z", "updated_at": "2024-01-19T22:06:28Z", - "contents_explanation": "", "contents_type": "merchandise", "customs_certify": - true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": - "return", "restriction_comments": null, "restriction_type": "none", "mode": - "test", "declaration": null, "customs_items": [{"id": "cstitem_30e09467ace74fb1866fc4081895ee1b", - "object": "CustomsItem", "created_at": "2024-01-19T22:06:28Z", "updated_at": - "2024-01-19T22:06:28Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '788' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/customs_infos/cstinfo_cc8fe736fe944217be2e662f303740e1 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf264e798d4c30010e3e3 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.047002' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_customs_infos_retrieve.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_customs_infos_retrieve.yaml deleted file mode 100644 index 49c2e702..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_customs_infos_retrieve.yaml +++ /dev/null @@ -1,1222 +0,0 @@ -interactions: -- request: - body: '{"customs_info": {"customs_certify": "true", "customs_signer": "Steve Brule", - "contents_type": "merchandise", "contents_explanation": "", "restriction_type": - "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": [{"description": "T-shirt", - "quantity": "1", "weight": "5", "value": "10", "code": "123", "hs_tariff_number": - "123456", "origin_country": "US"}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '358' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/customs_infos - response: - body: - string: '{"id": "cstinfo_5407d9771090494a8ef46d89d5994230", "object": "CustomsInfo", - "created_at": "2024-01-19T21:40:43Z", "updated_at": "2024-01-19T21:40:43Z", - "contents_explanation": "", "contents_type": "merchandise", "customs_certify": - true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": - "return", "restriction_comments": null, "restriction_type": "none", "mode": - "test", "declaration": null, "customs_items": [{"id": "cstitem_a75fa158444145deaf5287b2ab3bf6d7", - "object": "CustomsItem", "created_at": "2024-01-19T21:40:43Z", "updated_at": - "2024-01-19T21:40:43Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '788' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/customs_infos/cstinfo_5407d9771090494a8ef46d89d5994230 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaec5be78b9b66000cd092 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.046837' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/customs_infos/cstinfo_5407d9771090494a8ef46d89d5994230 - response: - body: - string: '{"id": "cstinfo_5407d9771090494a8ef46d89d5994230", "object": "CustomsInfo", - "created_at": "2024-01-19T21:40:43Z", "updated_at": "2024-01-19T21:40:43Z", - "contents_explanation": "", "contents_type": "merchandise", "customs_certify": - true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": - "return", "restriction_comments": null, "restriction_type": "none", "mode": - "test", "declaration": null, "customs_items": [{"id": "cstitem_a75fa158444145deaf5287b2ab3bf6d7", - "object": "CustomsItem", "created_at": "2024-01-19T21:40:43Z", "updated_at": - "2024-01-19T21:40:43Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '788' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaec5be78b9b67000cd0b8 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.031429' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"customs_info": {"customs_certify": "true", "customs_signer": "Steve Brule", - "contents_type": "merchandise", "contents_explanation": "", "restriction_type": - "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": [{"description": "T-shirt", - "quantity": "1", "weight": "5", "value": "10", "code": "123", "hs_tariff_number": - "123456", "origin_country": "US"}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '358' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/customs_infos - response: - body: - string: '{"id": "cstinfo_3b8b4025ac1c4266b538cd81c5f5cc96", "object": "CustomsInfo", - "created_at": "2024-01-19T21:43:12Z", "updated_at": "2024-01-19T21:43:12Z", - "contents_explanation": "", "contents_type": "merchandise", "customs_certify": - true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": - "return", "restriction_comments": null, "restriction_type": "none", "mode": - "test", "declaration": null, "customs_items": [{"id": "cstitem_9c38e7d398c0482292e350e6b3354ac8", - "object": "CustomsItem", "created_at": "2024-01-19T21:43:12Z", "updated_at": - "2024-01-19T21:43:12Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '788' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/customs_infos/cstinfo_3b8b4025ac1c4266b538cd81c5f5cc96 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaecf0e78ba38a000d2e45 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.070604' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/customs_infos/cstinfo_3b8b4025ac1c4266b538cd81c5f5cc96 - response: - body: - string: '{"id": "cstinfo_3b8b4025ac1c4266b538cd81c5f5cc96", "object": "CustomsInfo", - "created_at": "2024-01-19T21:43:12Z", "updated_at": "2024-01-19T21:43:12Z", - "contents_explanation": "", "contents_type": "merchandise", "customs_certify": - true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": - "return", "restriction_comments": null, "restriction_type": "none", "mode": - "test", "declaration": null, "customs_items": [{"id": "cstitem_9c38e7d398c0482292e350e6b3354ac8", - "object": "CustomsItem", "created_at": "2024-01-19T21:43:12Z", "updated_at": - "2024-01-19T21:43:12Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '788' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaecf0e78ba38b000d2e7e - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.023632' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"customs_info": {"customs_certify": "true", "customs_signer": "Steve Brule", - "contents_type": "merchandise", "contents_explanation": "", "restriction_type": - "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": [{"description": "T-shirt", - "quantity": "1", "weight": "5", "value": "10", "code": "123", "hs_tariff_number": - "123456", "origin_country": "US"}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '358' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/customs_infos - response: - body: - string: '{"id": "cstinfo_3f69fd490aa84979a87f4aaefe1494e4", "object": "CustomsInfo", - "created_at": "2024-01-19T21:47:02Z", "updated_at": "2024-01-19T21:47:02Z", - "contents_explanation": "", "contents_type": "merchandise", "customs_certify": - true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": - "return", "restriction_comments": null, "restriction_type": "none", "mode": - "test", "declaration": null, "customs_items": [{"id": "cstitem_5d0b1f0f117b400cb155086193d98dc3", - "object": "CustomsItem", "created_at": "2024-01-19T21:47:02Z", "updated_at": - "2024-01-19T21:47:02Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '788' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/customs_infos/cstinfo_3f69fd490aa84979a87f4aaefe1494e4 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda765aaedd6e78bac2a001122a4 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.039137' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/customs_infos/cstinfo_3f69fd490aa84979a87f4aaefe1494e4 - response: - body: - string: '{"id": "cstinfo_3f69fd490aa84979a87f4aaefe1494e4", "object": "CustomsInfo", - "created_at": "2024-01-19T21:47:02Z", "updated_at": "2024-01-19T21:47:02Z", - "contents_explanation": "", "contents_type": "merchandise", "customs_certify": - true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": - "return", "restriction_comments": null, "restriction_type": "none", "mode": - "test", "declaration": null, "customs_items": [{"id": "cstitem_5d0b1f0f117b400cb155086193d98dc3", - "object": "CustomsItem", "created_at": "2024-01-19T21:47:02Z", "updated_at": - "2024-01-19T21:47:02Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '788' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda865aaedd6e78bac2b001122ca - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.032768' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"customs_info": {"customs_certify": "true", "customs_signer": "Steve Brule", - "contents_type": "merchandise", "contents_explanation": "", "restriction_type": - "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": [{"description": "T-shirt", - "quantity": "1", "weight": "5", "value": "10", "code": "123", "hs_tariff_number": - "123456", "origin_country": "US"}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '358' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/customs_infos - response: - body: - string: '{"id": "cstinfo_71804763a88948f68ab726c82e15f34a", "object": "CustomsInfo", - "created_at": "2024-01-19T21:48:54Z", "updated_at": "2024-01-19T21:48:54Z", - "contents_explanation": "", "contents_type": "merchandise", "customs_certify": - true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": - "return", "restriction_comments": null, "restriction_type": "none", "mode": - "test", "declaration": null, "customs_items": [{"id": "cstitem_ba5f0c862bb84b0dbf13b8121f5c2eb2", - "object": "CustomsItem", "created_at": "2024-01-19T21:48:54Z", "updated_at": - "2024-01-19T21:48:54Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '788' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/customs_infos/cstinfo_71804763a88948f68ab726c82e15f34a - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda765aaee46e78bb44b00116674 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.040777' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/customs_infos/cstinfo_71804763a88948f68ab726c82e15f34a - response: - body: - string: '{"id": "cstinfo_71804763a88948f68ab726c82e15f34a", "object": "CustomsInfo", - "created_at": "2024-01-19T21:48:54Z", "updated_at": "2024-01-19T21:48:54Z", - "contents_explanation": "", "contents_type": "merchandise", "customs_certify": - true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": - "return", "restriction_comments": null, "restriction_type": "none", "mode": - "test", "declaration": null, "customs_items": [{"id": "cstitem_ba5f0c862bb84b0dbf13b8121f5c2eb2", - "object": "CustomsItem", "created_at": "2024-01-19T21:48:54Z", "updated_at": - "2024-01-19T21:48:54Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '788' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda765aaee46e78bb44c00116699 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.030007' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"customs_info": {"customs_certify": "true", "customs_signer": "Steve Brule", - "contents_type": "merchandise", "contents_explanation": "", "restriction_type": - "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": [{"description": "T-shirt", - "quantity": "1", "weight": "5", "value": "10", "code": "123", "hs_tariff_number": - "123456", "origin_country": "US"}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '358' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/customs_infos - response: - body: - string: '{"id": "cstinfo_360d29c60e9b4a39b47b15400dee5545", "object": "CustomsInfo", - "created_at": "2024-01-19T21:58:15Z", "updated_at": "2024-01-19T21:58:15Z", - "contents_explanation": "", "contents_type": "merchandise", "customs_certify": - true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": - "return", "restriction_comments": null, "restriction_type": "none", "mode": - "test", "declaration": null, "customs_items": [{"id": "cstitem_7ddda783f7b642f6a32599680aab8671", - "object": "CustomsItem", "created_at": "2024-01-19T21:58:15Z", "updated_at": - "2024-01-19T21:58:15Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '788' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/customs_infos/cstinfo_360d29c60e9b4a39b47b15400dee5545 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaf077e798bbde000f6bd6 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.037777' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/customs_infos/cstinfo_360d29c60e9b4a39b47b15400dee5545 - response: - body: - string: '{"id": "cstinfo_360d29c60e9b4a39b47b15400dee5545", "object": "CustomsInfo", - "created_at": "2024-01-19T21:58:15Z", "updated_at": "2024-01-19T21:58:15Z", - "contents_explanation": "", "contents_type": "merchandise", "customs_certify": - true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": - "return", "restriction_comments": null, "restriction_type": "none", "mode": - "test", "declaration": null, "customs_items": [{"id": "cstitem_7ddda783f7b642f6a32599680aab8671", - "object": "CustomsItem", "created_at": "2024-01-19T21:58:15Z", "updated_at": - "2024-01-19T21:58:15Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '788' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf077e798bbe2000f6bfe - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.026162' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"customs_info": {"customs_certify": "true", "customs_signer": "Steve Brule", - "contents_type": "merchandise", "contents_explanation": "", "restriction_type": - "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": [{"description": "T-shirt", - "quantity": "1", "weight": "5", "value": "10", "code": "123", "hs_tariff_number": - "123456", "origin_country": "US"}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '358' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/customs_infos - response: - body: - string: '{"id": "cstinfo_d02d5f9b8efe483c868c917e448352c0", "object": "CustomsInfo", - "created_at": "2024-01-19T22:01:09Z", "updated_at": "2024-01-19T22:01:09Z", - "contents_explanation": "", "contents_type": "merchandise", "customs_certify": - true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": - "return", "restriction_comments": null, "restriction_type": "none", "mode": - "test", "declaration": null, "customs_items": [{"id": "cstitem_f0323e65fbc84dda866ef27f429f442c", - "object": "CustomsItem", "created_at": "2024-01-19T22:01:09Z", "updated_at": - "2024-01-19T22:01:09Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '788' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/customs_infos/cstinfo_d02d5f9b8efe483c868c917e448352c0 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaf125e798c43e000ff237 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.047734' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/customs_infos/cstinfo_d02d5f9b8efe483c868c917e448352c0 - response: - body: - string: '{"id": "cstinfo_d02d5f9b8efe483c868c917e448352c0", "object": "CustomsInfo", - "created_at": "2024-01-19T22:01:09Z", "updated_at": "2024-01-19T22:01:09Z", - "contents_explanation": "", "contents_type": "merchandise", "customs_certify": - true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": - "return", "restriction_comments": null, "restriction_type": "none", "mode": - "test", "declaration": null, "customs_items": [{"id": "cstitem_f0323e65fbc84dda866ef27f429f442c", - "object": "CustomsItem", "created_at": "2024-01-19T22:01:09Z", "updated_at": - "2024-01-19T22:01:09Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '788' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf125e798c43f000ff292 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.029700' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"customs_info": {"customs_certify": "true", "customs_signer": "Steve Brule", - "contents_type": "merchandise", "contents_explanation": "", "restriction_type": - "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": [{"description": "T-shirt", - "quantity": "1", "weight": "5", "value": "10", "code": "123", "hs_tariff_number": - "123456", "origin_country": "US"}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '358' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/customs_infos - response: - body: - string: '{"id": "cstinfo_a313193ed10649ff9c687678d39f9812", "object": "CustomsInfo", - "created_at": "2024-01-19T22:04:56Z", "updated_at": "2024-01-19T22:04:56Z", - "contents_explanation": "", "contents_type": "merchandise", "customs_certify": - true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": - "return", "restriction_comments": null, "restriction_type": "none", "mode": - "test", "declaration": null, "customs_items": [{"id": "cstitem_d5537be33f144af48d480f81977ada48", - "object": "CustomsItem", "created_at": "2024-01-19T22:04:56Z", "updated_at": - "2024-01-19T22:04:56Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '788' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/customs_infos/cstinfo_a313193ed10649ff9c687678d39f9812 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaf207e798cd220010a526 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.051726' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/customs_infos/cstinfo_a313193ed10649ff9c687678d39f9812 - response: - body: - string: '{"id": "cstinfo_a313193ed10649ff9c687678d39f9812", "object": "CustomsInfo", - "created_at": "2024-01-19T22:04:56Z", "updated_at": "2024-01-19T22:04:56Z", - "contents_explanation": "", "contents_type": "merchandise", "customs_certify": - true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": - "return", "restriction_comments": null, "restriction_type": "none", "mode": - "test", "declaration": null, "customs_items": [{"id": "cstitem_d5537be33f144af48d480f81977ada48", - "object": "CustomsItem", "created_at": "2024-01-19T22:04:56Z", "updated_at": - "2024-01-19T22:04:56Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '788' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaf208e798cd230010a54d - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.027638' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"customs_info": {"customs_certify": "true", "customs_signer": "Steve Brule", - "contents_type": "merchandise", "contents_explanation": "", "restriction_type": - "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": [{"description": "T-shirt", - "quantity": "1", "weight": "5", "value": "10", "code": "123", "hs_tariff_number": - "123456", "origin_country": "US"}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '358' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/customs_infos - response: - body: - string: '{"id": "cstinfo_0ccb7aa52d9442c281a58e559ecc674f", "object": "CustomsInfo", - "created_at": "2024-01-19T22:06:28Z", "updated_at": "2024-01-19T22:06:28Z", - "contents_explanation": "", "contents_type": "merchandise", "customs_certify": - true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": - "return", "restriction_comments": null, "restriction_type": "none", "mode": - "test", "declaration": null, "customs_items": [{"id": "cstitem_412a7169dde04386aecc4623bdd29d9d", - "object": "CustomsItem", "created_at": "2024-01-19T22:06:28Z", "updated_at": - "2024-01-19T22:06:28Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '788' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/customs_infos/cstinfo_0ccb7aa52d9442c281a58e559ecc674f - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf264e798d4db0010e421 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.043791' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/customs_infos/cstinfo_0ccb7aa52d9442c281a58e559ecc674f - response: - body: - string: '{"id": "cstinfo_0ccb7aa52d9442c281a58e559ecc674f", "object": "CustomsInfo", - "created_at": "2024-01-19T22:06:28Z", "updated_at": "2024-01-19T22:06:28Z", - "contents_explanation": "", "contents_type": "merchandise", "customs_certify": - true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": - "return", "restriction_comments": null, "restriction_type": "none", "mode": - "test", "declaration": null, "customs_items": [{"id": "cstitem_412a7169dde04386aecc4623bdd29d9d", - "object": "CustomsItem", "created_at": "2024-01-19T22:06:28Z", "updated_at": - "2024-01-19T22:06:28Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '788' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf264e798d4dc0010e46d - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.028625' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_customs_items_create.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_customs_items_create.yaml deleted file mode 100644 index af2b17d3..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_customs_items_create.yaml +++ /dev/null @@ -1,600 +0,0 @@ -interactions: -- request: - body: '{"customs_item": {"description": "T-shirt", "quantity": "1", "weight": - "5", "value": "10", "code": "123", "hs_tariff_number": "123456", "origin_country": - "US"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '160' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/customs_items - response: - body: - string: '{"id": "cstitem_dc3bfcb1a9b248d9b460d670fde2ca6f", "object": "CustomsItem", - "created_at": "2024-01-19T21:40:43Z", "updated_at": "2024-01-19T21:40:43Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '370' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/customs_items/cstitem_dc3bfcb1a9b248d9b460d670fde2ca6f - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaec5be78b9b68000cd0d7 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.067647' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"customs_item": {"description": "T-shirt", "quantity": "1", "weight": - "5", "value": "10", "code": "123", "hs_tariff_number": "123456", "origin_country": - "US"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '160' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/customs_items - response: - body: - string: '{"id": "cstitem_7b57200519da4fcbbdbfa84bab94777d", "object": "CustomsItem", - "created_at": "2024-01-19T21:43:12Z", "updated_at": "2024-01-19T21:43:12Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '370' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/customs_items/cstitem_7b57200519da4fcbbdbfa84bab94777d - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaecf0e78ba38c000d2ead - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.033400' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"customs_item": {"description": "T-shirt", "quantity": "1", "weight": - "5", "value": "10", "code": "123", "hs_tariff_number": "123456", "origin_country": - "US"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '160' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/customs_items - response: - body: - string: '{"id": "cstitem_27780bbc804f44da8548578aa591a193", "object": "CustomsItem", - "created_at": "2024-01-19T21:47:03Z", "updated_at": "2024-01-19T21:47:03Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '370' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/customs_items/cstitem_27780bbc804f44da8548578aa591a193 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdab65aaedd7e78bac2d001122f4 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.036188' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"customs_item": {"description": "T-shirt", "quantity": "1", "weight": - "5", "value": "10", "code": "123", "hs_tariff_number": "123456", "origin_country": - "US"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '160' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/customs_items - response: - body: - string: '{"id": "cstitem_c43088935b3540b4b3d2705d2b5a978d", "object": "CustomsItem", - "created_at": "2024-01-19T21:48:55Z", "updated_at": "2024-01-19T21:48:55Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '370' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/customs_items/cstitem_c43088935b3540b4b3d2705d2b5a978d - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdad65aaee47e78bb44d001166da - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.034313' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"customs_item": {"description": "T-shirt", "quantity": "1", "weight": - "5", "value": "10", "code": "123", "hs_tariff_number": "123456", "origin_country": - "US"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '160' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/customs_items - response: - body: - string: '{"id": "cstitem_02ce1351b3d64c38af1a7facb36e91dc", "object": "CustomsItem", - "created_at": "2024-01-19T21:58:16Z", "updated_at": "2024-01-19T21:58:16Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '370' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/customs_items/cstitem_02ce1351b3d64c38af1a7facb36e91dc - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaf077e798bbfa000f6c36 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.033244' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"customs_item": {"description": "T-shirt", "quantity": "1", "weight": - "5", "value": "10", "code": "123", "hs_tariff_number": "123456", "origin_country": - "US"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '160' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/customs_items - response: - body: - string: '{"id": "cstitem_6a3c6c388fb14a4593897c40a0ac1d7b", "object": "CustomsItem", - "created_at": "2024-01-19T22:01:10Z", "updated_at": "2024-01-19T22:01:10Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '370' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/customs_items/cstitem_6a3c6c388fb14a4593897c40a0ac1d7b - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf126e798c440000ff2e9 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.027548' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"customs_item": {"description": "T-shirt", "quantity": "1", "weight": - "5", "value": "10", "code": "123", "hs_tariff_number": "123456", "origin_country": - "US"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '160' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/customs_items - response: - body: - string: '{"id": "cstitem_8e0badbe8b944896bd72ba6a9d0da148", "object": "CustomsItem", - "created_at": "2024-01-19T22:04:56Z", "updated_at": "2024-01-19T22:04:56Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '370' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/customs_items/cstitem_8e0badbe8b944896bd72ba6a9d0da148 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaf208e798cd240010a586 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.031632' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"customs_item": {"description": "T-shirt", "quantity": "1", "weight": - "5", "value": "10", "code": "123", "hs_tariff_number": "123456", "origin_country": - "US"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '160' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/customs_items - response: - body: - string: '{"id": "cstitem_b9c7656fdfe449cfb98e98f58f44ca39", "object": "CustomsItem", - "created_at": "2024-01-19T22:06:29Z", "updated_at": "2024-01-19T22:06:29Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '370' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/customs_items/cstitem_b9c7656fdfe449cfb98e98f58f44ca39 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf265e798d4dd0010e4a0 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.028109' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_customs_items_retrieve.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_customs_items_retrieve.yaml deleted file mode 100644 index e9ab62ce..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_customs_items_retrieve.yaml +++ /dev/null @@ -1,1126 +0,0 @@ -interactions: -- request: - body: '{"customs_item": {"description": "T-shirt", "quantity": "1", "weight": - "5", "value": "10", "code": "123", "hs_tariff_number": "123456", "origin_country": - "US"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '160' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/customs_items - response: - body: - string: '{"id": "cstitem_beb82d4ae2a745bbbc769caf1d234a34", "object": "CustomsItem", - "created_at": "2024-01-19T21:40:44Z", "updated_at": "2024-01-19T21:40:44Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '370' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/customs_items/cstitem_beb82d4ae2a745bbbc769caf1d234a34 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaec5ce78b9b69000cd105 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.041566' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/customs_items/cstitem_beb82d4ae2a745bbbc769caf1d234a34 - response: - body: - string: '{"id": "cstitem_beb82d4ae2a745bbbc769caf1d234a34", "object": "CustomsItem", - "created_at": "2024-01-19T21:40:44Z", "updated_at": "2024-01-19T21:40:44Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '370' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaec5ce78b9b6a000cd142 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.023428' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"customs_item": {"description": "T-shirt", "quantity": "1", "weight": - "5", "value": "10", "code": "123", "hs_tariff_number": "123456", "origin_country": - "US"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '160' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/customs_items - response: - body: - string: '{"id": "cstitem_12da4b4f69084b459b6dedb79f51d89f", "object": "CustomsItem", - "created_at": "2024-01-19T21:43:13Z", "updated_at": "2024-01-19T21:43:13Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '370' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/customs_items/cstitem_12da4b4f69084b459b6dedb79f51d89f - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaecf1e78ba3a4000d2ed9 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.033511' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/customs_items/cstitem_12da4b4f69084b459b6dedb79f51d89f - response: - body: - string: '{"id": "cstitem_12da4b4f69084b459b6dedb79f51d89f", "object": "CustomsItem", - "created_at": "2024-01-19T21:43:13Z", "updated_at": "2024-01-19T21:43:13Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '370' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaecf1e78ba3a5000d2f06 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.025705' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"customs_item": {"description": "T-shirt", "quantity": "1", "weight": - "5", "value": "10", "code": "123", "hs_tariff_number": "123456", "origin_country": - "US"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '160' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/customs_items - response: - body: - string: '{"id": "cstitem_54eed18ca7df4976b589f90866e66a38", "object": "CustomsItem", - "created_at": "2024-01-19T21:47:03Z", "updated_at": "2024-01-19T21:47:03Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '370' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/customs_items/cstitem_54eed18ca7df4976b589f90866e66a38 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda965aaedd7e78bac2e00112320 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.035962' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/customs_items/cstitem_54eed18ca7df4976b589f90866e66a38 - response: - body: - string: '{"id": "cstitem_54eed18ca7df4976b589f90866e66a38", "object": "CustomsItem", - "created_at": "2024-01-19T21:47:03Z", "updated_at": "2024-01-19T21:47:03Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '370' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdac65aaedd7e78bac2f00112349 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.026935' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"customs_item": {"description": "T-shirt", "quantity": "1", "weight": - "5", "value": "10", "code": "123", "hs_tariff_number": "123456", "origin_country": - "US"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '160' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/customs_items - response: - body: - string: '{"id": "cstitem_a4482cfc1be64b38a4689609b74dd9b1", "object": "CustomsItem", - "created_at": "2024-01-19T21:48:55Z", "updated_at": "2024-01-19T21:48:55Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '370' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/customs_items/cstitem_a4482cfc1be64b38a4689609b74dd9b1 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdab65aaee47e78bb44e001166fe - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.034911' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/customs_items/cstitem_a4482cfc1be64b38a4689609b74dd9b1 - response: - body: - string: '{"id": "cstitem_a4482cfc1be64b38a4689609b74dd9b1", "object": "CustomsItem", - "created_at": "2024-01-19T21:48:55Z", "updated_at": "2024-01-19T21:48:55Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '370' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda965aaee47e78bb4660011671f - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.025247' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"customs_item": {"description": "T-shirt", "quantity": "1", "weight": - "5", "value": "10", "code": "123", "hs_tariff_number": "123456", "origin_country": - "US"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '160' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/customs_items - response: - body: - string: '{"id": "cstitem_b6beffb15acf4c9990635b4b6c97dceb", "object": "CustomsItem", - "created_at": "2024-01-19T21:58:16Z", "updated_at": "2024-01-19T21:58:16Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '370' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/customs_items/cstitem_b6beffb15acf4c9990635b4b6c97dceb - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaf078e798bbfb000f6c65 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.032660' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/customs_items/cstitem_b6beffb15acf4c9990635b4b6c97dceb - response: - body: - string: '{"id": "cstitem_b6beffb15acf4c9990635b4b6c97dceb", "object": "CustomsItem", - "created_at": "2024-01-19T21:58:16Z", "updated_at": "2024-01-19T21:58:16Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '370' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf078e798bbfc000f6c82 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.022378' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"customs_item": {"description": "T-shirt", "quantity": "1", "weight": - "5", "value": "10", "code": "123", "hs_tariff_number": "123456", "origin_country": - "US"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '160' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/customs_items - response: - body: - string: '{"id": "cstitem_1b966abb642042cb954b639a62ca7655", "object": "CustomsItem", - "created_at": "2024-01-19T22:01:10Z", "updated_at": "2024-01-19T22:01:10Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '370' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/customs_items/cstitem_1b966abb642042cb954b639a62ca7655 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaf126e798c441000ff372 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.032173' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/customs_items/cstitem_1b966abb642042cb954b639a62ca7655 - response: - body: - string: '{"id": "cstitem_1b966abb642042cb954b639a62ca7655", "object": "CustomsItem", - "created_at": "2024-01-19T22:01:10Z", "updated_at": "2024-01-19T22:01:10Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '370' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaf126e798c442000ff3b4 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.025089' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"customs_item": {"description": "T-shirt", "quantity": "1", "weight": - "5", "value": "10", "code": "123", "hs_tariff_number": "123456", "origin_country": - "US"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '160' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/customs_items - response: - body: - string: '{"id": "cstitem_eabb1fd0ab784b128e7ee71474eff386", "object": "CustomsItem", - "created_at": "2024-01-19T22:04:56Z", "updated_at": "2024-01-19T22:04:56Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '370' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/customs_items/cstitem_eabb1fd0ab784b128e7ee71474eff386 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf208e798cd250010a5ad - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.039756' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/customs_items/cstitem_eabb1fd0ab784b128e7ee71474eff386 - response: - body: - string: '{"id": "cstitem_eabb1fd0ab784b128e7ee71474eff386", "object": "CustomsItem", - "created_at": "2024-01-19T22:04:56Z", "updated_at": "2024-01-19T22:04:56Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '370' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf209e798cd260010a5d7 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.029896' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"customs_item": {"description": "T-shirt", "quantity": "1", "weight": - "5", "value": "10", "code": "123", "hs_tariff_number": "123456", "origin_country": - "US"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '160' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/customs_items - response: - body: - string: '{"id": "cstitem_4345c993055640b68d246dc2b04d8b9f", "object": "CustomsItem", - "created_at": "2024-01-19T22:06:29Z", "updated_at": "2024-01-19T22:06:29Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '370' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/customs_items/cstitem_4345c993055640b68d246dc2b04d8b9f - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf265e798d4de0010e4cf - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.030423' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/customs_items/cstitem_4345c993055640b68d246dc2b04d8b9f - response: - body: - string: '{"id": "cstitem_4345c993055640b68d246dc2b04d8b9f", "object": "CustomsItem", - "created_at": "2024-01-19T22:06:29Z", "updated_at": "2024-01-19T22:06:29Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '370' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaf265e798d4df0010e4f7 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.021960' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_endshipper_buy.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_endshipper_buy.yaml deleted file mode 100644 index ab89df91..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_endshipper_buy.yaml +++ /dev/null @@ -1,3440 +0,0 @@ -interactions: -- request: - body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": - "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", - "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": - "FOO@EXAMPLE.COM"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '252' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/end_shippers - response: - body: - string: '{"id": "es_c1c717f7dbff4a188c92dfab2dcb67ad", "object": "EndShipper", - "mode": "test", "created_at": "2024-01-19T21:40:47+00:00", "updated_at": "2024-01-19T21:40:47+00:00", - "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", - "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '362' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaec5fe78b9b88000cd2f9 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.044720' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '885' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:40:47Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T21:40:48Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_f5ae2b124dfa422bbce11d7dd7766749", - "object": "CustomsInfo", "created_at": "2024-01-19T21:40:47Z", "updated_at": - "2024-01-19T21:40:47Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_e38f63f10ba845b2affb9b83f6bd5fae", "object": "CustomsItem", - "created_at": "2024-01-19T21:40:47Z", "updated_at": "2024-01-19T21:40:47Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_6857ed0cb71311ee92ba3cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:40:47+00:00", "updated_at": "2024-01-19T21:40:47+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_37698469493d42fc9414475e42e06cf4", "object": "Parcel", "created_at": - "2024-01-19T21:40:47Z", "updated_at": "2024-01-19T21:40:47Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_5257dd59081340f9b832d5e6109d5784", - "object": "Rate", "created_at": "2024-01-19T21:40:48Z", "updated_at": "2024-01-19T21:40:48Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_dcf8c9e3a01d4e08b25b5f88f39b0b1a", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_e14159fbc6684d88bbba290cebd97bdb", - "object": "Rate", "created_at": "2024-01-19T21:40:48Z", "updated_at": "2024-01-19T21:40:48Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_dcf8c9e3a01d4e08b25b5f88f39b0b1a", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_00cd9ffabed94a20a0112ffb19bfbbe2", - "object": "Rate", "created_at": "2024-01-19T21:40:48Z", "updated_at": "2024-01-19T21:40:48Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_dcf8c9e3a01d4e08b25b5f88f39b0b1a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_332d0a9355db4590bb0c596692ff48fa", "object": "Rate", "created_at": - "2024-01-19T21:40:48Z", "updated_at": "2024-01-19T21:40:48Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_dcf8c9e3a01d4e08b25b5f88f39b0b1a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_a16bc33d77bc434ab559383ea26c8016", "object": "Rate", "created_at": - "2024-01-19T21:40:48Z", "updated_at": "2024-01-19T21:40:48Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_dcf8c9e3a01d4e08b25b5f88f39b0b1a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_68550af9b71311ee92b93cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:40:47+00:00", "updated_at": "2024-01-19T21:40:47+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_6857ed0cb71311ee92ba3cecef1b359e", "object": "Address", "created_at": - "2024-01-19T21:40:47+00:00", "updated_at": "2024-01-19T21:40:47+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_68550af9b71311ee92b93cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:40:47+00:00", "updated_at": - "2024-01-19T21:40:47+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_dcf8c9e3a01d4e08b25b5f88f39b0b1a", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_dcf8c9e3a01d4e08b25b5f88f39b0b1a - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaec5fe78b9b89000cd323 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.899614' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"rate": {"id": "rate_e14159fbc6684d88bbba290cebd97bdb"}, "end_shipper_id": - "es_c1c717f7dbff4a188c92dfab2dcb67ad"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '114' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments/shp_dcf8c9e3a01d4e08b25b5f88f39b0b1a/buy - response: - body: - string: '{"created_at": "2024-01-19T21:40:47Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9434600207552010707589", "updated_at": "2024-01-19T21:40:49Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_f5ae2b124dfa422bbce11d7dd7766749", "object": "CustomsInfo", "created_at": - "2024-01-19T21:40:47Z", "updated_at": "2024-01-19T21:40:47Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_e38f63f10ba845b2affb9b83f6bd5fae", - "object": "CustomsItem", "created_at": "2024-01-19T21:40:47Z", "updated_at": - "2024-01-19T21:40:47Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_6857ed0cb71311ee92ba3cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:40:47+00:00", "updated_at": - "2024-01-19T21:40:47+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_37698469493d42fc9414475e42e06cf4", - "object": "Parcel", "created_at": "2024-01-19T21:40:47Z", "updated_at": "2024-01-19T21:40:47Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_18386a07b4bc4c27b181b0be7f8fa6b6", "created_at": "2024-01-19T21:40:49Z", - "updated_at": "2024-01-19T21:40:49Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:40:49Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8e1ee4970791240f99f95534289623efe.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_5257dd59081340f9b832d5e6109d5784", "object": - "Rate", "created_at": "2024-01-19T21:40:48Z", "updated_at": "2024-01-19T21:40:48Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_dcf8c9e3a01d4e08b25b5f88f39b0b1a", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_e14159fbc6684d88bbba290cebd97bdb", - "object": "Rate", "created_at": "2024-01-19T21:40:48Z", "updated_at": "2024-01-19T21:40:48Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_dcf8c9e3a01d4e08b25b5f88f39b0b1a", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_00cd9ffabed94a20a0112ffb19bfbbe2", - "object": "Rate", "created_at": "2024-01-19T21:40:48Z", "updated_at": "2024-01-19T21:40:48Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_dcf8c9e3a01d4e08b25b5f88f39b0b1a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_332d0a9355db4590bb0c596692ff48fa", "object": "Rate", "created_at": - "2024-01-19T21:40:48Z", "updated_at": "2024-01-19T21:40:48Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_dcf8c9e3a01d4e08b25b5f88f39b0b1a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_a16bc33d77bc434ab559383ea26c8016", "object": "Rate", "created_at": - "2024-01-19T21:40:48Z", "updated_at": "2024-01-19T21:40:48Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_dcf8c9e3a01d4e08b25b5f88f39b0b1a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_e14159fbc6684d88bbba290cebd97bdb", - "object": "Rate", "created_at": "2024-01-19T21:40:49Z", "updated_at": "2024-01-19T21:40:49Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_dcf8c9e3a01d4e08b25b5f88f39b0b1a", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_83f8ab2e8b7249898ca784087db0f055", - "object": "Tracker", "mode": "test", "tracking_code": "9434600207552010707589", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:40:49Z", - "updated_at": "2024-01-19T21:40:49Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_dcf8c9e3a01d4e08b25b5f88f39b0b1a", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzgzZjhhYjJlOGI3MjQ5ODk4Y2E3ODQwODdkYjBmMDU1"}, - "to_address": {"id": "adr_68550af9b71311ee92b93cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:40:47+00:00", "updated_at": "2024-01-19T21:40:49+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_6857ed0cb71311ee92ba3cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:40:47+00:00", "updated_at": - "2024-01-19T21:40:47+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_68550af9b71311ee92b93cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:40:47+00:00", "updated_at": "2024-01-19T21:40:49+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "6.79000", "charged": true, "refunded": false}], "id": "shp_dcf8c9e3a01d4e08b25b5f88f39b0b1a", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '9345' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaec60e78b9b8a000cd3db - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.855571' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": - "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", - "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": - "FOO@EXAMPLE.COM"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '252' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/end_shippers - response: - body: - string: '{"id": "es_5532332e68d64a4692505cbb1555558d", "object": "EndShipper", - "mode": "test", "created_at": "2024-01-19T21:43:16+00:00", "updated_at": "2024-01-19T21:43:16+00:00", - "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", - "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '362' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaecf4e78ba3ac000d3083 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.076619' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '885' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:43:16Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T21:43:17Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_bc9fae79c14c4c15b21d13d2935aa3b7", - "object": "CustomsInfo", "created_at": "2024-01-19T21:43:16Z", "updated_at": - "2024-01-19T21:43:16Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_cf9c3048ade54aec85c2c01cf5ac6d2c", "object": "CustomsItem", - "created_at": "2024-01-19T21:43:16Z", "updated_at": "2024-01-19T21:43:16Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_c101bd48b71311eeb518ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:43:16+00:00", "updated_at": "2024-01-19T21:43:16+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_fd9c8cf6b2ca4f539869fa0ddaca8212", "object": "Parcel", "created_at": - "2024-01-19T21:43:16Z", "updated_at": "2024-01-19T21:43:16Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_ea10f012141b43a992f0d1d978f2300c", - "object": "Rate", "created_at": "2024-01-19T21:43:17Z", "updated_at": "2024-01-19T21:43:17Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_507ef82c948d42a9961e60e95af0103a", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_2718e84285394378b0b2ce47bc200247", - "object": "Rate", "created_at": "2024-01-19T21:43:17Z", "updated_at": "2024-01-19T21:43:17Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_507ef82c948d42a9961e60e95af0103a", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b63aa29d31ac4f268c05e3e779c5e9ec", - "object": "Rate", "created_at": "2024-01-19T21:43:17Z", "updated_at": "2024-01-19T21:43:17Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_507ef82c948d42a9961e60e95af0103a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_97dc30fd69444106894a63244b8ca247", "object": "Rate", "created_at": - "2024-01-19T21:43:17Z", "updated_at": "2024-01-19T21:43:17Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_507ef82c948d42a9961e60e95af0103a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_05bd761c23e2439c9114aec4ef6dd7d1", "object": "Rate", "created_at": - "2024-01-19T21:43:17Z", "updated_at": "2024-01-19T21:43:17Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_507ef82c948d42a9961e60e95af0103a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_c0ff9890b71311eeb516ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:43:16+00:00", "updated_at": "2024-01-19T21:43:16+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_c101bd48b71311eeb518ac1f6bc539ae", "object": "Address", "created_at": - "2024-01-19T21:43:16+00:00", "updated_at": "2024-01-19T21:43:16+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_c0ff9890b71311eeb516ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:43:16+00:00", "updated_at": - "2024-01-19T21:43:16+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_507ef82c948d42a9961e60e95af0103a", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_507ef82c948d42a9961e60e95af0103a - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaecf4e78ba3ad000d30b5 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.724965' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"rate": {"id": "rate_2718e84285394378b0b2ce47bc200247"}, "end_shipper_id": - "es_5532332e68d64a4692505cbb1555558d"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '114' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments/shp_507ef82c948d42a9961e60e95af0103a/buy - response: - body: - string: '{"created_at": "2024-01-19T21:43:16Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9434600207552010707961", "updated_at": "2024-01-19T21:43:18Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_bc9fae79c14c4c15b21d13d2935aa3b7", "object": "CustomsInfo", "created_at": - "2024-01-19T21:43:16Z", "updated_at": "2024-01-19T21:43:16Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_cf9c3048ade54aec85c2c01cf5ac6d2c", - "object": "CustomsItem", "created_at": "2024-01-19T21:43:16Z", "updated_at": - "2024-01-19T21:43:16Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_c101bd48b71311eeb518ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:43:16+00:00", "updated_at": - "2024-01-19T21:43:16+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_fd9c8cf6b2ca4f539869fa0ddaca8212", - "object": "Parcel", "created_at": "2024-01-19T21:43:16Z", "updated_at": "2024-01-19T21:43:16Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_f4ed506dc44f48ffaec8139e2e973880", "created_at": "2024-01-19T21:43:17Z", - "updated_at": "2024-01-19T21:43:18Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:43:17Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8a76169aa84f443709076cb845152e2ae.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_ea10f012141b43a992f0d1d978f2300c", "object": - "Rate", "created_at": "2024-01-19T21:43:17Z", "updated_at": "2024-01-19T21:43:17Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_507ef82c948d42a9961e60e95af0103a", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_2718e84285394378b0b2ce47bc200247", - "object": "Rate", "created_at": "2024-01-19T21:43:17Z", "updated_at": "2024-01-19T21:43:17Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_507ef82c948d42a9961e60e95af0103a", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b63aa29d31ac4f268c05e3e779c5e9ec", - "object": "Rate", "created_at": "2024-01-19T21:43:17Z", "updated_at": "2024-01-19T21:43:17Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_507ef82c948d42a9961e60e95af0103a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_97dc30fd69444106894a63244b8ca247", "object": "Rate", "created_at": - "2024-01-19T21:43:17Z", "updated_at": "2024-01-19T21:43:17Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_507ef82c948d42a9961e60e95af0103a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_05bd761c23e2439c9114aec4ef6dd7d1", "object": "Rate", "created_at": - "2024-01-19T21:43:17Z", "updated_at": "2024-01-19T21:43:17Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_507ef82c948d42a9961e60e95af0103a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_2718e84285394378b0b2ce47bc200247", - "object": "Rate", "created_at": "2024-01-19T21:43:17Z", "updated_at": "2024-01-19T21:43:17Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_507ef82c948d42a9961e60e95af0103a", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_85776d98925a4f74bc4f95ce04180f9e", - "object": "Tracker", "mode": "test", "tracking_code": "9434600207552010707961", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:43:18Z", - "updated_at": "2024-01-19T21:43:18Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_507ef82c948d42a9961e60e95af0103a", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzg1Nzc2ZDk4OTI1YTRmNzRiYzRmOTVjZTA0MTgwZjll"}, - "to_address": {"id": "adr_c0ff9890b71311eeb516ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:43:16+00:00", "updated_at": "2024-01-19T21:43:17+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_c101bd48b71311eeb518ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:43:16+00:00", "updated_at": - "2024-01-19T21:43:16+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_c0ff9890b71311eeb516ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:43:16+00:00", "updated_at": "2024-01-19T21:43:17+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "6.79000", "charged": true, "refunded": false}], "id": "shp_507ef82c948d42a9961e60e95af0103a", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '9345' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaecf5e78ba3c5000d315c - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.791192' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": - "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", - "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": - "FOO@EXAMPLE.COM"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '252' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/end_shippers - response: - body: - string: '{"id": "es_173247690d7a47b397c26714ecff99b2", "object": "EndShipper", - "mode": "test", "created_at": "2024-01-19T21:47:06+00:00", "updated_at": "2024-01-19T21:47:06+00:00", - "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", - "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '362' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda865aaeddae78bac4d0011255e - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.050834' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '885' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:47:06Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T21:47:07Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_bd44a99e72694ceaa8b7479f73e68096", - "object": "CustomsInfo", "created_at": "2024-01-19T21:47:06Z", "updated_at": - "2024-01-19T21:47:06Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_592053f8edae4fa398927151fc0354d2", "object": "CustomsItem", - "created_at": "2024-01-19T21:47:06Z", "updated_at": "2024-01-19T21:47:06Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_4a543999b71411eea17eac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:47:06+00:00", "updated_at": "2024-01-19T21:47:06+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_de7af7ff1ce641bb85cdda207b10df5f", "object": "Parcel", "created_at": - "2024-01-19T21:47:06Z", "updated_at": "2024-01-19T21:47:06Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_0c6ea1843003441c91170e2af7e7de0d", - "object": "Rate", "created_at": "2024-01-19T21:47:07Z", "updated_at": "2024-01-19T21:47:07Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_13284ca6f7934809a57f6eb49df3c448", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_462abd52446542c1b773da7372543def", - "object": "Rate", "created_at": "2024-01-19T21:47:07Z", "updated_at": "2024-01-19T21:47:07Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_13284ca6f7934809a57f6eb49df3c448", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_89c2a7a1b5854379840289e7095e336e", - "object": "Rate", "created_at": "2024-01-19T21:47:07Z", "updated_at": "2024-01-19T21:47:07Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_13284ca6f7934809a57f6eb49df3c448", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_fecf4443662e466baf6e1e2679e13997", - "object": "Rate", "created_at": "2024-01-19T21:47:07Z", "updated_at": "2024-01-19T21:47:07Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_13284ca6f7934809a57f6eb49df3c448", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_26ebf9dbf262441f8721a67f5323dcd5", "object": "Rate", "created_at": - "2024-01-19T21:47:07Z", "updated_at": "2024-01-19T21:47:07Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_13284ca6f7934809a57f6eb49df3c448", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_4a516f04b71411eea263ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:47:06+00:00", "updated_at": "2024-01-19T21:47:06+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_4a543999b71411eea17eac1f6bc53342", "object": "Address", "created_at": - "2024-01-19T21:47:06+00:00", "updated_at": "2024-01-19T21:47:06+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_4a516f04b71411eea263ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:47:06+00:00", "updated_at": - "2024-01-19T21:47:06+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_13284ca6f7934809a57f6eb49df3c448", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_13284ca6f7934809a57f6eb49df3c448 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda865aaeddae78bac4e0011258f - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.761277' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"rate": {"id": "rate_89c2a7a1b5854379840289e7095e336e"}, "end_shipper_id": - "es_173247690d7a47b397c26714ecff99b2"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '114' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments/shp_13284ca6f7934809a57f6eb49df3c448/buy - response: - body: - string: '{"created_at": "2024-01-19T21:47:06Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9434600207552010708371", "updated_at": "2024-01-19T21:47:08Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_bd44a99e72694ceaa8b7479f73e68096", "object": "CustomsInfo", "created_at": - "2024-01-19T21:47:06Z", "updated_at": "2024-01-19T21:47:06Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_592053f8edae4fa398927151fc0354d2", - "object": "CustomsItem", "created_at": "2024-01-19T21:47:06Z", "updated_at": - "2024-01-19T21:47:06Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_4a543999b71411eea17eac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:47:06+00:00", "updated_at": - "2024-01-19T21:47:06+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_de7af7ff1ce641bb85cdda207b10df5f", - "object": "Parcel", "created_at": "2024-01-19T21:47:06Z", "updated_at": "2024-01-19T21:47:06Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_248f690964ee41499b7f76bd1fe4333d", "created_at": "2024-01-19T21:47:08Z", - "updated_at": "2024-01-19T21:47:08Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:47:08Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8b0ca15ef9f34487494390c9097a970ec.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_0c6ea1843003441c91170e2af7e7de0d", "object": - "Rate", "created_at": "2024-01-19T21:47:07Z", "updated_at": "2024-01-19T21:47:07Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_13284ca6f7934809a57f6eb49df3c448", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_462abd52446542c1b773da7372543def", - "object": "Rate", "created_at": "2024-01-19T21:47:07Z", "updated_at": "2024-01-19T21:47:07Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_13284ca6f7934809a57f6eb49df3c448", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_89c2a7a1b5854379840289e7095e336e", - "object": "Rate", "created_at": "2024-01-19T21:47:07Z", "updated_at": "2024-01-19T21:47:07Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_13284ca6f7934809a57f6eb49df3c448", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_fecf4443662e466baf6e1e2679e13997", - "object": "Rate", "created_at": "2024-01-19T21:47:07Z", "updated_at": "2024-01-19T21:47:07Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_13284ca6f7934809a57f6eb49df3c448", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_26ebf9dbf262441f8721a67f5323dcd5", "object": "Rate", "created_at": - "2024-01-19T21:47:07Z", "updated_at": "2024-01-19T21:47:07Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_13284ca6f7934809a57f6eb49df3c448", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_89c2a7a1b5854379840289e7095e336e", - "object": "Rate", "created_at": "2024-01-19T21:47:08Z", "updated_at": "2024-01-19T21:47:08Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_13284ca6f7934809a57f6eb49df3c448", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_c94a1eb8a8de4a2bb864c39d3ed11abe", - "object": "Tracker", "mode": "test", "tracking_code": "9434600207552010708371", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:47:08Z", - "updated_at": "2024-01-19T21:47:08Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_13284ca6f7934809a57f6eb49df3c448", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrX2M5NGExZWI4YThkZTRhMmJiODY0YzM5ZDNlZDExYWJl"}, - "to_address": {"id": "adr_4a516f04b71411eea263ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:47:06+00:00", "updated_at": "2024-01-19T21:47:08+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_4a543999b71411eea17eac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:47:06+00:00", "updated_at": - "2024-01-19T21:47:06+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_4a516f04b71411eea263ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:47:06+00:00", "updated_at": "2024-01-19T21:47:08+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "6.79000", "charged": true, "refunded": false}], "id": "shp_13284ca6f7934809a57f6eb49df3c448", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '9345' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda965aaeddbe78bac4f0011263e - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.944668' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": - "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", - "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": - "FOO@EXAMPLE.COM"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '252' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/end_shippers - response: - body: - string: '{"id": "es_ce8a41a2dda24013a7ad6e753fec38ce", "object": "EndShipper", - "mode": "test", "created_at": "2024-01-19T21:48:58+00:00", "updated_at": "2024-01-19T21:48:58+00:00", - "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", - "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '362' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda865aaee4ae78bb4870011689b - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.048417' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '885' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:48:58Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T21:48:59Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_529515260f144ea1a210fee543520029", - "object": "CustomsInfo", "created_at": "2024-01-19T21:48:58Z", "updated_at": - "2024-01-19T21:48:58Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_e9238ea49dc04498a6927f4f4bc7455c", "object": "CustomsItem", - "created_at": "2024-01-19T21:48:58Z", "updated_at": "2024-01-19T21:48:58Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_8d04b225b71411eeb3bb3cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:48:58+00:00", "updated_at": "2024-01-19T21:48:58+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_196c387b262f4e719b6fea3419443823", "object": "Parcel", "created_at": - "2024-01-19T21:48:58Z", "updated_at": "2024-01-19T21:48:58Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_8c7b5e06a3c042adabc7d39096e72366", - "object": "Rate", "created_at": "2024-01-19T21:48:59Z", "updated_at": "2024-01-19T21:48:59Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_328894b421344482a82c8ad0b66db729", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_e06741bf2cf8490f82dd69cc78f40d0a", - "object": "Rate", "created_at": "2024-01-19T21:48:59Z", "updated_at": "2024-01-19T21:48:59Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_328894b421344482a82c8ad0b66db729", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_ace854d92071406bb449779fd530d8c3", - "object": "Rate", "created_at": "2024-01-19T21:48:59Z", "updated_at": "2024-01-19T21:48:59Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_328894b421344482a82c8ad0b66db729", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_2937f806321042718de085187e67de80", - "object": "Rate", "created_at": "2024-01-19T21:48:59Z", "updated_at": "2024-01-19T21:48:59Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_328894b421344482a82c8ad0b66db729", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_1d75de43e36e4c58bfb785b3b3e157f1", "object": "Rate", "created_at": - "2024-01-19T21:48:59Z", "updated_at": "2024-01-19T21:48:59Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_328894b421344482a82c8ad0b66db729", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_8d020871b71411ee8545ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:48:58+00:00", "updated_at": "2024-01-19T21:48:58+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_8d04b225b71411eeb3bb3cecef1b359e", "object": "Address", "created_at": - "2024-01-19T21:48:58+00:00", "updated_at": "2024-01-19T21:48:58+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_8d020871b71411ee8545ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:48:58+00:00", "updated_at": - "2024-01-19T21:48:58+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_328894b421344482a82c8ad0b66db729", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_328894b421344482a82c8ad0b66db729 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda765aaee4ae78bb488001168c4 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.854149' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"rate": {"id": "rate_ace854d92071406bb449779fd530d8c3"}, "end_shipper_id": - "es_ce8a41a2dda24013a7ad6e753fec38ce"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '114' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments/shp_328894b421344482a82c8ad0b66db729/buy - response: - body: - string: '{"created_at": "2024-01-19T21:48:58Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9434600207552010708845", "updated_at": "2024-01-19T21:49:00Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_529515260f144ea1a210fee543520029", "object": "CustomsInfo", "created_at": - "2024-01-19T21:48:58Z", "updated_at": "2024-01-19T21:48:58Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_e9238ea49dc04498a6927f4f4bc7455c", - "object": "CustomsItem", "created_at": "2024-01-19T21:48:58Z", "updated_at": - "2024-01-19T21:48:58Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_8d04b225b71411eeb3bb3cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:48:58+00:00", "updated_at": - "2024-01-19T21:48:58+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_196c387b262f4e719b6fea3419443823", - "object": "Parcel", "created_at": "2024-01-19T21:48:58Z", "updated_at": "2024-01-19T21:48:58Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_f0f705de5e4047308aae2052bbaa5f52", "created_at": "2024-01-19T21:49:00Z", - "updated_at": "2024-01-19T21:49:00Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:49:00Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8ffe9ec350a8a48e782817c4cd9f85c08.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_8c7b5e06a3c042adabc7d39096e72366", "object": - "Rate", "created_at": "2024-01-19T21:48:59Z", "updated_at": "2024-01-19T21:48:59Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_328894b421344482a82c8ad0b66db729", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_e06741bf2cf8490f82dd69cc78f40d0a", - "object": "Rate", "created_at": "2024-01-19T21:48:59Z", "updated_at": "2024-01-19T21:48:59Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_328894b421344482a82c8ad0b66db729", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_ace854d92071406bb449779fd530d8c3", - "object": "Rate", "created_at": "2024-01-19T21:48:59Z", "updated_at": "2024-01-19T21:48:59Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_328894b421344482a82c8ad0b66db729", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_2937f806321042718de085187e67de80", - "object": "Rate", "created_at": "2024-01-19T21:48:59Z", "updated_at": "2024-01-19T21:48:59Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_328894b421344482a82c8ad0b66db729", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_1d75de43e36e4c58bfb785b3b3e157f1", "object": "Rate", "created_at": - "2024-01-19T21:48:59Z", "updated_at": "2024-01-19T21:48:59Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_328894b421344482a82c8ad0b66db729", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_ace854d92071406bb449779fd530d8c3", - "object": "Rate", "created_at": "2024-01-19T21:49:00Z", "updated_at": "2024-01-19T21:49:00Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_328894b421344482a82c8ad0b66db729", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_5e6dd189cd114032a8fc24dd3db2466a", - "object": "Tracker", "mode": "test", "tracking_code": "9434600207552010708845", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:49:00Z", - "updated_at": "2024-01-19T21:49:00Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_328894b421344482a82c8ad0b66db729", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzVlNmRkMTg5Y2QxMTQwMzJhOGZjMjRkZDNkYjI0NjZh"}, - "to_address": {"id": "adr_8d020871b71411ee8545ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T21:48:58+00:00", "updated_at": "2024-01-19T21:48:59+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_8d04b225b71411eeb3bb3cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:48:58+00:00", "updated_at": - "2024-01-19T21:48:58+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_8d020871b71411ee8545ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:48:58+00:00", "updated_at": "2024-01-19T21:48:59+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "6.79000", "charged": true, "refunded": false}], "id": "shp_328894b421344482a82c8ad0b66db729", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '9345' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdaa65aaee4be78bb48900116972 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.809537' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": - "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", - "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": - "FOO@EXAMPLE.COM"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '252' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/end_shippers - response: - body: - string: '{"id": "es_02390ad699ce4b5cbcc23ff9ec117e36", "object": "EndShipper", - "mode": "test", "created_at": "2024-01-19T21:58:19+00:00", "updated_at": "2024-01-19T21:58:19+00:00", - "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", - "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '362' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf07be798bc03000f6e57 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.073732' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '885' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:58:20Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T21:58:20Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_3e301196859942bc93104da786dd1e09", - "object": "CustomsInfo", "created_at": "2024-01-19T21:58:20Z", "updated_at": - "2024-01-19T21:58:20Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_f52a01d2832a40b8b71b41a358139936", "object": "CustomsItem", - "created_at": "2024-01-19T21:58:20Z", "updated_at": "2024-01-19T21:58:20Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_db813df5b71511eea5adac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:58:19+00:00", "updated_at": "2024-01-19T21:58:19+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_bc8c75b97e694c218d0cb9751afc40ed", "object": "Parcel", "created_at": - "2024-01-19T21:58:20Z", "updated_at": "2024-01-19T21:58:20Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_224e306ca72a4bf2bf780f4818fe947f", - "object": "Rate", "created_at": "2024-01-19T21:58:20Z", "updated_at": "2024-01-19T21:58:20Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_e600bdcd679b426a9924e4660d9da442", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_da508487e3464336af429c8e03f25fbe", - "object": "Rate", "created_at": "2024-01-19T21:58:20Z", "updated_at": "2024-01-19T21:58:20Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_e600bdcd679b426a9924e4660d9da442", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f9cb0482cc6642f4ac06eed7f03f9478", - "object": "Rate", "created_at": "2024-01-19T21:58:20Z", "updated_at": "2024-01-19T21:58:20Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_e600bdcd679b426a9924e4660d9da442", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_cdaf3041dcf74240b6c7a0c606dc5c37", - "object": "Rate", "created_at": "2024-01-19T21:58:20Z", "updated_at": "2024-01-19T21:58:20Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_e600bdcd679b426a9924e4660d9da442", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_41e9a45c1c774b288d93787c96053f86", "object": "Rate", "created_at": - "2024-01-19T21:58:20Z", "updated_at": "2024-01-19T21:58:20Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_e600bdcd679b426a9924e4660d9da442", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_db7ee84ab71511eeb669ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:58:19+00:00", "updated_at": "2024-01-19T21:58:19+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_db813df5b71511eea5adac1f6bc53342", "object": "Address", "created_at": - "2024-01-19T21:58:19+00:00", "updated_at": "2024-01-19T21:58:19+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_db7ee84ab71511eeb669ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:58:19+00:00", "updated_at": - "2024-01-19T21:58:19+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_e600bdcd679b426a9924e4660d9da442", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_e600bdcd679b426a9924e4660d9da442 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf07be798bc1b000f6ea1 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.773214' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"rate": {"id": "rate_f9cb0482cc6642f4ac06eed7f03f9478"}, "end_shipper_id": - "es_02390ad699ce4b5cbcc23ff9ec117e36"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '114' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments/shp_e600bdcd679b426a9924e4660d9da442/buy - response: - body: - string: '{"created_at": "2024-01-19T21:58:20Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9434600207552010711357", "updated_at": "2024-01-19T21:58:21Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_3e301196859942bc93104da786dd1e09", "object": "CustomsInfo", "created_at": - "2024-01-19T21:58:20Z", "updated_at": "2024-01-19T21:58:20Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_f52a01d2832a40b8b71b41a358139936", - "object": "CustomsItem", "created_at": "2024-01-19T21:58:20Z", "updated_at": - "2024-01-19T21:58:20Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_db813df5b71511eea5adac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:58:19+00:00", "updated_at": - "2024-01-19T21:58:19+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_bc8c75b97e694c218d0cb9751afc40ed", - "object": "Parcel", "created_at": "2024-01-19T21:58:20Z", "updated_at": "2024-01-19T21:58:20Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_c6a4957ef00148e5b5d59e1967741bdd", "created_at": "2024-01-19T21:58:21Z", - "updated_at": "2024-01-19T21:58:21Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:58:21Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e82c3f4b15e36a401388727169dcfbf5f4.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_224e306ca72a4bf2bf780f4818fe947f", "object": - "Rate", "created_at": "2024-01-19T21:58:20Z", "updated_at": "2024-01-19T21:58:20Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_e600bdcd679b426a9924e4660d9da442", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_da508487e3464336af429c8e03f25fbe", - "object": "Rate", "created_at": "2024-01-19T21:58:20Z", "updated_at": "2024-01-19T21:58:20Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_e600bdcd679b426a9924e4660d9da442", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f9cb0482cc6642f4ac06eed7f03f9478", - "object": "Rate", "created_at": "2024-01-19T21:58:20Z", "updated_at": "2024-01-19T21:58:20Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_e600bdcd679b426a9924e4660d9da442", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_cdaf3041dcf74240b6c7a0c606dc5c37", - "object": "Rate", "created_at": "2024-01-19T21:58:20Z", "updated_at": "2024-01-19T21:58:20Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_e600bdcd679b426a9924e4660d9da442", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_41e9a45c1c774b288d93787c96053f86", "object": "Rate", "created_at": - "2024-01-19T21:58:20Z", "updated_at": "2024-01-19T21:58:20Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_e600bdcd679b426a9924e4660d9da442", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_f9cb0482cc6642f4ac06eed7f03f9478", - "object": "Rate", "created_at": "2024-01-19T21:58:21Z", "updated_at": "2024-01-19T21:58:21Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_e600bdcd679b426a9924e4660d9da442", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_f043b748ce0348eab74b87dc6997d0b0", - "object": "Tracker", "mode": "test", "tracking_code": "9434600207552010711357", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:58:21Z", - "updated_at": "2024-01-19T21:58:21Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_e600bdcd679b426a9924e4660d9da442", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrX2YwNDNiNzQ4Y2UwMzQ4ZWFiNzRiODdkYzY5OTdkMGIw"}, - "to_address": {"id": "adr_db7ee84ab71511eeb669ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T21:58:19+00:00", "updated_at": "2024-01-19T21:58:21+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_db813df5b71511eea5adac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:58:19+00:00", "updated_at": - "2024-01-19T21:58:19+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_db7ee84ab71511eeb669ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:58:19+00:00", "updated_at": "2024-01-19T21:58:21+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "6.79000", "charged": true, "refunded": false}], "id": "shp_e600bdcd679b426a9924e4660d9da442", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '9345' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf07ce798bc1c000f6f34 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.856116' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": - "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", - "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": - "FOO@EXAMPLE.COM"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '252' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/end_shippers - response: - body: - string: '{"id": "es_a6efaa8188884f16976e49bf924344a4", "object": "EndShipper", - "mode": "test", "created_at": "2024-01-19T22:01:13+00:00", "updated_at": "2024-01-19T22:01:13+00:00", - "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", - "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '362' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaf129e798c460000ff6e0 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.082105' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '885' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T22:01:14Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T22:01:14Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_a9f3ee5139cb45c68d868ac7cbf8b506", - "object": "CustomsInfo", "created_at": "2024-01-19T22:01:14Z", "updated_at": - "2024-01-19T22:01:14Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_3592579bf6d847cc8703714ef7cb538e", "object": "CustomsItem", - "created_at": "2024-01-19T22:01:14Z", "updated_at": "2024-01-19T22:01:14Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_434529cbb71611ee84a63cecef1b359e", "object": - "Address", "created_at": "2024-01-19T22:01:14+00:00", "updated_at": "2024-01-19T22:01:14+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_2b7d579b8fbc43beb3620058ca504d42", "object": "Parcel", "created_at": - "2024-01-19T22:01:14Z", "updated_at": "2024-01-19T22:01:14Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_2cd755ddfcbd4c2ea3e22ed05929d1ca", - "object": "Rate", "created_at": "2024-01-19T22:01:14Z", "updated_at": "2024-01-19T22:01:14Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_f861bb8363354b6c854d42dc66b5026f", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_363980f45b2a4456a94b3d51b86ba1e7", - "object": "Rate", "created_at": "2024-01-19T22:01:14Z", "updated_at": "2024-01-19T22:01:14Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_f861bb8363354b6c854d42dc66b5026f", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_a24275c267c74482b41c76029cb9f894", - "object": "Rate", "created_at": "2024-01-19T22:01:14Z", "updated_at": "2024-01-19T22:01:14Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_f861bb8363354b6c854d42dc66b5026f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_0a401290828c4b3e9f402ef44ac9b324", "object": "Rate", "created_at": - "2024-01-19T22:01:14Z", "updated_at": "2024-01-19T22:01:14Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_f861bb8363354b6c854d42dc66b5026f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_de63388da5c84545a2305f412a0b4daf", "object": "Rate", "created_at": - "2024-01-19T22:01:14Z", "updated_at": "2024-01-19T22:01:14Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_f861bb8363354b6c854d42dc66b5026f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_43434065b71611ee88acac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T22:01:14+00:00", "updated_at": "2024-01-19T22:01:14+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_434529cbb71611ee84a63cecef1b359e", "object": "Address", "created_at": - "2024-01-19T22:01:14+00:00", "updated_at": "2024-01-19T22:01:14+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_43434065b71611ee88acac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T22:01:14+00:00", "updated_at": - "2024-01-19T22:01:14+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_f861bb8363354b6c854d42dc66b5026f", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_f861bb8363354b6c854d42dc66b5026f - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaf12ae798c462000ff735 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.706289' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"rate": {"id": "rate_363980f45b2a4456a94b3d51b86ba1e7"}, "end_shipper_id": - "es_a6efaa8188884f16976e49bf924344a4"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '114' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments/shp_f861bb8363354b6c854d42dc66b5026f/buy - response: - body: - string: '{"created_at": "2024-01-19T22:01:14Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9434600207552010711791", "updated_at": "2024-01-19T22:01:15Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_a9f3ee5139cb45c68d868ac7cbf8b506", "object": "CustomsInfo", "created_at": - "2024-01-19T22:01:14Z", "updated_at": "2024-01-19T22:01:14Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_3592579bf6d847cc8703714ef7cb538e", - "object": "CustomsItem", "created_at": "2024-01-19T22:01:14Z", "updated_at": - "2024-01-19T22:01:14Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_434529cbb71611ee84a63cecef1b359e", - "object": "Address", "created_at": "2024-01-19T22:01:14+00:00", "updated_at": - "2024-01-19T22:01:14+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_2b7d579b8fbc43beb3620058ca504d42", - "object": "Parcel", "created_at": "2024-01-19T22:01:14Z", "updated_at": "2024-01-19T22:01:14Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_85c573cccf004426a55dfa226a14edf5", "created_at": "2024-01-19T22:01:15Z", - "updated_at": "2024-01-19T22:01:15Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T22:01:15Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8e81df5090d1547388d0020186f82ac18.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_2cd755ddfcbd4c2ea3e22ed05929d1ca", "object": - "Rate", "created_at": "2024-01-19T22:01:14Z", "updated_at": "2024-01-19T22:01:14Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_f861bb8363354b6c854d42dc66b5026f", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_363980f45b2a4456a94b3d51b86ba1e7", - "object": "Rate", "created_at": "2024-01-19T22:01:14Z", "updated_at": "2024-01-19T22:01:14Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_f861bb8363354b6c854d42dc66b5026f", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_a24275c267c74482b41c76029cb9f894", - "object": "Rate", "created_at": "2024-01-19T22:01:14Z", "updated_at": "2024-01-19T22:01:14Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_f861bb8363354b6c854d42dc66b5026f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_0a401290828c4b3e9f402ef44ac9b324", "object": "Rate", "created_at": - "2024-01-19T22:01:14Z", "updated_at": "2024-01-19T22:01:14Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_f861bb8363354b6c854d42dc66b5026f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_de63388da5c84545a2305f412a0b4daf", "object": "Rate", "created_at": - "2024-01-19T22:01:14Z", "updated_at": "2024-01-19T22:01:14Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_f861bb8363354b6c854d42dc66b5026f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_363980f45b2a4456a94b3d51b86ba1e7", - "object": "Rate", "created_at": "2024-01-19T22:01:15Z", "updated_at": "2024-01-19T22:01:15Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_f861bb8363354b6c854d42dc66b5026f", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_704697cf959e48158582a67855c89088", - "object": "Tracker", "mode": "test", "tracking_code": "9434600207552010711791", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:01:15Z", - "updated_at": "2024-01-19T22:01:15Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_f861bb8363354b6c854d42dc66b5026f", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzcwNDY5N2NmOTU5ZTQ4MTU4NTgyYTY3ODU1Yzg5MDg4"}, - "to_address": {"id": "adr_43434065b71611ee88acac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T22:01:14+00:00", "updated_at": "2024-01-19T22:01:15+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_434529cbb71611ee84a63cecef1b359e", - "object": "Address", "created_at": "2024-01-19T22:01:14+00:00", "updated_at": - "2024-01-19T22:01:14+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_43434065b71611ee88acac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T22:01:14+00:00", "updated_at": "2024-01-19T22:01:15+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "6.79000", "charged": true, "refunded": false}], "id": "shp_f861bb8363354b6c854d42dc66b5026f", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '9345' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf12ae798c463000ff827 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.873449' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": - "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", - "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": - "FOO@EXAMPLE.COM"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '252' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/end_shippers - response: - body: - string: '{"id": "es_2afeae8e7c5440d1b44df4dfd19a82c0", "object": "EndShipper", - "mode": "test", "created_at": "2024-01-19T22:05:00+00:00", "updated_at": "2024-01-19T22:05:00+00:00", - "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", - "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '362' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaf20ce798cd440010a785 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.048058' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '885' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T22:05:00Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T22:05:01Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_89c04686212245e98f4d38780612ff78", - "object": "CustomsInfo", "created_at": "2024-01-19T22:05:00Z", "updated_at": - "2024-01-19T22:05:00Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_4fe6f59bc5ac4611ba6731fb69fbed5f", "object": "CustomsItem", - "created_at": "2024-01-19T22:05:00Z", "updated_at": "2024-01-19T22:05:00Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_ca20bd53b71611ee81aaac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T22:05:00+00:00", "updated_at": "2024-01-19T22:05:00+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_d6c345478ca648b0ac53f19e2cc1a179", "object": "Parcel", "created_at": - "2024-01-19T22:05:00Z", "updated_at": "2024-01-19T22:05:00Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_4a70c22572c44179b77d5c710263cdd5", - "object": "Rate", "created_at": "2024-01-19T22:05:00Z", "updated_at": "2024-01-19T22:05:00Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_0a2e2fe81da9465a8238561c2a9aa1cc", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_09d784799db04caf84aaeedfe49077b7", - "object": "Rate", "created_at": "2024-01-19T22:05:00Z", "updated_at": "2024-01-19T22:05:00Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_0a2e2fe81da9465a8238561c2a9aa1cc", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_98cadf9a77d24aa68614ae5caa224885", - "object": "Rate", "created_at": "2024-01-19T22:05:00Z", "updated_at": "2024-01-19T22:05:00Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_0a2e2fe81da9465a8238561c2a9aa1cc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_f40a08963ce246ca98d79dcc831eee89", "object": "Rate", "created_at": - "2024-01-19T22:05:00Z", "updated_at": "2024-01-19T22:05:00Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_0a2e2fe81da9465a8238561c2a9aa1cc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_58f86265fe2d406a9e85702e94cb67d1", "object": "Rate", "created_at": - "2024-01-19T22:05:00Z", "updated_at": "2024-01-19T22:05:00Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_0a2e2fe81da9465a8238561c2a9aa1cc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_ca1e5973b71611eeafb23cecef1b359e", "object": - "Address", "created_at": "2024-01-19T22:05:00+00:00", "updated_at": "2024-01-19T22:05:00+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_ca20bd53b71611ee81aaac1f6bc539aa", "object": "Address", "created_at": - "2024-01-19T22:05:00+00:00", "updated_at": "2024-01-19T22:05:00+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_ca1e5973b71611eeafb23cecef1b359e", - "object": "Address", "created_at": "2024-01-19T22:05:00+00:00", "updated_at": - "2024-01-19T22:05:00+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_0a2e2fe81da9465a8238561c2a9aa1cc", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_0a2e2fe81da9465a8238561c2a9aa1cc - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf20ce798cd450010a7b2 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.740702' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"rate": {"id": "rate_09d784799db04caf84aaeedfe49077b7"}, "end_shipper_id": - "es_2afeae8e7c5440d1b44df4dfd19a82c0"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '114' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments/shp_0a2e2fe81da9465a8238561c2a9aa1cc/buy - response: - body: - string: '{"created_at": "2024-01-19T22:05:00Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9434600207552010712521", "updated_at": "2024-01-19T22:05:01Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_89c04686212245e98f4d38780612ff78", "object": "CustomsInfo", "created_at": - "2024-01-19T22:05:00Z", "updated_at": "2024-01-19T22:05:00Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_4fe6f59bc5ac4611ba6731fb69fbed5f", - "object": "CustomsItem", "created_at": "2024-01-19T22:05:00Z", "updated_at": - "2024-01-19T22:05:00Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_ca20bd53b71611ee81aaac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T22:05:00+00:00", "updated_at": - "2024-01-19T22:05:00+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_d6c345478ca648b0ac53f19e2cc1a179", - "object": "Parcel", "created_at": "2024-01-19T22:05:00Z", "updated_at": "2024-01-19T22:05:00Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_42ea1a9a1ae946288a292c22a169ef94", "created_at": "2024-01-19T22:05:01Z", - "updated_at": "2024-01-19T22:05:01Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T22:05:01Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e85bebd23d0b684abda5207d4362605d68.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_4a70c22572c44179b77d5c710263cdd5", "object": - "Rate", "created_at": "2024-01-19T22:05:00Z", "updated_at": "2024-01-19T22:05:00Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_0a2e2fe81da9465a8238561c2a9aa1cc", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_09d784799db04caf84aaeedfe49077b7", - "object": "Rate", "created_at": "2024-01-19T22:05:00Z", "updated_at": "2024-01-19T22:05:00Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_0a2e2fe81da9465a8238561c2a9aa1cc", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_98cadf9a77d24aa68614ae5caa224885", - "object": "Rate", "created_at": "2024-01-19T22:05:00Z", "updated_at": "2024-01-19T22:05:00Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_0a2e2fe81da9465a8238561c2a9aa1cc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_f40a08963ce246ca98d79dcc831eee89", "object": "Rate", "created_at": - "2024-01-19T22:05:00Z", "updated_at": "2024-01-19T22:05:00Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_0a2e2fe81da9465a8238561c2a9aa1cc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_58f86265fe2d406a9e85702e94cb67d1", "object": "Rate", "created_at": - "2024-01-19T22:05:00Z", "updated_at": "2024-01-19T22:05:00Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_0a2e2fe81da9465a8238561c2a9aa1cc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_09d784799db04caf84aaeedfe49077b7", - "object": "Rate", "created_at": "2024-01-19T22:05:01Z", "updated_at": "2024-01-19T22:05:01Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_0a2e2fe81da9465a8238561c2a9aa1cc", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_9a409c420bea415e81644b4c06e10bb2", - "object": "Tracker", "mode": "test", "tracking_code": "9434600207552010712521", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:05:02Z", - "updated_at": "2024-01-19T22:05:02Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_0a2e2fe81da9465a8238561c2a9aa1cc", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzlhNDA5YzQyMGJlYTQxNWU4MTY0NGI0YzA2ZTEwYmIy"}, - "to_address": {"id": "adr_ca1e5973b71611eeafb23cecef1b359e", "object": "Address", - "created_at": "2024-01-19T22:05:00+00:00", "updated_at": "2024-01-19T22:05:01+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_ca20bd53b71611ee81aaac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T22:05:00+00:00", "updated_at": - "2024-01-19T22:05:00+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_ca1e5973b71611eeafb23cecef1b359e", "object": - "Address", "created_at": "2024-01-19T22:05:00+00:00", "updated_at": "2024-01-19T22:05:01+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "6.79000", "charged": true, "refunded": false}], "id": "shp_0a2e2fe81da9465a8238561c2a9aa1cc", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '9345' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf20de798cd470010a844 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.790396' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": - "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", - "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": - "FOO@EXAMPLE.COM"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '252' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/end_shippers - response: - body: - string: '{"id": "es_0a9c31c5de4b4b66bf767f02e49fbac7", "object": "EndShipper", - "mode": "test", "created_at": "2024-01-19T22:06:33+00:00", "updated_at": "2024-01-19T22:06:33+00:00", - "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", - "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '362' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaf269e798d5010010e703 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.056090' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '885' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T22:06:33Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T22:06:34Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_e475057d671549c09a727cf05763d2f8", - "object": "CustomsInfo", "created_at": "2024-01-19T22:06:33Z", "updated_at": - "2024-01-19T22:06:33Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_84b8fb02274d48d69dfc1a9339750c94", "object": "CustomsItem", - "created_at": "2024-01-19T22:06:33Z", "updated_at": "2024-01-19T22:06:33Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_01a465a2b71711ee94f3ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T22:06:33+00:00", "updated_at": "2024-01-19T22:06:33+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_28a4e5af1c1547cca7cb7fb21dd7ce77", "object": "Parcel", "created_at": - "2024-01-19T22:06:33Z", "updated_at": "2024-01-19T22:06:33Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_e69e3f033e2d48a3b50151929e000ac1", - "object": "Rate", "created_at": "2024-01-19T22:06:34Z", "updated_at": "2024-01-19T22:06:34Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_37793f6a36b84656b66685b8083842da", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c1a3428768bf4a1fa0e17ba355339aa5", - "object": "Rate", "created_at": "2024-01-19T22:06:34Z", "updated_at": "2024-01-19T22:06:34Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_37793f6a36b84656b66685b8083842da", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_98427d44b39d4a518e565860d32fb4fa", - "object": "Rate", "created_at": "2024-01-19T22:06:34Z", "updated_at": "2024-01-19T22:06:34Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_37793f6a36b84656b66685b8083842da", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_81893bd833164250bd453b8b87cc2228", - "object": "Rate", "created_at": "2024-01-19T22:06:34Z", "updated_at": "2024-01-19T22:06:34Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_37793f6a36b84656b66685b8083842da", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_8262adea651944b086550b6d8479e3a5", "object": "Rate", "created_at": - "2024-01-19T22:06:34Z", "updated_at": "2024-01-19T22:06:34Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_37793f6a36b84656b66685b8083842da", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_01a1c151b71711ee94f1ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T22:06:33+00:00", "updated_at": "2024-01-19T22:06:33+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_01a465a2b71711ee94f3ac1f6bc539aa", "object": "Address", "created_at": - "2024-01-19T22:06:33+00:00", "updated_at": "2024-01-19T22:06:33+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_01a1c151b71711ee94f1ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T22:06:33+00:00", "updated_at": - "2024-01-19T22:06:33+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_37793f6a36b84656b66685b8083842da", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_37793f6a36b84656b66685b8083842da - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf269e798d5020010e729 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.762176' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"rate": {"id": "rate_98427d44b39d4a518e565860d32fb4fa"}, "end_shipper_id": - "es_0a9c31c5de4b4b66bf767f02e49fbac7"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '114' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments/shp_37793f6a36b84656b66685b8083842da/buy - response: - body: - string: '{"created_at": "2024-01-19T22:06:33Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9434600207552010713108", "updated_at": "2024-01-19T22:06:35Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_e475057d671549c09a727cf05763d2f8", "object": "CustomsInfo", "created_at": - "2024-01-19T22:06:33Z", "updated_at": "2024-01-19T22:06:33Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_84b8fb02274d48d69dfc1a9339750c94", - "object": "CustomsItem", "created_at": "2024-01-19T22:06:33Z", "updated_at": - "2024-01-19T22:06:33Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_01a465a2b71711ee94f3ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T22:06:33+00:00", "updated_at": - "2024-01-19T22:06:33+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_28a4e5af1c1547cca7cb7fb21dd7ce77", - "object": "Parcel", "created_at": "2024-01-19T22:06:33Z", "updated_at": "2024-01-19T22:06:33Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_df924f7b27944f28975d06b13cac3ca2", "created_at": "2024-01-19T22:06:34Z", - "updated_at": "2024-01-19T22:06:34Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T22:06:34Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8a47e8a2dd4e34a4eb0ad077218e0ae2d.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_e69e3f033e2d48a3b50151929e000ac1", "object": - "Rate", "created_at": "2024-01-19T22:06:34Z", "updated_at": "2024-01-19T22:06:34Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_37793f6a36b84656b66685b8083842da", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c1a3428768bf4a1fa0e17ba355339aa5", - "object": "Rate", "created_at": "2024-01-19T22:06:34Z", "updated_at": "2024-01-19T22:06:34Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_37793f6a36b84656b66685b8083842da", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_98427d44b39d4a518e565860d32fb4fa", - "object": "Rate", "created_at": "2024-01-19T22:06:34Z", "updated_at": "2024-01-19T22:06:34Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_37793f6a36b84656b66685b8083842da", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_81893bd833164250bd453b8b87cc2228", - "object": "Rate", "created_at": "2024-01-19T22:06:34Z", "updated_at": "2024-01-19T22:06:34Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_37793f6a36b84656b66685b8083842da", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_8262adea651944b086550b6d8479e3a5", "object": "Rate", "created_at": - "2024-01-19T22:06:34Z", "updated_at": "2024-01-19T22:06:34Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_37793f6a36b84656b66685b8083842da", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_98427d44b39d4a518e565860d32fb4fa", - "object": "Rate", "created_at": "2024-01-19T22:06:34Z", "updated_at": "2024-01-19T22:06:34Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_37793f6a36b84656b66685b8083842da", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_d82413c7075543df8f19c9a8dbdf2162", - "object": "Tracker", "mode": "test", "tracking_code": "9434600207552010713108", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:06:35Z", - "updated_at": "2024-01-19T22:06:35Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_37793f6a36b84656b66685b8083842da", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrX2Q4MjQxM2M3MDc1NTQzZGY4ZjE5YzlhOGRiZGYyMTYy"}, - "to_address": {"id": "adr_01a1c151b71711ee94f1ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T22:06:33+00:00", "updated_at": "2024-01-19T22:06:34+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_01a465a2b71711ee94f3ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T22:06:33+00:00", "updated_at": - "2024-01-19T22:06:33+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_01a1c151b71711ee94f1ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T22:06:33+00:00", "updated_at": "2024-01-19T22:06:34+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "6.79000", "charged": true, "refunded": false}], "id": "shp_37793f6a36b84656b66685b8083842da", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '9345' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf26ae798d5030010e7a9 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.747447' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_endshipper_create.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_endshipper_create.yaml deleted file mode 100644 index 19f9fff9..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_endshipper_create.yaml +++ /dev/null @@ -1,580 +0,0 @@ -interactions: -- request: - body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": - "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", - "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": - "FOO@EXAMPLE.COM"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '252' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/end_shippers - response: - body: - string: '{"id": "es_4c83da873476490ba46e9347783e21fe", "object": "EndShipper", - "mode": "test", "created_at": "2024-01-19T21:40:44+00:00", "updated_at": "2024-01-19T21:40:44+00:00", - "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", - "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '362' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaec5ce78b9b6b000cd169 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.051010' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": - "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", - "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": - "FOO@EXAMPLE.COM"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '252' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/end_shippers - response: - body: - string: '{"id": "es_ee187d5e101e4336aa890444d48ff539", "object": "EndShipper", - "mode": "test", "created_at": "2024-01-19T21:43:13+00:00", "updated_at": "2024-01-19T21:43:13+00:00", - "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", - "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '362' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaecf1e78ba3a6000d2f32 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.048605' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": - "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", - "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": - "FOO@EXAMPLE.COM"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '252' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/end_shippers - response: - body: - string: '{"id": "es_08413b09a7eb403982333c64d3b808aa", "object": "EndShipper", - "mode": "test", "created_at": "2024-01-19T21:47:04+00:00", "updated_at": "2024-01-19T21:47:04+00:00", - "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", - "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '362' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdae65aaedd8e78bac4700112385 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.049529' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": - "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", - "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": - "FOO@EXAMPLE.COM"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '252' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/end_shippers - response: - body: - string: '{"id": "es_fef26c21448a48faacc7d138626128e1", "object": "EndShipper", - "mode": "test", "created_at": "2024-01-19T21:48:56+00:00", "updated_at": "2024-01-19T21:48:56+00:00", - "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", - "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '362' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda965aaee48e78bb46700116746 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.049506' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": - "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", - "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": - "FOO@EXAMPLE.COM"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '252' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/end_shippers - response: - body: - string: '{"id": "es_298a62ff2a52443eabd4d70c06c230f4", "object": "EndShipper", - "mode": "test", "created_at": "2024-01-19T21:58:16+00:00", "updated_at": "2024-01-19T21:58:16+00:00", - "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", - "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '362' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaf078e798bbfd000f6cbd - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.050430' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": - "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", - "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": - "FOO@EXAMPLE.COM"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '252' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/end_shippers - response: - body: - string: '{"id": "es_5d2d8e27608141d28bbbd10fe194eadd", "object": "EndShipper", - "mode": "test", "created_at": "2024-01-19T22:01:11+00:00", "updated_at": "2024-01-19T22:01:11+00:00", - "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", - "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '362' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf127e798c443000ff41c - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.044197' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": - "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", - "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": - "FOO@EXAMPLE.COM"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '252' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/end_shippers - response: - body: - string: '{"id": "es_2c85422440cc4627bc9e781aab2f80fa", "object": "EndShipper", - "mode": "test", "created_at": "2024-01-19T22:04:57+00:00", "updated_at": "2024-01-19T22:04:57+00:00", - "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", - "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '362' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf209e798cd270010a605 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.051331' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": - "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", - "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": - "FOO@EXAMPLE.COM"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '252' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/end_shippers - response: - body: - string: '{"id": "es_16ce1e75051845b69c448611a68cdbd9", "object": "EndShipper", - "mode": "test", "created_at": "2024-01-19T22:06:30+00:00", "updated_at": "2024-01-19T22:06:30+00:00", - "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", - "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '362' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf266e798d4e40010e53b - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.048399' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_endshipper_list.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_endshipper_list.yaml deleted file mode 100644 index b0ee46d6..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_endshipper_list.yaml +++ /dev/null @@ -1,530 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/end_shippers?page_size=1 - response: - body: - string: '{"end_shippers": [{"id": "es_4c9d0f5f99374536908eb4949f909e1e", "object": - "EndShipper", "mode": "test", "created_at": "2022-10-05T19:50:55+00:00", "updated_at": - "2022-10-05T19:50:55+00:00", "name": "JACK SPARROW", "company": null, "street1": - "388 TOWNSEND ST APT 20", "street2": null, "city": "SAN FRANCISCO", "state": - "CA", "zip": "94107-1670", "country": "US", "phone": "5555555555", "email": - "TEST@EXAMPLE.COM"}], "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '402' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaec5ee78b9b85000cd220 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.558677' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/end_shippers?page_size=1 - response: - body: - string: '{"end_shippers": [{"id": "es_4c9d0f5f99374536908eb4949f909e1e", "object": - "EndShipper", "mode": "test", "created_at": "2022-10-05T19:50:55+00:00", "updated_at": - "2022-10-05T19:50:55+00:00", "name": "JACK SPARROW", "company": null, "street1": - "388 TOWNSEND ST APT 20", "street2": null, "city": "SAN FRANCISCO", "state": - "CA", "zip": "94107-1670", "country": "US", "phone": "5555555555", "email": - "TEST@EXAMPLE.COM"}], "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '402' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaecf2e78ba3a9000d2fb5 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.607746' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/end_shippers?page_size=1 - response: - body: - string: '{"end_shippers": [{"id": "es_4c9d0f5f99374536908eb4949f909e1e", "object": - "EndShipper", "mode": "test", "created_at": "2022-10-05T19:50:55+00:00", "updated_at": - "2022-10-05T19:50:55+00:00", "name": "JACK SPARROW", "company": null, "street1": - "388 TOWNSEND ST APT 20", "street2": null, "city": "SAN FRANCISCO", "state": - "CA", "zip": "94107-1670", "country": "US", "phone": "5555555555", "email": - "TEST@EXAMPLE.COM"}], "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '402' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdab65aaedd8e78bac4a00112426 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.581174' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/end_shippers?page_size=1 - response: - body: - string: '{"end_shippers": [{"id": "es_4c9d0f5f99374536908eb4949f909e1e", "object": - "EndShipper", "mode": "test", "created_at": "2022-10-05T19:50:55+00:00", "updated_at": - "2022-10-05T19:50:55+00:00", "name": "JACK SPARROW", "company": null, "street1": - "388 TOWNSEND ST APT 20", "street2": null, "city": "SAN FRANCISCO", "state": - "CA", "zip": "94107-1670", "country": "US", "phone": "5555555555", "email": - "TEST@EXAMPLE.COM"}], "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '402' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda965aaee49e78bb46a001167cf - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.559629' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/end_shippers?page_size=1 - response: - body: - string: '{"end_shippers": [{"id": "es_4c9d0f5f99374536908eb4949f909e1e", "object": - "EndShipper", "mode": "test", "created_at": "2022-10-05T19:50:55+00:00", "updated_at": - "2022-10-05T19:50:55+00:00", "name": "JACK SPARROW", "company": null, "street1": - "388 TOWNSEND ST APT 20", "street2": null, "city": "SAN FRANCISCO", "state": - "CA", "zip": "94107-1670", "country": "US", "phone": "5555555555", "email": - "TEST@EXAMPLE.COM"}], "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '402' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaf079e798bc00000f6d62 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.706038' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/end_shippers?page_size=1 - response: - body: - string: '{"end_shippers": [{"id": "es_4c9d0f5f99374536908eb4949f909e1e", "object": - "EndShipper", "mode": "test", "created_at": "2022-10-05T19:50:55+00:00", "updated_at": - "2022-10-05T19:50:55+00:00", "name": "JACK SPARROW", "company": null, "street1": - "388 TOWNSEND ST APT 20", "street2": null, "city": "SAN FRANCISCO", "state": - "CA", "zip": "94107-1670", "country": "US", "phone": "5555555555", "email": - "TEST@EXAMPLE.COM"}], "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '402' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf128e798c45d000ff530 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.570666' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/end_shippers?page_size=1 - response: - body: - string: '{"end_shippers": [{"id": "es_4c9d0f5f99374536908eb4949f909e1e", "object": - "EndShipper", "mode": "test", "created_at": "2022-10-05T19:50:55+00:00", "updated_at": - "2022-10-05T19:50:55+00:00", "name": "JACK SPARROW", "company": null, "street1": - "388 TOWNSEND ST APT 20", "street2": null, "city": "SAN FRANCISCO", "state": - "CA", "zip": "94107-1670", "country": "US", "phone": "5555555555", "email": - "TEST@EXAMPLE.COM"}], "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '402' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaf20ae798cd410010a694 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.555766' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/end_shippers?page_size=1 - response: - body: - string: '{"end_shippers": [{"id": "es_4c9d0f5f99374536908eb4949f909e1e", "object": - "EndShipper", "mode": "test", "created_at": "2022-10-05T19:50:55+00:00", "updated_at": - "2022-10-05T19:50:55+00:00", "name": "JACK SPARROW", "company": null, "street1": - "388 TOWNSEND ST APT 20", "street2": null, "city": "SAN FRANCISCO", "state": - "CA", "zip": "94107-1670", "country": "US", "phone": "5555555555", "email": - "TEST@EXAMPLE.COM"}], "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '402' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaf267e798d4fe0010e5ea - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.546653' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_endshipper_retrieve.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_endshipper_retrieve.yaml deleted file mode 100644 index d6db7f97..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_endshipper_retrieve.yaml +++ /dev/null @@ -1,1106 +0,0 @@ -interactions: -- request: - body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": - "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", - "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": - "FOO@EXAMPLE.COM"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '252' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/end_shippers - response: - body: - string: '{"id": "es_731fce1430ab46daa9b237d1ddbe7e81", "object": "EndShipper", - "mode": "test", "created_at": "2024-01-19T21:40:45+00:00", "updated_at": "2024-01-19T21:40:45+00:00", - "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", - "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '362' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaec5de78b9b6c000cd195 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.064369' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/end_shippers/es_731fce1430ab46daa9b237d1ddbe7e81 - response: - body: - string: '{"id": "es_731fce1430ab46daa9b237d1ddbe7e81", "object": "EndShipper", - "mode": "test", "created_at": "2024-01-19T21:40:45+00:00", "updated_at": "2024-01-19T21:40:45+00:00", - "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", - "street2": null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", - "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '364' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaec5de78b9b6d000cd1fb - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.032242' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": - "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", - "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": - "FOO@EXAMPLE.COM"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '252' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/end_shippers - response: - body: - string: '{"id": "es_9a280831fb7649af8b1b8ed32af53c81", "object": "EndShipper", - "mode": "test", "created_at": "2024-01-19T21:43:14+00:00", "updated_at": "2024-01-19T21:43:14+00:00", - "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", - "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '362' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaecf2e78ba3a7000d2f58 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.053210' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/end_shippers/es_9a280831fb7649af8b1b8ed32af53c81 - response: - body: - string: '{"id": "es_9a280831fb7649af8b1b8ed32af53c81", "object": "EndShipper", - "mode": "test", "created_at": "2024-01-19T21:43:14+00:00", "updated_at": "2024-01-19T21:43:14+00:00", - "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", - "street2": null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", - "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '364' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaecf2e78ba3a8000d2f84 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.128444' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": - "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", - "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": - "FOO@EXAMPLE.COM"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '252' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/end_shippers - response: - body: - string: '{"id": "es_7e4d991c4a25449294a30744acb356e3", "object": "EndShipper", - "mode": "test", "created_at": "2024-01-19T21:47:04+00:00", "updated_at": "2024-01-19T21:47:04+00:00", - "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", - "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '362' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda865aaedd8e78bac48001123cc - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.049687' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/end_shippers/es_7e4d991c4a25449294a30744acb356e3 - response: - body: - string: '{"id": "es_7e4d991c4a25449294a30744acb356e3", "object": "EndShipper", - "mode": "test", "created_at": "2024-01-19T21:47:04+00:00", "updated_at": "2024-01-19T21:47:04+00:00", - "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", - "street2": null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", - "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '364' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdab65aaedd8e78bac49001123f6 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.031865' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": - "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", - "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": - "FOO@EXAMPLE.COM"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '252' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/end_shippers - response: - body: - string: '{"id": "es_e46e6e9381c34e5392b283c567ac9a49", "object": "EndShipper", - "mode": "test", "created_at": "2024-01-19T21:48:56+00:00", "updated_at": "2024-01-19T21:48:56+00:00", - "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", - "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '362' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdab65aaee48e78bb4680011677a - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.049473' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/end_shippers/es_e46e6e9381c34e5392b283c567ac9a49 - response: - body: - string: '{"id": "es_e46e6e9381c34e5392b283c567ac9a49", "object": "EndShipper", - "mode": "test", "created_at": "2024-01-19T21:48:56+00:00", "updated_at": "2024-01-19T21:48:56+00:00", - "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", - "street2": null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", - "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '364' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdaa65aaee48e78bb4690011679f - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.027858' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": - "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", - "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": - "FOO@EXAMPLE.COM"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '252' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/end_shippers - response: - body: - string: '{"id": "es_287f12311849436f849aa36548b3e54a", "object": "EndShipper", - "mode": "test", "created_at": "2024-01-19T21:58:17+00:00", "updated_at": "2024-01-19T21:58:17+00:00", - "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", - "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '362' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaf079e798bbfe000f6d01 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.049705' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/end_shippers/es_287f12311849436f849aa36548b3e54a - response: - body: - string: '{"id": "es_287f12311849436f849aa36548b3e54a", "object": "EndShipper", - "mode": "test", "created_at": "2024-01-19T21:58:17+00:00", "updated_at": "2024-01-19T21:58:17+00:00", - "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", - "street2": null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", - "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '364' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaf079e798bbff000f6d2a - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.028705' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": - "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", - "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": - "FOO@EXAMPLE.COM"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '252' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/end_shippers - response: - body: - string: '{"id": "es_1c8e95c73fe94188945eb74c5dc7099d", "object": "EndShipper", - "mode": "test", "created_at": "2024-01-19T22:01:11+00:00", "updated_at": "2024-01-19T22:01:11+00:00", - "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", - "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '362' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaf127e798c45b000ff48a - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.054516' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/end_shippers/es_1c8e95c73fe94188945eb74c5dc7099d - response: - body: - string: '{"id": "es_1c8e95c73fe94188945eb74c5dc7099d", "object": "EndShipper", - "mode": "test", "created_at": "2024-01-19T22:01:11+00:00", "updated_at": "2024-01-19T22:01:11+00:00", - "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", - "street2": null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", - "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '364' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaf127e798c45c000ff4d6 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.027254' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": - "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", - "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": - "FOO@EXAMPLE.COM"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '252' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/end_shippers - response: - body: - string: '{"id": "es_9a9537ede95e4c169e3033391cba2c32", "object": "EndShipper", - "mode": "test", "created_at": "2024-01-19T22:04:57+00:00", "updated_at": "2024-01-19T22:04:57+00:00", - "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", - "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '362' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf209e798cd280010a631 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.049366' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/end_shippers/es_9a9537ede95e4c169e3033391cba2c32 - response: - body: - string: '{"id": "es_9a9537ede95e4c169e3033391cba2c32", "object": "EndShipper", - "mode": "test", "created_at": "2024-01-19T22:04:57+00:00", "updated_at": "2024-01-19T22:04:57+00:00", - "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", - "street2": null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", - "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '364' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf20ae798cd400010a660 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.041027' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": - "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", - "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": - "FOO@EXAMPLE.COM"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '252' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/end_shippers - response: - body: - string: '{"id": "es_d48158780d39432793a984910c8222df", "object": "EndShipper", - "mode": "test", "created_at": "2024-01-19T22:06:30+00:00", "updated_at": "2024-01-19T22:06:30+00:00", - "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", - "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '362' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaf266e798d4fc0010e56d - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.089259' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/end_shippers/es_d48158780d39432793a984910c8222df - response: - body: - string: '{"id": "es_d48158780d39432793a984910c8222df", "object": "EndShipper", - "mode": "test", "created_at": "2024-01-19T22:06:30+00:00", "updated_at": "2024-01-19T22:06:30+00:00", - "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", - "street2": null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", - "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '364' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf267e798d4fd0010e591 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.032588' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_endshipper_update.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_endshipper_update.yaml deleted file mode 100644 index 36b2ab3e..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_endshipper_update.yaml +++ /dev/null @@ -1,1154 +0,0 @@ -interactions: -- request: - body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": - "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", - "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": - "FOO@EXAMPLE.COM"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '252' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/end_shippers - response: - body: - string: '{"id": "es_31c5fb3d5ac34efb898a113afd0bb2c6", "object": "EndShipper", - "mode": "test", "created_at": "2024-01-19T21:40:46+00:00", "updated_at": "2024-01-19T21:40:46+00:00", - "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", - "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '362' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaec5ee78b9b86000cd2a0 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.050564' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"address": {"name": "NEW NAME", "company": "BAZ", "street1": "164 TOWNSEND - STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", "state": "CA", - "zip": "94107", "country": "US", "phone": "555-555-5555", "email": "FOO@EXAMPLE.COM"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '239' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: PUT - uri: https://api.easypost.com/v2/end_shippers/es_31c5fb3d5ac34efb898a113afd0bb2c6 - response: - body: - string: '{"id": "es_31c5fb3d5ac34efb898a113afd0bb2c6", "object": "EndShipper", - "mode": "test", "created_at": "2024-01-19T21:40:46+00:00", "updated_at": "2024-01-19T21:40:47+00:00", - "name": "NEW NAME", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", - "country": "US", "phone": "555-555-5555", "email": "FOO@EXAMPLE.COM"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '363' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaec5fe78b9b87000cd2d0 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.053061' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": - "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", - "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": - "FOO@EXAMPLE.COM"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '252' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/end_shippers - response: - body: - string: '{"id": "es_6b5537518d304069a97c746f46c82a9e", "object": "EndShipper", - "mode": "test", "created_at": "2024-01-19T21:43:15+00:00", "updated_at": "2024-01-19T21:43:15+00:00", - "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", - "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '362' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaecf3e78ba3aa000d3036 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.048223' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"address": {"name": "NEW NAME", "company": "BAZ", "street1": "164 TOWNSEND - STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", "state": "CA", - "zip": "94107", "country": "US", "phone": "555-555-5555", "email": "FOO@EXAMPLE.COM"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '239' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: PUT - uri: https://api.easypost.com/v2/end_shippers/es_6b5537518d304069a97c746f46c82a9e - response: - body: - string: '{"id": "es_6b5537518d304069a97c746f46c82a9e", "object": "EndShipper", - "mode": "test", "created_at": "2024-01-19T21:43:15+00:00", "updated_at": "2024-01-19T21:43:15+00:00", - "name": "NEW NAME", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", - "country": "US", "phone": "555-555-5555", "email": "FOO@EXAMPLE.COM"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '363' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaecf3e78ba3ab000d305f - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.056037' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": - "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", - "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": - "FOO@EXAMPLE.COM"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '252' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/end_shippers - response: - body: - string: '{"id": "es_e9d594ea4d81402ab05b7ab7778c8536", "object": "EndShipper", - "mode": "test", "created_at": "2024-01-19T21:47:06+00:00", "updated_at": "2024-01-19T21:47:06+00:00", - "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", - "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '362' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdac65aaedd9e78bac4b001124fa - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.046273' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"address": {"name": "NEW NAME", "company": "BAZ", "street1": "164 TOWNSEND - STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", "state": "CA", - "zip": "94107", "country": "US", "phone": "555-555-5555", "email": "FOO@EXAMPLE.COM"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '239' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: PUT - uri: https://api.easypost.com/v2/end_shippers/es_e9d594ea4d81402ab05b7ab7778c8536 - response: - body: - string: '{"id": "es_e9d594ea4d81402ab05b7ab7778c8536", "object": "EndShipper", - "mode": "test", "created_at": "2024-01-19T21:47:06+00:00", "updated_at": "2024-01-19T21:47:06+00:00", - "name": "NEW NAME", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", - "country": "US", "phone": "555-555-5555", "email": "FOO@EXAMPLE.COM"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '363' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdaa65aaeddae78bac4c00112528 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.053804' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": - "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", - "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": - "FOO@EXAMPLE.COM"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '252' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/end_shippers - response: - body: - string: '{"id": "es_9b5322a7c12749aea746e69f35bd8cd3", "object": "EndShipper", - "mode": "test", "created_at": "2024-01-19T21:48:57+00:00", "updated_at": "2024-01-19T21:48:57+00:00", - "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", - "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '362' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda865aaee49e78bb46e0011683f - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.053994' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"address": {"name": "NEW NAME", "company": "BAZ", "street1": "164 TOWNSEND - STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", "state": "CA", - "zip": "94107", "country": "US", "phone": "555-555-5555", "email": "FOO@EXAMPLE.COM"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '239' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: PUT - uri: https://api.easypost.com/v2/end_shippers/es_9b5322a7c12749aea746e69f35bd8cd3 - response: - body: - string: '{"id": "es_9b5322a7c12749aea746e69f35bd8cd3", "object": "EndShipper", - "mode": "test", "created_at": "2024-01-19T21:48:57+00:00", "updated_at": "2024-01-19T21:48:58+00:00", - "name": "NEW NAME", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", - "country": "US", "phone": "555-555-5555", "email": "FOO@EXAMPLE.COM"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '363' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdac65aaee4ae78bb46f00116865 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.060051' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": - "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", - "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": - "FOO@EXAMPLE.COM"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '252' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/end_shippers - response: - body: - string: '{"id": "es_c1c3ebf4c76546e9bfc25e95fb79ba9e", "object": "EndShipper", - "mode": "test", "created_at": "2024-01-19T21:58:18+00:00", "updated_at": "2024-01-19T21:58:18+00:00", - "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", - "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '362' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf07ae798bc01000f6e08 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.051346' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"address": {"name": "NEW NAME", "company": "BAZ", "street1": "164 TOWNSEND - STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", "state": "CA", - "zip": "94107", "country": "US", "phone": "555-555-5555", "email": "FOO@EXAMPLE.COM"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '239' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: PUT - uri: https://api.easypost.com/v2/end_shippers/es_c1c3ebf4c76546e9bfc25e95fb79ba9e - response: - body: - string: '{"id": "es_c1c3ebf4c76546e9bfc25e95fb79ba9e", "object": "EndShipper", - "mode": "test", "created_at": "2024-01-19T21:58:18+00:00", "updated_at": "2024-01-19T21:58:19+00:00", - "name": "NEW NAME", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", - "country": "US", "phone": "555-555-5555", "email": "FOO@EXAMPLE.COM"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '363' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf07be798bc02000f6e2d - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.059946' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": - "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", - "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": - "FOO@EXAMPLE.COM"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '252' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/end_shippers - response: - body: - string: '{"id": "es_9b6d220d3c8b4521bc2d9c421360851a", "object": "EndShipper", - "mode": "test", "created_at": "2024-01-19T22:01:13+00:00", "updated_at": "2024-01-19T22:01:13+00:00", - "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", - "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '362' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf129e798c45e000ff62b - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.047490' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"address": {"name": "NEW NAME", "company": "BAZ", "street1": "164 TOWNSEND - STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", "state": "CA", - "zip": "94107", "country": "US", "phone": "555-555-5555", "email": "FOO@EXAMPLE.COM"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '239' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: PUT - uri: https://api.easypost.com/v2/end_shippers/es_9b6d220d3c8b4521bc2d9c421360851a - response: - body: - string: '{"id": "es_9b6d220d3c8b4521bc2d9c421360851a", "object": "EndShipper", - "mode": "test", "created_at": "2024-01-19T22:01:13+00:00", "updated_at": "2024-01-19T22:01:13+00:00", - "name": "NEW NAME", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", - "country": "US", "phone": "555-555-5555", "email": "FOO@EXAMPLE.COM"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '363' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf129e798c45f000ff67b - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.063159' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": - "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", - "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": - "FOO@EXAMPLE.COM"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '252' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/end_shippers - response: - body: - string: '{"id": "es_c0135a54d355484d912fb1e15b523f6b", "object": "EndShipper", - "mode": "test", "created_at": "2024-01-19T22:04:59+00:00", "updated_at": "2024-01-19T22:04:59+00:00", - "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", - "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '362' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaf20be798cd420010a714 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.051346' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"address": {"name": "NEW NAME", "company": "BAZ", "street1": "164 TOWNSEND - STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", "state": "CA", - "zip": "94107", "country": "US", "phone": "555-555-5555", "email": "FOO@EXAMPLE.COM"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '239' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: PUT - uri: https://api.easypost.com/v2/end_shippers/es_c0135a54d355484d912fb1e15b523f6b - response: - body: - string: '{"id": "es_c0135a54d355484d912fb1e15b523f6b", "object": "EndShipper", - "mode": "test", "created_at": "2024-01-19T22:04:59+00:00", "updated_at": "2024-01-19T22:04:59+00:00", - "name": "NEW NAME", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", - "country": "US", "phone": "555-555-5555", "email": "FOO@EXAMPLE.COM"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '363' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf20be798cd430010a73f - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.052657' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"address": {"name": "FOO BAR", "company": "BAZ", "null": null, "street1": - "164 TOWNSEND STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", - "state": "CA", "zip": "94107", "country": "US", "phone": "555 555-5555", "email": - "FOO@EXAMPLE.COM"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '252' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/end_shippers - response: - body: - string: '{"id": "es_2fc285fa69034b89a0229aa26fb503a4", "object": "EndShipper", - "mode": "test", "created_at": "2024-01-19T22:06:32+00:00", "updated_at": "2024-01-19T22:06:32+00:00", - "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", - "country": "US", "phone": "555 555-5555", "email": "FOO@EXAMPLE.COM"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '362' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf268e798d4ff0010e682 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.051325' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"address": {"name": "NEW NAME", "company": "BAZ", "street1": "164 TOWNSEND - STREET UNIT 1", "street2": "UNIT 1", "city": "SAN FRANCISCO", "state": "CA", - "zip": "94107", "country": "US", "phone": "555-555-5555", "email": "FOO@EXAMPLE.COM"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '239' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: PUT - uri: https://api.easypost.com/v2/end_shippers/es_2fc285fa69034b89a0229aa26fb503a4 - response: - body: - string: '{"id": "es_2fc285fa69034b89a0229aa26fb503a4", "object": "EndShipper", - "mode": "test", "created_at": "2024-01-19T22:06:32+00:00", "updated_at": "2024-01-19T22:06:32+00:00", - "name": "NEW NAME", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", - "street2": "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94107-1990", - "country": "US", "phone": "555-555-5555", "email": "FOO@EXAMPLE.COM"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '363' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf268e798d5000010e6c0 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.058235' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_events_list.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_events_list.yaml deleted file mode 100644 index d9d7f4cc..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_events_list.yaml +++ /dev/null @@ -1,518 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/events?page_size=1 - response: - body: - string: '{"events": [{"description": "tracker.created", "id": "evt_66b02f04b71311ee8835730b68571ca4", - "user_id": "user_54356a6b96c940d8913961a3c7b909f2", "status": "pending", "created_at": - "2024-01-19T21:40:45.014Z", "mode": "test", "object": "Event"}], "has_more": - true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '246' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaec62e78b9b8b000cd487 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.235362' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/events?page_size=1 - response: - body: - string: '{"events": [{"description": "tracker.updated", "id": "evt_c12dbc30b71311ee8f436f5ac31b88fe", - "user_id": "user_54356a6b96c940d8913961a3c7b909f2", "status": "pending", "created_at": - "2024-01-19T21:43:16.832Z", "mode": "test", "object": "Event"}], "has_more": - true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '246' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaecf6e78ba3c7000d3243 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.206909' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/events?page_size=1 - response: - body: - string: '{"events": [{"description": "tracker.updated", "id": "evt_4b821c3cb71411ee95a71df9e14ca8c8", - "user_id": "user_54356a6b96c940d8913961a3c7b909f2", "status": "pending", "created_at": - "2024-01-19T21:47:08.911Z", "mode": "test", "object": "Event"}], "has_more": - true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '246' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdaa65aaeddde78bac500011270e - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.287512' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/events?page_size=1 - response: - body: - string: '{"events": [{"description": "tracker.updated", "id": "evt_8e2cd112b71411eea1b4370c718b34d9", - "user_id": "user_54356a6b96c940d8913961a3c7b909f2", "status": "pending", "created_at": - "2024-01-19T21:49:00.759Z", "mode": "test", "object": "Event"}], "has_more": - true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '246' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdae65aaee4de78bb48a00116a1b - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.197061' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/events?page_size=1 - response: - body: - string: '{"events": [{"description": "tracker.created", "id": "evt_db26704eb71511eea7d64b9025ddf0bd", - "user_id": "user_54356a6b96c940d8913961a3c7b909f2", "status": "pending", "created_at": - "2024-01-19T21:58:19.398Z", "mode": "test", "object": "Event"}], "has_more": - true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '246' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaf07ee798bc1d000f6ff1 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.224767' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/events?page_size=1 - response: - body: - string: '{"events": [{"description": "tracker.updated", "id": "evt_446c69fab71611ee8cc11d1e13bbe4f7", - "user_id": "user_54356a6b96c940d8913961a3c7b909f2", "status": "pending", "created_at": - "2024-01-19T22:01:16.018Z", "mode": "test", "object": "Event"}], "has_more": - true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '246' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf12ce798c464000ff97f - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.248036' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/events?page_size=1 - response: - body: - string: '{"events": [{"description": "tracker.updated", "id": "evt_cb277494b71611ee9f8d37b28712ee0a", - "user_id": "user_54356a6b96c940d8913961a3c7b909f2", "status": "pending", "created_at": - "2024-01-19T22:05:02.058Z", "mode": "test", "object": "Event"}], "has_more": - true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '246' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf20ee798d0580010a8fc - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.209228' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/events?page_size=1 - response: - body: - string: '{"events": [{"description": "tracker.updated", "id": "evt_ffbb5518b71611ee8ca739fe56cbbea4", - "user_id": "user_54356a6b96c940d8913961a3c7b909f2", "status": "pending", "created_at": - "2024-01-19T22:06:30.269Z", "mode": "test", "object": "Event"}], "has_more": - true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '246' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaf26be798d5040010e882 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.183650' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_events_retrieve.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_events_retrieve.yaml deleted file mode 100644 index b33d3b59..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_events_retrieve.yaml +++ /dev/null @@ -1,1036 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/events?page_size=1 - response: - body: - string: '{"events": [{"description": "tracker.created", "id": "evt_66b02f04b71311ee8835730b68571ca4", - "user_id": "user_54356a6b96c940d8913961a3c7b909f2", "status": "pending", "created_at": - "2024-01-19T21:40:45.014Z", "mode": "test", "object": "Event"}], "has_more": - true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '246' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaec62e78b9b8c000cd4d1 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.173469' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/events/evt_66b02f04b71311ee8835730b68571ca4 - response: - body: - string: '{"description": "tracker.created", "mode": "test", "previous_attributes": - {}, "created_at": "2024-01-19T21:40:45.000Z", "pending_urls": [], "completed_urls": - [], "updated_at": "2024-01-19T21:40:45.000Z", "id": "evt_66b02f04b71311ee8835730b68571ca4", - "user_id": "user_54356a6b96c940d8913961a3c7b909f2", "status": "pending", "object": - "Event"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '320' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaec62e78b9b8d000cd509 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.029943' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/events?page_size=1 - response: - body: - string: '{"events": [{"description": "tracker.updated", "id": "evt_c12dbc30b71311ee8f436f5ac31b88fe", - "user_id": "user_54356a6b96c940d8913961a3c7b909f2", "status": "pending", "created_at": - "2024-01-19T21:43:16.832Z", "mode": "test", "object": "Event"}], "has_more": - true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '246' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaecf7e78ba3c8000d328a - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.200475' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/events/evt_c12dbc30b71311ee8f436f5ac31b88fe - response: - body: - string: '{"description": "tracker.updated", "mode": "test", "previous_attributes": - {"status": "unknown"}, "created_at": "2024-01-19T21:43:17.000Z", "pending_urls": - [], "completed_urls": [], "updated_at": "2024-01-19T21:43:17.000Z", "id": - "evt_c12dbc30b71311ee8f436f5ac31b88fe", "user_id": "user_54356a6b96c940d8913961a3c7b909f2", - "status": "pending", "object": "Event"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '338' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaecf7e78ba3c9000d32d7 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.031979' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/events?page_size=1 - response: - body: - string: '{"events": [{"description": "tracker.updated", "id": "evt_4b821c3cb71411ee95a71df9e14ca8c8", - "user_id": "user_54356a6b96c940d8913961a3c7b909f2", "status": "pending", "created_at": - "2024-01-19T21:47:08.911Z", "mode": "test", "object": "Event"}], "has_more": - true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '246' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdac65aaeddde78bac6800112754 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.238259' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/events/evt_4b821c3cb71411ee95a71df9e14ca8c8 - response: - body: - string: '{"description": "tracker.updated", "mode": "test", "previous_attributes": - {"status": "in_transit"}, "created_at": "2024-01-19T21:47:09.000Z", "pending_urls": - [], "completed_urls": [], "updated_at": "2024-01-19T21:47:09.000Z", "id": - "evt_4b821c3cb71411ee95a71df9e14ca8c8", "user_id": "user_54356a6b96c940d8913961a3c7b909f2", - "status": "pending", "object": "Event"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '341' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdaa65aaeddee78bac6900112797 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.030740' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/events?page_size=1 - response: - body: - string: '{"events": [{"description": "tracker.updated", "id": "evt_8e2cd112b71411eea1b4370c718b34d9", - "user_id": "user_54356a6b96c940d8913961a3c7b909f2", "status": "pending", "created_at": - "2024-01-19T21:49:00.759Z", "mode": "test", "object": "Event"}], "has_more": - true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '246' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdab65aaee4de78bb48b00116a78 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.260220' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/events/evt_8e2cd112b71411eea1b4370c718b34d9 - response: - body: - string: '{"description": "tracker.updated", "mode": "test", "previous_attributes": - {"status": "unknown"}, "created_at": "2024-01-19T21:49:01.000Z", "pending_urls": - [], "completed_urls": [], "updated_at": "2024-01-19T21:49:01.000Z", "id": - "evt_8e2cd112b71411eea1b4370c718b34d9", "user_id": "user_54356a6b96c940d8913961a3c7b909f2", - "status": "pending", "object": "Event"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '338' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda965aaee4de78bb48c00116ac8 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.029918' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/events?page_size=1 - response: - body: - string: '{"events": [{"description": "tracker.created", "id": "evt_db26704eb71511eea7d64b9025ddf0bd", - "user_id": "user_54356a6b96c940d8913961a3c7b909f2", "status": "pending", "created_at": - "2024-01-19T21:58:19.398Z", "mode": "test", "object": "Event"}], "has_more": - true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '246' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf07ee798bc1e000f703b - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.207032' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/events/evt_db26704eb71511eea7d64b9025ddf0bd - response: - body: - string: '{"description": "tracker.created", "mode": "test", "previous_attributes": - {}, "created_at": "2024-01-19T21:58:19.000Z", "pending_urls": [], "completed_urls": - [], "updated_at": "2024-01-19T21:58:19.000Z", "id": "evt_db26704eb71511eea7d64b9025ddf0bd", - "user_id": "user_54356a6b96c940d8913961a3c7b909f2", "status": "pending", "object": - "Event"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '320' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf07fe798bc1f000f7079 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.030801' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/events?page_size=1 - response: - body: - string: '{"events": [{"description": "tracker.updated", "id": "evt_446c69fab71611ee8cc11d1e13bbe4f7", - "user_id": "user_54356a6b96c940d8913961a3c7b909f2", "status": "pending", "created_at": - "2024-01-19T22:01:16.018Z", "mode": "test", "object": "Event"}], "has_more": - true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '246' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf12ce798c47c000ffa3b - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.227133' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/events/evt_446c69fab71611ee8cc11d1e13bbe4f7 - response: - body: - string: '{"description": "tracker.updated", "mode": "test", "previous_attributes": - {"status": "pre_transit"}, "created_at": "2024-01-19T22:01:16.000Z", "pending_urls": - [], "completed_urls": [], "updated_at": "2024-01-19T22:01:16.000Z", "id": - "evt_446c69fab71611ee8cc11d1e13bbe4f7", "user_id": "user_54356a6b96c940d8913961a3c7b909f2", - "status": "pending", "object": "Event"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '342' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf12de798c47d000ffab7 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.033675' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/events?page_size=1 - response: - body: - string: '{"events": [{"description": "tracker.updated", "id": "evt_cb277494b71611ee9f8d37b28712ee0a", - "user_id": "user_54356a6b96c940d8913961a3c7b909f2", "status": "pending", "created_at": - "2024-01-19T22:05:02.058Z", "mode": "test", "object": "Event"}], "has_more": - true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '246' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaf20fe798d0590010a956 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.217494' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/events/evt_cb277494b71611ee9f8d37b28712ee0a - response: - body: - string: '{"description": "tracker.updated", "mode": "test", "previous_attributes": - {"status": "pre_transit"}, "created_at": "2024-01-19T22:05:02.000Z", "pending_urls": - [], "completed_urls": [], "updated_at": "2024-01-19T22:05:02.000Z", "id": - "evt_cb277494b71611ee9f8d37b28712ee0a", "user_id": "user_54356a6b96c940d8913961a3c7b909f2", - "status": "pending", "object": "Event"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '342' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaf20fe798d05a0010a9a2 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.030364' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/events?page_size=1 - response: - body: - string: '{"events": [{"description": "tracker.updated", "id": "evt_ffbb5518b71611ee8ca739fe56cbbea4", - "user_id": "user_54356a6b96c940d8913961a3c7b909f2", "status": "pending", "created_at": - "2024-01-19T22:06:30.269Z", "mode": "test", "object": "Event"}], "has_more": - true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '246' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf26ce798d5050010e8ca - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.257703' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/events/evt_ffbb5518b71611ee8ca739fe56cbbea4 - response: - body: - string: '{"description": "tracker.updated", "mode": "test", "previous_attributes": - {"status": "pre_transit"}, "created_at": "2024-01-19T22:06:30.000Z", "pending_urls": - [], "completed_urls": [], "updated_at": "2024-01-19T22:06:30.000Z", "id": - "evt_ffbb5518b71611ee8ca739fe56cbbea4", "user_id": "user_54356a6b96c940d8913961a3c7b909f2", - "status": "pending", "object": "Event"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '342' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf26ce798d51d0010e90d - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.032197' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_forms_create.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_forms_create.yaml deleted file mode 100644 index 3c03727d..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_forms_create.yaml +++ /dev/null @@ -1,3060 +0,0 @@ -interactions: -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:40:51Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010707603", "updated_at": "2024-01-19T21:40:52Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_38ecc3f3705e49c991c0dc6291dc784d", "object": "CustomsInfo", "created_at": - "2024-01-19T21:40:51Z", "updated_at": "2024-01-19T21:40:51Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_0aae18e08ec34a51b6c4075698eba8ef", - "object": "CustomsItem", "created_at": "2024-01-19T21:40:51Z", "updated_at": - "2024-01-19T21:40:51Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_6a6af012b71311ee93943cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:40:51+00:00", "updated_at": - "2024-01-19T21:40:51+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_219d7ac310664dfa97e2982c4fac0238", - "object": "Parcel", "created_at": "2024-01-19T21:40:51Z", "updated_at": "2024-01-19T21:40:51Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_3d83fe2e299342768fa5f28bedf21afd", "created_at": "2024-01-19T21:40:51Z", - "updated_at": "2024-01-19T21:40:52Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:40:51Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e81fb54b2c23e84e9ea9b447fee1f9247d.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_0278b6d89b0243d1841f570619840fe3", "object": - "Rate", "created_at": "2024-01-19T21:40:51Z", "updated_at": "2024-01-19T21:40:51Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_5d6acc1b88f44743955ee35c7ca4e611", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_939f7dc9c1714ec7b89955cd7f10edd1", - "object": "Rate", "created_at": "2024-01-19T21:40:51Z", "updated_at": "2024-01-19T21:40:51Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_5d6acc1b88f44743955ee35c7ca4e611", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_ecf947499c164960a9f247cd1f889da4", - "object": "Rate", "created_at": "2024-01-19T21:40:51Z", "updated_at": "2024-01-19T21:40:51Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_5d6acc1b88f44743955ee35c7ca4e611", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_06bf3189ade6419baa087a4d3c90c020", - "object": "Rate", "created_at": "2024-01-19T21:40:51Z", "updated_at": "2024-01-19T21:40:51Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_5d6acc1b88f44743955ee35c7ca4e611", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_a74f0eec9b934571a791053f4ab68612", "object": "Rate", "created_at": - "2024-01-19T21:40:51Z", "updated_at": "2024-01-19T21:40:51Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_5d6acc1b88f44743955ee35c7ca4e611", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_939f7dc9c1714ec7b89955cd7f10edd1", - "object": "Rate", "created_at": "2024-01-19T21:40:51Z", "updated_at": "2024-01-19T21:40:51Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_5d6acc1b88f44743955ee35c7ca4e611", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_0d39ddeae6034088b1fcd67766019d55", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010707603", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:40:52Z", - "updated_at": "2024-01-19T21:40:52Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_5d6acc1b88f44743955ee35c7ca4e611", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzBkMzlkZGVhZTYwMzQwODhiMWZjZDY3NzY2MDE5ZDU1"}, - "to_address": {"id": "adr_6a67a697b71311ee9536ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:40:51+00:00", "updated_at": "2024-01-19T21:40:51+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_6a6af012b71311ee93943cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:40:51+00:00", "updated_at": - "2024-01-19T21:40:51+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_6a67a697b71311ee9536ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:40:51+00:00", "updated_at": "2024-01-19T21:40:51+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_5d6acc1b88f44743955ee35c7ca4e611", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_5d6acc1b88f44743955ee35c7ca4e611 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaec63e78b9b8e000cd535 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.148150' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"form": {"type": "return_packing_slip", "barcode": "RMA12345678900", "line_items": - [{"product": {"title": "Square Reader", "barcode": "855658003251"}, "units": - 8}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '166' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments/shp_5d6acc1b88f44743955ee35c7ca4e611/forms - response: - body: - string: '{"created_at": "2024-01-19T21:40:51Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010707603", "updated_at": "2024-01-19T21:40:52Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_38ecc3f3705e49c991c0dc6291dc784d", "object": "CustomsInfo", "created_at": - "2024-01-19T21:40:51Z", "updated_at": "2024-01-19T21:40:51Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_0aae18e08ec34a51b6c4075698eba8ef", - "object": "CustomsItem", "created_at": "2024-01-19T21:40:51Z", "updated_at": - "2024-01-19T21:40:51Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_6a6af012b71311ee93943cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:40:51+00:00", "updated_at": - "2024-01-19T21:40:51+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_219d7ac310664dfa97e2982c4fac0238", - "object": "Parcel", "created_at": "2024-01-19T21:40:51Z", "updated_at": "2024-01-19T21:40:51Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_3d83fe2e299342768fa5f28bedf21afd", "created_at": "2024-01-19T21:40:51Z", - "updated_at": "2024-01-19T21:40:52Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:40:51Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e81fb54b2c23e84e9ea9b447fee1f9247d.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_0278b6d89b0243d1841f570619840fe3", "object": - "Rate", "created_at": "2024-01-19T21:40:51Z", "updated_at": "2024-01-19T21:40:51Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_5d6acc1b88f44743955ee35c7ca4e611", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_939f7dc9c1714ec7b89955cd7f10edd1", - "object": "Rate", "created_at": "2024-01-19T21:40:51Z", "updated_at": "2024-01-19T21:40:51Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_5d6acc1b88f44743955ee35c7ca4e611", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_ecf947499c164960a9f247cd1f889da4", - "object": "Rate", "created_at": "2024-01-19T21:40:51Z", "updated_at": "2024-01-19T21:40:51Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_5d6acc1b88f44743955ee35c7ca4e611", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_06bf3189ade6419baa087a4d3c90c020", - "object": "Rate", "created_at": "2024-01-19T21:40:51Z", "updated_at": "2024-01-19T21:40:51Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_5d6acc1b88f44743955ee35c7ca4e611", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_a74f0eec9b934571a791053f4ab68612", "object": "Rate", "created_at": - "2024-01-19T21:40:51Z", "updated_at": "2024-01-19T21:40:51Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_5d6acc1b88f44743955ee35c7ca4e611", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_939f7dc9c1714ec7b89955cd7f10edd1", - "object": "Rate", "created_at": "2024-01-19T21:40:51Z", "updated_at": "2024-01-19T21:40:51Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_5d6acc1b88f44743955ee35c7ca4e611", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_0d39ddeae6034088b1fcd67766019d55", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010707603", - "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:40:52Z", - "updated_at": "2024-01-19T21:40:52Z", "signed_by": null, "weight": null, "est_delivery_date": - "2024-01-19T21:40:52Z", "shipment_id": "shp_5d6acc1b88f44743955ee35c7ca4e611", - "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": - "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-19T21:40:52Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", - "message": "Shipping Label Created", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-20T10:17:52Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": - null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": - null}, "public_url": "https://track.easypost.com/djE6dHJrXzBkMzlkZGVhZTYwMzQwODhiMWZjZDY3NzY2MDE5ZDU1"}, - "to_address": {"id": "adr_6a67a697b71311ee9536ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:40:51+00:00", "updated_at": "2024-01-19T21:40:51+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_6a6af012b71311ee93943cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:40:51+00:00", "updated_at": - "2024-01-19T21:40:51+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_6a67a697b71311ee9536ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:40:51+00:00", "updated_at": "2024-01-19T21:40:51+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [{"object": "Form", "id": "form_4294f2d334234c8a80738948c33832c3", - "created_at": "2024-01-19T21:40:53Z", "updated_at": "2024-01-19T21:40:53Z", - "mode": "test", "form_type": "return_packing_slip", "form_url": "https://easypost-files.s3-us-west-2.amazonaws.com/files/form/20240119/14aa86aa8235479fab4e14069ae0e4dd.pdf", - "submitted_electronically": null}], "fees": [{"object": "Fee", "type": "LabelFee", - "amount": "0.00000", "charged": true, "refunded": false}, {"object": "Fee", - "type": "PostageFee", "amount": "7.99000", "charged": true, "refunded": false}], - "id": "shp_5d6acc1b88f44743955ee35c7ca4e611", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '9814' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_5d6acc1b88f44743955ee35c7ca4e611/forms/return_packing_slip - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaec64e78b9ba6000cd639 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.684883' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:43:19Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010707979", "updated_at": "2024-01-19T21:43:20Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_8e6846560d0b4fb19eeef9150302c00b", "object": "CustomsInfo", "created_at": - "2024-01-19T21:43:19Z", "updated_at": "2024-01-19T21:43:19Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_90adbae022304f1fabefa08af84a0c54", - "object": "CustomsItem", "created_at": "2024-01-19T21:43:19Z", "updated_at": - "2024-01-19T21:43:19Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_c2f22beeb71311eeb5e9ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:43:19+00:00", "updated_at": - "2024-01-19T21:43:19+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_5c53aec27c924b12bf6b01a6ee87a25c", - "object": "Parcel", "created_at": "2024-01-19T21:43:19Z", "updated_at": "2024-01-19T21:43:19Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_41add3fbc48f4e3c95b227f4362e608b", "created_at": "2024-01-19T21:43:20Z", - "updated_at": "2024-01-19T21:43:20Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:43:20Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e84dc9ad6c1820460c8f5606dcdbeb1c66.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_dba3d7887f4944788907d4ff038c8e1f", "object": - "Rate", "created_at": "2024-01-19T21:43:19Z", "updated_at": "2024-01-19T21:43:19Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_cfa4e63a716b42ceb7dbf98e892944d5", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_3d96c3ab5a054189a59acbe685c06365", - "object": "Rate", "created_at": "2024-01-19T21:43:19Z", "updated_at": "2024-01-19T21:43:19Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_cfa4e63a716b42ceb7dbf98e892944d5", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_ee26eb91a5c44c128d523475f247fedc", - "object": "Rate", "created_at": "2024-01-19T21:43:19Z", "updated_at": "2024-01-19T21:43:19Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_cfa4e63a716b42ceb7dbf98e892944d5", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4f167ff3010747bc9bb0f941e0a739df", - "object": "Rate", "created_at": "2024-01-19T21:43:19Z", "updated_at": "2024-01-19T21:43:19Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_cfa4e63a716b42ceb7dbf98e892944d5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_5a2b2e05f8ed4e4f975fa3f287c2fd05", "object": "Rate", "created_at": - "2024-01-19T21:43:19Z", "updated_at": "2024-01-19T21:43:19Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_cfa4e63a716b42ceb7dbf98e892944d5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_3d96c3ab5a054189a59acbe685c06365", - "object": "Rate", "created_at": "2024-01-19T21:43:20Z", "updated_at": "2024-01-19T21:43:20Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_cfa4e63a716b42ceb7dbf98e892944d5", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_a91696ddb1e141fa85c2312e45207e8e", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010707979", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:43:20Z", - "updated_at": "2024-01-19T21:43:20Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_cfa4e63a716b42ceb7dbf98e892944d5", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrX2E5MTY5NmRkYjFlMTQxZmE4NWMyMzEyZTQ1MjA3ZThl"}, - "to_address": {"id": "adr_c2ef5d1db71311eeb590ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:43:19+00:00", "updated_at": "2024-01-19T21:43:20+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_c2f22beeb71311eeb5e9ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:43:19+00:00", "updated_at": - "2024-01-19T21:43:19+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_c2ef5d1db71311eeb590ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:43:19+00:00", "updated_at": "2024-01-19T21:43:20+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_cfa4e63a716b42ceb7dbf98e892944d5", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_cfa4e63a716b42ceb7dbf98e892944d5 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaecf7e78ba3ca000d3306 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.178803' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"form": {"type": "return_packing_slip", "barcode": "RMA12345678900", "line_items": - [{"product": {"title": "Square Reader", "barcode": "855658003251"}, "units": - 8}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '166' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments/shp_cfa4e63a716b42ceb7dbf98e892944d5/forms - response: - body: - string: '{"created_at": "2024-01-19T21:43:19Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010707979", "updated_at": "2024-01-19T21:43:20Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_8e6846560d0b4fb19eeef9150302c00b", "object": "CustomsInfo", "created_at": - "2024-01-19T21:43:19Z", "updated_at": "2024-01-19T21:43:19Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_90adbae022304f1fabefa08af84a0c54", - "object": "CustomsItem", "created_at": "2024-01-19T21:43:19Z", "updated_at": - "2024-01-19T21:43:19Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_c2f22beeb71311eeb5e9ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:43:19+00:00", "updated_at": - "2024-01-19T21:43:19+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_5c53aec27c924b12bf6b01a6ee87a25c", - "object": "Parcel", "created_at": "2024-01-19T21:43:19Z", "updated_at": "2024-01-19T21:43:19Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_41add3fbc48f4e3c95b227f4362e608b", "created_at": "2024-01-19T21:43:20Z", - "updated_at": "2024-01-19T21:43:20Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:43:20Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e84dc9ad6c1820460c8f5606dcdbeb1c66.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_dba3d7887f4944788907d4ff038c8e1f", "object": - "Rate", "created_at": "2024-01-19T21:43:19Z", "updated_at": "2024-01-19T21:43:19Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_cfa4e63a716b42ceb7dbf98e892944d5", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_3d96c3ab5a054189a59acbe685c06365", - "object": "Rate", "created_at": "2024-01-19T21:43:19Z", "updated_at": "2024-01-19T21:43:19Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_cfa4e63a716b42ceb7dbf98e892944d5", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_ee26eb91a5c44c128d523475f247fedc", - "object": "Rate", "created_at": "2024-01-19T21:43:19Z", "updated_at": "2024-01-19T21:43:19Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_cfa4e63a716b42ceb7dbf98e892944d5", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4f167ff3010747bc9bb0f941e0a739df", - "object": "Rate", "created_at": "2024-01-19T21:43:19Z", "updated_at": "2024-01-19T21:43:19Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_cfa4e63a716b42ceb7dbf98e892944d5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_5a2b2e05f8ed4e4f975fa3f287c2fd05", "object": "Rate", "created_at": - "2024-01-19T21:43:19Z", "updated_at": "2024-01-19T21:43:19Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_cfa4e63a716b42ceb7dbf98e892944d5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_3d96c3ab5a054189a59acbe685c06365", - "object": "Rate", "created_at": "2024-01-19T21:43:20Z", "updated_at": "2024-01-19T21:43:20Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_cfa4e63a716b42ceb7dbf98e892944d5", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_a91696ddb1e141fa85c2312e45207e8e", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010707979", - "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:43:20Z", - "updated_at": "2024-01-19T21:43:21Z", "signed_by": null, "weight": null, "est_delivery_date": - "2024-01-19T21:43:20Z", "shipment_id": "shp_cfa4e63a716b42ceb7dbf98e892944d5", - "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": - "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-19T21:43:20Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", - "message": "Shipping Label Created", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-20T10:20:20Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": - null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": - null}, "public_url": "https://track.easypost.com/djE6dHJrX2E5MTY5NmRkYjFlMTQxZmE4NWMyMzEyZTQ1MjA3ZThl"}, - "to_address": {"id": "adr_c2ef5d1db71311eeb590ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:43:19+00:00", "updated_at": "2024-01-19T21:43:20+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_c2f22beeb71311eeb5e9ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:43:19+00:00", "updated_at": - "2024-01-19T21:43:19+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_c2ef5d1db71311eeb590ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:43:19+00:00", "updated_at": "2024-01-19T21:43:20+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [{"object": "Form", "id": "form_6002892a77fb4d0a981a46bb37c040d8", - "created_at": "2024-01-19T21:43:21Z", "updated_at": "2024-01-19T21:43:21Z", - "mode": "test", "form_type": "return_packing_slip", "form_url": "https://easypost-files.s3-us-west-2.amazonaws.com/files/form/20240119/4522fa5a55d640aa811b4936456de2c9.pdf", - "submitted_electronically": null}], "fees": [{"object": "Fee", "type": "LabelFee", - "amount": "0.00000", "charged": true, "refunded": false}, {"object": "Fee", - "type": "PostageFee", "amount": "7.99000", "charged": true, "refunded": false}], - "id": "shp_cfa4e63a716b42ceb7dbf98e892944d5", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '9814' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_cfa4e63a716b42ceb7dbf98e892944d5/forms/return_packing_slip - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaecf9e78ba3cb000d33e5 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.691219' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:47:10Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010708389", "updated_at": "2024-01-19T21:47:11Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_5bda3122112145cdb91fa603ae005cc2", "object": "CustomsInfo", "created_at": - "2024-01-19T21:47:10Z", "updated_at": "2024-01-19T21:47:10Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_a5faa978719242478e989250ab225316", - "object": "CustomsItem", "created_at": "2024-01-19T21:47:10Z", "updated_at": - "2024-01-19T21:47:10Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_4c8d4469b71411eea219ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:47:10+00:00", "updated_at": - "2024-01-19T21:47:10+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_c3a4c9517a3c4a7199956c6026894122", - "object": "Parcel", "created_at": "2024-01-19T21:47:10Z", "updated_at": "2024-01-19T21:47:10Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_59a4cf6f384b41108b5e770984394921", "created_at": "2024-01-19T21:47:11Z", - "updated_at": "2024-01-19T21:47:11Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:47:11Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e88f7487801c0343dcb0b050504cef3bab.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_3aa1c37639674cbfae63957016d98d5d", "object": - "Rate", "created_at": "2024-01-19T21:47:10Z", "updated_at": "2024-01-19T21:47:10Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_6a2aba6eeefb4f55bbb71374b7401a4e", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_e6031cedb5874e0596ce5796ba505819", - "object": "Rate", "created_at": "2024-01-19T21:47:10Z", "updated_at": "2024-01-19T21:47:10Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_6a2aba6eeefb4f55bbb71374b7401a4e", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_ba114dc34da24ba8855a6239dd34b919", - "object": "Rate", "created_at": "2024-01-19T21:47:10Z", "updated_at": "2024-01-19T21:47:10Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_6a2aba6eeefb4f55bbb71374b7401a4e", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_ddf211d44faa471d9bcde435b88f2768", - "object": "Rate", "created_at": "2024-01-19T21:47:10Z", "updated_at": "2024-01-19T21:47:10Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_6a2aba6eeefb4f55bbb71374b7401a4e", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_ed0477b780544c7cacf3ef22bf2ba831", "object": "Rate", "created_at": - "2024-01-19T21:47:10Z", "updated_at": "2024-01-19T21:47:10Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_6a2aba6eeefb4f55bbb71374b7401a4e", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_e6031cedb5874e0596ce5796ba505819", - "object": "Rate", "created_at": "2024-01-19T21:47:11Z", "updated_at": "2024-01-19T21:47:11Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_6a2aba6eeefb4f55bbb71374b7401a4e", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_4397260b18a2435bb9af8b522d15030e", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708389", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:47:11Z", - "updated_at": "2024-01-19T21:47:11Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_6a2aba6eeefb4f55bbb71374b7401a4e", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzQzOTcyNjBiMThhMjQzNWJiOWFmOGI1MjJkMTUwMzBl"}, - "to_address": {"id": "adr_4c8b9e86b71411eeb179ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T21:47:10+00:00", "updated_at": "2024-01-19T21:47:10+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_4c8d4469b71411eea219ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:47:10+00:00", "updated_at": - "2024-01-19T21:47:10+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_4c8b9e86b71411eeb179ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:47:10+00:00", "updated_at": "2024-01-19T21:47:10+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_6a2aba6eeefb4f55bbb71374b7401a4e", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_6a2aba6eeefb4f55bbb71374b7401a4e - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdad65aaeddee78bac6a001127c3 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.966832' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"form": {"type": "return_packing_slip", "barcode": "RMA12345678900", "line_items": - [{"product": {"title": "Square Reader", "barcode": "855658003251"}, "units": - 8}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '166' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments/shp_6a2aba6eeefb4f55bbb71374b7401a4e/forms - response: - body: - string: '{"created_at": "2024-01-19T21:47:10Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010708389", "updated_at": "2024-01-19T21:47:11Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_5bda3122112145cdb91fa603ae005cc2", "object": "CustomsInfo", "created_at": - "2024-01-19T21:47:10Z", "updated_at": "2024-01-19T21:47:10Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_a5faa978719242478e989250ab225316", - "object": "CustomsItem", "created_at": "2024-01-19T21:47:10Z", "updated_at": - "2024-01-19T21:47:10Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_4c8d4469b71411eea219ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:47:10+00:00", "updated_at": - "2024-01-19T21:47:10+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_c3a4c9517a3c4a7199956c6026894122", - "object": "Parcel", "created_at": "2024-01-19T21:47:10Z", "updated_at": "2024-01-19T21:47:10Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_59a4cf6f384b41108b5e770984394921", "created_at": "2024-01-19T21:47:11Z", - "updated_at": "2024-01-19T21:47:11Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:47:11Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e88f7487801c0343dcb0b050504cef3bab.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_3aa1c37639674cbfae63957016d98d5d", "object": - "Rate", "created_at": "2024-01-19T21:47:10Z", "updated_at": "2024-01-19T21:47:10Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_6a2aba6eeefb4f55bbb71374b7401a4e", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_e6031cedb5874e0596ce5796ba505819", - "object": "Rate", "created_at": "2024-01-19T21:47:10Z", "updated_at": "2024-01-19T21:47:10Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_6a2aba6eeefb4f55bbb71374b7401a4e", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_ba114dc34da24ba8855a6239dd34b919", - "object": "Rate", "created_at": "2024-01-19T21:47:10Z", "updated_at": "2024-01-19T21:47:10Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_6a2aba6eeefb4f55bbb71374b7401a4e", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_ddf211d44faa471d9bcde435b88f2768", - "object": "Rate", "created_at": "2024-01-19T21:47:10Z", "updated_at": "2024-01-19T21:47:10Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_6a2aba6eeefb4f55bbb71374b7401a4e", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_ed0477b780544c7cacf3ef22bf2ba831", "object": "Rate", "created_at": - "2024-01-19T21:47:10Z", "updated_at": "2024-01-19T21:47:10Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_6a2aba6eeefb4f55bbb71374b7401a4e", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_e6031cedb5874e0596ce5796ba505819", - "object": "Rate", "created_at": "2024-01-19T21:47:11Z", "updated_at": "2024-01-19T21:47:11Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_6a2aba6eeefb4f55bbb71374b7401a4e", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_4397260b18a2435bb9af8b522d15030e", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708389", - "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:47:11Z", - "updated_at": "2024-01-19T21:47:11Z", "signed_by": null, "weight": null, "est_delivery_date": - "2024-01-19T21:47:11Z", "shipment_id": "shp_6a2aba6eeefb4f55bbb71374b7401a4e", - "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": - "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-19T21:47:11Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", - "message": "Shipping Label Created", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-20T10:24:11Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": - null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": - null}, "public_url": "https://track.easypost.com/djE6dHJrXzQzOTcyNjBiMThhMjQzNWJiOWFmOGI1MjJkMTUwMzBl"}, - "to_address": {"id": "adr_4c8b9e86b71411eeb179ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T21:47:10+00:00", "updated_at": "2024-01-19T21:47:10+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_4c8d4469b71411eea219ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:47:10+00:00", "updated_at": - "2024-01-19T21:47:10+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_4c8b9e86b71411eeb179ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:47:10+00:00", "updated_at": "2024-01-19T21:47:10+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [{"object": "Form", "id": "form_fcf2fdf2329447abb9d7d8347d78b460", - "created_at": "2024-01-19T21:47:12Z", "updated_at": "2024-01-19T21:47:12Z", - "mode": "test", "form_type": "return_packing_slip", "form_url": "https://easypost-files.s3-us-west-2.amazonaws.com/files/form/20240119/c405e4cc897a43dbaee4bccacd396556.pdf", - "submitted_electronically": null}], "fees": [{"object": "Fee", "type": "LabelFee", - "amount": "0.00000", "charged": true, "refunded": false}, {"object": "Fee", - "type": "PostageFee", "amount": "7.99000", "charged": true, "refunded": false}], - "id": "shp_6a2aba6eeefb4f55bbb71374b7401a4e", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '9814' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_6a2aba6eeefb4f55bbb71374b7401a4e/forms/return_packing_slip - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdaa65aaeddfe78bac6b001128a9 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.676964' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:49:02Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010708877", "updated_at": "2024-01-19T21:49:03Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_ec3830c61eda404d9f96ce23cbea0218", "object": "CustomsInfo", "created_at": - "2024-01-19T21:49:02Z", "updated_at": "2024-01-19T21:49:02Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_cb57079ceb6d48f5ab254f755a0cde9b", - "object": "CustomsItem", "created_at": "2024-01-19T21:49:02Z", "updated_at": - "2024-01-19T21:49:02Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_8f20394db71411ee85f4ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:49:02+00:00", "updated_at": - "2024-01-19T21:49:02+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_801684df328647c89e3bc7c6554da7aa", - "object": "Parcel", "created_at": "2024-01-19T21:49:02Z", "updated_at": "2024-01-19T21:49:02Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_43f40292f05642bd9f00ab7ad4b8089c", "created_at": "2024-01-19T21:49:02Z", - "updated_at": "2024-01-19T21:49:03Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:49:02Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e880ebabbe97d94d509e4275f75ea7215b.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_2b79992be31b4233bf39281a7a07a675", "object": - "Rate", "created_at": "2024-01-19T21:49:02Z", "updated_at": "2024-01-19T21:49:02Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_007ec538288d4a0b985e2044483a6add", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_d27c6350818a466980ae857a2876edd1", - "object": "Rate", "created_at": "2024-01-19T21:49:02Z", "updated_at": "2024-01-19T21:49:02Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_007ec538288d4a0b985e2044483a6add", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_a1e62fdb58194e9a831588b5f1675058", - "object": "Rate", "created_at": "2024-01-19T21:49:02Z", "updated_at": "2024-01-19T21:49:02Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_007ec538288d4a0b985e2044483a6add", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_3c9f268a14054d23aa57ed32e47998d3", - "object": "Rate", "created_at": "2024-01-19T21:49:02Z", "updated_at": "2024-01-19T21:49:02Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_007ec538288d4a0b985e2044483a6add", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_48fcf4922a854460931152a00fb7d19e", "object": "Rate", "created_at": - "2024-01-19T21:49:02Z", "updated_at": "2024-01-19T21:49:02Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_007ec538288d4a0b985e2044483a6add", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_d27c6350818a466980ae857a2876edd1", - "object": "Rate", "created_at": "2024-01-19T21:49:02Z", "updated_at": "2024-01-19T21:49:02Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_007ec538288d4a0b985e2044483a6add", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_3aa97362cae14aa883ebfa90e5ba6043", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708877", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:49:03Z", - "updated_at": "2024-01-19T21:49:03Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_007ec538288d4a0b985e2044483a6add", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzNhYTk3MzYyY2FlMTRhYTg4M2ViZmE5MGU1YmE2MDQz"}, - "to_address": {"id": "adr_8f1e5448b71411eeb785ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:49:02+00:00", "updated_at": "2024-01-19T21:49:02+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_8f20394db71411ee85f4ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:49:02+00:00", "updated_at": - "2024-01-19T21:49:02+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_8f1e5448b71411eeb785ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:49:02+00:00", "updated_at": "2024-01-19T21:49:02+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_007ec538288d4a0b985e2044483a6add", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_007ec538288d4a0b985e2044483a6add - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda965aaee4ee78bb48d00116afb - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '1.021831' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"form": {"type": "return_packing_slip", "barcode": "RMA12345678900", "line_items": - [{"product": {"title": "Square Reader", "barcode": "855658003251"}, "units": - 8}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '166' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments/shp_007ec538288d4a0b985e2044483a6add/forms - response: - body: - string: '{"created_at": "2024-01-19T21:49:02Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010708877", "updated_at": "2024-01-19T21:49:03Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_ec3830c61eda404d9f96ce23cbea0218", "object": "CustomsInfo", "created_at": - "2024-01-19T21:49:02Z", "updated_at": "2024-01-19T21:49:02Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_cb57079ceb6d48f5ab254f755a0cde9b", - "object": "CustomsItem", "created_at": "2024-01-19T21:49:02Z", "updated_at": - "2024-01-19T21:49:02Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_8f20394db71411ee85f4ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:49:02+00:00", "updated_at": - "2024-01-19T21:49:02+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_801684df328647c89e3bc7c6554da7aa", - "object": "Parcel", "created_at": "2024-01-19T21:49:02Z", "updated_at": "2024-01-19T21:49:02Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_43f40292f05642bd9f00ab7ad4b8089c", "created_at": "2024-01-19T21:49:02Z", - "updated_at": "2024-01-19T21:49:03Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:49:02Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e880ebabbe97d94d509e4275f75ea7215b.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_2b79992be31b4233bf39281a7a07a675", "object": - "Rate", "created_at": "2024-01-19T21:49:02Z", "updated_at": "2024-01-19T21:49:02Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_007ec538288d4a0b985e2044483a6add", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_d27c6350818a466980ae857a2876edd1", - "object": "Rate", "created_at": "2024-01-19T21:49:02Z", "updated_at": "2024-01-19T21:49:02Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_007ec538288d4a0b985e2044483a6add", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_a1e62fdb58194e9a831588b5f1675058", - "object": "Rate", "created_at": "2024-01-19T21:49:02Z", "updated_at": "2024-01-19T21:49:02Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_007ec538288d4a0b985e2044483a6add", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_3c9f268a14054d23aa57ed32e47998d3", - "object": "Rate", "created_at": "2024-01-19T21:49:02Z", "updated_at": "2024-01-19T21:49:02Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_007ec538288d4a0b985e2044483a6add", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_48fcf4922a854460931152a00fb7d19e", "object": "Rate", "created_at": - "2024-01-19T21:49:02Z", "updated_at": "2024-01-19T21:49:02Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_007ec538288d4a0b985e2044483a6add", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_d27c6350818a466980ae857a2876edd1", - "object": "Rate", "created_at": "2024-01-19T21:49:02Z", "updated_at": "2024-01-19T21:49:02Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_007ec538288d4a0b985e2044483a6add", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_3aa97362cae14aa883ebfa90e5ba6043", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708877", - "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:49:03Z", - "updated_at": "2024-01-19T21:49:03Z", "signed_by": null, "weight": null, "est_delivery_date": - "2024-01-19T21:49:03Z", "shipment_id": "shp_007ec538288d4a0b985e2044483a6add", - "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": - "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-19T21:49:03Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", - "message": "Shipping Label Created", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-20T10:26:03Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": - null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": - null}, "public_url": "https://track.easypost.com/djE6dHJrXzNhYTk3MzYyY2FlMTRhYTg4M2ViZmE5MGU1YmE2MDQz"}, - "to_address": {"id": "adr_8f1e5448b71411eeb785ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:49:02+00:00", "updated_at": "2024-01-19T21:49:02+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_8f20394db71411ee85f4ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:49:02+00:00", "updated_at": - "2024-01-19T21:49:02+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_8f1e5448b71411eeb785ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:49:02+00:00", "updated_at": "2024-01-19T21:49:02+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [{"object": "Form", "id": "form_a31e70f11a9a42348e03b8cc22869682", - "created_at": "2024-01-19T21:49:04Z", "updated_at": "2024-01-19T21:49:04Z", - "mode": "test", "form_type": "return_packing_slip", "form_url": "https://easypost-files.s3-us-west-2.amazonaws.com/files/form/20240119/9248dccc915a4524b4df17dc335110a3.pdf", - "submitted_electronically": null}], "fees": [{"object": "Fee", "type": "LabelFee", - "amount": "0.00000", "charged": true, "refunded": false}, {"object": "Fee", - "type": "PostageFee", "amount": "7.99000", "charged": true, "refunded": false}], - "id": "shp_007ec538288d4a0b985e2044483a6add", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '9814' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_007ec538288d4a0b985e2044483a6add/forms/return_packing_slip - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda965aaee4fe78bb48e00116be1 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.639800' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:58:23Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010711389", "updated_at": "2024-01-19T21:58:24Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_95f7857ac9ad4c599f4992d3947c6db2", "object": "CustomsInfo", "created_at": - "2024-01-19T21:58:23Z", "updated_at": "2024-01-19T21:58:23Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_54fde56103d74d0193d278445580724c", - "object": "CustomsItem", "created_at": "2024-01-19T21:58:23Z", "updated_at": - "2024-01-19T21:58:23Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_ddb57295b71511eea89eac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:58:23+00:00", "updated_at": - "2024-01-19T21:58:23+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_d1c6ba0af97d46f8954f2c767428abd6", - "object": "Parcel", "created_at": "2024-01-19T21:58:23Z", "updated_at": "2024-01-19T21:58:23Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_8a438eacd62a492f9f71c6d9e9afc26a", "created_at": "2024-01-19T21:58:24Z", - "updated_at": "2024-01-19T21:58:24Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:58:24Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8385741bb1c674b6891edfe570eaf1396.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_08a24c94032143a78975e4f59d2daeef", "object": - "Rate", "created_at": "2024-01-19T21:58:23Z", "updated_at": "2024-01-19T21:58:23Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_328a74fa737044a4adf02d2a1ee30029", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f4c7f1fe271f4b7aae90a3c68703e349", - "object": "Rate", "created_at": "2024-01-19T21:58:23Z", "updated_at": "2024-01-19T21:58:23Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_328a74fa737044a4adf02d2a1ee30029", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_daae698c19234407909f7b54b0d39ce2", - "object": "Rate", "created_at": "2024-01-19T21:58:23Z", "updated_at": "2024-01-19T21:58:23Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_328a74fa737044a4adf02d2a1ee30029", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_f346407036bb4e8c8dfc54b032110551", "object": "Rate", "created_at": - "2024-01-19T21:58:23Z", "updated_at": "2024-01-19T21:58:23Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_328a74fa737044a4adf02d2a1ee30029", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_8dd2a1f7d5fe482a910c7376e80a9230", "object": "Rate", "created_at": - "2024-01-19T21:58:23Z", "updated_at": "2024-01-19T21:58:23Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_328a74fa737044a4adf02d2a1ee30029", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_08a24c94032143a78975e4f59d2daeef", - "object": "Rate", "created_at": "2024-01-19T21:58:24Z", "updated_at": "2024-01-19T21:58:24Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_328a74fa737044a4adf02d2a1ee30029", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_53c7186f3de142a29b241d44b7ed6fa6", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711389", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:58:24Z", - "updated_at": "2024-01-19T21:58:24Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_328a74fa737044a4adf02d2a1ee30029", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzUzYzcxODZmM2RlMTQyYTI5YjI0MWQ0NGI3ZWQ2ZmE2"}, - "to_address": {"id": "adr_ddb2d598b71511eea49c3cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:58:23+00:00", "updated_at": "2024-01-19T21:58:23+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_ddb57295b71511eea89eac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:58:23+00:00", "updated_at": - "2024-01-19T21:58:23+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_ddb2d598b71511eea49c3cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:58:23+00:00", "updated_at": "2024-01-19T21:58:23+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_328a74fa737044a4adf02d2a1ee30029", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_328a74fa737044a4adf02d2a1ee30029 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf07fe798bc21000f70a5 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.909717' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"form": {"type": "return_packing_slip", "barcode": "RMA12345678900", "line_items": - [{"product": {"title": "Square Reader", "barcode": "855658003251"}, "units": - 8}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '166' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments/shp_328a74fa737044a4adf02d2a1ee30029/forms - response: - body: - string: '{"created_at": "2024-01-19T21:58:23Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010711389", "updated_at": "2024-01-19T21:58:24Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_95f7857ac9ad4c599f4992d3947c6db2", "object": "CustomsInfo", "created_at": - "2024-01-19T21:58:23Z", "updated_at": "2024-01-19T21:58:23Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_54fde56103d74d0193d278445580724c", - "object": "CustomsItem", "created_at": "2024-01-19T21:58:23Z", "updated_at": - "2024-01-19T21:58:23Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_ddb57295b71511eea89eac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:58:23+00:00", "updated_at": - "2024-01-19T21:58:23+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_d1c6ba0af97d46f8954f2c767428abd6", - "object": "Parcel", "created_at": "2024-01-19T21:58:23Z", "updated_at": "2024-01-19T21:58:23Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_8a438eacd62a492f9f71c6d9e9afc26a", "created_at": "2024-01-19T21:58:24Z", - "updated_at": "2024-01-19T21:58:24Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:58:24Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8385741bb1c674b6891edfe570eaf1396.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_08a24c94032143a78975e4f59d2daeef", "object": - "Rate", "created_at": "2024-01-19T21:58:23Z", "updated_at": "2024-01-19T21:58:23Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_328a74fa737044a4adf02d2a1ee30029", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f4c7f1fe271f4b7aae90a3c68703e349", - "object": "Rate", "created_at": "2024-01-19T21:58:23Z", "updated_at": "2024-01-19T21:58:23Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_328a74fa737044a4adf02d2a1ee30029", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_daae698c19234407909f7b54b0d39ce2", - "object": "Rate", "created_at": "2024-01-19T21:58:23Z", "updated_at": "2024-01-19T21:58:23Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_328a74fa737044a4adf02d2a1ee30029", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_f346407036bb4e8c8dfc54b032110551", "object": "Rate", "created_at": - "2024-01-19T21:58:23Z", "updated_at": "2024-01-19T21:58:23Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_328a74fa737044a4adf02d2a1ee30029", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_8dd2a1f7d5fe482a910c7376e80a9230", "object": "Rate", "created_at": - "2024-01-19T21:58:23Z", "updated_at": "2024-01-19T21:58:23Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_328a74fa737044a4adf02d2a1ee30029", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_08a24c94032143a78975e4f59d2daeef", - "object": "Rate", "created_at": "2024-01-19T21:58:24Z", "updated_at": "2024-01-19T21:58:24Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_328a74fa737044a4adf02d2a1ee30029", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_53c7186f3de142a29b241d44b7ed6fa6", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711389", - "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:58:24Z", - "updated_at": "2024-01-19T21:58:24Z", "signed_by": null, "weight": null, "est_delivery_date": - "2024-01-19T21:58:24Z", "shipment_id": "shp_328a74fa737044a4adf02d2a1ee30029", - "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": - "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-19T21:58:24Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", - "message": "Shipping Label Created", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-20T10:35:24Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": - null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": - null}, "public_url": "https://track.easypost.com/djE6dHJrXzUzYzcxODZmM2RlMTQyYTI5YjI0MWQ0NGI3ZWQ2ZmE2"}, - "to_address": {"id": "adr_ddb2d598b71511eea49c3cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:58:23+00:00", "updated_at": "2024-01-19T21:58:23+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_ddb57295b71511eea89eac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:58:23+00:00", "updated_at": - "2024-01-19T21:58:23+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_ddb2d598b71511eea49c3cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:58:23+00:00", "updated_at": "2024-01-19T21:58:23+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [{"object": "Form", "id": "form_f154c4d29dcb49a3a942044a8f3aaf34", - "created_at": "2024-01-19T21:58:25Z", "updated_at": "2024-01-19T21:58:25Z", - "mode": "test", "form_type": "return_packing_slip", "form_url": "https://easypost-files.s3-us-west-2.amazonaws.com/files/form/20240119/f40fa8cbe22b44f0acbb052d8663f9d7.pdf", - "submitted_electronically": null}], "fees": [{"object": "Fee", "type": "LabelFee", - "amount": "0.00000", "charged": true, "refunded": false}, {"object": "Fee", - "type": "PostageFee", "amount": "7.99000", "charged": true, "refunded": false}], - "id": "shp_328a74fa737044a4adf02d2a1ee30029", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '9814' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_328a74fa737044a4adf02d2a1ee30029/forms/return_packing_slip - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaf080e798bc22000f7145 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.589453' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T22:01:17Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010711815", "updated_at": "2024-01-19T22:01:18Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_c8f543366b4c488e88bf6d1400c50bc6", "object": "CustomsInfo", "created_at": - "2024-01-19T22:01:17Z", "updated_at": "2024-01-19T22:01:17Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_addb88a4504e416bb473720d16f0ed3e", - "object": "CustomsItem", "created_at": "2024-01-19T22:01:17Z", "updated_at": - "2024-01-19T22:01:17Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_45852e66b71611ee9786ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T22:01:17+00:00", "updated_at": - "2024-01-19T22:01:17+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_bf57901fe0914e6b857b408aa58f5343", - "object": "Parcel", "created_at": "2024-01-19T22:01:17Z", "updated_at": "2024-01-19T22:01:17Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_3466f99e363a456f87551369d31f6329", "created_at": "2024-01-19T22:01:18Z", - "updated_at": "2024-01-19T22:01:18Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T22:01:18Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8d6a13b7a60764e21a5ea1435e84b0b0c.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_b39a261a45904a428f418e1d4c2f34a5", "object": - "Rate", "created_at": "2024-01-19T22:01:18Z", "updated_at": "2024-01-19T22:01:18Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_97d65932431e4562a0a68c78a80c7a3c", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c5791b31336e4e4f90a7c4b2ea75338f", - "object": "Rate", "created_at": "2024-01-19T22:01:18Z", "updated_at": "2024-01-19T22:01:18Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_97d65932431e4562a0a68c78a80c7a3c", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_49c55d373b524f9690e87ebf36b2629b", - "object": "Rate", "created_at": "2024-01-19T22:01:18Z", "updated_at": "2024-01-19T22:01:18Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_97d65932431e4562a0a68c78a80c7a3c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_f9bb07784a7644678c3efb2a8a98705b", "object": "Rate", "created_at": - "2024-01-19T22:01:18Z", "updated_at": "2024-01-19T22:01:18Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_97d65932431e4562a0a68c78a80c7a3c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_f05fc27aa30b44909e4f3268333acc3c", "object": "Rate", "created_at": - "2024-01-19T22:01:18Z", "updated_at": "2024-01-19T22:01:18Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_97d65932431e4562a0a68c78a80c7a3c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_b39a261a45904a428f418e1d4c2f34a5", - "object": "Rate", "created_at": "2024-01-19T22:01:18Z", "updated_at": "2024-01-19T22:01:18Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_97d65932431e4562a0a68c78a80c7a3c", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_3777dff7dfe94c3fbd967990ed18fd76", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711815", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:01:18Z", - "updated_at": "2024-01-19T22:01:18Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_97d65932431e4562a0a68c78a80c7a3c", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzM3NzdkZmY3ZGZlOTRjM2ZiZDk2Nzk5MGVkMThmZDc2"}, - "to_address": {"id": "adr_4582ce32b71611ee85733cecef1b359e", "object": "Address", - "created_at": "2024-01-19T22:01:17+00:00", "updated_at": "2024-01-19T22:01:18+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_45852e66b71611ee9786ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T22:01:17+00:00", "updated_at": - "2024-01-19T22:01:17+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_4582ce32b71611ee85733cecef1b359e", "object": - "Address", "created_at": "2024-01-19T22:01:17+00:00", "updated_at": "2024-01-19T22:01:18+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_97d65932431e4562a0a68c78a80c7a3c", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_97d65932431e4562a0a68c78a80c7a3c - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf12de798c47e000ffb08 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.089660' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"form": {"type": "return_packing_slip", "barcode": "RMA12345678900", "line_items": - [{"product": {"title": "Square Reader", "barcode": "855658003251"}, "units": - 8}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '166' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments/shp_97d65932431e4562a0a68c78a80c7a3c/forms - response: - body: - string: '{"created_at": "2024-01-19T22:01:17Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010711815", "updated_at": "2024-01-19T22:01:18Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_c8f543366b4c488e88bf6d1400c50bc6", "object": "CustomsInfo", "created_at": - "2024-01-19T22:01:17Z", "updated_at": "2024-01-19T22:01:17Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_addb88a4504e416bb473720d16f0ed3e", - "object": "CustomsItem", "created_at": "2024-01-19T22:01:17Z", "updated_at": - "2024-01-19T22:01:17Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_45852e66b71611ee9786ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T22:01:17+00:00", "updated_at": - "2024-01-19T22:01:17+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_bf57901fe0914e6b857b408aa58f5343", - "object": "Parcel", "created_at": "2024-01-19T22:01:17Z", "updated_at": "2024-01-19T22:01:17Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_3466f99e363a456f87551369d31f6329", "created_at": "2024-01-19T22:01:18Z", - "updated_at": "2024-01-19T22:01:18Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T22:01:18Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8d6a13b7a60764e21a5ea1435e84b0b0c.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_b39a261a45904a428f418e1d4c2f34a5", "object": - "Rate", "created_at": "2024-01-19T22:01:18Z", "updated_at": "2024-01-19T22:01:18Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_97d65932431e4562a0a68c78a80c7a3c", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c5791b31336e4e4f90a7c4b2ea75338f", - "object": "Rate", "created_at": "2024-01-19T22:01:18Z", "updated_at": "2024-01-19T22:01:18Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_97d65932431e4562a0a68c78a80c7a3c", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_49c55d373b524f9690e87ebf36b2629b", - "object": "Rate", "created_at": "2024-01-19T22:01:18Z", "updated_at": "2024-01-19T22:01:18Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_97d65932431e4562a0a68c78a80c7a3c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_f9bb07784a7644678c3efb2a8a98705b", "object": "Rate", "created_at": - "2024-01-19T22:01:18Z", "updated_at": "2024-01-19T22:01:18Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_97d65932431e4562a0a68c78a80c7a3c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_f05fc27aa30b44909e4f3268333acc3c", "object": "Rate", "created_at": - "2024-01-19T22:01:18Z", "updated_at": "2024-01-19T22:01:18Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_97d65932431e4562a0a68c78a80c7a3c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_b39a261a45904a428f418e1d4c2f34a5", - "object": "Rate", "created_at": "2024-01-19T22:01:18Z", "updated_at": "2024-01-19T22:01:18Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_97d65932431e4562a0a68c78a80c7a3c", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_3777dff7dfe94c3fbd967990ed18fd76", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711815", - "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T22:01:18Z", - "updated_at": "2024-01-19T22:01:18Z", "signed_by": null, "weight": null, "est_delivery_date": - "2024-01-19T22:01:18Z", "shipment_id": "shp_97d65932431e4562a0a68c78a80c7a3c", - "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": - "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-19T22:01:18Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", - "message": "Shipping Label Created", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-20T10:38:18Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": - null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": - null}, "public_url": "https://track.easypost.com/djE6dHJrXzM3NzdkZmY3ZGZlOTRjM2ZiZDk2Nzk5MGVkMThmZDc2"}, - "to_address": {"id": "adr_4582ce32b71611ee85733cecef1b359e", "object": "Address", - "created_at": "2024-01-19T22:01:17+00:00", "updated_at": "2024-01-19T22:01:18+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_45852e66b71611ee9786ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T22:01:17+00:00", "updated_at": - "2024-01-19T22:01:17+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_4582ce32b71611ee85733cecef1b359e", "object": - "Address", "created_at": "2024-01-19T22:01:17+00:00", "updated_at": "2024-01-19T22:01:18+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [{"object": "Form", "id": "form_dc081a8aad5c40adb4899d923e132b0e", - "created_at": "2024-01-19T22:01:19Z", "updated_at": "2024-01-19T22:01:19Z", - "mode": "test", "form_type": "return_packing_slip", "form_url": "https://easypost-files.s3-us-west-2.amazonaws.com/files/form/20240119/e11d6493920e4700ad6f0428eb141a32.pdf", - "submitted_electronically": null}], "fees": [{"object": "Fee", "type": "LabelFee", - "amount": "0.00000", "charged": true, "refunded": false}, {"object": "Fee", - "type": "PostageFee", "amount": "7.99000", "charged": true, "refunded": false}], - "id": "shp_97d65932431e4562a0a68c78a80c7a3c", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '9814' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_97d65932431e4562a0a68c78a80c7a3c/forms/return_packing_slip - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaf12fe798c47f000ffc5f - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.695620' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T22:05:03Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010712546", "updated_at": "2024-01-19T22:05:04Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_e7d9083f1098482bb026ab8f2cedf4b4", "object": "CustomsInfo", "created_at": - "2024-01-19T22:05:03Z", "updated_at": "2024-01-19T22:05:03Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_ffea7edbb23f4f05b3f61ccd304c2bb4", - "object": "CustomsItem", "created_at": "2024-01-19T22:05:03Z", "updated_at": - "2024-01-19T22:05:03Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_cc3fc437b71611eeb229ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:05:03+00:00", "updated_at": - "2024-01-19T22:05:03+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_fb13c3f9282242b5b1ed2670af08360e", - "object": "Parcel", "created_at": "2024-01-19T22:05:03Z", "updated_at": "2024-01-19T22:05:03Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_637c1f10151744068006a156d6c39cd1", "created_at": "2024-01-19T22:05:04Z", - "updated_at": "2024-01-19T22:05:04Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T22:05:04Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e80bb8f6b212944e0fab4b28247fbf594d.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_91e1a2f7d8764098b5b1133db8fa5145", "object": - "Rate", "created_at": "2024-01-19T22:05:04Z", "updated_at": "2024-01-19T22:05:04Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_4629fe94f4494692b8b689e0f4866acf", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_cce878a3aafa419faeaa6f631444289c", - "object": "Rate", "created_at": "2024-01-19T22:05:04Z", "updated_at": "2024-01-19T22:05:04Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_4629fe94f4494692b8b689e0f4866acf", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_36e3f4dddeea465aabd042dcc2ed77cf", - "object": "Rate", "created_at": "2024-01-19T22:05:04Z", "updated_at": "2024-01-19T22:05:04Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_4629fe94f4494692b8b689e0f4866acf", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_8d3ee147d4f244a799ee07944f67d9b8", - "object": "Rate", "created_at": "2024-01-19T22:05:04Z", "updated_at": "2024-01-19T22:05:04Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_4629fe94f4494692b8b689e0f4866acf", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_a1e5b84fac27475c964400353bb9de85", "object": "Rate", "created_at": - "2024-01-19T22:05:04Z", "updated_at": "2024-01-19T22:05:04Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_4629fe94f4494692b8b689e0f4866acf", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_cce878a3aafa419faeaa6f631444289c", - "object": "Rate", "created_at": "2024-01-19T22:05:04Z", "updated_at": "2024-01-19T22:05:04Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_4629fe94f4494692b8b689e0f4866acf", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_b08830aad6cc43ddb28c44c4a642b3fc", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010712546", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:05:04Z", - "updated_at": "2024-01-19T22:05:04Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_4629fe94f4494692b8b689e0f4866acf", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrX2IwODgzMGFhZDZjYzQzZGRiMjhjNDRjNGE2NDJiM2Zj"}, - "to_address": {"id": "adr_cc3d640cb71611eeb49bac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T22:05:03+00:00", "updated_at": "2024-01-19T22:05:04+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_cc3fc437b71611eeb229ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:05:03+00:00", "updated_at": - "2024-01-19T22:05:03+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_cc3d640cb71611eeb49bac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T22:05:03+00:00", "updated_at": "2024-01-19T22:05:04+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_4629fe94f4494692b8b689e0f4866acf", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_4629fe94f4494692b8b689e0f4866acf - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaf20fe798d05b0010a9eb - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.001298' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"form": {"type": "return_packing_slip", "barcode": "RMA12345678900", "line_items": - [{"product": {"title": "Square Reader", "barcode": "855658003251"}, "units": - 8}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '166' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments/shp_4629fe94f4494692b8b689e0f4866acf/forms - response: - body: - string: '{"created_at": "2024-01-19T22:05:03Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010712546", "updated_at": "2024-01-19T22:05:04Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_e7d9083f1098482bb026ab8f2cedf4b4", "object": "CustomsInfo", "created_at": - "2024-01-19T22:05:03Z", "updated_at": "2024-01-19T22:05:03Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_ffea7edbb23f4f05b3f61ccd304c2bb4", - "object": "CustomsItem", "created_at": "2024-01-19T22:05:03Z", "updated_at": - "2024-01-19T22:05:03Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_cc3fc437b71611eeb229ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:05:03+00:00", "updated_at": - "2024-01-19T22:05:03+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_fb13c3f9282242b5b1ed2670af08360e", - "object": "Parcel", "created_at": "2024-01-19T22:05:03Z", "updated_at": "2024-01-19T22:05:03Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_637c1f10151744068006a156d6c39cd1", "created_at": "2024-01-19T22:05:04Z", - "updated_at": "2024-01-19T22:05:04Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T22:05:04Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e80bb8f6b212944e0fab4b28247fbf594d.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_91e1a2f7d8764098b5b1133db8fa5145", "object": - "Rate", "created_at": "2024-01-19T22:05:04Z", "updated_at": "2024-01-19T22:05:04Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_4629fe94f4494692b8b689e0f4866acf", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_cce878a3aafa419faeaa6f631444289c", - "object": "Rate", "created_at": "2024-01-19T22:05:04Z", "updated_at": "2024-01-19T22:05:04Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_4629fe94f4494692b8b689e0f4866acf", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_36e3f4dddeea465aabd042dcc2ed77cf", - "object": "Rate", "created_at": "2024-01-19T22:05:04Z", "updated_at": "2024-01-19T22:05:04Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_4629fe94f4494692b8b689e0f4866acf", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_8d3ee147d4f244a799ee07944f67d9b8", - "object": "Rate", "created_at": "2024-01-19T22:05:04Z", "updated_at": "2024-01-19T22:05:04Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_4629fe94f4494692b8b689e0f4866acf", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_a1e5b84fac27475c964400353bb9de85", "object": "Rate", "created_at": - "2024-01-19T22:05:04Z", "updated_at": "2024-01-19T22:05:04Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_4629fe94f4494692b8b689e0f4866acf", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_cce878a3aafa419faeaa6f631444289c", - "object": "Rate", "created_at": "2024-01-19T22:05:04Z", "updated_at": "2024-01-19T22:05:04Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_4629fe94f4494692b8b689e0f4866acf", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_b08830aad6cc43ddb28c44c4a642b3fc", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010712546", - "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T22:05:04Z", - "updated_at": "2024-01-19T22:05:04Z", "signed_by": null, "weight": null, "est_delivery_date": - "2024-01-19T22:05:04Z", "shipment_id": "shp_4629fe94f4494692b8b689e0f4866acf", - "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": - "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-19T22:05:04Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", - "message": "Shipping Label Created", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-20T10:42:04Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": - null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": - null}, "public_url": "https://track.easypost.com/djE6dHJrX2IwODgzMGFhZDZjYzQzZGRiMjhjNDRjNGE2NDJiM2Zj"}, - "to_address": {"id": "adr_cc3d640cb71611eeb49bac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T22:05:03+00:00", "updated_at": "2024-01-19T22:05:04+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_cc3fc437b71611eeb229ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:05:03+00:00", "updated_at": - "2024-01-19T22:05:03+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_cc3d640cb71611eeb49bac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T22:05:03+00:00", "updated_at": "2024-01-19T22:05:04+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [{"object": "Form", "id": "form_4b15cdfc1e074557a80f5383c788d155", - "created_at": "2024-01-19T22:05:05Z", "updated_at": "2024-01-19T22:05:05Z", - "mode": "test", "form_type": "return_packing_slip", "form_url": "https://easypost-files.s3-us-west-2.amazonaws.com/files/form/20240119/e7a6df70e3b14d07a1af9ec350b67d86.pdf", - "submitted_electronically": null}], "fees": [{"object": "Fee", "type": "LabelFee", - "amount": "0.00000", "charged": true, "refunded": false}, {"object": "Fee", - "type": "PostageFee", "amount": "7.99000", "charged": true, "refunded": false}], - "id": "shp_4629fe94f4494692b8b689e0f4866acf", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '9814' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_4629fe94f4494692b8b689e0f4866acf/forms/return_packing_slip - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaf211e798d05d0010aac0 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.680226' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T22:06:37Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010713130", "updated_at": "2024-01-19T22:06:38Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_6424f9c6c56a45e0a053d41bab765366", "object": "CustomsInfo", "created_at": - "2024-01-19T22:06:37Z", "updated_at": "2024-01-19T22:06:37Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_f3b93149111747b685e79f7e45123555", - "object": "CustomsItem", "created_at": "2024-01-19T22:06:37Z", "updated_at": - "2024-01-19T22:06:37Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_03d0ac30b71711ee8522ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:06:37+00:00", "updated_at": - "2024-01-19T22:06:37+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_aba631355c144c79b47714219c99b56a", - "object": "Parcel", "created_at": "2024-01-19T22:06:37Z", "updated_at": "2024-01-19T22:06:37Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_24118cf8a19e46aa88507abf3ac31460", "created_at": "2024-01-19T22:06:37Z", - "updated_at": "2024-01-19T22:06:38Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T22:06:37Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e85006b77f7f2f4a44b65598f187ea2830.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_bff27d36ac6c4b09a9637f99acddaeb8", "object": - "Rate", "created_at": "2024-01-19T22:06:37Z", "updated_at": "2024-01-19T22:06:37Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_04f452cb0a14438c93d21970a907560f", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_069d6fd9fd8548b8aae17a80a08cb664", - "object": "Rate", "created_at": "2024-01-19T22:06:37Z", "updated_at": "2024-01-19T22:06:37Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_04f452cb0a14438c93d21970a907560f", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_6f5f0c38a162400291fa06e7a76cb5f7", - "object": "Rate", "created_at": "2024-01-19T22:06:37Z", "updated_at": "2024-01-19T22:06:37Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_04f452cb0a14438c93d21970a907560f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_50a8cb70d1e24035b9ab15e714d3f3ce", "object": "Rate", "created_at": - "2024-01-19T22:06:37Z", "updated_at": "2024-01-19T22:06:37Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_04f452cb0a14438c93d21970a907560f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_87d724718ad14eb384f691c06a302751", "object": "Rate", "created_at": - "2024-01-19T22:06:37Z", "updated_at": "2024-01-19T22:06:37Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_04f452cb0a14438c93d21970a907560f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_bff27d36ac6c4b09a9637f99acddaeb8", - "object": "Rate", "created_at": "2024-01-19T22:06:37Z", "updated_at": "2024-01-19T22:06:37Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_04f452cb0a14438c93d21970a907560f", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_4ef6c65400804e3f98cb3c2b0056b8b9", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010713130", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:06:38Z", - "updated_at": "2024-01-19T22:06:38Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_04f452cb0a14438c93d21970a907560f", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzRlZjZjNjU0MDA4MDRlM2Y5OGNiM2MyYjAwNTZiOGI5"}, - "to_address": {"id": "adr_03cba68eb71711ee959cac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T22:06:37+00:00", "updated_at": "2024-01-19T22:06:37+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_03d0ac30b71711ee8522ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:06:37+00:00", "updated_at": - "2024-01-19T22:06:37+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_03cba68eb71711ee959cac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T22:06:37+00:00", "updated_at": "2024-01-19T22:06:37+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_04f452cb0a14438c93d21970a907560f", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_04f452cb0a14438c93d21970a907560f - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaf26de798d51e0010e946 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.116937' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"form": {"type": "return_packing_slip", "barcode": "RMA12345678900", "line_items": - [{"product": {"title": "Square Reader", "barcode": "855658003251"}, "units": - 8}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '166' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments/shp_04f452cb0a14438c93d21970a907560f/forms - response: - body: - string: '{"created_at": "2024-01-19T22:06:37Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010713130", "updated_at": "2024-01-19T22:06:38Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_6424f9c6c56a45e0a053d41bab765366", "object": "CustomsInfo", "created_at": - "2024-01-19T22:06:37Z", "updated_at": "2024-01-19T22:06:37Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_f3b93149111747b685e79f7e45123555", - "object": "CustomsItem", "created_at": "2024-01-19T22:06:37Z", "updated_at": - "2024-01-19T22:06:37Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_03d0ac30b71711ee8522ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:06:37+00:00", "updated_at": - "2024-01-19T22:06:37+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_aba631355c144c79b47714219c99b56a", - "object": "Parcel", "created_at": "2024-01-19T22:06:37Z", "updated_at": "2024-01-19T22:06:37Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_24118cf8a19e46aa88507abf3ac31460", "created_at": "2024-01-19T22:06:37Z", - "updated_at": "2024-01-19T22:06:38Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T22:06:37Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e85006b77f7f2f4a44b65598f187ea2830.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_bff27d36ac6c4b09a9637f99acddaeb8", "object": - "Rate", "created_at": "2024-01-19T22:06:37Z", "updated_at": "2024-01-19T22:06:37Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_04f452cb0a14438c93d21970a907560f", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_069d6fd9fd8548b8aae17a80a08cb664", - "object": "Rate", "created_at": "2024-01-19T22:06:37Z", "updated_at": "2024-01-19T22:06:37Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_04f452cb0a14438c93d21970a907560f", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_6f5f0c38a162400291fa06e7a76cb5f7", - "object": "Rate", "created_at": "2024-01-19T22:06:37Z", "updated_at": "2024-01-19T22:06:37Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_04f452cb0a14438c93d21970a907560f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_50a8cb70d1e24035b9ab15e714d3f3ce", "object": "Rate", "created_at": - "2024-01-19T22:06:37Z", "updated_at": "2024-01-19T22:06:37Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_04f452cb0a14438c93d21970a907560f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_87d724718ad14eb384f691c06a302751", "object": "Rate", "created_at": - "2024-01-19T22:06:37Z", "updated_at": "2024-01-19T22:06:37Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_04f452cb0a14438c93d21970a907560f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_bff27d36ac6c4b09a9637f99acddaeb8", - "object": "Rate", "created_at": "2024-01-19T22:06:37Z", "updated_at": "2024-01-19T22:06:37Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_04f452cb0a14438c93d21970a907560f", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_4ef6c65400804e3f98cb3c2b0056b8b9", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010713130", - "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T22:06:38Z", - "updated_at": "2024-01-19T22:06:38Z", "signed_by": null, "weight": null, "est_delivery_date": - "2024-01-19T22:06:38Z", "shipment_id": "shp_04f452cb0a14438c93d21970a907560f", - "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": - "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-19T22:06:38Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", - "message": "Shipping Label Created", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-20T10:43:38Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": - null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": - null}, "public_url": "https://track.easypost.com/djE6dHJrXzRlZjZjNjU0MDA4MDRlM2Y5OGNiM2MyYjAwNTZiOGI5"}, - "to_address": {"id": "adr_03cba68eb71711ee959cac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T22:06:37+00:00", "updated_at": "2024-01-19T22:06:37+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_03d0ac30b71711ee8522ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:06:37+00:00", "updated_at": - "2024-01-19T22:06:37+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_03cba68eb71711ee959cac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T22:06:37+00:00", "updated_at": "2024-01-19T22:06:37+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [{"object": "Form", "id": "form_4b25d2d2ef1648a4b45b51acc478f026", - "created_at": "2024-01-19T22:06:38Z", "updated_at": "2024-01-19T22:06:38Z", - "mode": "test", "form_type": "return_packing_slip", "form_url": "https://easypost-files.s3-us-west-2.amazonaws.com/files/form/20240119/31d3ac862c2d42079d47e43bfc6a00b9.pdf", - "submitted_electronically": null}], "fees": [{"object": "Fee", "type": "LabelFee", - "amount": "0.00000", "charged": true, "refunded": false}, {"object": "Fee", - "type": "PostageFee", "amount": "7.99000", "charged": true, "refunded": false}], - "id": "shp_04f452cb0a14438c93d21970a907560f", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '9814' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_04f452cb0a14438c93d21970a907560f/forms/return_packing_slip - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf26ee798d51f0010ea19 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.674338' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_insurance_create.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_insurance_create.yaml deleted file mode 100644 index 783013f6..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_insurance_create.yaml +++ /dev/null @@ -1,870 +0,0 @@ -interactions: -- request: - body: '{"insurance": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "tracking_code": "9400110898825022579493", - "carrier": "USPS", "amount": "100.00"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '530' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/insurances - response: - body: - string: '{"id": "ins_0c65f26dcda8479c865bef2e4cb90af3", "object": "Insurance", - "mode": "test", "reference": null, "status": "pending", "amount": "100.00000", - "provider": "easypost", "provider_id": null, "to_address": {"id": "adr_6beb8718b71311eea58dac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:40:53+00:00", "updated_at": - "2024-01-19T21:40:53+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": - "179 N HARBOR DR", "street2": "", "city": "REDONDO BEACH", "state": "CA", - "zip": "90277-2506", "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "from_address": {"id": "adr_6bf0bbe4b71311ee96f5ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:40:53+00:00", "updated_at": "2024-01-19T21:40:53+00:00", - "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": - "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": - "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", - "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": - null, "verifications": {"zip4": {"success": true, "errors": [], "details": - null}, "delivery": {"success": true, "errors": [], "details": {"latitude": - 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, - "shipment_id": null, "tracker": {"id": "trk_6479b5feac8244899897f8b474148608", - "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", - "status": "error", "status_detail": null, "created_at": "2024-01-19T21:32:23Z", - "updated_at": "2024-01-19T21:32:23Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": - "TrackingDetail", "message": "In test mode, only test tracking numbers are - valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", - "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T21:32:23Z", - "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": - "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], - "carrier_detail": null, "finalized": true, "is_return": false, "public_url": - "https://track.easypost.com/djE6dHJrXzY0NzliNWZlYWM4MjQ0ODk5ODk3ZjhiNDc0MTQ4NjA4", - "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": - "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": - false}, "messages": [], "created_at": "2024-01-19T21:40:53Z", "updated_at": - "2024-01-19T21:40:53Z"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2661' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/insurances/ins_0c65f26dcda8479c865bef2e4cb90af3 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaec65e78b9baa000cd6eb - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.175286' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"insurance": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "tracking_code": "9400110898825022579493", - "carrier": "USPS", "amount": "100.00"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '530' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/insurances - response: - body: - string: '{"id": "ins_06f489dff78d4107be8b7f1b77099a8e", "object": "Insurance", - "mode": "test", "reference": null, "status": "pending", "amount": "100.00000", - "provider": "easypost", "provider_id": null, "to_address": {"id": "adr_c471f5a7b71311eeb67aac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:43:22+00:00", "updated_at": - "2024-01-19T21:43:22+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": - "179 N HARBOR DR", "street2": "", "city": "REDONDO BEACH", "state": "CA", - "zip": "90277-2506", "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "from_address": {"id": "adr_c4780174b71311eeb67dac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:43:22+00:00", "updated_at": "2024-01-19T21:43:22+00:00", - "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": - "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": - "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", - "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": - null, "verifications": {"zip4": {"success": true, "errors": [], "details": - null}, "delivery": {"success": true, "errors": [], "details": {"latitude": - 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, - "shipment_id": null, "tracker": {"id": "trk_0d317281c8314376810372b729bd9a05", - "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", - "status": "error", "status_detail": null, "created_at": "2024-01-19T21:40:53Z", - "updated_at": "2024-01-19T21:40:53Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": - "TrackingDetail", "message": "In test mode, only test tracking numbers are - valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", - "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T21:40:53Z", - "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": - "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], - "carrier_detail": null, "finalized": true, "is_return": false, "public_url": - "https://track.easypost.com/djE6dHJrXzBkMzE3MjgxYzgzMTQzNzY4MTAzNzJiNzI5YmQ5YTA1", - "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": - "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": - false}, "messages": [], "created_at": "2024-01-19T21:43:22Z", "updated_at": - "2024-01-19T21:43:22Z"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2661' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/insurances/ins_06f489dff78d4107be8b7f1b77099a8e - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaecfae78ba3cc000d3497 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.179569' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"insurance": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "tracking_code": "9400110898825022579493", - "carrier": "USPS", "amount": "100.00"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '530' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/insurances - response: - body: - string: '{"id": "ins_a168418213374a6b8f9be17762ba4743", "object": "Insurance", - "mode": "test", "reference": null, "status": "pending", "amount": "100.00000", - "provider": "easypost", "provider_id": null, "to_address": {"id": "adr_4e08ce93b71411eea365ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:47:13+00:00", "updated_at": - "2024-01-19T21:47:13+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": - "179 N HARBOR DR", "street2": "", "city": "REDONDO BEACH", "state": "CA", - "zip": "90277-2506", "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "from_address": {"id": "adr_4e0e03b0b71411eea06a3cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:47:13+00:00", "updated_at": "2024-01-19T21:47:13+00:00", - "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": - "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": - "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", - "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": - null, "verifications": {"zip4": {"success": true, "errors": [], "details": - null}, "delivery": {"success": true, "errors": [], "details": {"latitude": - 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, - "shipment_id": null, "tracker": {"id": "trk_aa1880f4f8b340f18dc9fe16b2b06148", - "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", - "status": "error", "status_detail": null, "created_at": "2024-01-19T21:43:22Z", - "updated_at": "2024-01-19T21:43:22Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": - "TrackingDetail", "message": "In test mode, only test tracking numbers are - valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", - "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T21:43:22Z", - "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": - "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], - "carrier_detail": null, "finalized": true, "is_return": false, "public_url": - "https://track.easypost.com/djE6dHJrX2FhMTg4MGY0ZjhiMzQwZjE4ZGM5ZmUxNmIyYjA2MTQ4", - "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": - "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": - false}, "messages": [], "created_at": "2024-01-19T21:47:13Z", "updated_at": - "2024-01-19T21:47:13Z"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2661' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/insurances/ins_a168418213374a6b8f9be17762ba4743 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdaa65aaede1e78bac6c0011296f - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.173485' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"insurance": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "tracking_code": "9400110898825022579493", - "carrier": "USPS", "amount": "100.00"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '530' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/insurances - response: - body: - string: '{"id": "ins_98b4aae9d5f240c28f7b95f48eaa2a6e", "object": "Insurance", - "mode": "test", "reference": null, "status": "pending", "amount": "100.00000", - "provider": "easypost", "provider_id": null, "to_address": {"id": "adr_9091468db71411eeb69eac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:49:04+00:00", "updated_at": - "2024-01-19T21:49:04+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": - "179 N HARBOR DR", "street2": "", "city": "REDONDO BEACH", "state": "CA", - "zip": "90277-2506", "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "from_address": {"id": "adr_90969396b71411eeb6a0ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:49:04+00:00", "updated_at": "2024-01-19T21:49:04+00:00", - "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": - "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": - "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", - "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": - null, "verifications": {"zip4": {"success": true, "errors": [], "details": - null}, "delivery": {"success": true, "errors": [], "details": {"latitude": - 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, - "shipment_id": null, "tracker": {"id": "trk_b77f49eb252e4cd4ad106668d9fd99c2", - "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", - "status": "error", "status_detail": null, "created_at": "2024-01-19T21:47:13Z", - "updated_at": "2024-01-19T21:47:13Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": - "TrackingDetail", "message": "In test mode, only test tracking numbers are - valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", - "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T21:47:13Z", - "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": - "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], - "carrier_detail": null, "finalized": true, "is_return": false, "public_url": - "https://track.easypost.com/djE6dHJrX2I3N2Y0OWViMjUyZTRjZDRhZDEwNjY2OGQ5ZmQ5OWMy", - "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": - "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": - false}, "messages": [], "created_at": "2024-01-19T21:49:04Z", "updated_at": - "2024-01-19T21:49:04Z"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2661' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/insurances/ins_98b4aae9d5f240c28f7b95f48eaa2a6e - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdae65aaee50e78bb48f00116c86 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.183866' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"insurance": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "tracking_code": "9400110898825022579493", - "carrier": "USPS", "amount": "100.00"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '530' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/insurances - response: - body: - string: '{"id": "ins_afb14346beb740988100098e18089437", "object": "Insurance", - "mode": "test", "reference": null, "status": "pending", "amount": "100.00000", - "provider": "easypost", "provider_id": null, "to_address": {"id": "adr_df072e59b71511eea4f53cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:58:25+00:00", "updated_at": - "2024-01-19T21:58:25+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": - "179 N HARBOR DR", "street2": "", "city": "REDONDO BEACH", "state": "CA", - "zip": "90277-2506", "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "from_address": {"id": "adr_df0cec70b71511eea8f5ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:58:25+00:00", "updated_at": "2024-01-19T21:58:25+00:00", - "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": - "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": - "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", - "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": - null, "verifications": {"zip4": {"success": true, "errors": [], "details": - null}, "delivery": {"success": true, "errors": [], "details": {"latitude": - 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, - "shipment_id": null, "tracker": {"id": "trk_5aa2f8f307dd4f47a7d73daccbff4743", - "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", - "status": "error", "status_detail": null, "created_at": "2024-01-19T21:49:04Z", - "updated_at": "2024-01-19T21:49:04Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": - "TrackingDetail", "message": "In test mode, only test tracking numbers are - valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", - "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T21:49:04Z", - "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": - "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], - "carrier_detail": null, "finalized": true, "is_return": false, "public_url": - "https://track.easypost.com/djE6dHJrXzVhYTJmOGYzMDdkZDRmNDdhN2Q3M2RhY2NiZmY0NzQz", - "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": - "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": - false}, "messages": [], "created_at": "2024-01-19T21:58:25Z", "updated_at": - "2024-01-19T21:58:25Z"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2661' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/insurances/ins_afb14346beb740988100098e18089437 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf081e798bc23000f71e8 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.171329' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"insurance": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "tracking_code": "9400110898825022579493", - "carrier": "USPS", "amount": "100.00"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '530' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/insurances - response: - body: - string: '{"id": "ins_8ff16f049eca4bf18be8f285432badb0", "object": "Insurance", - "mode": "test", "reference": null, "status": "pending", "amount": "100.00000", - "provider": "easypost", "provider_id": null, "to_address": {"id": "adr_46fc641cb71611ee89efac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T22:01:20+00:00", "updated_at": - "2024-01-19T22:01:20+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": - "179 N HARBOR DR", "street2": "", "city": "REDONDO BEACH", "state": "CA", - "zip": "90277-2506", "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "from_address": {"id": "adr_47022d00b71611ee9811ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T22:01:20+00:00", "updated_at": "2024-01-19T22:01:20+00:00", - "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": - "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": - "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", - "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": - null, "verifications": {"zip4": {"success": true, "errors": [], "details": - null}, "delivery": {"success": true, "errors": [], "details": {"latitude": - 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, - "shipment_id": null, "tracker": {"id": "trk_5063b8124d43497d996bb4b27ea0f589", - "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", - "status": "error", "status_detail": null, "created_at": "2024-01-19T21:58:26Z", - "updated_at": "2024-01-19T21:58:26Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": - "TrackingDetail", "message": "In test mode, only test tracking numbers are - valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", - "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T21:58:26Z", - "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": - "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], - "carrier_detail": null, "finalized": true, "is_return": false, "public_url": - "https://track.easypost.com/djE6dHJrXzUwNjNiODEyNGQ0MzQ5N2Q5OTZiYjRiMjdlYTBmNTg5", - "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": - "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": - false}, "messages": [], "created_at": "2024-01-19T22:01:20Z", "updated_at": - "2024-01-19T22:01:20Z"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2661' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/insurances/ins_8ff16f049eca4bf18be8f285432badb0 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf130e798c480000ffd73 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.181301' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"insurance": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "tracking_code": "9400110898825022579493", - "carrier": "USPS", "amount": "100.00"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '530' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/insurances - response: - body: - string: '{"id": "ins_65246d2065c94992b3d0716652f1ce39", "object": "Insurance", - "mode": "test", "reference": null, "status": "pending", "amount": "100.00000", - "provider": "easypost", "provider_id": null, "to_address": {"id": "adr_cdb725e6b71611eeb294ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:05:06+00:00", "updated_at": - "2024-01-19T22:05:06+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": - "179 N HARBOR DR", "street2": "", "city": "REDONDO BEACH", "state": "CA", - "zip": "90277-2506", "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "from_address": {"id": "adr_cdbcfb33b71611eeb09e3cecef1b359e", "object": "Address", - "created_at": "2024-01-19T22:05:06+00:00", "updated_at": "2024-01-19T22:05:06+00:00", - "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": - "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": - "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", - "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": - null, "verifications": {"zip4": {"success": true, "errors": [], "details": - null}, "delivery": {"success": true, "errors": [], "details": {"latitude": - 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, - "shipment_id": null, "tracker": {"id": "trk_3e96a3ad7fa9452faac62be5327888b2", - "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", - "status": "error", "status_detail": null, "created_at": "2024-01-19T22:01:20Z", - "updated_at": "2024-01-19T22:01:20Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": - "TrackingDetail", "message": "In test mode, only test tracking numbers are - valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", - "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T22:01:20Z", - "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": - "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], - "carrier_detail": null, "finalized": true, "is_return": false, "public_url": - "https://track.easypost.com/djE6dHJrXzNlOTZhM2FkN2ZhOTQ1MmZhYWM2MmJlNTMyNzg4OGIy", - "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": - "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": - false}, "messages": [], "created_at": "2024-01-19T22:05:06Z", "updated_at": - "2024-01-19T22:05:06Z"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2661' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/insurances/ins_65246d2065c94992b3d0716652f1ce39 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf212e798d05e0010ab82 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.162789' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"insurance": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "tracking_code": "9400110898825022579493", - "carrier": "USPS", "amount": "100.00"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '530' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/insurances - response: - body: - string: '{"id": "ins_c7d3957fe5cc4ff2a7a4e076b8a8fe05", "object": "Insurance", - "mode": "test", "reference": null, "status": "pending", "amount": "100.00000", - "provider": "easypost", "provider_id": null, "to_address": {"id": "adr_0560e9abb71711ee9626ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T22:06:39+00:00", "updated_at": - "2024-01-19T22:06:39+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": - "179 N HARBOR DR", "street2": "", "city": "REDONDO BEACH", "state": "CA", - "zip": "90277-2506", "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "from_address": {"id": "adr_05678bcdb71711ee84263cecef1b359e", "object": "Address", - "created_at": "2024-01-19T22:06:39+00:00", "updated_at": "2024-01-19T22:06:39+00:00", - "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": - "", "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": - "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", - "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": - null, "verifications": {"zip4": {"success": true, "errors": [], "details": - null}, "delivery": {"success": true, "errors": [], "details": {"latitude": - 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, - "shipment_id": null, "tracker": {"id": "trk_348eb15782424f5a95027c8bad7277b0", - "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", - "status": "error", "status_detail": null, "created_at": "2024-01-19T22:05:06Z", - "updated_at": "2024-01-19T22:05:06Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": - "TrackingDetail", "message": "In test mode, only test tracking numbers are - valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", - "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T22:05:06Z", - "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": - "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], - "carrier_detail": null, "finalized": true, "is_return": false, "public_url": - "https://track.easypost.com/djE6dHJrXzM0OGViMTU3ODI0MjRmNWE5NTAyN2M4YmFkNzI3N2Iw", - "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": - "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": - false}, "messages": [], "created_at": "2024-01-19T22:06:39Z", "updated_at": - "2024-01-19T22:06:39Z"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2661' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/insurances/ins_c7d3957fe5cc4ff2a7a4e076b8a8fe05 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaf26fe798d5200010eac8 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.370986' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_insurance_list.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_insurance_list.yaml deleted file mode 100644 index 9f58720f..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_insurance_list.yaml +++ /dev/null @@ -1,782 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/insurances?page_size=1 - response: - body: - string: '{"insurances": [{"id": "ins_0c65f26dcda8479c865bef2e4cb90af3", "object": - "Insurance", "mode": "test", "reference": null, "status": "pending", "amount": - "100.00000", "provider": "easypost", "provider_id": null, "to_address": {"id": - "adr_6beb8718b71311eea58dac1f6bc539aa", "object": "Address", "created_at": - "2024-01-19T21:40:53+00:00", "updated_at": "2024-01-19T21:40:53+00:00", "name": - "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", "street2": - null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", "country": - "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", "mode": - "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "from_address": {"id": "adr_6bf0bbe4b71311ee96f5ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:40:53+00:00", "updated_at": "2024-01-19T21:40:53+00:00", - "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": - null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": - "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", - "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": - null, "verifications": {"zip4": {"success": true, "errors": [], "details": - null}, "delivery": {"success": true, "errors": [], "details": {"latitude": - 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, - "shipment_id": null, "tracker": {"id": "trk_0d317281c8314376810372b729bd9a05", - "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", - "status": "error", "status_detail": null, "created_at": "2024-01-19T21:40:53Z", - "updated_at": "2024-01-19T21:40:53Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": - "TrackingDetail", "message": "In test mode, only test tracking numbers are - valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", - "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T21:40:53Z", - "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": - "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], - "carrier_detail": null, "finalized": true, "is_return": false, "public_url": - "https://track.easypost.com/djE6dHJrXzBkMzE3MjgxYzgzMTQzNzY4MTAzNzJiNzI5YmQ5YTA1", - "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": - "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": - false}, "messages": [], "created_at": "2024-01-19T21:40:53Z", "updated_at": - "2024-01-19T21:40:53Z"}], "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2698' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaec66e78b9bad000cd7b6 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.102891' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/insurances?page_size=1 - response: - body: - string: '{"insurances": [{"id": "ins_06f489dff78d4107be8b7f1b77099a8e", "object": - "Insurance", "mode": "test", "reference": null, "status": "pending", "amount": - "100.00000", "provider": "easypost", "provider_id": null, "to_address": {"id": - "adr_c471f5a7b71311eeb67aac1f6bc539ae", "object": "Address", "created_at": - "2024-01-19T21:43:22+00:00", "updated_at": "2024-01-19T21:43:22+00:00", "name": - "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", "street2": - null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", "country": - "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", "mode": - "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "from_address": {"id": "adr_c4780174b71311eeb67dac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:43:22+00:00", "updated_at": "2024-01-19T21:43:22+00:00", - "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": - null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": - "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", - "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": - null, "verifications": {"zip4": {"success": true, "errors": [], "details": - null}, "delivery": {"success": true, "errors": [], "details": {"latitude": - 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, - "shipment_id": null, "tracker": {"id": "trk_aa1880f4f8b340f18dc9fe16b2b06148", - "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", - "status": "error", "status_detail": null, "created_at": "2024-01-19T21:43:22Z", - "updated_at": "2024-01-19T21:43:22Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": - "TrackingDetail", "message": "In test mode, only test tracking numbers are - valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", - "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T21:43:22Z", - "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": - "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], - "carrier_detail": null, "finalized": true, "is_return": false, "public_url": - "https://track.easypost.com/djE6dHJrX2FhMTg4MGY0ZjhiMzQwZjE4ZGM5ZmUxNmIyYjA2MTQ4", - "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": - "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": - false}, "messages": [], "created_at": "2024-01-19T21:43:22Z", "updated_at": - "2024-01-19T21:43:22Z"}], "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2698' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaecfbe78ba3e6000d3539 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.101624' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/insurances?page_size=1 - response: - body: - string: '{"insurances": [{"id": "ins_a168418213374a6b8f9be17762ba4743", "object": - "Insurance", "mode": "test", "reference": null, "status": "pending", "amount": - "100.00000", "provider": "easypost", "provider_id": null, "to_address": {"id": - "adr_4e08ce93b71411eea365ac1f6bc539ae", "object": "Address", "created_at": - "2024-01-19T21:47:13+00:00", "updated_at": "2024-01-19T21:47:13+00:00", "name": - "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", "street2": - null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", "country": - "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", "mode": - "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "from_address": {"id": "adr_4e0e03b0b71411eea06a3cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:47:13+00:00", "updated_at": "2024-01-19T21:47:13+00:00", - "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": - null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": - "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", - "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": - null, "verifications": {"zip4": {"success": true, "errors": [], "details": - null}, "delivery": {"success": true, "errors": [], "details": {"latitude": - 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, - "shipment_id": null, "tracker": {"id": "trk_b77f49eb252e4cd4ad106668d9fd99c2", - "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", - "status": "error", "status_detail": null, "created_at": "2024-01-19T21:47:13Z", - "updated_at": "2024-01-19T21:47:13Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": - "TrackingDetail", "message": "In test mode, only test tracking numbers are - valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", - "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T21:47:13Z", - "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": - "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], - "carrier_detail": null, "finalized": true, "is_return": false, "public_url": - "https://track.easypost.com/djE6dHJrX2I3N2Y0OWViMjUyZTRjZDRhZDEwNjY2OGQ5ZmQ5OWMy", - "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": - "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": - false}, "messages": [], "created_at": "2024-01-19T21:47:13Z", "updated_at": - "2024-01-19T21:47:13Z"}], "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2698' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdae65aaede2e78bac6f00112a2f - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.093665' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/insurances?page_size=1 - response: - body: - string: '{"insurances": [{"id": "ins_98b4aae9d5f240c28f7b95f48eaa2a6e", "object": - "Insurance", "mode": "test", "reference": null, "status": "pending", "amount": - "100.00000", "provider": "easypost", "provider_id": null, "to_address": {"id": - "adr_9091468db71411eeb69eac1f6bc53342", "object": "Address", "created_at": - "2024-01-19T21:49:04+00:00", "updated_at": "2024-01-19T21:49:04+00:00", "name": - "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", "street2": - null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", "country": - "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", "mode": - "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "from_address": {"id": "adr_90969396b71411eeb6a0ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:49:04+00:00", "updated_at": "2024-01-19T21:49:04+00:00", - "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": - null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": - "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", - "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": - null, "verifications": {"zip4": {"success": true, "errors": [], "details": - null}, "delivery": {"success": true, "errors": [], "details": {"latitude": - 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, - "shipment_id": null, "tracker": {"id": "trk_5aa2f8f307dd4f47a7d73daccbff4743", - "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", - "status": "error", "status_detail": null, "created_at": "2024-01-19T21:49:04Z", - "updated_at": "2024-01-19T21:49:04Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": - "TrackingDetail", "message": "In test mode, only test tracking numbers are - valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", - "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T21:49:04Z", - "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": - "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], - "carrier_detail": null, "finalized": true, "is_return": false, "public_url": - "https://track.easypost.com/djE6dHJrXzVhYTJmOGYzMDdkZDRmNDdhN2Q3M2RhY2NiZmY0NzQz", - "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": - "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": - false}, "messages": [], "created_at": "2024-01-19T21:49:04Z", "updated_at": - "2024-01-19T21:49:04Z"}], "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2698' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdaa65aaee52e78bb4a900116d71 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.081733' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/insurances?page_size=1 - response: - body: - string: '{"insurances": [{"id": "ins_afb14346beb740988100098e18089437", "object": - "Insurance", "mode": "test", "reference": null, "status": "pending", "amount": - "100.00000", "provider": "easypost", "provider_id": null, "to_address": {"id": - "adr_df072e59b71511eea4f53cecef1b359e", "object": "Address", "created_at": - "2024-01-19T21:58:25+00:00", "updated_at": "2024-01-19T21:58:25+00:00", "name": - "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", "street2": - null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", "country": - "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", "mode": - "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "from_address": {"id": "adr_df0cec70b71511eea8f5ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:58:25+00:00", "updated_at": "2024-01-19T21:58:25+00:00", - "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": - null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": - "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", - "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": - null, "verifications": {"zip4": {"success": true, "errors": [], "details": - null}, "delivery": {"success": true, "errors": [], "details": {"latitude": - 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, - "shipment_id": null, "tracker": {"id": "trk_5063b8124d43497d996bb4b27ea0f589", - "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", - "status": "error", "status_detail": null, "created_at": "2024-01-19T21:58:26Z", - "updated_at": "2024-01-19T21:58:26Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": - "TrackingDetail", "message": "In test mode, only test tracking numbers are - valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", - "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T21:58:26Z", - "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": - "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], - "carrier_detail": null, "finalized": true, "is_return": false, "public_url": - "https://track.easypost.com/djE6dHJrXzUwNjNiODEyNGQ0MzQ5N2Q5OTZiYjRiMjdlYTBmNTg5", - "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": - "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": - false}, "messages": [], "created_at": "2024-01-19T21:58:25Z", "updated_at": - "2024-01-19T21:58:25Z"}], "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2698' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf083e798bc3d000f7276 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.088918' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/insurances?page_size=1 - response: - body: - string: '{"insurances": [{"id": "ins_8ff16f049eca4bf18be8f285432badb0", "object": - "Insurance", "mode": "test", "reference": null, "status": "pending", "amount": - "100.00000", "provider": "easypost", "provider_id": null, "to_address": {"id": - "adr_46fc641cb71611ee89efac1f6bc539ae", "object": "Address", "created_at": - "2024-01-19T22:01:20+00:00", "updated_at": "2024-01-19T22:01:20+00:00", "name": - "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", "street2": - null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", "country": - "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", "mode": - "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "from_address": {"id": "adr_47022d00b71611ee9811ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T22:01:20+00:00", "updated_at": "2024-01-19T22:01:20+00:00", - "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": - null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": - "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", - "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": - null, "verifications": {"zip4": {"success": true, "errors": [], "details": - null}, "delivery": {"success": true, "errors": [], "details": {"latitude": - 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, - "shipment_id": null, "tracker": {"id": "trk_3e96a3ad7fa9452faac62be5327888b2", - "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", - "status": "error", "status_detail": null, "created_at": "2024-01-19T22:01:20Z", - "updated_at": "2024-01-19T22:01:20Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": - "TrackingDetail", "message": "In test mode, only test tracking numbers are - valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", - "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T22:01:20Z", - "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": - "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], - "carrier_detail": null, "finalized": true, "is_return": false, "public_url": - "https://track.easypost.com/djE6dHJrXzNlOTZhM2FkN2ZhOTQ1MmZhYWM2MmJlNTMyNzg4OGIy", - "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": - "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": - false}, "messages": [], "created_at": "2024-01-19T22:01:20Z", "updated_at": - "2024-01-19T22:01:20Z"}], "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2698' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaf131e798c483000ffeb7 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.098488' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/insurances?page_size=1 - response: - body: - string: '{"insurances": [{"id": "ins_65246d2065c94992b3d0716652f1ce39", "object": - "Insurance", "mode": "test", "reference": null, "status": "pending", "amount": - "100.00000", "provider": "easypost", "provider_id": null, "to_address": {"id": - "adr_cdb725e6b71611eeb294ac1f6bc53342", "object": "Address", "created_at": - "2024-01-19T22:05:06+00:00", "updated_at": "2024-01-19T22:05:06+00:00", "name": - "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", "street2": - null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", "country": - "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", "mode": - "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "from_address": {"id": "adr_cdbcfb33b71611eeb09e3cecef1b359e", "object": "Address", - "created_at": "2024-01-19T22:05:06+00:00", "updated_at": "2024-01-19T22:05:06+00:00", - "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": - null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": - "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", - "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": - null, "verifications": {"zip4": {"success": true, "errors": [], "details": - null}, "delivery": {"success": true, "errors": [], "details": {"latitude": - 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, - "shipment_id": null, "tracker": {"id": "trk_348eb15782424f5a95027c8bad7277b0", - "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", - "status": "error", "status_detail": null, "created_at": "2024-01-19T22:05:06Z", - "updated_at": "2024-01-19T22:05:06Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": - "TrackingDetail", "message": "In test mode, only test tracking numbers are - valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", - "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T22:05:06Z", - "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": - "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], - "carrier_detail": null, "finalized": true, "is_return": false, "public_url": - "https://track.easypost.com/djE6dHJrXzM0OGViMTU3ODI0MjRmNWE5NTAyN2M4YmFkNzI3N2Iw", - "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": - "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": - false}, "messages": [], "created_at": "2024-01-19T22:05:06Z", "updated_at": - "2024-01-19T22:05:06Z"}], "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2698' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf213e798d0610010ac33 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.080054' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/insurances?page_size=1 - response: - body: - string: '{"insurances": [{"id": "ins_c7d3957fe5cc4ff2a7a4e076b8a8fe05", "object": - "Insurance", "mode": "test", "reference": null, "status": "pending", "amount": - "100.00000", "provider": "easypost", "provider_id": null, "to_address": {"id": - "adr_0560e9abb71711ee9626ac1f6bc539aa", "object": "Address", "created_at": - "2024-01-19T22:06:39+00:00", "updated_at": "2024-01-19T22:06:39+00:00", "name": - "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", "street2": - null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", "country": - "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", "mode": - "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "from_address": {"id": "adr_05678bcdb71711ee84263cecef1b359e", "object": "Address", - "created_at": "2024-01-19T22:06:39+00:00", "updated_at": "2024-01-19T22:06:39+00:00", - "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": - null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": - "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", - "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": - null, "verifications": {"zip4": {"success": true, "errors": [], "details": - null}, "delivery": {"success": true, "errors": [], "details": {"latitude": - 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, - "shipment_id": null, "tracker": {"id": "trk_af091540b9824ce5ab2fc1c84d01d7ef", - "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", - "status": "error", "status_detail": null, "created_at": "2024-01-19T22:06:39Z", - "updated_at": "2024-01-19T22:06:39Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": - "TrackingDetail", "message": "In test mode, only test tracking numbers are - valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", - "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T22:06:39Z", - "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": - "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], - "carrier_detail": null, "finalized": true, "is_return": false, "public_url": - "https://track.easypost.com/djE6dHJrX2FmMDkxNTQwYjk4MjRjZTVhYjJmYzFjODRkMDFkN2Vm", - "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": - "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": - false}, "messages": [], "created_at": "2024-01-19T22:06:39Z", "updated_at": - "2024-01-19T22:06:39Z"}], "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2698' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf271e798d5230010ebb9 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.092762' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_insurance_retrieve.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_insurance_retrieve.yaml deleted file mode 100644 index 057fd3da..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_insurance_retrieve.yaml +++ /dev/null @@ -1,1550 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/insurances?page_size=1 - response: - body: - string: '{"insurances": [{"id": "ins_0c65f26dcda8479c865bef2e4cb90af3", "object": - "Insurance", "mode": "test", "reference": null, "status": "pending", "amount": - "100.00000", "provider": "easypost", "provider_id": null, "to_address": {"id": - "adr_6beb8718b71311eea58dac1f6bc539aa", "object": "Address", "created_at": - "2024-01-19T21:40:53+00:00", "updated_at": "2024-01-19T21:40:53+00:00", "name": - "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", "street2": - null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", "country": - "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", "mode": - "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "from_address": {"id": "adr_6bf0bbe4b71311ee96f5ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:40:53+00:00", "updated_at": "2024-01-19T21:40:53+00:00", - "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": - null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": - "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", - "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": - null, "verifications": {"zip4": {"success": true, "errors": [], "details": - null}, "delivery": {"success": true, "errors": [], "details": {"latitude": - 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, - "shipment_id": null, "tracker": {"id": "trk_0d317281c8314376810372b729bd9a05", - "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", - "status": "error", "status_detail": null, "created_at": "2024-01-19T21:40:53Z", - "updated_at": "2024-01-19T21:40:53Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": - "TrackingDetail", "message": "In test mode, only test tracking numbers are - valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", - "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T21:40:53Z", - "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": - "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], - "carrier_detail": null, "finalized": true, "is_return": false, "public_url": - "https://track.easypost.com/djE6dHJrXzBkMzE3MjgxYzgzMTQzNzY4MTAzNzJiNzI5YmQ5YTA1", - "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": - "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": - false}, "messages": [], "created_at": "2024-01-19T21:40:53Z", "updated_at": - "2024-01-19T21:40:53Z"}], "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2698' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaec66e78b9bab000cd73e - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.095191' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/insurances/ins_0c65f26dcda8479c865bef2e4cb90af3 - response: - body: - string: '{"id": "ins_0c65f26dcda8479c865bef2e4cb90af3", "object": "Insurance", - "mode": "test", "reference": null, "status": "pending", "amount": "100.00000", - "provider": "easypost", "provider_id": null, "to_address": {"id": "adr_6beb8718b71311eea58dac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:40:53+00:00", "updated_at": - "2024-01-19T21:40:53+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": - "179 N HARBOR DR", "street2": null, "city": "REDONDO BEACH", "state": "CA", - "zip": "90277-2506", "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "from_address": {"id": "adr_6bf0bbe4b71311ee96f5ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:40:53+00:00", "updated_at": "2024-01-19T21:40:53+00:00", - "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": - null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": - "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", - "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": - null, "verifications": {"zip4": {"success": true, "errors": [], "details": - null}, "delivery": {"success": true, "errors": [], "details": {"latitude": - 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, - "shipment_id": null, "tracker": {"id": "trk_0d317281c8314376810372b729bd9a05", - "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", - "status": "error", "status_detail": null, "created_at": "2024-01-19T21:40:53Z", - "updated_at": "2024-01-19T21:40:53Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": - "TrackingDetail", "message": "In test mode, only test tracking numbers are - valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", - "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T21:40:53Z", - "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": - "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], - "carrier_detail": null, "finalized": true, "is_return": false, "public_url": - "https://track.easypost.com/djE6dHJrXzBkMzE3MjgxYzgzMTQzNzY4MTAzNzJiNzI5YmQ5YTA1", - "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": - "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": - false}, "messages": [], "created_at": "2024-01-19T21:40:53Z", "updated_at": - "2024-01-19T21:40:53Z"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2665' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaec66e78b9bac000cd787 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.089199' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/insurances?page_size=1 - response: - body: - string: '{"insurances": [{"id": "ins_06f489dff78d4107be8b7f1b77099a8e", "object": - "Insurance", "mode": "test", "reference": null, "status": "pending", "amount": - "100.00000", "provider": "easypost", "provider_id": null, "to_address": {"id": - "adr_c471f5a7b71311eeb67aac1f6bc539ae", "object": "Address", "created_at": - "2024-01-19T21:43:22+00:00", "updated_at": "2024-01-19T21:43:22+00:00", "name": - "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", "street2": - null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", "country": - "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", "mode": - "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "from_address": {"id": "adr_c4780174b71311eeb67dac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:43:22+00:00", "updated_at": "2024-01-19T21:43:22+00:00", - "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": - null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": - "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", - "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": - null, "verifications": {"zip4": {"success": true, "errors": [], "details": - null}, "delivery": {"success": true, "errors": [], "details": {"latitude": - 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, - "shipment_id": null, "tracker": {"id": "trk_aa1880f4f8b340f18dc9fe16b2b06148", - "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", - "status": "error", "status_detail": null, "created_at": "2024-01-19T21:43:22Z", - "updated_at": "2024-01-19T21:43:22Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": - "TrackingDetail", "message": "In test mode, only test tracking numbers are - valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", - "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T21:43:22Z", - "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": - "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], - "carrier_detail": null, "finalized": true, "is_return": false, "public_url": - "https://track.easypost.com/djE6dHJrX2FhMTg4MGY0ZjhiMzQwZjE4ZGM5ZmUxNmIyYjA2MTQ4", - "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": - "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": - false}, "messages": [], "created_at": "2024-01-19T21:43:22Z", "updated_at": - "2024-01-19T21:43:22Z"}], "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2698' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaecfae78ba3cd000d34d3 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.099493' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/insurances/ins_06f489dff78d4107be8b7f1b77099a8e - response: - body: - string: '{"id": "ins_06f489dff78d4107be8b7f1b77099a8e", "object": "Insurance", - "mode": "test", "reference": null, "status": "pending", "amount": "100.00000", - "provider": "easypost", "provider_id": null, "to_address": {"id": "adr_c471f5a7b71311eeb67aac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:43:22+00:00", "updated_at": - "2024-01-19T21:43:22+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": - "179 N HARBOR DR", "street2": null, "city": "REDONDO BEACH", "state": "CA", - "zip": "90277-2506", "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "from_address": {"id": "adr_c4780174b71311eeb67dac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:43:22+00:00", "updated_at": "2024-01-19T21:43:22+00:00", - "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": - null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": - "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", - "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": - null, "verifications": {"zip4": {"success": true, "errors": [], "details": - null}, "delivery": {"success": true, "errors": [], "details": {"latitude": - 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, - "shipment_id": null, "tracker": {"id": "trk_aa1880f4f8b340f18dc9fe16b2b06148", - "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", - "status": "error", "status_detail": null, "created_at": "2024-01-19T21:43:22Z", - "updated_at": "2024-01-19T21:43:22Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": - "TrackingDetail", "message": "In test mode, only test tracking numbers are - valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", - "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T21:43:22Z", - "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": - "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], - "carrier_detail": null, "finalized": true, "is_return": false, "public_url": - "https://track.easypost.com/djE6dHJrX2FhMTg4MGY0ZjhiMzQwZjE4ZGM5ZmUxNmIyYjA2MTQ4", - "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": - "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": - false}, "messages": [], "created_at": "2024-01-19T21:43:22Z", "updated_at": - "2024-01-19T21:43:22Z"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2665' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaecfbe78ba3ce000d3505 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.103940' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/insurances?page_size=1 - response: - body: - string: '{"insurances": [{"id": "ins_a168418213374a6b8f9be17762ba4743", "object": - "Insurance", "mode": "test", "reference": null, "status": "pending", "amount": - "100.00000", "provider": "easypost", "provider_id": null, "to_address": {"id": - "adr_4e08ce93b71411eea365ac1f6bc539ae", "object": "Address", "created_at": - "2024-01-19T21:47:13+00:00", "updated_at": "2024-01-19T21:47:13+00:00", "name": - "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", "street2": - null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", "country": - "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", "mode": - "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "from_address": {"id": "adr_4e0e03b0b71411eea06a3cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:47:13+00:00", "updated_at": "2024-01-19T21:47:13+00:00", - "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": - null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": - "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", - "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": - null, "verifications": {"zip4": {"success": true, "errors": [], "details": - null}, "delivery": {"success": true, "errors": [], "details": {"latitude": - 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, - "shipment_id": null, "tracker": {"id": "trk_b77f49eb252e4cd4ad106668d9fd99c2", - "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", - "status": "error", "status_detail": null, "created_at": "2024-01-19T21:47:13Z", - "updated_at": "2024-01-19T21:47:13Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": - "TrackingDetail", "message": "In test mode, only test tracking numbers are - valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", - "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T21:47:13Z", - "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": - "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], - "carrier_detail": null, "finalized": true, "is_return": false, "public_url": - "https://track.easypost.com/djE6dHJrX2I3N2Y0OWViMjUyZTRjZDRhZDEwNjY2OGQ5ZmQ5OWMy", - "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": - "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": - false}, "messages": [], "created_at": "2024-01-19T21:47:13Z", "updated_at": - "2024-01-19T21:47:13Z"}], "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2698' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdab65aaede1e78bac6d001129b4 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.098219' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/insurances/ins_a168418213374a6b8f9be17762ba4743 - response: - body: - string: '{"id": "ins_a168418213374a6b8f9be17762ba4743", "object": "Insurance", - "mode": "test", "reference": null, "status": "pending", "amount": "100.00000", - "provider": "easypost", "provider_id": null, "to_address": {"id": "adr_4e08ce93b71411eea365ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:47:13+00:00", "updated_at": - "2024-01-19T21:47:13+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": - "179 N HARBOR DR", "street2": null, "city": "REDONDO BEACH", "state": "CA", - "zip": "90277-2506", "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "from_address": {"id": "adr_4e0e03b0b71411eea06a3cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:47:13+00:00", "updated_at": "2024-01-19T21:47:13+00:00", - "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": - null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": - "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", - "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": - null, "verifications": {"zip4": {"success": true, "errors": [], "details": - null}, "delivery": {"success": true, "errors": [], "details": {"latitude": - 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, - "shipment_id": null, "tracker": {"id": "trk_b77f49eb252e4cd4ad106668d9fd99c2", - "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", - "status": "error", "status_detail": null, "created_at": "2024-01-19T21:47:13Z", - "updated_at": "2024-01-19T21:47:13Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": - "TrackingDetail", "message": "In test mode, only test tracking numbers are - valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", - "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T21:47:13Z", - "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": - "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], - "carrier_detail": null, "finalized": true, "is_return": false, "public_url": - "https://track.easypost.com/djE6dHJrX2I3N2Y0OWViMjUyZTRjZDRhZDEwNjY2OGQ5ZmQ5OWMy", - "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": - "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": - false}, "messages": [], "created_at": "2024-01-19T21:47:13Z", "updated_at": - "2024-01-19T21:47:13Z"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2665' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdae65aaede1e78bac6e001129f3 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.075527' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/insurances?page_size=1 - response: - body: - string: '{"insurances": [{"id": "ins_98b4aae9d5f240c28f7b95f48eaa2a6e", "object": - "Insurance", "mode": "test", "reference": null, "status": "pending", "amount": - "100.00000", "provider": "easypost", "provider_id": null, "to_address": {"id": - "adr_9091468db71411eeb69eac1f6bc53342", "object": "Address", "created_at": - "2024-01-19T21:49:04+00:00", "updated_at": "2024-01-19T21:49:04+00:00", "name": - "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", "street2": - null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", "country": - "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", "mode": - "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "from_address": {"id": "adr_90969396b71411eeb6a0ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:49:04+00:00", "updated_at": "2024-01-19T21:49:04+00:00", - "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": - null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": - "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", - "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": - null, "verifications": {"zip4": {"success": true, "errors": [], "details": - null}, "delivery": {"success": true, "errors": [], "details": {"latitude": - 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, - "shipment_id": null, "tracker": {"id": "trk_5aa2f8f307dd4f47a7d73daccbff4743", - "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", - "status": "error", "status_detail": null, "created_at": "2024-01-19T21:49:04Z", - "updated_at": "2024-01-19T21:49:04Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": - "TrackingDetail", "message": "In test mode, only test tracking numbers are - valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", - "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T21:49:04Z", - "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": - "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], - "carrier_detail": null, "finalized": true, "is_return": false, "public_url": - "https://track.easypost.com/djE6dHJrXzVhYTJmOGYzMDdkZDRmNDdhN2Q3M2RhY2NiZmY0NzQz", - "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": - "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": - false}, "messages": [], "created_at": "2024-01-19T21:49:04Z", "updated_at": - "2024-01-19T21:49:04Z"}], "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2698' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda865aaee51e78bb49000116d06 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.094373' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/insurances/ins_98b4aae9d5f240c28f7b95f48eaa2a6e - response: - body: - string: '{"id": "ins_98b4aae9d5f240c28f7b95f48eaa2a6e", "object": "Insurance", - "mode": "test", "reference": null, "status": "pending", "amount": "100.00000", - "provider": "easypost", "provider_id": null, "to_address": {"id": "adr_9091468db71411eeb69eac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:49:04+00:00", "updated_at": - "2024-01-19T21:49:04+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": - "179 N HARBOR DR", "street2": null, "city": "REDONDO BEACH", "state": "CA", - "zip": "90277-2506", "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "from_address": {"id": "adr_90969396b71411eeb6a0ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:49:04+00:00", "updated_at": "2024-01-19T21:49:04+00:00", - "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": - null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": - "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", - "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": - null, "verifications": {"zip4": {"success": true, "errors": [], "details": - null}, "delivery": {"success": true, "errors": [], "details": {"latitude": - 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, - "shipment_id": null, "tracker": {"id": "trk_5aa2f8f307dd4f47a7d73daccbff4743", - "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", - "status": "error", "status_detail": null, "created_at": "2024-01-19T21:49:04Z", - "updated_at": "2024-01-19T21:49:04Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": - "TrackingDetail", "message": "In test mode, only test tracking numbers are - valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", - "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T21:49:04Z", - "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": - "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], - "carrier_detail": null, "finalized": true, "is_return": false, "public_url": - "https://track.easypost.com/djE6dHJrXzVhYTJmOGYzMDdkZDRmNDdhN2Q3M2RhY2NiZmY0NzQz", - "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": - "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": - false}, "messages": [], "created_at": "2024-01-19T21:49:04Z", "updated_at": - "2024-01-19T21:49:04Z"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2665' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdab65aaee51e78bb4a800116d3c - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.072889' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/insurances?page_size=1 - response: - body: - string: '{"insurances": [{"id": "ins_afb14346beb740988100098e18089437", "object": - "Insurance", "mode": "test", "reference": null, "status": "pending", "amount": - "100.00000", "provider": "easypost", "provider_id": null, "to_address": {"id": - "adr_df072e59b71511eea4f53cecef1b359e", "object": "Address", "created_at": - "2024-01-19T21:58:25+00:00", "updated_at": "2024-01-19T21:58:25+00:00", "name": - "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", "street2": - null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", "country": - "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", "mode": - "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "from_address": {"id": "adr_df0cec70b71511eea8f5ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:58:25+00:00", "updated_at": "2024-01-19T21:58:25+00:00", - "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": - null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": - "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", - "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": - null, "verifications": {"zip4": {"success": true, "errors": [], "details": - null}, "delivery": {"success": true, "errors": [], "details": {"latitude": - 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, - "shipment_id": null, "tracker": {"id": "trk_5063b8124d43497d996bb4b27ea0f589", - "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", - "status": "error", "status_detail": null, "created_at": "2024-01-19T21:58:26Z", - "updated_at": "2024-01-19T21:58:26Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": - "TrackingDetail", "message": "In test mode, only test tracking numbers are - valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", - "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T21:58:26Z", - "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": - "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], - "carrier_detail": null, "finalized": true, "is_return": false, "public_url": - "https://track.easypost.com/djE6dHJrXzUwNjNiODEyNGQ0MzQ5N2Q5OTZiYjRiMjdlYTBmNTg5", - "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": - "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": - false}, "messages": [], "created_at": "2024-01-19T21:58:25Z", "updated_at": - "2024-01-19T21:58:25Z"}], "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2698' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf082e798bc24000f7224 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.095736' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/insurances/ins_afb14346beb740988100098e18089437 - response: - body: - string: '{"id": "ins_afb14346beb740988100098e18089437", "object": "Insurance", - "mode": "test", "reference": null, "status": "pending", "amount": "100.00000", - "provider": "easypost", "provider_id": null, "to_address": {"id": "adr_df072e59b71511eea4f53cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:58:25+00:00", "updated_at": - "2024-01-19T21:58:25+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": - "179 N HARBOR DR", "street2": null, "city": "REDONDO BEACH", "state": "CA", - "zip": "90277-2506", "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "from_address": {"id": "adr_df0cec70b71511eea8f5ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:58:25+00:00", "updated_at": "2024-01-19T21:58:25+00:00", - "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": - null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": - "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", - "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": - null, "verifications": {"zip4": {"success": true, "errors": [], "details": - null}, "delivery": {"success": true, "errors": [], "details": {"latitude": - 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, - "shipment_id": null, "tracker": {"id": "trk_5063b8124d43497d996bb4b27ea0f589", - "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", - "status": "error", "status_detail": null, "created_at": "2024-01-19T21:58:26Z", - "updated_at": "2024-01-19T21:58:26Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": - "TrackingDetail", "message": "In test mode, only test tracking numbers are - valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", - "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T21:58:26Z", - "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": - "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], - "carrier_detail": null, "finalized": true, "is_return": false, "public_url": - "https://track.easypost.com/djE6dHJrXzUwNjNiODEyNGQ0MzQ5N2Q5OTZiYjRiMjdlYTBmNTg5", - "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": - "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": - false}, "messages": [], "created_at": "2024-01-19T21:58:25Z", "updated_at": - "2024-01-19T21:58:25Z"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2665' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaf082e798bc3c000f7251 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.076089' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/insurances?page_size=1 - response: - body: - string: '{"insurances": [{"id": "ins_8ff16f049eca4bf18be8f285432badb0", "object": - "Insurance", "mode": "test", "reference": null, "status": "pending", "amount": - "100.00000", "provider": "easypost", "provider_id": null, "to_address": {"id": - "adr_46fc641cb71611ee89efac1f6bc539ae", "object": "Address", "created_at": - "2024-01-19T22:01:20+00:00", "updated_at": "2024-01-19T22:01:20+00:00", "name": - "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", "street2": - null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", "country": - "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", "mode": - "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "from_address": {"id": "adr_47022d00b71611ee9811ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T22:01:20+00:00", "updated_at": "2024-01-19T22:01:20+00:00", - "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": - null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": - "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", - "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": - null, "verifications": {"zip4": {"success": true, "errors": [], "details": - null}, "delivery": {"success": true, "errors": [], "details": {"latitude": - 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, - "shipment_id": null, "tracker": {"id": "trk_3e96a3ad7fa9452faac62be5327888b2", - "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", - "status": "error", "status_detail": null, "created_at": "2024-01-19T22:01:20Z", - "updated_at": "2024-01-19T22:01:20Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": - "TrackingDetail", "message": "In test mode, only test tracking numbers are - valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", - "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T22:01:20Z", - "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": - "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], - "carrier_detail": null, "finalized": true, "is_return": false, "public_url": - "https://track.easypost.com/djE6dHJrXzNlOTZhM2FkN2ZhOTQ1MmZhYWM2MmJlNTMyNzg4OGIy", - "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": - "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": - false}, "messages": [], "created_at": "2024-01-19T22:01:20Z", "updated_at": - "2024-01-19T22:01:20Z"}], "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2698' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaf130e798c481000ffdf3 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.088360' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/insurances/ins_8ff16f049eca4bf18be8f285432badb0 - response: - body: - string: '{"id": "ins_8ff16f049eca4bf18be8f285432badb0", "object": "Insurance", - "mode": "test", "reference": null, "status": "pending", "amount": "100.00000", - "provider": "easypost", "provider_id": null, "to_address": {"id": "adr_46fc641cb71611ee89efac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T22:01:20+00:00", "updated_at": - "2024-01-19T22:01:20+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": - "179 N HARBOR DR", "street2": null, "city": "REDONDO BEACH", "state": "CA", - "zip": "90277-2506", "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "from_address": {"id": "adr_47022d00b71611ee9811ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T22:01:20+00:00", "updated_at": "2024-01-19T22:01:20+00:00", - "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": - null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": - "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", - "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": - null, "verifications": {"zip4": {"success": true, "errors": [], "details": - null}, "delivery": {"success": true, "errors": [], "details": {"latitude": - 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, - "shipment_id": null, "tracker": {"id": "trk_3e96a3ad7fa9452faac62be5327888b2", - "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", - "status": "error", "status_detail": null, "created_at": "2024-01-19T22:01:20Z", - "updated_at": "2024-01-19T22:01:20Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": - "TrackingDetail", "message": "In test mode, only test tracking numbers are - valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", - "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T22:01:20Z", - "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": - "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], - "carrier_detail": null, "finalized": true, "is_return": false, "public_url": - "https://track.easypost.com/djE6dHJrXzNlOTZhM2FkN2ZhOTQ1MmZhYWM2MmJlNTMyNzg4OGIy", - "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": - "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": - false}, "messages": [], "created_at": "2024-01-19T22:01:20Z", "updated_at": - "2024-01-19T22:01:20Z"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2665' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf131e798c482000ffe49 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.086423' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/insurances?page_size=1 - response: - body: - string: '{"insurances": [{"id": "ins_65246d2065c94992b3d0716652f1ce39", "object": - "Insurance", "mode": "test", "reference": null, "status": "pending", "amount": - "100.00000", "provider": "easypost", "provider_id": null, "to_address": {"id": - "adr_cdb725e6b71611eeb294ac1f6bc53342", "object": "Address", "created_at": - "2024-01-19T22:05:06+00:00", "updated_at": "2024-01-19T22:05:06+00:00", "name": - "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", "street2": - null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", "country": - "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", "mode": - "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "from_address": {"id": "adr_cdbcfb33b71611eeb09e3cecef1b359e", "object": "Address", - "created_at": "2024-01-19T22:05:06+00:00", "updated_at": "2024-01-19T22:05:06+00:00", - "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": - null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": - "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", - "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": - null, "verifications": {"zip4": {"success": true, "errors": [], "details": - null}, "delivery": {"success": true, "errors": [], "details": {"latitude": - 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, - "shipment_id": null, "tracker": {"id": "trk_348eb15782424f5a95027c8bad7277b0", - "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", - "status": "error", "status_detail": null, "created_at": "2024-01-19T22:05:06Z", - "updated_at": "2024-01-19T22:05:06Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": - "TrackingDetail", "message": "In test mode, only test tracking numbers are - valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", - "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T22:05:06Z", - "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": - "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], - "carrier_detail": null, "finalized": true, "is_return": false, "public_url": - "https://track.easypost.com/djE6dHJrXzM0OGViMTU3ODI0MjRmNWE5NTAyN2M4YmFkNzI3N2Iw", - "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": - "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": - false}, "messages": [], "created_at": "2024-01-19T22:05:06Z", "updated_at": - "2024-01-19T22:05:06Z"}], "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2698' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf212e798d05f0010abcb - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.089489' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/insurances/ins_65246d2065c94992b3d0716652f1ce39 - response: - body: - string: '{"id": "ins_65246d2065c94992b3d0716652f1ce39", "object": "Insurance", - "mode": "test", "reference": null, "status": "pending", "amount": "100.00000", - "provider": "easypost", "provider_id": null, "to_address": {"id": "adr_cdb725e6b71611eeb294ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:05:06+00:00", "updated_at": - "2024-01-19T22:05:06+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": - "179 N HARBOR DR", "street2": null, "city": "REDONDO BEACH", "state": "CA", - "zip": "90277-2506", "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "from_address": {"id": "adr_cdbcfb33b71611eeb09e3cecef1b359e", "object": "Address", - "created_at": "2024-01-19T22:05:06+00:00", "updated_at": "2024-01-19T22:05:06+00:00", - "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": - null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": - "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", - "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": - null, "verifications": {"zip4": {"success": true, "errors": [], "details": - null}, "delivery": {"success": true, "errors": [], "details": {"latitude": - 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, - "shipment_id": null, "tracker": {"id": "trk_348eb15782424f5a95027c8bad7277b0", - "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", - "status": "error", "status_detail": null, "created_at": "2024-01-19T22:05:06Z", - "updated_at": "2024-01-19T22:05:06Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": - "TrackingDetail", "message": "In test mode, only test tracking numbers are - valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", - "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T22:05:06Z", - "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": - "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], - "carrier_detail": null, "finalized": true, "is_return": false, "public_url": - "https://track.easypost.com/djE6dHJrXzM0OGViMTU3ODI0MjRmNWE5NTAyN2M4YmFkNzI3N2Iw", - "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": - "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": - false}, "messages": [], "created_at": "2024-01-19T22:05:06Z", "updated_at": - "2024-01-19T22:05:06Z"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2665' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf213e798d0600010abfe - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.093625' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/insurances?page_size=1 - response: - body: - string: '{"insurances": [{"id": "ins_c7d3957fe5cc4ff2a7a4e076b8a8fe05", "object": - "Insurance", "mode": "test", "reference": null, "status": "pending", "amount": - "100.00000", "provider": "easypost", "provider_id": null, "to_address": {"id": - "adr_0560e9abb71711ee9626ac1f6bc539aa", "object": "Address", "created_at": - "2024-01-19T22:06:39+00:00", "updated_at": "2024-01-19T22:06:39+00:00", "name": - "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", "street2": - null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", "country": - "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", "mode": - "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "from_address": {"id": "adr_05678bcdb71711ee84263cecef1b359e", "object": "Address", - "created_at": "2024-01-19T22:06:39+00:00", "updated_at": "2024-01-19T22:06:39+00:00", - "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": - null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": - "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", - "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": - null, "verifications": {"zip4": {"success": true, "errors": [], "details": - null}, "delivery": {"success": true, "errors": [], "details": {"latitude": - 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, - "shipment_id": null, "tracker": {"id": "trk_af091540b9824ce5ab2fc1c84d01d7ef", - "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", - "status": "error", "status_detail": null, "created_at": "2024-01-19T22:06:39Z", - "updated_at": "2024-01-19T22:06:39Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": - "TrackingDetail", "message": "In test mode, only test tracking numbers are - valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", - "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T22:06:39Z", - "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": - "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], - "carrier_detail": null, "finalized": true, "is_return": false, "public_url": - "https://track.easypost.com/djE6dHJrX2FmMDkxNTQwYjk4MjRjZTVhYjJmYzFjODRkMDFkN2Vm", - "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": - "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": - false}, "messages": [], "created_at": "2024-01-19T22:06:39Z", "updated_at": - "2024-01-19T22:06:39Z"}], "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2698' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf270e798d5210010eb4a - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.083982' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/insurances/ins_c7d3957fe5cc4ff2a7a4e076b8a8fe05 - response: - body: - string: '{"id": "ins_c7d3957fe5cc4ff2a7a4e076b8a8fe05", "object": "Insurance", - "mode": "test", "reference": null, "status": "pending", "amount": "100.00000", - "provider": "easypost", "provider_id": null, "to_address": {"id": "adr_0560e9abb71711ee9626ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T22:06:39+00:00", "updated_at": - "2024-01-19T22:06:39+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": - "179 N HARBOR DR", "street2": null, "city": "REDONDO BEACH", "state": "CA", - "zip": "90277-2506", "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "from_address": {"id": "adr_05678bcdb71711ee84263cecef1b359e", "object": "Address", - "created_at": "2024-01-19T22:06:39+00:00", "updated_at": "2024-01-19T22:06:39+00:00", - "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", "street2": - null, "city": "SAN FRANCISCO", "state": "CA", "zip": "94104-1129", "country": - "US", "phone": "4153334445", "email": "SUPPORT@EASYPOST.COM", "mode": "test", - "carrier_facility": null, "residential": false, "federal_tax_id": null, "state_tax_id": - null, "verifications": {"zip4": {"success": true, "errors": [], "details": - null}, "delivery": {"success": true, "errors": [], "details": {"latitude": - 37.79342, "longitude": -122.40288, "time_zone": "America/Los_Angeles"}}}}, - "shipment_id": null, "tracker": {"id": "trk_af091540b9824ce5ab2fc1c84d01d7ef", - "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", - "status": "error", "status_detail": null, "created_at": "2024-01-19T22:06:39Z", - "updated_at": "2024-01-19T22:06:39Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": null, "carrier": "USPS", "tracking_details": [{"object": - "TrackingDetail", "message": "In test mode, only test tracking numbers are - valid. Test tracking numbers are EZ1000000001, EZ2000000002, ... , EZ7000000007", - "description": "", "status": "error", "status_detail": null, "datetime": "2024-01-19T22:06:39Z", - "source": "ProcessingError", "carrier_code": "", "tracking_location": {"object": - "TrackingLocation", "city": null, "state": null, "country": null, "zip": null}}], - "carrier_detail": null, "finalized": true, "is_return": false, "public_url": - "https://track.easypost.com/djE6dHJrX2FmMDkxNTQwYjk4MjRjZTVhYjJmYzFjODRkMDFkN2Vm", - "fees": []}, "tracking_code": "9400110898825022579493", "fee": {"object": - "Fee", "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": - false}, "messages": [], "created_at": "2024-01-19T22:06:39Z", "updated_at": - "2024-01-19T22:06:39Z"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2665' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaf270e798d5220010eb6e - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.083496' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_options_create_with_options.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_options_create_with_options.yaml deleted file mode 100644 index 0b37d591..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_options_create_with_options.yaml +++ /dev/null @@ -1,1380 +0,0 @@ -interactions: -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "options": {"print_custom_1": - "Custom label message"}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '940' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:40:55Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"print_custom_1": "Custom label - message", "currency": "USD", "print_custom": [{"value": "Custom label message"}], - "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, "status": - "unknown", "tracking_code": null, "updated_at": "2024-01-19T21:40:56Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_7c83f1010fb34baf9918aa9e67cdebc0", "object": "CustomsInfo", "created_at": - "2024-01-19T21:40:55Z", "updated_at": "2024-01-19T21:40:55Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_897e45137fe5445b8fd25b531fc37493", - "object": "CustomsItem", "created_at": "2024-01-19T21:40:55Z", "updated_at": - "2024-01-19T21:40:55Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_6ccfb677b71311ee974bac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:40:55+00:00", "updated_at": - "2024-01-19T21:40:55+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_ae2d7d66d6c94f63b588d552a7abe104", - "object": "Parcel", "created_at": "2024-01-19T21:40:55Z", "updated_at": "2024-01-19T21:40:55Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_caad818c21154e50b502f50656955b9a", - "object": "Rate", "created_at": "2024-01-19T21:40:56Z", "updated_at": "2024-01-19T21:40:56Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_6602fa67597a43a3abdc4b044cef3fe0", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_77f385ab06f64e2caf8a0b8c29390eee", - "object": "Rate", "created_at": "2024-01-19T21:40:56Z", "updated_at": "2024-01-19T21:40:56Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_6602fa67597a43a3abdc4b044cef3fe0", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_47009bdbca044be1b9effe5ef8abb17f", - "object": "Rate", "created_at": "2024-01-19T21:40:56Z", "updated_at": "2024-01-19T21:40:56Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_6602fa67597a43a3abdc4b044cef3fe0", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f7a4973a87f646fe9c3ff93cfdff1de4", - "object": "Rate", "created_at": "2024-01-19T21:40:56Z", "updated_at": "2024-01-19T21:40:56Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_6602fa67597a43a3abdc4b044cef3fe0", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_5e08b7a12bf040d690cd045d878beb67", "object": "Rate", "created_at": - "2024-01-19T21:40:56Z", "updated_at": "2024-01-19T21:40:56Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_6602fa67597a43a3abdc4b044cef3fe0", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_6cccdebbb71311ee9631ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:40:55+00:00", "updated_at": "2024-01-19T21:40:55+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_6ccfb677b71311ee974bac1f6bc539ae", "object": "Address", "created_at": - "2024-01-19T21:40:55+00:00", "updated_at": "2024-01-19T21:40:55+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_6cccdebbb71311ee9631ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:40:55+00:00", "updated_at": - "2024-01-19T21:40:55+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_6602fa67597a43a3abdc4b044cef3fe0", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7309' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_6602fa67597a43a3abdc4b044cef3fe0 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaec67e78b9bae000cd7f0 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.835109' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "options": {"print_custom_1": - "Custom label message"}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '940' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:43:23Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"print_custom_1": "Custom label - message", "currency": "USD", "print_custom": [{"value": "Custom label message"}], - "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, "status": - "unknown", "tracking_code": null, "updated_at": "2024-01-19T21:43:24Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_9bd6bf89fb5c46728cbe17edf6bb370e", "object": "CustomsInfo", "created_at": - "2024-01-19T21:43:23Z", "updated_at": "2024-01-19T21:43:23Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_c1e6ea5cf8f34552b0fcab7e86673c27", - "object": "CustomsItem", "created_at": "2024-01-19T21:43:23Z", "updated_at": - "2024-01-19T21:43:23Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_c557faacb71311eeb4593cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:43:23+00:00", "updated_at": - "2024-01-19T21:43:23+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_92f34e7668fd4fcd96cae21c685a2dd1", - "object": "Parcel", "created_at": "2024-01-19T21:43:23Z", "updated_at": "2024-01-19T21:43:23Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_64b12833401b474da91a4f0b28a05061", - "object": "Rate", "created_at": "2024-01-19T21:43:24Z", "updated_at": "2024-01-19T21:43:24Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_c4b31ae86b264bb48b7525971abd80a8", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_0212ed42399e4922b4b059bb1c49cb41", - "object": "Rate", "created_at": "2024-01-19T21:43:24Z", "updated_at": "2024-01-19T21:43:24Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_c4b31ae86b264bb48b7525971abd80a8", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_1e6ce963062242018ea66cadc59b076c", - "object": "Rate", "created_at": "2024-01-19T21:43:24Z", "updated_at": "2024-01-19T21:43:24Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_c4b31ae86b264bb48b7525971abd80a8", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_bb8a39919b3b45e3be41199695ab2c0f", - "object": "Rate", "created_at": "2024-01-19T21:43:24Z", "updated_at": "2024-01-19T21:43:24Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_c4b31ae86b264bb48b7525971abd80a8", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_19eb21cfc9634089a190694b9ded84cd", "object": "Rate", "created_at": - "2024-01-19T21:43:24Z", "updated_at": "2024-01-19T21:43:24Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_c4b31ae86b264bb48b7525971abd80a8", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_c5556725b71311ee85c8ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:43:23+00:00", "updated_at": "2024-01-19T21:43:23+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_c557faacb71311eeb4593cecef1b359e", "object": "Address", "created_at": - "2024-01-19T21:43:23+00:00", "updated_at": "2024-01-19T21:43:23+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_c5556725b71311ee85c8ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:43:23+00:00", "updated_at": - "2024-01-19T21:43:23+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_c4b31ae86b264bb48b7525971abd80a8", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7309' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_c4b31ae86b264bb48b7525971abd80a8 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaecfbe78ba3e7000d3580 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.751440' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "options": {"print_custom_1": - "Custom label message"}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '940' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:47:14Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"print_custom_1": "Custom label - message", "currency": "USD", "print_custom": [{"value": "Custom label message"}], - "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, "status": - "unknown", "tracking_code": null, "updated_at": "2024-01-19T21:47:15Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_747e14512c7448f6ba9303405b731a3a", "object": "CustomsInfo", "created_at": - "2024-01-19T21:47:14Z", "updated_at": "2024-01-19T21:47:14Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_4c435b412c764e768adf592c177c4eb7", - "object": "CustomsItem", "created_at": "2024-01-19T21:47:14Z", "updated_at": - "2024-01-19T21:47:14Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_4ee6e758b71411eea0b13cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:47:14+00:00", "updated_at": - "2024-01-19T21:47:14+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_194e15ae618646eaba0a6e855a91138b", - "object": "Parcel", "created_at": "2024-01-19T21:47:14Z", "updated_at": "2024-01-19T21:47:14Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_1fa9c43e6f7a4d8dad5b3d0c7bf164ed", - "object": "Rate", "created_at": "2024-01-19T21:47:15Z", "updated_at": "2024-01-19T21:47:15Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_1844b7a6f1f24257afd7a5926465a532", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_221deffadbf943e2a34c04c3cc9e7177", - "object": "Rate", "created_at": "2024-01-19T21:47:15Z", "updated_at": "2024-01-19T21:47:15Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_1844b7a6f1f24257afd7a5926465a532", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_28c2200d2e894a7abc136e71f924279f", - "object": "Rate", "created_at": "2024-01-19T21:47:15Z", "updated_at": "2024-01-19T21:47:15Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_1844b7a6f1f24257afd7a5926465a532", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_046746a8bb144fd29473701fad16c83e", - "object": "Rate", "created_at": "2024-01-19T21:47:15Z", "updated_at": "2024-01-19T21:47:15Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_1844b7a6f1f24257afd7a5926465a532", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_922cc219eebf462bb4e0521a6bc4d804", "object": "Rate", "created_at": - "2024-01-19T21:47:15Z", "updated_at": "2024-01-19T21:47:15Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_1844b7a6f1f24257afd7a5926465a532", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_4ee4bf98b71411eea3a5ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:47:14+00:00", "updated_at": "2024-01-19T21:47:14+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_4ee6e758b71411eea0b13cecef1b359e", "object": "Address", "created_at": - "2024-01-19T21:47:14+00:00", "updated_at": "2024-01-19T21:47:14+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_4ee4bf98b71411eea3a5ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:47:14+00:00", "updated_at": - "2024-01-19T21:47:14+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_1844b7a6f1f24257afd7a5926465a532", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7309' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_1844b7a6f1f24257afd7a5926465a532 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdae65aaede2e78bac7000112a69 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.862218' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "options": {"print_custom_1": - "Custom label message"}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '940' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:49:06Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"print_custom_1": "Custom label - message", "currency": "USD", "print_custom": [{"value": "Custom label message"}], - "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, "status": - "unknown", "tracking_code": null, "updated_at": "2024-01-19T21:49:07Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_997d7faa84424860ab3dd343aa28d672", "object": "CustomsInfo", "created_at": - "2024-01-19T21:49:06Z", "updated_at": "2024-01-19T21:49:06Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_95699ed548244d84aae3b2d01236dbc9", - "object": "CustomsItem", "created_at": "2024-01-19T21:49:06Z", "updated_at": - "2024-01-19T21:49:06Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_91958776b71411ee86ccac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:49:06+00:00", "updated_at": - "2024-01-19T21:49:06+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_a8ca96bc01114c4898dcf38803642f60", - "object": "Parcel", "created_at": "2024-01-19T21:49:06Z", "updated_at": "2024-01-19T21:49:06Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_fa17b3eac9c747f8a43aa2c45fcf1dbc", - "object": "Rate", "created_at": "2024-01-19T21:49:07Z", "updated_at": "2024-01-19T21:49:07Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_0a527dc6c713468884e58700bf897608", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_881fec7ff5ee487aba474879e89322f8", - "object": "Rate", "created_at": "2024-01-19T21:49:07Z", "updated_at": "2024-01-19T21:49:07Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_0a527dc6c713468884e58700bf897608", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f4d05b1616bf4cc987eb9ebd1ffab64c", - "object": "Rate", "created_at": "2024-01-19T21:49:07Z", "updated_at": "2024-01-19T21:49:07Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_0a527dc6c713468884e58700bf897608", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b8869ad31af440f6b21b42634cfb7d38", - "object": "Rate", "created_at": "2024-01-19T21:49:07Z", "updated_at": "2024-01-19T21:49:07Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_0a527dc6c713468884e58700bf897608", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_e83c7cb7027d48d9ab4f0d64a5fa04a3", "object": "Rate", "created_at": - "2024-01-19T21:49:07Z", "updated_at": "2024-01-19T21:49:07Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_0a527dc6c713468884e58700bf897608", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_9192e26fb71411ee86c9ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:49:06+00:00", "updated_at": "2024-01-19T21:49:06+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_91958776b71411ee86ccac1f6bc539aa", "object": "Address", "created_at": - "2024-01-19T21:49:06+00:00", "updated_at": "2024-01-19T21:49:06+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_9192e26fb71411ee86c9ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:49:06+00:00", "updated_at": - "2024-01-19T21:49:06+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_0a527dc6c713468884e58700bf897608", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7309' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_0a527dc6c713468884e58700bf897608 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdaa65aaee52e78bb4aa00116da2 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.808043' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "options": {"print_custom_1": - "Custom label message"}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '940' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:58:27Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"print_custom_1": "Custom label - message", "currency": "USD", "print_custom": [{"value": "Custom label message"}], - "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, "status": - "unknown", "tracking_code": null, "updated_at": "2024-01-19T21:58:28Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_b7c827bbd6d34ff8929157c4d88636a1", "object": "CustomsInfo", "created_at": - "2024-01-19T21:58:27Z", "updated_at": "2024-01-19T21:58:27Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_d4919d7239704751beb4af99bfaab0f7", - "object": "CustomsItem", "created_at": "2024-01-19T21:58:27Z", "updated_at": - "2024-01-19T21:58:27Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_dffa7f26b71511eea938ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:58:27+00:00", "updated_at": - "2024-01-19T21:58:27+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_b19d301707c24d83a468e651574853f7", - "object": "Parcel", "created_at": "2024-01-19T21:58:27Z", "updated_at": "2024-01-19T21:58:27Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_df1e6e882c594b4284e903ee6dce8a84", - "object": "Rate", "created_at": "2024-01-19T21:58:28Z", "updated_at": "2024-01-19T21:58:28Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_6d7d5eb2f6624879840b8775446b7824", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_74989860512f4425871b5a2b50c0c3e9", - "object": "Rate", "created_at": "2024-01-19T21:58:28Z", "updated_at": "2024-01-19T21:58:28Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_6d7d5eb2f6624879840b8775446b7824", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_6e30c6bec2d7438dbd4124ca01a55043", - "object": "Rate", "created_at": "2024-01-19T21:58:28Z", "updated_at": "2024-01-19T21:58:28Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_6d7d5eb2f6624879840b8775446b7824", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_c2c1f82eae9a44cb898167d6221d3309", "object": "Rate", "created_at": - "2024-01-19T21:58:28Z", "updated_at": "2024-01-19T21:58:28Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_6d7d5eb2f6624879840b8775446b7824", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_0815052cd87a4ce5bcc03f3b025e1290", "object": "Rate", "created_at": - "2024-01-19T21:58:28Z", "updated_at": "2024-01-19T21:58:28Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_6d7d5eb2f6624879840b8775446b7824", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_dff76b48b71511eeb7aaac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:58:27+00:00", "updated_at": "2024-01-19T21:58:27+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_dffa7f26b71511eea938ac1f6bc539ae", "object": "Address", "created_at": - "2024-01-19T21:58:27+00:00", "updated_at": "2024-01-19T21:58:27+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_dff76b48b71511eeb7aaac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:58:27+00:00", "updated_at": - "2024-01-19T21:58:27+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_6d7d5eb2f6624879840b8775446b7824", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7309' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_6d7d5eb2f6624879840b8775446b7824 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaf083e798bc3e000f72a2 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.955026' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "options": {"print_custom_1": - "Custom label message"}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '940' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T22:01:22Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"print_custom_1": "Custom label - message", "currency": "USD", "print_custom": [{"value": "Custom label message"}], - "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, "status": - "unknown", "tracking_code": null, "updated_at": "2024-01-19T22:01:22Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_85ca4ef125b54da4b177bf266ceaafd6", "object": "CustomsInfo", "created_at": - "2024-01-19T22:01:22Z", "updated_at": "2024-01-19T22:01:22Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_a055261c99944590a5ec4cc30769c609", - "object": "CustomsItem", "created_at": "2024-01-19T22:01:22Z", "updated_at": - "2024-01-19T22:01:22Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_47f9f571b71611ee864d3cecef1b359e", - "object": "Address", "created_at": "2024-01-19T22:01:21+00:00", "updated_at": - "2024-01-19T22:01:21+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_b7c86ea6b86740c494df92c837806273", - "object": "Parcel", "created_at": "2024-01-19T22:01:21Z", "updated_at": "2024-01-19T22:01:21Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_9275a7b320674988b89203ff474bda10", - "object": "Rate", "created_at": "2024-01-19T22:01:22Z", "updated_at": "2024-01-19T22:01:22Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_ca16cd89356f41ec885edaf83ad9b9ba", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_9eeff9f09fec4b3f9dd9461ab7942407", - "object": "Rate", "created_at": "2024-01-19T22:01:22Z", "updated_at": "2024-01-19T22:01:22Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_ca16cd89356f41ec885edaf83ad9b9ba", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_2c1b72ff3e6745b8b29496b5ee28ebbd", - "object": "Rate", "created_at": "2024-01-19T22:01:22Z", "updated_at": "2024-01-19T22:01:22Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_ca16cd89356f41ec885edaf83ad9b9ba", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_44ebf49c5efd44479f5fc07b741e8963", - "object": "Rate", "created_at": "2024-01-19T22:01:22Z", "updated_at": "2024-01-19T22:01:22Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_ca16cd89356f41ec885edaf83ad9b9ba", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_cc96540781ef424d8a301e374b73cb7e", "object": "Rate", "created_at": - "2024-01-19T22:01:22Z", "updated_at": "2024-01-19T22:01:22Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_ca16cd89356f41ec885edaf83ad9b9ba", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_47f77747b71611ee8875ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T22:01:21+00:00", "updated_at": "2024-01-19T22:01:21+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_47f9f571b71611ee864d3cecef1b359e", "object": "Address", "created_at": - "2024-01-19T22:01:21+00:00", "updated_at": "2024-01-19T22:01:21+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_47f77747b71611ee8875ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:01:21+00:00", "updated_at": - "2024-01-19T22:01:21+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_ca16cd89356f41ec885edaf83ad9b9ba", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7309' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_ca16cd89356f41ec885edaf83ad9b9ba - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaf131e798c484000fff1a - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.778032' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "options": {"print_custom_1": - "Custom label message"}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '940' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T22:05:08Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"print_custom_1": "Custom label - message", "currency": "USD", "print_custom": [{"value": "Custom label message"}], - "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, "status": - "unknown", "tracking_code": null, "updated_at": "2024-01-19T22:05:08Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_450f231467a9432488c744eef9d62e74", "object": "CustomsInfo", "created_at": - "2024-01-19T22:05:07Z", "updated_at": "2024-01-19T22:05:07Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_a981e3f7f8b14badba3850af63585147", - "object": "CustomsItem", "created_at": "2024-01-19T22:05:07Z", "updated_at": - "2024-01-19T22:05:07Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_ceac4918b71611eeb2dbac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:05:07+00:00", "updated_at": - "2024-01-19T22:05:07+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_f25cd36a538a4a8e8ada8eaa41d43f37", - "object": "Parcel", "created_at": "2024-01-19T22:05:07Z", "updated_at": "2024-01-19T22:05:07Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_fc687a23783e4f7988c5aa88c18d99c6", - "object": "Rate", "created_at": "2024-01-19T22:05:08Z", "updated_at": "2024-01-19T22:05:08Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_66e6053c515b48098908810696e62ceb", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_0582e536d9f44e469969703ac28df958", - "object": "Rate", "created_at": "2024-01-19T22:05:08Z", "updated_at": "2024-01-19T22:05:08Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_66e6053c515b48098908810696e62ceb", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_7454dfa1a0414e5c831d4d7154685cce", - "object": "Rate", "created_at": "2024-01-19T22:05:08Z", "updated_at": "2024-01-19T22:05:08Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_66e6053c515b48098908810696e62ceb", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_9999d6d0d3c54cd8be78db13f4af7f91", - "object": "Rate", "created_at": "2024-01-19T22:05:08Z", "updated_at": "2024-01-19T22:05:08Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_66e6053c515b48098908810696e62ceb", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_48e577c07a8a4106b6fd22ad7918a149", "object": "Rate", "created_at": - "2024-01-19T22:05:08Z", "updated_at": "2024-01-19T22:05:08Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_66e6053c515b48098908810696e62ceb", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_ceaa2670b71611eeb536ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T22:05:07+00:00", "updated_at": "2024-01-19T22:05:07+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_ceac4918b71611eeb2dbac1f6bc53342", "object": "Address", "created_at": - "2024-01-19T22:05:07+00:00", "updated_at": "2024-01-19T22:05:07+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_ceaa2670b71611eeb536ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T22:05:07+00:00", "updated_at": - "2024-01-19T22:05:07+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_66e6053c515b48098908810696e62ceb", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7309' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_66e6053c515b48098908810696e62ceb - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaf213e798d0790010ac6c - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.708487' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "options": {"print_custom_1": - "Custom label message"}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '940' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T22:06:41Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"print_custom_1": "Custom label - message", "currency": "USD", "print_custom": [{"value": "Custom label message"}], - "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, "status": - "unknown", "tracking_code": null, "updated_at": "2024-01-19T22:06:42Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_7b9c4ef4ffc249e990c1a4b13306e321", "object": "CustomsInfo", "created_at": - "2024-01-19T22:06:41Z", "updated_at": "2024-01-19T22:06:41Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_5ac044a6041847bb8b1b088ae2d641bb", - "object": "CustomsItem", "created_at": "2024-01-19T22:06:41Z", "updated_at": - "2024-01-19T22:06:41Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_068b6ff1b71711ee84973cecef1b359e", - "object": "Address", "created_at": "2024-01-19T22:06:41+00:00", "updated_at": - "2024-01-19T22:06:41+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_4142d0fb639e4dd6a3ffdba5e23a3f58", - "object": "Parcel", "created_at": "2024-01-19T22:06:41Z", "updated_at": "2024-01-19T22:06:41Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_b02e660de5824bb8abd0d9e0072af45b", - "object": "Rate", "created_at": "2024-01-19T22:06:42Z", "updated_at": "2024-01-19T22:06:42Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_4cf7c80690a54f0185efa25ef21b05a7", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_a7d4fe8b51454a64a3858b7753dabca9", - "object": "Rate", "created_at": "2024-01-19T22:06:42Z", "updated_at": "2024-01-19T22:06:42Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_4cf7c80690a54f0185efa25ef21b05a7", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_87b5356d368c4b8d9c2536bedd60350c", - "object": "Rate", "created_at": "2024-01-19T22:06:42Z", "updated_at": "2024-01-19T22:06:42Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_4cf7c80690a54f0185efa25ef21b05a7", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_2139308b6c184c0aa92806cdfe7a60b5", - "object": "Rate", "created_at": "2024-01-19T22:06:42Z", "updated_at": "2024-01-19T22:06:42Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_4cf7c80690a54f0185efa25ef21b05a7", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_28194cbb178843289d4c84baa4d6d702", "object": "Rate", "created_at": - "2024-01-19T22:06:42Z", "updated_at": "2024-01-19T22:06:42Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_4cf7c80690a54f0185efa25ef21b05a7", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_0688a7a7b71711ee9689ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T22:06:41+00:00", "updated_at": "2024-01-19T22:06:41+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_068b6ff1b71711ee84973cecef1b359e", "object": "Address", "created_at": - "2024-01-19T22:06:41+00:00", "updated_at": "2024-01-19T22:06:41+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_0688a7a7b71711ee9689ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T22:06:41+00:00", "updated_at": - "2024-01-19T22:06:41+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_4cf7c80690a54f0185efa25ef21b05a7", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7309' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_4cf7c80690a54f0185efa25ef21b05a7 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaf271e798d5240010ebfd - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.706818' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_orders_buy.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_orders_buy.yaml deleted file mode 100644 index f61cb3ef..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_orders_buy.yaml +++ /dev/null @@ -1,3804 +0,0 @@ -interactions: -- request: - body: '{"order": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 N - Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "shipments": [{"parcel": {"weight": - "10.2"}}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '491' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/orders - response: - body: - string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": - "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", - "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", - "message": "Unauthorized. Please check credentials and try again"}, {"carrier": - "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": - "rate_error", "message": "Unauthorized. Please check credentials and try again"}, - {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "created_at": "2024-01-19T21:40:57Z", "updated_at": "2024-01-19T21:40:58Z", - "customs_info": null, "from_address": {"id": "adr_6e41e4a5b71311ee97ceac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:40:57+00:00", "updated_at": - "2024-01-19T21:40:57+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "to_address": {"id": "adr_6e3fba44b71311ee96afac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:40:57+00:00", "updated_at": "2024-01-19T21:40:57+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "buyer_address": {"id": "adr_6e3fba44b71311ee96afac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:40:57+00:00", "updated_at": - "2024-01-19T21:40:57+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "return_address": {"id": - "adr_6e41e4a5b71311ee97ceac1f6bc539ae", "object": "Address", "created_at": - "2024-01-19T21:40:57+00:00", "updated_at": "2024-01-19T21:40:57+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T21:40:57Z", - "is_return": false, "messages": [{"carrier": "DhlEcs", "carrier_account_id": - "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_0d64fd488c1444cf9bc16f858703e28f", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_b1a0a1bc45844159812e0224d53948ea", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_99007e1aeb66421faf82676f1199481e", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_c3cbbd21bc97400bbbaed6d030909476", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}], "mode": "test", "options": {"currency": - "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, - "status": "unknown", "tracking_code": null, "updated_at": "2024-01-19T21:40:57Z", - "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": - null, "from_address": {"id": "adr_6e41e4a5b71311ee97ceac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:40:57+00:00", "updated_at": "2024-01-19T21:40:57+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": "order_c9ac9440c9b14226baf7e2de4e9b43b8", - "parcel": {"id": "prcl_fa3d9b3650e6497a96aaa24aae987560", "object": "Parcel", - "created_at": "2024-01-19T21:40:57Z", "updated_at": "2024-01-19T21:40:57Z", - "length": null, "width": null, "height": null, "predefined_package": null, - "weight": 10.2, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_a0ccacd39a7d477f8bb62010398efd61", - "object": "Rate", "created_at": "2024-01-19T21:40:58Z", "updated_at": "2024-01-19T21:40:58Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", - "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": - "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_4247b1c0069e44ca9562013f148896da", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_5a9f414cda3946248ebbfa1d5df9f9e8", - "object": "Rate", "created_at": "2024-01-19T21:40:58Z", "updated_at": "2024-01-19T21:40:58Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_4247b1c0069e44ca9562013f148896da", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_f46e6837bc104d58b1b36d247664204a", "object": "Rate", "created_at": - "2024-01-19T21:40:58Z", "updated_at": "2024-01-19T21:40:58Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_4247b1c0069e44ca9562013f148896da", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_878b7574c72845528abe04f2316a255c", "object": "Rate", "created_at": - "2024-01-19T21:40:58Z", "updated_at": "2024-01-19T21:40:58Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", - "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_4247b1c0069e44ca9562013f148896da", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_a370ea5586c8487b995e0c5e0eea92ae", "object": "Rate", "created_at": - "2024-01-19T21:40:58Z", "updated_at": "2024-01-19T21:40:58Z", "mode": "test", - "service": "Priority", "carrier": "USPS", "rate": "6.95", "currency": "USD", - "retail_rate": "10.20", "retail_currency": "USD", "list_rate": "8.24", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": - "shp_4247b1c0069e44ca9562013f148896da", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_6e3fba44b71311ee96afac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:40:57+00:00", "updated_at": "2024-01-19T21:40:57+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_6e41e4a5b71311ee97ceac1f6bc539ae", "object": "Address", "created_at": - "2024-01-19T21:40:57+00:00", "updated_at": "2024-01-19T21:40:57+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_6e3fba44b71311ee96afac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:40:57+00:00", "updated_at": - "2024-01-19T21:40:57+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_4247b1c0069e44ca9562013f148896da", "object": "Shipment"}], "rates": - [{"id": "rate_a0ccacd39a7d477f8bb62010398efd61", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "GroundAdvantage", "carrier": - "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_4247b1c0069e44ca9562013f148896da", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_5a9f414cda3946248ebbfa1d5df9f9e8", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "First", "carrier": "USPS", "rate": "4.81", "currency": "USD", - "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_4247b1c0069e44ca9562013f148896da", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_f46e6837bc104d58b1b36d247664204a", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "ParcelSelect", "carrier": - "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_4247b1c0069e44ca9562013f148896da", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_878b7574c72845528abe04f2316a255c", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", - "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_4247b1c0069e44ca9562013f148896da", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_a370ea5586c8487b995e0c5e0eea92ae", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "Priority", "carrier": - "USPS", "rate": "6.95", "currency": "USD", "retail_rate": "10.20", "retail_currency": - "USD", "list_rate": "8.24", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 2, "shipment_id": "shp_4247b1c0069e44ca9562013f148896da", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], "id": "order_c9ac9440c9b14226baf7e2de4e9b43b8", - "object": "Order"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '12214' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/orders/order_c9ac9440c9b14226baf7e2de4e9b43b8 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaec69e78b9ebf000cd96c - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.888221' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"carrier": "USPS", "service": "First"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '39' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/orders/order_c9ac9440c9b14226baf7e2de4e9b43b8/buy - response: - body: - string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": - "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", - "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", - "message": "Unauthorized. Please check credentials and try again"}, {"carrier": - "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": - "rate_error", "message": "Unauthorized. Please check credentials and try again"}, - {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "created_at": "2024-01-19T21:40:57Z", "updated_at": "2024-01-19T21:40:58Z", - "customs_info": null, "from_address": {"id": "adr_6e41e4a5b71311ee97ceac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:40:57+00:00", "updated_at": - "2024-01-19T21:40:57+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "to_address": {"id": "adr_6e3fba44b71311ee96afac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:40:57+00:00", "updated_at": "2024-01-19T21:40:59+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "buyer_address": {"id": "adr_6e3fba44b71311ee96afac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:40:57+00:00", "updated_at": "2024-01-19T21:40:59+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "return_address": {"id": "adr_6e41e4a5b71311ee97ceac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:40:57+00:00", "updated_at": "2024-01-19T21:40:57+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T21:40:57Z", - "is_return": false, "messages": [], "mode": "test", "options": {"currency": - "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, - "status": "unknown", "tracking_code": "9400100207552010707617", "updated_at": - "2024-01-19T21:40:59Z", "batch_id": null, "batch_status": null, "batch_message": - null, "customs_info": null, "from_address": {"id": "adr_6e41e4a5b71311ee97ceac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:40:57+00:00", "updated_at": - "2024-01-19T21:40:57+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": "order_c9ac9440c9b14226baf7e2de4e9b43b8", "parcel": - {"id": "prcl_fa3d9b3650e6497a96aaa24aae987560", "object": "Parcel", "created_at": - "2024-01-19T21:40:57Z", "updated_at": "2024-01-19T21:40:57Z", "length": null, - "width": null, "height": null, "predefined_package": null, "weight": 10.2, - "mode": "test"}, "postage_label": {"object": "PostageLabel", "id": "pl_0fc65726a88e422c8dd01e6b33a7d89d", - "created_at": "2024-01-19T21:40:59Z", "updated_at": "2024-01-19T21:40:59Z", - "date_advance": 0, "integrated_form": "none", "label_date": "2024-01-19T21:40:59Z", - "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": - "image/png", "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8e7c19abb9fdd42719607060930ad4eaf.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_a0ccacd39a7d477f8bb62010398efd61", "object": - "Rate", "created_at": "2024-01-19T21:40:58Z", "updated_at": "2024-01-19T21:40:58Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", - "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": - "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_4247b1c0069e44ca9562013f148896da", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_5a9f414cda3946248ebbfa1d5df9f9e8", - "object": "Rate", "created_at": "2024-01-19T21:40:58Z", "updated_at": "2024-01-19T21:40:58Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_4247b1c0069e44ca9562013f148896da", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_f46e6837bc104d58b1b36d247664204a", "object": "Rate", "created_at": - "2024-01-19T21:40:58Z", "updated_at": "2024-01-19T21:40:58Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_4247b1c0069e44ca9562013f148896da", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_878b7574c72845528abe04f2316a255c", "object": "Rate", "created_at": - "2024-01-19T21:40:58Z", "updated_at": "2024-01-19T21:40:58Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", - "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_4247b1c0069e44ca9562013f148896da", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_a370ea5586c8487b995e0c5e0eea92ae", "object": "Rate", "created_at": - "2024-01-19T21:40:58Z", "updated_at": "2024-01-19T21:40:58Z", "mode": "test", - "service": "Priority", "carrier": "USPS", "rate": "6.95", "currency": "USD", - "retail_rate": "10.20", "retail_currency": "USD", "list_rate": "8.24", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": - "shp_4247b1c0069e44ca9562013f148896da", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_5a9f414cda3946248ebbfa1d5df9f9e8", - "object": "Rate", "created_at": "2024-01-19T21:40:59Z", "updated_at": "2024-01-19T21:40:59Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_4247b1c0069e44ca9562013f148896da", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - "tracker": {"id": "trk_96c00f083f8b402cb0d735b68cf121bc", "object": "Tracker", - "mode": "test", "tracking_code": "9400100207552010707617", "status": "unknown", - "status_detail": "unknown", "created_at": "2024-01-19T21:41:00Z", "updated_at": - "2024-01-19T21:41:00Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_4247b1c0069e44ca9562013f148896da", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzk2YzAwZjA4M2Y4YjQwMmNiMGQ3MzViNjhjZjEyMWJj"}, - "to_address": {"id": "adr_6e3fba44b71311ee96afac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:40:57+00:00", "updated_at": "2024-01-19T21:40:59+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_6e41e4a5b71311ee97ceac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:40:57+00:00", "updated_at": - "2024-01-19T21:40:57+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_6e3fba44b71311ee96afac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:40:57+00:00", "updated_at": "2024-01-19T21:40:59+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "4.81000", "charged": true, "refunded": false}], "id": "shp_4247b1c0069e44ca9562013f148896da", - "object": "Shipment"}], "rates": [{"id": "rate_a0ccacd39a7d477f8bb62010398efd61", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_4247b1c0069e44ca9562013f148896da", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_5a9f414cda3946248ebbfa1d5df9f9e8", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "First", "carrier": "USPS", - "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_4247b1c0069e44ca9562013f148896da", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f46e6837bc104d58b1b36d247664204a", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_4247b1c0069e44ca9562013f148896da", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_878b7574c72845528abe04f2316a255c", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "Express", "carrier": - "USPS", "rate": "31.25", "currency": "USD", "retail_rate": "35.80", "retail_currency": - "USD", "list_rate": "31.25", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - false, "est_delivery_days": null, "shipment_id": "shp_4247b1c0069e44ca9562013f148896da", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_a370ea5586c8487b995e0c5e0eea92ae", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "Priority", "carrier": "USPS", "rate": "6.95", "currency": "USD", - "retail_rate": "10.20", "retail_currency": "USD", "list_rate": "8.24", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": - "shp_4247b1c0069e44ca9562013f148896da", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "id": "order_c9ac9440c9b14226baf7e2de4e9b43b8", "object": "Order"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '13704' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaec6be78b9ec0000cda43 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.076673' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"order": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 N - Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "shipments": [{"parcel": {"weight": - "10.2"}}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '491' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/orders - response: - body: - string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": - "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", - "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", - "message": "Unauthorized. Please check credentials and try again"}, {"carrier": - "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": - "rate_error", "message": "Unauthorized. Please check credentials and try again"}, - {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "created_at": "2024-01-19T21:43:26Z", "updated_at": "2024-01-19T21:43:26Z", - "customs_info": null, "from_address": {"id": "adr_c6d8eb4fb71311eeb4e93cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:43:26+00:00", "updated_at": - "2024-01-19T21:43:26+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "to_address": {"id": "adr_c6d73225b71311eeb75bac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:43:26+00:00", "updated_at": "2024-01-19T21:43:26+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "buyer_address": {"id": "adr_c6d73225b71311eeb75bac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:43:26+00:00", "updated_at": - "2024-01-19T21:43:26+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "return_address": {"id": - "adr_c6d8eb4fb71311eeb4e93cecef1b359e", "object": "Address", "created_at": - "2024-01-19T21:43:26+00:00", "updated_at": "2024-01-19T21:43:26+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T21:43:26Z", - "is_return": false, "messages": [{"carrier": "DhlEcs", "carrier_account_id": - "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_b1a0a1bc45844159812e0224d53948ea", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_99007e1aeb66421faf82676f1199481e", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_0d64fd488c1444cf9bc16f858703e28f", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_c3cbbd21bc97400bbbaed6d030909476", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}], "mode": "test", "options": {"currency": - "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, - "status": "unknown", "tracking_code": null, "updated_at": "2024-01-19T21:43:26Z", - "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": - null, "from_address": {"id": "adr_c6d8eb4fb71311eeb4e93cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:43:26+00:00", "updated_at": "2024-01-19T21:43:26+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": "order_49bded523b3c4f61a3802e7fddffc605", - "parcel": {"id": "prcl_9efb5813b8b54e649a7cc17a19d9e02a", "object": "Parcel", - "created_at": "2024-01-19T21:43:26Z", "updated_at": "2024-01-19T21:43:26Z", - "length": null, "width": null, "height": null, "predefined_package": null, - "weight": 10.2, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_f2f18e2650a24db08d25e37c694b044b", - "object": "Rate", "created_at": "2024-01-19T21:43:26Z", "updated_at": "2024-01-19T21:43:26Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "31.25", - "currency": "USD", "retail_rate": "35.80", "retail_currency": "USD", "list_rate": - "31.25", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_41b1192749024b85ac1eb9a7917c1630", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_87aef48b8d6f47c2932eb4d90230a474", - "object": "Rate", "created_at": "2024-01-19T21:43:26Z", "updated_at": "2024-01-19T21:43:26Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", - "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": - "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_41b1192749024b85ac1eb9a7917c1630", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_26856d5bd4bc40c2b60f48b0ae3fee85", - "object": "Rate", "created_at": "2024-01-19T21:43:26Z", "updated_at": "2024-01-19T21:43:26Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", - "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": - "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_41b1192749024b85ac1eb9a7917c1630", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f7c1f0a86f374c4bb06cfd818d5a09e0", - "object": "Rate", "created_at": "2024-01-19T21:43:26Z", "updated_at": "2024-01-19T21:43:26Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_41b1192749024b85ac1eb9a7917c1630", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_efcba4100d5e4fe488daf731ef2925af", "object": "Rate", "created_at": - "2024-01-19T21:43:26Z", "updated_at": "2024-01-19T21:43:26Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_41b1192749024b85ac1eb9a7917c1630", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_c6d73225b71311eeb75bac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:43:26+00:00", "updated_at": "2024-01-19T21:43:26+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_c6d8eb4fb71311eeb4e93cecef1b359e", "object": "Address", "created_at": - "2024-01-19T21:43:26+00:00", "updated_at": "2024-01-19T21:43:26+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_c6d73225b71311eeb75bac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:43:26+00:00", "updated_at": - "2024-01-19T21:43:26+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_41b1192749024b85ac1eb9a7917c1630", "object": "Shipment"}], "rates": - [{"id": "rate_f2f18e2650a24db08d25e37c694b044b", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "Express", "carrier": - "USPS", "rate": "31.25", "currency": "USD", "retail_rate": "35.80", "retail_currency": - "USD", "list_rate": "31.25", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - false, "est_delivery_days": null, "shipment_id": "shp_41b1192749024b85ac1eb9a7917c1630", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_87aef48b8d6f47c2932eb4d90230a474", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "Priority", "carrier": "USPS", "rate": "6.95", "currency": "USD", - "retail_rate": "10.20", "retail_currency": "USD", "list_rate": "8.24", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": - "shp_41b1192749024b85ac1eb9a7917c1630", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_26856d5bd4bc40c2b60f48b0ae3fee85", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "GroundAdvantage", "carrier": - "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_41b1192749024b85ac1eb9a7917c1630", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f7c1f0a86f374c4bb06cfd818d5a09e0", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "First", "carrier": "USPS", "rate": "4.81", "currency": "USD", - "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_41b1192749024b85ac1eb9a7917c1630", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_efcba4100d5e4fe488daf731ef2925af", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "ParcelSelect", "carrier": - "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_41b1192749024b85ac1eb9a7917c1630", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], "id": "order_49bded523b3c4f61a3802e7fddffc605", - "object": "Order"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '12214' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/orders/order_49bded523b3c4f61a3802e7fddffc605 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaecfee78ba3eb000d3722 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.672557' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"carrier": "USPS", "service": "First"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '39' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/orders/order_49bded523b3c4f61a3802e7fddffc605/buy - response: - body: - string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": - "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", - "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", - "message": "Unauthorized. Please check credentials and try again"}, {"carrier": - "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": - "rate_error", "message": "Unauthorized. Please check credentials and try again"}, - {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "created_at": "2024-01-19T21:43:26Z", "updated_at": "2024-01-19T21:43:26Z", - "customs_info": null, "from_address": {"id": "adr_c6d8eb4fb71311eeb4e93cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:43:26+00:00", "updated_at": - "2024-01-19T21:43:26+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "to_address": {"id": "adr_c6d73225b71311eeb75bac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:43:26+00:00", "updated_at": "2024-01-19T21:43:27+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "buyer_address": {"id": "adr_c6d73225b71311eeb75bac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:43:26+00:00", "updated_at": "2024-01-19T21:43:27+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "return_address": {"id": "adr_c6d8eb4fb71311eeb4e93cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:43:26+00:00", "updated_at": "2024-01-19T21:43:26+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T21:43:26Z", - "is_return": false, "messages": [], "mode": "test", "options": {"currency": - "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, - "status": "unknown", "tracking_code": "9400100207552010707990", "updated_at": - "2024-01-19T21:43:27Z", "batch_id": null, "batch_status": null, "batch_message": - null, "customs_info": null, "from_address": {"id": "adr_c6d8eb4fb71311eeb4e93cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:43:26+00:00", "updated_at": - "2024-01-19T21:43:26+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": "order_49bded523b3c4f61a3802e7fddffc605", "parcel": - {"id": "prcl_9efb5813b8b54e649a7cc17a19d9e02a", "object": "Parcel", "created_at": - "2024-01-19T21:43:26Z", "updated_at": "2024-01-19T21:43:26Z", "length": null, - "width": null, "height": null, "predefined_package": null, "weight": 10.2, - "mode": "test"}, "postage_label": {"object": "PostageLabel", "id": "pl_3deaf1e95ab541d58886da669b19d0ae", - "created_at": "2024-01-19T21:43:27Z", "updated_at": "2024-01-19T21:43:27Z", - "date_advance": 0, "integrated_form": "none", "label_date": "2024-01-19T21:43:27Z", - "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": - "image/png", "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e82aa278fba88d47f78a8b92dd169a1cf2.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_f2f18e2650a24db08d25e37c694b044b", "object": - "Rate", "created_at": "2024-01-19T21:43:26Z", "updated_at": "2024-01-19T21:43:26Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "31.25", - "currency": "USD", "retail_rate": "35.80", "retail_currency": "USD", "list_rate": - "31.25", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_41b1192749024b85ac1eb9a7917c1630", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_87aef48b8d6f47c2932eb4d90230a474", - "object": "Rate", "created_at": "2024-01-19T21:43:26Z", "updated_at": "2024-01-19T21:43:26Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", - "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": - "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_41b1192749024b85ac1eb9a7917c1630", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_26856d5bd4bc40c2b60f48b0ae3fee85", - "object": "Rate", "created_at": "2024-01-19T21:43:26Z", "updated_at": "2024-01-19T21:43:26Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", - "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": - "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_41b1192749024b85ac1eb9a7917c1630", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f7c1f0a86f374c4bb06cfd818d5a09e0", - "object": "Rate", "created_at": "2024-01-19T21:43:26Z", "updated_at": "2024-01-19T21:43:26Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_41b1192749024b85ac1eb9a7917c1630", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_efcba4100d5e4fe488daf731ef2925af", "object": "Rate", "created_at": - "2024-01-19T21:43:26Z", "updated_at": "2024-01-19T21:43:26Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_41b1192749024b85ac1eb9a7917c1630", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_f7c1f0a86f374c4bb06cfd818d5a09e0", - "object": "Rate", "created_at": "2024-01-19T21:43:27Z", "updated_at": "2024-01-19T21:43:27Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_41b1192749024b85ac1eb9a7917c1630", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - "tracker": {"id": "trk_3d89ba6cda194655b7ae98118ed0b6b1", "object": "Tracker", - "mode": "test", "tracking_code": "9400100207552010707990", "status": "unknown", - "status_detail": "unknown", "created_at": "2024-01-19T21:43:28Z", "updated_at": - "2024-01-19T21:43:28Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_41b1192749024b85ac1eb9a7917c1630", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzNkODliYTZjZGExOTQ2NTViN2FlOTgxMThlZDBiNmIx"}, - "to_address": {"id": "adr_c6d73225b71311eeb75bac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:43:26+00:00", "updated_at": "2024-01-19T21:43:27+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_c6d8eb4fb71311eeb4e93cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:43:26+00:00", "updated_at": - "2024-01-19T21:43:26+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_c6d73225b71311eeb75bac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:43:26+00:00", "updated_at": "2024-01-19T21:43:27+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "4.81000", "charged": true, "refunded": false}], "id": "shp_41b1192749024b85ac1eb9a7917c1630", - "object": "Shipment"}], "rates": [{"id": "rate_f2f18e2650a24db08d25e37c694b044b", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", - "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_41b1192749024b85ac1eb9a7917c1630", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_87aef48b8d6f47c2932eb4d90230a474", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "Priority", "carrier": - "USPS", "rate": "6.95", "currency": "USD", "retail_rate": "10.20", "retail_currency": - "USD", "list_rate": "8.24", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 2, "shipment_id": "shp_41b1192749024b85ac1eb9a7917c1630", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_26856d5bd4bc40c2b60f48b0ae3fee85", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_41b1192749024b85ac1eb9a7917c1630", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_f7c1f0a86f374c4bb06cfd818d5a09e0", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "First", "carrier": "USPS", - "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_41b1192749024b85ac1eb9a7917c1630", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_efcba4100d5e4fe488daf731ef2925af", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_41b1192749024b85ac1eb9a7917c1630", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "id": "order_49bded523b3c4f61a3802e7fddffc605", "object": "Order"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '13704' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaecffe78ba3ed000d37ad - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.861396' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"order": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 N - Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "shipments": [{"parcel": {"weight": - "10.2"}}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '491' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/orders - response: - body: - string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": - "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", - "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", - "message": "Unauthorized. Please check credentials and try again"}, {"carrier": - "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", "type": - "rate_error", "message": "Unauthorized. Please check credentials and try again"}, - {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "created_at": "2024-01-19T21:47:18Z", "updated_at": "2024-01-19T21:47:18Z", - "customs_info": null, "from_address": {"id": "adr_50fad79fb71411eea1303cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:47:18+00:00", "updated_at": - "2024-01-19T21:47:18+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "to_address": {"id": "adr_50f74371b71411eea348ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:47:18+00:00", "updated_at": "2024-01-19T21:47:18+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "buyer_address": {"id": "adr_50f74371b71411eea348ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:47:18+00:00", "updated_at": - "2024-01-19T21:47:18+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "return_address": {"id": - "adr_50fad79fb71411eea1303cecef1b359e", "object": "Address", "created_at": - "2024-01-19T21:47:18+00:00", "updated_at": "2024-01-19T21:47:18+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T21:47:18Z", - "is_return": false, "messages": [{"carrier": "DhlEcs", "carrier_account_id": - "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_0d64fd488c1444cf9bc16f858703e28f", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_99007e1aeb66421faf82676f1199481e", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_b1a0a1bc45844159812e0224d53948ea", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_c3cbbd21bc97400bbbaed6d030909476", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}], "mode": "test", "options": {"currency": - "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, - "status": "unknown", "tracking_code": null, "updated_at": "2024-01-19T21:47:18Z", - "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": - null, "from_address": {"id": "adr_50fad79fb71411eea1303cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:47:18+00:00", "updated_at": "2024-01-19T21:47:18+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": "order_36b6e4f0af8b4d36b576acc56a359998", - "parcel": {"id": "prcl_3bfe0567b0654b26b88110341ca90c54", "object": "Parcel", - "created_at": "2024-01-19T21:47:18Z", "updated_at": "2024-01-19T21:47:18Z", - "length": null, "width": null, "height": null, "predefined_package": null, - "weight": 10.2, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_20e89b1ce44f4aa49b9165b16a1c564b", - "object": "Rate", "created_at": "2024-01-19T21:47:18Z", "updated_at": "2024-01-19T21:47:18Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "31.25", - "currency": "USD", "retail_rate": "35.80", "retail_currency": "USD", "list_rate": - "31.25", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_8138d87fccd5471da8131ca9afc00bd3", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_3454c5af83ab471cb2e3e3a477343cb8", - "object": "Rate", "created_at": "2024-01-19T21:47:18Z", "updated_at": "2024-01-19T21:47:18Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", - "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": - "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_8138d87fccd5471da8131ca9afc00bd3", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c9ff32ed65664f2f8b4fe2d39cbb04a8", - "object": "Rate", "created_at": "2024-01-19T21:47:18Z", "updated_at": "2024-01-19T21:47:18Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", - "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": - "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_8138d87fccd5471da8131ca9afc00bd3", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_af13a5d1c3884bba995ca9b0bc61e1f1", - "object": "Rate", "created_at": "2024-01-19T21:47:18Z", "updated_at": "2024-01-19T21:47:18Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_8138d87fccd5471da8131ca9afc00bd3", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_31f5c6c7c8634bfe8793d3f443c5bff3", "object": "Rate", "created_at": - "2024-01-19T21:47:18Z", "updated_at": "2024-01-19T21:47:18Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_8138d87fccd5471da8131ca9afc00bd3", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_50f74371b71411eea348ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:47:18+00:00", "updated_at": "2024-01-19T21:47:18+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_50fad79fb71411eea1303cecef1b359e", "object": "Address", "created_at": - "2024-01-19T21:47:18+00:00", "updated_at": "2024-01-19T21:47:18+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_50f74371b71411eea348ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:47:18+00:00", "updated_at": - "2024-01-19T21:47:18+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_8138d87fccd5471da8131ca9afc00bd3", "object": "Shipment"}], "rates": - [{"id": "rate_20e89b1ce44f4aa49b9165b16a1c564b", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "Express", "carrier": - "USPS", "rate": "31.25", "currency": "USD", "retail_rate": "35.80", "retail_currency": - "USD", "list_rate": "31.25", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - false, "est_delivery_days": null, "shipment_id": "shp_8138d87fccd5471da8131ca9afc00bd3", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_3454c5af83ab471cb2e3e3a477343cb8", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "Priority", "carrier": "USPS", "rate": "6.95", "currency": "USD", - "retail_rate": "10.20", "retail_currency": "USD", "list_rate": "8.24", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": - "shp_8138d87fccd5471da8131ca9afc00bd3", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_c9ff32ed65664f2f8b4fe2d39cbb04a8", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "GroundAdvantage", "carrier": - "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_8138d87fccd5471da8131ca9afc00bd3", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_af13a5d1c3884bba995ca9b0bc61e1f1", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "First", "carrier": "USPS", "rate": "4.81", "currency": "USD", - "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_8138d87fccd5471da8131ca9afc00bd3", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_31f5c6c7c8634bfe8793d3f443c5bff3", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "ParcelSelect", "carrier": - "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_8138d87fccd5471da8131ca9afc00bd3", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], "id": "order_36b6e4f0af8b4d36b576acc56a359998", - "object": "Order"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '12214' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/orders/order_36b6e4f0af8b4d36b576acc56a359998 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdac65aaede6e78bac8b00112ca4 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.890396' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"carrier": "USPS", "service": "First"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '39' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/orders/order_36b6e4f0af8b4d36b576acc56a359998/buy - response: - body: - string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": - "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", - "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", - "message": "Unauthorized. Please check credentials and try again"}, {"carrier": - "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", "type": - "rate_error", "message": "Unauthorized. Please check credentials and try again"}, - {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "created_at": "2024-01-19T21:47:18Z", "updated_at": "2024-01-19T21:47:18Z", - "customs_info": null, "from_address": {"id": "adr_50fad79fb71411eea1303cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:47:18+00:00", "updated_at": - "2024-01-19T21:47:18+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "to_address": {"id": "adr_50f74371b71411eea348ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:47:18+00:00", "updated_at": "2024-01-19T21:47:19+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "buyer_address": {"id": "adr_50f74371b71411eea348ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:47:18+00:00", "updated_at": "2024-01-19T21:47:19+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "return_address": {"id": "adr_50fad79fb71411eea1303cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:47:18+00:00", "updated_at": "2024-01-19T21:47:18+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T21:47:18Z", - "is_return": false, "messages": [], "mode": "test", "options": {"currency": - "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, - "status": "unknown", "tracking_code": "9400100207552010708416", "updated_at": - "2024-01-19T21:47:19Z", "batch_id": null, "batch_status": null, "batch_message": - null, "customs_info": null, "from_address": {"id": "adr_50fad79fb71411eea1303cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:47:18+00:00", "updated_at": - "2024-01-19T21:47:18+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": "order_36b6e4f0af8b4d36b576acc56a359998", "parcel": - {"id": "prcl_3bfe0567b0654b26b88110341ca90c54", "object": "Parcel", "created_at": - "2024-01-19T21:47:18Z", "updated_at": "2024-01-19T21:47:18Z", "length": null, - "width": null, "height": null, "predefined_package": null, "weight": 10.2, - "mode": "test"}, "postage_label": {"object": "PostageLabel", "id": "pl_0e931056be4241cdbe30b6813c7ec708", - "created_at": "2024-01-19T21:47:19Z", "updated_at": "2024-01-19T21:47:19Z", - "date_advance": 0, "integrated_form": "none", "label_date": "2024-01-19T21:47:19Z", - "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": - "image/png", "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e85ab76349a76f4fecae42de2e75258442.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_20e89b1ce44f4aa49b9165b16a1c564b", "object": - "Rate", "created_at": "2024-01-19T21:47:18Z", "updated_at": "2024-01-19T21:47:18Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "31.25", - "currency": "USD", "retail_rate": "35.80", "retail_currency": "USD", "list_rate": - "31.25", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_8138d87fccd5471da8131ca9afc00bd3", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_3454c5af83ab471cb2e3e3a477343cb8", - "object": "Rate", "created_at": "2024-01-19T21:47:18Z", "updated_at": "2024-01-19T21:47:18Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", - "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": - "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_8138d87fccd5471da8131ca9afc00bd3", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c9ff32ed65664f2f8b4fe2d39cbb04a8", - "object": "Rate", "created_at": "2024-01-19T21:47:18Z", "updated_at": "2024-01-19T21:47:18Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", - "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": - "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_8138d87fccd5471da8131ca9afc00bd3", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_af13a5d1c3884bba995ca9b0bc61e1f1", - "object": "Rate", "created_at": "2024-01-19T21:47:18Z", "updated_at": "2024-01-19T21:47:18Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_8138d87fccd5471da8131ca9afc00bd3", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_31f5c6c7c8634bfe8793d3f443c5bff3", "object": "Rate", "created_at": - "2024-01-19T21:47:18Z", "updated_at": "2024-01-19T21:47:18Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_8138d87fccd5471da8131ca9afc00bd3", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_af13a5d1c3884bba995ca9b0bc61e1f1", - "object": "Rate", "created_at": "2024-01-19T21:47:19Z", "updated_at": "2024-01-19T21:47:19Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_8138d87fccd5471da8131ca9afc00bd3", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - "tracker": {"id": "trk_040ee9699e8b41479cde7b365a2f0702", "object": "Tracker", - "mode": "test", "tracking_code": "9400100207552010708416", "status": "unknown", - "status_detail": "unknown", "created_at": "2024-01-19T21:47:20Z", "updated_at": - "2024-01-19T21:47:20Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_8138d87fccd5471da8131ca9afc00bd3", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzA0MGVlOTY5OWU4YjQxNDc5Y2RlN2IzNjVhMmYwNzAy"}, - "to_address": {"id": "adr_50f74371b71411eea348ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:47:18+00:00", "updated_at": "2024-01-19T21:47:19+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_50fad79fb71411eea1303cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:47:18+00:00", "updated_at": - "2024-01-19T21:47:18+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_50f74371b71411eea348ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:47:18+00:00", "updated_at": "2024-01-19T21:47:19+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "4.81000", "charged": true, "refunded": false}], "id": "shp_8138d87fccd5471da8131ca9afc00bd3", - "object": "Shipment"}], "rates": [{"id": "rate_20e89b1ce44f4aa49b9165b16a1c564b", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", - "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_8138d87fccd5471da8131ca9afc00bd3", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_3454c5af83ab471cb2e3e3a477343cb8", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "Priority", "carrier": - "USPS", "rate": "6.95", "currency": "USD", "retail_rate": "10.20", "retail_currency": - "USD", "list_rate": "8.24", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 2, "shipment_id": "shp_8138d87fccd5471da8131ca9afc00bd3", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c9ff32ed65664f2f8b4fe2d39cbb04a8", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_8138d87fccd5471da8131ca9afc00bd3", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_af13a5d1c3884bba995ca9b0bc61e1f1", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "First", "carrier": "USPS", - "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_8138d87fccd5471da8131ca9afc00bd3", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_31f5c6c7c8634bfe8793d3f443c5bff3", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_8138d87fccd5471da8131ca9afc00bd3", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "id": "order_36b6e4f0af8b4d36b576acc56a359998", "object": "Order"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '13704' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda965aaede7e78bac8c00112d6d - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.889607' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"order": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 N - Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "shipments": [{"parcel": {"weight": - "10.2"}}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '491' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/orders - response: - body: - string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": - "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", - "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", - "message": "Unauthorized. Please check credentials and try again"}, {"carrier": - "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", "type": - "rate_error", "message": "Unauthorized. Please check credentials and try again"}, - {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "created_at": "2024-01-19T21:49:10Z", "updated_at": "2024-01-19T21:49:11Z", - "customs_info": null, "from_address": {"id": "adr_93f86a0bb71411eeb6023cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:49:10+00:00", "updated_at": - "2024-01-19T21:49:10+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "to_address": {"id": "adr_93f6c663b71411eeb92eac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:49:10+00:00", "updated_at": "2024-01-19T21:49:10+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "buyer_address": {"id": "adr_93f6c663b71411eeb92eac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:49:10+00:00", "updated_at": - "2024-01-19T21:49:10+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "return_address": {"id": - "adr_93f86a0bb71411eeb6023cecef1b359e", "object": "Address", "created_at": - "2024-01-19T21:49:10+00:00", "updated_at": "2024-01-19T21:49:10+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T21:49:10Z", - "is_return": false, "messages": [{"carrier": "DhlEcs", "carrier_account_id": - "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_b1a0a1bc45844159812e0224d53948ea", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_c3cbbd21bc97400bbbaed6d030909476", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_0d64fd488c1444cf9bc16f858703e28f", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_99007e1aeb66421faf82676f1199481e", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}], "mode": "test", "options": {"currency": - "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, - "status": "unknown", "tracking_code": null, "updated_at": "2024-01-19T21:49:10Z", - "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": - null, "from_address": {"id": "adr_93f86a0bb71411eeb6023cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:49:10+00:00", "updated_at": "2024-01-19T21:49:10+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": "order_69862c6c7cf34be1bb943fd776ac2ac6", - "parcel": {"id": "prcl_014ca01de73647a7b56f6ca9fa282dac", "object": "Parcel", - "created_at": "2024-01-19T21:49:10Z", "updated_at": "2024-01-19T21:49:10Z", - "length": null, "width": null, "height": null, "predefined_package": null, - "weight": 10.2, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_fa781b4266dc4c2b83e56e50899dea7f", - "object": "Rate", "created_at": "2024-01-19T21:49:11Z", "updated_at": "2024-01-19T21:49:11Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", - "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": - "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_69e5899abf5647eba870d2e4d1bf5c43", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_2534c459092e4fe2814783253faf49d8", - "object": "Rate", "created_at": "2024-01-19T21:49:11Z", "updated_at": "2024-01-19T21:49:11Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_69e5899abf5647eba870d2e4d1bf5c43", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_328a0c50195e4ef0a2893866a5c2022a", "object": "Rate", "created_at": - "2024-01-19T21:49:11Z", "updated_at": "2024-01-19T21:49:11Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_69e5899abf5647eba870d2e4d1bf5c43", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_f978e52fbfd5469ea3ce986cab7389e8", "object": "Rate", "created_at": - "2024-01-19T21:49:11Z", "updated_at": "2024-01-19T21:49:11Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", - "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_69e5899abf5647eba870d2e4d1bf5c43", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_4ad15e5c456e4b569f28220b550d5980", "object": "Rate", "created_at": - "2024-01-19T21:49:11Z", "updated_at": "2024-01-19T21:49:11Z", "mode": "test", - "service": "Priority", "carrier": "USPS", "rate": "6.95", "currency": "USD", - "retail_rate": "10.20", "retail_currency": "USD", "list_rate": "8.24", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": - "shp_69e5899abf5647eba870d2e4d1bf5c43", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_93f6c663b71411eeb92eac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:49:10+00:00", "updated_at": "2024-01-19T21:49:10+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_93f86a0bb71411eeb6023cecef1b359e", "object": "Address", "created_at": - "2024-01-19T21:49:10+00:00", "updated_at": "2024-01-19T21:49:10+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_93f6c663b71411eeb92eac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:49:10+00:00", "updated_at": - "2024-01-19T21:49:10+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_69e5899abf5647eba870d2e4d1bf5c43", "object": "Shipment"}], "rates": - [{"id": "rate_fa781b4266dc4c2b83e56e50899dea7f", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "GroundAdvantage", "carrier": - "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_69e5899abf5647eba870d2e4d1bf5c43", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_2534c459092e4fe2814783253faf49d8", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "First", "carrier": "USPS", "rate": "4.81", "currency": "USD", - "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_69e5899abf5647eba870d2e4d1bf5c43", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_328a0c50195e4ef0a2893866a5c2022a", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "ParcelSelect", "carrier": - "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_69e5899abf5647eba870d2e4d1bf5c43", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f978e52fbfd5469ea3ce986cab7389e8", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", - "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_69e5899abf5647eba870d2e4d1bf5c43", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_4ad15e5c456e4b569f28220b550d5980", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "Priority", "carrier": - "USPS", "rate": "6.95", "currency": "USD", "retail_rate": "10.20", "retail_currency": - "USD", "list_rate": "8.24", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 2, "shipment_id": "shp_69e5899abf5647eba870d2e4d1bf5c43", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], "id": "order_69862c6c7cf34be1bb943fd776ac2ac6", - "object": "Order"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '12214' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/orders/order_69862c6c7cf34be1bb943fd776ac2ac6 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdad65aaee56e78bb4ae00117003 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.891973' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"carrier": "USPS", "service": "First"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '39' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/orders/order_69862c6c7cf34be1bb943fd776ac2ac6/buy - response: - body: - string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": - "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", - "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", - "message": "Unauthorized. Please check credentials and try again"}, {"carrier": - "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", "type": - "rate_error", "message": "Unauthorized. Please check credentials and try again"}, - {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "created_at": "2024-01-19T21:49:10Z", "updated_at": "2024-01-19T21:49:11Z", - "customs_info": null, "from_address": {"id": "adr_93f86a0bb71411eeb6023cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:49:10+00:00", "updated_at": - "2024-01-19T21:49:10+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "to_address": {"id": "adr_93f6c663b71411eeb92eac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:49:10+00:00", "updated_at": "2024-01-19T21:49:11+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "buyer_address": {"id": "adr_93f6c663b71411eeb92eac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:49:10+00:00", "updated_at": "2024-01-19T21:49:11+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "return_address": {"id": "adr_93f86a0bb71411eeb6023cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:49:10+00:00", "updated_at": "2024-01-19T21:49:10+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T21:49:10Z", - "is_return": false, "messages": [], "mode": "test", "options": {"currency": - "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, - "status": "unknown", "tracking_code": "9400100207552010708911", "updated_at": - "2024-01-19T21:49:12Z", "batch_id": null, "batch_status": null, "batch_message": - null, "customs_info": null, "from_address": {"id": "adr_93f86a0bb71411eeb6023cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:49:10+00:00", "updated_at": - "2024-01-19T21:49:10+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": "order_69862c6c7cf34be1bb943fd776ac2ac6", "parcel": - {"id": "prcl_014ca01de73647a7b56f6ca9fa282dac", "object": "Parcel", "created_at": - "2024-01-19T21:49:10Z", "updated_at": "2024-01-19T21:49:10Z", "length": null, - "width": null, "height": null, "predefined_package": null, "weight": 10.2, - "mode": "test"}, "postage_label": {"object": "PostageLabel", "id": "pl_96b607b70f1c4f6aa6a253e9f7459062", - "created_at": "2024-01-19T21:49:12Z", "updated_at": "2024-01-19T21:49:12Z", - "date_advance": 0, "integrated_form": "none", "label_date": "2024-01-19T21:49:12Z", - "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": - "image/png", "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e83034b5fc2ea24819be59ef155a957513.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_fa781b4266dc4c2b83e56e50899dea7f", "object": - "Rate", "created_at": "2024-01-19T21:49:11Z", "updated_at": "2024-01-19T21:49:11Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", - "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": - "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_69e5899abf5647eba870d2e4d1bf5c43", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_2534c459092e4fe2814783253faf49d8", - "object": "Rate", "created_at": "2024-01-19T21:49:11Z", "updated_at": "2024-01-19T21:49:11Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_69e5899abf5647eba870d2e4d1bf5c43", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_328a0c50195e4ef0a2893866a5c2022a", "object": "Rate", "created_at": - "2024-01-19T21:49:11Z", "updated_at": "2024-01-19T21:49:11Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_69e5899abf5647eba870d2e4d1bf5c43", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_f978e52fbfd5469ea3ce986cab7389e8", "object": "Rate", "created_at": - "2024-01-19T21:49:11Z", "updated_at": "2024-01-19T21:49:11Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", - "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_69e5899abf5647eba870d2e4d1bf5c43", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_4ad15e5c456e4b569f28220b550d5980", "object": "Rate", "created_at": - "2024-01-19T21:49:11Z", "updated_at": "2024-01-19T21:49:11Z", "mode": "test", - "service": "Priority", "carrier": "USPS", "rate": "6.95", "currency": "USD", - "retail_rate": "10.20", "retail_currency": "USD", "list_rate": "8.24", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": - "shp_69e5899abf5647eba870d2e4d1bf5c43", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_2534c459092e4fe2814783253faf49d8", - "object": "Rate", "created_at": "2024-01-19T21:49:12Z", "updated_at": "2024-01-19T21:49:12Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_69e5899abf5647eba870d2e4d1bf5c43", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - "tracker": {"id": "trk_17de8d47fe954bde9650b95d6661f6a9", "object": "Tracker", - "mode": "test", "tracking_code": "9400100207552010708911", "status": "unknown", - "status_detail": "unknown", "created_at": "2024-01-19T21:49:12Z", "updated_at": - "2024-01-19T21:49:12Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_69e5899abf5647eba870d2e4d1bf5c43", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzE3ZGU4ZDQ3ZmU5NTRiZGU5NjUwYjk1ZDY2NjFmNmE5"}, - "to_address": {"id": "adr_93f6c663b71411eeb92eac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:49:10+00:00", "updated_at": "2024-01-19T21:49:11+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_93f86a0bb71411eeb6023cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:49:10+00:00", "updated_at": - "2024-01-19T21:49:10+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_93f6c663b71411eeb92eac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:49:10+00:00", "updated_at": "2024-01-19T21:49:11+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "4.81000", "charged": true, "refunded": false}], "id": "shp_69e5899abf5647eba870d2e4d1bf5c43", - "object": "Shipment"}], "rates": [{"id": "rate_fa781b4266dc4c2b83e56e50899dea7f", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_69e5899abf5647eba870d2e4d1bf5c43", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_2534c459092e4fe2814783253faf49d8", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "First", "carrier": "USPS", - "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_69e5899abf5647eba870d2e4d1bf5c43", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_328a0c50195e4ef0a2893866a5c2022a", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_69e5899abf5647eba870d2e4d1bf5c43", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_f978e52fbfd5469ea3ce986cab7389e8", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "Express", "carrier": - "USPS", "rate": "31.25", "currency": "USD", "retail_rate": "35.80", "retail_currency": - "USD", "list_rate": "31.25", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - false, "est_delivery_days": null, "shipment_id": "shp_69e5899abf5647eba870d2e4d1bf5c43", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4ad15e5c456e4b569f28220b550d5980", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "Priority", "carrier": "USPS", "rate": "6.95", "currency": "USD", - "retail_rate": "10.20", "retail_currency": "USD", "list_rate": "8.24", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": - "shp_69e5899abf5647eba870d2e4d1bf5c43", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "id": "order_69862c6c7cf34be1bb943fd776ac2ac6", "object": "Order"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '13704' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda765aaee57e78bb4af001170ba - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.987669' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"order": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 N - Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "shipments": [{"parcel": {"weight": - "10.2"}}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '491' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/orders - response: - body: - string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": - "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", - "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", - "message": "Unauthorized. Please check credentials and try again"}, {"carrier": - "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", "type": - "rate_error", "message": "Unauthorized. Please check credentials and try again"}, - {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "created_at": "2024-01-19T21:58:31Z", "updated_at": "2024-01-19T21:58:31Z", - "customs_info": null, "from_address": {"id": "adr_e23fe17eb71511eea9c2ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:58:31+00:00", "updated_at": - "2024-01-19T21:58:31+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "to_address": {"id": "adr_e23e177bb71511eea5ce3cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:58:31+00:00", "updated_at": "2024-01-19T21:58:31+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "buyer_address": {"id": "adr_e23e177bb71511eea5ce3cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:58:31+00:00", "updated_at": - "2024-01-19T21:58:31+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "return_address": {"id": - "adr_e23fe17eb71511eea9c2ac1f6bc539ae", "object": "Address", "created_at": - "2024-01-19T21:58:31+00:00", "updated_at": "2024-01-19T21:58:31+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T21:58:31Z", - "is_return": false, "messages": [{"carrier": "DhlEcs", "carrier_account_id": - "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_0d64fd488c1444cf9bc16f858703e28f", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_99007e1aeb66421faf82676f1199481e", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_b1a0a1bc45844159812e0224d53948ea", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_c3cbbd21bc97400bbbaed6d030909476", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}], "mode": "test", "options": {"currency": - "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, - "status": "unknown", "tracking_code": null, "updated_at": "2024-01-19T21:58:31Z", - "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": - null, "from_address": {"id": "adr_e23fe17eb71511eea9c2ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:58:31+00:00", "updated_at": "2024-01-19T21:58:31+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": "order_964fa6d16c4844ec91caebdef7a5fd95", - "parcel": {"id": "prcl_f33dc47d9d51491c851f56e6eb771cdf", "object": "Parcel", - "created_at": "2024-01-19T21:58:31Z", "updated_at": "2024-01-19T21:58:31Z", - "length": null, "width": null, "height": null, "predefined_package": null, - "weight": 10.2, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_9be259a8300142cfa3e7f13f4e1cc38e", - "object": "Rate", "created_at": "2024-01-19T21:58:31Z", "updated_at": "2024-01-19T21:58:31Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "31.25", - "currency": "USD", "retail_rate": "35.80", "retail_currency": "USD", "list_rate": - "31.25", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_f792e52526664b4ebca3fb234000fed5", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_1ff8d9b4e5ba4758ae230b7cf93cfc4e", - "object": "Rate", "created_at": "2024-01-19T21:58:31Z", "updated_at": "2024-01-19T21:58:31Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", - "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": - "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_f792e52526664b4ebca3fb234000fed5", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_e568b2b6df774c3eb3e0bb2727dc7bed", - "object": "Rate", "created_at": "2024-01-19T21:58:31Z", "updated_at": "2024-01-19T21:58:31Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", - "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": - "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_f792e52526664b4ebca3fb234000fed5", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_d22103863f6742e39824cb2c30301cdd", - "object": "Rate", "created_at": "2024-01-19T21:58:31Z", "updated_at": "2024-01-19T21:58:31Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_f792e52526664b4ebca3fb234000fed5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_2cd70271b57c4af690f831e1d32621c6", "object": "Rate", "created_at": - "2024-01-19T21:58:31Z", "updated_at": "2024-01-19T21:58:31Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_f792e52526664b4ebca3fb234000fed5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_e23e177bb71511eea5ce3cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:58:31+00:00", "updated_at": "2024-01-19T21:58:31+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_e23fe17eb71511eea9c2ac1f6bc539ae", "object": "Address", "created_at": - "2024-01-19T21:58:31+00:00", "updated_at": "2024-01-19T21:58:31+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_e23e177bb71511eea5ce3cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:58:31+00:00", "updated_at": - "2024-01-19T21:58:31+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_f792e52526664b4ebca3fb234000fed5", "object": "Shipment"}], "rates": - [{"id": "rate_9be259a8300142cfa3e7f13f4e1cc38e", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "Express", "carrier": - "USPS", "rate": "31.25", "currency": "USD", "retail_rate": "35.80", "retail_currency": - "USD", "list_rate": "31.25", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - false, "est_delivery_days": null, "shipment_id": "shp_f792e52526664b4ebca3fb234000fed5", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_1ff8d9b4e5ba4758ae230b7cf93cfc4e", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "Priority", "carrier": "USPS", "rate": "6.95", "currency": "USD", - "retail_rate": "10.20", "retail_currency": "USD", "list_rate": "8.24", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": - "shp_f792e52526664b4ebca3fb234000fed5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_e568b2b6df774c3eb3e0bb2727dc7bed", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "GroundAdvantage", "carrier": - "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_f792e52526664b4ebca3fb234000fed5", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_d22103863f6742e39824cb2c30301cdd", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "First", "carrier": "USPS", "rate": "4.81", "currency": "USD", - "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_f792e52526664b4ebca3fb234000fed5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_2cd70271b57c4af690f831e1d32621c6", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "ParcelSelect", "carrier": - "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_f792e52526664b4ebca3fb234000fed5", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], "id": "order_964fa6d16c4844ec91caebdef7a5fd95", - "object": "Order"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '12214' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/orders/order_964fa6d16c4844ec91caebdef7a5fd95 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaf087e798bf55000f7441 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.667719' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"carrier": "USPS", "service": "First"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '39' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/orders/order_964fa6d16c4844ec91caebdef7a5fd95/buy - response: - body: - string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": - "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", - "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", - "message": "Unauthorized. Please check credentials and try again"}, {"carrier": - "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", "type": - "rate_error", "message": "Unauthorized. Please check credentials and try again"}, - {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "created_at": "2024-01-19T21:58:31Z", "updated_at": "2024-01-19T21:58:31Z", - "customs_info": null, "from_address": {"id": "adr_e23fe17eb71511eea9c2ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:58:31+00:00", "updated_at": - "2024-01-19T21:58:31+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "to_address": {"id": "adr_e23e177bb71511eea5ce3cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:58:31+00:00", "updated_at": "2024-01-19T21:58:32+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "buyer_address": {"id": "adr_e23e177bb71511eea5ce3cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:58:31+00:00", "updated_at": "2024-01-19T21:58:32+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "return_address": {"id": "adr_e23fe17eb71511eea9c2ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:58:31+00:00", "updated_at": "2024-01-19T21:58:31+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T21:58:31Z", - "is_return": false, "messages": [], "mode": "test", "options": {"currency": - "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, - "status": "unknown", "tracking_code": "9400100207552010711416", "updated_at": - "2024-01-19T21:58:33Z", "batch_id": null, "batch_status": null, "batch_message": - null, "customs_info": null, "from_address": {"id": "adr_e23fe17eb71511eea9c2ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:58:31+00:00", "updated_at": - "2024-01-19T21:58:31+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": "order_964fa6d16c4844ec91caebdef7a5fd95", "parcel": - {"id": "prcl_f33dc47d9d51491c851f56e6eb771cdf", "object": "Parcel", "created_at": - "2024-01-19T21:58:31Z", "updated_at": "2024-01-19T21:58:31Z", "length": null, - "width": null, "height": null, "predefined_package": null, "weight": 10.2, - "mode": "test"}, "postage_label": {"object": "PostageLabel", "id": "pl_c2c2274d920a475eb1b5c0aae1740a95", - "created_at": "2024-01-19T21:58:32Z", "updated_at": "2024-01-19T21:58:32Z", - "date_advance": 0, "integrated_form": "none", "label_date": "2024-01-19T21:58:32Z", - "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": - "image/png", "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e809cd985173094d018c3350072f63389f.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_9be259a8300142cfa3e7f13f4e1cc38e", "object": - "Rate", "created_at": "2024-01-19T21:58:31Z", "updated_at": "2024-01-19T21:58:31Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "31.25", - "currency": "USD", "retail_rate": "35.80", "retail_currency": "USD", "list_rate": - "31.25", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_f792e52526664b4ebca3fb234000fed5", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_1ff8d9b4e5ba4758ae230b7cf93cfc4e", - "object": "Rate", "created_at": "2024-01-19T21:58:31Z", "updated_at": "2024-01-19T21:58:31Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", - "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": - "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_f792e52526664b4ebca3fb234000fed5", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_e568b2b6df774c3eb3e0bb2727dc7bed", - "object": "Rate", "created_at": "2024-01-19T21:58:31Z", "updated_at": "2024-01-19T21:58:31Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", - "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": - "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_f792e52526664b4ebca3fb234000fed5", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_d22103863f6742e39824cb2c30301cdd", - "object": "Rate", "created_at": "2024-01-19T21:58:31Z", "updated_at": "2024-01-19T21:58:31Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_f792e52526664b4ebca3fb234000fed5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_2cd70271b57c4af690f831e1d32621c6", "object": "Rate", "created_at": - "2024-01-19T21:58:31Z", "updated_at": "2024-01-19T21:58:31Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_f792e52526664b4ebca3fb234000fed5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_d22103863f6742e39824cb2c30301cdd", - "object": "Rate", "created_at": "2024-01-19T21:58:32Z", "updated_at": "2024-01-19T21:58:32Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_f792e52526664b4ebca3fb234000fed5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - "tracker": {"id": "trk_bbb0aab60ee9438ab956d89c4f7be685", "object": "Tracker", - "mode": "test", "tracking_code": "9400100207552010711416", "status": "unknown", - "status_detail": "unknown", "created_at": "2024-01-19T21:58:33Z", "updated_at": - "2024-01-19T21:58:33Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_f792e52526664b4ebca3fb234000fed5", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrX2JiYjBhYWI2MGVlOTQzOGFiOTU2ZDg5YzRmN2JlNjg1"}, - "to_address": {"id": "adr_e23e177bb71511eea5ce3cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:58:31+00:00", "updated_at": "2024-01-19T21:58:32+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_e23fe17eb71511eea9c2ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:58:31+00:00", "updated_at": - "2024-01-19T21:58:31+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_e23e177bb71511eea5ce3cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:58:31+00:00", "updated_at": "2024-01-19T21:58:32+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "4.81000", "charged": true, "refunded": false}], "id": "shp_f792e52526664b4ebca3fb234000fed5", - "object": "Shipment"}], "rates": [{"id": "rate_9be259a8300142cfa3e7f13f4e1cc38e", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", - "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_f792e52526664b4ebca3fb234000fed5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_1ff8d9b4e5ba4758ae230b7cf93cfc4e", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "Priority", "carrier": - "USPS", "rate": "6.95", "currency": "USD", "retail_rate": "10.20", "retail_currency": - "USD", "list_rate": "8.24", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 2, "shipment_id": "shp_f792e52526664b4ebca3fb234000fed5", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_e568b2b6df774c3eb3e0bb2727dc7bed", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_f792e52526664b4ebca3fb234000fed5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_d22103863f6742e39824cb2c30301cdd", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "First", "carrier": "USPS", - "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_f792e52526664b4ebca3fb234000fed5", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_2cd70271b57c4af690f831e1d32621c6", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_f792e52526664b4ebca3fb234000fed5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "id": "order_964fa6d16c4844ec91caebdef7a5fd95", "object": "Order"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '13704' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf088e798bf56000f74ac - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.907136' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"order": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 N - Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "shipments": [{"parcel": {"weight": - "10.2"}}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '491' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/orders - response: - body: - string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": - "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", - "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", "type": "rate_error", - "message": "Unauthorized. Please check credentials and try again"}, {"carrier": - "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", "type": - "rate_error", "message": "Unauthorized. Please check credentials and try again"}, - {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "created_at": "2024-01-19T22:01:26Z", "updated_at": "2024-01-19T22:01:26Z", - "customs_info": null, "from_address": {"id": "adr_4a6bf519b71611ee9930ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T22:01:26+00:00", "updated_at": - "2024-01-19T22:01:26+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "to_address": {"id": "adr_4a6a3e47b71611ee8b02ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T22:01:26+00:00", "updated_at": "2024-01-19T22:01:26+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "buyer_address": {"id": "adr_4a6a3e47b71611ee8b02ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T22:01:26+00:00", "updated_at": - "2024-01-19T22:01:26+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "return_address": {"id": - "adr_4a6bf519b71611ee9930ac1f6bc539aa", "object": "Address", "created_at": - "2024-01-19T22:01:26+00:00", "updated_at": "2024-01-19T22:01:26+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T22:01:26Z", - "is_return": false, "messages": [{"carrier": "DhlEcs", "carrier_account_id": - "ca_b1a0a1bc45844159812e0224d53948ea", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_c3cbbd21bc97400bbbaed6d030909476", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_0d64fd488c1444cf9bc16f858703e28f", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_99007e1aeb66421faf82676f1199481e", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}], "mode": "test", "options": {"currency": - "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, - "status": "unknown", "tracking_code": null, "updated_at": "2024-01-19T22:01:26Z", - "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": - null, "from_address": {"id": "adr_4a6bf519b71611ee9930ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T22:01:26+00:00", "updated_at": "2024-01-19T22:01:26+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": "order_540e70f74ce44a16a8bc8509f30567d9", - "parcel": {"id": "prcl_299df57752a24ff2ab350489b92fd988", "object": "Parcel", - "created_at": "2024-01-19T22:01:26Z", "updated_at": "2024-01-19T22:01:26Z", - "length": null, "width": null, "height": null, "predefined_package": null, - "weight": 10.2, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_1d209f0d74db4a7eba3e63941ac37585", - "object": "Rate", "created_at": "2024-01-19T22:01:26Z", "updated_at": "2024-01-19T22:01:26Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", - "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": - "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_295321a6d1304a2da11ffba21e0e3a87", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_03f0810ec86d45c598f45ca296e2727c", - "object": "Rate", "created_at": "2024-01-19T22:01:26Z", "updated_at": "2024-01-19T22:01:26Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", - "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": - "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_295321a6d1304a2da11ffba21e0e3a87", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_967a9ecce7fd4b2ebf78bb6cf6003c08", - "object": "Rate", "created_at": "2024-01-19T22:01:26Z", "updated_at": "2024-01-19T22:01:26Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_295321a6d1304a2da11ffba21e0e3a87", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_1843c7500ca440e6a3fb654e8075546e", "object": "Rate", "created_at": - "2024-01-19T22:01:26Z", "updated_at": "2024-01-19T22:01:26Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_295321a6d1304a2da11ffba21e0e3a87", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_fc84d53a2e064bdabc8255cae8db67dd", "object": "Rate", "created_at": - "2024-01-19T22:01:26Z", "updated_at": "2024-01-19T22:01:26Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", - "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_295321a6d1304a2da11ffba21e0e3a87", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_4a6a3e47b71611ee8b02ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T22:01:26+00:00", "updated_at": "2024-01-19T22:01:26+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_4a6bf519b71611ee9930ac1f6bc539aa", "object": "Address", "created_at": - "2024-01-19T22:01:26+00:00", "updated_at": "2024-01-19T22:01:26+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_4a6a3e47b71611ee8b02ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T22:01:26+00:00", "updated_at": - "2024-01-19T22:01:26+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_295321a6d1304a2da11ffba21e0e3a87", "object": "Shipment"}], "rates": - [{"id": "rate_1d209f0d74db4a7eba3e63941ac37585", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "Priority", "carrier": - "USPS", "rate": "6.95", "currency": "USD", "retail_rate": "10.20", "retail_currency": - "USD", "list_rate": "8.24", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 2, "shipment_id": "shp_295321a6d1304a2da11ffba21e0e3a87", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_03f0810ec86d45c598f45ca296e2727c", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_295321a6d1304a2da11ffba21e0e3a87", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_967a9ecce7fd4b2ebf78bb6cf6003c08", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "First", "carrier": "USPS", - "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_295321a6d1304a2da11ffba21e0e3a87", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_1843c7500ca440e6a3fb654e8075546e", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_295321a6d1304a2da11ffba21e0e3a87", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_fc84d53a2e064bdabc8255cae8db67dd", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "Express", "carrier": - "USPS", "rate": "31.25", "currency": "USD", "retail_rate": "35.80", "retail_currency": - "USD", "list_rate": "31.25", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - false, "est_delivery_days": null, "shipment_id": "shp_295321a6d1304a2da11ffba21e0e3a87", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], "id": "order_540e70f74ce44a16a8bc8509f30567d9", - "object": "Order"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '12214' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/orders/order_540e70f74ce44a16a8bc8509f30567d9 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaf136e798c4a000100352 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.666889' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"carrier": "USPS", "service": "First"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '39' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/orders/order_540e70f74ce44a16a8bc8509f30567d9/buy - response: - body: - string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": - "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", - "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", "type": "rate_error", - "message": "Unauthorized. Please check credentials and try again"}, {"carrier": - "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", "type": - "rate_error", "message": "Unauthorized. Please check credentials and try again"}, - {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "created_at": "2024-01-19T22:01:26Z", "updated_at": "2024-01-19T22:01:26Z", - "customs_info": null, "from_address": {"id": "adr_4a6bf519b71611ee9930ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T22:01:26+00:00", "updated_at": - "2024-01-19T22:01:26+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "to_address": {"id": "adr_4a6a3e47b71611ee8b02ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T22:01:26+00:00", "updated_at": "2024-01-19T22:01:27+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "buyer_address": {"id": "adr_4a6a3e47b71611ee8b02ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T22:01:26+00:00", "updated_at": "2024-01-19T22:01:27+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "return_address": {"id": "adr_4a6bf519b71611ee9930ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T22:01:26+00:00", "updated_at": "2024-01-19T22:01:26+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T22:01:26Z", - "is_return": false, "messages": [], "mode": "test", "options": {"currency": - "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, - "status": "unknown", "tracking_code": "9400100207552010711836", "updated_at": - "2024-01-19T22:01:27Z", "batch_id": null, "batch_status": null, "batch_message": - null, "customs_info": null, "from_address": {"id": "adr_4a6bf519b71611ee9930ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T22:01:26+00:00", "updated_at": - "2024-01-19T22:01:26+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": "order_540e70f74ce44a16a8bc8509f30567d9", "parcel": - {"id": "prcl_299df57752a24ff2ab350489b92fd988", "object": "Parcel", "created_at": - "2024-01-19T22:01:26Z", "updated_at": "2024-01-19T22:01:26Z", "length": null, - "width": null, "height": null, "predefined_package": null, "weight": 10.2, - "mode": "test"}, "postage_label": {"object": "PostageLabel", "id": "pl_6ffb4becb05446aaa6758ecbec9af78f", - "created_at": "2024-01-19T22:01:27Z", "updated_at": "2024-01-19T22:01:27Z", - "date_advance": 0, "integrated_form": "none", "label_date": "2024-01-19T22:01:27Z", - "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": - "image/png", "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8d3435239449e4dedb271b02179095ee0.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_1d209f0d74db4a7eba3e63941ac37585", "object": - "Rate", "created_at": "2024-01-19T22:01:26Z", "updated_at": "2024-01-19T22:01:26Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", - "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": - "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_295321a6d1304a2da11ffba21e0e3a87", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_03f0810ec86d45c598f45ca296e2727c", - "object": "Rate", "created_at": "2024-01-19T22:01:26Z", "updated_at": "2024-01-19T22:01:26Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", - "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": - "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_295321a6d1304a2da11ffba21e0e3a87", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_967a9ecce7fd4b2ebf78bb6cf6003c08", - "object": "Rate", "created_at": "2024-01-19T22:01:26Z", "updated_at": "2024-01-19T22:01:26Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_295321a6d1304a2da11ffba21e0e3a87", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_1843c7500ca440e6a3fb654e8075546e", "object": "Rate", "created_at": - "2024-01-19T22:01:26Z", "updated_at": "2024-01-19T22:01:26Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_295321a6d1304a2da11ffba21e0e3a87", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_fc84d53a2e064bdabc8255cae8db67dd", "object": "Rate", "created_at": - "2024-01-19T22:01:26Z", "updated_at": "2024-01-19T22:01:26Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", - "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_295321a6d1304a2da11ffba21e0e3a87", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_967a9ecce7fd4b2ebf78bb6cf6003c08", - "object": "Rate", "created_at": "2024-01-19T22:01:27Z", "updated_at": "2024-01-19T22:01:27Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_295321a6d1304a2da11ffba21e0e3a87", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - "tracker": {"id": "trk_2fd9a17bcd0047c2a7b9b776bd4c13ff", "object": "Tracker", - "mode": "test", "tracking_code": "9400100207552010711836", "status": "unknown", - "status_detail": "unknown", "created_at": "2024-01-19T22:01:27Z", "updated_at": - "2024-01-19T22:01:27Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_295321a6d1304a2da11ffba21e0e3a87", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzJmZDlhMTdiY2QwMDQ3YzJhN2I5Yjc3NmJkNGMxM2Zm"}, - "to_address": {"id": "adr_4a6a3e47b71611ee8b02ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T22:01:26+00:00", "updated_at": "2024-01-19T22:01:27+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_4a6bf519b71611ee9930ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T22:01:26+00:00", "updated_at": - "2024-01-19T22:01:26+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_4a6a3e47b71611ee8b02ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T22:01:26+00:00", "updated_at": "2024-01-19T22:01:27+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "4.81000", "charged": true, "refunded": false}], "id": "shp_295321a6d1304a2da11ffba21e0e3a87", - "object": "Shipment"}], "rates": [{"id": "rate_1d209f0d74db4a7eba3e63941ac37585", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "Priority", "carrier": "USPS", "rate": "6.95", "currency": "USD", - "retail_rate": "10.20", "retail_currency": "USD", "list_rate": "8.24", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": - "shp_295321a6d1304a2da11ffba21e0e3a87", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_03f0810ec86d45c598f45ca296e2727c", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "GroundAdvantage", "carrier": - "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_295321a6d1304a2da11ffba21e0e3a87", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_967a9ecce7fd4b2ebf78bb6cf6003c08", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "First", "carrier": "USPS", "rate": "4.81", "currency": "USD", - "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_295321a6d1304a2da11ffba21e0e3a87", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_1843c7500ca440e6a3fb654e8075546e", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "ParcelSelect", "carrier": - "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_295321a6d1304a2da11ffba21e0e3a87", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_fc84d53a2e064bdabc8255cae8db67dd", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", - "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_295321a6d1304a2da11ffba21e0e3a87", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "id": "order_540e70f74ce44a16a8bc8509f30567d9", "object": "Order"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '13704' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf136e798c4a100100416 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.875437' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"order": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 N - Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "shipments": [{"parcel": {"weight": - "10.2"}}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '491' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/orders - response: - body: - string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": - "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", - "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", "type": "rate_error", - "message": "Unauthorized. Please check credentials and try again"}, {"carrier": - "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", "type": - "rate_error", "message": "Unauthorized. Please check credentials and try again"}, - {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "created_at": "2024-01-19T22:05:12Z", "updated_at": "2024-01-19T22:05:12Z", - "customs_info": null, "from_address": {"id": "adr_d1123926b71611ee839fac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T22:05:11+00:00", "updated_at": - "2024-01-19T22:05:11+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "to_address": {"id": "adr_d10dbf81b71611eeb393ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T22:05:11+00:00", "updated_at": "2024-01-19T22:05:11+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "buyer_address": {"id": "adr_d10dbf81b71611eeb393ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:05:11+00:00", "updated_at": - "2024-01-19T22:05:11+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "return_address": {"id": - "adr_d1123926b71611ee839fac1f6bc539aa", "object": "Address", "created_at": - "2024-01-19T22:05:11+00:00", "updated_at": "2024-01-19T22:05:11+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T22:05:12Z", - "is_return": false, "messages": [{"carrier": "DhlEcs", "carrier_account_id": - "ca_99007e1aeb66421faf82676f1199481e", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_b1a0a1bc45844159812e0224d53948ea", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_c3cbbd21bc97400bbbaed6d030909476", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_0d64fd488c1444cf9bc16f858703e28f", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}], "mode": "test", "options": {"currency": - "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, - "status": "unknown", "tracking_code": null, "updated_at": "2024-01-19T22:05:12Z", - "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": - null, "from_address": {"id": "adr_d1123926b71611ee839fac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T22:05:11+00:00", "updated_at": "2024-01-19T22:05:11+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": "order_94ae5b583f8e47a58b6c32b7f71ee2ac", - "parcel": {"id": "prcl_38d5ae14e8744281806ac7c5973599c7", "object": "Parcel", - "created_at": "2024-01-19T22:05:12Z", "updated_at": "2024-01-19T22:05:12Z", - "length": null, "width": null, "height": null, "predefined_package": null, - "weight": 10.2, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_2152da846cca4ef4a570ae05c6763bad", - "object": "Rate", "created_at": "2024-01-19T22:05:12Z", "updated_at": "2024-01-19T22:05:12Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "31.25", - "currency": "USD", "retail_rate": "35.80", "retail_currency": "USD", "list_rate": - "31.25", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_c431daa1be48449f838a3f857e08a33d", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_859426c21003434d90e7cf273fbc3f4d", - "object": "Rate", "created_at": "2024-01-19T22:05:12Z", "updated_at": "2024-01-19T22:05:12Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", - "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": - "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_c431daa1be48449f838a3f857e08a33d", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b426ca32b7c847efb1cb01a2cbafb100", - "object": "Rate", "created_at": "2024-01-19T22:05:12Z", "updated_at": "2024-01-19T22:05:12Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", - "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": - "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_c431daa1be48449f838a3f857e08a33d", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b96af376298c478b9dd0f3340e8865b8", - "object": "Rate", "created_at": "2024-01-19T22:05:12Z", "updated_at": "2024-01-19T22:05:12Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_c431daa1be48449f838a3f857e08a33d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_c0ed3ce327834518827f811cd90892ce", "object": "Rate", "created_at": - "2024-01-19T22:05:12Z", "updated_at": "2024-01-19T22:05:12Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_c431daa1be48449f838a3f857e08a33d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_d10dbf81b71611eeb393ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T22:05:11+00:00", "updated_at": "2024-01-19T22:05:11+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_d1123926b71611ee839fac1f6bc539aa", "object": "Address", "created_at": - "2024-01-19T22:05:11+00:00", "updated_at": "2024-01-19T22:05:11+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_d10dbf81b71611eeb393ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:05:11+00:00", "updated_at": - "2024-01-19T22:05:11+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_c431daa1be48449f838a3f857e08a33d", "object": "Shipment"}], "rates": - [{"id": "rate_2152da846cca4ef4a570ae05c6763bad", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "Express", "carrier": - "USPS", "rate": "31.25", "currency": "USD", "retail_rate": "35.80", "retail_currency": - "USD", "list_rate": "31.25", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - false, "est_delivery_days": null, "shipment_id": "shp_c431daa1be48449f838a3f857e08a33d", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_859426c21003434d90e7cf273fbc3f4d", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "Priority", "carrier": "USPS", "rate": "6.95", "currency": "USD", - "retail_rate": "10.20", "retail_currency": "USD", "list_rate": "8.24", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": - "shp_c431daa1be48449f838a3f857e08a33d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_b426ca32b7c847efb1cb01a2cbafb100", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "GroundAdvantage", "carrier": - "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_c431daa1be48449f838a3f857e08a33d", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b96af376298c478b9dd0f3340e8865b8", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "First", "carrier": "USPS", "rate": "4.81", "currency": "USD", - "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_c431daa1be48449f838a3f857e08a33d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_c0ed3ce327834518827f811cd90892ce", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "ParcelSelect", "carrier": - "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_c431daa1be48449f838a3f857e08a33d", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], "id": "order_94ae5b583f8e47a58b6c32b7f71ee2ac", - "object": "Order"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '12214' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/orders/order_94ae5b583f8e47a58b6c32b7f71ee2ac - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf217e798d07d0010af5c - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.784121' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"carrier": "USPS", "service": "First"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '39' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/orders/order_94ae5b583f8e47a58b6c32b7f71ee2ac/buy - response: - body: - string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": - "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", - "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", "type": "rate_error", - "message": "Unauthorized. Please check credentials and try again"}, {"carrier": - "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", "type": - "rate_error", "message": "Unauthorized. Please check credentials and try again"}, - {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "created_at": "2024-01-19T22:05:12Z", "updated_at": "2024-01-19T22:05:12Z", - "customs_info": null, "from_address": {"id": "adr_d1123926b71611ee839fac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T22:05:11+00:00", "updated_at": - "2024-01-19T22:05:11+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "to_address": {"id": "adr_d10dbf81b71611eeb393ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T22:05:11+00:00", "updated_at": "2024-01-19T22:05:13+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "buyer_address": {"id": "adr_d10dbf81b71611eeb393ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T22:05:11+00:00", "updated_at": "2024-01-19T22:05:13+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "return_address": {"id": "adr_d1123926b71611ee839fac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T22:05:11+00:00", "updated_at": "2024-01-19T22:05:11+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T22:05:12Z", - "is_return": false, "messages": [], "mode": "test", "options": {"currency": - "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, - "status": "unknown", "tracking_code": "9400100207552010712604", "updated_at": - "2024-01-19T22:05:13Z", "batch_id": null, "batch_status": null, "batch_message": - null, "customs_info": null, "from_address": {"id": "adr_d1123926b71611ee839fac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T22:05:11+00:00", "updated_at": - "2024-01-19T22:05:11+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": "order_94ae5b583f8e47a58b6c32b7f71ee2ac", "parcel": - {"id": "prcl_38d5ae14e8744281806ac7c5973599c7", "object": "Parcel", "created_at": - "2024-01-19T22:05:12Z", "updated_at": "2024-01-19T22:05:12Z", "length": null, - "width": null, "height": null, "predefined_package": null, "weight": 10.2, - "mode": "test"}, "postage_label": {"object": "PostageLabel", "id": "pl_74f168a3f60f4224b091149cd3a7b815", - "created_at": "2024-01-19T22:05:13Z", "updated_at": "2024-01-19T22:05:13Z", - "date_advance": 0, "integrated_form": "none", "label_date": "2024-01-19T22:05:13Z", - "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": - "image/png", "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e822c34a117ab449a98fd068e253595866.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_2152da846cca4ef4a570ae05c6763bad", "object": - "Rate", "created_at": "2024-01-19T22:05:12Z", "updated_at": "2024-01-19T22:05:12Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "31.25", - "currency": "USD", "retail_rate": "35.80", "retail_currency": "USD", "list_rate": - "31.25", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_c431daa1be48449f838a3f857e08a33d", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_859426c21003434d90e7cf273fbc3f4d", - "object": "Rate", "created_at": "2024-01-19T22:05:12Z", "updated_at": "2024-01-19T22:05:12Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", - "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": - "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_c431daa1be48449f838a3f857e08a33d", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b426ca32b7c847efb1cb01a2cbafb100", - "object": "Rate", "created_at": "2024-01-19T22:05:12Z", "updated_at": "2024-01-19T22:05:12Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", - "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": - "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_c431daa1be48449f838a3f857e08a33d", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b96af376298c478b9dd0f3340e8865b8", - "object": "Rate", "created_at": "2024-01-19T22:05:12Z", "updated_at": "2024-01-19T22:05:12Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_c431daa1be48449f838a3f857e08a33d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_c0ed3ce327834518827f811cd90892ce", "object": "Rate", "created_at": - "2024-01-19T22:05:12Z", "updated_at": "2024-01-19T22:05:12Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_c431daa1be48449f838a3f857e08a33d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_b96af376298c478b9dd0f3340e8865b8", - "object": "Rate", "created_at": "2024-01-19T22:05:13Z", "updated_at": "2024-01-19T22:05:13Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_c431daa1be48449f838a3f857e08a33d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - "tracker": {"id": "trk_8af95c23ad1f4ff4b8efaac64439b3c4", "object": "Tracker", - "mode": "test", "tracking_code": "9400100207552010712604", "status": "unknown", - "status_detail": "unknown", "created_at": "2024-01-19T22:05:13Z", "updated_at": - "2024-01-19T22:05:13Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_c431daa1be48449f838a3f857e08a33d", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzhhZjk1YzIzYWQxZjRmZjRiOGVmYWFjNjQ0MzliM2M0"}, - "to_address": {"id": "adr_d10dbf81b71611eeb393ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T22:05:11+00:00", "updated_at": "2024-01-19T22:05:13+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_d1123926b71611ee839fac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T22:05:11+00:00", "updated_at": - "2024-01-19T22:05:11+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_d10dbf81b71611eeb393ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T22:05:11+00:00", "updated_at": "2024-01-19T22:05:13+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "4.81000", "charged": true, "refunded": false}], "id": "shp_c431daa1be48449f838a3f857e08a33d", - "object": "Shipment"}], "rates": [{"id": "rate_2152da846cca4ef4a570ae05c6763bad", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", - "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_c431daa1be48449f838a3f857e08a33d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_859426c21003434d90e7cf273fbc3f4d", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "Priority", "carrier": - "USPS", "rate": "6.95", "currency": "USD", "retail_rate": "10.20", "retail_currency": - "USD", "list_rate": "8.24", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 2, "shipment_id": "shp_c431daa1be48449f838a3f857e08a33d", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b426ca32b7c847efb1cb01a2cbafb100", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_c431daa1be48449f838a3f857e08a33d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_b96af376298c478b9dd0f3340e8865b8", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "First", "carrier": "USPS", - "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_c431daa1be48449f838a3f857e08a33d", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c0ed3ce327834518827f811cd90892ce", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_c431daa1be48449f838a3f857e08a33d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "id": "order_94ae5b583f8e47a58b6c32b7f71ee2ac", "object": "Order"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '13704' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaf219e798d07e0010b044 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.991528' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"order": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 N - Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "shipments": [{"parcel": {"weight": - "10.2"}}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '491' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/orders - response: - body: - string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": - "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", - "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", "type": "rate_error", - "message": "Unauthorized. Please check credentials and try again"}, {"carrier": - "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": - "rate_error", "message": "Unauthorized. Please check credentials and try again"}, - {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "created_at": "2024-01-19T22:06:45Z", "updated_at": "2024-01-19T22:06:46Z", - "customs_info": null, "from_address": {"id": "adr_08d689afb71711ee855d3cecef1b359e", - "object": "Address", "created_at": "2024-01-19T22:06:45+00:00", "updated_at": - "2024-01-19T22:06:45+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "to_address": {"id": "adr_08d4ba82b71711ee9769ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T22:06:45+00:00", "updated_at": "2024-01-19T22:06:45+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "buyer_address": {"id": "adr_08d4ba82b71711ee9769ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T22:06:45+00:00", "updated_at": - "2024-01-19T22:06:45+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "return_address": {"id": - "adr_08d689afb71711ee855d3cecef1b359e", "object": "Address", "created_at": - "2024-01-19T22:06:45+00:00", "updated_at": "2024-01-19T22:06:45+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T22:06:45Z", - "is_return": false, "messages": [{"carrier": "DhlEcs", "carrier_account_id": - "ca_99007e1aeb66421faf82676f1199481e", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_c3cbbd21bc97400bbbaed6d030909476", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_b1a0a1bc45844159812e0224d53948ea", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_0d64fd488c1444cf9bc16f858703e28f", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}], "mode": "test", "options": {"currency": - "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, - "status": "unknown", "tracking_code": null, "updated_at": "2024-01-19T22:06:45Z", - "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": - null, "from_address": {"id": "adr_08d689afb71711ee855d3cecef1b359e", "object": - "Address", "created_at": "2024-01-19T22:06:45+00:00", "updated_at": "2024-01-19T22:06:45+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": "order_44572b1e925342fababb94c67cca8292", - "parcel": {"id": "prcl_92ca5d3034b14d80851d218f518b01a2", "object": "Parcel", - "created_at": "2024-01-19T22:06:45Z", "updated_at": "2024-01-19T22:06:45Z", - "length": null, "width": null, "height": null, "predefined_package": null, - "weight": 10.2, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_b3aee1cf42d9497bb591126539a7a052", - "object": "Rate", "created_at": "2024-01-19T22:06:46Z", "updated_at": "2024-01-19T22:06:46Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", - "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": - "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_ad619fd0e6734b27b3e369d2cf9313f5", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_057d8b8d6516413aac61fdf93a545975", - "object": "Rate", "created_at": "2024-01-19T22:06:46Z", "updated_at": "2024-01-19T22:06:46Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", - "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": - "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_ad619fd0e6734b27b3e369d2cf9313f5", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_2b01d28e8a7c4149ab20ccbcf29a5952", - "object": "Rate", "created_at": "2024-01-19T22:06:46Z", "updated_at": "2024-01-19T22:06:46Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_ad619fd0e6734b27b3e369d2cf9313f5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_ded1e495460149e8b94ad766f724145d", "object": "Rate", "created_at": - "2024-01-19T22:06:46Z", "updated_at": "2024-01-19T22:06:46Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_ad619fd0e6734b27b3e369d2cf9313f5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_f34ab6fcdcf04c2592b1ec54cb983239", "object": "Rate", "created_at": - "2024-01-19T22:06:46Z", "updated_at": "2024-01-19T22:06:46Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", - "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_ad619fd0e6734b27b3e369d2cf9313f5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_08d4ba82b71711ee9769ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T22:06:45+00:00", "updated_at": "2024-01-19T22:06:45+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_08d689afb71711ee855d3cecef1b359e", "object": "Address", "created_at": - "2024-01-19T22:06:45+00:00", "updated_at": "2024-01-19T22:06:45+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_08d4ba82b71711ee9769ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T22:06:45+00:00", "updated_at": - "2024-01-19T22:06:45+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_ad619fd0e6734b27b3e369d2cf9313f5", "object": "Shipment"}], "rates": - [{"id": "rate_b3aee1cf42d9497bb591126539a7a052", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "Priority", "carrier": - "USPS", "rate": "6.95", "currency": "USD", "retail_rate": "10.20", "retail_currency": - "USD", "list_rate": "8.24", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 2, "shipment_id": "shp_ad619fd0e6734b27b3e369d2cf9313f5", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_057d8b8d6516413aac61fdf93a545975", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_ad619fd0e6734b27b3e369d2cf9313f5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_2b01d28e8a7c4149ab20ccbcf29a5952", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "First", "carrier": "USPS", - "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_ad619fd0e6734b27b3e369d2cf9313f5", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_ded1e495460149e8b94ad766f724145d", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_ad619fd0e6734b27b3e369d2cf9313f5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_f34ab6fcdcf04c2592b1ec54cb983239", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "Express", "carrier": - "USPS", "rate": "31.25", "currency": "USD", "retail_rate": "35.80", "retail_currency": - "USD", "list_rate": "31.25", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - false, "est_delivery_days": null, "shipment_id": "shp_ad619fd0e6734b27b3e369d2cf9313f5", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], "id": "order_44572b1e925342fababb94c67cca8292", - "object": "Order"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '12214' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/orders/order_44572b1e925342fababb94c67cca8292 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaf275e798d53f0010ee7e - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.667432' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"carrier": "USPS", "service": "First"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '39' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/orders/order_44572b1e925342fababb94c67cca8292/buy - response: - body: - string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": - "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", - "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", "type": "rate_error", - "message": "Unauthorized. Please check credentials and try again"}, {"carrier": - "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": - "rate_error", "message": "Unauthorized. Please check credentials and try again"}, - {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "created_at": "2024-01-19T22:06:45Z", "updated_at": "2024-01-19T22:06:46Z", - "customs_info": null, "from_address": {"id": "adr_08d689afb71711ee855d3cecef1b359e", - "object": "Address", "created_at": "2024-01-19T22:06:45+00:00", "updated_at": - "2024-01-19T22:06:45+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "to_address": {"id": "adr_08d4ba82b71711ee9769ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T22:06:45+00:00", "updated_at": "2024-01-19T22:06:46+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "buyer_address": {"id": "adr_08d4ba82b71711ee9769ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T22:06:45+00:00", "updated_at": "2024-01-19T22:06:46+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "return_address": {"id": "adr_08d689afb71711ee855d3cecef1b359e", "object": - "Address", "created_at": "2024-01-19T22:06:45+00:00", "updated_at": "2024-01-19T22:06:45+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T22:06:45Z", - "is_return": false, "messages": [], "mode": "test", "options": {"currency": - "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, - "status": "unknown", "tracking_code": "9400100207552010713175", "updated_at": - "2024-01-19T22:06:47Z", "batch_id": null, "batch_status": null, "batch_message": - null, "customs_info": null, "from_address": {"id": "adr_08d689afb71711ee855d3cecef1b359e", - "object": "Address", "created_at": "2024-01-19T22:06:45+00:00", "updated_at": - "2024-01-19T22:06:45+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": "order_44572b1e925342fababb94c67cca8292", "parcel": - {"id": "prcl_92ca5d3034b14d80851d218f518b01a2", "object": "Parcel", "created_at": - "2024-01-19T22:06:45Z", "updated_at": "2024-01-19T22:06:45Z", "length": null, - "width": null, "height": null, "predefined_package": null, "weight": 10.2, - "mode": "test"}, "postage_label": {"object": "PostageLabel", "id": "pl_faf332fd56294e918c9593682b15c7c5", - "created_at": "2024-01-19T22:06:46Z", "updated_at": "2024-01-19T22:06:47Z", - "date_advance": 0, "integrated_form": "none", "label_date": "2024-01-19T22:06:46Z", - "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": - "image/png", "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e85397ca33ed6447558b2ef31c70893531.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_b3aee1cf42d9497bb591126539a7a052", "object": - "Rate", "created_at": "2024-01-19T22:06:46Z", "updated_at": "2024-01-19T22:06:46Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", - "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": - "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_ad619fd0e6734b27b3e369d2cf9313f5", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_057d8b8d6516413aac61fdf93a545975", - "object": "Rate", "created_at": "2024-01-19T22:06:46Z", "updated_at": "2024-01-19T22:06:46Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", - "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": - "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_ad619fd0e6734b27b3e369d2cf9313f5", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_2b01d28e8a7c4149ab20ccbcf29a5952", - "object": "Rate", "created_at": "2024-01-19T22:06:46Z", "updated_at": "2024-01-19T22:06:46Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_ad619fd0e6734b27b3e369d2cf9313f5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_ded1e495460149e8b94ad766f724145d", "object": "Rate", "created_at": - "2024-01-19T22:06:46Z", "updated_at": "2024-01-19T22:06:46Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_ad619fd0e6734b27b3e369d2cf9313f5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_f34ab6fcdcf04c2592b1ec54cb983239", "object": "Rate", "created_at": - "2024-01-19T22:06:46Z", "updated_at": "2024-01-19T22:06:46Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", - "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_ad619fd0e6734b27b3e369d2cf9313f5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_2b01d28e8a7c4149ab20ccbcf29a5952", - "object": "Rate", "created_at": "2024-01-19T22:06:46Z", "updated_at": "2024-01-19T22:06:46Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_ad619fd0e6734b27b3e369d2cf9313f5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - "tracker": {"id": "trk_d73b622258634457bba13d948079a3e6", "object": "Tracker", - "mode": "test", "tracking_code": "9400100207552010713175", "status": "unknown", - "status_detail": "unknown", "created_at": "2024-01-19T22:06:47Z", "updated_at": - "2024-01-19T22:06:47Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_ad619fd0e6734b27b3e369d2cf9313f5", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrX2Q3M2I2MjIyNTg2MzQ0NTdiYmExM2Q5NDgwNzlhM2U2"}, - "to_address": {"id": "adr_08d4ba82b71711ee9769ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T22:06:45+00:00", "updated_at": "2024-01-19T22:06:46+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_08d689afb71711ee855d3cecef1b359e", - "object": "Address", "created_at": "2024-01-19T22:06:45+00:00", "updated_at": - "2024-01-19T22:06:45+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_08d4ba82b71711ee9769ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T22:06:45+00:00", "updated_at": "2024-01-19T22:06:46+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "4.81000", "charged": true, "refunded": false}], "id": "shp_ad619fd0e6734b27b3e369d2cf9313f5", - "object": "Shipment"}], "rates": [{"id": "rate_b3aee1cf42d9497bb591126539a7a052", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "Priority", "carrier": "USPS", "rate": "6.95", "currency": "USD", - "retail_rate": "10.20", "retail_currency": "USD", "list_rate": "8.24", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": - "shp_ad619fd0e6734b27b3e369d2cf9313f5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_057d8b8d6516413aac61fdf93a545975", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "GroundAdvantage", "carrier": - "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_ad619fd0e6734b27b3e369d2cf9313f5", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_2b01d28e8a7c4149ab20ccbcf29a5952", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "First", "carrier": "USPS", "rate": "4.81", "currency": "USD", - "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_ad619fd0e6734b27b3e369d2cf9313f5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_ded1e495460149e8b94ad766f724145d", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "ParcelSelect", "carrier": - "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_ad619fd0e6734b27b3e369d2cf9313f5", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f34ab6fcdcf04c2592b1ec54cb983239", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", - "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_ad619fd0e6734b27b3e369d2cf9313f5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "id": "order_44572b1e925342fababb94c67cca8292", "object": "Order"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '13704' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaf276e798d5400010ef10 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.806651' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_orders_create.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_orders_create.yaml deleted file mode 100644 index dd6d75e4..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_orders_create.yaml +++ /dev/null @@ -1,1388 +0,0 @@ -interactions: -- request: - body: '{"order": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 N - Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "shipments": [{"parcel": {"weight": - "10.2"}}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '491' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/orders - response: - body: - string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": - "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", - "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", - "message": "Unauthorized. Please check credentials and try again"}, {"carrier": - "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": - "rate_error", "message": "Unauthorized. Please check credentials and try again"}, - {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "created_at": "2024-01-19T21:47:15Z", "updated_at": "2024-01-19T21:47:16Z", - "customs_info": null, "from_address": {"id": "adr_4f938043b71411eea2f2ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:47:15+00:00", "updated_at": - "2024-01-19T21:47:15+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "to_address": {"id": "adr_4f91cfcfb71411eea2f1ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:47:15+00:00", "updated_at": "2024-01-19T21:47:15+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "buyer_address": {"id": "adr_4f91cfcfb71411eea2f1ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:47:15+00:00", "updated_at": - "2024-01-19T21:47:15+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "return_address": {"id": - "adr_4f938043b71411eea2f2ac1f6bc53342", "object": "Address", "created_at": - "2024-01-19T21:47:15+00:00", "updated_at": "2024-01-19T21:47:15+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T21:47:15Z", - "is_return": false, "messages": [{"carrier": "DhlEcs", "carrier_account_id": - "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_b1a0a1bc45844159812e0224d53948ea", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_c3cbbd21bc97400bbbaed6d030909476", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_99007e1aeb66421faf82676f1199481e", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_0d64fd488c1444cf9bc16f858703e28f", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}], "mode": "test", "options": {"currency": - "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, - "status": "unknown", "tracking_code": null, "updated_at": "2024-01-19T21:47:15Z", - "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": - null, "from_address": {"id": "adr_4f938043b71411eea2f2ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:47:15+00:00", "updated_at": "2024-01-19T21:47:15+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": "order_fd0d98639ea047f0a48d8ff737f317b2", - "parcel": {"id": "prcl_c8daca0797224644b22bc238a250ff0e", "object": "Parcel", - "created_at": "2024-01-19T21:47:15Z", "updated_at": "2024-01-19T21:47:15Z", - "length": null, "width": null, "height": null, "predefined_package": null, - "weight": 10.2, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_0dcd85915704404989569b945799b52f", - "object": "Rate", "created_at": "2024-01-19T21:47:16Z", "updated_at": "2024-01-19T21:47:16Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", - "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": - "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_8b0c0f5ead074e8fb9cf3b840c22454d", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_7e59c26baccf40b7b23ccc045b248ebf", - "object": "Rate", "created_at": "2024-01-19T21:47:16Z", "updated_at": "2024-01-19T21:47:16Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", - "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": - "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_8b0c0f5ead074e8fb9cf3b840c22454d", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b231b564a8234095b5b8aef24aa765e6", - "object": "Rate", "created_at": "2024-01-19T21:47:16Z", "updated_at": "2024-01-19T21:47:16Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_8b0c0f5ead074e8fb9cf3b840c22454d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_7591b10c8e6e46cb9faa1eb63e636679", "object": "Rate", "created_at": - "2024-01-19T21:47:16Z", "updated_at": "2024-01-19T21:47:16Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_8b0c0f5ead074e8fb9cf3b840c22454d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_5290a94545ac426c9a2107026b7844da", "object": "Rate", "created_at": - "2024-01-19T21:47:16Z", "updated_at": "2024-01-19T21:47:16Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", - "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_8b0c0f5ead074e8fb9cf3b840c22454d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_4f91cfcfb71411eea2f1ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:47:15+00:00", "updated_at": "2024-01-19T21:47:15+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_4f938043b71411eea2f2ac1f6bc53342", "object": "Address", "created_at": - "2024-01-19T21:47:15+00:00", "updated_at": "2024-01-19T21:47:15+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_4f91cfcfb71411eea2f1ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:47:15+00:00", "updated_at": - "2024-01-19T21:47:15+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_8b0c0f5ead074e8fb9cf3b840c22454d", "object": "Shipment"}], "rates": - [{"id": "rate_0dcd85915704404989569b945799b52f", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "Priority", "carrier": - "USPS", "rate": "6.95", "currency": "USD", "retail_rate": "10.20", "retail_currency": - "USD", "list_rate": "8.24", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 2, "shipment_id": "shp_8b0c0f5ead074e8fb9cf3b840c22454d", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_7e59c26baccf40b7b23ccc045b248ebf", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_8b0c0f5ead074e8fb9cf3b840c22454d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_b231b564a8234095b5b8aef24aa765e6", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "First", "carrier": "USPS", - "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_8b0c0f5ead074e8fb9cf3b840c22454d", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_7591b10c8e6e46cb9faa1eb63e636679", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_8b0c0f5ead074e8fb9cf3b840c22454d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_5290a94545ac426c9a2107026b7844da", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "Express", "carrier": - "USPS", "rate": "31.25", "currency": "USD", "retail_rate": "35.80", "retail_currency": - "USD", "list_rate": "31.25", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - false, "est_delivery_days": null, "shipment_id": "shp_8b0c0f5ead074e8fb9cf3b840c22454d", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], "id": "order_fd0d98639ea047f0a48d8ff737f317b2", - "object": "Order"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '12214' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/orders/order_fd0d98639ea047f0a48d8ff737f317b2 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdaa65aaede3e78bac7100112b17 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.688339' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"order": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 N - Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "shipments": [{"parcel": {"weight": - "10.2"}}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '491' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/orders - response: - body: - string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": - "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", - "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", "type": "rate_error", - "message": "Unauthorized. Please check credentials and try again"}, {"carrier": - "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", "type": - "rate_error", "message": "Unauthorized. Please check credentials and try again"}, - {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "created_at": "2024-01-19T21:49:07Z", "updated_at": "2024-01-19T21:49:08Z", - "customs_info": null, "from_address": {"id": "adr_923850f3b71411eeb8a5ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:49:07+00:00", "updated_at": - "2024-01-19T21:49:07+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "to_address": {"id": "adr_923606f5b71411eeb5813cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:49:07+00:00", "updated_at": "2024-01-19T21:49:07+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "buyer_address": {"id": "adr_923606f5b71411eeb5813cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:49:07+00:00", "updated_at": - "2024-01-19T21:49:07+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "return_address": {"id": - "adr_923850f3b71411eeb8a5ac1f6bc539ae", "object": "Address", "created_at": - "2024-01-19T21:49:07+00:00", "updated_at": "2024-01-19T21:49:07+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T21:49:07Z", - "is_return": false, "messages": [{"carrier": "DhlEcs", "carrier_account_id": - "ca_0d64fd488c1444cf9bc16f858703e28f", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_99007e1aeb66421faf82676f1199481e", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_c3cbbd21bc97400bbbaed6d030909476", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_b1a0a1bc45844159812e0224d53948ea", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}], "mode": "test", "options": {"currency": - "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, - "status": "unknown", "tracking_code": null, "updated_at": "2024-01-19T21:49:07Z", - "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": - null, "from_address": {"id": "adr_923850f3b71411eeb8a5ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:49:07+00:00", "updated_at": "2024-01-19T21:49:07+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": "order_1bc474389c6a40b0b5e1a2395ca63e7a", - "parcel": {"id": "prcl_1c536fa8cc17488d8d742751df05fc37", "object": "Parcel", - "created_at": "2024-01-19T21:49:07Z", "updated_at": "2024-01-19T21:49:07Z", - "length": null, "width": null, "height": null, "predefined_package": null, - "weight": 10.2, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_0eb1edcaf8114db085fbe2d1fe14b9f6", - "object": "Rate", "created_at": "2024-01-19T21:49:08Z", "updated_at": "2024-01-19T21:49:08Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", - "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": - "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_1a1f26411b1f4adfacd4029531edf2e2", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_3d69745cac95461294d1df667a06318e", - "object": "Rate", "created_at": "2024-01-19T21:49:08Z", "updated_at": "2024-01-19T21:49:08Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", - "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": - "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_1a1f26411b1f4adfacd4029531edf2e2", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_d4ae1b4d9976494ab7cd57e2c1bf2dc8", - "object": "Rate", "created_at": "2024-01-19T21:49:08Z", "updated_at": "2024-01-19T21:49:08Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_1a1f26411b1f4adfacd4029531edf2e2", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_84ef24f2442e40eab963ed0101eb54a0", "object": "Rate", "created_at": - "2024-01-19T21:49:08Z", "updated_at": "2024-01-19T21:49:08Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_1a1f26411b1f4adfacd4029531edf2e2", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_adeeaa7f2a2e49f0807813609de079d8", "object": "Rate", "created_at": - "2024-01-19T21:49:08Z", "updated_at": "2024-01-19T21:49:08Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", - "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_1a1f26411b1f4adfacd4029531edf2e2", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_923606f5b71411eeb5813cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:49:07+00:00", "updated_at": "2024-01-19T21:49:07+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_923850f3b71411eeb8a5ac1f6bc539ae", "object": "Address", "created_at": - "2024-01-19T21:49:07+00:00", "updated_at": "2024-01-19T21:49:07+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_923606f5b71411eeb5813cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:49:07+00:00", "updated_at": - "2024-01-19T21:49:07+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_1a1f26411b1f4adfacd4029531edf2e2", "object": "Shipment"}], "rates": - [{"id": "rate_0eb1edcaf8114db085fbe2d1fe14b9f6", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "Priority", "carrier": - "USPS", "rate": "6.95", "currency": "USD", "retail_rate": "10.20", "retail_currency": - "USD", "list_rate": "8.24", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 2, "shipment_id": "shp_1a1f26411b1f4adfacd4029531edf2e2", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_3d69745cac95461294d1df667a06318e", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_1a1f26411b1f4adfacd4029531edf2e2", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_d4ae1b4d9976494ab7cd57e2c1bf2dc8", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "First", "carrier": "USPS", - "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_1a1f26411b1f4adfacd4029531edf2e2", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_84ef24f2442e40eab963ed0101eb54a0", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_1a1f26411b1f4adfacd4029531edf2e2", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_adeeaa7f2a2e49f0807813609de079d8", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "Express", "carrier": - "USPS", "rate": "31.25", "currency": "USD", "retail_rate": "35.80", "retail_currency": - "USD", "list_rate": "31.25", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - false, "est_delivery_days": null, "shipment_id": "shp_1a1f26411b1f4adfacd4029531edf2e2", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], "id": "order_1bc474389c6a40b0b5e1a2395ca63e7a", - "object": "Order"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '12214' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/orders/order_1bc474389c6a40b0b5e1a2395ca63e7a - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdae65aaee53e78bb4ab00116e57 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.779618' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"order": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 N - Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "shipments": [{"parcel": {"weight": - "10.2"}}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '491' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/orders - response: - body: - string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": - "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", - "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", - "message": "Unauthorized. Please check credentials and try again"}, {"carrier": - "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", "type": - "rate_error", "message": "Unauthorized. Please check credentials and try again"}, - {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "created_at": "2024-01-19T21:58:28Z", "updated_at": "2024-01-19T21:58:29Z", - "customs_info": null, "from_address": {"id": "adr_e0bf0c3fb71511eeb7d6ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:58:28+00:00", "updated_at": - "2024-01-19T21:58:28+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "to_address": {"id": "adr_e0bd1ee1b71511eea969ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:58:28+00:00", "updated_at": "2024-01-19T21:58:28+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "buyer_address": {"id": "adr_e0bd1ee1b71511eea969ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:58:28+00:00", "updated_at": - "2024-01-19T21:58:28+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "return_address": {"id": - "adr_e0bf0c3fb71511eeb7d6ac1f6bc539aa", "object": "Address", "created_at": - "2024-01-19T21:58:28+00:00", "updated_at": "2024-01-19T21:58:28+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T21:58:28Z", - "is_return": false, "messages": [{"carrier": "DhlEcs", "carrier_account_id": - "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_0d64fd488c1444cf9bc16f858703e28f", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_c3cbbd21bc97400bbbaed6d030909476", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_99007e1aeb66421faf82676f1199481e", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_b1a0a1bc45844159812e0224d53948ea", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}], "mode": "test", "options": {"currency": - "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, - "status": "unknown", "tracking_code": null, "updated_at": "2024-01-19T21:58:28Z", - "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": - null, "from_address": {"id": "adr_e0bf0c3fb71511eeb7d6ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:58:28+00:00", "updated_at": "2024-01-19T21:58:28+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": "order_a40c55e16b3d4e3cbf913086747d9d64", - "parcel": {"id": "prcl_ef8a01b515c44ab4a2f6a547affc0f7e", "object": "Parcel", - "created_at": "2024-01-19T21:58:28Z", "updated_at": "2024-01-19T21:58:28Z", - "length": null, "width": null, "height": null, "predefined_package": null, - "weight": 10.2, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_c9a03def83b14ba085c35500aebe4764", - "object": "Rate", "created_at": "2024-01-19T21:58:29Z", "updated_at": "2024-01-19T21:58:29Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", - "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": - "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_3b219214e43443fd9dc883ab1b43a3f2", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_570338e5e3bb403699a8a8c2fd300dc9", - "object": "Rate", "created_at": "2024-01-19T21:58:29Z", "updated_at": "2024-01-19T21:58:29Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", - "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": - "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_3b219214e43443fd9dc883ab1b43a3f2", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_d2714dd0c2a04eddba0ce73593978d5b", - "object": "Rate", "created_at": "2024-01-19T21:58:29Z", "updated_at": "2024-01-19T21:58:29Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_3b219214e43443fd9dc883ab1b43a3f2", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_a495f6cb23e949588e9232461a0a3f7f", "object": "Rate", "created_at": - "2024-01-19T21:58:29Z", "updated_at": "2024-01-19T21:58:29Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_3b219214e43443fd9dc883ab1b43a3f2", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_ee7205aa38e34bcb8073851fb1b4c170", "object": "Rate", "created_at": - "2024-01-19T21:58:29Z", "updated_at": "2024-01-19T21:58:29Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", - "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_3b219214e43443fd9dc883ab1b43a3f2", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_e0bd1ee1b71511eea969ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:58:28+00:00", "updated_at": "2024-01-19T21:58:28+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_e0bf0c3fb71511eeb7d6ac1f6bc539aa", "object": "Address", "created_at": - "2024-01-19T21:58:28+00:00", "updated_at": "2024-01-19T21:58:28+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_e0bd1ee1b71511eea969ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:58:28+00:00", "updated_at": - "2024-01-19T21:58:28+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_3b219214e43443fd9dc883ab1b43a3f2", "object": "Shipment"}], "rates": - [{"id": "rate_c9a03def83b14ba085c35500aebe4764", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "Priority", "carrier": - "USPS", "rate": "6.95", "currency": "USD", "retail_rate": "10.20", "retail_currency": - "USD", "list_rate": "8.24", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 2, "shipment_id": "shp_3b219214e43443fd9dc883ab1b43a3f2", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_570338e5e3bb403699a8a8c2fd300dc9", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_3b219214e43443fd9dc883ab1b43a3f2", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_d2714dd0c2a04eddba0ce73593978d5b", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "First", "carrier": "USPS", - "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_3b219214e43443fd9dc883ab1b43a3f2", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_a495f6cb23e949588e9232461a0a3f7f", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_3b219214e43443fd9dc883ab1b43a3f2", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_ee7205aa38e34bcb8073851fb1b4c170", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "Express", "carrier": - "USPS", "rate": "31.25", "currency": "USD", "retail_rate": "35.80", "retail_currency": - "USD", "list_rate": "31.25", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - false, "est_delivery_days": null, "shipment_id": "shp_3b219214e43443fd9dc883ab1b43a3f2", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], "id": "order_a40c55e16b3d4e3cbf913086747d9d64", - "object": "Order"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '12214' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/orders/order_a40c55e16b3d4e3cbf913086747d9d64 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf084e798bc40000f7337 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.661285' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"order": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 N - Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "shipments": [{"parcel": {"weight": - "10.2"}}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '491' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/orders - response: - body: - string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": - "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", - "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", - "message": "Unauthorized. Please check credentials and try again"}, {"carrier": - "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", "type": - "rate_error", "message": "Unauthorized. Please check credentials and try again"}, - {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "created_at": "2024-01-19T22:01:23Z", "updated_at": "2024-01-19T22:01:23Z", - "customs_info": null, "from_address": {"id": "adr_48a44e03b71611ee9892ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T22:01:23+00:00", "updated_at": - "2024-01-19T22:01:23+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "to_address": {"id": "adr_48a2aa8fb71611ee8a66ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T22:01:23+00:00", "updated_at": "2024-01-19T22:01:23+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "buyer_address": {"id": "adr_48a2aa8fb71611ee8a66ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T22:01:23+00:00", "updated_at": - "2024-01-19T22:01:23+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "return_address": {"id": - "adr_48a44e03b71611ee9892ac1f6bc539aa", "object": "Address", "created_at": - "2024-01-19T22:01:23+00:00", "updated_at": "2024-01-19T22:01:23+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T22:01:23Z", - "is_return": false, "messages": [{"carrier": "DhlEcs", "carrier_account_id": - "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_b1a0a1bc45844159812e0224d53948ea", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_c3cbbd21bc97400bbbaed6d030909476", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_99007e1aeb66421faf82676f1199481e", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_0d64fd488c1444cf9bc16f858703e28f", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}], "mode": "test", "options": {"currency": - "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, - "status": "unknown", "tracking_code": null, "updated_at": "2024-01-19T22:01:23Z", - "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": - null, "from_address": {"id": "adr_48a44e03b71611ee9892ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T22:01:23+00:00", "updated_at": "2024-01-19T22:01:23+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": "order_07cf9bc8a27e44dfbe78bdc0a29e9adb", - "parcel": {"id": "prcl_5b8e862d1d8145428168db971460f272", "object": "Parcel", - "created_at": "2024-01-19T22:01:23Z", "updated_at": "2024-01-19T22:01:23Z", - "length": null, "width": null, "height": null, "predefined_package": null, - "weight": 10.2, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_b7ac3b155cde444e96c118e0a4b84c46", - "object": "Rate", "created_at": "2024-01-19T22:01:23Z", "updated_at": "2024-01-19T22:01:23Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", - "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": - "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_cc0d40e2826a431e82da1ec69244c4b7", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_770e481366df4ea6bdda5e5db21154dc", - "object": "Rate", "created_at": "2024-01-19T22:01:23Z", "updated_at": "2024-01-19T22:01:23Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_cc0d40e2826a431e82da1ec69244c4b7", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_44f00f64cbf64614b6cd88f688ad1ae7", "object": "Rate", "created_at": - "2024-01-19T22:01:23Z", "updated_at": "2024-01-19T22:01:23Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_cc0d40e2826a431e82da1ec69244c4b7", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_56514380fe0a470fb96ff11a9b158968", "object": "Rate", "created_at": - "2024-01-19T22:01:23Z", "updated_at": "2024-01-19T22:01:23Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", - "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_cc0d40e2826a431e82da1ec69244c4b7", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_750f318303f54fb09ec6fdfe08deb975", "object": "Rate", "created_at": - "2024-01-19T22:01:23Z", "updated_at": "2024-01-19T22:01:23Z", "mode": "test", - "service": "Priority", "carrier": "USPS", "rate": "6.95", "currency": "USD", - "retail_rate": "10.20", "retail_currency": "USD", "list_rate": "8.24", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": - "shp_cc0d40e2826a431e82da1ec69244c4b7", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_48a2aa8fb71611ee8a66ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T22:01:23+00:00", "updated_at": "2024-01-19T22:01:23+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_48a44e03b71611ee9892ac1f6bc539aa", "object": "Address", "created_at": - "2024-01-19T22:01:23+00:00", "updated_at": "2024-01-19T22:01:23+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_48a2aa8fb71611ee8a66ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T22:01:23+00:00", "updated_at": - "2024-01-19T22:01:23+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_cc0d40e2826a431e82da1ec69244c4b7", "object": "Shipment"}], "rates": - [{"id": "rate_b7ac3b155cde444e96c118e0a4b84c46", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "GroundAdvantage", "carrier": - "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_cc0d40e2826a431e82da1ec69244c4b7", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_770e481366df4ea6bdda5e5db21154dc", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "First", "carrier": "USPS", "rate": "4.81", "currency": "USD", - "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_cc0d40e2826a431e82da1ec69244c4b7", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_44f00f64cbf64614b6cd88f688ad1ae7", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "ParcelSelect", "carrier": - "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_cc0d40e2826a431e82da1ec69244c4b7", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_56514380fe0a470fb96ff11a9b158968", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", - "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_cc0d40e2826a431e82da1ec69244c4b7", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_750f318303f54fb09ec6fdfe08deb975", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "Priority", "carrier": - "USPS", "rate": "6.95", "currency": "USD", "retail_rate": "10.20", "retail_currency": - "USD", "list_rate": "8.24", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 2, "shipment_id": "shp_cc0d40e2826a431e82da1ec69244c4b7", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], "id": "order_07cf9bc8a27e44dfbe78bdc0a29e9adb", - "object": "Order"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '12214' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/orders/order_07cf9bc8a27e44dfbe78bdc0a29e9adb - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf133e798c4850010003b - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.650145' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"order": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 N - Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "shipments": [{"parcel": {"weight": - "10.2"}}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '491' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/orders - response: - body: - string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": - "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", - "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", "type": "rate_error", - "message": "Unauthorized. Please check credentials and try again"}, {"carrier": - "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", "type": - "rate_error", "message": "Unauthorized. Please check credentials and try again"}, - {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "created_at": "2024-01-19T22:05:09Z", "updated_at": "2024-01-19T22:05:09Z", - "customs_info": null, "from_address": {"id": "adr_cf591a75b71611eeb30cac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:05:09+00:00", "updated_at": - "2024-01-19T22:05:09+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "to_address": {"id": "adr_cf576db2b71611eeb569ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T22:05:09+00:00", "updated_at": "2024-01-19T22:05:09+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "buyer_address": {"id": "adr_cf576db2b71611eeb569ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T22:05:09+00:00", "updated_at": - "2024-01-19T22:05:09+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "return_address": {"id": - "adr_cf591a75b71611eeb30cac1f6bc53342", "object": "Address", "created_at": - "2024-01-19T22:05:09+00:00", "updated_at": "2024-01-19T22:05:09+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T22:05:09Z", - "is_return": false, "messages": [{"carrier": "DhlEcs", "carrier_account_id": - "ca_c3cbbd21bc97400bbbaed6d030909476", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_99007e1aeb66421faf82676f1199481e", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_b1a0a1bc45844159812e0224d53948ea", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_0d64fd488c1444cf9bc16f858703e28f", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}], "mode": "test", "options": {"currency": - "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, - "status": "unknown", "tracking_code": null, "updated_at": "2024-01-19T22:05:09Z", - "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": - null, "from_address": {"id": "adr_cf591a75b71611eeb30cac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T22:05:09+00:00", "updated_at": "2024-01-19T22:05:09+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": "order_be1a4a2daf584c15b15b4de4683369c4", - "parcel": {"id": "prcl_e3d06b79c3c843dcaad86d32c05ae2d4", "object": "Parcel", - "created_at": "2024-01-19T22:05:09Z", "updated_at": "2024-01-19T22:05:09Z", - "length": null, "width": null, "height": null, "predefined_package": null, - "weight": 10.2, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_0900cbb8d1af4fe886b831f31d1ad551", - "object": "Rate", "created_at": "2024-01-19T22:05:09Z", "updated_at": "2024-01-19T22:05:09Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", - "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": - "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_f59fe7ef15c643d4b2d75aecdbf251fc", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_aaa7d56e1600467dbd28c0a4b67e72eb", - "object": "Rate", "created_at": "2024-01-19T22:05:09Z", "updated_at": "2024-01-19T22:05:09Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", - "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": - "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_f59fe7ef15c643d4b2d75aecdbf251fc", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b5d9ec0600514a5285748929c28f8456", - "object": "Rate", "created_at": "2024-01-19T22:05:09Z", "updated_at": "2024-01-19T22:05:09Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_f59fe7ef15c643d4b2d75aecdbf251fc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_920e34eb6f854c6281f37a2b0d6eaaf1", "object": "Rate", "created_at": - "2024-01-19T22:05:09Z", "updated_at": "2024-01-19T22:05:09Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_f59fe7ef15c643d4b2d75aecdbf251fc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_bc9b3056aee74867bfcb785cb1842e19", "object": "Rate", "created_at": - "2024-01-19T22:05:09Z", "updated_at": "2024-01-19T22:05:09Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", - "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_f59fe7ef15c643d4b2d75aecdbf251fc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_cf576db2b71611eeb569ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T22:05:09+00:00", "updated_at": "2024-01-19T22:05:09+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_cf591a75b71611eeb30cac1f6bc53342", "object": "Address", "created_at": - "2024-01-19T22:05:09+00:00", "updated_at": "2024-01-19T22:05:09+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_cf576db2b71611eeb569ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T22:05:09+00:00", "updated_at": - "2024-01-19T22:05:09+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_f59fe7ef15c643d4b2d75aecdbf251fc", "object": "Shipment"}], "rates": - [{"id": "rate_0900cbb8d1af4fe886b831f31d1ad551", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "Priority", "carrier": - "USPS", "rate": "6.95", "currency": "USD", "retail_rate": "10.20", "retail_currency": - "USD", "list_rate": "8.24", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 2, "shipment_id": "shp_f59fe7ef15c643d4b2d75aecdbf251fc", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_aaa7d56e1600467dbd28c0a4b67e72eb", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_f59fe7ef15c643d4b2d75aecdbf251fc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_b5d9ec0600514a5285748929c28f8456", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "First", "carrier": "USPS", - "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_f59fe7ef15c643d4b2d75aecdbf251fc", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_920e34eb6f854c6281f37a2b0d6eaaf1", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_f59fe7ef15c643d4b2d75aecdbf251fc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_bc9b3056aee74867bfcb785cb1842e19", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "Express", "carrier": - "USPS", "rate": "31.25", "currency": "USD", "retail_rate": "35.80", "retail_currency": - "USD", "list_rate": "31.25", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - false, "est_delivery_days": null, "shipment_id": "shp_f59fe7ef15c643d4b2d75aecdbf251fc", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], "id": "order_be1a4a2daf584c15b15b4de4683369c4", - "object": "Order"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '12214' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/orders/order_be1a4a2daf584c15b15b4de4683369c4 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaf215e798d07a0010ad2a - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.754082' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"order": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 N - Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "shipments": [{"parcel": {"weight": - "10.2"}}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '491' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/orders - response: - body: - string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": - "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", - "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", "type": "rate_error", - "message": "Unauthorized. Please check credentials and try again"}, {"carrier": - "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": - "rate_error", "message": "Unauthorized. Please check credentials and try again"}, - {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "created_at": "2024-01-19T22:06:42Z", "updated_at": "2024-01-19T22:06:43Z", - "customs_info": null, "from_address": {"id": "adr_072e622bb71711ee892cac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T22:06:42+00:00", "updated_at": - "2024-01-19T22:06:42+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "to_address": {"id": "adr_072cfbd3b71711ee96c9ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T22:06:42+00:00", "updated_at": "2024-01-19T22:06:42+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "buyer_address": {"id": "adr_072cfbd3b71711ee96c9ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T22:06:42+00:00", "updated_at": - "2024-01-19T22:06:42+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "return_address": {"id": - "adr_072e622bb71711ee892cac1f6bc539ae", "object": "Address", "created_at": - "2024-01-19T22:06:42+00:00", "updated_at": "2024-01-19T22:06:42+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T22:06:42Z", - "is_return": false, "messages": [{"carrier": "DhlEcs", "carrier_account_id": - "ca_b1a0a1bc45844159812e0224d53948ea", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_c3cbbd21bc97400bbbaed6d030909476", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_0d64fd488c1444cf9bc16f858703e28f", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_99007e1aeb66421faf82676f1199481e", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}], "mode": "test", "options": {"currency": - "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, - "status": "unknown", "tracking_code": null, "updated_at": "2024-01-19T22:06:42Z", - "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": - null, "from_address": {"id": "adr_072e622bb71711ee892cac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T22:06:42+00:00", "updated_at": "2024-01-19T22:06:42+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": "order_b00ef6adfc1c46029585c09ea97f7f88", - "parcel": {"id": "prcl_d96a06ce51684fb8a7a5d697c77dfe8f", "object": "Parcel", - "created_at": "2024-01-19T22:06:42Z", "updated_at": "2024-01-19T22:06:42Z", - "length": null, "width": null, "height": null, "predefined_package": null, - "weight": 10.2, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_07520752907a4295a8a0577666b35a9e", - "object": "Rate", "created_at": "2024-01-19T22:06:43Z", "updated_at": "2024-01-19T22:06:43Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "31.25", - "currency": "USD", "retail_rate": "35.80", "retail_currency": "USD", "list_rate": - "31.25", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_0083d100a313497fa7f0478b86438caa", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b8140328fc934e50baa873f67c569d11", - "object": "Rate", "created_at": "2024-01-19T22:06:43Z", "updated_at": "2024-01-19T22:06:43Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", - "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": - "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_0083d100a313497fa7f0478b86438caa", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_d48a28c6211c4b129322eddc088145c9", - "object": "Rate", "created_at": "2024-01-19T22:06:43Z", "updated_at": "2024-01-19T22:06:43Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", - "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": - "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_0083d100a313497fa7f0478b86438caa", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_12a5599322714761afe59cf87383e310", - "object": "Rate", "created_at": "2024-01-19T22:06:43Z", "updated_at": "2024-01-19T22:06:43Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_0083d100a313497fa7f0478b86438caa", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_bcf3b532b23c4c8cad0e96cd4b6f2fd1", "object": "Rate", "created_at": - "2024-01-19T22:06:43Z", "updated_at": "2024-01-19T22:06:43Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_0083d100a313497fa7f0478b86438caa", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_072cfbd3b71711ee96c9ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T22:06:42+00:00", "updated_at": "2024-01-19T22:06:42+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_072e622bb71711ee892cac1f6bc539ae", "object": "Address", "created_at": - "2024-01-19T22:06:42+00:00", "updated_at": "2024-01-19T22:06:42+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_072cfbd3b71711ee96c9ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T22:06:42+00:00", "updated_at": - "2024-01-19T22:06:42+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_0083d100a313497fa7f0478b86438caa", "object": "Shipment"}], "rates": - [{"id": "rate_07520752907a4295a8a0577666b35a9e", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "Express", "carrier": - "USPS", "rate": "31.25", "currency": "USD", "retail_rate": "35.80", "retail_currency": - "USD", "list_rate": "31.25", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - false, "est_delivery_days": null, "shipment_id": "shp_0083d100a313497fa7f0478b86438caa", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b8140328fc934e50baa873f67c569d11", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "Priority", "carrier": "USPS", "rate": "6.95", "currency": "USD", - "retail_rate": "10.20", "retail_currency": "USD", "list_rate": "8.24", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": - "shp_0083d100a313497fa7f0478b86438caa", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_d48a28c6211c4b129322eddc088145c9", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "GroundAdvantage", "carrier": - "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_0083d100a313497fa7f0478b86438caa", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_12a5599322714761afe59cf87383e310", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "First", "carrier": "USPS", "rate": "4.81", "currency": "USD", - "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_0083d100a313497fa7f0478b86438caa", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_bcf3b532b23c4c8cad0e96cd4b6f2fd1", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "ParcelSelect", "carrier": - "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_0083d100a313497fa7f0478b86438caa", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], "id": "order_b00ef6adfc1c46029585c09ea97f7f88", - "object": "Order"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '12214' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/orders/order_b00ef6adfc1c46029585c09ea97f7f88 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaf272e798d5250010ecb2 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.752539' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_orders_one_call_buy.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_orders_one_call_buy.yaml deleted file mode 100644 index c360b6d5..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_orders_one_call_buy.yaml +++ /dev/null @@ -1,1674 +0,0 @@ -interactions: -- request: - body: '{"order": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 N - Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "shipments": [{"parcel": {"weight": - "10.2"}}], "carrier": "USPS", "service": "First", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '591' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/orders - response: - body: - string: '{"messages": [], "mode": "test", "reference": "", "is_return": false, - "options": {"currency": "USD", "payment": {"type": "SENDER"}}, "created_at": - "2024-01-19T21:41:00Z", "updated_at": "2024-01-19T21:41:00Z", "customs_info": - null, "from_address": {"id": "adr_6ffbd0f5b71311ee975cac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:41:00+00:00", "updated_at": "2024-01-19T21:41:00+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "to_address": {"id": "adr_6ffa7cc8b71311ee9870ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:41:00+00:00", "updated_at": - "2024-01-19T21:41:00+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": - "179 N HARBOR DR", "street2": "", "city": "REDONDO BEACH", "state": "CA", - "zip": "90277-2506", "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "buyer_address": {"id": "adr_6ffa7cc8b71311ee9870ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:41:00+00:00", "updated_at": "2024-01-19T21:41:00+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "return_address": {"id": "adr_6ffbd0f5b71311ee975cac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:41:00+00:00", "updated_at": "2024-01-19T21:41:00+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T21:41:00Z", - "is_return": false, "messages": [], "mode": "test", "options": {"currency": - "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, - "status": "unknown", "tracking_code": "9400100207552010707624", "updated_at": - "2024-01-19T21:41:01Z", "batch_id": null, "batch_status": null, "batch_message": - null, "customs_info": null, "from_address": {"id": "adr_6ffbd0f5b71311ee975cac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:41:00+00:00", "updated_at": - "2024-01-19T21:41:00+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": "order_19252a72d5e842a988e3a776cc3825df", "parcel": - {"id": "prcl_d2fa368783e34a63984048f7e4195f97", "object": "Parcel", "created_at": - "2024-01-19T21:41:00Z", "updated_at": "2024-01-19T21:41:00Z", "length": null, - "width": null, "height": null, "predefined_package": null, "weight": 10.2, - "mode": "test"}, "postage_label": {"object": "PostageLabel", "id": "pl_8dea8cf6e5624d149b8ec5eede8fe324", - "created_at": "2024-01-19T21:41:01Z", "updated_at": "2024-01-19T21:41:01Z", - "date_advance": 0, "integrated_form": "none", "label_date": "2024-01-19T21:41:01Z", - "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": - "image/png", "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e84cb1f227b69f47e098494d9950a28d37.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_104fbc9045af4099a0b6d679aad9e96d", "object": - "Rate", "created_at": "2024-01-19T21:41:00Z", "updated_at": "2024-01-19T21:41:00Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "31.25", - "currency": "USD", "retail_rate": "35.80", "retail_currency": "USD", "list_rate": - "31.25", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_52ca0171eee7472186bb4e287b79cd0c", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_330b37e88e5241fba2f83133a2c74cc9", - "object": "Rate", "created_at": "2024-01-19T21:41:00Z", "updated_at": "2024-01-19T21:41:00Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", - "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": - "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_52ca0171eee7472186bb4e287b79cd0c", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_9ab5c8c508504dbb9b3750e1465a8ad4", - "object": "Rate", "created_at": "2024-01-19T21:41:00Z", "updated_at": "2024-01-19T21:41:00Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", - "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": - "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_52ca0171eee7472186bb4e287b79cd0c", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_ebd4a1a455e54eecb92f42250768eb59", - "object": "Rate", "created_at": "2024-01-19T21:41:00Z", "updated_at": "2024-01-19T21:41:00Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_52ca0171eee7472186bb4e287b79cd0c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_dad332e765dc47b3a4fc03d4f072c964", "object": "Rate", "created_at": - "2024-01-19T21:41:00Z", "updated_at": "2024-01-19T21:41:00Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_52ca0171eee7472186bb4e287b79cd0c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_ebd4a1a455e54eecb92f42250768eb59", - "object": "Rate", "created_at": "2024-01-19T21:41:01Z", "updated_at": "2024-01-19T21:41:01Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_52ca0171eee7472186bb4e287b79cd0c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - "tracker": {"id": "trk_1283fa3ec9374b4f939ca13020bd4b83", "object": "Tracker", - "mode": "test", "tracking_code": "9400100207552010707624", "status": "unknown", - "status_detail": "unknown", "created_at": "2024-01-19T21:41:01Z", "updated_at": - "2024-01-19T21:41:01Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_52ca0171eee7472186bb4e287b79cd0c", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzEyODNmYTNlYzkzNzRiNGY5MzljYTEzMDIwYmQ0Yjgz"}, - "to_address": {"id": "adr_6ffa7cc8b71311ee9870ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:41:00+00:00", "updated_at": "2024-01-19T21:41:00+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_6ffbd0f5b71311ee975cac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:41:00+00:00", "updated_at": - "2024-01-19T21:41:00+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_6ffa7cc8b71311ee9870ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:41:00+00:00", "updated_at": "2024-01-19T21:41:00+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "4.81000", "charged": true, "refunded": false}], "id": "shp_52ca0171eee7472186bb4e287b79cd0c", - "object": "Shipment"}], "rates": [{"id": "rate_104fbc9045af4099a0b6d679aad9e96d", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", - "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_52ca0171eee7472186bb4e287b79cd0c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_330b37e88e5241fba2f83133a2c74cc9", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "Priority", "carrier": - "USPS", "rate": "6.95", "currency": "USD", "retail_rate": "10.20", "retail_currency": - "USD", "list_rate": "8.24", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 2, "shipment_id": "shp_52ca0171eee7472186bb4e287b79cd0c", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_9ab5c8c508504dbb9b3750e1465a8ad4", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_52ca0171eee7472186bb4e287b79cd0c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_ebd4a1a455e54eecb92f42250768eb59", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "First", "carrier": "USPS", - "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_52ca0171eee7472186bb4e287b79cd0c", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_dad332e765dc47b3a4fc03d4f072c964", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_52ca0171eee7472186bb4e287b79cd0c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "id": "order_19252a72d5e842a988e3a776cc3825df", "object": "Order"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '12715' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/orders/order_19252a72d5e842a988e3a776cc3825df - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaec6ce78b9ec1000cdb2c - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.090692' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"order": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 N - Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "shipments": [{"parcel": {"weight": - "10.2"}}], "carrier": "USPS", "service": "First", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '591' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/orders - response: - body: - string: '{"messages": [], "mode": "test", "reference": "", "is_return": false, - "options": {"currency": "USD", "payment": {"type": "SENDER"}}, "created_at": - "2024-01-19T21:43:28Z", "updated_at": "2024-01-19T21:43:28Z", "customs_info": - null, "from_address": {"id": "adr_c8168112b71311eeb779ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:43:28+00:00", "updated_at": "2024-01-19T21:43:28+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "to_address": {"id": "adr_c8153325b71311eeb53b3cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:43:28+00:00", "updated_at": - "2024-01-19T21:43:28+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": - "179 N HARBOR DR", "street2": "", "city": "REDONDO BEACH", "state": "CA", - "zip": "90277-2506", "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "buyer_address": {"id": "adr_c8153325b71311eeb53b3cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:43:28+00:00", "updated_at": "2024-01-19T21:43:28+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "return_address": {"id": "adr_c8168112b71311eeb779ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:43:28+00:00", "updated_at": "2024-01-19T21:43:28+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T21:43:28Z", - "is_return": false, "messages": [], "mode": "test", "options": {"currency": - "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, - "status": "unknown", "tracking_code": "9400100207552010708003", "updated_at": - "2024-01-19T21:43:29Z", "batch_id": null, "batch_status": null, "batch_message": - null, "customs_info": null, "from_address": {"id": "adr_c8168112b71311eeb779ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:43:28+00:00", "updated_at": - "2024-01-19T21:43:28+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": "order_bfc986fe1ccc4685999863f6133a858c", "parcel": - {"id": "prcl_d8fb639d45d34d21a7fe60768455a70d", "object": "Parcel", "created_at": - "2024-01-19T21:43:28Z", "updated_at": "2024-01-19T21:43:28Z", "length": null, - "width": null, "height": null, "predefined_package": null, "weight": 10.2, - "mode": "test"}, "postage_label": {"object": "PostageLabel", "id": "pl_248d4d257cf745a4836cccaa262b149a", - "created_at": "2024-01-19T21:43:28Z", "updated_at": "2024-01-19T21:43:29Z", - "date_advance": 0, "integrated_form": "none", "label_date": "2024-01-19T21:43:28Z", - "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": - "image/png", "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e831228967a61646ae94ed51babcdc3f17.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_1e235cbf86964afa85e1cef745b09d9f", "object": - "Rate", "created_at": "2024-01-19T21:43:28Z", "updated_at": "2024-01-19T21:43:28Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", - "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": - "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_62b569b3b4cc4a9789b70b8200ec594b", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_5da7ae6f219747ada67423d0e9ce282d", - "object": "Rate", "created_at": "2024-01-19T21:43:28Z", "updated_at": "2024-01-19T21:43:28Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", - "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": - "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_62b569b3b4cc4a9789b70b8200ec594b", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_a7ef6eb32eac48299559b6cc21219d12", - "object": "Rate", "created_at": "2024-01-19T21:43:28Z", "updated_at": "2024-01-19T21:43:28Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_62b569b3b4cc4a9789b70b8200ec594b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_b5b3daea93a945a4b5fb4cfb1a20a677", "object": "Rate", "created_at": - "2024-01-19T21:43:28Z", "updated_at": "2024-01-19T21:43:28Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_62b569b3b4cc4a9789b70b8200ec594b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_20ff3370e4834163b3c51fdcd2d873d3", "object": "Rate", "created_at": - "2024-01-19T21:43:28Z", "updated_at": "2024-01-19T21:43:28Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", - "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_62b569b3b4cc4a9789b70b8200ec594b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_a7ef6eb32eac48299559b6cc21219d12", - "object": "Rate", "created_at": "2024-01-19T21:43:28Z", "updated_at": "2024-01-19T21:43:28Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_62b569b3b4cc4a9789b70b8200ec594b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - "tracker": {"id": "trk_bf6a18a2bbd342ddaf9c8a28a2f12af3", "object": "Tracker", - "mode": "test", "tracking_code": "9400100207552010708003", "status": "unknown", - "status_detail": "unknown", "created_at": "2024-01-19T21:43:29Z", "updated_at": - "2024-01-19T21:43:29Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_62b569b3b4cc4a9789b70b8200ec594b", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrX2JmNmExOGEyYmJkMzQyZGRhZjljOGEyOGEyZjEyYWYz"}, - "to_address": {"id": "adr_c8153325b71311eeb53b3cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:43:28+00:00", "updated_at": "2024-01-19T21:43:28+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_c8168112b71311eeb779ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:43:28+00:00", "updated_at": - "2024-01-19T21:43:28+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_c8153325b71311eeb53b3cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:43:28+00:00", "updated_at": "2024-01-19T21:43:28+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "4.81000", "charged": true, "refunded": false}], "id": "shp_62b569b3b4cc4a9789b70b8200ec594b", - "object": "Shipment"}], "rates": [{"id": "rate_1e235cbf86964afa85e1cef745b09d9f", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "Priority", "carrier": "USPS", "rate": "6.95", "currency": "USD", - "retail_rate": "10.20", "retail_currency": "USD", "list_rate": "8.24", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": - "shp_62b569b3b4cc4a9789b70b8200ec594b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_5da7ae6f219747ada67423d0e9ce282d", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "GroundAdvantage", "carrier": - "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_62b569b3b4cc4a9789b70b8200ec594b", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_a7ef6eb32eac48299559b6cc21219d12", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "First", "carrier": "USPS", "rate": "4.81", "currency": "USD", - "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_62b569b3b4cc4a9789b70b8200ec594b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_b5b3daea93a945a4b5fb4cfb1a20a677", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "ParcelSelect", "carrier": - "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_62b569b3b4cc4a9789b70b8200ec594b", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_20ff3370e4834163b3c51fdcd2d873d3", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", - "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_62b569b3b4cc4a9789b70b8200ec594b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "id": "order_bfc986fe1ccc4685999863f6133a858c", "object": "Order"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '12715' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/orders/order_bfc986fe1ccc4685999863f6133a858c - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaed00e78ba3ee000d384a - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.070184' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"order": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 N - Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "shipments": [{"parcel": {"weight": - "10.2"}}], "carrier": "USPS", "service": "First", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '591' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/orders - response: - body: - string: '{"messages": [], "mode": "test", "reference": "", "is_return": false, - "options": {"currency": "USD", "payment": {"type": "SENDER"}}, "created_at": - "2024-01-19T21:47:20Z", "updated_at": "2024-01-19T21:47:20Z", "customs_info": - null, "from_address": {"id": "adr_525e5804b71411eea3b3ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:47:20+00:00", "updated_at": "2024-01-19T21:47:20+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "to_address": {"id": "adr_525d2437b71411eeb321ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:47:20+00:00", "updated_at": - "2024-01-19T21:47:20+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": - "179 N HARBOR DR", "street2": "", "city": "REDONDO BEACH", "state": "CA", - "zip": "90277-2506", "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "buyer_address": {"id": "adr_525d2437b71411eeb321ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:47:20+00:00", "updated_at": "2024-01-19T21:47:20+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "return_address": {"id": "adr_525e5804b71411eea3b3ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:47:20+00:00", "updated_at": "2024-01-19T21:47:20+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T21:47:20Z", - "is_return": false, "messages": [], "mode": "test", "options": {"currency": - "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, - "status": "unknown", "tracking_code": "9400100207552010708423", "updated_at": - "2024-01-19T21:47:21Z", "batch_id": null, "batch_status": null, "batch_message": - null, "customs_info": null, "from_address": {"id": "adr_525e5804b71411eea3b3ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:47:20+00:00", "updated_at": - "2024-01-19T21:47:20+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": "order_20487d47440f4f24b75d793bc491ab2a", "parcel": - {"id": "prcl_2ff6d2607f4c479b85de2423e2dfb23a", "object": "Parcel", "created_at": - "2024-01-19T21:47:20Z", "updated_at": "2024-01-19T21:47:20Z", "length": null, - "width": null, "height": null, "predefined_package": null, "weight": 10.2, - "mode": "test"}, "postage_label": {"object": "PostageLabel", "id": "pl_31417c611c8542908d234686fd1856ed", - "created_at": "2024-01-19T21:47:20Z", "updated_at": "2024-01-19T21:47:21Z", - "date_advance": 0, "integrated_form": "none", "label_date": "2024-01-19T21:47:20Z", - "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": - "image/png", "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8de14695d6bff486194d5b97156421939.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_0343b2ab7c54461ba83d9a4f06e67343", "object": - "Rate", "created_at": "2024-01-19T21:47:20Z", "updated_at": "2024-01-19T21:47:20Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", - "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": - "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_ab0472a0ecf341998013db5b03a85ff6", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_56c0251cafbf4658ae459d67af1097b7", - "object": "Rate", "created_at": "2024-01-19T21:47:20Z", "updated_at": "2024-01-19T21:47:20Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", - "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": - "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_ab0472a0ecf341998013db5b03a85ff6", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_d17db50d0f564b9fbce76771251e8d06", - "object": "Rate", "created_at": "2024-01-19T21:47:20Z", "updated_at": "2024-01-19T21:47:20Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_ab0472a0ecf341998013db5b03a85ff6", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_c1921cce687a4a61a79c2506c7c590e8", "object": "Rate", "created_at": - "2024-01-19T21:47:20Z", "updated_at": "2024-01-19T21:47:20Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_ab0472a0ecf341998013db5b03a85ff6", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_7b8d2177c1df433a8cd42b7d6a89d120", "object": "Rate", "created_at": - "2024-01-19T21:47:20Z", "updated_at": "2024-01-19T21:47:20Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", - "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_ab0472a0ecf341998013db5b03a85ff6", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_d17db50d0f564b9fbce76771251e8d06", - "object": "Rate", "created_at": "2024-01-19T21:47:21Z", "updated_at": "2024-01-19T21:47:21Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_ab0472a0ecf341998013db5b03a85ff6", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - "tracker": {"id": "trk_7ce3fa1fd66b493a9effbaab240f1462", "object": "Tracker", - "mode": "test", "tracking_code": "9400100207552010708423", "status": "unknown", - "status_detail": "unknown", "created_at": "2024-01-19T21:47:21Z", "updated_at": - "2024-01-19T21:47:21Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_ab0472a0ecf341998013db5b03a85ff6", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzdjZTNmYTFmZDY2YjQ5M2E5ZWZmYmFhYjI0MGYxNDYy"}, - "to_address": {"id": "adr_525d2437b71411eeb321ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T21:47:20+00:00", "updated_at": "2024-01-19T21:47:20+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_525e5804b71411eea3b3ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:47:20+00:00", "updated_at": - "2024-01-19T21:47:20+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_525d2437b71411eeb321ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:47:20+00:00", "updated_at": "2024-01-19T21:47:20+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "4.81000", "charged": true, "refunded": false}], "id": "shp_ab0472a0ecf341998013db5b03a85ff6", - "object": "Shipment"}], "rates": [{"id": "rate_0343b2ab7c54461ba83d9a4f06e67343", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "Priority", "carrier": "USPS", "rate": "6.95", "currency": "USD", - "retail_rate": "10.20", "retail_currency": "USD", "list_rate": "8.24", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": - "shp_ab0472a0ecf341998013db5b03a85ff6", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_56c0251cafbf4658ae459d67af1097b7", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "GroundAdvantage", "carrier": - "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_ab0472a0ecf341998013db5b03a85ff6", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_d17db50d0f564b9fbce76771251e8d06", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "First", "carrier": "USPS", "rate": "4.81", "currency": "USD", - "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_ab0472a0ecf341998013db5b03a85ff6", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_c1921cce687a4a61a79c2506c7c590e8", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "ParcelSelect", "carrier": - "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_ab0472a0ecf341998013db5b03a85ff6", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_7b8d2177c1df433a8cd42b7d6a89d120", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", - "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_ab0472a0ecf341998013db5b03a85ff6", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "id": "order_20487d47440f4f24b75d793bc491ab2a", "object": "Order"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '12715' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/orders/order_20487d47440f4f24b75d793bc491ab2a - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdac65aaede8e78bac8e00112e44 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '1.064388' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"order": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 N - Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "shipments": [{"parcel": {"weight": - "10.2"}}], "carrier": "USPS", "service": "First", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '591' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/orders - response: - body: - string: '{"messages": [], "mode": "test", "reference": "", "is_return": false, - "options": {"currency": "USD", "payment": {"type": "SENDER"}}, "created_at": - "2024-01-19T21:49:12Z", "updated_at": "2024-01-19T21:49:12Z", "customs_info": - null, "from_address": {"id": "adr_956c568cb71411eeb6883cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:49:12+00:00", "updated_at": "2024-01-19T21:49:12+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "to_address": {"id": "adr_956a9a08b71411ee87faac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:49:12+00:00", "updated_at": - "2024-01-19T21:49:13+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": - "179 N HARBOR DR", "street2": "", "city": "REDONDO BEACH", "state": "CA", - "zip": "90277-2506", "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "buyer_address": {"id": "adr_956a9a08b71411ee87faac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:49:12+00:00", "updated_at": "2024-01-19T21:49:13+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "return_address": {"id": "adr_956c568cb71411eeb6883cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:49:12+00:00", "updated_at": "2024-01-19T21:49:12+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T21:49:12Z", - "is_return": false, "messages": [], "mode": "test", "options": {"currency": - "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, - "status": "unknown", "tracking_code": "9400100207552010708935", "updated_at": - "2024-01-19T21:49:15Z", "batch_id": null, "batch_status": null, "batch_message": - null, "customs_info": null, "from_address": {"id": "adr_956c568cb71411eeb6883cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:49:12+00:00", "updated_at": - "2024-01-19T21:49:12+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": "order_5df737ead783486a82c3a86f7e703294", "parcel": - {"id": "prcl_c14749271c1048de93aae86d29d6b722", "object": "Parcel", "created_at": - "2024-01-19T21:49:12Z", "updated_at": "2024-01-19T21:49:12Z", "length": null, - "width": null, "height": null, "predefined_package": null, "weight": 10.2, - "mode": "test"}, "postage_label": {"object": "PostageLabel", "id": "pl_b864c00bae034856a80fe5226a1fd8ae", - "created_at": "2024-01-19T21:49:13Z", "updated_at": "2024-01-19T21:49:15Z", - "date_advance": 0, "integrated_form": "none", "label_date": "2024-01-19T21:49:13Z", - "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": - "image/png", "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8bb4b250e1c9a41718a5133d0aca59475.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_e2c5db5fc379488ca331d84f0ca05fd4", "object": - "Rate", "created_at": "2024-01-19T21:49:13Z", "updated_at": "2024-01-19T21:49:13Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "31.25", - "currency": "USD", "retail_rate": "35.80", "retail_currency": "USD", "list_rate": - "31.25", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_195c3aeb2f404a62bcba531148dc809d", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_69b201f5050f4605b3d7e4db164dee62", - "object": "Rate", "created_at": "2024-01-19T21:49:13Z", "updated_at": "2024-01-19T21:49:13Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", - "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": - "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_195c3aeb2f404a62bcba531148dc809d", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_8a44859bd381401b80e016d96bddbf26", - "object": "Rate", "created_at": "2024-01-19T21:49:13Z", "updated_at": "2024-01-19T21:49:13Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", - "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": - "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_195c3aeb2f404a62bcba531148dc809d", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_0043b24e79784276aa96d2ea8b56f64d", - "object": "Rate", "created_at": "2024-01-19T21:49:13Z", "updated_at": "2024-01-19T21:49:13Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_195c3aeb2f404a62bcba531148dc809d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_03ae235ec63a4ea5b9fb6c17a322b609", "object": "Rate", "created_at": - "2024-01-19T21:49:13Z", "updated_at": "2024-01-19T21:49:13Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_195c3aeb2f404a62bcba531148dc809d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_0043b24e79784276aa96d2ea8b56f64d", - "object": "Rate", "created_at": "2024-01-19T21:49:13Z", "updated_at": "2024-01-19T21:49:13Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_195c3aeb2f404a62bcba531148dc809d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - "tracker": {"id": "trk_9c4f4b2ed904405fa64d7f384567f196", "object": "Tracker", - "mode": "test", "tracking_code": "9400100207552010708935", "status": "unknown", - "status_detail": "unknown", "created_at": "2024-01-19T21:49:15Z", "updated_at": - "2024-01-19T21:49:15Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_195c3aeb2f404a62bcba531148dc809d", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzljNGY0YjJlZDkwNDQwNWZhNjRkN2YzODQ1NjdmMTk2"}, - "to_address": {"id": "adr_956a9a08b71411ee87faac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T21:49:12+00:00", "updated_at": "2024-01-19T21:49:13+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_956c568cb71411eeb6883cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:49:12+00:00", "updated_at": - "2024-01-19T21:49:12+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_956a9a08b71411ee87faac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:49:12+00:00", "updated_at": "2024-01-19T21:49:13+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "4.81000", "charged": true, "refunded": false}], "id": "shp_195c3aeb2f404a62bcba531148dc809d", - "object": "Shipment"}], "rates": [{"id": "rate_e2c5db5fc379488ca331d84f0ca05fd4", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", - "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_195c3aeb2f404a62bcba531148dc809d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_69b201f5050f4605b3d7e4db164dee62", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "Priority", "carrier": - "USPS", "rate": "6.95", "currency": "USD", "retail_rate": "10.20", "retail_currency": - "USD", "list_rate": "8.24", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 2, "shipment_id": "shp_195c3aeb2f404a62bcba531148dc809d", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_8a44859bd381401b80e016d96bddbf26", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_195c3aeb2f404a62bcba531148dc809d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_0043b24e79784276aa96d2ea8b56f64d", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "First", "carrier": "USPS", - "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_195c3aeb2f404a62bcba531148dc809d", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_03ae235ec63a4ea5b9fb6c17a322b609", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_195c3aeb2f404a62bcba531148dc809d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "id": "order_5df737ead783486a82c3a86f7e703294", "object": "Order"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '12715' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/orders/order_5df737ead783486a82c3a86f7e703294 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdad65aaee58e78bb4b000117194 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '2.929349' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"order": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 N - Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "shipments": [{"parcel": {"weight": - "10.2"}}], "carrier": "USPS", "service": "First", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '591' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/orders - response: - body: - string: '{"messages": [], "mode": "test", "reference": "", "is_return": false, - "options": {"currency": "USD", "payment": {"type": "SENDER"}}, "created_at": - "2024-01-19T21:58:33Z", "updated_at": "2024-01-19T21:58:33Z", "customs_info": - null, "from_address": {"id": "adr_e3c0824cb71511eea6403cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:58:33+00:00", "updated_at": "2024-01-19T21:58:33+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "to_address": {"id": "adr_e3beb71db71511eeaa38ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:58:33+00:00", "updated_at": - "2024-01-19T21:58:34+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": - "179 N HARBOR DR", "street2": "", "city": "REDONDO BEACH", "state": "CA", - "zip": "90277-2506", "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "buyer_address": {"id": "adr_e3beb71db71511eeaa38ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:58:33+00:00", "updated_at": "2024-01-19T21:58:34+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "return_address": {"id": "adr_e3c0824cb71511eea6403cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:58:33+00:00", "updated_at": "2024-01-19T21:58:33+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T21:58:33Z", - "is_return": false, "messages": [], "mode": "test", "options": {"currency": - "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, - "status": "unknown", "tracking_code": "9400100207552010711430", "updated_at": - "2024-01-19T21:58:34Z", "batch_id": null, "batch_status": null, "batch_message": - null, "customs_info": null, "from_address": {"id": "adr_e3c0824cb71511eea6403cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:58:33+00:00", "updated_at": - "2024-01-19T21:58:33+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": "order_d5d6acd940224936a65b4ba0f6fc38bd", "parcel": - {"id": "prcl_b0dc0d96cc3e4c1caa9da3e60d500eba", "object": "Parcel", "created_at": - "2024-01-19T21:58:33Z", "updated_at": "2024-01-19T21:58:33Z", "length": null, - "width": null, "height": null, "predefined_package": null, "weight": 10.2, - "mode": "test"}, "postage_label": {"object": "PostageLabel", "id": "pl_2f0f75b9fde64ac48a6149cde9be4f9e", - "created_at": "2024-01-19T21:58:34Z", "updated_at": "2024-01-19T21:58:34Z", - "date_advance": 0, "integrated_form": "none", "label_date": "2024-01-19T21:58:34Z", - "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": - "image/png", "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e854b61aa3699d48a5a6cd529d037ef43c.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_2939e250b0054cdca164f7fa19ff40b6", "object": - "Rate", "created_at": "2024-01-19T21:58:33Z", "updated_at": "2024-01-19T21:58:33Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", - "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": - "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_6fd6121d927940a3bde5dfbc8aefca6c", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_ed9895617f354f0fa9deb07348cda299", - "object": "Rate", "created_at": "2024-01-19T21:58:33Z", "updated_at": "2024-01-19T21:58:33Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_6fd6121d927940a3bde5dfbc8aefca6c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_2ba7740542ed429aa263ffc5e3f1af6f", "object": "Rate", "created_at": - "2024-01-19T21:58:33Z", "updated_at": "2024-01-19T21:58:33Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_6fd6121d927940a3bde5dfbc8aefca6c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_7185ac0f7ecb4d2fa1bd51ea97109838", "object": "Rate", "created_at": - "2024-01-19T21:58:33Z", "updated_at": "2024-01-19T21:58:33Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", - "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_6fd6121d927940a3bde5dfbc8aefca6c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_f6abd53e5cf94c19bb21421d80774475", "object": "Rate", "created_at": - "2024-01-19T21:58:33Z", "updated_at": "2024-01-19T21:58:33Z", "mode": "test", - "service": "Priority", "carrier": "USPS", "rate": "6.95", "currency": "USD", - "retail_rate": "10.20", "retail_currency": "USD", "list_rate": "8.24", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": - "shp_6fd6121d927940a3bde5dfbc8aefca6c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_ed9895617f354f0fa9deb07348cda299", - "object": "Rate", "created_at": "2024-01-19T21:58:34Z", "updated_at": "2024-01-19T21:58:34Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_6fd6121d927940a3bde5dfbc8aefca6c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - "tracker": {"id": "trk_d0f88c1029d242f4a1272d0273b766e1", "object": "Tracker", - "mode": "test", "tracking_code": "9400100207552010711430", "status": "unknown", - "status_detail": "unknown", "created_at": "2024-01-19T21:58:34Z", "updated_at": - "2024-01-19T21:58:34Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_6fd6121d927940a3bde5dfbc8aefca6c", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrX2QwZjg4YzEwMjlkMjQyZjRhMTI3MmQwMjczYjc2NmUx"}, - "to_address": {"id": "adr_e3beb71db71511eeaa38ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:58:33+00:00", "updated_at": "2024-01-19T21:58:34+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_e3c0824cb71511eea6403cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:58:33+00:00", "updated_at": - "2024-01-19T21:58:33+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_e3beb71db71511eeaa38ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:58:33+00:00", "updated_at": "2024-01-19T21:58:34+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "4.81000", "charged": true, "refunded": false}], "id": "shp_6fd6121d927940a3bde5dfbc8aefca6c", - "object": "Shipment"}], "rates": [{"id": "rate_2939e250b0054cdca164f7fa19ff40b6", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_6fd6121d927940a3bde5dfbc8aefca6c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_ed9895617f354f0fa9deb07348cda299", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "First", "carrier": "USPS", - "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_6fd6121d927940a3bde5dfbc8aefca6c", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_2ba7740542ed429aa263ffc5e3f1af6f", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_6fd6121d927940a3bde5dfbc8aefca6c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_7185ac0f7ecb4d2fa1bd51ea97109838", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "Express", "carrier": - "USPS", "rate": "31.25", "currency": "USD", "retail_rate": "35.80", "retail_currency": - "USD", "list_rate": "31.25", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - false, "est_delivery_days": null, "shipment_id": "shp_6fd6121d927940a3bde5dfbc8aefca6c", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f6abd53e5cf94c19bb21421d80774475", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "Priority", "carrier": "USPS", "rate": "6.95", "currency": "USD", - "retail_rate": "10.20", "retail_currency": "USD", "list_rate": "8.24", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": - "shp_6fd6121d927940a3bde5dfbc8aefca6c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "id": "order_d5d6acd940224936a65b4ba0f6fc38bd", "object": "Order"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '12715' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/orders/order_d5d6acd940224936a65b4ba0f6fc38bd - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaf089e798bf57000f7580 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.205888' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"order": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 N - Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "shipments": [{"parcel": {"weight": - "10.2"}}], "carrier": "USPS", "service": "First", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '591' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/orders - response: - body: - string: '{"messages": [], "mode": "test", "reference": "", "is_return": false, - "options": {"currency": "USD", "payment": {"type": "SENDER"}}, "created_at": - "2024-01-19T22:01:28Z", "updated_at": "2024-01-19T22:01:28Z", "customs_info": - null, "from_address": {"id": "adr_4bd0d62db71611ee9990ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T22:01:28+00:00", "updated_at": "2024-01-19T22:01:28+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "to_address": {"id": "adr_4bc5ddd0b71611ee89baac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:01:28+00:00", "updated_at": - "2024-01-19T22:01:28+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": - "179 N HARBOR DR", "street2": "", "city": "REDONDO BEACH", "state": "CA", - "zip": "90277-2506", "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "buyer_address": {"id": "adr_4bc5ddd0b71611ee89baac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T22:01:28+00:00", "updated_at": "2024-01-19T22:01:28+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "return_address": {"id": "adr_4bd0d62db71611ee9990ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T22:01:28+00:00", "updated_at": "2024-01-19T22:01:28+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T22:01:28Z", - "is_return": false, "messages": [], "mode": "test", "options": {"currency": - "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, - "status": "unknown", "tracking_code": "9400100207552010711843", "updated_at": - "2024-01-19T22:01:29Z", "batch_id": null, "batch_status": null, "batch_message": - null, "customs_info": null, "from_address": {"id": "adr_4bd0d62db71611ee9990ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T22:01:28+00:00", "updated_at": - "2024-01-19T22:01:28+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": "order_f0e7f0af52d740488c8a4b62aa2f1bd1", "parcel": - {"id": "prcl_ec995b8d52ec4b79921bbe69950aa504", "object": "Parcel", "created_at": - "2024-01-19T22:01:28Z", "updated_at": "2024-01-19T22:01:28Z", "length": null, - "width": null, "height": null, "predefined_package": null, "weight": 10.2, - "mode": "test"}, "postage_label": {"object": "PostageLabel", "id": "pl_d2b0ed08982346539585d663ecc1ff9a", - "created_at": "2024-01-19T22:01:28Z", "updated_at": "2024-01-19T22:01:29Z", - "date_advance": 0, "integrated_form": "none", "label_date": "2024-01-19T22:01:28Z", - "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": - "image/png", "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8fe370bfa8dfa40d5bbe6d899889c7b47.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_fb37f09c6dc245dab228e01451610a74", "object": - "Rate", "created_at": "2024-01-19T22:01:28Z", "updated_at": "2024-01-19T22:01:28Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "31.25", - "currency": "USD", "retail_rate": "35.80", "retail_currency": "USD", "list_rate": - "31.25", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_d39bfb57e2a34b868d9afc688eb33f4b", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_1aa90c18dc074e269c31605043358e67", - "object": "Rate", "created_at": "2024-01-19T22:01:28Z", "updated_at": "2024-01-19T22:01:28Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", - "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": - "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_d39bfb57e2a34b868d9afc688eb33f4b", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_26bcf7dd10e047c682c32f15bdd25cc9", - "object": "Rate", "created_at": "2024-01-19T22:01:28Z", "updated_at": "2024-01-19T22:01:28Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", - "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": - "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_d39bfb57e2a34b868d9afc688eb33f4b", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_7ca5e83243e947c18d66b1c6cf6554ce", - "object": "Rate", "created_at": "2024-01-19T22:01:28Z", "updated_at": "2024-01-19T22:01:28Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_d39bfb57e2a34b868d9afc688eb33f4b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_5317f5e53a8c4c56a0b36e7e6e9f5cb2", "object": "Rate", "created_at": - "2024-01-19T22:01:28Z", "updated_at": "2024-01-19T22:01:28Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_d39bfb57e2a34b868d9afc688eb33f4b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_7ca5e83243e947c18d66b1c6cf6554ce", - "object": "Rate", "created_at": "2024-01-19T22:01:29Z", "updated_at": "2024-01-19T22:01:29Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_d39bfb57e2a34b868d9afc688eb33f4b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - "tracker": {"id": "trk_e24c0025b8914fafb8ce8386401b0a2c", "object": "Tracker", - "mode": "test", "tracking_code": "9400100207552010711843", "status": "unknown", - "status_detail": "unknown", "created_at": "2024-01-19T22:01:29Z", "updated_at": - "2024-01-19T22:01:29Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_d39bfb57e2a34b868d9afc688eb33f4b", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrX2UyNGMwMDI1Yjg5MTRmYWZiOGNlODM4NjQwMWIwYTJj"}, - "to_address": {"id": "adr_4bc5ddd0b71611ee89baac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T22:01:28+00:00", "updated_at": "2024-01-19T22:01:28+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_4bd0d62db71611ee9990ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T22:01:28+00:00", "updated_at": - "2024-01-19T22:01:28+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_4bc5ddd0b71611ee89baac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T22:01:28+00:00", "updated_at": "2024-01-19T22:01:28+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "4.81000", "charged": true, "refunded": false}], "id": "shp_d39bfb57e2a34b868d9afc688eb33f4b", - "object": "Shipment"}], "rates": [{"id": "rate_fb37f09c6dc245dab228e01451610a74", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", - "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_d39bfb57e2a34b868d9afc688eb33f4b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_1aa90c18dc074e269c31605043358e67", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "Priority", "carrier": - "USPS", "rate": "6.95", "currency": "USD", "retail_rate": "10.20", "retail_currency": - "USD", "list_rate": "8.24", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 2, "shipment_id": "shp_d39bfb57e2a34b868d9afc688eb33f4b", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_26bcf7dd10e047c682c32f15bdd25cc9", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_d39bfb57e2a34b868d9afc688eb33f4b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_7ca5e83243e947c18d66b1c6cf6554ce", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "First", "carrier": "USPS", - "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_d39bfb57e2a34b868d9afc688eb33f4b", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_5317f5e53a8c4c56a0b36e7e6e9f5cb2", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_d39bfb57e2a34b868d9afc688eb33f4b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "id": "order_f0e7f0af52d740488c8a4b62aa2f1bd1", "object": "Order"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '12715' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/orders/order_f0e7f0af52d740488c8a4b62aa2f1bd1 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf138e798c4a200100573 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.073007' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"order": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 N - Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "shipments": [{"parcel": {"weight": - "10.2"}}], "carrier": "USPS", "service": "First", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '591' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/orders - response: - body: - string: '{"messages": [], "mode": "test", "reference": "", "is_return": false, - "options": {"currency": "USD", "payment": {"type": "SENDER"}}, "created_at": - "2024-01-19T22:05:14Z", "updated_at": "2024-01-19T22:05:14Z", "customs_info": - null, "from_address": {"id": "adr_d2c19494b71611eeb6acac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T22:05:14+00:00", "updated_at": "2024-01-19T22:05:14+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "to_address": {"id": "adr_d2bfe7ecb71611eeb2363cecef1b359e", - "object": "Address", "created_at": "2024-01-19T22:05:14+00:00", "updated_at": - "2024-01-19T22:05:15+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": - "179 N HARBOR DR", "street2": "", "city": "REDONDO BEACH", "state": "CA", - "zip": "90277-2506", "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "buyer_address": {"id": "adr_d2bfe7ecb71611eeb2363cecef1b359e", "object": - "Address", "created_at": "2024-01-19T22:05:14+00:00", "updated_at": "2024-01-19T22:05:15+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "return_address": {"id": "adr_d2c19494b71611eeb6acac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T22:05:14+00:00", "updated_at": "2024-01-19T22:05:14+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T22:05:14Z", - "is_return": false, "messages": [], "mode": "test", "options": {"currency": - "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, - "status": "unknown", "tracking_code": "9400100207552010712611", "updated_at": - "2024-01-19T22:05:15Z", "batch_id": null, "batch_status": null, "batch_message": - null, "customs_info": null, "from_address": {"id": "adr_d2c19494b71611eeb6acac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T22:05:14+00:00", "updated_at": - "2024-01-19T22:05:14+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": "order_3f9abdc281b240c59a8d1607ae9e9f85", "parcel": - {"id": "prcl_c54f180d719c4ccf8af560cfa2b3f2c2", "object": "Parcel", "created_at": - "2024-01-19T22:05:14Z", "updated_at": "2024-01-19T22:05:14Z", "length": null, - "width": null, "height": null, "predefined_package": null, "weight": 10.2, - "mode": "test"}, "postage_label": {"object": "PostageLabel", "id": "pl_ac8bb4c086b14ac8a8c30d85eba0b49e", - "created_at": "2024-01-19T22:05:15Z", "updated_at": "2024-01-19T22:05:15Z", - "date_advance": 0, "integrated_form": "none", "label_date": "2024-01-19T22:05:15Z", - "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": - "image/png", "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e83533a3fc7432493881ecd95f4d585ca1.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_7c236afdd6384c98bb5cbe69cafe739e", "object": - "Rate", "created_at": "2024-01-19T22:05:14Z", "updated_at": "2024-01-19T22:05:14Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", - "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": - "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_05d8c247054d4ffbbdc375530245ac1c", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_79eefdb098a24c289e86ffb04eb579b3", - "object": "Rate", "created_at": "2024-01-19T22:05:14Z", "updated_at": "2024-01-19T22:05:14Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", - "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": - "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_05d8c247054d4ffbbdc375530245ac1c", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_deae0185bc384e3a85d04e184e027f5f", - "object": "Rate", "created_at": "2024-01-19T22:05:14Z", "updated_at": "2024-01-19T22:05:14Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_05d8c247054d4ffbbdc375530245ac1c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_6f5bfdf6a64f430790e9fcc2e1d08269", "object": "Rate", "created_at": - "2024-01-19T22:05:14Z", "updated_at": "2024-01-19T22:05:14Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_05d8c247054d4ffbbdc375530245ac1c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_189277a61a164cc5b01c71745a2a778f", "object": "Rate", "created_at": - "2024-01-19T22:05:14Z", "updated_at": "2024-01-19T22:05:14Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", - "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_05d8c247054d4ffbbdc375530245ac1c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_deae0185bc384e3a85d04e184e027f5f", - "object": "Rate", "created_at": "2024-01-19T22:05:15Z", "updated_at": "2024-01-19T22:05:15Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_05d8c247054d4ffbbdc375530245ac1c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - "tracker": {"id": "trk_582d4800b86d4fb0b240f794a0d0f56d", "object": "Tracker", - "mode": "test", "tracking_code": "9400100207552010712611", "status": "unknown", - "status_detail": "unknown", "created_at": "2024-01-19T22:05:15Z", "updated_at": - "2024-01-19T22:05:15Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_05d8c247054d4ffbbdc375530245ac1c", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzU4MmQ0ODAwYjg2ZDRmYjBiMjQwZjc5NGEwZDBmNTZk"}, - "to_address": {"id": "adr_d2bfe7ecb71611eeb2363cecef1b359e", "object": "Address", - "created_at": "2024-01-19T22:05:14+00:00", "updated_at": "2024-01-19T22:05:15+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_d2c19494b71611eeb6acac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T22:05:14+00:00", "updated_at": - "2024-01-19T22:05:14+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_d2bfe7ecb71611eeb2363cecef1b359e", "object": - "Address", "created_at": "2024-01-19T22:05:14+00:00", "updated_at": "2024-01-19T22:05:15+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "4.81000", "charged": true, "refunded": false}], "id": "shp_05d8c247054d4ffbbdc375530245ac1c", - "object": "Shipment"}], "rates": [{"id": "rate_7c236afdd6384c98bb5cbe69cafe739e", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "Priority", "carrier": "USPS", "rate": "6.95", "currency": "USD", - "retail_rate": "10.20", "retail_currency": "USD", "list_rate": "8.24", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": - "shp_05d8c247054d4ffbbdc375530245ac1c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_79eefdb098a24c289e86ffb04eb579b3", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "GroundAdvantage", "carrier": - "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_05d8c247054d4ffbbdc375530245ac1c", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_deae0185bc384e3a85d04e184e027f5f", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "First", "carrier": "USPS", "rate": "4.81", "currency": "USD", - "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_05d8c247054d4ffbbdc375530245ac1c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_6f5bfdf6a64f430790e9fcc2e1d08269", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "ParcelSelect", "carrier": - "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_05d8c247054d4ffbbdc375530245ac1c", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_189277a61a164cc5b01c71745a2a778f", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", - "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_05d8c247054d4ffbbdc375530245ac1c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "id": "order_3f9abdc281b240c59a8d1607ae9e9f85", "object": "Order"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '12715' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/orders/order_3f9abdc281b240c59a8d1607ae9e9f85 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaf21ae798d07f0010b17f - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.983597' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_orders_retrieve.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_orders_retrieve.yaml deleted file mode 100644 index a640f383..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_orders_retrieve.yaml +++ /dev/null @@ -1,3510 +0,0 @@ -interactions: -- request: - body: '{"order": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 N - Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "shipments": [{"parcel": {"weight": - "10.2"}}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '491' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/orders - response: - body: - string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": - "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", - "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", - "message": "Unauthorized. Please check credentials and try again"}, {"carrier": - "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", "type": - "rate_error", "message": "Unauthorized. Please check credentials and try again"}, - {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "created_at": "2024-01-19T21:40:56Z", "updated_at": "2024-01-19T21:40:56Z", - "customs_info": null, "from_address": {"id": "adr_6d758732b71311ee94bf3cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:40:56+00:00", "updated_at": - "2024-01-19T21:40:56+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "to_address": {"id": "adr_6d74014ab71311ee9785ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:40:56+00:00", "updated_at": "2024-01-19T21:40:56+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "buyer_address": {"id": "adr_6d74014ab71311ee9785ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:40:56+00:00", "updated_at": - "2024-01-19T21:40:56+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "return_address": {"id": - "adr_6d758732b71311ee94bf3cecef1b359e", "object": "Address", "created_at": - "2024-01-19T21:40:56+00:00", "updated_at": "2024-01-19T21:40:56+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T21:40:56Z", - "is_return": false, "messages": [{"carrier": "DhlEcs", "carrier_account_id": - "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_b1a0a1bc45844159812e0224d53948ea", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_0d64fd488c1444cf9bc16f858703e28f", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_c3cbbd21bc97400bbbaed6d030909476", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_99007e1aeb66421faf82676f1199481e", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}], "mode": "test", "options": {"currency": - "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, - "status": "unknown", "tracking_code": null, "updated_at": "2024-01-19T21:40:56Z", - "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": - null, "from_address": {"id": "adr_6d758732b71311ee94bf3cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:40:56+00:00", "updated_at": "2024-01-19T21:40:56+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": "order_fcf81fc26e43489899a6112bd0061467", - "parcel": {"id": "prcl_274f07bdf22e4013b41eee914f26e18e", "object": "Parcel", - "created_at": "2024-01-19T21:40:56Z", "updated_at": "2024-01-19T21:40:56Z", - "length": null, "width": null, "height": null, "predefined_package": null, - "weight": 10.2, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_210feb28a8c8473db2399ab959b97f2e", - "object": "Rate", "created_at": "2024-01-19T21:40:56Z", "updated_at": "2024-01-19T21:40:56Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "31.25", - "currency": "USD", "retail_rate": "35.80", "retail_currency": "USD", "list_rate": - "31.25", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_138b2b99e6d74814a2db9ea63727b982", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_247a0fdc8cc1480fb6247339f80c3221", - "object": "Rate", "created_at": "2024-01-19T21:40:56Z", "updated_at": "2024-01-19T21:40:56Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", - "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": - "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_138b2b99e6d74814a2db9ea63727b982", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_df42cf300fa64b5eb3ff715c51bb2083", - "object": "Rate", "created_at": "2024-01-19T21:40:56Z", "updated_at": "2024-01-19T21:40:56Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", - "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": - "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_138b2b99e6d74814a2db9ea63727b982", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_0fee866b3cb1468d9a2624bd83eb1ebb", - "object": "Rate", "created_at": "2024-01-19T21:40:56Z", "updated_at": "2024-01-19T21:40:56Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_138b2b99e6d74814a2db9ea63727b982", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_24fda70f7e1645cc8e18efb7107ba3a4", "object": "Rate", "created_at": - "2024-01-19T21:40:56Z", "updated_at": "2024-01-19T21:40:56Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_138b2b99e6d74814a2db9ea63727b982", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_6d74014ab71311ee9785ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:40:56+00:00", "updated_at": "2024-01-19T21:40:56+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_6d758732b71311ee94bf3cecef1b359e", "object": "Address", "created_at": - "2024-01-19T21:40:56+00:00", "updated_at": "2024-01-19T21:40:56+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_6d74014ab71311ee9785ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:40:56+00:00", "updated_at": - "2024-01-19T21:40:56+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_138b2b99e6d74814a2db9ea63727b982", "object": "Shipment"}], "rates": - [{"id": "rate_210feb28a8c8473db2399ab959b97f2e", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "Express", "carrier": - "USPS", "rate": "31.25", "currency": "USD", "retail_rate": "35.80", "retail_currency": - "USD", "list_rate": "31.25", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - false, "est_delivery_days": null, "shipment_id": "shp_138b2b99e6d74814a2db9ea63727b982", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_247a0fdc8cc1480fb6247339f80c3221", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "Priority", "carrier": "USPS", "rate": "6.95", "currency": "USD", - "retail_rate": "10.20", "retail_currency": "USD", "list_rate": "8.24", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": - "shp_138b2b99e6d74814a2db9ea63727b982", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_df42cf300fa64b5eb3ff715c51bb2083", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "GroundAdvantage", "carrier": - "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_138b2b99e6d74814a2db9ea63727b982", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_0fee866b3cb1468d9a2624bd83eb1ebb", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "First", "carrier": "USPS", "rate": "4.81", "currency": "USD", - "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_138b2b99e6d74814a2db9ea63727b982", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_24fda70f7e1645cc8e18efb7107ba3a4", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "ParcelSelect", "carrier": - "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_138b2b99e6d74814a2db9ea63727b982", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], "id": "order_fcf81fc26e43489899a6112bd0061467", - "object": "Order"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '12214' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/orders/order_fcf81fc26e43489899a6112bd0061467 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaec68e78b9baf000cd8a2 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.642836' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/orders/order_fcf81fc26e43489899a6112bd0061467 - response: - body: - string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": - "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", - "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", - "message": "Unauthorized. Please check credentials and try again"}, {"carrier": - "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", "type": - "rate_error", "message": "Unauthorized. Please check credentials and try again"}, - {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "created_at": "2024-01-19T21:40:56Z", "updated_at": "2024-01-19T21:40:56Z", - "customs_info": null, "from_address": {"id": "adr_6d758732b71311ee94bf3cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:40:56+00:00", "updated_at": - "2024-01-19T21:40:56+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "to_address": {"id": "adr_6d74014ab71311ee9785ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:40:56+00:00", "updated_at": "2024-01-19T21:40:56+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "buyer_address": {"id": "adr_6d74014ab71311ee9785ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:40:56+00:00", "updated_at": - "2024-01-19T21:40:56+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "return_address": {"id": - "adr_6d758732b71311ee94bf3cecef1b359e", "object": "Address", "created_at": - "2024-01-19T21:40:56+00:00", "updated_at": "2024-01-19T21:40:56+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T21:40:56Z", - "is_return": false, "messages": [], "mode": "test", "options": {"currency": - "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, - "status": "unknown", "tracking_code": null, "updated_at": "2024-01-19T21:40:56Z", - "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": - null, "from_address": {"id": "adr_6d758732b71311ee94bf3cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:40:56+00:00", "updated_at": "2024-01-19T21:40:56+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": "order_fcf81fc26e43489899a6112bd0061467", - "parcel": {"id": "prcl_274f07bdf22e4013b41eee914f26e18e", "object": "Parcel", - "created_at": "2024-01-19T21:40:56Z", "updated_at": "2024-01-19T21:40:56Z", - "length": null, "width": null, "height": null, "predefined_package": null, - "weight": 10.2, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_210feb28a8c8473db2399ab959b97f2e", - "object": "Rate", "created_at": "2024-01-19T21:40:56Z", "updated_at": "2024-01-19T21:40:56Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "31.25", - "currency": "USD", "retail_rate": "35.80", "retail_currency": "USD", "list_rate": - "31.25", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_138b2b99e6d74814a2db9ea63727b982", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_247a0fdc8cc1480fb6247339f80c3221", - "object": "Rate", "created_at": "2024-01-19T21:40:56Z", "updated_at": "2024-01-19T21:40:56Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", - "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": - "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_138b2b99e6d74814a2db9ea63727b982", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_df42cf300fa64b5eb3ff715c51bb2083", - "object": "Rate", "created_at": "2024-01-19T21:40:56Z", "updated_at": "2024-01-19T21:40:56Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", - "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": - "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_138b2b99e6d74814a2db9ea63727b982", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_0fee866b3cb1468d9a2624bd83eb1ebb", - "object": "Rate", "created_at": "2024-01-19T21:40:56Z", "updated_at": "2024-01-19T21:40:56Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_138b2b99e6d74814a2db9ea63727b982", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_24fda70f7e1645cc8e18efb7107ba3a4", "object": "Rate", "created_at": - "2024-01-19T21:40:56Z", "updated_at": "2024-01-19T21:40:56Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_138b2b99e6d74814a2db9ea63727b982", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_6d74014ab71311ee9785ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:40:56+00:00", "updated_at": "2024-01-19T21:40:56+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_6d758732b71311ee94bf3cecef1b359e", "object": "Address", "created_at": - "2024-01-19T21:40:56+00:00", "updated_at": "2024-01-19T21:40:56+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_6d74014ab71311ee9785ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:40:56+00:00", "updated_at": - "2024-01-19T21:40:56+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_138b2b99e6d74814a2db9ea63727b982", "object": "Shipment"}], "rates": - [{"id": "rate_210feb28a8c8473db2399ab959b97f2e", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "Express", "carrier": - "USPS", "rate": "31.25", "currency": "USD", "retail_rate": "35.80", "retail_currency": - "USD", "list_rate": "31.25", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - false, "est_delivery_days": null, "shipment_id": "shp_138b2b99e6d74814a2db9ea63727b982", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_247a0fdc8cc1480fb6247339f80c3221", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "Priority", "carrier": "USPS", "rate": "6.95", "currency": "USD", - "retail_rate": "10.20", "retail_currency": "USD", "list_rate": "8.24", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": - "shp_138b2b99e6d74814a2db9ea63727b982", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_df42cf300fa64b5eb3ff715c51bb2083", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "GroundAdvantage", "carrier": - "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_138b2b99e6d74814a2db9ea63727b982", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_0fee866b3cb1468d9a2624bd83eb1ebb", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "First", "carrier": "USPS", "rate": "4.81", "currency": "USD", - "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_138b2b99e6d74814a2db9ea63727b982", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_24fda70f7e1645cc8e18efb7107ba3a4", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "ParcelSelect", "carrier": - "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_138b2b99e6d74814a2db9ea63727b982", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], "id": "order_fcf81fc26e43489899a6112bd0061467", - "object": "Order"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '11225' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaec69e78b9ebe000cd93d - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.096202' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"order": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 N - Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "shipments": [{"parcel": {"weight": - "10.2"}}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '491' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/orders - response: - body: - string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": - "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", - "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", "type": "rate_error", - "message": "Unauthorized. Please check credentials and try again"}, {"carrier": - "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", "type": - "rate_error", "message": "Unauthorized. Please check credentials and try again"}, - {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "created_at": "2024-01-19T21:43:24Z", "updated_at": "2024-01-19T21:43:25Z", - "customs_info": null, "from_address": {"id": "adr_c5f569dbb71311ee8601ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:43:24+00:00", "updated_at": - "2024-01-19T21:43:24+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "to_address": {"id": "adr_c5f3a3abb71311eeb70aac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:43:24+00:00", "updated_at": "2024-01-19T21:43:24+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "buyer_address": {"id": "adr_c5f3a3abb71311eeb70aac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:43:24+00:00", "updated_at": - "2024-01-19T21:43:24+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "return_address": {"id": - "adr_c5f569dbb71311ee8601ac1f6bc539aa", "object": "Address", "created_at": - "2024-01-19T21:43:24+00:00", "updated_at": "2024-01-19T21:43:24+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T21:43:24Z", - "is_return": false, "messages": [{"carrier": "DhlEcs", "carrier_account_id": - "ca_99007e1aeb66421faf82676f1199481e", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_b1a0a1bc45844159812e0224d53948ea", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_0d64fd488c1444cf9bc16f858703e28f", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_c3cbbd21bc97400bbbaed6d030909476", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}], "mode": "test", "options": {"currency": - "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, - "status": "unknown", "tracking_code": null, "updated_at": "2024-01-19T21:43:24Z", - "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": - null, "from_address": {"id": "adr_c5f569dbb71311ee8601ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:43:24+00:00", "updated_at": "2024-01-19T21:43:24+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": "order_e0179237d9a149f1b3194c03999870dc", - "parcel": {"id": "prcl_d0b6912aefbe4864b4a9ffc742780396", "object": "Parcel", - "created_at": "2024-01-19T21:43:24Z", "updated_at": "2024-01-19T21:43:24Z", - "length": null, "width": null, "height": null, "predefined_package": null, - "weight": 10.2, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_c08a540c83304b06ae20c71b318721c8", - "object": "Rate", "created_at": "2024-01-19T21:43:25Z", "updated_at": "2024-01-19T21:43:25Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "31.25", - "currency": "USD", "retail_rate": "35.80", "retail_currency": "USD", "list_rate": - "31.25", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_949965fab4e94686afd91f6739c7782b", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_15834bf14cc3453998a1a2b7dfec7cdb", - "object": "Rate", "created_at": "2024-01-19T21:43:25Z", "updated_at": "2024-01-19T21:43:25Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", - "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": - "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_949965fab4e94686afd91f6739c7782b", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_3e459c89f4b5465f97bfcdce05a824da", - "object": "Rate", "created_at": "2024-01-19T21:43:25Z", "updated_at": "2024-01-19T21:43:25Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", - "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": - "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_949965fab4e94686afd91f6739c7782b", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_44743c17e8964c2cace2f88ec066dd12", - "object": "Rate", "created_at": "2024-01-19T21:43:25Z", "updated_at": "2024-01-19T21:43:25Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_949965fab4e94686afd91f6739c7782b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_adb0c7dfa1d84f48a3ae058ee072a54d", "object": "Rate", "created_at": - "2024-01-19T21:43:25Z", "updated_at": "2024-01-19T21:43:25Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_949965fab4e94686afd91f6739c7782b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_c5f3a3abb71311eeb70aac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:43:24+00:00", "updated_at": "2024-01-19T21:43:24+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_c5f569dbb71311ee8601ac1f6bc539aa", "object": "Address", "created_at": - "2024-01-19T21:43:24+00:00", "updated_at": "2024-01-19T21:43:24+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_c5f3a3abb71311eeb70aac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:43:24+00:00", "updated_at": - "2024-01-19T21:43:24+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_949965fab4e94686afd91f6739c7782b", "object": "Shipment"}], "rates": - [{"id": "rate_c08a540c83304b06ae20c71b318721c8", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "Express", "carrier": - "USPS", "rate": "31.25", "currency": "USD", "retail_rate": "35.80", "retail_currency": - "USD", "list_rate": "31.25", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - false, "est_delivery_days": null, "shipment_id": "shp_949965fab4e94686afd91f6739c7782b", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_15834bf14cc3453998a1a2b7dfec7cdb", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "Priority", "carrier": "USPS", "rate": "6.95", "currency": "USD", - "retail_rate": "10.20", "retail_currency": "USD", "list_rate": "8.24", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": - "shp_949965fab4e94686afd91f6739c7782b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_3e459c89f4b5465f97bfcdce05a824da", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "GroundAdvantage", "carrier": - "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_949965fab4e94686afd91f6739c7782b", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_44743c17e8964c2cace2f88ec066dd12", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "First", "carrier": "USPS", "rate": "4.81", "currency": "USD", - "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_949965fab4e94686afd91f6739c7782b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_adb0c7dfa1d84f48a3ae058ee072a54d", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "ParcelSelect", "carrier": - "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_949965fab4e94686afd91f6739c7782b", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], "id": "order_e0179237d9a149f1b3194c03999870dc", - "object": "Order"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '12214' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/orders/order_e0179237d9a149f1b3194c03999870dc - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaecfce78ba3e8000d363d - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.875921' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/orders/order_e0179237d9a149f1b3194c03999870dc - response: - body: - string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": - "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", - "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", "type": "rate_error", - "message": "Unauthorized. Please check credentials and try again"}, {"carrier": - "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", "type": - "rate_error", "message": "Unauthorized. Please check credentials and try again"}, - {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "created_at": "2024-01-19T21:43:24Z", "updated_at": "2024-01-19T21:43:25Z", - "customs_info": null, "from_address": {"id": "adr_c5f569dbb71311ee8601ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:43:24+00:00", "updated_at": - "2024-01-19T21:43:24+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "to_address": {"id": "adr_c5f3a3abb71311eeb70aac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:43:24+00:00", "updated_at": "2024-01-19T21:43:24+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "buyer_address": {"id": "adr_c5f3a3abb71311eeb70aac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:43:24+00:00", "updated_at": - "2024-01-19T21:43:24+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "return_address": {"id": - "adr_c5f569dbb71311ee8601ac1f6bc539aa", "object": "Address", "created_at": - "2024-01-19T21:43:24+00:00", "updated_at": "2024-01-19T21:43:24+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T21:43:24Z", - "is_return": false, "messages": [], "mode": "test", "options": {"currency": - "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, - "status": "unknown", "tracking_code": null, "updated_at": "2024-01-19T21:43:24Z", - "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": - null, "from_address": {"id": "adr_c5f569dbb71311ee8601ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:43:24+00:00", "updated_at": "2024-01-19T21:43:24+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": "order_e0179237d9a149f1b3194c03999870dc", - "parcel": {"id": "prcl_d0b6912aefbe4864b4a9ffc742780396", "object": "Parcel", - "created_at": "2024-01-19T21:43:24Z", "updated_at": "2024-01-19T21:43:24Z", - "length": null, "width": null, "height": null, "predefined_package": null, - "weight": 10.2, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_c08a540c83304b06ae20c71b318721c8", - "object": "Rate", "created_at": "2024-01-19T21:43:25Z", "updated_at": "2024-01-19T21:43:25Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "31.25", - "currency": "USD", "retail_rate": "35.80", "retail_currency": "USD", "list_rate": - "31.25", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_949965fab4e94686afd91f6739c7782b", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_15834bf14cc3453998a1a2b7dfec7cdb", - "object": "Rate", "created_at": "2024-01-19T21:43:25Z", "updated_at": "2024-01-19T21:43:25Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", - "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": - "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_949965fab4e94686afd91f6739c7782b", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_3e459c89f4b5465f97bfcdce05a824da", - "object": "Rate", "created_at": "2024-01-19T21:43:25Z", "updated_at": "2024-01-19T21:43:25Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", - "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": - "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_949965fab4e94686afd91f6739c7782b", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_44743c17e8964c2cace2f88ec066dd12", - "object": "Rate", "created_at": "2024-01-19T21:43:25Z", "updated_at": "2024-01-19T21:43:25Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_949965fab4e94686afd91f6739c7782b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_adb0c7dfa1d84f48a3ae058ee072a54d", "object": "Rate", "created_at": - "2024-01-19T21:43:25Z", "updated_at": "2024-01-19T21:43:25Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_949965fab4e94686afd91f6739c7782b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_c5f3a3abb71311eeb70aac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:43:24+00:00", "updated_at": "2024-01-19T21:43:24+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_c5f569dbb71311ee8601ac1f6bc539aa", "object": "Address", "created_at": - "2024-01-19T21:43:24+00:00", "updated_at": "2024-01-19T21:43:24+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_c5f3a3abb71311eeb70aac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:43:24+00:00", "updated_at": - "2024-01-19T21:43:24+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_949965fab4e94686afd91f6739c7782b", "object": "Shipment"}], "rates": - [{"id": "rate_c08a540c83304b06ae20c71b318721c8", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "Express", "carrier": - "USPS", "rate": "31.25", "currency": "USD", "retail_rate": "35.80", "retail_currency": - "USD", "list_rate": "31.25", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - false, "est_delivery_days": null, "shipment_id": "shp_949965fab4e94686afd91f6739c7782b", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_15834bf14cc3453998a1a2b7dfec7cdb", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "Priority", "carrier": "USPS", "rate": "6.95", "currency": "USD", - "retail_rate": "10.20", "retail_currency": "USD", "list_rate": "8.24", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": - "shp_949965fab4e94686afd91f6739c7782b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_3e459c89f4b5465f97bfcdce05a824da", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "GroundAdvantage", "carrier": - "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_949965fab4e94686afd91f6739c7782b", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_44743c17e8964c2cace2f88ec066dd12", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "First", "carrier": "USPS", "rate": "4.81", "currency": "USD", - "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_949965fab4e94686afd91f6739c7782b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_adb0c7dfa1d84f48a3ae058ee072a54d", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "ParcelSelect", "carrier": - "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_949965fab4e94686afd91f6739c7782b", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], "id": "order_e0179237d9a149f1b3194c03999870dc", - "object": "Order"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '11225' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaecfde78ba3e9000d36e6 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.088717' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"order": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 N - Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "shipments": [{"parcel": {"weight": - "10.2"}}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '491' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/orders - response: - body: - string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": - "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", - "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", - "message": "Unauthorized. Please check credentials and try again"}, {"carrier": - "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", "type": - "rate_error", "message": "Unauthorized. Please check credentials and try again"}, - {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "created_at": "2024-01-19T21:47:16Z", "updated_at": "2024-01-19T21:47:17Z", - "customs_info": null, "from_address": {"id": "adr_502740d9b71411eea30fac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:47:16+00:00", "updated_at": - "2024-01-19T21:47:16+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "to_address": {"id": "adr_5025db83b71411eea3f6ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:47:16+00:00", "updated_at": "2024-01-19T21:47:16+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "buyer_address": {"id": "adr_5025db83b71411eea3f6ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:47:16+00:00", "updated_at": - "2024-01-19T21:47:16+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "return_address": {"id": - "adr_502740d9b71411eea30fac1f6bc53342", "object": "Address", "created_at": - "2024-01-19T21:47:16+00:00", "updated_at": "2024-01-19T21:47:16+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T21:47:16Z", - "is_return": false, "messages": [{"carrier": "DhlEcs", "carrier_account_id": - "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_0d64fd488c1444cf9bc16f858703e28f", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_99007e1aeb66421faf82676f1199481e", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_b1a0a1bc45844159812e0224d53948ea", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_c3cbbd21bc97400bbbaed6d030909476", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}], "mode": "test", "options": {"currency": - "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, - "status": "unknown", "tracking_code": null, "updated_at": "2024-01-19T21:47:16Z", - "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": - null, "from_address": {"id": "adr_502740d9b71411eea30fac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:47:16+00:00", "updated_at": "2024-01-19T21:47:16+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": "order_4b7750389f1a4eb3896a5a1fcff3d03a", - "parcel": {"id": "prcl_c92fe840c52b489089de6a40a347e538", "object": "Parcel", - "created_at": "2024-01-19T21:47:16Z", "updated_at": "2024-01-19T21:47:16Z", - "length": null, "width": null, "height": null, "predefined_package": null, - "weight": 10.2, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_976c3930ee5f48c98ba6c0f7d28a2e9e", - "object": "Rate", "created_at": "2024-01-19T21:47:17Z", "updated_at": "2024-01-19T21:47:17Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", - "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": - "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_a22877bb1ad44d28b3d3b0688975a32c", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_577f059682da4aa4854a38fd3091ee13", - "object": "Rate", "created_at": "2024-01-19T21:47:17Z", "updated_at": "2024-01-19T21:47:17Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", - "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": - "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_a22877bb1ad44d28b3d3b0688975a32c", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_5fc32894fb20408f934c7b7d0d0fd112", - "object": "Rate", "created_at": "2024-01-19T21:47:17Z", "updated_at": "2024-01-19T21:47:17Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_a22877bb1ad44d28b3d3b0688975a32c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_6fc1034228bd47f0a411b5135468e3e0", "object": "Rate", "created_at": - "2024-01-19T21:47:17Z", "updated_at": "2024-01-19T21:47:17Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_a22877bb1ad44d28b3d3b0688975a32c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_3dc18195b48a4d07b331094323bfa823", "object": "Rate", "created_at": - "2024-01-19T21:47:17Z", "updated_at": "2024-01-19T21:47:17Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", - "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_a22877bb1ad44d28b3d3b0688975a32c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_5025db83b71411eea3f6ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:47:16+00:00", "updated_at": "2024-01-19T21:47:16+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_502740d9b71411eea30fac1f6bc53342", "object": "Address", "created_at": - "2024-01-19T21:47:16+00:00", "updated_at": "2024-01-19T21:47:16+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_5025db83b71411eea3f6ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:47:16+00:00", "updated_at": - "2024-01-19T21:47:16+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_a22877bb1ad44d28b3d3b0688975a32c", "object": "Shipment"}], "rates": - [{"id": "rate_976c3930ee5f48c98ba6c0f7d28a2e9e", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "Priority", "carrier": - "USPS", "rate": "6.95", "currency": "USD", "retail_rate": "10.20", "retail_currency": - "USD", "list_rate": "8.24", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 2, "shipment_id": "shp_a22877bb1ad44d28b3d3b0688975a32c", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_577f059682da4aa4854a38fd3091ee13", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_a22877bb1ad44d28b3d3b0688975a32c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_5fc32894fb20408f934c7b7d0d0fd112", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "First", "carrier": "USPS", - "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_a22877bb1ad44d28b3d3b0688975a32c", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_6fc1034228bd47f0a411b5135468e3e0", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_a22877bb1ad44d28b3d3b0688975a32c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_3dc18195b48a4d07b331094323bfa823", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "Express", "carrier": - "USPS", "rate": "31.25", "currency": "USD", "retail_rate": "35.80", "retail_currency": - "USD", "list_rate": "31.25", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - false, "est_delivery_days": null, "shipment_id": "shp_a22877bb1ad44d28b3d3b0688975a32c", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], "id": "order_4b7750389f1a4eb3896a5a1fcff3d03a", - "object": "Order"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '12214' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/orders/order_4b7750389f1a4eb3896a5a1fcff3d03a - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda765aaede4e78bac8900112bb4 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.658749' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/orders/order_4b7750389f1a4eb3896a5a1fcff3d03a - response: - body: - string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": - "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", - "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", - "message": "Unauthorized. Please check credentials and try again"}, {"carrier": - "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", "type": - "rate_error", "message": "Unauthorized. Please check credentials and try again"}, - {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "created_at": "2024-01-19T21:47:16Z", "updated_at": "2024-01-19T21:47:17Z", - "customs_info": null, "from_address": {"id": "adr_502740d9b71411eea30fac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:47:16+00:00", "updated_at": - "2024-01-19T21:47:16+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "to_address": {"id": "adr_5025db83b71411eea3f6ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:47:16+00:00", "updated_at": "2024-01-19T21:47:16+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "buyer_address": {"id": "adr_5025db83b71411eea3f6ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:47:16+00:00", "updated_at": - "2024-01-19T21:47:16+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "return_address": {"id": - "adr_502740d9b71411eea30fac1f6bc53342", "object": "Address", "created_at": - "2024-01-19T21:47:16+00:00", "updated_at": "2024-01-19T21:47:16+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T21:47:16Z", - "is_return": false, "messages": [], "mode": "test", "options": {"currency": - "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, - "status": "unknown", "tracking_code": null, "updated_at": "2024-01-19T21:47:16Z", - "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": - null, "from_address": {"id": "adr_502740d9b71411eea30fac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:47:16+00:00", "updated_at": "2024-01-19T21:47:16+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": "order_4b7750389f1a4eb3896a5a1fcff3d03a", - "parcel": {"id": "prcl_c92fe840c52b489089de6a40a347e538", "object": "Parcel", - "created_at": "2024-01-19T21:47:16Z", "updated_at": "2024-01-19T21:47:16Z", - "length": null, "width": null, "height": null, "predefined_package": null, - "weight": 10.2, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_976c3930ee5f48c98ba6c0f7d28a2e9e", - "object": "Rate", "created_at": "2024-01-19T21:47:17Z", "updated_at": "2024-01-19T21:47:17Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", - "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": - "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_a22877bb1ad44d28b3d3b0688975a32c", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_577f059682da4aa4854a38fd3091ee13", - "object": "Rate", "created_at": "2024-01-19T21:47:17Z", "updated_at": "2024-01-19T21:47:17Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", - "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": - "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_a22877bb1ad44d28b3d3b0688975a32c", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_5fc32894fb20408f934c7b7d0d0fd112", - "object": "Rate", "created_at": "2024-01-19T21:47:17Z", "updated_at": "2024-01-19T21:47:17Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_a22877bb1ad44d28b3d3b0688975a32c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_6fc1034228bd47f0a411b5135468e3e0", "object": "Rate", "created_at": - "2024-01-19T21:47:17Z", "updated_at": "2024-01-19T21:47:17Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_a22877bb1ad44d28b3d3b0688975a32c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_3dc18195b48a4d07b331094323bfa823", "object": "Rate", "created_at": - "2024-01-19T21:47:17Z", "updated_at": "2024-01-19T21:47:17Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", - "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_a22877bb1ad44d28b3d3b0688975a32c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_5025db83b71411eea3f6ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:47:16+00:00", "updated_at": "2024-01-19T21:47:16+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_502740d9b71411eea30fac1f6bc53342", "object": "Address", "created_at": - "2024-01-19T21:47:16+00:00", "updated_at": "2024-01-19T21:47:16+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_5025db83b71411eea3f6ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:47:16+00:00", "updated_at": - "2024-01-19T21:47:16+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_a22877bb1ad44d28b3d3b0688975a32c", "object": "Shipment"}], "rates": - [{"id": "rate_976c3930ee5f48c98ba6c0f7d28a2e9e", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "Priority", "carrier": - "USPS", "rate": "6.95", "currency": "USD", "retail_rate": "10.20", "retail_currency": - "USD", "list_rate": "8.24", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 2, "shipment_id": "shp_a22877bb1ad44d28b3d3b0688975a32c", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_577f059682da4aa4854a38fd3091ee13", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_a22877bb1ad44d28b3d3b0688975a32c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_5fc32894fb20408f934c7b7d0d0fd112", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "First", "carrier": "USPS", - "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_a22877bb1ad44d28b3d3b0688975a32c", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_6fc1034228bd47f0a411b5135468e3e0", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_a22877bb1ad44d28b3d3b0688975a32c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_3dc18195b48a4d07b331094323bfa823", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "Express", "carrier": - "USPS", "rate": "31.25", "currency": "USD", "retail_rate": "35.80", "retail_currency": - "USD", "list_rate": "31.25", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - false, "est_delivery_days": null, "shipment_id": "shp_a22877bb1ad44d28b3d3b0688975a32c", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], "id": "order_4b7750389f1a4eb3896a5a1fcff3d03a", - "object": "Order"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '11225' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdad65aaede5e78bac8a00112c4c - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.090527' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"order": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 N - Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "shipments": [{"parcel": {"weight": - "10.2"}}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '491' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/orders - response: - body: - string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": - "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", - "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", "type": "rate_error", - "message": "Unauthorized. Please check credentials and try again"}, {"carrier": - "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", "type": - "rate_error", "message": "Unauthorized. Please check credentials and try again"}, - {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "created_at": "2024-01-19T21:49:08Z", "updated_at": "2024-01-19T21:49:09Z", - "customs_info": null, "from_address": {"id": "adr_92d7e651b71411eeb5b63cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:49:08+00:00", "updated_at": - "2024-01-19T21:49:08+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "to_address": {"id": "adr_92d63ed6b71411ee8736ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T21:49:08+00:00", "updated_at": "2024-01-19T21:49:08+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "buyer_address": {"id": "adr_92d63ed6b71411ee8736ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:49:08+00:00", "updated_at": - "2024-01-19T21:49:08+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "return_address": {"id": - "adr_92d7e651b71411eeb5b63cecef1b359e", "object": "Address", "created_at": - "2024-01-19T21:49:08+00:00", "updated_at": "2024-01-19T21:49:08+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T21:49:08Z", - "is_return": false, "messages": [{"carrier": "DhlEcs", "carrier_account_id": - "ca_0d64fd488c1444cf9bc16f858703e28f", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_c3cbbd21bc97400bbbaed6d030909476", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_99007e1aeb66421faf82676f1199481e", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_b1a0a1bc45844159812e0224d53948ea", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}], "mode": "test", "options": {"currency": - "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, - "status": "unknown", "tracking_code": null, "updated_at": "2024-01-19T21:49:08Z", - "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": - null, "from_address": {"id": "adr_92d7e651b71411eeb5b63cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:49:08+00:00", "updated_at": "2024-01-19T21:49:08+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": "order_5a6e332ef01d42d5bd54c7204d980b6a", - "parcel": {"id": "prcl_071f9622bc964d5fb53f123967e4e189", "object": "Parcel", - "created_at": "2024-01-19T21:49:08Z", "updated_at": "2024-01-19T21:49:08Z", - "length": null, "width": null, "height": null, "predefined_package": null, - "weight": 10.2, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_33fd1a804ba248979388c4ca3932bbb1", - "object": "Rate", "created_at": "2024-01-19T21:49:09Z", "updated_at": "2024-01-19T21:49:09Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", - "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": - "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_c362da5f8d8b4453bae192bc5815fa3d", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f4da3c6dee38483bac55e35d4396537f", - "object": "Rate", "created_at": "2024-01-19T21:49:09Z", "updated_at": "2024-01-19T21:49:09Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", - "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": - "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_c362da5f8d8b4453bae192bc5815fa3d", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_115121042daf4796804e9c124151d963", - "object": "Rate", "created_at": "2024-01-19T21:49:09Z", "updated_at": "2024-01-19T21:49:09Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_c362da5f8d8b4453bae192bc5815fa3d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_fa459f22005345e2876d3143ccdd9289", "object": "Rate", "created_at": - "2024-01-19T21:49:09Z", "updated_at": "2024-01-19T21:49:09Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_c362da5f8d8b4453bae192bc5815fa3d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_aaf59bdf20b34636a662014e6f791549", "object": "Rate", "created_at": - "2024-01-19T21:49:09Z", "updated_at": "2024-01-19T21:49:09Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", - "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_c362da5f8d8b4453bae192bc5815fa3d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_92d63ed6b71411ee8736ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:49:08+00:00", "updated_at": "2024-01-19T21:49:08+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_92d7e651b71411eeb5b63cecef1b359e", "object": "Address", "created_at": - "2024-01-19T21:49:08+00:00", "updated_at": "2024-01-19T21:49:08+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_92d63ed6b71411ee8736ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:49:08+00:00", "updated_at": - "2024-01-19T21:49:08+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_c362da5f8d8b4453bae192bc5815fa3d", "object": "Shipment"}], "rates": - [{"id": "rate_33fd1a804ba248979388c4ca3932bbb1", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "Priority", "carrier": - "USPS", "rate": "6.95", "currency": "USD", "retail_rate": "10.20", "retail_currency": - "USD", "list_rate": "8.24", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 2, "shipment_id": "shp_c362da5f8d8b4453bae192bc5815fa3d", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f4da3c6dee38483bac55e35d4396537f", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_c362da5f8d8b4453bae192bc5815fa3d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_115121042daf4796804e9c124151d963", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "First", "carrier": "USPS", - "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_c362da5f8d8b4453bae192bc5815fa3d", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_fa459f22005345e2876d3143ccdd9289", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_c362da5f8d8b4453bae192bc5815fa3d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_aaf59bdf20b34636a662014e6f791549", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "Express", "carrier": - "USPS", "rate": "31.25", "currency": "USD", "retail_rate": "35.80", "retail_currency": - "USD", "list_rate": "31.25", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - false, "est_delivery_days": null, "shipment_id": "shp_c362da5f8d8b4453bae192bc5815fa3d", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], "id": "order_5a6e332ef01d42d5bd54c7204d980b6a", - "object": "Order"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '12214' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/orders/order_5a6e332ef01d42d5bd54c7204d980b6a - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdad65aaee54e78bb4ac00116ef3 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '1.046006' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/orders/order_5a6e332ef01d42d5bd54c7204d980b6a - response: - body: - string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": - "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", - "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", "type": "rate_error", - "message": "Unauthorized. Please check credentials and try again"}, {"carrier": - "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", "type": - "rate_error", "message": "Unauthorized. Please check credentials and try again"}, - {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "created_at": "2024-01-19T21:49:08Z", "updated_at": "2024-01-19T21:49:09Z", - "customs_info": null, "from_address": {"id": "adr_92d7e651b71411eeb5b63cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:49:08+00:00", "updated_at": - "2024-01-19T21:49:08+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "to_address": {"id": "adr_92d63ed6b71411ee8736ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T21:49:08+00:00", "updated_at": "2024-01-19T21:49:08+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "buyer_address": {"id": "adr_92d63ed6b71411ee8736ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:49:08+00:00", "updated_at": - "2024-01-19T21:49:08+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "return_address": {"id": - "adr_92d7e651b71411eeb5b63cecef1b359e", "object": "Address", "created_at": - "2024-01-19T21:49:08+00:00", "updated_at": "2024-01-19T21:49:08+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T21:49:08Z", - "is_return": false, "messages": [], "mode": "test", "options": {"currency": - "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, - "status": "unknown", "tracking_code": null, "updated_at": "2024-01-19T21:49:08Z", - "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": - null, "from_address": {"id": "adr_92d7e651b71411eeb5b63cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:49:08+00:00", "updated_at": "2024-01-19T21:49:08+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": "order_5a6e332ef01d42d5bd54c7204d980b6a", - "parcel": {"id": "prcl_071f9622bc964d5fb53f123967e4e189", "object": "Parcel", - "created_at": "2024-01-19T21:49:08Z", "updated_at": "2024-01-19T21:49:08Z", - "length": null, "width": null, "height": null, "predefined_package": null, - "weight": 10.2, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_33fd1a804ba248979388c4ca3932bbb1", - "object": "Rate", "created_at": "2024-01-19T21:49:09Z", "updated_at": "2024-01-19T21:49:09Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", - "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": - "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_c362da5f8d8b4453bae192bc5815fa3d", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f4da3c6dee38483bac55e35d4396537f", - "object": "Rate", "created_at": "2024-01-19T21:49:09Z", "updated_at": "2024-01-19T21:49:09Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", - "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": - "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_c362da5f8d8b4453bae192bc5815fa3d", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_115121042daf4796804e9c124151d963", - "object": "Rate", "created_at": "2024-01-19T21:49:09Z", "updated_at": "2024-01-19T21:49:09Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_c362da5f8d8b4453bae192bc5815fa3d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_fa459f22005345e2876d3143ccdd9289", "object": "Rate", "created_at": - "2024-01-19T21:49:09Z", "updated_at": "2024-01-19T21:49:09Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_c362da5f8d8b4453bae192bc5815fa3d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_aaf59bdf20b34636a662014e6f791549", "object": "Rate", "created_at": - "2024-01-19T21:49:09Z", "updated_at": "2024-01-19T21:49:09Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", - "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_c362da5f8d8b4453bae192bc5815fa3d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_92d63ed6b71411ee8736ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:49:08+00:00", "updated_at": "2024-01-19T21:49:08+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_92d7e651b71411eeb5b63cecef1b359e", "object": "Address", "created_at": - "2024-01-19T21:49:08+00:00", "updated_at": "2024-01-19T21:49:08+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_92d63ed6b71411ee8736ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:49:08+00:00", "updated_at": - "2024-01-19T21:49:08+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_c362da5f8d8b4453bae192bc5815fa3d", "object": "Shipment"}], "rates": - [{"id": "rate_33fd1a804ba248979388c4ca3932bbb1", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "Priority", "carrier": - "USPS", "rate": "6.95", "currency": "USD", "retail_rate": "10.20", "retail_currency": - "USD", "list_rate": "8.24", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 2, "shipment_id": "shp_c362da5f8d8b4453bae192bc5815fa3d", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f4da3c6dee38483bac55e35d4396537f", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_c362da5f8d8b4453bae192bc5815fa3d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_115121042daf4796804e9c124151d963", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "First", "carrier": "USPS", - "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_c362da5f8d8b4453bae192bc5815fa3d", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_fa459f22005345e2876d3143ccdd9289", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_c362da5f8d8b4453bae192bc5815fa3d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_aaf59bdf20b34636a662014e6f791549", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "Express", "carrier": - "USPS", "rate": "31.25", "currency": "USD", "retail_rate": "35.80", "retail_currency": - "USD", "list_rate": "31.25", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - false, "est_delivery_days": null, "shipment_id": "shp_c362da5f8d8b4453bae192bc5815fa3d", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], "id": "order_5a6e332ef01d42d5bd54c7204d980b6a", - "object": "Order"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '11225' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdab65aaee55e78bb4ad00116fbd - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.112630' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"order": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 N - Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "shipments": [{"parcel": {"weight": - "10.2"}}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '491' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/orders - response: - body: - string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": - "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", - "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", - "message": "Unauthorized. Please check credentials and try again"}, {"carrier": - "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": - "rate_error", "message": "Unauthorized. Please check credentials and try again"}, - {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "created_at": "2024-01-19T21:58:29Z", "updated_at": "2024-01-19T21:58:30Z", - "customs_info": null, "from_address": {"id": "adr_e15cb99cb71511eea77fac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:58:29+00:00", "updated_at": - "2024-01-19T21:58:29+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "to_address": {"id": "adr_e15744a3b71511eeb808ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T21:58:29+00:00", "updated_at": "2024-01-19T21:58:29+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "buyer_address": {"id": "adr_e15744a3b71511eeb808ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:58:29+00:00", "updated_at": - "2024-01-19T21:58:29+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "return_address": {"id": - "adr_e15cb99cb71511eea77fac1f6bc53342", "object": "Address", "created_at": - "2024-01-19T21:58:29+00:00", "updated_at": "2024-01-19T21:58:29+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T21:58:29Z", - "is_return": false, "messages": [{"carrier": "DhlEcs", "carrier_account_id": - "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_0d64fd488c1444cf9bc16f858703e28f", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_99007e1aeb66421faf82676f1199481e", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_b1a0a1bc45844159812e0224d53948ea", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_c3cbbd21bc97400bbbaed6d030909476", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}], "mode": "test", "options": {"currency": - "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, - "status": "unknown", "tracking_code": null, "updated_at": "2024-01-19T21:58:29Z", - "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": - null, "from_address": {"id": "adr_e15cb99cb71511eea77fac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:58:29+00:00", "updated_at": "2024-01-19T21:58:29+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": "order_91b2616d2ce84011be15e58cc918e027", - "parcel": {"id": "prcl_9c40febd0ba64d57a114fed5656adb19", "object": "Parcel", - "created_at": "2024-01-19T21:58:29Z", "updated_at": "2024-01-19T21:58:29Z", - "length": null, "width": null, "height": null, "predefined_package": null, - "weight": 10.2, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_facb41993c13427282ffad696561a300", - "object": "Rate", "created_at": "2024-01-19T21:58:30Z", "updated_at": "2024-01-19T21:58:30Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "31.25", - "currency": "USD", "retail_rate": "35.80", "retail_currency": "USD", "list_rate": - "31.25", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_5ee9e08769bc4287ad8e847027288c1d", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_fd2ad00dce454949b8ac890c39f3c4c8", - "object": "Rate", "created_at": "2024-01-19T21:58:30Z", "updated_at": "2024-01-19T21:58:30Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", - "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": - "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_5ee9e08769bc4287ad8e847027288c1d", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_0836fc27debe4a2eacc54249d21e3325", - "object": "Rate", "created_at": "2024-01-19T21:58:30Z", "updated_at": "2024-01-19T21:58:30Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", - "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": - "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_5ee9e08769bc4287ad8e847027288c1d", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_115ff4ec0f5a41019888f2b17745aa44", - "object": "Rate", "created_at": "2024-01-19T21:58:30Z", "updated_at": "2024-01-19T21:58:30Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_5ee9e08769bc4287ad8e847027288c1d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_600f617db6bb402aab6937f775aa6d18", "object": "Rate", "created_at": - "2024-01-19T21:58:30Z", "updated_at": "2024-01-19T21:58:30Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_5ee9e08769bc4287ad8e847027288c1d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_e15744a3b71511eeb808ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:58:29+00:00", "updated_at": "2024-01-19T21:58:29+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_e15cb99cb71511eea77fac1f6bc53342", "object": "Address", "created_at": - "2024-01-19T21:58:29+00:00", "updated_at": "2024-01-19T21:58:29+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_e15744a3b71511eeb808ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:58:29+00:00", "updated_at": - "2024-01-19T21:58:29+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_5ee9e08769bc4287ad8e847027288c1d", "object": "Shipment"}], "rates": - [{"id": "rate_facb41993c13427282ffad696561a300", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "Express", "carrier": - "USPS", "rate": "31.25", "currency": "USD", "retail_rate": "35.80", "retail_currency": - "USD", "list_rate": "31.25", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - false, "est_delivery_days": null, "shipment_id": "shp_5ee9e08769bc4287ad8e847027288c1d", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_fd2ad00dce454949b8ac890c39f3c4c8", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "Priority", "carrier": "USPS", "rate": "6.95", "currency": "USD", - "retail_rate": "10.20", "retail_currency": "USD", "list_rate": "8.24", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": - "shp_5ee9e08769bc4287ad8e847027288c1d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_0836fc27debe4a2eacc54249d21e3325", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "GroundAdvantage", "carrier": - "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_5ee9e08769bc4287ad8e847027288c1d", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_115ff4ec0f5a41019888f2b17745aa44", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "First", "carrier": "USPS", "rate": "4.81", "currency": "USD", - "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_5ee9e08769bc4287ad8e847027288c1d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_600f617db6bb402aab6937f775aa6d18", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "ParcelSelect", "carrier": - "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_5ee9e08769bc4287ad8e847027288c1d", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], "id": "order_91b2616d2ce84011be15e58cc918e027", - "object": "Order"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '12214' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/orders/order_91b2616d2ce84011be15e58cc918e027 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf085e798bc41000f73a7 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.692206' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/orders/order_91b2616d2ce84011be15e58cc918e027 - response: - body: - string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": - "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", - "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", - "message": "Unauthorized. Please check credentials and try again"}, {"carrier": - "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": - "rate_error", "message": "Unauthorized. Please check credentials and try again"}, - {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "created_at": "2024-01-19T21:58:29Z", "updated_at": "2024-01-19T21:58:30Z", - "customs_info": null, "from_address": {"id": "adr_e15cb99cb71511eea77fac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:58:29+00:00", "updated_at": - "2024-01-19T21:58:29+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "to_address": {"id": "adr_e15744a3b71511eeb808ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T21:58:29+00:00", "updated_at": "2024-01-19T21:58:29+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "buyer_address": {"id": "adr_e15744a3b71511eeb808ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:58:29+00:00", "updated_at": - "2024-01-19T21:58:29+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "return_address": {"id": - "adr_e15cb99cb71511eea77fac1f6bc53342", "object": "Address", "created_at": - "2024-01-19T21:58:29+00:00", "updated_at": "2024-01-19T21:58:29+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T21:58:29Z", - "is_return": false, "messages": [], "mode": "test", "options": {"currency": - "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, - "status": "unknown", "tracking_code": null, "updated_at": "2024-01-19T21:58:29Z", - "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": - null, "from_address": {"id": "adr_e15cb99cb71511eea77fac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:58:29+00:00", "updated_at": "2024-01-19T21:58:29+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": "order_91b2616d2ce84011be15e58cc918e027", - "parcel": {"id": "prcl_9c40febd0ba64d57a114fed5656adb19", "object": "Parcel", - "created_at": "2024-01-19T21:58:29Z", "updated_at": "2024-01-19T21:58:29Z", - "length": null, "width": null, "height": null, "predefined_package": null, - "weight": 10.2, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_facb41993c13427282ffad696561a300", - "object": "Rate", "created_at": "2024-01-19T21:58:30Z", "updated_at": "2024-01-19T21:58:30Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "31.25", - "currency": "USD", "retail_rate": "35.80", "retail_currency": "USD", "list_rate": - "31.25", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_5ee9e08769bc4287ad8e847027288c1d", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_fd2ad00dce454949b8ac890c39f3c4c8", - "object": "Rate", "created_at": "2024-01-19T21:58:30Z", "updated_at": "2024-01-19T21:58:30Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", - "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": - "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_5ee9e08769bc4287ad8e847027288c1d", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_0836fc27debe4a2eacc54249d21e3325", - "object": "Rate", "created_at": "2024-01-19T21:58:30Z", "updated_at": "2024-01-19T21:58:30Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", - "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": - "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_5ee9e08769bc4287ad8e847027288c1d", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_115ff4ec0f5a41019888f2b17745aa44", - "object": "Rate", "created_at": "2024-01-19T21:58:30Z", "updated_at": "2024-01-19T21:58:30Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_5ee9e08769bc4287ad8e847027288c1d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_600f617db6bb402aab6937f775aa6d18", "object": "Rate", "created_at": - "2024-01-19T21:58:30Z", "updated_at": "2024-01-19T21:58:30Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_5ee9e08769bc4287ad8e847027288c1d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_e15744a3b71511eeb808ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:58:29+00:00", "updated_at": "2024-01-19T21:58:29+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_e15cb99cb71511eea77fac1f6bc53342", "object": "Address", "created_at": - "2024-01-19T21:58:29+00:00", "updated_at": "2024-01-19T21:58:29+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_e15744a3b71511eeb808ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:58:29+00:00", "updated_at": - "2024-01-19T21:58:29+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_5ee9e08769bc4287ad8e847027288c1d", "object": "Shipment"}], "rates": - [{"id": "rate_facb41993c13427282ffad696561a300", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "Express", "carrier": - "USPS", "rate": "31.25", "currency": "USD", "retail_rate": "35.80", "retail_currency": - "USD", "list_rate": "31.25", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - false, "est_delivery_days": null, "shipment_id": "shp_5ee9e08769bc4287ad8e847027288c1d", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_fd2ad00dce454949b8ac890c39f3c4c8", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "Priority", "carrier": "USPS", "rate": "6.95", "currency": "USD", - "retail_rate": "10.20", "retail_currency": "USD", "list_rate": "8.24", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": - "shp_5ee9e08769bc4287ad8e847027288c1d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_0836fc27debe4a2eacc54249d21e3325", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "GroundAdvantage", "carrier": - "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_5ee9e08769bc4287ad8e847027288c1d", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_115ff4ec0f5a41019888f2b17745aa44", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "First", "carrier": "USPS", "rate": "4.81", "currency": "USD", - "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_5ee9e08769bc4287ad8e847027288c1d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_600f617db6bb402aab6937f775aa6d18", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "ParcelSelect", "carrier": - "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_5ee9e08769bc4287ad8e847027288c1d", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], "id": "order_91b2616d2ce84011be15e58cc918e027", - "object": "Order"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '11225' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf086e798bc42000f7406 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.090495' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"order": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 N - Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "shipments": [{"parcel": {"weight": - "10.2"}}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '491' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/orders - response: - body: - string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": - "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", - "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", "type": "rate_error", - "message": "Unauthorized. Please check credentials and try again"}, {"carrier": - "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", "type": - "rate_error", "message": "Unauthorized. Please check credentials and try again"}, - {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "created_at": "2024-01-19T22:01:24Z", "updated_at": "2024-01-19T22:01:24Z", - "customs_info": null, "from_address": {"id": "adr_4954a6d5b71611ee88e6ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:01:24+00:00", "updated_at": - "2024-01-19T22:01:24+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "to_address": {"id": "adr_495058e2b71611ee88e3ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T22:01:24+00:00", "updated_at": "2024-01-19T22:01:24+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "buyer_address": {"id": "adr_495058e2b71611ee88e3ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:01:24+00:00", "updated_at": - "2024-01-19T22:01:24+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "return_address": {"id": - "adr_4954a6d5b71611ee88e6ac1f6bc53342", "object": "Address", "created_at": - "2024-01-19T22:01:24+00:00", "updated_at": "2024-01-19T22:01:24+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T22:01:24Z", - "is_return": false, "messages": [{"carrier": "DhlEcs", "carrier_account_id": - "ca_0d64fd488c1444cf9bc16f858703e28f", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_c3cbbd21bc97400bbbaed6d030909476", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_b1a0a1bc45844159812e0224d53948ea", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_99007e1aeb66421faf82676f1199481e", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}], "mode": "test", "options": {"currency": - "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, - "status": "unknown", "tracking_code": null, "updated_at": "2024-01-19T22:01:24Z", - "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": - null, "from_address": {"id": "adr_4954a6d5b71611ee88e6ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T22:01:24+00:00", "updated_at": "2024-01-19T22:01:24+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": "order_f8cada9d567840aa94b6125b31d14709", - "parcel": {"id": "prcl_12e597f959e34134ae344ade340a0822", "object": "Parcel", - "created_at": "2024-01-19T22:01:24Z", "updated_at": "2024-01-19T22:01:24Z", - "length": null, "width": null, "height": null, "predefined_package": null, - "weight": 10.2, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_73dde1abac0845bb939d7ec09c2c4a5e", - "object": "Rate", "created_at": "2024-01-19T22:01:24Z", "updated_at": "2024-01-19T22:01:24Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", - "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": - "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_dd59ad75cc4a4e889bee9d46495fa0bd", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_9fd036851145450da16aebac79b9a269", - "object": "Rate", "created_at": "2024-01-19T22:01:24Z", "updated_at": "2024-01-19T22:01:24Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", - "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": - "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_dd59ad75cc4a4e889bee9d46495fa0bd", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_46e839694ae94cca8dda8d45c651281d", - "object": "Rate", "created_at": "2024-01-19T22:01:24Z", "updated_at": "2024-01-19T22:01:24Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_dd59ad75cc4a4e889bee9d46495fa0bd", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_04c1f65676914ae6817573d1c1fa3bd2", "object": "Rate", "created_at": - "2024-01-19T22:01:24Z", "updated_at": "2024-01-19T22:01:24Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_dd59ad75cc4a4e889bee9d46495fa0bd", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_a65edeb4b53d42ccb7e8e9f757243363", "object": "Rate", "created_at": - "2024-01-19T22:01:24Z", "updated_at": "2024-01-19T22:01:24Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", - "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_dd59ad75cc4a4e889bee9d46495fa0bd", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_495058e2b71611ee88e3ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T22:01:24+00:00", "updated_at": "2024-01-19T22:01:24+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_4954a6d5b71611ee88e6ac1f6bc53342", "object": "Address", "created_at": - "2024-01-19T22:01:24+00:00", "updated_at": "2024-01-19T22:01:24+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_495058e2b71611ee88e3ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:01:24+00:00", "updated_at": - "2024-01-19T22:01:24+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_dd59ad75cc4a4e889bee9d46495fa0bd", "object": "Shipment"}], "rates": - [{"id": "rate_73dde1abac0845bb939d7ec09c2c4a5e", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "Priority", "carrier": - "USPS", "rate": "6.95", "currency": "USD", "retail_rate": "10.20", "retail_currency": - "USD", "list_rate": "8.24", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 2, "shipment_id": "shp_dd59ad75cc4a4e889bee9d46495fa0bd", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_9fd036851145450da16aebac79b9a269", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_dd59ad75cc4a4e889bee9d46495fa0bd", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_46e839694ae94cca8dda8d45c651281d", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "First", "carrier": "USPS", - "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_dd59ad75cc4a4e889bee9d46495fa0bd", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_04c1f65676914ae6817573d1c1fa3bd2", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_dd59ad75cc4a4e889bee9d46495fa0bd", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_a65edeb4b53d42ccb7e8e9f757243363", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "Express", "carrier": - "USPS", "rate": "31.25", "currency": "USD", "retail_rate": "35.80", "retail_currency": - "USD", "list_rate": "31.25", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - false, "est_delivery_days": null, "shipment_id": "shp_dd59ad75cc4a4e889bee9d46495fa0bd", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], "id": "order_f8cada9d567840aa94b6125b31d14709", - "object": "Order"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '12214' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/orders/order_f8cada9d567840aa94b6125b31d14709 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf134e798c49e0010016d - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.750337' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/orders/order_f8cada9d567840aa94b6125b31d14709 - response: - body: - string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": - "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", - "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", "type": "rate_error", - "message": "Unauthorized. Please check credentials and try again"}, {"carrier": - "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", "type": - "rate_error", "message": "Unauthorized. Please check credentials and try again"}, - {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "created_at": "2024-01-19T22:01:24Z", "updated_at": "2024-01-19T22:01:24Z", - "customs_info": null, "from_address": {"id": "adr_4954a6d5b71611ee88e6ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:01:24+00:00", "updated_at": - "2024-01-19T22:01:24+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "to_address": {"id": "adr_495058e2b71611ee88e3ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T22:01:24+00:00", "updated_at": "2024-01-19T22:01:24+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "buyer_address": {"id": "adr_495058e2b71611ee88e3ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:01:24+00:00", "updated_at": - "2024-01-19T22:01:24+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "return_address": {"id": - "adr_4954a6d5b71611ee88e6ac1f6bc53342", "object": "Address", "created_at": - "2024-01-19T22:01:24+00:00", "updated_at": "2024-01-19T22:01:24+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T22:01:24Z", - "is_return": false, "messages": [], "mode": "test", "options": {"currency": - "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, - "status": "unknown", "tracking_code": null, "updated_at": "2024-01-19T22:01:24Z", - "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": - null, "from_address": {"id": "adr_4954a6d5b71611ee88e6ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T22:01:24+00:00", "updated_at": "2024-01-19T22:01:24+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": "order_f8cada9d567840aa94b6125b31d14709", - "parcel": {"id": "prcl_12e597f959e34134ae344ade340a0822", "object": "Parcel", - "created_at": "2024-01-19T22:01:24Z", "updated_at": "2024-01-19T22:01:24Z", - "length": null, "width": null, "height": null, "predefined_package": null, - "weight": 10.2, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_73dde1abac0845bb939d7ec09c2c4a5e", - "object": "Rate", "created_at": "2024-01-19T22:01:24Z", "updated_at": "2024-01-19T22:01:24Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", - "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": - "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_dd59ad75cc4a4e889bee9d46495fa0bd", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_9fd036851145450da16aebac79b9a269", - "object": "Rate", "created_at": "2024-01-19T22:01:24Z", "updated_at": "2024-01-19T22:01:24Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", - "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": - "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_dd59ad75cc4a4e889bee9d46495fa0bd", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_46e839694ae94cca8dda8d45c651281d", - "object": "Rate", "created_at": "2024-01-19T22:01:24Z", "updated_at": "2024-01-19T22:01:24Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_dd59ad75cc4a4e889bee9d46495fa0bd", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_04c1f65676914ae6817573d1c1fa3bd2", "object": "Rate", "created_at": - "2024-01-19T22:01:24Z", "updated_at": "2024-01-19T22:01:24Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_dd59ad75cc4a4e889bee9d46495fa0bd", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_a65edeb4b53d42ccb7e8e9f757243363", "object": "Rate", "created_at": - "2024-01-19T22:01:24Z", "updated_at": "2024-01-19T22:01:24Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", - "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_dd59ad75cc4a4e889bee9d46495fa0bd", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_495058e2b71611ee88e3ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T22:01:24+00:00", "updated_at": "2024-01-19T22:01:24+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_4954a6d5b71611ee88e6ac1f6bc53342", "object": "Address", "created_at": - "2024-01-19T22:01:24+00:00", "updated_at": "2024-01-19T22:01:24+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_495058e2b71611ee88e3ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:01:24+00:00", "updated_at": - "2024-01-19T22:01:24+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_dd59ad75cc4a4e889bee9d46495fa0bd", "object": "Shipment"}], "rates": - [{"id": "rate_73dde1abac0845bb939d7ec09c2c4a5e", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "Priority", "carrier": - "USPS", "rate": "6.95", "currency": "USD", "retail_rate": "10.20", "retail_currency": - "USD", "list_rate": "8.24", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 2, "shipment_id": "shp_dd59ad75cc4a4e889bee9d46495fa0bd", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_9fd036851145450da16aebac79b9a269", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_dd59ad75cc4a4e889bee9d46495fa0bd", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_46e839694ae94cca8dda8d45c651281d", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "First", "carrier": "USPS", - "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_dd59ad75cc4a4e889bee9d46495fa0bd", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_04c1f65676914ae6817573d1c1fa3bd2", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_dd59ad75cc4a4e889bee9d46495fa0bd", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_a65edeb4b53d42ccb7e8e9f757243363", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "Express", "carrier": - "USPS", "rate": "31.25", "currency": "USD", "retail_rate": "35.80", "retail_currency": - "USD", "list_rate": "31.25", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - false, "est_delivery_days": null, "shipment_id": "shp_dd59ad75cc4a4e889bee9d46495fa0bd", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], "id": "order_f8cada9d567840aa94b6125b31d14709", - "object": "Order"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '11225' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf135e798c49f001002ba - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.102325' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"order": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 N - Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "shipments": [{"parcel": {"weight": - "10.2"}}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '491' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/orders - response: - body: - string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": - "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", - "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", "type": "rate_error", - "message": "Unauthorized. Please check credentials and try again"}, {"carrier": - "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", "type": - "rate_error", "message": "Unauthorized. Please check credentials and try again"}, - {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "created_at": "2024-01-19T22:05:10Z", "updated_at": "2024-01-19T22:05:11Z", - "customs_info": null, "from_address": {"id": "adr_d0203065b71611eeb5a6ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T22:05:10+00:00", "updated_at": - "2024-01-19T22:05:10+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "to_address": {"id": "adr_d01e64b7b71611eeb33cac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T22:05:10+00:00", "updated_at": "2024-01-19T22:05:10+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "buyer_address": {"id": "adr_d01e64b7b71611eeb33cac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:05:10+00:00", "updated_at": - "2024-01-19T22:05:10+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "return_address": {"id": - "adr_d0203065b71611eeb5a6ac1f6bc539ae", "object": "Address", "created_at": - "2024-01-19T22:05:10+00:00", "updated_at": "2024-01-19T22:05:10+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T22:05:10Z", - "is_return": false, "messages": [{"carrier": "DhlEcs", "carrier_account_id": - "ca_0d64fd488c1444cf9bc16f858703e28f", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_c3cbbd21bc97400bbbaed6d030909476", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_99007e1aeb66421faf82676f1199481e", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_b1a0a1bc45844159812e0224d53948ea", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}], "mode": "test", "options": {"currency": - "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, - "status": "unknown", "tracking_code": null, "updated_at": "2024-01-19T22:05:10Z", - "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": - null, "from_address": {"id": "adr_d0203065b71611eeb5a6ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T22:05:10+00:00", "updated_at": "2024-01-19T22:05:10+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": "order_c04f90b3029c4395a25c2fee0933b965", - "parcel": {"id": "prcl_e0e6f39fdc814de188b4ef80de6e9b9a", "object": "Parcel", - "created_at": "2024-01-19T22:05:10Z", "updated_at": "2024-01-19T22:05:10Z", - "length": null, "width": null, "height": null, "predefined_package": null, - "weight": 10.2, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_3bddd9262cee47b2af04faf532edf549", - "object": "Rate", "created_at": "2024-01-19T22:05:11Z", "updated_at": "2024-01-19T22:05:11Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "31.25", - "currency": "USD", "retail_rate": "35.80", "retail_currency": "USD", "list_rate": - "31.25", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_f8af84505218441ba2fbecca5cbc876f", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c74ab9d396134386a6a82921d2abafb3", - "object": "Rate", "created_at": "2024-01-19T22:05:11Z", "updated_at": "2024-01-19T22:05:11Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", - "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": - "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_f8af84505218441ba2fbecca5cbc876f", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_06b24b7a846a4e5db9beaa485b37a54d", - "object": "Rate", "created_at": "2024-01-19T22:05:11Z", "updated_at": "2024-01-19T22:05:11Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", - "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": - "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_f8af84505218441ba2fbecca5cbc876f", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_55032c1909614c168e598bd2a1cbf592", - "object": "Rate", "created_at": "2024-01-19T22:05:11Z", "updated_at": "2024-01-19T22:05:11Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_f8af84505218441ba2fbecca5cbc876f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_a14d46b9d1d54e12aaad7d7e95b7f660", "object": "Rate", "created_at": - "2024-01-19T22:05:11Z", "updated_at": "2024-01-19T22:05:11Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_f8af84505218441ba2fbecca5cbc876f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_d01e64b7b71611eeb33cac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T22:05:10+00:00", "updated_at": "2024-01-19T22:05:10+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_d0203065b71611eeb5a6ac1f6bc539ae", "object": "Address", "created_at": - "2024-01-19T22:05:10+00:00", "updated_at": "2024-01-19T22:05:10+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_d01e64b7b71611eeb33cac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:05:10+00:00", "updated_at": - "2024-01-19T22:05:10+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_f8af84505218441ba2fbecca5cbc876f", "object": "Shipment"}], "rates": - [{"id": "rate_3bddd9262cee47b2af04faf532edf549", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "Express", "carrier": - "USPS", "rate": "31.25", "currency": "USD", "retail_rate": "35.80", "retail_currency": - "USD", "list_rate": "31.25", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - false, "est_delivery_days": null, "shipment_id": "shp_f8af84505218441ba2fbecca5cbc876f", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c74ab9d396134386a6a82921d2abafb3", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "Priority", "carrier": "USPS", "rate": "6.95", "currency": "USD", - "retail_rate": "10.20", "retail_currency": "USD", "list_rate": "8.24", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": - "shp_f8af84505218441ba2fbecca5cbc876f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_06b24b7a846a4e5db9beaa485b37a54d", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "GroundAdvantage", "carrier": - "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_f8af84505218441ba2fbecca5cbc876f", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_55032c1909614c168e598bd2a1cbf592", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "First", "carrier": "USPS", "rate": "4.81", "currency": "USD", - "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_f8af84505218441ba2fbecca5cbc876f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_a14d46b9d1d54e12aaad7d7e95b7f660", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "ParcelSelect", "carrier": - "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_f8af84505218441ba2fbecca5cbc876f", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], "id": "order_c04f90b3029c4395a25c2fee0933b965", - "object": "Order"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '12214' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/orders/order_c04f90b3029c4395a25c2fee0933b965 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf216e798d07b0010ae09 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.697542' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/orders/order_c04f90b3029c4395a25c2fee0933b965 - response: - body: - string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": - "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", - "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", "type": "rate_error", - "message": "Unauthorized. Please check credentials and try again"}, {"carrier": - "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", "type": - "rate_error", "message": "Unauthorized. Please check credentials and try again"}, - {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "created_at": "2024-01-19T22:05:10Z", "updated_at": "2024-01-19T22:05:11Z", - "customs_info": null, "from_address": {"id": "adr_d0203065b71611eeb5a6ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T22:05:10+00:00", "updated_at": - "2024-01-19T22:05:10+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "to_address": {"id": "adr_d01e64b7b71611eeb33cac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T22:05:10+00:00", "updated_at": "2024-01-19T22:05:10+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "buyer_address": {"id": "adr_d01e64b7b71611eeb33cac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:05:10+00:00", "updated_at": - "2024-01-19T22:05:10+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "return_address": {"id": - "adr_d0203065b71611eeb5a6ac1f6bc539ae", "object": "Address", "created_at": - "2024-01-19T22:05:10+00:00", "updated_at": "2024-01-19T22:05:10+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T22:05:10Z", - "is_return": false, "messages": [], "mode": "test", "options": {"currency": - "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, - "status": "unknown", "tracking_code": null, "updated_at": "2024-01-19T22:05:10Z", - "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": - null, "from_address": {"id": "adr_d0203065b71611eeb5a6ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T22:05:10+00:00", "updated_at": "2024-01-19T22:05:10+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": "order_c04f90b3029c4395a25c2fee0933b965", - "parcel": {"id": "prcl_e0e6f39fdc814de188b4ef80de6e9b9a", "object": "Parcel", - "created_at": "2024-01-19T22:05:10Z", "updated_at": "2024-01-19T22:05:10Z", - "length": null, "width": null, "height": null, "predefined_package": null, - "weight": 10.2, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_3bddd9262cee47b2af04faf532edf549", - "object": "Rate", "created_at": "2024-01-19T22:05:11Z", "updated_at": "2024-01-19T22:05:11Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "31.25", - "currency": "USD", "retail_rate": "35.80", "retail_currency": "USD", "list_rate": - "31.25", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_f8af84505218441ba2fbecca5cbc876f", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c74ab9d396134386a6a82921d2abafb3", - "object": "Rate", "created_at": "2024-01-19T22:05:11Z", "updated_at": "2024-01-19T22:05:11Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", - "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": - "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_f8af84505218441ba2fbecca5cbc876f", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_06b24b7a846a4e5db9beaa485b37a54d", - "object": "Rate", "created_at": "2024-01-19T22:05:11Z", "updated_at": "2024-01-19T22:05:11Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", - "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": - "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_f8af84505218441ba2fbecca5cbc876f", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_55032c1909614c168e598bd2a1cbf592", - "object": "Rate", "created_at": "2024-01-19T22:05:11Z", "updated_at": "2024-01-19T22:05:11Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_f8af84505218441ba2fbecca5cbc876f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_a14d46b9d1d54e12aaad7d7e95b7f660", "object": "Rate", "created_at": - "2024-01-19T22:05:11Z", "updated_at": "2024-01-19T22:05:11Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_f8af84505218441ba2fbecca5cbc876f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_d01e64b7b71611eeb33cac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T22:05:10+00:00", "updated_at": "2024-01-19T22:05:10+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_d0203065b71611eeb5a6ac1f6bc539ae", "object": "Address", "created_at": - "2024-01-19T22:05:10+00:00", "updated_at": "2024-01-19T22:05:10+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_d01e64b7b71611eeb33cac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:05:10+00:00", "updated_at": - "2024-01-19T22:05:10+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_f8af84505218441ba2fbecca5cbc876f", "object": "Shipment"}], "rates": - [{"id": "rate_3bddd9262cee47b2af04faf532edf549", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "Express", "carrier": - "USPS", "rate": "31.25", "currency": "USD", "retail_rate": "35.80", "retail_currency": - "USD", "list_rate": "31.25", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - false, "est_delivery_days": null, "shipment_id": "shp_f8af84505218441ba2fbecca5cbc876f", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c74ab9d396134386a6a82921d2abafb3", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "Priority", "carrier": "USPS", "rate": "6.95", "currency": "USD", - "retail_rate": "10.20", "retail_currency": "USD", "list_rate": "8.24", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": - "shp_f8af84505218441ba2fbecca5cbc876f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_06b24b7a846a4e5db9beaa485b37a54d", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "GroundAdvantage", "carrier": - "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_f8af84505218441ba2fbecca5cbc876f", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_55032c1909614c168e598bd2a1cbf592", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "First", "carrier": "USPS", "rate": "4.81", "currency": "USD", - "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_f8af84505218441ba2fbecca5cbc876f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_a14d46b9d1d54e12aaad7d7e95b7f660", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "ParcelSelect", "carrier": - "USPS", "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_f8af84505218441ba2fbecca5cbc876f", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], "id": "order_c04f90b3029c4395a25c2fee0933b965", - "object": "Order"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '11225' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf217e798d07c0010aed1 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.097533' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"order": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 N - Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "shipments": [{"parcel": {"weight": - "10.2"}}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '491' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/orders - response: - body: - string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": - "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", - "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", - "message": "Unauthorized. Please check credentials and try again"}, {"carrier": - "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", "type": - "rate_error", "message": "Unauthorized. Please check credentials and try again"}, - {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "created_at": "2024-01-19T22:06:44Z", "updated_at": "2024-01-19T22:06:44Z", - "customs_info": null, "from_address": {"id": "adr_07e76d4fb71711ee8697ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:06:43+00:00", "updated_at": - "2024-01-19T22:06:43+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "to_address": {"id": "adr_07e618a3b71711ee85073cecef1b359e", "object": "Address", - "created_at": "2024-01-19T22:06:43+00:00", "updated_at": "2024-01-19T22:06:43+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "buyer_address": {"id": "adr_07e618a3b71711ee85073cecef1b359e", - "object": "Address", "created_at": "2024-01-19T22:06:43+00:00", "updated_at": - "2024-01-19T22:06:43+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "return_address": {"id": - "adr_07e76d4fb71711ee8697ac1f6bc53342", "object": "Address", "created_at": - "2024-01-19T22:06:43+00:00", "updated_at": "2024-01-19T22:06:43+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T22:06:44Z", - "is_return": false, "messages": [{"carrier": "DhlEcs", "carrier_account_id": - "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_b1a0a1bc45844159812e0224d53948ea", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_99007e1aeb66421faf82676f1199481e", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_c3cbbd21bc97400bbbaed6d030909476", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_0d64fd488c1444cf9bc16f858703e28f", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}], "mode": "test", "options": {"currency": - "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, - "status": "unknown", "tracking_code": null, "updated_at": "2024-01-19T22:06:44Z", - "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": - null, "from_address": {"id": "adr_07e76d4fb71711ee8697ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T22:06:43+00:00", "updated_at": "2024-01-19T22:06:43+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": "order_bb3f64f9028a4d0eafd955020763a2af", - "parcel": {"id": "prcl_4883076055c44d75a819636e59508c29", "object": "Parcel", - "created_at": "2024-01-19T22:06:44Z", "updated_at": "2024-01-19T22:06:44Z", - "length": null, "width": null, "height": null, "predefined_package": null, - "weight": 10.2, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_2b22bdda9e98425b988d13094f456404", - "object": "Rate", "created_at": "2024-01-19T22:06:44Z", "updated_at": "2024-01-19T22:06:44Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", - "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": - "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_343dae0a05b148369fd5a43bf6a2ed86", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_3a35bdce8e5341989bc6f55d92fc88f1", - "object": "Rate", "created_at": "2024-01-19T22:06:44Z", "updated_at": "2024-01-19T22:06:44Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", - "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": - "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_343dae0a05b148369fd5a43bf6a2ed86", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_973147d9d7684979b2718dd755fb9b45", - "object": "Rate", "created_at": "2024-01-19T22:06:44Z", "updated_at": "2024-01-19T22:06:44Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_343dae0a05b148369fd5a43bf6a2ed86", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_5b3ec6e32ce544ecb8c2910a3fe2b1de", "object": "Rate", "created_at": - "2024-01-19T22:06:44Z", "updated_at": "2024-01-19T22:06:44Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_343dae0a05b148369fd5a43bf6a2ed86", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_125c36b9fb0d46aba0d122c607dfe805", "object": "Rate", "created_at": - "2024-01-19T22:06:44Z", "updated_at": "2024-01-19T22:06:44Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", - "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_343dae0a05b148369fd5a43bf6a2ed86", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_07e618a3b71711ee85073cecef1b359e", "object": - "Address", "created_at": "2024-01-19T22:06:43+00:00", "updated_at": "2024-01-19T22:06:43+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_07e76d4fb71711ee8697ac1f6bc53342", "object": "Address", "created_at": - "2024-01-19T22:06:43+00:00", "updated_at": "2024-01-19T22:06:43+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_07e618a3b71711ee85073cecef1b359e", - "object": "Address", "created_at": "2024-01-19T22:06:43+00:00", "updated_at": - "2024-01-19T22:06:43+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_343dae0a05b148369fd5a43bf6a2ed86", "object": "Shipment"}], "rates": - [{"id": "rate_2b22bdda9e98425b988d13094f456404", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "Priority", "carrier": - "USPS", "rate": "6.95", "currency": "USD", "retail_rate": "10.20", "retail_currency": - "USD", "list_rate": "8.24", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 2, "shipment_id": "shp_343dae0a05b148369fd5a43bf6a2ed86", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_3a35bdce8e5341989bc6f55d92fc88f1", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_343dae0a05b148369fd5a43bf6a2ed86", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_973147d9d7684979b2718dd755fb9b45", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "First", "carrier": "USPS", - "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_343dae0a05b148369fd5a43bf6a2ed86", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_5b3ec6e32ce544ecb8c2910a3fe2b1de", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_343dae0a05b148369fd5a43bf6a2ed86", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_125c36b9fb0d46aba0d122c607dfe805", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "Express", "carrier": - "USPS", "rate": "31.25", "currency": "USD", "retail_rate": "35.80", "retail_currency": - "USD", "list_rate": "31.25", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - false, "est_delivery_days": null, "shipment_id": "shp_343dae0a05b148369fd5a43bf6a2ed86", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], "id": "order_bb3f64f9028a4d0eafd955020763a2af", - "object": "Order"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '12214' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/orders/order_bb3f64f9028a4d0eafd955020763a2af - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaf273e798d5260010ed77 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.673872' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/orders/order_bb3f64f9028a4d0eafd955020763a2af - response: - body: - string: '{"mode": "test", "reference": "", "is_return": false, "options": {"currency": - "USD", "payment": {"type": "SENDER"}}, "messages": [{"carrier": "DhlEcs", - "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", - "message": "Unauthorized. Please check credentials and try again"}, {"carrier": - "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", "type": - "rate_error", "message": "Unauthorized. Please check credentials and try again"}, - {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "created_at": "2024-01-19T22:06:44Z", "updated_at": "2024-01-19T22:06:44Z", - "customs_info": null, "from_address": {"id": "adr_07e76d4fb71711ee8697ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:06:43+00:00", "updated_at": - "2024-01-19T22:06:43+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "to_address": {"id": "adr_07e618a3b71711ee85073cecef1b359e", "object": "Address", - "created_at": "2024-01-19T22:06:43+00:00", "updated_at": "2024-01-19T22:06:43+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "buyer_address": {"id": "adr_07e618a3b71711ee85073cecef1b359e", - "object": "Address", "created_at": "2024-01-19T22:06:43+00:00", "updated_at": - "2024-01-19T22:06:43+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "return_address": {"id": - "adr_07e76d4fb71711ee8697ac1f6bc53342", "object": "Address", "created_at": - "2024-01-19T22:06:43+00:00", "updated_at": "2024-01-19T22:06:43+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "shipments": [{"created_at": "2024-01-19T22:06:44Z", - "is_return": false, "messages": [], "mode": "test", "options": {"currency": - "USD", "payment": {"type": "SENDER"}, "date_advance": 0}, "reference": null, - "status": "unknown", "tracking_code": null, "updated_at": "2024-01-19T22:06:44Z", - "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": - null, "from_address": {"id": "adr_07e76d4fb71711ee8697ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T22:06:43+00:00", "updated_at": "2024-01-19T22:06:43+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": "order_bb3f64f9028a4d0eafd955020763a2af", - "parcel": {"id": "prcl_4883076055c44d75a819636e59508c29", "object": "Parcel", - "created_at": "2024-01-19T22:06:44Z", "updated_at": "2024-01-19T22:06:44Z", - "length": null, "width": null, "height": null, "predefined_package": null, - "weight": 10.2, "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_2b22bdda9e98425b988d13094f456404", - "object": "Rate", "created_at": "2024-01-19T22:06:44Z", "updated_at": "2024-01-19T22:06:44Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", - "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": - "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_343dae0a05b148369fd5a43bf6a2ed86", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_3a35bdce8e5341989bc6f55d92fc88f1", - "object": "Rate", "created_at": "2024-01-19T22:06:44Z", "updated_at": "2024-01-19T22:06:44Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", - "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": - "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_343dae0a05b148369fd5a43bf6a2ed86", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_973147d9d7684979b2718dd755fb9b45", - "object": "Rate", "created_at": "2024-01-19T22:06:44Z", "updated_at": "2024-01-19T22:06:44Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_343dae0a05b148369fd5a43bf6a2ed86", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_5b3ec6e32ce544ecb8c2910a3fe2b1de", "object": "Rate", "created_at": - "2024-01-19T22:06:44Z", "updated_at": "2024-01-19T22:06:44Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_343dae0a05b148369fd5a43bf6a2ed86", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_125c36b9fb0d46aba0d122c607dfe805", "object": "Rate", "created_at": - "2024-01-19T22:06:44Z", "updated_at": "2024-01-19T22:06:44Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", - "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_343dae0a05b148369fd5a43bf6a2ed86", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_07e618a3b71711ee85073cecef1b359e", "object": - "Address", "created_at": "2024-01-19T22:06:43+00:00", "updated_at": "2024-01-19T22:06:43+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_07e76d4fb71711ee8697ac1f6bc53342", "object": "Address", "created_at": - "2024-01-19T22:06:43+00:00", "updated_at": "2024-01-19T22:06:43+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_07e618a3b71711ee85073cecef1b359e", - "object": "Address", "created_at": "2024-01-19T22:06:43+00:00", "updated_at": - "2024-01-19T22:06:43+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_343dae0a05b148369fd5a43bf6a2ed86", "object": "Shipment"}], "rates": - [{"id": "rate_2b22bdda9e98425b988d13094f456404", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "Priority", "carrier": - "USPS", "rate": "6.95", "currency": "USD", "retail_rate": "10.20", "retail_currency": - "USD", "list_rate": "8.24", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 2, "shipment_id": "shp_343dae0a05b148369fd5a43bf6a2ed86", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_3a35bdce8e5341989bc6f55d92fc88f1", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_343dae0a05b148369fd5a43bf6a2ed86", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_973147d9d7684979b2718dd755fb9b45", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "First", "carrier": "USPS", - "rate": "4.81", "currency": "USD", "retail_rate": "6.35", "retail_currency": - "USD", "list_rate": "4.81", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "shipment_id": "shp_343dae0a05b148369fd5a43bf6a2ed86", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_5b3ec6e32ce544ecb8c2910a3fe2b1de", - "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_343dae0a05b148369fd5a43bf6a2ed86", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_125c36b9fb0d46aba0d122c607dfe805", "object": "Rate", "created_at": - null, "updated_at": null, "mode": "test", "service": "Express", "carrier": - "USPS", "rate": "31.25", "currency": "USD", "retail_rate": "35.80", "retail_currency": - "USD", "list_rate": "31.25", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - false, "est_delivery_days": null, "shipment_id": "shp_343dae0a05b148369fd5a43bf6a2ed86", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], "id": "order_bb3f64f9028a4d0eafd955020763a2af", - "object": "Order"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '11225' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf274e798d53e0010ee1a - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.099197' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_pagination_get_next_page.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_pagination_get_next_page.yaml deleted file mode 100644 index 98f9c843..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_pagination_get_next_page.yaml +++ /dev/null @@ -1,818 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/shipments?page_size=5 - response: - body: - string: '{"shipments": [{"created_at": "2024-01-19T22:06:45Z", "is_return": - false, "messages": [], "mode": "test", "options": {"currency": "USD", "payment": - {"type": "SENDER"}, "date_advance": 0}, "reference": null, "status": "delivered", - "tracking_code": "9400100207552010713175", "updated_at": "2024-01-19T22:10:55Z", - "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": - null, "from_address": {"id": "adr_08d689afb71711ee855d3cecef1b359e", "object": - "Address", "created_at": "2024-01-19T22:06:45+00:00", "updated_at": "2024-01-19T22:06:45+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": "order_44572b1e925342fababb94c67cca8292", - "parcel": {"id": "prcl_92ca5d3034b14d80851d218f518b01a2", "object": "Parcel", - "created_at": "2024-01-19T22:06:45Z", "updated_at": "2024-01-19T22:06:45Z", - "length": null, "width": null, "height": null, "predefined_package": null, - "weight": 10.2, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_faf332fd56294e918c9593682b15c7c5", "created_at": "2024-01-19T22:06:46Z", - "updated_at": "2024-01-19T22:06:47Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T22:06:46Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e85397ca33ed6447558b2ef31c70893531.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_b3aee1cf42d9497bb591126539a7a052", "object": - "Rate", "created_at": "2024-01-19T22:06:46Z", "updated_at": "2024-01-19T22:06:46Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "6.95", - "currency": "USD", "retail_rate": "10.20", "retail_currency": "USD", "list_rate": - "8.24", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_ad619fd0e6734b27b3e369d2cf9313f5", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_057d8b8d6516413aac61fdf93a545975", - "object": "Rate", "created_at": "2024-01-19T22:06:46Z", "updated_at": "2024-01-19T22:06:46Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "4.81", - "currency": "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": - "4.81", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_ad619fd0e6734b27b3e369d2cf9313f5", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_2b01d28e8a7c4149ab20ccbcf29a5952", - "object": "Rate", "created_at": "2024-01-19T22:06:46Z", "updated_at": "2024-01-19T22:06:46Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_ad619fd0e6734b27b3e369d2cf9313f5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_ded1e495460149e8b94ad766f724145d", "object": "Rate", "created_at": - "2024-01-19T22:06:46Z", "updated_at": "2024-01-19T22:06:46Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_ad619fd0e6734b27b3e369d2cf9313f5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_f34ab6fcdcf04c2592b1ec54cb983239", "object": "Rate", "created_at": - "2024-01-19T22:06:46Z", "updated_at": "2024-01-19T22:06:46Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "31.25", "currency": "USD", - "retail_rate": "35.80", "retail_currency": "USD", "list_rate": "31.25", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_ad619fd0e6734b27b3e369d2cf9313f5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_2b01d28e8a7c4149ab20ccbcf29a5952", - "object": "Rate", "created_at": "2024-01-19T22:06:46Z", "updated_at": "2024-01-19T22:06:46Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "4.81", "currency": - "USD", "retail_rate": "6.35", "retail_currency": "USD", "list_rate": "4.81", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_ad619fd0e6734b27b3e369d2cf9313f5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - "tracker": {"id": "trk_d73b622258634457bba13d948079a3e6", "object": "Tracker", - "mode": "test", "tracking_code": "9400100207552010713175", "status": "delivered", - "status_detail": "arrived_at_destination", "created_at": "2024-01-19T22:06:47Z", - "updated_at": "2024-01-19T22:09:47Z", "signed_by": "John Tester", "weight": - null, "est_delivery_date": "2024-01-19T22:09:47Z", "shipment_id": "shp_ad619fd0e6734b27b3e369d2cf9313f5", - "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": - "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-19T22:09:47Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", - "message": "Shipping Label Created", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-20T10:46:47Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}, {"object": - "TrackingDetail", "message": "Arrived at USPS Origin Facility", "description": - "", "status": "in_transit", "status_detail": "arrived_at_facility", "datetime": - "2023-12-20T20:51:47Z", "source": "USPS", "carrier_code": "", "tracking_location": - {"object": "TrackingLocation", "city": "NORTH HOUSTON", "state": "TX", "country": - null, "zip": "77315"}}, {"object": "TrackingDetail", "message": "Arrived at - USPS Facility", "description": "", "status": "in_transit", "status_detail": - "arrived_at_facility", "datetime": "2023-12-21T22:27:47Z", "source": "USPS", - "carrier_code": "", "tracking_location": {"object": "TrackingLocation", "city": - "COLUMBIA", "state": "SC", "country": null, "zip": "29201"}}, {"object": "TrackingDetail", - "message": "Arrived at Post Office", "description": "", "status": "in_transit", - "status_detail": "arrived_at_facility", "datetime": "2023-12-22T01:18:47Z", - "source": "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "CHARLESTON", "state": "SC", "country": null, "zip": "29407"}}, {"object": - "TrackingDetail", "message": "Sorting Complete", "description": "", "status": - "in_transit", "status_detail": "status_update", "datetime": "2023-12-22T06:58:47Z", - "source": "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "CHARLESTON", "state": "SC", "country": null, "zip": "29407"}}, {"object": - "TrackingDetail", "message": "Out for Delivery", "description": "", "status": - "out_for_delivery", "status_detail": "out_for_delivery", "datetime": "2023-12-22T07:08:47Z", - "source": "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "CHARLESTON", "state": "SC", "country": null, "zip": "29407"}}, {"object": - "TrackingDetail", "message": "Delivered", "description": "", "status": "delivered", - "status_detail": "arrived_at_destination", "datetime": "2023-12-22T12:00:47Z", - "source": "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "CHARLESTON", "state": "SC", "country": null, "zip": "29407"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "NORTH HOUSTON", "state": "TX", "country": - null, "zip": "77315"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - {"object": "TrackingLocation", "city": "CHARLESTON", "state": "SC", "country": - null, "zip": "29407"}, "guaranteed_delivery_date": null, "alternate_identifier": - null, "initial_delivery_attempt": "2023-12-22T12:00:47Z"}, "public_url": "https://track.easypost.com/djE6dHJrX2Q3M2I2MjIyNTg2MzQ0NTdiYmExM2Q5NDgwNzlhM2U2"}, - "to_address": {"id": "adr_08d4ba82b71711ee9769ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T22:06:45+00:00", "updated_at": "2024-01-19T22:06:46+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_08d689afb71711ee855d3cecef1b359e", - "object": "Address", "created_at": "2024-01-19T22:06:45+00:00", "updated_at": - "2024-01-19T22:06:45+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_08d4ba82b71711ee9769ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T22:06:45+00:00", "updated_at": "2024-01-19T22:06:46+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "4.81000", "charged": true, "refunded": false}], "id": "shp_ad619fd0e6734b27b3e369d2cf9313f5", - "object": "Shipment"}, {"created_at": "2024-01-19T22:06:37Z", "is_return": - false, "messages": [], "mode": "test", "options": {"currency": "USD", "payment": - {"type": "SENDER"}, "date_advance": 0}, "reference": null, "status": "delivered", - "tracking_code": "9405500207552010713130", "updated_at": "2024-01-19T22:12:15Z", - "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": - {"id": "cstinfo_6424f9c6c56a45e0a053d41bab765366", "object": "CustomsInfo", - "created_at": "2024-01-19T22:06:37Z", "updated_at": "2024-01-19T22:06:37Z", - "contents_explanation": "", "contents_type": "merchandise", "customs_certify": - true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": - "return", "restriction_comments": null, "restriction_type": "none", "mode": - "test", "declaration": null, "customs_items": [{"id": "cstitem_f3b93149111747b685e79f7e45123555", - "object": "CustomsItem", "created_at": "2024-01-19T22:06:37Z", "updated_at": - "2024-01-19T22:06:37Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_03d0ac30b71711ee8522ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:06:37+00:00", "updated_at": - "2024-01-19T22:06:37+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_aba631355c144c79b47714219c99b56a", - "object": "Parcel", "created_at": "2024-01-19T22:06:37Z", "updated_at": "2024-01-19T22:06:37Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_24118cf8a19e46aa88507abf3ac31460", "created_at": "2024-01-19T22:06:37Z", - "updated_at": "2024-01-19T22:06:38Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T22:06:37Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e85006b77f7f2f4a44b65598f187ea2830.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_bff27d36ac6c4b09a9637f99acddaeb8", "object": - "Rate", "created_at": "2024-01-19T22:06:37Z", "updated_at": "2024-01-19T22:06:37Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_04f452cb0a14438c93d21970a907560f", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_069d6fd9fd8548b8aae17a80a08cb664", - "object": "Rate", "created_at": "2024-01-19T22:06:37Z", "updated_at": "2024-01-19T22:06:37Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_04f452cb0a14438c93d21970a907560f", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_6f5f0c38a162400291fa06e7a76cb5f7", - "object": "Rate", "created_at": "2024-01-19T22:06:37Z", "updated_at": "2024-01-19T22:06:37Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_04f452cb0a14438c93d21970a907560f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_50a8cb70d1e24035b9ab15e714d3f3ce", "object": "Rate", "created_at": - "2024-01-19T22:06:37Z", "updated_at": "2024-01-19T22:06:37Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_04f452cb0a14438c93d21970a907560f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_87d724718ad14eb384f691c06a302751", "object": "Rate", "created_at": - "2024-01-19T22:06:37Z", "updated_at": "2024-01-19T22:06:37Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_04f452cb0a14438c93d21970a907560f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_bff27d36ac6c4b09a9637f99acddaeb8", - "object": "Rate", "created_at": "2024-01-19T22:06:37Z", "updated_at": "2024-01-19T22:06:37Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_04f452cb0a14438c93d21970a907560f", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_4ef6c65400804e3f98cb3c2b0056b8b9", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010713130", - "status": "delivered", "status_detail": "arrived_at_destination", "created_at": - "2024-01-19T22:06:38Z", "updated_at": "2024-01-19T22:09:38Z", "signed_by": - "John Tester", "weight": null, "est_delivery_date": "2024-01-19T22:09:38Z", - "shipment_id": "shp_04f452cb0a14438c93d21970a907560f", "carrier": "USPS", - "tracking_details": [{"object": "TrackingDetail", "message": "Pre-Shipment - Info Sent to USPS", "description": "", "status": "pre_transit", "status_detail": - "status_update", "datetime": "2023-12-19T22:09:38Z", "source": "USPS", "carrier_code": - "", "tracking_location": {"object": "TrackingLocation", "city": null, "state": - null, "country": null, "zip": null}}, {"object": "TrackingDetail", "message": - "Shipping Label Created", "description": "", "status": "pre_transit", "status_detail": - "status_update", "datetime": "2023-12-20T10:46:38Z", "source": "USPS", "carrier_code": - "", "tracking_location": {"object": "TrackingLocation", "city": "HOUSTON", - "state": "TX", "country": null, "zip": "77063"}}, {"object": "TrackingDetail", - "message": "Arrived at USPS Origin Facility", "description": "", "status": - "in_transit", "status_detail": "arrived_at_facility", "datetime": "2023-12-20T20:51:38Z", - "source": "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "NORTH HOUSTON", "state": "TX", "country": null, "zip": "77315"}}, - {"object": "TrackingDetail", "message": "Arrived at USPS Facility", "description": - "", "status": "in_transit", "status_detail": "arrived_at_facility", "datetime": - "2023-12-21T22:27:38Z", "source": "USPS", "carrier_code": "", "tracking_location": - {"object": "TrackingLocation", "city": "COLUMBIA", "state": "SC", "country": - null, "zip": "29201"}}, {"object": "TrackingDetail", "message": "Arrived at - Post Office", "description": "", "status": "in_transit", "status_detail": - "arrived_at_facility", "datetime": "2023-12-22T01:18:38Z", "source": "USPS", - "carrier_code": "", "tracking_location": {"object": "TrackingLocation", "city": - "CHARLESTON", "state": "SC", "country": null, "zip": "29407"}}, {"object": - "TrackingDetail", "message": "Sorting Complete", "description": "", "status": - "in_transit", "status_detail": "status_update", "datetime": "2023-12-22T06:58:38Z", - "source": "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "CHARLESTON", "state": "SC", "country": null, "zip": "29407"}}, {"object": - "TrackingDetail", "message": "Out for Delivery", "description": "", "status": - "out_for_delivery", "status_detail": "out_for_delivery", "datetime": "2023-12-22T07:08:38Z", - "source": "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "CHARLESTON", "state": "SC", "country": null, "zip": "29407"}}, {"object": - "TrackingDetail", "message": "Delivered", "description": "", "status": "delivered", - "status_detail": "arrived_at_destination", "datetime": "2023-12-22T12:00:38Z", - "source": "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "CHARLESTON", "state": "SC", "country": null, "zip": "29407"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "NORTH HOUSTON", "state": "TX", "country": - null, "zip": "77315"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - {"object": "TrackingLocation", "city": "CHARLESTON", "state": "SC", "country": - null, "zip": "29407"}, "guaranteed_delivery_date": null, "alternate_identifier": - null, "initial_delivery_attempt": "2023-12-22T12:00:38Z"}, "public_url": "https://track.easypost.com/djE6dHJrXzRlZjZjNjU0MDA4MDRlM2Y5OGNiM2MyYjAwNTZiOGI5"}, - "to_address": {"id": "adr_03cba68eb71711ee959cac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T22:06:37+00:00", "updated_at": "2024-01-19T22:06:37+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_03d0ac30b71711ee8522ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:06:37+00:00", "updated_at": - "2024-01-19T22:06:37+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_03cba68eb71711ee959cac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T22:06:37+00:00", "updated_at": "2024-01-19T22:06:37+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [{"object": "Form", "id": "form_4b25d2d2ef1648a4b45b51acc478f026", - "created_at": "2024-01-19T22:06:38Z", "updated_at": "2024-01-19T22:06:38Z", - "mode": "test", "form_type": "return_packing_slip", "form_url": "https://easypost-files.s3-us-west-2.amazonaws.com/files/form/20240119/31d3ac862c2d42079d47e43bfc6a00b9.pdf", - "submitted_electronically": null}], "fees": [{"object": "Fee", "type": "LabelFee", - "amount": "0.00000", "charged": true, "refunded": false}, {"object": "Fee", - "type": "PostageFee", "amount": "7.99000", "charged": true, "refunded": false}], - "id": "shp_04f452cb0a14438c93d21970a907560f", "object": "Shipment"}, {"created_at": - "2024-01-19T22:06:33Z", "is_return": false, "messages": [{"carrier": "DhlEcs", - "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", - "message": "Unauthorized. Please check credentials and try again"}, {"carrier": - "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", "type": - "rate_error", "message": "Unauthorized. Please check credentials and try again"}, - {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "delivered", "tracking_code": - "9434600207552010713108", "updated_at": "2024-01-19T22:11:52Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_e475057d671549c09a727cf05763d2f8", "object": "CustomsInfo", "created_at": - "2024-01-19T22:06:33Z", "updated_at": "2024-01-19T22:06:33Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_84b8fb02274d48d69dfc1a9339750c94", - "object": "CustomsItem", "created_at": "2024-01-19T22:06:33Z", "updated_at": - "2024-01-19T22:06:33Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_01a465a2b71711ee94f3ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T22:06:33+00:00", "updated_at": - "2024-01-19T22:06:33+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_28a4e5af1c1547cca7cb7fb21dd7ce77", - "object": "Parcel", "created_at": "2024-01-19T22:06:33Z", "updated_at": "2024-01-19T22:06:33Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_df924f7b27944f28975d06b13cac3ca2", "created_at": "2024-01-19T22:06:34Z", - "updated_at": "2024-01-19T22:06:34Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T22:06:34Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8a47e8a2dd4e34a4eb0ad077218e0ae2d.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_e69e3f033e2d48a3b50151929e000ac1", "object": - "Rate", "created_at": "2024-01-19T22:06:34Z", "updated_at": "2024-01-19T22:06:34Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_37793f6a36b84656b66685b8083842da", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c1a3428768bf4a1fa0e17ba355339aa5", - "object": "Rate", "created_at": "2024-01-19T22:06:34Z", "updated_at": "2024-01-19T22:06:34Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_37793f6a36b84656b66685b8083842da", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_98427d44b39d4a518e565860d32fb4fa", - "object": "Rate", "created_at": "2024-01-19T22:06:34Z", "updated_at": "2024-01-19T22:06:34Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_37793f6a36b84656b66685b8083842da", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_81893bd833164250bd453b8b87cc2228", - "object": "Rate", "created_at": "2024-01-19T22:06:34Z", "updated_at": "2024-01-19T22:06:34Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_37793f6a36b84656b66685b8083842da", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_8262adea651944b086550b6d8479e3a5", "object": "Rate", "created_at": - "2024-01-19T22:06:34Z", "updated_at": "2024-01-19T22:06:34Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_37793f6a36b84656b66685b8083842da", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_98427d44b39d4a518e565860d32fb4fa", - "object": "Rate", "created_at": "2024-01-19T22:06:34Z", "updated_at": "2024-01-19T22:06:34Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_37793f6a36b84656b66685b8083842da", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_d82413c7075543df8f19c9a8dbdf2162", - "object": "Tracker", "mode": "test", "tracking_code": "9434600207552010713108", - "status": "delivered", "status_detail": "arrived_at_destination", "created_at": - "2024-01-19T22:06:35Z", "updated_at": "2024-01-19T22:09:35Z", "signed_by": - "John Tester", "weight": null, "est_delivery_date": "2024-01-19T22:09:35Z", - "shipment_id": "shp_37793f6a36b84656b66685b8083842da", "carrier": "USPS", - "tracking_details": [{"object": "TrackingDetail", "message": "Pre-Shipment - Info Sent to USPS", "description": "", "status": "pre_transit", "status_detail": - "status_update", "datetime": "2023-12-19T22:09:35Z", "source": "USPS", "carrier_code": - "", "tracking_location": {"object": "TrackingLocation", "city": null, "state": - null, "country": null, "zip": null}}, {"object": "TrackingDetail", "message": - "Shipping Label Created", "description": "", "status": "pre_transit", "status_detail": - "status_update", "datetime": "2023-12-20T10:46:35Z", "source": "USPS", "carrier_code": - "", "tracking_location": {"object": "TrackingLocation", "city": "HOUSTON", - "state": "TX", "country": null, "zip": "77063"}}, {"object": "TrackingDetail", - "message": "Arrived at USPS Origin Facility", "description": "", "status": - "in_transit", "status_detail": "arrived_at_facility", "datetime": "2023-12-20T20:51:35Z", - "source": "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "NORTH HOUSTON", "state": "TX", "country": null, "zip": "77315"}}, - {"object": "TrackingDetail", "message": "Arrived at USPS Facility", "description": - "", "status": "in_transit", "status_detail": "arrived_at_facility", "datetime": - "2023-12-21T22:27:35Z", "source": "USPS", "carrier_code": "", "tracking_location": - {"object": "TrackingLocation", "city": "COLUMBIA", "state": "SC", "country": - null, "zip": "29201"}}, {"object": "TrackingDetail", "message": "Arrived at - Post Office", "description": "", "status": "in_transit", "status_detail": - "arrived_at_facility", "datetime": "2023-12-22T01:18:35Z", "source": "USPS", - "carrier_code": "", "tracking_location": {"object": "TrackingLocation", "city": - "CHARLESTON", "state": "SC", "country": null, "zip": "29407"}}, {"object": - "TrackingDetail", "message": "Sorting Complete", "description": "", "status": - "in_transit", "status_detail": "status_update", "datetime": "2023-12-22T06:58:35Z", - "source": "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "CHARLESTON", "state": "SC", "country": null, "zip": "29407"}}, {"object": - "TrackingDetail", "message": "Out for Delivery", "description": "", "status": - "out_for_delivery", "status_detail": "out_for_delivery", "datetime": "2023-12-22T07:08:35Z", - "source": "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "CHARLESTON", "state": "SC", "country": null, "zip": "29407"}}, {"object": - "TrackingDetail", "message": "Delivered", "description": "", "status": "delivered", - "status_detail": "arrived_at_destination", "datetime": "2023-12-22T12:00:35Z", - "source": "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "CHARLESTON", "state": "SC", "country": null, "zip": "29407"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "NORTH HOUSTON", "state": "TX", "country": - null, "zip": "77315"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - {"object": "TrackingLocation", "city": "CHARLESTON", "state": "SC", "country": - null, "zip": "29407"}, "guaranteed_delivery_date": null, "alternate_identifier": - null, "initial_delivery_attempt": "2023-12-22T12:00:35Z"}, "public_url": "https://track.easypost.com/djE6dHJrX2Q4MjQxM2M3MDc1NTQzZGY4ZjE5YzlhOGRiZGYyMTYy"}, - "to_address": {"id": "adr_01a1c151b71711ee94f1ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T22:06:33+00:00", "updated_at": "2024-01-19T22:06:34+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_01a465a2b71711ee94f3ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T22:06:33+00:00", "updated_at": - "2024-01-19T22:06:33+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_01a1c151b71711ee94f1ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T22:06:33+00:00", "updated_at": "2024-01-19T22:06:34+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "6.79000", "charged": true, "refunded": false}], "id": "shp_37793f6a36b84656b66685b8083842da", - "object": "Shipment"}, {"created_at": "2024-01-19T22:06:20Z", "is_return": - false, "messages": [], "mode": "test", "options": {"currency": "USD", "payment": - {"type": "SENDER"}, "date_advance": 0}, "reference": null, "status": "delivered", - "tracking_code": "9405500207552010713055", "updated_at": "2024-01-19T22:11:33Z", - "batch_id": "batch_b156200979fe4cf98561510ad83f4af8", "batch_status": "postage_purchased", - "batch_message": null, "customs_info": {"id": "cstinfo_e2ddfa812ba848e6aa9930cc473d5136", - "object": "CustomsInfo", "created_at": "2024-01-19T22:06:20Z", "updated_at": - "2024-01-19T22:06:20Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_a0bb0e0e73c544358cc1008b7210e4b1", "object": "CustomsItem", - "created_at": "2024-01-19T22:06:20Z", "updated_at": "2024-01-19T22:06:20Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_fa2b357fb71611ee92c7ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T22:06:20+00:00", "updated_at": "2024-01-19T22:06:20+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_a6c2b732d8394805bbec2fce230437b4", "object": "Parcel", "created_at": - "2024-01-19T22:06:20Z", "updated_at": "2024-01-19T22:06:20Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": {"object": "PostageLabel", "id": "pl_26bcf757e15e49e68a5e2f13a47c829a", - "created_at": "2024-01-19T22:06:21Z", "updated_at": "2024-01-19T22:06:22Z", - "date_advance": 0, "integrated_form": "none", "label_date": "2024-01-19T22:06:21Z", - "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": - "image/png", "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8bed99f07f01e455facfc1ed6c235b2ed.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_4bcdc4ea51f749fabc3a30a422e2887f", "object": - "Rate", "created_at": "2024-01-19T22:06:21Z", "updated_at": "2024-01-19T22:06:21Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_33cc9d16742943eb8781414ccad42cd0", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_6913fc7aa38742c08c9a03fe5fbd2396", - "object": "Rate", "created_at": "2024-01-19T22:06:21Z", "updated_at": "2024-01-19T22:06:21Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_33cc9d16742943eb8781414ccad42cd0", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_7d4dd9d49ed140749cc498d2ef9f1093", - "object": "Rate", "created_at": "2024-01-19T22:06:21Z", "updated_at": "2024-01-19T22:06:21Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_33cc9d16742943eb8781414ccad42cd0", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4119c2543f5743db885a09041ca61263", - "object": "Rate", "created_at": "2024-01-19T22:06:21Z", "updated_at": "2024-01-19T22:06:21Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_33cc9d16742943eb8781414ccad42cd0", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_2a3d9d14335f477e8dd3539898c434da", "object": "Rate", "created_at": - "2024-01-19T22:06:21Z", "updated_at": "2024-01-19T22:06:21Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_33cc9d16742943eb8781414ccad42cd0", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_6913fc7aa38742c08c9a03fe5fbd2396", - "object": "Rate", "created_at": "2024-01-19T22:06:21Z", "updated_at": "2024-01-19T22:06:21Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_33cc9d16742943eb8781414ccad42cd0", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_5a982181f48644da9cc95966fe4411f2", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010713055", - "status": "delivered", "status_detail": "arrived_at_destination", "created_at": - "2024-01-19T22:06:22Z", "updated_at": "2024-01-19T22:09:22Z", "signed_by": - "John Tester", "weight": null, "est_delivery_date": "2024-01-19T22:09:22Z", - "shipment_id": "shp_33cc9d16742943eb8781414ccad42cd0", "carrier": "USPS", - "tracking_details": [{"object": "TrackingDetail", "message": "Pre-Shipment - Info Sent to USPS", "description": "", "status": "pre_transit", "status_detail": - "status_update", "datetime": "2023-12-19T22:09:22Z", "source": "USPS", "carrier_code": - "", "tracking_location": {"object": "TrackingLocation", "city": null, "state": - null, "country": null, "zip": null}}, {"object": "TrackingDetail", "message": - "Shipping Label Created", "description": "", "status": "pre_transit", "status_detail": - "status_update", "datetime": "2023-12-20T10:46:22Z", "source": "USPS", "carrier_code": - "", "tracking_location": {"object": "TrackingLocation", "city": "HOUSTON", - "state": "TX", "country": null, "zip": "77063"}}, {"object": "TrackingDetail", - "message": "Arrived at USPS Origin Facility", "description": "", "status": - "in_transit", "status_detail": "arrived_at_facility", "datetime": "2023-12-20T20:51:22Z", - "source": "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "NORTH HOUSTON", "state": "TX", "country": null, "zip": "77315"}}, - {"object": "TrackingDetail", "message": "Arrived at USPS Facility", "description": - "", "status": "in_transit", "status_detail": "arrived_at_facility", "datetime": - "2023-12-21T22:27:22Z", "source": "USPS", "carrier_code": "", "tracking_location": - {"object": "TrackingLocation", "city": "COLUMBIA", "state": "SC", "country": - null, "zip": "29201"}}, {"object": "TrackingDetail", "message": "Arrived at - Post Office", "description": "", "status": "in_transit", "status_detail": - "arrived_at_facility", "datetime": "2023-12-22T01:18:22Z", "source": "USPS", - "carrier_code": "", "tracking_location": {"object": "TrackingLocation", "city": - "CHARLESTON", "state": "SC", "country": null, "zip": "29407"}}, {"object": - "TrackingDetail", "message": "Sorting Complete", "description": "", "status": - "in_transit", "status_detail": "status_update", "datetime": "2023-12-22T06:58:22Z", - "source": "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "CHARLESTON", "state": "SC", "country": null, "zip": "29407"}}, {"object": - "TrackingDetail", "message": "Out for Delivery", "description": "", "status": - "out_for_delivery", "status_detail": "out_for_delivery", "datetime": "2023-12-22T07:08:22Z", - "source": "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "CHARLESTON", "state": "SC", "country": null, "zip": "29407"}}, {"object": - "TrackingDetail", "message": "Delivered", "description": "", "status": "delivered", - "status_detail": "arrived_at_destination", "datetime": "2023-12-22T12:00:22Z", - "source": "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "CHARLESTON", "state": "SC", "country": null, "zip": "29407"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "NORTH HOUSTON", "state": "TX", "country": - null, "zip": "77315"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - {"object": "TrackingLocation", "city": "CHARLESTON", "state": "SC", "country": - null, "zip": "29407"}, "guaranteed_delivery_date": null, "alternate_identifier": - null, "initial_delivery_attempt": "2023-12-22T12:00:22Z"}, "public_url": "https://track.easypost.com/djE6dHJrXzVhOTgyMTgxZjQ4NjQ0ZGE5Y2M5NTk2NmZlNDQxMWYy"}, - "to_address": {"id": "adr_fa292731b71611ee853aac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T22:06:20+00:00", "updated_at": "2024-01-19T22:06:21+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_fa2b357fb71611ee92c7ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T22:06:20+00:00", "updated_at": - "2024-01-19T22:06:20+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_fa292731b71611ee853aac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T22:06:20+00:00", "updated_at": "2024-01-19T22:06:21+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_33cc9d16742943eb8781414ccad42cd0", - "object": "Shipment"}, {"created_at": "2024-01-19T22:06:18Z", "is_return": - false, "messages": [], "mode": "test", "options": {"currency": "USD", "payment": - {"type": "SENDER"}, "date_advance": 0}, "reference": null, "status": "delivered", - "tracking_code": "9405500207552010713031", "updated_at": "2024-01-19T22:10:31Z", - "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": - {"id": "cstinfo_f870e5d5c96845519e25c0783fd86865", "object": "CustomsInfo", - "created_at": "2024-01-19T22:06:18Z", "updated_at": "2024-01-19T22:06:18Z", - "contents_explanation": "", "contents_type": "merchandise", "customs_certify": - true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": - "return", "restriction_comments": null, "restriction_type": "none", "mode": - "test", "declaration": null, "customs_items": [{"id": "cstitem_a112d495ae614e929e3cd3aad56473bc", - "object": "CustomsItem", "created_at": "2024-01-19T22:06:18Z", "updated_at": - "2024-01-19T22:06:18Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_f89127b5b71611ee84c3ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T22:06:18+00:00", "updated_at": - "2024-01-19T22:06:18+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_ca7617c3932a4e9f9247d794bea7e43a", - "object": "Parcel", "created_at": "2024-01-19T22:06:18Z", "updated_at": "2024-01-19T22:06:18Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_8810e2db5a4d4254b2ed9f2dd9fc2210", "created_at": "2024-01-19T22:06:18Z", - "updated_at": "2024-01-19T22:06:19Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T22:06:18Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e88aaa098aa4fb4c6782dddd6ed8640470.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_76948d41826a43f283eeb775f88cedf2", "object": - "Rate", "created_at": "2024-01-19T22:06:18Z", "updated_at": "2024-01-19T22:06:18Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_55387450c6444cfc961f910a4a5ac1b0", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_6b1ce99db1ee4c229dfb77d1118a660b", - "object": "Rate", "created_at": "2024-01-19T22:06:18Z", "updated_at": "2024-01-19T22:06:18Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_55387450c6444cfc961f910a4a5ac1b0", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_a140eea1cf2c4cc2b1fba6a37384595f", - "object": "Rate", "created_at": "2024-01-19T22:06:18Z", "updated_at": "2024-01-19T22:06:18Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_55387450c6444cfc961f910a4a5ac1b0", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4368f613d729497a897603bd3ac59541", - "object": "Rate", "created_at": "2024-01-19T22:06:18Z", "updated_at": "2024-01-19T22:06:18Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_55387450c6444cfc961f910a4a5ac1b0", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_b8ebafcdb40746efba4626377aefcf32", "object": "Rate", "created_at": - "2024-01-19T22:06:18Z", "updated_at": "2024-01-19T22:06:18Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_55387450c6444cfc961f910a4a5ac1b0", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_6b1ce99db1ee4c229dfb77d1118a660b", - "object": "Rate", "created_at": "2024-01-19T22:06:19Z", "updated_at": "2024-01-19T22:06:19Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_55387450c6444cfc961f910a4a5ac1b0", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_299cbea4490d44239fbc2d0c12661070", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010713031", - "status": "delivered", "status_detail": "arrived_at_destination", "created_at": - "2024-01-19T22:06:19Z", "updated_at": "2024-01-19T22:09:19Z", "signed_by": - "John Tester", "weight": null, "est_delivery_date": "2024-01-19T22:09:19Z", - "shipment_id": "shp_55387450c6444cfc961f910a4a5ac1b0", "carrier": "USPS", - "tracking_details": [{"object": "TrackingDetail", "message": "Pre-Shipment - Info Sent to USPS", "description": "", "status": "pre_transit", "status_detail": - "status_update", "datetime": "2023-12-19T22:09:19Z", "source": "USPS", "carrier_code": - "", "tracking_location": {"object": "TrackingLocation", "city": null, "state": - null, "country": null, "zip": null}}, {"object": "TrackingDetail", "message": - "Shipping Label Created", "description": "", "status": "pre_transit", "status_detail": - "status_update", "datetime": "2023-12-20T10:46:19Z", "source": "USPS", "carrier_code": - "", "tracking_location": {"object": "TrackingLocation", "city": "HOUSTON", - "state": "TX", "country": null, "zip": "77063"}}, {"object": "TrackingDetail", - "message": "Arrived at USPS Origin Facility", "description": "", "status": - "in_transit", "status_detail": "arrived_at_facility", "datetime": "2023-12-20T20:51:19Z", - "source": "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "NORTH HOUSTON", "state": "TX", "country": null, "zip": "77315"}}, - {"object": "TrackingDetail", "message": "Arrived at USPS Facility", "description": - "", "status": "in_transit", "status_detail": "arrived_at_facility", "datetime": - "2023-12-21T22:27:19Z", "source": "USPS", "carrier_code": "", "tracking_location": - {"object": "TrackingLocation", "city": "COLUMBIA", "state": "SC", "country": - null, "zip": "29201"}}, {"object": "TrackingDetail", "message": "Arrived at - Post Office", "description": "", "status": "in_transit", "status_detail": - "arrived_at_facility", "datetime": "2023-12-22T01:18:19Z", "source": "USPS", - "carrier_code": "", "tracking_location": {"object": "TrackingLocation", "city": - "CHARLESTON", "state": "SC", "country": null, "zip": "29407"}}, {"object": - "TrackingDetail", "message": "Sorting Complete", "description": "", "status": - "in_transit", "status_detail": "status_update", "datetime": "2023-12-22T06:58:19Z", - "source": "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "CHARLESTON", "state": "SC", "country": null, "zip": "29407"}}, {"object": - "TrackingDetail", "message": "Out for Delivery", "description": "", "status": - "out_for_delivery", "status_detail": "out_for_delivery", "datetime": "2023-12-22T07:08:19Z", - "source": "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "CHARLESTON", "state": "SC", "country": null, "zip": "29407"}}, {"object": - "TrackingDetail", "message": "Delivered", "description": "", "status": "delivered", - "status_detail": "arrived_at_destination", "datetime": "2023-12-22T12:00:19Z", - "source": "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "CHARLESTON", "state": "SC", "country": null, "zip": "29407"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "NORTH HOUSTON", "state": "TX", "country": - null, "zip": "77315"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - {"object": "TrackingLocation", "city": "CHARLESTON", "state": "SC", "country": - null, "zip": "29407"}, "guaranteed_delivery_date": null, "alternate_identifier": - null, "initial_delivery_attempt": "2023-12-22T12:00:19Z"}, "public_url": "https://track.easypost.com/djE6dHJrXzI5OWNiZWE0NDkwZDQ0MjM5ZmJjMmQwYzEyNjYxMDcw"}, - "to_address": {"id": "adr_f88ea932b71611ee84c2ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T22:06:18+00:00", "updated_at": "2024-01-19T22:06:18+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_f89127b5b71611ee84c3ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T22:06:18+00:00", "updated_at": - "2024-01-19T22:06:18+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_f88ea932b71611ee84c2ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T22:06:18+00:00", "updated_at": "2024-01-19T22:06:18+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_55387450c6444cfc961f910a4a5ac1b0", - "object": "Shipment"}], "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '58235' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda865ab074fe799e1a800207891 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.685415' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_parcels_create.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_parcels_create.yaml deleted file mode 100644 index fe48b7e6..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_parcels_create.yaml +++ /dev/null @@ -1,503 +0,0 @@ -interactions: -- request: - body: '{"parcel": {"length": "20.2", "width": "10.9", "height": "5", "weight": - "65.9"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '80' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/parcels - response: - body: - string: '{"id": "prcl_58f88a512a02497e8137327927906c04", "object": "Parcel", - "created_at": "2024-01-19T21:41:01Z", "updated_at": "2024-01-19T21:41:01Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '230' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/parcels/prcl_58f88a512a02497e8137327927906c04 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaec6de78b9ec2000cdf18 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.036018' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"parcel": {"length": "20.2", "width": "10.9", "height": "5", "weight": - "65.9"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '80' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/parcels - response: - body: - string: '{"id": "prcl_d4b5719f0f554f6dbd0a4bc9e97b1c5a", "object": "Parcel", - "created_at": "2024-01-19T21:43:29Z", "updated_at": "2024-01-19T21:43:29Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '230' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/parcels/prcl_d4b5719f0f554f6dbd0a4bc9e97b1c5a - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaed01e78ba409000d38ed - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.041518' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"parcel": {"length": "20.2", "width": "10.9", "height": "5", "weight": - "65.9"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '80' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/parcels - response: - body: - string: '{"id": "prcl_51626667f27042b6a055c5e97c2f2cc8", "object": "Parcel", - "created_at": "2024-01-19T21:47:21Z", "updated_at": "2024-01-19T21:47:21Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '230' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/parcels/prcl_51626667f27042b6a055c5e97c2f2cc8 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdad65aaede9e78bac8f00112f0a - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.033816' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"parcel": {"length": "20.2", "width": "10.9", "height": "5", "weight": - "65.9"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '80' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/parcels - response: - body: - string: '{"id": "prcl_bd57657d36654902854e82241fe1ed44", "object": "Parcel", - "created_at": "2024-01-19T21:49:16Z", "updated_at": "2024-01-19T21:49:16Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '230' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/parcels/prcl_bd57657d36654902854e82241fe1ed44 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdaa65aaee5ce78bb4b10011736d - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.137447' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"parcel": {"length": "20.2", "width": "10.9", "height": "5", "weight": - "65.9"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '80' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/parcels - response: - body: - string: '{"id": "prcl_ba86c73ac0eb48209b21894ef515129a", "object": "Parcel", - "created_at": "2024-01-19T21:58:35Z", "updated_at": "2024-01-19T21:58:35Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '230' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/parcels/prcl_ba86c73ac0eb48209b21894ef515129a - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaf08be798bf58000f764f - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.034210' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"parcel": {"length": "20.2", "width": "10.9", "height": "5", "weight": - "65.9"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '80' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/parcels - response: - body: - string: '{"id": "prcl_61c269cfa0f94ce1ba152e062289f13b", "object": "Parcel", - "created_at": "2024-01-19T22:01:29Z", "updated_at": "2024-01-19T22:01:29Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '230' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/parcels/prcl_61c269cfa0f94ce1ba152e062289f13b - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf139e798c4a3001006f0 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.034616' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"parcel": {"length": "20.2", "width": "10.9", "height": "5", "weight": - "65.9"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '80' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/parcels - response: - body: - string: '{"id": "prcl_b88721f9a1ba4ac594672afbfb16e848", "object": "Parcel", - "created_at": "2024-01-19T22:05:16Z", "updated_at": "2024-01-19T22:05:16Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '230' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/parcels/prcl_b88721f9a1ba4ac594672afbfb16e848 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf21ce798d0810010b267 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.030804' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_parcels_retrieve.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_parcels_retrieve.yaml deleted file mode 100644 index e195298c..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_parcels_retrieve.yaml +++ /dev/null @@ -1,951 +0,0 @@ -interactions: -- request: - body: '{"parcel": {"length": "20.2", "width": "10.9", "height": "5", "weight": - "65.9"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '80' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/parcels - response: - body: - string: '{"id": "prcl_723c9187b4894dc187a748ab429e9cf6", "object": "Parcel", - "created_at": "2024-01-19T21:41:02Z", "updated_at": "2024-01-19T21:41:02Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '230' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/parcels/prcl_723c9187b4894dc187a748ab429e9cf6 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaec6ee78b9ec3000ce005 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.054105' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/parcels/prcl_723c9187b4894dc187a748ab429e9cf6 - response: - body: - string: '{"id": "prcl_723c9187b4894dc187a748ab429e9cf6", "object": "Parcel", - "created_at": "2024-01-19T21:41:02Z", "updated_at": "2024-01-19T21:41:02Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '230' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaec6ee78b9ec4000ce1af - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.026328' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"parcel": {"length": "20.2", "width": "10.9", "height": "5", "weight": - "65.9"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '80' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/parcels - response: - body: - string: '{"id": "prcl_d9b57b24913d462bbab480af4382d32f", "object": "Parcel", - "created_at": "2024-01-19T21:43:30Z", "updated_at": "2024-01-19T21:43:30Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '230' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/parcels/prcl_d9b57b24913d462bbab480af4382d32f - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaed02e78ba40a000d390e - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.032470' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/parcels/prcl_d9b57b24913d462bbab480af4382d32f - response: - body: - string: '{"id": "prcl_d9b57b24913d462bbab480af4382d32f", "object": "Parcel", - "created_at": "2024-01-19T21:43:30Z", "updated_at": "2024-01-19T21:43:30Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '230' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaed02e78ba40b000d3934 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.025904' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"parcel": {"length": "20.2", "width": "10.9", "height": "5", "weight": - "65.9"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '80' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/parcels - response: - body: - string: '{"id": "prcl_e6fcaa80846743639938e679426e70a1", "object": "Parcel", - "created_at": "2024-01-19T21:47:22Z", "updated_at": "2024-01-19T21:47:22Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '230' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/parcels/prcl_e6fcaa80846743639938e679426e70a1 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda865aaedeae78bac9000112f3b - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.036944' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/parcels/prcl_e6fcaa80846743639938e679426e70a1 - response: - body: - string: '{"id": "prcl_e6fcaa80846743639938e679426e70a1", "object": "Parcel", - "created_at": "2024-01-19T21:47:22Z", "updated_at": "2024-01-19T21:47:22Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '230' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdad65aaedeae78bac9100112f61 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.024403' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"parcel": {"length": "20.2", "width": "10.9", "height": "5", "weight": - "65.9"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '80' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/parcels - response: - body: - string: '{"id": "prcl_66fd6693c2c74f87ae775261e50c19f3", "object": "Parcel", - "created_at": "2024-01-19T21:49:16Z", "updated_at": "2024-01-19T21:49:16Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '230' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/parcels/prcl_66fd6693c2c74f87ae775261e50c19f3 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda965aaee5ce78bb4c90011739e - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.042966' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/parcels/prcl_66fd6693c2c74f87ae775261e50c19f3 - response: - body: - string: '{"id": "prcl_66fd6693c2c74f87ae775261e50c19f3", "object": "Parcel", - "created_at": "2024-01-19T21:49:16Z", "updated_at": "2024-01-19T21:49:16Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '230' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdaa65aaee5ce78bb4ca001173be - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.026602' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"parcel": {"length": "20.2", "width": "10.9", "height": "5", "weight": - "65.9"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '80' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/parcels - response: - body: - string: '{"id": "prcl_f24474843001475d87fa02b31201bbd9", "object": "Parcel", - "created_at": "2024-01-19T21:58:35Z", "updated_at": "2024-01-19T21:58:35Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '230' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/parcels/prcl_f24474843001475d87fa02b31201bbd9 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaf08be798bf59000f7690 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.047402' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/parcels/prcl_f24474843001475d87fa02b31201bbd9 - response: - body: - string: '{"id": "prcl_f24474843001475d87fa02b31201bbd9", "object": "Parcel", - "created_at": "2024-01-19T21:58:35Z", "updated_at": "2024-01-19T21:58:35Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '230' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf08ce798bf5a000f76be - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.025513' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"parcel": {"length": "20.2", "width": "10.9", "height": "5", "weight": - "65.9"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '80' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/parcels - response: - body: - string: '{"id": "prcl_5e0e7df829724332860ab482e3f762b1", "object": "Parcel", - "created_at": "2024-01-19T22:01:30Z", "updated_at": "2024-01-19T22:01:30Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '230' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/parcels/prcl_5e0e7df829724332860ab482e3f762b1 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaf13ae798c4a400100733 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.034790' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/parcels/prcl_5e0e7df829724332860ab482e3f762b1 - response: - body: - string: '{"id": "prcl_5e0e7df829724332860ab482e3f762b1", "object": "Parcel", - "created_at": "2024-01-19T22:01:30Z", "updated_at": "2024-01-19T22:01:30Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '230' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf13ae798c4a500100775 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.032602' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"parcel": {"length": "20.2", "width": "10.9", "height": "5", "weight": - "65.9"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '80' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/parcels - response: - body: - string: '{"id": "prcl_42b552be1f7646a6921edda395cde2d7", "object": "Parcel", - "created_at": "2024-01-19T22:05:16Z", "updated_at": "2024-01-19T22:05:16Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '230' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/parcels/prcl_42b552be1f7646a6921edda395cde2d7 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf21ce798d0820010b2a6 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.034165' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/parcels/prcl_42b552be1f7646a6921edda395cde2d7 - response: - body: - string: '{"id": "prcl_42b552be1f7646a6921edda395cde2d7", "object": "Parcel", - "created_at": "2024-01-19T22:05:16Z", "updated_at": "2024-01-19T22:05:16Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '230' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaf21ce798d09a0010b2e5 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.024654' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_pickups_buy.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_pickups_buy.yaml deleted file mode 100644 index 1ad07f0e..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_pickups_buy.yaml +++ /dev/null @@ -1,2470 +0,0 @@ -interactions: -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:41:09Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010707665", "updated_at": "2024-01-19T21:41:10Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_bd845d80c8c9444dac16b5ce2113a776", "object": "CustomsInfo", "created_at": - "2024-01-19T21:41:08Z", "updated_at": "2024-01-19T21:41:08Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_7aaf3780d09840fa8ad09f253a685586", - "object": "CustomsItem", "created_at": "2024-01-19T21:41:08Z", "updated_at": - "2024-01-19T21:41:08Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_74ecbfacb71311ee9945ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:41:08+00:00", "updated_at": - "2024-01-19T21:41:08+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_71cc37d017774e199fcde9638f9f5843", - "object": "Parcel", "created_at": "2024-01-19T21:41:08Z", "updated_at": "2024-01-19T21:41:08Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_106f5dd663bb40abbc0a8b27b2f44671", "created_at": "2024-01-19T21:41:09Z", - "updated_at": "2024-01-19T21:41:09Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:41:09Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8c797f7d71e75450f9c846197ab442e73.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_674516cb2d734389a2c6fc96f20f9133", "object": - "Rate", "created_at": "2024-01-19T21:41:09Z", "updated_at": "2024-01-19T21:41:09Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_0c127b7810a9497cae43f197a89077cc", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_cf64c3884eb0404ebacedfe06676b191", - "object": "Rate", "created_at": "2024-01-19T21:41:09Z", "updated_at": "2024-01-19T21:41:09Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_0c127b7810a9497cae43f197a89077cc", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_9fe3fb32c37d4a3493957af1c4f901f5", - "object": "Rate", "created_at": "2024-01-19T21:41:09Z", "updated_at": "2024-01-19T21:41:09Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_0c127b7810a9497cae43f197a89077cc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_72b11fbbf94e4af3a3674e5f1278321b", "object": "Rate", "created_at": - "2024-01-19T21:41:09Z", "updated_at": "2024-01-19T21:41:09Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_0c127b7810a9497cae43f197a89077cc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_1eef36916b344e9e9bc55027c2816432", "object": "Rate", "created_at": - "2024-01-19T21:41:09Z", "updated_at": "2024-01-19T21:41:09Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_0c127b7810a9497cae43f197a89077cc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_674516cb2d734389a2c6fc96f20f9133", - "object": "Rate", "created_at": "2024-01-19T21:41:09Z", "updated_at": "2024-01-19T21:41:09Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_0c127b7810a9497cae43f197a89077cc", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_cbe4079b0cf346778c265e2cf472f46b", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010707665", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:41:10Z", - "updated_at": "2024-01-19T21:41:10Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_0c127b7810a9497cae43f197a89077cc", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrX2NiZTQwNzliMGNmMzQ2Nzc4YzI2NWUyY2Y0NzJmNDZi"}, - "to_address": {"id": "adr_74e9a626b71311ee9a32ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:41:08+00:00", "updated_at": "2024-01-19T21:41:09+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_74ecbfacb71311ee9945ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:41:08+00:00", "updated_at": - "2024-01-19T21:41:08+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_74e9a626b71311ee9a32ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:41:08+00:00", "updated_at": "2024-01-19T21:41:09+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_0c127b7810a9497cae43f197a89077cc", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_0c127b7810a9497cae43f197a89077cc - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaec74e78b9ee1000ce9d9 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.394914' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"pickup": {"reference": "my-first-pickup", "min_datetime": "2024-01-22", - "max_datetime": "2024-01-22", "shipment": {"id": "shp_0c127b7810a9497cae43f197a89077cc"}, - "address": {"name": "Dr. Steve Brule", "street1": "179 N Harbor Dr", "city": - "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "phone": "8573875756", - "email": "dr_steve_brule@gmail.com"}, "is_account_address": "false", "instructions": - "Special pickup instructions"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '445' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/pickups - response: - body: - string: '{"id": "pickup_db5cb87e14e94e159a444af91d8fcdc2", "object": "Pickup", - "created_at": "2024-01-19T21:41:10Z", "updated_at": "2024-01-19T21:41:10Z", - "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": - "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": - false, "instructions": "Special pickup instructions", "messages": [], "confirmation": - null, "address": {"id": "adr_75f030e9b71311eea934ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:41:10+00:00", "updated_at": "2024-01-19T21:41:10+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": - [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2024-01-19T21:41:11Z", "updated_at": "2024-01-19T21:41:11Z", - "carrier": "USPS", "pickup_id": "pickup_db5cb87e14e94e159a444af91d8fcdc2", - "id": "pickuprate_b74039cec56944a8a21d28dce270a31b", "object": "PickupRate"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1184' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaec76e78b9ee2000ceae3 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.616938' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"carrier": "USPS", "service": "NextDay"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '41' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/pickups/pickup_db5cb87e14e94e159a444af91d8fcdc2/buy - response: - body: - string: '{"id": "pickup_db5cb87e14e94e159a444af91d8fcdc2", "object": "Pickup", - "created_at": "2024-01-19T21:41:10Z", "updated_at": "2024-01-19T21:41:22Z", - "mode": "test", "status": "scheduled", "reference": "my-first-pickup", "min_datetime": - "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": - false, "instructions": "Special pickup instructions", "messages": [], "confirmation": - "WTC64043474", "address": {"id": "adr_75f030e9b71311eea934ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:41:10+00:00", "updated_at": "2024-01-19T21:41:10+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": - [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2024-01-19T21:41:11Z", "updated_at": "2024-01-19T21:41:11Z", - "carrier": "USPS", "pickup_id": "pickup_db5cb87e14e94e159a444af91d8fcdc2", - "id": "pickuprate_b74039cec56944a8a21d28dce270a31b", "object": "PickupRate"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1195' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaec81e78b9ee5000cf159 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.021983' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:43:35Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010708037", "updated_at": "2024-01-19T21:43:36Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_77ff2f09613e47c59564f0c3163d0d2b", "object": "CustomsInfo", "created_at": - "2024-01-19T21:43:35Z", "updated_at": "2024-01-19T21:43:35Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_ec2775377a24445ba331b2105d606479", - "object": "CustomsItem", "created_at": "2024-01-19T21:43:35Z", "updated_at": - "2024-01-19T21:43:35Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_cc51fa04b71311eeb912ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:43:35+00:00", "updated_at": - "2024-01-19T21:43:35+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_57115dd1caa445fe98e5f1d442fd3d1d", - "object": "Parcel", "created_at": "2024-01-19T21:43:35Z", "updated_at": "2024-01-19T21:43:35Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_459f3dd2cb1a4d40b784ecf69c2dd283", "created_at": "2024-01-19T21:43:36Z", - "updated_at": "2024-01-19T21:43:36Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:43:36Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8f9888133e6144f8fb145385aaf57218e.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_325e2c33f2804cbe8c9435ad57860688", "object": - "Rate", "created_at": "2024-01-19T21:43:35Z", "updated_at": "2024-01-19T21:43:35Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_9c39af795f3f40c884fd166f9964d554", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_5c0ca79fa1b44d45a6773776d0931f7c", - "object": "Rate", "created_at": "2024-01-19T21:43:35Z", "updated_at": "2024-01-19T21:43:35Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_9c39af795f3f40c884fd166f9964d554", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_d7c9914d09f642429dfd9c54b2e4d9e6", "object": "Rate", "created_at": - "2024-01-19T21:43:35Z", "updated_at": "2024-01-19T21:43:35Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_9c39af795f3f40c884fd166f9964d554", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_5edcd96946a74c3fa9b668090be0c71a", "object": "Rate", "created_at": - "2024-01-19T21:43:35Z", "updated_at": "2024-01-19T21:43:35Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_9c39af795f3f40c884fd166f9964d554", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_b1d3a552048848fdb5dd90b92837bb93", "object": "Rate", "created_at": - "2024-01-19T21:43:35Z", "updated_at": "2024-01-19T21:43:35Z", "mode": "test", - "service": "Priority", "carrier": "USPS", "rate": "7.99", "currency": "USD", - "retail_rate": "14.05", "retail_currency": "USD", "list_rate": "10.27", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": - "shp_9c39af795f3f40c884fd166f9964d554", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_b1d3a552048848fdb5dd90b92837bb93", - "object": "Rate", "created_at": "2024-01-19T21:43:36Z", "updated_at": "2024-01-19T21:43:36Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_9c39af795f3f40c884fd166f9964d554", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_39598a376735435aa528d27b4114bc0d", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708037", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:43:36Z", - "updated_at": "2024-01-19T21:43:36Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_9c39af795f3f40c884fd166f9964d554", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzM5NTk4YTM3NjczNTQzNWFhNTI4ZDI3YjQxMTRiYzBk"}, - "to_address": {"id": "adr_cc509fb5b71311ee8829ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T21:43:35+00:00", "updated_at": "2024-01-19T21:43:35+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_cc51fa04b71311eeb912ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:43:35+00:00", "updated_at": - "2024-01-19T21:43:35+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_cc509fb5b71311ee8829ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:43:35+00:00", "updated_at": "2024-01-19T21:43:35+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_9c39af795f3f40c884fd166f9964d554", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_9c39af795f3f40c884fd166f9964d554 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaed07e78ba42d000d3c91 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.046452' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"pickup": {"reference": "my-first-pickup", "min_datetime": "2024-01-22", - "max_datetime": "2024-01-22", "shipment": {"id": "shp_9c39af795f3f40c884fd166f9964d554"}, - "address": {"name": "Dr. Steve Brule", "street1": "179 N Harbor Dr", "city": - "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "phone": "8573875756", - "email": "dr_steve_brule@gmail.com"}, "is_account_address": "false", "instructions": - "Special pickup instructions"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '445' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/pickups - response: - body: - string: '{"id": "pickup_0d2db549cef84521aed50ad972379243", "object": "Pickup", - "created_at": "2024-01-19T21:43:36Z", "updated_at": "2024-01-19T21:43:36Z", - "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": - "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": - false, "instructions": "Special pickup instructions", "messages": [], "confirmation": - null, "address": {"id": "adr_cd22f619b71311eeb950ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:43:36+00:00", "updated_at": "2024-01-19T21:43:36+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": - [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2024-01-19T21:43:37Z", "updated_at": "2024-01-19T21:43:37Z", - "carrier": "USPS", "pickup_id": "pickup_0d2db549cef84521aed50ad972379243", - "id": "pickuprate_c6b735739c8648c39e05d598f842ae40", "object": "PickupRate"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1184' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaed08e78ba42f000d3d43 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.712283' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"carrier": "USPS", "service": "NextDay"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '41' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/pickups/pickup_0d2db549cef84521aed50ad972379243/buy - response: - body: - string: '{"id": "pickup_0d2db549cef84521aed50ad972379243", "object": "Pickup", - "created_at": "2024-01-19T21:43:36Z", "updated_at": "2024-01-19T21:43:38Z", - "mode": "test", "status": "scheduled", "reference": "my-first-pickup", "min_datetime": - "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": - false, "instructions": "Special pickup instructions", "messages": [], "confirmation": - "WTC64043434", "address": {"id": "adr_cd22f619b71311eeb950ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:43:36+00:00", "updated_at": "2024-01-19T21:43:36+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": - [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2024-01-19T21:43:37Z", "updated_at": "2024-01-19T21:43:37Z", - "carrier": "USPS", "pickup_id": "pickup_0d2db549cef84521aed50ad972379243", - "id": "pickuprate_c6b735739c8648c39e05d598f842ae40", "object": "PickupRate"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1195' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaed09e78ba430000d3de0 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.985871' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:47:27Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010708464", "updated_at": "2024-01-19T21:47:28Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_7be2148bfd6a4ef0955ee1c35a88b642", "object": "CustomsInfo", "created_at": - "2024-01-19T21:47:27Z", "updated_at": "2024-01-19T21:47:27Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_53aa77a27f1a4bc8b82ba5cb071b9bf9", - "object": "CustomsItem", "created_at": "2024-01-19T21:47:27Z", "updated_at": - "2024-01-19T21:47:27Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_56abd0f7b71411eea2a53cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:47:27+00:00", "updated_at": - "2024-01-19T21:47:27+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_a3b107f4e1c44050bca4b95c8071bee2", - "object": "Parcel", "created_at": "2024-01-19T21:47:27Z", "updated_at": "2024-01-19T21:47:27Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_3e22b876236446cb96c127a8656d6ba7", "created_at": "2024-01-19T21:47:28Z", - "updated_at": "2024-01-19T21:47:28Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:47:28Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e85c29a00e67b4457fb1c123d4747d74e1.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_d53c187e48ff4836a4c7d2182f33b288", "object": - "Rate", "created_at": "2024-01-19T21:47:27Z", "updated_at": "2024-01-19T21:47:27Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_d87f39ecf2db4f688cc297ac8a3c24b1", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_0bfc8ab9976a4217831da4b14bbda8fb", - "object": "Rate", "created_at": "2024-01-19T21:47:27Z", "updated_at": "2024-01-19T21:47:27Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_d87f39ecf2db4f688cc297ac8a3c24b1", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_356e752aa5d14b5d921c72dd1210f43f", - "object": "Rate", "created_at": "2024-01-19T21:47:27Z", "updated_at": "2024-01-19T21:47:27Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_d87f39ecf2db4f688cc297ac8a3c24b1", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_ec585bbe08f44d6bb93e055229156dfe", - "object": "Rate", "created_at": "2024-01-19T21:47:27Z", "updated_at": "2024-01-19T21:47:27Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_d87f39ecf2db4f688cc297ac8a3c24b1", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_406d5b462b7646518d046fbd05d5ce32", "object": "Rate", "created_at": - "2024-01-19T21:47:27Z", "updated_at": "2024-01-19T21:47:27Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_d87f39ecf2db4f688cc297ac8a3c24b1", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_0bfc8ab9976a4217831da4b14bbda8fb", - "object": "Rate", "created_at": "2024-01-19T21:47:28Z", "updated_at": "2024-01-19T21:47:28Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_d87f39ecf2db4f688cc297ac8a3c24b1", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_45ca8bbcf6c942b6aa85f8758256bcb1", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708464", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:47:28Z", - "updated_at": "2024-01-19T21:47:28Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_d87f39ecf2db4f688cc297ac8a3c24b1", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzQ1Y2E4YmJjZjZjOTQyYjZhYTg1Zjg3NTgyNTZiY2Ix"}, - "to_address": {"id": "adr_56a8cfc4b71411eea4d6ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:47:27+00:00", "updated_at": "2024-01-19T21:47:27+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_56abd0f7b71411eea2a53cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:47:27+00:00", "updated_at": - "2024-01-19T21:47:27+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_56a8cfc4b71411eea4d6ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:47:27+00:00", "updated_at": "2024-01-19T21:47:27+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_d87f39ecf2db4f688cc297ac8a3c24b1", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_d87f39ecf2db4f688cc297ac8a3c24b1 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdac65aaedefe78bacae001132c9 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '1.202343' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"pickup": {"reference": "my-first-pickup", "min_datetime": "2024-01-22", - "max_datetime": "2024-01-22", "shipment": {"id": "shp_d87f39ecf2db4f688cc297ac8a3c24b1"}, - "address": {"name": "Dr. Steve Brule", "street1": "179 N Harbor Dr", "city": - "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "phone": "8573875756", - "email": "dr_steve_brule@gmail.com"}, "is_account_address": "false", "instructions": - "Special pickup instructions"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '445' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/pickups - response: - body: - string: '{"id": "pickup_4e40e44c98d44564ac1d556765117d02", "object": "Pickup", - "created_at": "2024-01-19T21:47:29Z", "updated_at": "2024-01-19T21:47:29Z", - "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": - "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": - false, "instructions": "Special pickup instructions", "messages": [], "confirmation": - null, "address": {"id": "adr_5781c945b71411eea505ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:47:29+00:00", "updated_at": "2024-01-19T21:47:29+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": - [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2024-01-19T21:47:29Z", "updated_at": "2024-01-19T21:47:29Z", - "carrier": "USPS", "pickup_id": "pickup_4e40e44c98d44564ac1d556765117d02", - "id": "pickuprate_5a8e9dce0c884a6c8b36eba7ca1fe748", "object": "PickupRate"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1184' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdac65aaedf1e78bacaf001133a2 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.633179' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"carrier": "USPS", "service": "NextDay"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '41' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/pickups/pickup_4e40e44c98d44564ac1d556765117d02/buy - response: - body: - string: '{"id": "pickup_4e40e44c98d44564ac1d556765117d02", "object": "Pickup", - "created_at": "2024-01-19T21:47:29Z", "updated_at": "2024-01-19T21:47:30Z", - "mode": "test", "status": "scheduled", "reference": "my-first-pickup", "min_datetime": - "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": - false, "instructions": "Special pickup instructions", "messages": [], "confirmation": - "WTC64043278", "address": {"id": "adr_5781c945b71411eea505ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:47:29+00:00", "updated_at": "2024-01-19T21:47:29+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": - [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2024-01-19T21:47:29Z", "updated_at": "2024-01-19T21:47:29Z", - "carrier": "USPS", "pickup_id": "pickup_4e40e44c98d44564ac1d556765117d02", - "id": "pickuprate_5a8e9dce0c884a6c8b36eba7ca1fe748", "object": "PickupRate"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1195' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdaa65aaedf1e78bacb000113423 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.829707' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:49:22Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010708990", "updated_at": "2024-01-19T21:49:23Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_0e0f34b10fe7448fab0f8ab2aaadf5ce", "object": "CustomsInfo", "created_at": - "2024-01-19T21:49:22Z", "updated_at": "2024-01-19T21:49:22Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_32573289991342189133ac0a5301b1ae", - "object": "CustomsItem", "created_at": "2024-01-19T21:49:22Z", "updated_at": - "2024-01-19T21:49:22Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_9b46728cb71411eeb88b3cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:49:22+00:00", "updated_at": - "2024-01-19T21:49:22+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_6b4c309bea1a466f9325aa0018ad8ac9", - "object": "Parcel", "created_at": "2024-01-19T21:49:22Z", "updated_at": "2024-01-19T21:49:22Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_0f63eafdaef8473ab3bb13892676fedc", "created_at": "2024-01-19T21:49:23Z", - "updated_at": "2024-01-19T21:49:23Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:49:23Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e82e85ebebe5db44a9abd8dccd775a62fb.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_b7d09b8ac50d48429f28277c775980c1", "object": - "Rate", "created_at": "2024-01-19T21:49:22Z", "updated_at": "2024-01-19T21:49:22Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_063b4eebf50b4ce092073d3a1e163bf3", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_8f99ea92547d471993bf736dc78573ee", - "object": "Rate", "created_at": "2024-01-19T21:49:22Z", "updated_at": "2024-01-19T21:49:22Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_063b4eebf50b4ce092073d3a1e163bf3", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_edabedbb07534400af70b7fd722c509f", - "object": "Rate", "created_at": "2024-01-19T21:49:22Z", "updated_at": "2024-01-19T21:49:22Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_063b4eebf50b4ce092073d3a1e163bf3", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_cc5aa5264e95452ba22777e1cbadf8d3", "object": "Rate", "created_at": - "2024-01-19T21:49:22Z", "updated_at": "2024-01-19T21:49:22Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_063b4eebf50b4ce092073d3a1e163bf3", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_99c2955da03b4a96a43b8cb312a6c3ea", "object": "Rate", "created_at": - "2024-01-19T21:49:22Z", "updated_at": "2024-01-19T21:49:22Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_063b4eebf50b4ce092073d3a1e163bf3", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_b7d09b8ac50d48429f28277c775980c1", - "object": "Rate", "created_at": "2024-01-19T21:49:23Z", "updated_at": "2024-01-19T21:49:23Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_063b4eebf50b4ce092073d3a1e163bf3", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_ea029c821a9b4492b73b381076478d2d", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708990", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:49:23Z", - "updated_at": "2024-01-19T21:49:23Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_063b4eebf50b4ce092073d3a1e163bf3", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrX2VhMDI5YzgyMWE5YjQ0OTJiNzNiMzgxMDc2NDc4ZDJk"}, - "to_address": {"id": "adr_9b43c75ab71411eeba1eac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:49:22+00:00", "updated_at": "2024-01-19T21:49:23+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_9b46728cb71411eeb88b3cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:49:22+00:00", "updated_at": - "2024-01-19T21:49:22+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_9b43c75ab71411eeba1eac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:49:22+00:00", "updated_at": "2024-01-19T21:49:23+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_063b4eebf50b4ce092073d3a1e163bf3", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_063b4eebf50b4ce092073d3a1e163bf3 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda765aaee62e78bb4d100117737 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.994791' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"pickup": {"reference": "my-first-pickup", "min_datetime": "2024-01-22", - "max_datetime": "2024-01-22", "shipment": {"id": "shp_063b4eebf50b4ce092073d3a1e163bf3"}, - "address": {"name": "Dr. Steve Brule", "street1": "179 N Harbor Dr", "city": - "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "phone": "8573875756", - "email": "dr_steve_brule@gmail.com"}, "is_account_address": "false", "instructions": - "Special pickup instructions"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '445' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/pickups - response: - body: - string: '{"id": "pickup_fd187b12c6aa465c8965587eebe3c57e", "object": "Pickup", - "created_at": "2024-01-19T21:49:24Z", "updated_at": "2024-01-19T21:49:24Z", - "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": - "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": - false, "instructions": "Special pickup instructions", "messages": [], "confirmation": - null, "address": {"id": "adr_9bfec4e3b71411eeba50ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:49:23+00:00", "updated_at": "2024-01-19T21:49:23+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": - [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2024-01-19T21:49:24Z", "updated_at": "2024-01-19T21:49:24Z", - "carrier": "USPS", "pickup_id": "pickup_fd187b12c6aa465c8965587eebe3c57e", - "id": "pickuprate_7d3321d2eb2c4493942ad6bb4fa7a04a", "object": "PickupRate"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1184' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda865aaee63e78bb4d2001177cb - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.705818' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"carrier": "USPS", "service": "NextDay"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '41' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/pickups/pickup_fd187b12c6aa465c8965587eebe3c57e/buy - response: - body: - string: '{"id": "pickup_fd187b12c6aa465c8965587eebe3c57e", "object": "Pickup", - "created_at": "2024-01-19T21:49:24Z", "updated_at": "2024-01-19T21:49:25Z", - "mode": "test", "status": "scheduled", "reference": "my-first-pickup", "min_datetime": - "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": - false, "instructions": "Special pickup instructions", "messages": [], "confirmation": - "WTC64043488", "address": {"id": "adr_9bfec4e3b71411eeba50ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:49:23+00:00", "updated_at": "2024-01-19T21:49:23+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": - [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2024-01-19T21:49:24Z", "updated_at": "2024-01-19T21:49:24Z", - "carrier": "USPS", "pickup_id": "pickup_fd187b12c6aa465c8965587eebe3c57e", - "id": "pickuprate_7d3321d2eb2c4493942ad6bb4fa7a04a", "object": "PickupRate"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1195' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdab65aaee64e78bb4ea00117845 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.828842' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:58:41Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010711464", "updated_at": "2024-01-19T21:58:42Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_b2621d944a5b415e92ce7cdf76b52c13", "object": "CustomsInfo", "created_at": - "2024-01-19T21:58:41Z", "updated_at": "2024-01-19T21:58:41Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_97ecbf4fb3e34922905677fb4d3211cb", - "object": "CustomsItem", "created_at": "2024-01-19T21:58:41Z", "updated_at": - "2024-01-19T21:58:41Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_e859733eb71511eeba33ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:58:41+00:00", "updated_at": - "2024-01-19T21:58:41+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_79844ad153594b269c6513f7a0e270c0", - "object": "Parcel", "created_at": "2024-01-19T21:58:41Z", "updated_at": "2024-01-19T21:58:41Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_ae28cbf4c0e14e3cac05509f7aae90e5", "created_at": "2024-01-19T21:58:42Z", - "updated_at": "2024-01-19T21:58:42Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:58:42Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e893d0540d5e9e4539b38b552189d4fc76.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_c162e991a8474237886ac9c1de7c5b99", "object": - "Rate", "created_at": "2024-01-19T21:58:41Z", "updated_at": "2024-01-19T21:58:41Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_70d9e3c237394794a887b61148d8bddd", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_503ef40ca605477c992dfc0ec76384d8", - "object": "Rate", "created_at": "2024-01-19T21:58:41Z", "updated_at": "2024-01-19T21:58:41Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_70d9e3c237394794a887b61148d8bddd", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_9e7ae5dff4a44e62be7a2a7a65e1f4b1", - "object": "Rate", "created_at": "2024-01-19T21:58:41Z", "updated_at": "2024-01-19T21:58:41Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_70d9e3c237394794a887b61148d8bddd", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_584e3f4c733040679bd78a8c6802ff32", - "object": "Rate", "created_at": "2024-01-19T21:58:41Z", "updated_at": "2024-01-19T21:58:41Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_70d9e3c237394794a887b61148d8bddd", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_27b8f6f922de4154acc86f8effaa3fcf", "object": "Rate", "created_at": - "2024-01-19T21:58:41Z", "updated_at": "2024-01-19T21:58:41Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_70d9e3c237394794a887b61148d8bddd", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_503ef40ca605477c992dfc0ec76384d8", - "object": "Rate", "created_at": "2024-01-19T21:58:42Z", "updated_at": "2024-01-19T21:58:42Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_70d9e3c237394794a887b61148d8bddd", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_e34d16545d3c431984ffc6b5ee12bc8b", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711464", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:58:42Z", - "updated_at": "2024-01-19T21:58:42Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_70d9e3c237394794a887b61148d8bddd", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrX2UzNGQxNjU0NWQzYzQzMTk4NGZmYzZiNWVlMTJiYzhi"}, - "to_address": {"id": "adr_e8570356b71511eea7a03cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:58:41+00:00", "updated_at": "2024-01-19T21:58:41+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_e859733eb71511eeba33ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:58:41+00:00", "updated_at": - "2024-01-19T21:58:41+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_e8570356b71511eea7a03cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:58:41+00:00", "updated_at": "2024-01-19T21:58:41+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_70d9e3c237394794a887b61148d8bddd", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_70d9e3c237394794a887b61148d8bddd - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf091e798bf78000f7968 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.058581' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"pickup": {"reference": "my-first-pickup", "min_datetime": "2024-01-22", - "max_datetime": "2024-01-22", "shipment": {"id": "shp_70d9e3c237394794a887b61148d8bddd"}, - "address": {"name": "Dr. Steve Brule", "street1": "179 N Harbor Dr", "city": - "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "phone": "8573875756", - "email": "dr_steve_brule@gmail.com"}, "is_account_address": "false", "instructions": - "Special pickup instructions"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '445' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/pickups - response: - body: - string: '{"id": "pickup_fbbc2d562c11468fba26fba5bb5017f0", "object": "Pickup", - "created_at": "2024-01-19T21:58:42Z", "updated_at": "2024-01-19T21:58:42Z", - "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": - "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": - false, "instructions": "Special pickup instructions", "messages": [], "confirmation": - null, "address": {"id": "adr_e91b9921b71511eeabdaac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:58:42+00:00", "updated_at": "2024-01-19T21:58:42+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": - [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2024-01-19T21:58:43Z", "updated_at": "2024-01-19T21:58:43Z", - "carrier": "USPS", "pickup_id": "pickup_fbbc2d562c11468fba26fba5bb5017f0", - "id": "pickuprate_0fe420fc2e1a436792ac76936918e8c6", "object": "PickupRate"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1184' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf092e798bf79000f7a2e - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.718468' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"carrier": "USPS", "service": "NextDay"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '41' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/pickups/pickup_fbbc2d562c11468fba26fba5bb5017f0/buy - response: - body: - string: '{"id": "pickup_fbbc2d562c11468fba26fba5bb5017f0", "object": "Pickup", - "created_at": "2024-01-19T21:58:42Z", "updated_at": "2024-01-19T21:58:44Z", - "mode": "test", "status": "scheduled", "reference": "my-first-pickup", "min_datetime": - "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": - false, "instructions": "Special pickup instructions", "messages": [], "confirmation": - "WTC64043516", "address": {"id": "adr_e91b9921b71511eeabdaac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:58:42+00:00", "updated_at": "2024-01-19T21:58:42+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": - [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2024-01-19T21:58:43Z", "updated_at": "2024-01-19T21:58:43Z", - "carrier": "USPS", "pickup_id": "pickup_fbbc2d562c11468fba26fba5bb5017f0", - "id": "pickuprate_0fe420fc2e1a436792ac76936918e8c6", "object": "PickupRate"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1195' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaf093e798bf7a000f7ab8 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.917081' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T22:01:35Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010711891", "updated_at": "2024-01-19T22:01:36Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_58f78d4dc5c243d684fc78afee0dce5a", "object": "CustomsInfo", "created_at": - "2024-01-19T22:01:35Z", "updated_at": "2024-01-19T22:01:35Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_749a2be5316c4f2ebdca35ac71c2782c", - "object": "CustomsItem", "created_at": "2024-01-19T22:01:35Z", "updated_at": - "2024-01-19T22:01:35Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_503ed388b71611ee8b12ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:01:35+00:00", "updated_at": - "2024-01-19T22:01:35+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_8859d99e2f524eff9e4c40aea42adb3a", - "object": "Parcel", "created_at": "2024-01-19T22:01:35Z", "updated_at": "2024-01-19T22:01:35Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_f3aab24695cd4dc8893e6368ffa72822", "created_at": "2024-01-19T22:01:36Z", - "updated_at": "2024-01-19T22:01:36Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T22:01:36Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e87fe62e6ae3d34fcb8ea82a28b2f30680.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_cef3b9a14d8d464c995befbeb2940280", "object": - "Rate", "created_at": "2024-01-19T22:01:36Z", "updated_at": "2024-01-19T22:01:36Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_5340913ad6b540a08d3dffc8fc60c94a", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_41f146a319374a26b8bbebd3c34683ba", - "object": "Rate", "created_at": "2024-01-19T22:01:36Z", "updated_at": "2024-01-19T22:01:36Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_5340913ad6b540a08d3dffc8fc60c94a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_5aacbcedf75c49baa6bcd0dec0d174d3", "object": "Rate", "created_at": - "2024-01-19T22:01:36Z", "updated_at": "2024-01-19T22:01:36Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_5340913ad6b540a08d3dffc8fc60c94a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_6cddef2c1a304736beda319cc443bab4", "object": "Rate", "created_at": - "2024-01-19T22:01:36Z", "updated_at": "2024-01-19T22:01:36Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_5340913ad6b540a08d3dffc8fc60c94a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_dbeda69e9d4849b2a67347fd5ffb15ac", "object": "Rate", "created_at": - "2024-01-19T22:01:36Z", "updated_at": "2024-01-19T22:01:36Z", "mode": "test", - "service": "Priority", "carrier": "USPS", "rate": "7.99", "currency": "USD", - "retail_rate": "14.05", "retail_currency": "USD", "list_rate": "10.27", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": - "shp_5340913ad6b540a08d3dffc8fc60c94a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_dbeda69e9d4849b2a67347fd5ffb15ac", - "object": "Rate", "created_at": "2024-01-19T22:01:36Z", "updated_at": "2024-01-19T22:01:36Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_5340913ad6b540a08d3dffc8fc60c94a", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_40db8f3584b34f35b706baa2e9dbf97c", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711891", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:01:36Z", - "updated_at": "2024-01-19T22:01:36Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_5340913ad6b540a08d3dffc8fc60c94a", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzQwZGI4ZjM1ODRiMzRmMzViNzA2YmFhMmU5ZGJmOTdj"}, - "to_address": {"id": "adr_503c1fbab71611ee8ccaac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T22:01:35+00:00", "updated_at": "2024-01-19T22:01:36+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_503ed388b71611ee8b12ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:01:35+00:00", "updated_at": - "2024-01-19T22:01:35+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_503c1fbab71611ee8ccaac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T22:01:35+00:00", "updated_at": "2024-01-19T22:01:36+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_5340913ad6b540a08d3dffc8fc60c94a", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_5340913ad6b540a08d3dffc8fc60c94a - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaf13fe798c4c600100cd1 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.948231' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"pickup": {"reference": "my-first-pickup", "min_datetime": "2024-01-22", - "max_datetime": "2024-01-22", "shipment": {"id": "shp_5340913ad6b540a08d3dffc8fc60c94a"}, - "address": {"name": "Dr. Steve Brule", "street1": "179 N Harbor Dr", "city": - "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "phone": "8573875756", - "email": "dr_steve_brule@gmail.com"}, "is_account_address": "false", "instructions": - "Special pickup instructions"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '445' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/pickups - response: - body: - string: '{"id": "pickup_cf6094ad2c0c40deabdb25eb25afb4a6", "object": "Pickup", - "created_at": "2024-01-19T22:01:37Z", "updated_at": "2024-01-19T22:01:37Z", - "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": - "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": - false, "instructions": "Special pickup instructions", "messages": [], "confirmation": - null, "address": {"id": "adr_50f0d42eb71611ee89263cecef1b359e", "object": - "Address", "created_at": "2024-01-19T22:01:37+00:00", "updated_at": "2024-01-19T22:01:37+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": - [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2024-01-19T22:01:37Z", "updated_at": "2024-01-19T22:01:37Z", - "carrier": "USPS", "pickup_id": "pickup_cf6094ad2c0c40deabdb25eb25afb4a6", - "id": "pickuprate_a5ec323be3e24b339fab0ef6ec5be37e", "object": "PickupRate"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1184' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf140e798c7d600100de5 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.643820' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"carrier": "USPS", "service": "NextDay"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '41' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/pickups/pickup_cf6094ad2c0c40deabdb25eb25afb4a6/buy - response: - body: - string: '{"id": "pickup_cf6094ad2c0c40deabdb25eb25afb4a6", "object": "Pickup", - "created_at": "2024-01-19T22:01:37Z", "updated_at": "2024-01-19T22:01:38Z", - "mode": "test", "status": "scheduled", "reference": "my-first-pickup", "min_datetime": - "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": - false, "instructions": "Special pickup instructions", "messages": [], "confirmation": - "WTC64043610", "address": {"id": "adr_50f0d42eb71611ee89263cecef1b359e", "object": - "Address", "created_at": "2024-01-19T22:01:37+00:00", "updated_at": "2024-01-19T22:01:37+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": - [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2024-01-19T22:01:37Z", "updated_at": "2024-01-19T22:01:37Z", - "carrier": "USPS", "pickup_id": "pickup_cf6094ad2c0c40deabdb25eb25afb4a6", - "id": "pickuprate_a5ec323be3e24b339fab0ef6ec5be37e", "object": "PickupRate"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1195' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaf142e798c7d700100efc - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.910559' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T22:05:22Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010712669", "updated_at": "2024-01-19T22:05:23Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_970e6b27b45e4b26bd64d0b95555a725", "object": "CustomsInfo", "created_at": - "2024-01-19T22:05:22Z", "updated_at": "2024-01-19T22:05:22Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_6eb3e409d709401b876b3b04f5db9e07", - "object": "CustomsItem", "created_at": "2024-01-19T22:05:22Z", "updated_at": - "2024-01-19T22:05:22Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_d78f06b6b71611eeb40a3cecef1b359e", - "object": "Address", "created_at": "2024-01-19T22:05:22+00:00", "updated_at": - "2024-01-19T22:05:22+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_b8e2a934b9ae40f2840bf6153b60c33a", - "object": "Parcel", "created_at": "2024-01-19T22:05:22Z", "updated_at": "2024-01-19T22:05:22Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_c8b1245a5ec542df9eddc9f833275e3f", "created_at": "2024-01-19T22:05:23Z", - "updated_at": "2024-01-19T22:05:23Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T22:05:23Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e86245712a837d4091b5ca5c3ef1fe8a22.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_1003c002de6c4dd4b6019c1e65fe34d0", "object": - "Rate", "created_at": "2024-01-19T22:05:23Z", "updated_at": "2024-01-19T22:05:23Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_aacd087852974fb0a64015414f158415", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_366600bb8ed6422e845025d75d96dbf1", - "object": "Rate", "created_at": "2024-01-19T22:05:23Z", "updated_at": "2024-01-19T22:05:23Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_aacd087852974fb0a64015414f158415", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_047f9a0ba9bf42dbbf13496c00bce0d9", - "object": "Rate", "created_at": "2024-01-19T22:05:23Z", "updated_at": "2024-01-19T22:05:23Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_aacd087852974fb0a64015414f158415", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_49c5c25d5cc74f30a935aaaf96a45de1", "object": "Rate", "created_at": - "2024-01-19T22:05:23Z", "updated_at": "2024-01-19T22:05:23Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_aacd087852974fb0a64015414f158415", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_8820bebdea454fbbb4b1daeac59ff02a", "object": "Rate", "created_at": - "2024-01-19T22:05:23Z", "updated_at": "2024-01-19T22:05:23Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_aacd087852974fb0a64015414f158415", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_1003c002de6c4dd4b6019c1e65fe34d0", - "object": "Rate", "created_at": "2024-01-19T22:05:23Z", "updated_at": "2024-01-19T22:05:23Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_aacd087852974fb0a64015414f158415", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_241cc9c441274f9a928d601813be9bba", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010712669", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:05:23Z", - "updated_at": "2024-01-19T22:05:23Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_aacd087852974fb0a64015414f158415", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzI0MWNjOWM0NDEyNzRmOWE5MjhkNjAxODEzYmU5YmJh"}, - "to_address": {"id": "adr_d78c923db71611eeb895ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T22:05:22+00:00", "updated_at": "2024-01-19T22:05:23+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_d78f06b6b71611eeb40a3cecef1b359e", - "object": "Address", "created_at": "2024-01-19T22:05:22+00:00", "updated_at": - "2024-01-19T22:05:22+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_d78c923db71611eeb895ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T22:05:22+00:00", "updated_at": "2024-01-19T22:05:23+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_aacd087852974fb0a64015414f158415", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_aacd087852974fb0a64015414f158415 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf222e798d0a00010b6f3 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.888784' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"pickup": {"reference": "my-first-pickup", "min_datetime": "2024-01-22", - "max_datetime": "2024-01-22", "shipment": {"id": "shp_aacd087852974fb0a64015414f158415"}, - "address": {"name": "Dr. Steve Brule", "street1": "179 N Harbor Dr", "city": - "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "phone": "8573875756", - "email": "dr_steve_brule@gmail.com"}, "is_account_address": "false", "instructions": - "Special pickup instructions"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '445' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/pickups - response: - body: - string: '{"id": "pickup_56522c26a7484d8e91fb5be29e6bd85e", "object": "Pickup", - "created_at": "2024-01-19T22:05:24Z", "updated_at": "2024-01-19T22:05:24Z", - "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": - "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": - false, "instructions": "Special pickup instructions", "messages": [], "confirmation": - null, "address": {"id": "adr_d837f6cfb71611eeb665ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T22:05:23+00:00", "updated_at": "2024-01-19T22:05:23+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": - [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2024-01-19T22:05:24Z", "updated_at": "2024-01-19T22:05:24Z", - "carrier": "USPS", "pickup_id": "pickup_56522c26a7484d8e91fb5be29e6bd85e", - "id": "pickuprate_207ffd6606db416999bf4ef94808d697", "object": "PickupRate"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1184' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaf223e798d0a10010b7b1 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.674134' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"carrier": "USPS", "service": "NextDay"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '41' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/pickups/pickup_56522c26a7484d8e91fb5be29e6bd85e/buy - response: - body: - string: '{"id": "pickup_56522c26a7484d8e91fb5be29e6bd85e", "object": "Pickup", - "created_at": "2024-01-19T22:05:24Z", "updated_at": "2024-01-19T22:05:25Z", - "mode": "test", "status": "scheduled", "reference": "my-first-pickup", "min_datetime": - "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": - false, "instructions": "Special pickup instructions", "messages": [], "confirmation": - "WTC64043530", "address": {"id": "adr_d837f6cfb71611eeb665ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T22:05:23+00:00", "updated_at": "2024-01-19T22:05:23+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": - [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2024-01-19T22:05:24Z", "updated_at": "2024-01-19T22:05:24Z", - "carrier": "USPS", "pickup_id": "pickup_56522c26a7484d8e91fb5be29e6bd85e", - "id": "pickuprate_207ffd6606db416999bf4ef94808d697", "object": "PickupRate"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1195' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf224e798d0a20010b862 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.936133' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_pickups_cancel.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_pickups_cancel.yaml deleted file mode 100644 index 285d264a..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_pickups_cancel.yaml +++ /dev/null @@ -1,3032 +0,0 @@ -interactions: -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:41:22Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010707696", "updated_at": "2024-01-19T21:41:23Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_b89f75f170ab401bbe6812b4edbbfe36", "object": "CustomsInfo", "created_at": - "2024-01-19T21:41:22Z", "updated_at": "2024-01-19T21:41:22Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_d0d055b113cc47b888b7e9f0ca918255", - "object": "CustomsItem", "created_at": "2024-01-19T21:41:22Z", "updated_at": - "2024-01-19T21:41:22Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_7d329560b71311ee9d28ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:41:22+00:00", "updated_at": - "2024-01-19T21:41:22+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_bfb0c09a7aa54834bab257068b7ebd3f", - "object": "Parcel", "created_at": "2024-01-19T21:41:22Z", "updated_at": "2024-01-19T21:41:22Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_d9b6019a5efa476db3c0d442260603f0", "created_at": "2024-01-19T21:41:23Z", - "updated_at": "2024-01-19T21:41:23Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:41:23Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e85326875e5da547fba455b82c084b7678.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_fa5e493de369479f987a5b2e1921b3a3", "object": - "Rate", "created_at": "2024-01-19T21:41:22Z", "updated_at": "2024-01-19T21:41:22Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_0a37e8e18012447688bf4bc06e543aaf", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_9b39f009f5d64d6995f9cc4c1aef3d2f", - "object": "Rate", "created_at": "2024-01-19T21:41:22Z", "updated_at": "2024-01-19T21:41:22Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_0a37e8e18012447688bf4bc06e543aaf", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_43a7718acd31468eb26486ccd68a1ffa", - "object": "Rate", "created_at": "2024-01-19T21:41:22Z", "updated_at": "2024-01-19T21:41:22Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_0a37e8e18012447688bf4bc06e543aaf", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_5508350b813c4fdfa66da6781453975d", - "object": "Rate", "created_at": "2024-01-19T21:41:22Z", "updated_at": "2024-01-19T21:41:22Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_0a37e8e18012447688bf4bc06e543aaf", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_3b655d048d974484be23850930c00feb", "object": "Rate", "created_at": - "2024-01-19T21:41:22Z", "updated_at": "2024-01-19T21:41:22Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_0a37e8e18012447688bf4bc06e543aaf", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_9b39f009f5d64d6995f9cc4c1aef3d2f", - "object": "Rate", "created_at": "2024-01-19T21:41:23Z", "updated_at": "2024-01-19T21:41:23Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_0a37e8e18012447688bf4bc06e543aaf", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_b98a3527696a49059c5d947df54a9ec0", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010707696", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:41:23Z", - "updated_at": "2024-01-19T21:41:23Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_0a37e8e18012447688bf4bc06e543aaf", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrX2I5OGEzNTI3Njk2YTQ5MDU5YzVkOTQ3ZGY1NGE5ZWMw"}, - "to_address": {"id": "adr_7d3074c4b71311ee9a7e3cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:41:22+00:00", "updated_at": "2024-01-19T21:41:23+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_7d329560b71311ee9d28ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:41:22+00:00", "updated_at": - "2024-01-19T21:41:22+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_7d3074c4b71311ee9a7e3cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:41:22+00:00", "updated_at": "2024-01-19T21:41:23+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_0a37e8e18012447688bf4bc06e543aaf", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_0a37e8e18012447688bf4bc06e543aaf - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaec82e78b9ee6000cf1fe - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.142325' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"pickup": {"reference": "my-first-pickup", "min_datetime": "2024-01-22", - "max_datetime": "2024-01-22", "shipment": {"id": "shp_0a37e8e18012447688bf4bc06e543aaf"}, - "address": {"name": "Dr. Steve Brule", "street1": "179 N Harbor Dr", "city": - "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "phone": "8573875756", - "email": "dr_steve_brule@gmail.com"}, "is_account_address": "false", "instructions": - "Special pickup instructions"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '445' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/pickups - response: - body: - string: '{"id": "pickup_d5d09755c5144ed0b37d82bfb85e64a1", "object": "Pickup", - "created_at": "2024-01-19T21:41:24Z", "updated_at": "2024-01-19T21:41:24Z", - "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": - "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": - false, "instructions": "Special pickup instructions", "messages": [], "confirmation": - null, "address": {"id": "adr_7e05555db71311eeac0dac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:41:24+00:00", "updated_at": "2024-01-19T21:41:24+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": - [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2024-01-19T21:41:24Z", "updated_at": "2024-01-19T21:41:24Z", - "carrier": "USPS", "pickup_id": "pickup_d5d09755c5144ed0b37d82bfb85e64a1", - "id": "pickuprate_0abf056bc3b7484eab8179368a2dbf02", "object": "PickupRate"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1184' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaec84e78b9ee7000cf2bd - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.659848' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"carrier": "USPS", "service": "NextDay"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '41' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/pickups/pickup_d5d09755c5144ed0b37d82bfb85e64a1/buy - response: - body: - string: '{"id": "pickup_d5d09755c5144ed0b37d82bfb85e64a1", "object": "Pickup", - "created_at": "2024-01-19T21:41:24Z", "updated_at": "2024-01-19T21:41:36Z", - "mode": "test", "status": "scheduled", "reference": "my-first-pickup", "min_datetime": - "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": - false, "instructions": "Special pickup instructions", "messages": [], "confirmation": - "WTC64043432", "address": {"id": "adr_7e05555db71311eeac0dac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:41:24+00:00", "updated_at": "2024-01-19T21:41:24+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": - [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2024-01-19T21:41:24Z", "updated_at": "2024-01-19T21:41:24Z", - "carrier": "USPS", "pickup_id": "pickup_d5d09755c5144ed0b37d82bfb85e64a1", - "id": "pickuprate_0abf056bc3b7484eab8179368a2dbf02", "object": "PickupRate"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1195' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaec8fe78b9f02000cf82d - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.001596' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '2' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/pickups/pickup_d5d09755c5144ed0b37d82bfb85e64a1/cancel - response: - body: - string: '{"id": "pickup_d5d09755c5144ed0b37d82bfb85e64a1", "object": "Pickup", - "created_at": "2024-01-19T21:41:24Z", "updated_at": "2024-01-19T21:41:47Z", - "mode": "test", "status": "canceled", "reference": "my-first-pickup", "min_datetime": - "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": - false, "instructions": "Special pickup instructions", "messages": [], "confirmation": - "WTC64043432", "address": {"id": "adr_7e05555db71311eeac0dac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:41:24+00:00", "updated_at": "2024-01-19T21:41:24+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": - [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2024-01-19T21:41:24Z", "updated_at": "2024-01-19T21:41:24Z", - "carrier": "USPS", "pickup_id": "pickup_d5d09755c5144ed0b37d82bfb85e64a1", - "id": "pickuprate_0abf056bc3b7484eab8179368a2dbf02", "object": "PickupRate"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1194' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaec9ae78b9f03000cfe79 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.741693' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:43:39Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010708051", "updated_at": "2024-01-19T21:43:40Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_b19a00ad14ad41f5a91d97a03bf9ccbb", "object": "CustomsInfo", "created_at": - "2024-01-19T21:43:39Z", "updated_at": "2024-01-19T21:43:39Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_c01c558bec2446feb13c3a7589decd18", - "object": "CustomsItem", "created_at": "2024-01-19T21:43:39Z", "updated_at": - "2024-01-19T21:43:39Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_ce77fef1b71311eeb9e6ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:43:39+00:00", "updated_at": - "2024-01-19T21:43:39+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_bf2dada9d3364d378e9bda3763f37ebe", - "object": "Parcel", "created_at": "2024-01-19T21:43:39Z", "updated_at": "2024-01-19T21:43:39Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_18c2cf799f17448f85a90ed4c65e05b3", "created_at": "2024-01-19T21:43:39Z", - "updated_at": "2024-01-19T21:43:39Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:43:39Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e800999458e85f404fbf3517528f0cf013.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_9c7d1bf505cb47859078d98a4793aaa4", "object": - "Rate", "created_at": "2024-01-19T21:43:39Z", "updated_at": "2024-01-19T21:43:39Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_ba0630d2747042eb81b101832d013cec", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_8155a0810f4247ff993f283ad898c73f", - "object": "Rate", "created_at": "2024-01-19T21:43:39Z", "updated_at": "2024-01-19T21:43:39Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_ba0630d2747042eb81b101832d013cec", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_bdd139a6066e4cc89e7b418387af13a1", "object": "Rate", "created_at": - "2024-01-19T21:43:39Z", "updated_at": "2024-01-19T21:43:39Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_ba0630d2747042eb81b101832d013cec", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_a392d0d185a249c69beb91de806d0979", "object": "Rate", "created_at": - "2024-01-19T21:43:39Z", "updated_at": "2024-01-19T21:43:39Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_ba0630d2747042eb81b101832d013cec", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_19558261c77a4e8abc29d7ff9f82a4f2", "object": "Rate", "created_at": - "2024-01-19T21:43:39Z", "updated_at": "2024-01-19T21:43:39Z", "mode": "test", - "service": "Priority", "carrier": "USPS", "rate": "7.99", "currency": "USD", - "retail_rate": "14.05", "retail_currency": "USD", "list_rate": "10.27", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": - "shp_ba0630d2747042eb81b101832d013cec", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_19558261c77a4e8abc29d7ff9f82a4f2", - "object": "Rate", "created_at": "2024-01-19T21:43:39Z", "updated_at": "2024-01-19T21:43:39Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_ba0630d2747042eb81b101832d013cec", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_47473dca1e694be7b7c4dfb170721a25", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708051", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:43:40Z", - "updated_at": "2024-01-19T21:43:40Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_ba0630d2747042eb81b101832d013cec", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzQ3NDczZGNhMWU2OTRiZTdiN2M0ZGZiMTcwNzIxYTI1"}, - "to_address": {"id": "adr_ce763607b71311eeb77d3cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:43:39+00:00", "updated_at": "2024-01-19T21:43:39+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_ce77fef1b71311eeb9e6ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:43:39+00:00", "updated_at": - "2024-01-19T21:43:39+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_ce763607b71311eeb77d3cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:43:39+00:00", "updated_at": "2024-01-19T21:43:39+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_ba0630d2747042eb81b101832d013cec", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_ba0630d2747042eb81b101832d013cec - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaed0be78ba431000d3e9d - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.148161' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"pickup": {"reference": "my-first-pickup", "min_datetime": "2024-01-22", - "max_datetime": "2024-01-22", "shipment": {"id": "shp_ba0630d2747042eb81b101832d013cec"}, - "address": {"name": "Dr. Steve Brule", "street1": "179 N Harbor Dr", "city": - "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "phone": "8573875756", - "email": "dr_steve_brule@gmail.com"}, "is_account_address": "false", "instructions": - "Special pickup instructions"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '445' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/pickups - response: - body: - string: '{"id": "pickup_2389239e31cb482687a6a5cde2d113dd", "object": "Pickup", - "created_at": "2024-01-19T21:43:40Z", "updated_at": "2024-01-19T21:43:40Z", - "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": - "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": - false, "instructions": "Special pickup instructions", "messages": [], "confirmation": - null, "address": {"id": "adr_cf754e8cb71311eeba1eac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:43:40+00:00", "updated_at": "2024-01-19T21:43:40+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": - [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2024-01-19T21:43:41Z", "updated_at": "2024-01-19T21:43:41Z", - "carrier": "USPS", "pickup_id": "pickup_2389239e31cb482687a6a5cde2d113dd", - "id": "pickuprate_92dfb8c3d2fe46f188aa0ad6ce9046bf", "object": "PickupRate"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1184' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaed0ce78ba740000d3f61 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.596636' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"carrier": "USPS", "service": "NextDay"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '41' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/pickups/pickup_2389239e31cb482687a6a5cde2d113dd/buy - response: - body: - string: '{"id": "pickup_2389239e31cb482687a6a5cde2d113dd", "object": "Pickup", - "created_at": "2024-01-19T21:43:40Z", "updated_at": "2024-01-19T21:43:42Z", - "mode": "test", "status": "scheduled", "reference": "my-first-pickup", "min_datetime": - "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": - false, "instructions": "Special pickup instructions", "messages": [], "confirmation": - "WTC64043436", "address": {"id": "adr_cf754e8cb71311eeba1eac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:43:40+00:00", "updated_at": "2024-01-19T21:43:40+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": - [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2024-01-19T21:43:41Z", "updated_at": "2024-01-19T21:43:41Z", - "carrier": "USPS", "pickup_id": "pickup_2389239e31cb482687a6a5cde2d113dd", - "id": "pickuprate_92dfb8c3d2fe46f188aa0ad6ce9046bf", "object": "PickupRate"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1195' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaed0de78ba741000d3fd3 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.747726' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '2' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/pickups/pickup_2389239e31cb482687a6a5cde2d113dd/cancel - response: - body: - string: '{"id": "pickup_2389239e31cb482687a6a5cde2d113dd", "object": "Pickup", - "created_at": "2024-01-19T21:43:40Z", "updated_at": "2024-01-19T21:43:43Z", - "mode": "test", "status": "canceled", "reference": "my-first-pickup", "min_datetime": - "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": - false, "instructions": "Special pickup instructions", "messages": [], "confirmation": - "WTC64043436", "address": {"id": "adr_cf754e8cb71311eeba1eac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:43:40+00:00", "updated_at": "2024-01-19T21:43:40+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": - [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2024-01-19T21:43:41Z", "updated_at": "2024-01-19T21:43:41Z", - "carrier": "USPS", "pickup_id": "pickup_2389239e31cb482687a6a5cde2d113dd", - "id": "pickuprate_92dfb8c3d2fe46f188aa0ad6ce9046bf", "object": "PickupRate"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1194' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaed0ee78ba742000d4041 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.628073' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:47:31Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010708495", "updated_at": "2024-01-19T21:47:32Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_8b47bb07cbdc4e738a8c35b5b20399de", "object": "CustomsInfo", "created_at": - "2024-01-19T21:47:31Z", "updated_at": "2024-01-19T21:47:31Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_ac88e709a89f40188b5fb0a7e04b7a5b", - "object": "CustomsItem", "created_at": "2024-01-19T21:47:31Z", "updated_at": - "2024-01-19T21:47:31Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_58c92a20b71411eeb4ebac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:47:31+00:00", "updated_at": - "2024-01-19T21:47:31+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_616598647c1e409aafb90bfb1ae78e96", - "object": "Parcel", "created_at": "2024-01-19T21:47:31Z", "updated_at": "2024-01-19T21:47:31Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_f3623eca742b48d8b3f42e2e88744893", "created_at": "2024-01-19T21:47:31Z", - "updated_at": "2024-01-19T21:47:32Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:47:31Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e86dba6dab43114358a7ec68d096668e22.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_0fcdd323b09b42f2a9cce901610453a8", "object": - "Rate", "created_at": "2024-01-19T21:47:31Z", "updated_at": "2024-01-19T21:47:31Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_226ded86eb5547f8a2d91ea94e839c03", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4a7490da519d497f92e2b4f192c32b61", - "object": "Rate", "created_at": "2024-01-19T21:47:31Z", "updated_at": "2024-01-19T21:47:31Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_226ded86eb5547f8a2d91ea94e839c03", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_036aa4f19ebc4b23be00752fc2e33744", - "object": "Rate", "created_at": "2024-01-19T21:47:31Z", "updated_at": "2024-01-19T21:47:31Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_226ded86eb5547f8a2d91ea94e839c03", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_449d153e68da496883747707dfed166b", - "object": "Rate", "created_at": "2024-01-19T21:47:31Z", "updated_at": "2024-01-19T21:47:31Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_226ded86eb5547f8a2d91ea94e839c03", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_90069acc14644174bb5fd25a4ed3390a", "object": "Rate", "created_at": - "2024-01-19T21:47:31Z", "updated_at": "2024-01-19T21:47:31Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_226ded86eb5547f8a2d91ea94e839c03", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_4a7490da519d497f92e2b4f192c32b61", - "object": "Rate", "created_at": "2024-01-19T21:47:31Z", "updated_at": "2024-01-19T21:47:31Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_226ded86eb5547f8a2d91ea94e839c03", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_4904f84212034d7e8aa1e0427a9b881e", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708495", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:47:32Z", - "updated_at": "2024-01-19T21:47:32Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_226ded86eb5547f8a2d91ea94e839c03", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzQ5MDRmODQyMTIwMzRkN2U4YWExZTA0MjdhOWI4ODFl"}, - "to_address": {"id": "adr_58c37d43b71411eea55dac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:47:31+00:00", "updated_at": "2024-01-19T21:47:31+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_58c92a20b71411eeb4ebac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:47:31+00:00", "updated_at": - "2024-01-19T21:47:31+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_58c37d43b71411eea55dac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:47:31+00:00", "updated_at": "2024-01-19T21:47:31+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_226ded86eb5547f8a2d91ea94e839c03", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_226ded86eb5547f8a2d91ea94e839c03 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdaa65aaedf3e78bacb1001134c7 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '1.106146' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"pickup": {"reference": "my-first-pickup", "min_datetime": "2024-01-22", - "max_datetime": "2024-01-22", "shipment": {"id": "shp_226ded86eb5547f8a2d91ea94e839c03"}, - "address": {"name": "Dr. Steve Brule", "street1": "179 N Harbor Dr", "city": - "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "phone": "8573875756", - "email": "dr_steve_brule@gmail.com"}, "is_account_address": "false", "instructions": - "Special pickup instructions"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '445' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/pickups - response: - body: - string: '{"id": "pickup_e0867e986e444028a9aee76e447b6dd5", "object": "Pickup", - "created_at": "2024-01-19T21:47:32Z", "updated_at": "2024-01-19T21:47:32Z", - "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": - "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": - false, "instructions": "Special pickup instructions", "messages": [], "confirmation": - null, "address": {"id": "adr_598f8455b71411eea68cac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:47:32+00:00", "updated_at": "2024-01-19T21:47:32+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": - [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2024-01-19T21:47:33Z", "updated_at": "2024-01-19T21:47:33Z", - "carrier": "USPS", "pickup_id": "pickup_e0867e986e444028a9aee76e447b6dd5", - "id": "pickuprate_96ef69200e4d4c4182d34a75543a7391", "object": "PickupRate"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1184' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdad65aaedf4e78bacb20011357f - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.646224' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"carrier": "USPS", "service": "NextDay"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '41' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/pickups/pickup_e0867e986e444028a9aee76e447b6dd5/buy - response: - body: - string: '{"id": "pickup_e0867e986e444028a9aee76e447b6dd5", "object": "Pickup", - "created_at": "2024-01-19T21:47:32Z", "updated_at": "2024-01-19T21:47:34Z", - "mode": "test", "status": "scheduled", "reference": "my-first-pickup", "min_datetime": - "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": - false, "instructions": "Special pickup instructions", "messages": [], "confirmation": - "WTC64043520", "address": {"id": "adr_598f8455b71411eea68cac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:47:32+00:00", "updated_at": "2024-01-19T21:47:32+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": - [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2024-01-19T21:47:33Z", "updated_at": "2024-01-19T21:47:33Z", - "carrier": "USPS", "pickup_id": "pickup_e0867e986e444028a9aee76e447b6dd5", - "id": "pickuprate_96ef69200e4d4c4182d34a75543a7391", "object": "PickupRate"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1195' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdad65aaedf5e78bacb30011362d - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.766272' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '2' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/pickups/pickup_e0867e986e444028a9aee76e447b6dd5/cancel - response: - body: - string: '{"id": "pickup_e0867e986e444028a9aee76e447b6dd5", "object": "Pickup", - "created_at": "2024-01-19T21:47:32Z", "updated_at": "2024-01-19T21:47:34Z", - "mode": "test", "status": "canceled", "reference": "my-first-pickup", "min_datetime": - "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": - false, "instructions": "Special pickup instructions", "messages": [], "confirmation": - "WTC64043520", "address": {"id": "adr_598f8455b71411eea68cac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:47:32+00:00", "updated_at": "2024-01-19T21:47:32+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": - [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2024-01-19T21:47:33Z", "updated_at": "2024-01-19T21:47:33Z", - "carrier": "USPS", "pickup_id": "pickup_e0867e986e444028a9aee76e447b6dd5", - "id": "pickuprate_96ef69200e4d4c4182d34a75543a7391", "object": "PickupRate"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1194' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdaa65aaedf6e78bafc2001136ca - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.626838' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:49:26Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010709027", "updated_at": "2024-01-19T21:49:27Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_8892260371ed42b39722a18a1a00ecec", "object": "CustomsInfo", "created_at": - "2024-01-19T21:49:26Z", "updated_at": "2024-01-19T21:49:26Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_debd703a8d9c4d248fe72c9ce7dc1319", - "object": "CustomsItem", "created_at": "2024-01-19T21:49:26Z", "updated_at": - "2024-01-19T21:49:26Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_9d45eff5b71411eebab1ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:49:26+00:00", "updated_at": - "2024-01-19T21:49:26+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_4428ebc94b3b42dd99c9c1ebcbc671e8", - "object": "Parcel", "created_at": "2024-01-19T21:49:26Z", "updated_at": "2024-01-19T21:49:26Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_6dab529603a64a2193b0dbc90bb08926", "created_at": "2024-01-19T21:49:26Z", - "updated_at": "2024-01-19T21:49:27Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:49:26Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e887ee548f47594e36aa091b3f1c97dd4e.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_f49eec10ffa44b95b2ca4859babe7e04", "object": - "Rate", "created_at": "2024-01-19T21:49:26Z", "updated_at": "2024-01-19T21:49:26Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_03b9a49ebbf447fbbc64ff1dbafa6ab3", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_fea5082ef0d94b29871fa3ee7303b90f", - "object": "Rate", "created_at": "2024-01-19T21:49:26Z", "updated_at": "2024-01-19T21:49:26Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_03b9a49ebbf447fbbc64ff1dbafa6ab3", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_feb1d94685bd42a88934f5579d850f16", - "object": "Rate", "created_at": "2024-01-19T21:49:26Z", "updated_at": "2024-01-19T21:49:26Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_03b9a49ebbf447fbbc64ff1dbafa6ab3", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b75d0c766d75405daafc28c8fd5bd8f6", - "object": "Rate", "created_at": "2024-01-19T21:49:26Z", "updated_at": "2024-01-19T21:49:26Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_03b9a49ebbf447fbbc64ff1dbafa6ab3", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_91a186ace6034f688f328cf3d9ba962c", "object": "Rate", "created_at": - "2024-01-19T21:49:26Z", "updated_at": "2024-01-19T21:49:26Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_03b9a49ebbf447fbbc64ff1dbafa6ab3", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_fea5082ef0d94b29871fa3ee7303b90f", - "object": "Rate", "created_at": "2024-01-19T21:49:26Z", "updated_at": "2024-01-19T21:49:26Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_03b9a49ebbf447fbbc64ff1dbafa6ab3", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_844917aa11a74339929a59a0ef2507c1", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010709027", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:49:27Z", - "updated_at": "2024-01-19T21:49:27Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_03b9a49ebbf447fbbc64ff1dbafa6ab3", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzg0NDkxN2FhMTFhNzQzMzk5MjlhNTlhMGVmMjUwN2Mx"}, - "to_address": {"id": "adr_9d43adf3b71411eeb9223cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:49:26+00:00", "updated_at": "2024-01-19T21:49:26+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_9d45eff5b71411eebab1ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:49:26+00:00", "updated_at": - "2024-01-19T21:49:26+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_9d43adf3b71411eeb9223cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:49:26+00:00", "updated_at": "2024-01-19T21:49:26+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_03b9a49ebbf447fbbc64ff1dbafa6ab3", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_03b9a49ebbf447fbbc64ff1dbafa6ab3 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda865aaee66e78bb4eb001178df - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '1.137192' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"pickup": {"reference": "my-first-pickup", "min_datetime": "2024-01-22", - "max_datetime": "2024-01-22", "shipment": {"id": "shp_03b9a49ebbf447fbbc64ff1dbafa6ab3"}, - "address": {"name": "Dr. Steve Brule", "street1": "179 N Harbor Dr", "city": - "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "phone": "8573875756", - "email": "dr_steve_brule@gmail.com"}, "is_account_address": "false", "instructions": - "Special pickup instructions"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '445' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/pickups - response: - body: - string: '{"id": "pickup_1fb8ae6ac266419ea4d12356a697da78", "object": "Pickup", - "created_at": "2024-01-19T21:49:27Z", "updated_at": "2024-01-19T21:49:27Z", - "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": - "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": - false, "instructions": "Special pickup instructions", "messages": [], "confirmation": - null, "address": {"id": "adr_9e1ec009b71411eebc6cac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:49:27+00:00", "updated_at": "2024-01-19T21:49:27+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": - [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2024-01-19T21:49:28Z", "updated_at": "2024-01-19T21:49:28Z", - "carrier": "USPS", "pickup_id": "pickup_1fb8ae6ac266419ea4d12356a697da78", - "id": "pickuprate_0084475cc53b49aca905e32ec250b742", "object": "PickupRate"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1184' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdac65aaee67e78bb4ec001179a1 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.623283' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"carrier": "USPS", "service": "NextDay"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '41' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/pickups/pickup_1fb8ae6ac266419ea4d12356a697da78/buy - response: - body: - string: '{"id": "pickup_1fb8ae6ac266419ea4d12356a697da78", "object": "Pickup", - "created_at": "2024-01-19T21:49:27Z", "updated_at": "2024-01-19T21:49:29Z", - "mode": "test", "status": "scheduled", "reference": "my-first-pickup", "min_datetime": - "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": - false, "instructions": "Special pickup instructions", "messages": [], "confirmation": - "WTC64043490", "address": {"id": "adr_9e1ec009b71411eebc6cac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:49:27+00:00", "updated_at": "2024-01-19T21:49:27+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": - [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2024-01-19T21:49:28Z", "updated_at": "2024-01-19T21:49:28Z", - "carrier": "USPS", "pickup_id": "pickup_1fb8ae6ac266419ea4d12356a697da78", - "id": "pickuprate_0084475cc53b49aca905e32ec250b742", "object": "PickupRate"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1195' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdaa65aaee68e78bb4ed00117a04 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.721589' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '2' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/pickups/pickup_1fb8ae6ac266419ea4d12356a697da78/cancel - response: - body: - string: '{"id": "pickup_1fb8ae6ac266419ea4d12356a697da78", "object": "Pickup", - "created_at": "2024-01-19T21:49:27Z", "updated_at": "2024-01-19T21:49:29Z", - "mode": "test", "status": "canceled", "reference": "my-first-pickup", "min_datetime": - "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": - false, "instructions": "Special pickup instructions", "messages": [], "confirmation": - "WTC64043490", "address": {"id": "adr_9e1ec009b71411eebc6cac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:49:27+00:00", "updated_at": "2024-01-19T21:49:27+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": - [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2024-01-19T21:49:28Z", "updated_at": "2024-01-19T21:49:28Z", - "carrier": "USPS", "pickup_id": "pickup_1fb8ae6ac266419ea4d12356a697da78", - "id": "pickuprate_0084475cc53b49aca905e32ec250b742", "object": "PickupRate"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1194' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdaa65aaee69e78bb4ee00117a8c - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.656369' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:58:45Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010711488", "updated_at": "2024-01-19T21:58:46Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_b9d01a925fdc40488ad5809bc812f47f", "object": "CustomsInfo", "created_at": - "2024-01-19T21:58:45Z", "updated_at": "2024-01-19T21:58:45Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_0adf6a1218974ab98eee3a4cf5ec394e", - "object": "CustomsItem", "created_at": "2024-01-19T21:58:45Z", "updated_at": - "2024-01-19T21:58:45Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_ea973360b71511eea84b3cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:58:45+00:00", "updated_at": - "2024-01-19T21:58:45+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_d94c2778a7304112b52b96a25fd82cbb", - "object": "Parcel", "created_at": "2024-01-19T21:58:45Z", "updated_at": "2024-01-19T21:58:45Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_acf142f35f2341f3b3c6b1d86a64227b", "created_at": "2024-01-19T21:58:45Z", - "updated_at": "2024-01-19T21:58:46Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:58:45Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e84254f7675b9b44fc9d3330fdb88f9378.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_0cad48047c874873a61fe381c173d5df", "object": - "Rate", "created_at": "2024-01-19T21:58:45Z", "updated_at": "2024-01-19T21:58:45Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_15493801144940a68542aa7189a7a957", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_e53e7b22032a4f96a727c8c3c4d7a0a5", - "object": "Rate", "created_at": "2024-01-19T21:58:45Z", "updated_at": "2024-01-19T21:58:45Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_15493801144940a68542aa7189a7a957", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_17ecc23ebd504bf6919a19ebe2aae21d", - "object": "Rate", "created_at": "2024-01-19T21:58:45Z", "updated_at": "2024-01-19T21:58:45Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_15493801144940a68542aa7189a7a957", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_5eb6541d59524ad69285bf9d096d26ce", - "object": "Rate", "created_at": "2024-01-19T21:58:45Z", "updated_at": "2024-01-19T21:58:45Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_15493801144940a68542aa7189a7a957", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_4908cc3c8d9d4de1ad713530e7fac247", "object": "Rate", "created_at": - "2024-01-19T21:58:45Z", "updated_at": "2024-01-19T21:58:45Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_15493801144940a68542aa7189a7a957", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_e53e7b22032a4f96a727c8c3c4d7a0a5", - "object": "Rate", "created_at": "2024-01-19T21:58:45Z", "updated_at": "2024-01-19T21:58:45Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_15493801144940a68542aa7189a7a957", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_0236bc8af515490b92c5ea80097c0cd5", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711488", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:58:46Z", - "updated_at": "2024-01-19T21:58:46Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_15493801144940a68542aa7189a7a957", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzAyMzZiYzhhZjUxNTQ5MGI5MmM1ZWE4MDA5N2MwY2Q1"}, - "to_address": {"id": "adr_ea9437abb71511eeac40ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:58:45+00:00", "updated_at": "2024-01-19T21:58:45+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_ea973360b71511eea84b3cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:58:45+00:00", "updated_at": - "2024-01-19T21:58:45+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_ea9437abb71511eeac40ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:58:45+00:00", "updated_at": "2024-01-19T21:58:45+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_15493801144940a68542aa7189a7a957", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_15493801144940a68542aa7189a7a957 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaf095e798bf7b000f7b41 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.108007' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"pickup": {"reference": "my-first-pickup", "min_datetime": "2024-01-22", - "max_datetime": "2024-01-22", "shipment": {"id": "shp_15493801144940a68542aa7189a7a957"}, - "address": {"name": "Dr. Steve Brule", "street1": "179 N Harbor Dr", "city": - "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "phone": "8573875756", - "email": "dr_steve_brule@gmail.com"}, "is_account_address": "false", "instructions": - "Special pickup instructions"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '445' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/pickups - response: - body: - string: '{"id": "pickup_064183bea7894c70867484d3fdb62439", "object": "Pickup", - "created_at": "2024-01-19T21:58:46Z", "updated_at": "2024-01-19T21:58:46Z", - "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": - "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": - false, "instructions": "Special pickup instructions", "messages": [], "confirmation": - null, "address": {"id": "adr_eb711a4ab71511eeac93ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:58:46+00:00", "updated_at": "2024-01-19T21:58:46+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": - [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2024-01-19T21:58:47Z", "updated_at": "2024-01-19T21:58:47Z", - "carrier": "USPS", "pickup_id": "pickup_064183bea7894c70867484d3fdb62439", - "id": "pickuprate_e67334c26846412a95068930800e155b", "object": "PickupRate"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1184' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaf096e798bf7c000f7c2e - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.585584' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"carrier": "USPS", "service": "NextDay"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '41' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/pickups/pickup_064183bea7894c70867484d3fdb62439/buy - response: - body: - string: '{"id": "pickup_064183bea7894c70867484d3fdb62439", "object": "Pickup", - "created_at": "2024-01-19T21:58:46Z", "updated_at": "2024-01-19T21:58:48Z", - "mode": "test", "status": "scheduled", "reference": "my-first-pickup", "min_datetime": - "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": - false, "instructions": "Special pickup instructions", "messages": [], "confirmation": - "WTC64043518", "address": {"id": "adr_eb711a4ab71511eeac93ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:58:46+00:00", "updated_at": "2024-01-19T21:58:46+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": - [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2024-01-19T21:58:47Z", "updated_at": "2024-01-19T21:58:47Z", - "carrier": "USPS", "pickup_id": "pickup_064183bea7894c70867484d3fdb62439", - "id": "pickuprate_e67334c26846412a95068930800e155b", "object": "PickupRate"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1195' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf097e798bf7d000f7c91 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.732377' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '2' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/pickups/pickup_064183bea7894c70867484d3fdb62439/cancel - response: - body: - string: '{"id": "pickup_064183bea7894c70867484d3fdb62439", "object": "Pickup", - "created_at": "2024-01-19T21:58:46Z", "updated_at": "2024-01-19T21:58:49Z", - "mode": "test", "status": "canceled", "reference": "my-first-pickup", "min_datetime": - "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": - false, "instructions": "Special pickup instructions", "messages": [], "confirmation": - "WTC64043518", "address": {"id": "adr_eb711a4ab71511eeac93ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:58:46+00:00", "updated_at": "2024-01-19T21:58:46+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": - [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2024-01-19T21:58:47Z", "updated_at": "2024-01-19T21:58:47Z", - "carrier": "USPS", "pickup_id": "pickup_064183bea7894c70867484d3fdb62439", - "id": "pickuprate_e67334c26846412a95068930800e155b", "object": "PickupRate"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1194' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf098e798bf7e000f7d1a - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.659832' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T22:01:39Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010711938", "updated_at": "2024-01-19T22:01:40Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_ff9819cb21e448e08a235721af3a1e7d", "object": "CustomsInfo", "created_at": - "2024-01-19T22:01:39Z", "updated_at": "2024-01-19T22:01:39Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_3289ac41b53b4e87ae82a21344cb7c4c", - "object": "CustomsItem", "created_at": "2024-01-19T22:01:39Z", "updated_at": - "2024-01-19T22:01:39Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_5267db2ab71611ee89973cecef1b359e", - "object": "Address", "created_at": "2024-01-19T22:01:39+00:00", "updated_at": - "2024-01-19T22:01:39+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_71da847310d04221a191a2b24d37fc80", - "object": "Parcel", "created_at": "2024-01-19T22:01:39Z", "updated_at": "2024-01-19T22:01:39Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_412334871c6a4669bd466665c7a565bd", "created_at": "2024-01-19T22:01:40Z", - "updated_at": "2024-01-19T22:01:40Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T22:01:40Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8ab42f2c4825d4146a106ef3a3c475ada.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_dce8ab21f2c14d4381b3ab260ac3935a", "object": - "Rate", "created_at": "2024-01-19T22:01:39Z", "updated_at": "2024-01-19T22:01:39Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_f4d626fafc6648edbecacde472123eac", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_7e66a0bcede340189d0ddd613fc70e5f", - "object": "Rate", "created_at": "2024-01-19T22:01:39Z", "updated_at": "2024-01-19T22:01:39Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_f4d626fafc6648edbecacde472123eac", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_095e57cb4ed14ac1bedc98dd81867e92", - "object": "Rate", "created_at": "2024-01-19T22:01:39Z", "updated_at": "2024-01-19T22:01:39Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_f4d626fafc6648edbecacde472123eac", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_3e2ec353b30a4791a576743d14d58de5", "object": "Rate", "created_at": - "2024-01-19T22:01:39Z", "updated_at": "2024-01-19T22:01:39Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_f4d626fafc6648edbecacde472123eac", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_04ada69ced764783bf577a300006aa6c", "object": "Rate", "created_at": - "2024-01-19T22:01:39Z", "updated_at": "2024-01-19T22:01:39Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_f4d626fafc6648edbecacde472123eac", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_dce8ab21f2c14d4381b3ab260ac3935a", - "object": "Rate", "created_at": "2024-01-19T22:01:40Z", "updated_at": "2024-01-19T22:01:40Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_f4d626fafc6648edbecacde472123eac", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_f21df4a69d184e99ad01123ea4a53bcb", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711938", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:01:40Z", - "updated_at": "2024-01-19T22:01:40Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_f4d626fafc6648edbecacde472123eac", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrX2YyMWRmNGE2OWQxODRlOTlhZDAxMTIzZWE0YTUzYmNi"}, - "to_address": {"id": "adr_5261b768b71611ee89953cecef1b359e", "object": "Address", - "created_at": "2024-01-19T22:01:39+00:00", "updated_at": "2024-01-19T22:01:39+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_5267db2ab71611ee89973cecef1b359e", - "object": "Address", "created_at": "2024-01-19T22:01:39+00:00", "updated_at": - "2024-01-19T22:01:39+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_5261b768b71611ee89953cecef1b359e", "object": - "Address", "created_at": "2024-01-19T22:01:39+00:00", "updated_at": "2024-01-19T22:01:39+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_f4d626fafc6648edbecacde472123eac", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_f4d626fafc6648edbecacde472123eac - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaf143e798c7db00101012 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.290269' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"pickup": {"reference": "my-first-pickup", "min_datetime": "2024-01-22", - "max_datetime": "2024-01-22", "shipment": {"id": "shp_f4d626fafc6648edbecacde472123eac"}, - "address": {"name": "Dr. Steve Brule", "street1": "179 N Harbor Dr", "city": - "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "phone": "8573875756", - "email": "dr_steve_brule@gmail.com"}, "is_account_address": "false", "instructions": - "Special pickup instructions"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '445' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/pickups - response: - body: - string: '{"id": "pickup_3ef99068b332460583ba018701ef044c", "object": "Pickup", - "created_at": "2024-01-19T22:01:41Z", "updated_at": "2024-01-19T22:01:41Z", - "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": - "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": - false, "instructions": "Special pickup instructions", "messages": [], "confirmation": - null, "address": {"id": "adr_534aa39bb71611ee8d9cac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T22:01:40+00:00", "updated_at": "2024-01-19T22:01:40+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": - [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2024-01-19T22:01:41Z", "updated_at": "2024-01-19T22:01:41Z", - "carrier": "USPS", "pickup_id": "pickup_3ef99068b332460583ba018701ef044c", - "id": "pickuprate_a1c1d1a477574007a8fca0ae61374762", "object": "PickupRate"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1184' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf144e798c7dd0010117b - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.666414' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"carrier": "USPS", "service": "NextDay"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '41' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/pickups/pickup_3ef99068b332460583ba018701ef044c/buy - response: - body: - string: '{"id": "pickup_3ef99068b332460583ba018701ef044c", "object": "Pickup", - "created_at": "2024-01-19T22:01:41Z", "updated_at": "2024-01-19T22:01:42Z", - "mode": "test", "status": "scheduled", "reference": "my-first-pickup", "min_datetime": - "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": - false, "instructions": "Special pickup instructions", "messages": [], "confirmation": - "WTC64043612", "address": {"id": "adr_534aa39bb71611ee8d9cac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T22:01:40+00:00", "updated_at": "2024-01-19T22:01:40+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": - [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2024-01-19T22:01:41Z", "updated_at": "2024-01-19T22:01:41Z", - "carrier": "USPS", "pickup_id": "pickup_3ef99068b332460583ba018701ef044c", - "id": "pickuprate_a1c1d1a477574007a8fca0ae61374762", "object": "PickupRate"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1195' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf145e798c7de00101258 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.716662' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '2' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/pickups/pickup_3ef99068b332460583ba018701ef044c/cancel - response: - body: - string: '{"id": "pickup_3ef99068b332460583ba018701ef044c", "object": "Pickup", - "created_at": "2024-01-19T22:01:41Z", "updated_at": "2024-01-19T22:01:43Z", - "mode": "test", "status": "canceled", "reference": "my-first-pickup", "min_datetime": - "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": - false, "instructions": "Special pickup instructions", "messages": [], "confirmation": - "WTC64043612", "address": {"id": "adr_534aa39bb71611ee8d9cac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T22:01:40+00:00", "updated_at": "2024-01-19T22:01:40+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": - [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2024-01-19T22:01:41Z", "updated_at": "2024-01-19T22:01:41Z", - "carrier": "USPS", "pickup_id": "pickup_3ef99068b332460583ba018701ef044c", - "id": "pickuprate_a1c1d1a477574007a8fca0ae61374762", "object": "PickupRate"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1194' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaf146e798c7df00101367 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.753728' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T22:05:26Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010712683", "updated_at": "2024-01-19T22:05:27Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_5887140e5d2649eda9fa3ee085c6b95d", "object": "CustomsInfo", "created_at": - "2024-01-19T22:05:26Z", "updated_at": "2024-01-19T22:05:26Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_89984b37272b45bd84cb80062391e2ef", - "object": "CustomsItem", "created_at": "2024-01-19T22:05:26Z", "updated_at": - "2024-01-19T22:05:26Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_d9986f66b71611eeb707ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:05:26+00:00", "updated_at": - "2024-01-19T22:05:26+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_8e625c217d404204a67aa31f5ffb9f07", - "object": "Parcel", "created_at": "2024-01-19T22:05:26Z", "updated_at": "2024-01-19T22:05:26Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_c51deb8bde3a401a99790d87a0cf5fb6", "created_at": "2024-01-19T22:05:26Z", - "updated_at": "2024-01-19T22:05:27Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T22:05:26Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8081993d628944089bd3985e82117983b.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_d738cf375a334c91932cf66bf06d3245", "object": - "Rate", "created_at": "2024-01-19T22:05:26Z", "updated_at": "2024-01-19T22:05:26Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_02eae2ec05f94bf18973657c9ca8022f", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_98d54219248c4e83bdfe6d3e15c68ccf", - "object": "Rate", "created_at": "2024-01-19T22:05:26Z", "updated_at": "2024-01-19T22:05:26Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_02eae2ec05f94bf18973657c9ca8022f", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b56be5d2754f464093c1450c6b72b9b3", - "object": "Rate", "created_at": "2024-01-19T22:05:26Z", "updated_at": "2024-01-19T22:05:26Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_02eae2ec05f94bf18973657c9ca8022f", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_2bd4bd0095e04f1f88bd7d376523b3dd", - "object": "Rate", "created_at": "2024-01-19T22:05:26Z", "updated_at": "2024-01-19T22:05:26Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_02eae2ec05f94bf18973657c9ca8022f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_50bc590ea92943f0b9c63ad46d7319d3", "object": "Rate", "created_at": - "2024-01-19T22:05:26Z", "updated_at": "2024-01-19T22:05:26Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_02eae2ec05f94bf18973657c9ca8022f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_98d54219248c4e83bdfe6d3e15c68ccf", - "object": "Rate", "created_at": "2024-01-19T22:05:26Z", "updated_at": "2024-01-19T22:05:26Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_02eae2ec05f94bf18973657c9ca8022f", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_6a7c446ede5244f38a883bd6c2150d52", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010712683", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:05:27Z", - "updated_at": "2024-01-19T22:05:27Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_02eae2ec05f94bf18973657c9ca8022f", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzZhN2M0NDZlZGU1MjQ0ZjM4YTg4M2JkNmMyMTUwZDUy"}, - "to_address": {"id": "adr_d9964dc0b71611eeb988ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T22:05:26+00:00", "updated_at": "2024-01-19T22:05:26+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_d9986f66b71611eeb707ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:05:26+00:00", "updated_at": - "2024-01-19T22:05:26+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_d9964dc0b71611eeb988ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T22:05:26+00:00", "updated_at": "2024-01-19T22:05:26+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_02eae2ec05f94bf18973657c9ca8022f", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_02eae2ec05f94bf18973657c9ca8022f - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf226e798d0bb0010b95d - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.077869' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"pickup": {"reference": "my-first-pickup", "min_datetime": "2024-01-22", - "max_datetime": "2024-01-22", "shipment": {"id": "shp_02eae2ec05f94bf18973657c9ca8022f"}, - "address": {"name": "Dr. Steve Brule", "street1": "179 N Harbor Dr", "city": - "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "phone": "8573875756", - "email": "dr_steve_brule@gmail.com"}, "is_account_address": "false", "instructions": - "Special pickup instructions"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '445' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/pickups - response: - body: - string: '{"id": "pickup_283f2915cc7b42c1889195ddb6519ef7", "object": "Pickup", - "created_at": "2024-01-19T22:05:27Z", "updated_at": "2024-01-19T22:05:27Z", - "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": - "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": - false, "instructions": "Special pickup instructions", "messages": [], "confirmation": - null, "address": {"id": "adr_da725a65b71611ee878dac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T22:05:27+00:00", "updated_at": "2024-01-19T22:05:27+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": - [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2024-01-19T22:05:28Z", "updated_at": "2024-01-19T22:05:28Z", - "carrier": "USPS", "pickup_id": "pickup_283f2915cc7b42c1889195ddb6519ef7", - "id": "pickuprate_ca16cbcc4c4e4ad3b2be59e9f79505ca", "object": "PickupRate"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1184' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf227e798d0bc0010ba7a - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.643003' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"carrier": "USPS", "service": "NextDay"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '41' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/pickups/pickup_283f2915cc7b42c1889195ddb6519ef7/buy - response: - body: - string: '{"id": "pickup_283f2915cc7b42c1889195ddb6519ef7", "object": "Pickup", - "created_at": "2024-01-19T22:05:27Z", "updated_at": "2024-01-19T22:05:29Z", - "mode": "test", "status": "scheduled", "reference": "my-first-pickup", "min_datetime": - "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": - false, "instructions": "Special pickup instructions", "messages": [], "confirmation": - "WTC64043622", "address": {"id": "adr_da725a65b71611ee878dac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T22:05:27+00:00", "updated_at": "2024-01-19T22:05:27+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": - [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2024-01-19T22:05:28Z", "updated_at": "2024-01-19T22:05:28Z", - "carrier": "USPS", "pickup_id": "pickup_283f2915cc7b42c1889195ddb6519ef7", - "id": "pickuprate_ca16cbcc4c4e4ad3b2be59e9f79505ca", "object": "PickupRate"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1195' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaf228e798d0bd0010bb2b - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.021222' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '2' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/pickups/pickup_283f2915cc7b42c1889195ddb6519ef7/cancel - response: - body: - string: '{"id": "pickup_283f2915cc7b42c1889195ddb6519ef7", "object": "Pickup", - "created_at": "2024-01-19T22:05:27Z", "updated_at": "2024-01-19T22:05:30Z", - "mode": "test", "status": "canceled", "reference": "my-first-pickup", "min_datetime": - "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": - false, "instructions": "Special pickup instructions", "messages": [], "confirmation": - "WTC64043622", "address": {"id": "adr_da725a65b71611ee878dac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T22:05:27+00:00", "updated_at": "2024-01-19T22:05:27+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": - [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2024-01-19T22:05:28Z", "updated_at": "2024-01-19T22:05:28Z", - "carrier": "USPS", "pickup_id": "pickup_283f2915cc7b42c1889195ddb6519ef7", - "id": "pickuprate_ca16cbcc4c4e4ad3b2be59e9f79505ca", "object": "PickupRate"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1194' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf229e798d0be0010bc01 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.603076' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_pickups_create.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_pickups_create.yaml deleted file mode 100644 index f52ca5a8..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_pickups_create.yaml +++ /dev/null @@ -1,1908 +0,0 @@ -interactions: -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:41:03Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010707634", "updated_at": "2024-01-19T21:41:03Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_5025135e248146a6882e4300749b01ce", "object": "CustomsInfo", "created_at": - "2024-01-19T21:41:03Z", "updated_at": "2024-01-19T21:41:03Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_c530d6aefbdc496280fe9957d14b4f04", - "object": "CustomsItem", "created_at": "2024-01-19T21:41:03Z", "updated_at": - "2024-01-19T21:41:03Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_717baf9cb71311eea782ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:41:03+00:00", "updated_at": - "2024-01-19T21:41:03+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_f9444363cfb44419b97740c88975456e", - "object": "Parcel", "created_at": "2024-01-19T21:41:03Z", "updated_at": "2024-01-19T21:41:03Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_a17796130eba4563abd9459e69056c72", "created_at": "2024-01-19T21:41:03Z", - "updated_at": "2024-01-19T21:41:03Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:41:03Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e885969facc49a43389502672abd1eda49.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_0ac8251712fc458a9058752379e0dd10", "object": - "Rate", "created_at": "2024-01-19T21:41:03Z", "updated_at": "2024-01-19T21:41:03Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_9a75d3843ea2486994108462b478aca5", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_5bb53c844292451b947af7f7da7e3098", - "object": "Rate", "created_at": "2024-01-19T21:41:03Z", "updated_at": "2024-01-19T21:41:03Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_9a75d3843ea2486994108462b478aca5", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_6b05f37cd65945ba99706846d62b3ef1", - "object": "Rate", "created_at": "2024-01-19T21:41:03Z", "updated_at": "2024-01-19T21:41:03Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_9a75d3843ea2486994108462b478aca5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_d826eb38431c4028a3d6d89344e4deb3", "object": "Rate", "created_at": - "2024-01-19T21:41:03Z", "updated_at": "2024-01-19T21:41:03Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_9a75d3843ea2486994108462b478aca5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_737d62bd170b4d078318a139ffdedc0f", "object": "Rate", "created_at": - "2024-01-19T21:41:03Z", "updated_at": "2024-01-19T21:41:03Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_9a75d3843ea2486994108462b478aca5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_0ac8251712fc458a9058752379e0dd10", - "object": "Rate", "created_at": "2024-01-19T21:41:03Z", "updated_at": "2024-01-19T21:41:03Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_9a75d3843ea2486994108462b478aca5", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_8519ef3da0654930aaaaf96961214d56", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010707634", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:41:03Z", - "updated_at": "2024-01-19T21:41:03Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_9a75d3843ea2486994108462b478aca5", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzg1MTllZjNkYTA2NTQ5MzBhYWFhZjk2OTYxMjE0ZDU2"}, - "to_address": {"id": "adr_71792a6eb71311eea780ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T21:41:03+00:00", "updated_at": "2024-01-19T21:41:03+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_717baf9cb71311eea782ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:41:03+00:00", "updated_at": - "2024-01-19T21:41:03+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_71792a6eb71311eea780ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:41:03+00:00", "updated_at": "2024-01-19T21:41:03+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_9a75d3843ea2486994108462b478aca5", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_9a75d3843ea2486994108462b478aca5 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaec6fe78b9ec5000ce265 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.923451' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"pickup": {"reference": "my-first-pickup", "min_datetime": "2024-01-22", - "max_datetime": "2024-01-22", "shipment": {"id": "shp_9a75d3843ea2486994108462b478aca5"}, - "address": {"name": "Dr. Steve Brule", "street1": "179 N Harbor Dr", "city": - "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "phone": "8573875756", - "email": "dr_steve_brule@gmail.com"}, "is_account_address": "false", "instructions": - "Special pickup instructions"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '445' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/pickups - response: - body: - string: '{"id": "pickup_2c46d329efad4c5cab02c9a03ff96a2b", "object": "Pickup", - "created_at": "2024-01-19T21:41:04Z", "updated_at": "2024-01-19T21:41:04Z", - "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": - "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": - false, "instructions": "Special pickup instructions", "messages": [], "confirmation": - null, "address": {"id": "adr_72442a6eb71311ee984aac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:41:04+00:00", "updated_at": "2024-01-19T21:41:04+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": - [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2024-01-19T21:41:05Z", "updated_at": "2024-01-19T21:41:05Z", - "carrier": "USPS", "pickup_id": "pickup_2c46d329efad4c5cab02c9a03ff96a2b", - "id": "pickuprate_0633e96b11f24a2ebe689ce23b248412", "object": "PickupRate"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1184' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaec70e78b9ec6000ce62a - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.014208' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:43:30Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010708013", "updated_at": "2024-01-19T21:43:31Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_e1e88b4f064a4151b81c95ea01448cb6", "object": "CustomsInfo", "created_at": - "2024-01-19T21:43:30Z", "updated_at": "2024-01-19T21:43:30Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_30676f16c1cd4792874626ecac6ff5ff", - "object": "CustomsItem", "created_at": "2024-01-19T21:43:30Z", "updated_at": - "2024-01-19T21:43:30Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_c96b5fcdb71311ee8707ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:43:30+00:00", "updated_at": - "2024-01-19T21:43:30+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_d22d4d0d952a4b5bb716377419850ba3", - "object": "Parcel", "created_at": "2024-01-19T21:43:30Z", "updated_at": "2024-01-19T21:43:30Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_5e7592b3b2ae4fdd975569d7e16dce9f", "created_at": "2024-01-19T21:43:31Z", - "updated_at": "2024-01-19T21:43:31Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:43:31Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e849db17c52eb645b2ba131921e2b5b4d7.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_5f67a0c2ecd144bba0bd4909432bfb3f", "object": - "Rate", "created_at": "2024-01-19T21:43:30Z", "updated_at": "2024-01-19T21:43:30Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_27fbe94be1da4be797d83da1ec21096d", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_1e8d9b7ed3e94811a92d4c9463f58323", - "object": "Rate", "created_at": "2024-01-19T21:43:30Z", "updated_at": "2024-01-19T21:43:30Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_27fbe94be1da4be797d83da1ec21096d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_f656510eaf5b42e1ae8df35adf986b84", "object": "Rate", "created_at": - "2024-01-19T21:43:30Z", "updated_at": "2024-01-19T21:43:30Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_27fbe94be1da4be797d83da1ec21096d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_27ed5b0bcb6e4e219a3ccb11bc9b5815", "object": "Rate", "created_at": - "2024-01-19T21:43:30Z", "updated_at": "2024-01-19T21:43:30Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_27fbe94be1da4be797d83da1ec21096d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_0c13e0ce8b0a49bf83f9c39c1335d43c", "object": "Rate", "created_at": - "2024-01-19T21:43:30Z", "updated_at": "2024-01-19T21:43:30Z", "mode": "test", - "service": "Priority", "carrier": "USPS", "rate": "7.99", "currency": "USD", - "retail_rate": "14.05", "retail_currency": "USD", "list_rate": "10.27", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": - "shp_27fbe94be1da4be797d83da1ec21096d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_0c13e0ce8b0a49bf83f9c39c1335d43c", - "object": "Rate", "created_at": "2024-01-19T21:43:31Z", "updated_at": "2024-01-19T21:43:31Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_27fbe94be1da4be797d83da1ec21096d", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_a090057afee546fbb4ce6bc74b55c696", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708013", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:43:31Z", - "updated_at": "2024-01-19T21:43:31Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_27fbe94be1da4be797d83da1ec21096d", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrX2EwOTAwNTdhZmVlNTQ2ZmJiNGNlNmJjNzRiNTVjNjk2"}, - "to_address": {"id": "adr_c968d172b71311ee8705ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T21:43:30+00:00", "updated_at": "2024-01-19T21:43:30+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_c96b5fcdb71311ee8707ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:43:30+00:00", "updated_at": - "2024-01-19T21:43:30+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_c968d172b71311ee8705ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:43:30+00:00", "updated_at": "2024-01-19T21:43:30+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_27fbe94be1da4be797d83da1ec21096d", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_27fbe94be1da4be797d83da1ec21096d - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaed02e78ba40c000d3954 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.987971' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"pickup": {"reference": "my-first-pickup", "min_datetime": "2024-01-22", - "max_datetime": "2024-01-22", "shipment": {"id": "shp_27fbe94be1da4be797d83da1ec21096d"}, - "address": {"name": "Dr. Steve Brule", "street1": "179 N Harbor Dr", "city": - "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "phone": "8573875756", - "email": "dr_steve_brule@gmail.com"}, "is_account_address": "false", "instructions": - "Special pickup instructions"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '445' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/pickups - response: - body: - string: '{"id": "pickup_8c4c92e3da4049228a96d54b18dfcfaf", "object": "Pickup", - "created_at": "2024-01-19T21:43:31Z", "updated_at": "2024-01-19T21:43:31Z", - "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": - "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": - false, "instructions": "Special pickup instructions", "messages": [], "confirmation": - null, "address": {"id": "adr_ca230db0b71311eeb845ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:43:31+00:00", "updated_at": "2024-01-19T21:43:31+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": - [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2024-01-19T21:43:32Z", "updated_at": "2024-01-19T21:43:32Z", - "carrier": "USPS", "pickup_id": "pickup_8c4c92e3da4049228a96d54b18dfcfaf", - "id": "pickuprate_501827c1b4a4441abf86c3bca90ef161", "object": "PickupRate"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1184' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaed03e78ba40d000d39ff - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.823097' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:47:22Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010708440", "updated_at": "2024-01-19T21:47:23Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_8551e1b203d94ce38600d29b3189f51b", "object": "CustomsInfo", "created_at": - "2024-01-19T21:47:22Z", "updated_at": "2024-01-19T21:47:22Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_373a2b70b1ff44a1b6cc64134bf91574", - "object": "CustomsItem", "created_at": "2024-01-19T21:47:22Z", "updated_at": - "2024-01-19T21:47:22Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_53b60207b71411eea4f9ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:47:22+00:00", "updated_at": - "2024-01-19T21:47:22+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_c204295b1de9431d9ee869173b10bcc4", - "object": "Parcel", "created_at": "2024-01-19T21:47:22Z", "updated_at": "2024-01-19T21:47:22Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_f1bdb80f050d4a36b575605a555ae366", "created_at": "2024-01-19T21:47:23Z", - "updated_at": "2024-01-19T21:47:23Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:47:23Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e88ffa73e7f9c549c1ab049a0469cb40fa.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_126e184b78ae41b28198a76a9b8160db", "object": - "Rate", "created_at": "2024-01-19T21:47:22Z", "updated_at": "2024-01-19T21:47:22Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_5bedb807a0fc4cb4a9a4d4b48fe69245", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_289c670eed0e4578971119822cd3a3f9", - "object": "Rate", "created_at": "2024-01-19T21:47:22Z", "updated_at": "2024-01-19T21:47:22Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_5bedb807a0fc4cb4a9a4d4b48fe69245", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_145724a566154573842a8454e3c32019", - "object": "Rate", "created_at": "2024-01-19T21:47:22Z", "updated_at": "2024-01-19T21:47:22Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_5bedb807a0fc4cb4a9a4d4b48fe69245", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_5d924f7f745442cb9b94cc9a94056277", - "object": "Rate", "created_at": "2024-01-19T21:47:22Z", "updated_at": "2024-01-19T21:47:22Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_5bedb807a0fc4cb4a9a4d4b48fe69245", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_194ed08a82cc4de2904a3ab59321b090", "object": "Rate", "created_at": - "2024-01-19T21:47:22Z", "updated_at": "2024-01-19T21:47:22Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_5bedb807a0fc4cb4a9a4d4b48fe69245", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_289c670eed0e4578971119822cd3a3f9", - "object": "Rate", "created_at": "2024-01-19T21:47:23Z", "updated_at": "2024-01-19T21:47:23Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_5bedb807a0fc4cb4a9a4d4b48fe69245", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_0d5891368f0045869d88515382e7f4c9", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708440", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:47:23Z", - "updated_at": "2024-01-19T21:47:23Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_5bedb807a0fc4cb4a9a4d4b48fe69245", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzBkNTg5MTM2OGYwMDQ1ODY5ZDg4NTE1MzgyZTdmNGM5"}, - "to_address": {"id": "adr_53b3b63fb71411eea1eb3cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:47:22+00:00", "updated_at": "2024-01-19T21:47:22+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_53b60207b71411eea4f9ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:47:22+00:00", "updated_at": - "2024-01-19T21:47:22+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_53b3b63fb71411eea1eb3cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:47:22+00:00", "updated_at": "2024-01-19T21:47:22+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_5bedb807a0fc4cb4a9a4d4b48fe69245", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_5bedb807a0fc4cb4a9a4d4b48fe69245 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdab65aaedeae78bac9200112f94 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.997949' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"pickup": {"reference": "my-first-pickup", "min_datetime": "2024-01-22", - "max_datetime": "2024-01-22", "shipment": {"id": "shp_5bedb807a0fc4cb4a9a4d4b48fe69245"}, - "address": {"name": "Dr. Steve Brule", "street1": "179 N Harbor Dr", "city": - "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "phone": "8573875756", - "email": "dr_steve_brule@gmail.com"}, "is_account_address": "false", "instructions": - "Special pickup instructions"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '445' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/pickups - response: - body: - string: '{"id": "pickup_e1dfd6282d8642a7806417d150b01107", "object": "Pickup", - "created_at": "2024-01-19T21:47:23Z", "updated_at": "2024-01-19T21:47:23Z", - "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": - "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": - false, "instructions": "Special pickup instructions", "messages": [], "confirmation": - null, "address": {"id": "adr_546d814db71411eeb3aaac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:47:23+00:00", "updated_at": "2024-01-19T21:47:23+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": - [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2024-01-19T21:47:24Z", "updated_at": "2024-01-19T21:47:24Z", - "carrier": "USPS", "pickup_id": "pickup_e1dfd6282d8642a7806417d150b01107", - "id": "pickuprate_e2d2de5bbea94afaad2b7659dc7042dc", "object": "PickupRate"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1184' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdac65aaedebe78bacaa00113056 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.767450' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:49:17Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010708969", "updated_at": "2024-01-19T21:49:18Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_768d7ca85c6f4f4fa82ea81e84e75835", "object": "CustomsInfo", "created_at": - "2024-01-19T21:49:17Z", "updated_at": "2024-01-19T21:49:17Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_465f3cd5e6d44753984c90aacd76fd1d", - "object": "CustomsItem", "created_at": "2024-01-19T21:49:17Z", "updated_at": - "2024-01-19T21:49:17Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_97f030aeb71411eeb908ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:49:17+00:00", "updated_at": - "2024-01-19T21:49:17+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_e000e48ce198484e8970070e410592f2", - "object": "Parcel", "created_at": "2024-01-19T21:49:17Z", "updated_at": "2024-01-19T21:49:17Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_f4befbf097f34764a97aa1f985a4433e", "created_at": "2024-01-19T21:49:17Z", - "updated_at": "2024-01-19T21:49:18Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:49:17Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e801f3251dc6474185a9e837947011d89e.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_67261f0adacc4064ae2b9bc554cdb83b", "object": - "Rate", "created_at": "2024-01-19T21:49:17Z", "updated_at": "2024-01-19T21:49:17Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_413379ec3b8a4f31a92990f152009fa4", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_3e74e83941fe43b98ac3252de7fc0dc7", - "object": "Rate", "created_at": "2024-01-19T21:49:17Z", "updated_at": "2024-01-19T21:49:17Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_413379ec3b8a4f31a92990f152009fa4", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_1e4f380e5ebb4680b16f0765df8540b6", - "object": "Rate", "created_at": "2024-01-19T21:49:17Z", "updated_at": "2024-01-19T21:49:17Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_413379ec3b8a4f31a92990f152009fa4", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_9639fb2076f149469ec5f27cefa0767f", - "object": "Rate", "created_at": "2024-01-19T21:49:17Z", "updated_at": "2024-01-19T21:49:17Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_413379ec3b8a4f31a92990f152009fa4", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_b36cfe163f314777b195ab9e7ac36dfd", "object": "Rate", "created_at": - "2024-01-19T21:49:17Z", "updated_at": "2024-01-19T21:49:17Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_413379ec3b8a4f31a92990f152009fa4", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_3e74e83941fe43b98ac3252de7fc0dc7", - "object": "Rate", "created_at": "2024-01-19T21:49:17Z", "updated_at": "2024-01-19T21:49:17Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_413379ec3b8a4f31a92990f152009fa4", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_0132b7c654304d4796fb39a16edb2984", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708969", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:49:18Z", - "updated_at": "2024-01-19T21:49:18Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_413379ec3b8a4f31a92990f152009fa4", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzAxMzJiN2M2NTQzMDRkNDc5NmZiMzlhMTZlZGIyOTg0"}, - "to_address": {"id": "adr_97ed994db71411eeb7763cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:49:17+00:00", "updated_at": "2024-01-19T21:49:17+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_97f030aeb71411eeb908ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:49:17+00:00", "updated_at": - "2024-01-19T21:49:17+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_97ed994db71411eeb7763cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:49:17+00:00", "updated_at": "2024-01-19T21:49:17+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_413379ec3b8a4f31a92990f152009fa4", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_413379ec3b8a4f31a92990f152009fa4 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdad65aaee5de78bb4cb001173f3 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '1.189872' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"pickup": {"reference": "my-first-pickup", "min_datetime": "2024-01-22", - "max_datetime": "2024-01-22", "shipment": {"id": "shp_413379ec3b8a4f31a92990f152009fa4"}, - "address": {"name": "Dr. Steve Brule", "street1": "179 N Harbor Dr", "city": - "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "phone": "8573875756", - "email": "dr_steve_brule@gmail.com"}, "is_account_address": "false", "instructions": - "Special pickup instructions"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '445' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/pickups - response: - body: - string: '{"id": "pickup_7c6611429b364d679f055018c7231bd4", "object": "Pickup", - "created_at": "2024-01-19T21:49:18Z", "updated_at": "2024-01-19T21:49:18Z", - "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": - "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": - false, "instructions": "Special pickup instructions", "messages": [], "confirmation": - null, "address": {"id": "adr_98c50aa3b71411eeb93fac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:49:18+00:00", "updated_at": "2024-01-19T21:49:18+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": - [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2024-01-19T21:49:19Z", "updated_at": "2024-01-19T21:49:19Z", - "carrier": "USPS", "pickup_id": "pickup_7c6611429b364d679f055018c7231bd4", - "id": "pickuprate_59fd8995f09d4ae6955a3fe3b351e66c", "object": "PickupRate"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1184' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdac65aaee5ee78bb4cc0011750b - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '1.025280' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:58:36Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010711440", "updated_at": "2024-01-19T21:58:37Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_cdd538f6e3c047aeb0249d3447658f02", "object": "CustomsInfo", "created_at": - "2024-01-19T21:58:36Z", "updated_at": "2024-01-19T21:58:36Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_2458721f0fbc4af5a08861fefe5aa62f", - "object": "CustomsItem", "created_at": "2024-01-19T21:58:36Z", "updated_at": - "2024-01-19T21:58:36Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_e557662fb71511eeaad6ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:58:36+00:00", "updated_at": - "2024-01-19T21:58:36+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_5c5dc8ea54074f999c122b85ac997c59", - "object": "Parcel", "created_at": "2024-01-19T21:58:36Z", "updated_at": "2024-01-19T21:58:36Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_8f5427b0d7a440d68397d7d03d55002b", "created_at": "2024-01-19T21:58:37Z", - "updated_at": "2024-01-19T21:58:37Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:58:37Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e85aea285a2ee541baa833fdfc84b494de.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_cc6603787d4943ffb21f08e1ff9ae5a9", "object": - "Rate", "created_at": "2024-01-19T21:58:36Z", "updated_at": "2024-01-19T21:58:36Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_1359447d0fd144ae854d5cc0d89cf66f", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4802447389514f0f977d7dfa0a8f6888", - "object": "Rate", "created_at": "2024-01-19T21:58:36Z", "updated_at": "2024-01-19T21:58:36Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_1359447d0fd144ae854d5cc0d89cf66f", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_957dabafebdc4224ad6670136fbcbe1b", - "object": "Rate", "created_at": "2024-01-19T21:58:36Z", "updated_at": "2024-01-19T21:58:36Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_1359447d0fd144ae854d5cc0d89cf66f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_c057196060984fd2a8e1325534d05b55", "object": "Rate", "created_at": - "2024-01-19T21:58:36Z", "updated_at": "2024-01-19T21:58:36Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_1359447d0fd144ae854d5cc0d89cf66f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_213796b04de44313937cfe4b7d110787", "object": "Rate", "created_at": - "2024-01-19T21:58:36Z", "updated_at": "2024-01-19T21:58:36Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_1359447d0fd144ae854d5cc0d89cf66f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_cc6603787d4943ffb21f08e1ff9ae5a9", - "object": "Rate", "created_at": "2024-01-19T21:58:37Z", "updated_at": "2024-01-19T21:58:37Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_1359447d0fd144ae854d5cc0d89cf66f", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_e9c7aadc05594d669a101f3cb289f426", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711440", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:58:37Z", - "updated_at": "2024-01-19T21:58:37Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_1359447d0fd144ae854d5cc0d89cf66f", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrX2U5YzdhYWRjMDU1OTRkNjY5YTEwMWYzY2IyODlmNDI2"}, - "to_address": {"id": "adr_e5552e78b71511eea6c93cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:58:36+00:00", "updated_at": "2024-01-19T21:58:36+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_e557662fb71511eeaad6ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:58:36+00:00", "updated_at": - "2024-01-19T21:58:36+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_e5552e78b71511eea6c93cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:58:36+00:00", "updated_at": "2024-01-19T21:58:36+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_1359447d0fd144ae854d5cc0d89cf66f", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_1359447d0fd144ae854d5cc0d89cf66f - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaf08ce798bf5b000f76e8 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.017323' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"pickup": {"reference": "my-first-pickup", "min_datetime": "2024-01-22", - "max_datetime": "2024-01-22", "shipment": {"id": "shp_1359447d0fd144ae854d5cc0d89cf66f"}, - "address": {"name": "Dr. Steve Brule", "street1": "179 N Harbor Dr", "city": - "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "phone": "8573875756", - "email": "dr_steve_brule@gmail.com"}, "is_account_address": "false", "instructions": - "Special pickup instructions"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '445' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/pickups - response: - body: - string: '{"id": "pickup_794c364890bf4fdf91f18046eda0fb62", "object": "Pickup", - "created_at": "2024-01-19T21:58:37Z", "updated_at": "2024-01-19T21:58:37Z", - "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": - "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": - false, "instructions": "Special pickup instructions", "messages": [], "confirmation": - null, "address": {"id": "adr_e6157c11b71511eeb98eac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:58:37+00:00", "updated_at": "2024-01-19T21:58:37+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": - [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2024-01-19T21:58:38Z", "updated_at": "2024-01-19T21:58:38Z", - "carrier": "USPS", "pickup_id": "pickup_794c364890bf4fdf91f18046eda0fb62", - "id": "pickuprate_504fddf6b2264434947b5a3d87b28306", "object": "PickupRate"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1184' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaf08de798bf5c000f7774 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.753684' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T22:01:30Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010711860", "updated_at": "2024-01-19T22:01:31Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_3b08898bbddf4be09fce5b385add0314", "object": "CustomsInfo", "created_at": - "2024-01-19T22:01:30Z", "updated_at": "2024-01-19T22:01:30Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_ccac1909b870488fa5a403abc1b15f00", - "object": "CustomsItem", "created_at": "2024-01-19T22:01:30Z", "updated_at": - "2024-01-19T22:01:30Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_4d327696b71611ee9a02ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T22:01:30+00:00", "updated_at": - "2024-01-19T22:01:30+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_3048a24da46e40a6aa72b0e32a96d1d0", - "object": "Parcel", "created_at": "2024-01-19T22:01:30Z", "updated_at": "2024-01-19T22:01:30Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_db60c9a67f5644609a15395e0d0e4837", "created_at": "2024-01-19T22:01:31Z", - "updated_at": "2024-01-19T22:01:31Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T22:01:31Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8b11fcd76452c4f61b735987813db33e4.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_0a7fc61a18804a8e8c769ef936acb2e5", "object": - "Rate", "created_at": "2024-01-19T22:01:30Z", "updated_at": "2024-01-19T22:01:30Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_e77b726c870b4d7c9f248e3d730f0c8d", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_843d01b6c88f4319bd1dbdd5af88a4b9", - "object": "Rate", "created_at": "2024-01-19T22:01:30Z", "updated_at": "2024-01-19T22:01:30Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_e77b726c870b4d7c9f248e3d730f0c8d", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_9e269665b5bd48c2a8f69227a184dfed", - "object": "Rate", "created_at": "2024-01-19T22:01:30Z", "updated_at": "2024-01-19T22:01:30Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_e77b726c870b4d7c9f248e3d730f0c8d", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4b681456b63949519666bf6e35df3a87", - "object": "Rate", "created_at": "2024-01-19T22:01:30Z", "updated_at": "2024-01-19T22:01:30Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_e77b726c870b4d7c9f248e3d730f0c8d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_a1f4787753224596851e84d7f28765d7", "object": "Rate", "created_at": - "2024-01-19T22:01:30Z", "updated_at": "2024-01-19T22:01:30Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_e77b726c870b4d7c9f248e3d730f0c8d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_843d01b6c88f4319bd1dbdd5af88a4b9", - "object": "Rate", "created_at": "2024-01-19T22:01:31Z", "updated_at": "2024-01-19T22:01:31Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_e77b726c870b4d7c9f248e3d730f0c8d", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_07e719d15cec4dab8d22ee68edbd2223", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711860", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:01:31Z", - "updated_at": "2024-01-19T22:01:31Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_e77b726c870b4d7c9f248e3d730f0c8d", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzA3ZTcxOWQxNWNlYzRkYWI4ZDIyZWU2OGVkYmQyMjIz"}, - "to_address": {"id": "adr_4d2ff6a3b71611ee9a01ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T22:01:30+00:00", "updated_at": "2024-01-19T22:01:31+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_4d327696b71611ee9a02ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T22:01:30+00:00", "updated_at": - "2024-01-19T22:01:30+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_4d2ff6a3b71611ee9a01ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T22:01:30+00:00", "updated_at": "2024-01-19T22:01:31+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_e77b726c870b4d7c9f248e3d730f0c8d", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_e77b726c870b4d7c9f248e3d730f0c8d - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf13ae798c4a6001007cf - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.047694' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"pickup": {"reference": "my-first-pickup", "min_datetime": "2024-01-22", - "max_datetime": "2024-01-22", "shipment": {"id": "shp_e77b726c870b4d7c9f248e3d730f0c8d"}, - "address": {"name": "Dr. Steve Brule", "street1": "179 N Harbor Dr", "city": - "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "phone": "8573875756", - "email": "dr_steve_brule@gmail.com"}, "is_account_address": "false", "instructions": - "Special pickup instructions"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '445' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/pickups - response: - body: - string: '{"id": "pickup_c3e30270d2fa4a12b7d1c493febf9d6f", "object": "Pickup", - "created_at": "2024-01-19T22:01:32Z", "updated_at": "2024-01-19T22:01:32Z", - "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": - "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": - false, "instructions": "Special pickup instructions", "messages": [], "confirmation": - null, "address": {"id": "adr_4df43f02b71611ee88193cecef1b359e", "object": - "Address", "created_at": "2024-01-19T22:01:32+00:00", "updated_at": "2024-01-19T22:01:32+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": - [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2024-01-19T22:01:32Z", "updated_at": "2024-01-19T22:01:32Z", - "carrier": "USPS", "pickup_id": "pickup_c3e30270d2fa4a12b7d1c493febf9d6f", - "id": "pickuprate_5eef800801a943d1ac6cea59e68855f6", "object": "PickupRate"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1184' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaf13be798c4be00100911 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.728142' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T22:05:17Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010712638", "updated_at": "2024-01-19T22:05:18Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_05c0d1e9b3fb412ab76ddc7f0f41b886", "object": "CustomsInfo", "created_at": - "2024-01-19T22:05:17Z", "updated_at": "2024-01-19T22:05:17Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_b15994e470aa4c9aa5bec38f6a680306", - "object": "CustomsItem", "created_at": "2024-01-19T22:05:17Z", "updated_at": - "2024-01-19T22:05:17Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_d422176ab71611eeb734ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T22:05:17+00:00", "updated_at": - "2024-01-19T22:05:17+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_f083c8d5348c406d90dcd8efcc34c05d", - "object": "Parcel", "created_at": "2024-01-19T22:05:17Z", "updated_at": "2024-01-19T22:05:17Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_86ad8633caa34d43a96424d416846249", "created_at": "2024-01-19T22:05:17Z", - "updated_at": "2024-01-19T22:05:18Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T22:05:17Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e86cf6bc3003b54b54bde4601b5786b5ea.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_d98fdb2a768e4c4584f97e61691a9fed", "object": - "Rate", "created_at": "2024-01-19T22:05:17Z", "updated_at": "2024-01-19T22:05:17Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_84c4020719964e09b4c5f8dbba2bfd3b", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_686f3e9bc9bc4934b79225c62cfef9fc", - "object": "Rate", "created_at": "2024-01-19T22:05:17Z", "updated_at": "2024-01-19T22:05:17Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_84c4020719964e09b4c5f8dbba2bfd3b", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_2be28211cf6e40b9b36b776e9eff4103", - "object": "Rate", "created_at": "2024-01-19T22:05:17Z", "updated_at": "2024-01-19T22:05:17Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_84c4020719964e09b4c5f8dbba2bfd3b", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f2053aa763c545f1a90ecf9ff6707e6b", - "object": "Rate", "created_at": "2024-01-19T22:05:17Z", "updated_at": "2024-01-19T22:05:17Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_84c4020719964e09b4c5f8dbba2bfd3b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_09b6ef0805a0430185c54d8c6bb07967", "object": "Rate", "created_at": - "2024-01-19T22:05:17Z", "updated_at": "2024-01-19T22:05:17Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_84c4020719964e09b4c5f8dbba2bfd3b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_686f3e9bc9bc4934b79225c62cfef9fc", - "object": "Rate", "created_at": "2024-01-19T22:05:17Z", "updated_at": "2024-01-19T22:05:17Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_84c4020719964e09b4c5f8dbba2bfd3b", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_835eb5f5406a46eb8d2624dd975047fa", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010712638", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:05:18Z", - "updated_at": "2024-01-19T22:05:18Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_84c4020719964e09b4c5f8dbba2bfd3b", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzgzNWViNWY1NDA2YTQ2ZWI4ZDI2MjRkZDk3NTA0N2Zh"}, - "to_address": {"id": "adr_d41fbddfb71611ee84dfac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T22:05:17+00:00", "updated_at": "2024-01-19T22:05:17+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_d422176ab71611eeb734ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T22:05:17+00:00", "updated_at": - "2024-01-19T22:05:17+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_d41fbddfb71611ee84dfac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T22:05:17+00:00", "updated_at": "2024-01-19T22:05:17+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_84c4020719964e09b4c5f8dbba2bfd3b", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_84c4020719964e09b4c5f8dbba2bfd3b - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaf21de798d09b0010b320 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.286933' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"pickup": {"reference": "my-first-pickup", "min_datetime": "2024-01-22", - "max_datetime": "2024-01-22", "shipment": {"id": "shp_84c4020719964e09b4c5f8dbba2bfd3b"}, - "address": {"name": "Dr. Steve Brule", "street1": "179 N Harbor Dr", "city": - "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "phone": "8573875756", - "email": "dr_steve_brule@gmail.com"}, "is_account_address": "false", "instructions": - "Special pickup instructions"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '445' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/pickups - response: - body: - string: '{"id": "pickup_569dc2d98b704d4ab6876b6e41fc54a3", "object": "Pickup", - "created_at": "2024-01-19T22:05:18Z", "updated_at": "2024-01-19T22:05:18Z", - "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": - "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": - false, "instructions": "Special pickup instructions", "messages": [], "confirmation": - null, "address": {"id": "adr_d513f09fb71611eeb3113cecef1b359e", "object": - "Address", "created_at": "2024-01-19T22:05:18+00:00", "updated_at": "2024-01-19T22:05:18+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": - [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2024-01-19T22:05:19Z", "updated_at": "2024-01-19T22:05:19Z", - "carrier": "USPS", "pickup_id": "pickup_569dc2d98b704d4ab6876b6e41fc54a3", - "id": "pickuprate_c0060d5e00b349e8b6b810de962c37c9", "object": "PickupRate"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1184' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaf21ee798d09c0010b428 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.782001' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_pickups_list.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_pickups_list.yaml deleted file mode 100644 index aaefbd61..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_pickups_list.yaml +++ /dev/null @@ -1,79 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/pickups?page_size=1 - response: - body: - string: '{"pickups": [{"id": "pickup_283f2915cc7b42c1889195ddb6519ef7", "object": - "Pickup", "created_at": "2024-01-19T22:05:27Z", "updated_at": "2024-01-19T22:05:30Z", - "mode": "test", "status": "canceled", "reference": "my-first-pickup", "min_datetime": - "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": - false, "instructions": "Special pickup instructions", "messages": [], "confirmation": - "WTC64043622", "address": {"id": "adr_da725a65b71611ee878dac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T22:05:27+00:00", "updated_at": "2024-01-19T22:05:27+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": - [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2024-01-19T22:05:28Z", "updated_at": "2024-01-19T22:05:28Z", - "carrier": "USPS", "pickup_id": "pickup_283f2915cc7b42c1889195ddb6519ef7", - "id": "pickuprate_ca16cbcc4c4e4ad3b2be59e9f79505ca", "object": "PickupRate"}]}], - "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1224' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765ab00dfe7996dbd0019bf62 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.155510' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_pickups_retrieve.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_pickups_retrieve.yaml deleted file mode 100644 index 7affb022..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_pickups_retrieve.yaml +++ /dev/null @@ -1,2444 +0,0 @@ -interactions: -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:41:06Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010707641", "updated_at": "2024-01-19T21:41:06Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_5782b613827e437ab42b6f4962c09882", "object": "CustomsInfo", "created_at": - "2024-01-19T21:41:06Z", "updated_at": "2024-01-19T21:41:06Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_1f5c398706ab4634a2fdd80845b27e4e", - "object": "CustomsItem", "created_at": "2024-01-19T21:41:06Z", "updated_at": - "2024-01-19T21:41:06Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_733325a5b71311ee9988ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:41:06+00:00", "updated_at": - "2024-01-19T21:41:06+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_14ccfcab4d99452990ef52b6d8fce417", - "object": "Parcel", "created_at": "2024-01-19T21:41:06Z", "updated_at": "2024-01-19T21:41:06Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_e3342c54cb9144ef8712187de247a07e", "created_at": "2024-01-19T21:41:06Z", - "updated_at": "2024-01-19T21:41:06Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:41:06Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e88209677107d349aa84fa0bb64e3ff3c7.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_7ec8b8fe34b94680a1a067ce65d7a7d1", "object": - "Rate", "created_at": "2024-01-19T21:41:06Z", "updated_at": "2024-01-19T21:41:06Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_174dd0d75b6d41c8a8b29389bbd26e05", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_909a7bd211b446a5b1b04645fb4cf48e", - "object": "Rate", "created_at": "2024-01-19T21:41:06Z", "updated_at": "2024-01-19T21:41:06Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_174dd0d75b6d41c8a8b29389bbd26e05", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_d4218de346d24bc083e34befe1473a56", - "object": "Rate", "created_at": "2024-01-19T21:41:06Z", "updated_at": "2024-01-19T21:41:06Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_174dd0d75b6d41c8a8b29389bbd26e05", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_58d342775ecc461894c8d065b3253948", - "object": "Rate", "created_at": "2024-01-19T21:41:06Z", "updated_at": "2024-01-19T21:41:06Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_174dd0d75b6d41c8a8b29389bbd26e05", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_eec6f25deba54970b8bc755a9bded727", "object": "Rate", "created_at": - "2024-01-19T21:41:06Z", "updated_at": "2024-01-19T21:41:06Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_174dd0d75b6d41c8a8b29389bbd26e05", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_909a7bd211b446a5b1b04645fb4cf48e", - "object": "Rate", "created_at": "2024-01-19T21:41:06Z", "updated_at": "2024-01-19T21:41:06Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_174dd0d75b6d41c8a8b29389bbd26e05", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_22374cb37ce4447498988cfb9d226643", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010707641", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:41:06Z", - "updated_at": "2024-01-19T21:41:06Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_174dd0d75b6d41c8a8b29389bbd26e05", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzIyMzc0Y2IzN2NlNDQ0NzQ5ODk4OGNmYjlkMjI2NjQz"}, - "to_address": {"id": "adr_732f1353b71311ee96d43cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:41:05+00:00", "updated_at": "2024-01-19T21:41:06+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_733325a5b71311ee9988ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:41:06+00:00", "updated_at": - "2024-01-19T21:41:06+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_732f1353b71311ee96d43cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:41:05+00:00", "updated_at": "2024-01-19T21:41:06+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_174dd0d75b6d41c8a8b29389bbd26e05", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_174dd0d75b6d41c8a8b29389bbd26e05 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaec71e78b9ec7000ce83b - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.095285' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"pickup": {"reference": "my-first-pickup", "min_datetime": "2024-01-22", - "max_datetime": "2024-01-22", "shipment": {"id": "shp_174dd0d75b6d41c8a8b29389bbd26e05"}, - "address": {"name": "Dr. Steve Brule", "street1": "179 N Harbor Dr", "city": - "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "phone": "8573875756", - "email": "dr_steve_brule@gmail.com"}, "is_account_address": "false", "instructions": - "Special pickup instructions"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '445' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/pickups - response: - body: - string: '{"id": "pickup_f0a1d91dca5b4c42b6af1ae4b48730c4", "object": "Pickup", - "created_at": "2024-01-19T21:41:07Z", "updated_at": "2024-01-19T21:41:07Z", - "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": - "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": - false, "instructions": "Special pickup instructions", "messages": [], "confirmation": - null, "address": {"id": "adr_7406e78cb71311ee99cfac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:41:07+00:00", "updated_at": "2024-01-19T21:41:07+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": - [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2024-01-19T21:41:08Z", "updated_at": "2024-01-19T21:41:08Z", - "carrier": "USPS", "pickup_id": "pickup_f0a1d91dca5b4c42b6af1ae4b48730c4", - "id": "pickuprate_906a807395f749df9671bdc5d2f800b2", "object": "PickupRate"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1184' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaec73e78b9edf000ce905 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.654738' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/pickups/pickup_f0a1d91dca5b4c42b6af1ae4b48730c4 - response: - body: - string: '{"id": "pickup_f0a1d91dca5b4c42b6af1ae4b48730c4", "object": "Pickup", - "created_at": "2024-01-19T21:41:07Z", "updated_at": "2024-01-19T21:41:07Z", - "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": - "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": - false, "instructions": "Special pickup instructions", "messages": [], "confirmation": - null, "address": {"id": "adr_7406e78cb71311ee99cfac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:41:07+00:00", "updated_at": "2024-01-19T21:41:07+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": - [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2024-01-19T21:41:08Z", "updated_at": "2024-01-19T21:41:08Z", - "carrier": "USPS", "pickup_id": "pickup_f0a1d91dca5b4c42b6af1ae4b48730c4", - "id": "pickuprate_906a807395f749df9671bdc5d2f800b2", "object": "PickupRate"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1184' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaec74e78b9ee0000ce9aa - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.046566' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:43:33Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010708020", "updated_at": "2024-01-19T21:43:33Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_cc3b01d0998b46108a74ac72f8eb8e7e", "object": "CustomsInfo", "created_at": - "2024-01-19T21:43:33Z", "updated_at": "2024-01-19T21:43:33Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_4b9a0309f24f433883c920e7725a50af", - "object": "CustomsItem", "created_at": "2024-01-19T21:43:33Z", "updated_at": - "2024-01-19T21:43:33Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_cacdc403b71311eeb6243cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:43:32+00:00", "updated_at": - "2024-01-19T21:43:32+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_35655f757d2f4a8bb9c3218da4031585", - "object": "Parcel", "created_at": "2024-01-19T21:43:32Z", "updated_at": "2024-01-19T21:43:32Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_1e2de81c59c042a0a8e5490d909ec767", "created_at": "2024-01-19T21:43:33Z", - "updated_at": "2024-01-19T21:43:33Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:43:33Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8d0732449c5e34a44b79a733459e0dace.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_d815ccfcd90844a98a119f70a8904a51", "object": - "Rate", "created_at": "2024-01-19T21:43:33Z", "updated_at": "2024-01-19T21:43:33Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_884a98103f8e4b8d87848830d6c8afb6", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4f64cb8cad6544359533778a93116e7f", - "object": "Rate", "created_at": "2024-01-19T21:43:33Z", "updated_at": "2024-01-19T21:43:33Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_884a98103f8e4b8d87848830d6c8afb6", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_d2831c04197e4c399b203ec91aefb320", - "object": "Rate", "created_at": "2024-01-19T21:43:33Z", "updated_at": "2024-01-19T21:43:33Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_884a98103f8e4b8d87848830d6c8afb6", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_d371895f67004349a56f3606d1a413a9", - "object": "Rate", "created_at": "2024-01-19T21:43:33Z", "updated_at": "2024-01-19T21:43:33Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_884a98103f8e4b8d87848830d6c8afb6", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_e23dc5cdd2c14a3192da9a83522dfc7b", "object": "Rate", "created_at": - "2024-01-19T21:43:33Z", "updated_at": "2024-01-19T21:43:33Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_884a98103f8e4b8d87848830d6c8afb6", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_4f64cb8cad6544359533778a93116e7f", - "object": "Rate", "created_at": "2024-01-19T21:43:33Z", "updated_at": "2024-01-19T21:43:33Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_884a98103f8e4b8d87848830d6c8afb6", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_a389e071445c4330abe5a5c693eb33fa", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708020", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:43:34Z", - "updated_at": "2024-01-19T21:43:34Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_884a98103f8e4b8d87848830d6c8afb6", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrX2EzODllMDcxNDQ1YzQzMzBhYmU1YTVjNjkzZWIzM2Zh"}, - "to_address": {"id": "adr_cacb260fb71311eeb86cac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:43:32+00:00", "updated_at": "2024-01-19T21:43:33+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_cacdc403b71311eeb6243cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:43:32+00:00", "updated_at": - "2024-01-19T21:43:32+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_cacb260fb71311eeb86cac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:43:32+00:00", "updated_at": "2024-01-19T21:43:33+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_884a98103f8e4b8d87848830d6c8afb6", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_884a98103f8e4b8d87848830d6c8afb6 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaed04e78ba428000d3ab7 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.108474' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"pickup": {"reference": "my-first-pickup", "min_datetime": "2024-01-22", - "max_datetime": "2024-01-22", "shipment": {"id": "shp_884a98103f8e4b8d87848830d6c8afb6"}, - "address": {"name": "Dr. Steve Brule", "street1": "179 N Harbor Dr", "city": - "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "phone": "8573875756", - "email": "dr_steve_brule@gmail.com"}, "is_account_address": "false", "instructions": - "Special pickup instructions"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '445' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/pickups - response: - body: - string: '{"id": "pickup_8e40349d706a414b8b9546a37d9050d0", "object": "Pickup", - "created_at": "2024-01-19T21:43:34Z", "updated_at": "2024-01-19T21:43:34Z", - "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": - "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": - false, "instructions": "Special pickup instructions", "messages": [], "confirmation": - null, "address": {"id": "adr_cb994278b71311eeb8cdac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:43:34+00:00", "updated_at": "2024-01-19T21:43:34+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": - [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2024-01-19T21:43:34Z", "updated_at": "2024-01-19T21:43:34Z", - "carrier": "USPS", "pickup_id": "pickup_8e40349d706a414b8b9546a37d9050d0", - "id": "pickuprate_5317b0798f47421a8cdbae139fedfdf6", "object": "PickupRate"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1184' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaed06e78ba429000d3be3 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.597451' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/pickups/pickup_8e40349d706a414b8b9546a37d9050d0 - response: - body: - string: '{"id": "pickup_8e40349d706a414b8b9546a37d9050d0", "object": "Pickup", - "created_at": "2024-01-19T21:43:34Z", "updated_at": "2024-01-19T21:43:34Z", - "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": - "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": - false, "instructions": "Special pickup instructions", "messages": [], "confirmation": - null, "address": {"id": "adr_cb994278b71311eeb8cdac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:43:34+00:00", "updated_at": "2024-01-19T21:43:34+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": - [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2024-01-19T21:43:34Z", "updated_at": "2024-01-19T21:43:34Z", - "carrier": "USPS", "pickup_id": "pickup_8e40349d706a414b8b9546a37d9050d0", - "id": "pickuprate_5317b0798f47421a8cdbae139fedfdf6", "object": "PickupRate"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1184' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaed07e78ba42b000d3c5c - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.070487' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:47:24Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010708457", "updated_at": "2024-01-19T21:47:25Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_ee00c43f36a44f2584049cbdc48ec411", "object": "CustomsInfo", "created_at": - "2024-01-19T21:47:24Z", "updated_at": "2024-01-19T21:47:24Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_c1601884bcca4f72b624507889260a75", - "object": "CustomsItem", "created_at": "2024-01-19T21:47:24Z", "updated_at": - "2024-01-19T21:47:24Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_55115c7bb71411eea47cac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:47:24+00:00", "updated_at": - "2024-01-19T21:47:24+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_3c3aa4649c85403eafb280e5688244e0", - "object": "Parcel", "created_at": "2024-01-19T21:47:24Z", "updated_at": "2024-01-19T21:47:24Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_10032bb4e915451f8b92e6f8fb6cc560", "created_at": "2024-01-19T21:47:25Z", - "updated_at": "2024-01-19T21:47:25Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:47:25Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8ca08decc4f034fb98409dbf0bf6fb777.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_b515ee97f66f4d6ca5a3cb956d9939bc", "object": - "Rate", "created_at": "2024-01-19T21:47:25Z", "updated_at": "2024-01-19T21:47:25Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_ec764df3c44a4d838a3b70a2f4a3800a", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_e0d50c6b28224a4e8c1571d72669e916", - "object": "Rate", "created_at": "2024-01-19T21:47:25Z", "updated_at": "2024-01-19T21:47:25Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_ec764df3c44a4d838a3b70a2f4a3800a", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c71f4912ecc34af8be6ec404e13c92f8", - "object": "Rate", "created_at": "2024-01-19T21:47:25Z", "updated_at": "2024-01-19T21:47:25Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_ec764df3c44a4d838a3b70a2f4a3800a", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_cef76dd02ca148c0bce4e2dff0b44782", - "object": "Rate", "created_at": "2024-01-19T21:47:25Z", "updated_at": "2024-01-19T21:47:25Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_ec764df3c44a4d838a3b70a2f4a3800a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_71a33416071e44f293b374dbeeed8f01", "object": "Rate", "created_at": - "2024-01-19T21:47:25Z", "updated_at": "2024-01-19T21:47:25Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_ec764df3c44a4d838a3b70a2f4a3800a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_e0d50c6b28224a4e8c1571d72669e916", - "object": "Rate", "created_at": "2024-01-19T21:47:25Z", "updated_at": "2024-01-19T21:47:25Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_ec764df3c44a4d838a3b70a2f4a3800a", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_aa30bea4b5d44e08aa8d0660499bf63d", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708457", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:47:25Z", - "updated_at": "2024-01-19T21:47:25Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_ec764df3c44a4d838a3b70a2f4a3800a", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrX2FhMzBiZWE0YjVkNDRlMDhhYThkMDY2MDQ5OWJmNjNk"}, - "to_address": {"id": "adr_550f1bf8b71411eea54bac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:47:24+00:00", "updated_at": "2024-01-19T21:47:25+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_55115c7bb71411eea47cac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:47:24+00:00", "updated_at": - "2024-01-19T21:47:24+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_550f1bf8b71411eea54bac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:47:24+00:00", "updated_at": "2024-01-19T21:47:25+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_ec764df3c44a4d838a3b70a2f4a3800a", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_ec764df3c44a4d838a3b70a2f4a3800a - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdaa65aaedece78bacab00113101 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '1.052237' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"pickup": {"reference": "my-first-pickup", "min_datetime": "2024-01-22", - "max_datetime": "2024-01-22", "shipment": {"id": "shp_ec764df3c44a4d838a3b70a2f4a3800a"}, - "address": {"name": "Dr. Steve Brule", "street1": "179 N Harbor Dr", "city": - "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "phone": "8573875756", - "email": "dr_steve_brule@gmail.com"}, "is_account_address": "false", "instructions": - "Special pickup instructions"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '445' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/pickups - response: - body: - string: '{"id": "pickup_e68007480c544a1483e06effc6574e52", "object": "Pickup", - "created_at": "2024-01-19T21:47:26Z", "updated_at": "2024-01-19T21:47:26Z", - "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": - "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": - false, "instructions": "Special pickup instructions", "messages": [], "confirmation": - null, "address": {"id": "adr_55d2501bb71411eeb40bac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:47:26+00:00", "updated_at": "2024-01-19T21:47:26+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": - [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2024-01-19T21:47:26Z", "updated_at": "2024-01-19T21:47:26Z", - "carrier": "USPS", "pickup_id": "pickup_e68007480c544a1483e06effc6574e52", - "id": "pickuprate_c6294d7422f2487cb39e9aeb12f231b0", "object": "PickupRate"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1184' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdaa65aaedeee78bacac001131dc - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.825834' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/pickups/pickup_e68007480c544a1483e06effc6574e52 - response: - body: - string: '{"id": "pickup_e68007480c544a1483e06effc6574e52", "object": "Pickup", - "created_at": "2024-01-19T21:47:26Z", "updated_at": "2024-01-19T21:47:26Z", - "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": - "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": - false, "instructions": "Special pickup instructions", "messages": [], "confirmation": - null, "address": {"id": "adr_55d2501bb71411eeb40bac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:47:26+00:00", "updated_at": "2024-01-19T21:47:26+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": - [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2024-01-19T21:47:26Z", "updated_at": "2024-01-19T21:47:26Z", - "carrier": "USPS", "pickup_id": "pickup_e68007480c544a1483e06effc6574e52", - "id": "pickuprate_c6294d7422f2487cb39e9aeb12f231b0", "object": "PickupRate"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1184' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdaa65aaedefe78bacad00113294 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.045354' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:49:19Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010708983", "updated_at": "2024-01-19T21:49:20Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_d2a67ace765b4e4f8471b381a01d4832", "object": "CustomsInfo", "created_at": - "2024-01-19T21:49:19Z", "updated_at": "2024-01-19T21:49:19Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_d24f70812a23466fb71b268670980836", - "object": "CustomsItem", "created_at": "2024-01-19T21:49:19Z", "updated_at": - "2024-01-19T21:49:19Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_9994f4d0b71411eebb08ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:49:19+00:00", "updated_at": - "2024-01-19T21:49:19+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_a519c754604e4809887939e991b68ea8", - "object": "Parcel", "created_at": "2024-01-19T21:49:19Z", "updated_at": "2024-01-19T21:49:19Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_675e8f4dd094456a8420453ff31f361c", "created_at": "2024-01-19T21:49:20Z", - "updated_at": "2024-01-19T21:49:20Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:49:20Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8504a0f3c9184446fa68ad17200714c14.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_43a59028a49e423f95dbc9304b8910e5", "object": - "Rate", "created_at": "2024-01-19T21:49:20Z", "updated_at": "2024-01-19T21:49:20Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_96ce4c228530404f80c066242a35c5f5", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_1c4d73cf6daf4cd2b3d549cbcea5eebf", - "object": "Rate", "created_at": "2024-01-19T21:49:20Z", "updated_at": "2024-01-19T21:49:20Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_96ce4c228530404f80c066242a35c5f5", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_2a1d9c1caa184dec9502edcef3c252be", - "object": "Rate", "created_at": "2024-01-19T21:49:20Z", "updated_at": "2024-01-19T21:49:20Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_96ce4c228530404f80c066242a35c5f5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_a97589105934434e97d61bb370f6f9b4", "object": "Rate", "created_at": - "2024-01-19T21:49:20Z", "updated_at": "2024-01-19T21:49:20Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_96ce4c228530404f80c066242a35c5f5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_a9e6a6d9381a462f9185ae7858b4351f", "object": "Rate", "created_at": - "2024-01-19T21:49:20Z", "updated_at": "2024-01-19T21:49:20Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_96ce4c228530404f80c066242a35c5f5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_43a59028a49e423f95dbc9304b8910e5", - "object": "Rate", "created_at": "2024-01-19T21:49:20Z", "updated_at": "2024-01-19T21:49:20Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_96ce4c228530404f80c066242a35c5f5", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_d1455010c19540848eeaec01d64ff46a", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708983", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:49:20Z", - "updated_at": "2024-01-19T21:49:20Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_96ce4c228530404f80c066242a35c5f5", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrX2QxNDU1MDEwYzE5NTQwODQ4ZWVhZWMwMWQ2NGZmNDZh"}, - "to_address": {"id": "adr_9992a052b71411ee896dac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T21:49:19+00:00", "updated_at": "2024-01-19T21:49:20+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_9994f4d0b71411eebb08ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:49:19+00:00", "updated_at": - "2024-01-19T21:49:19+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_9992a052b71411ee896dac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:49:19+00:00", "updated_at": "2024-01-19T21:49:20+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_96ce4c228530404f80c066242a35c5f5", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_96ce4c228530404f80c066242a35c5f5 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda765aaee5fe78bb4cd001175bc - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '1.162982' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"pickup": {"reference": "my-first-pickup", "min_datetime": "2024-01-22", - "max_datetime": "2024-01-22", "shipment": {"id": "shp_96ce4c228530404f80c066242a35c5f5"}, - "address": {"name": "Dr. Steve Brule", "street1": "179 N Harbor Dr", "city": - "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "phone": "8573875756", - "email": "dr_steve_brule@gmail.com"}, "is_account_address": "false", "instructions": - "Special pickup instructions"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '445' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/pickups - response: - body: - string: '{"id": "pickup_192d8b25777e4bf2a2e122740dd91003", "object": "Pickup", - "created_at": "2024-01-19T21:49:21Z", "updated_at": "2024-01-19T21:49:21Z", - "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": - "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": - false, "instructions": "Special pickup instructions", "messages": [], "confirmation": - null, "address": {"id": "adr_9a676fb7b71411eebb57ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:49:21+00:00", "updated_at": "2024-01-19T21:49:21+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": - [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2024-01-19T21:49:21Z", "updated_at": "2024-01-19T21:49:21Z", - "carrier": "USPS", "pickup_id": "pickup_192d8b25777e4bf2a2e122740dd91003", - "id": "pickuprate_bf88f7ddc6334a60b65bf427955ebe54", "object": "PickupRate"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1184' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda865aaee61e78bb4cf00117676 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.718016' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/pickups/pickup_192d8b25777e4bf2a2e122740dd91003 - response: - body: - string: '{"id": "pickup_192d8b25777e4bf2a2e122740dd91003", "object": "Pickup", - "created_at": "2024-01-19T21:49:21Z", "updated_at": "2024-01-19T21:49:21Z", - "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": - "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": - false, "instructions": "Special pickup instructions", "messages": [], "confirmation": - null, "address": {"id": "adr_9a676fb7b71411eebb57ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:49:21+00:00", "updated_at": "2024-01-19T21:49:21+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": - [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2024-01-19T21:49:21Z", "updated_at": "2024-01-19T21:49:21Z", - "carrier": "USPS", "pickup_id": "pickup_192d8b25777e4bf2a2e122740dd91003", - "id": "pickuprate_bf88f7ddc6334a60b65bf427955ebe54", "object": "PickupRate"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1184' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdad65aaee62e78bb4d0001176fc - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.053286' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:58:38Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010711457", "updated_at": "2024-01-19T21:58:39Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_eab2632d619f471cb3c820b138cef191", "object": "CustomsInfo", "created_at": - "2024-01-19T21:58:38Z", "updated_at": "2024-01-19T21:58:38Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_df198bd3cf8b4c5b9b35ab3d2f83fd27", - "object": "CustomsItem", "created_at": "2024-01-19T21:58:38Z", "updated_at": - "2024-01-19T21:58:38Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_e6c21c8fb71511eea7363cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:58:38+00:00", "updated_at": - "2024-01-19T21:58:38+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_ed05f2aa6b864b4cb9b8eabb738351e5", - "object": "Parcel", "created_at": "2024-01-19T21:58:38Z", "updated_at": "2024-01-19T21:58:38Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_073ed8e2c6f643989c20dd2acf5af8b6", "created_at": "2024-01-19T21:58:39Z", - "updated_at": "2024-01-19T21:58:39Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:58:39Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e87cff80d1fe00407a8c47d1f22f997f90.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_c3ebf67b7fcb46a69632bfcb92c8308f", "object": - "Rate", "created_at": "2024-01-19T21:58:39Z", "updated_at": "2024-01-19T21:58:39Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_76c4cbae6cd44538bd1a150cba7b874c", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_fb71674e33724c87bcd46e834bc1b3b9", - "object": "Rate", "created_at": "2024-01-19T21:58:39Z", "updated_at": "2024-01-19T21:58:39Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_76c4cbae6cd44538bd1a150cba7b874c", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_e0c02e0902c34218b447b83cc8ac0349", - "object": "Rate", "created_at": "2024-01-19T21:58:39Z", "updated_at": "2024-01-19T21:58:39Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_76c4cbae6cd44538bd1a150cba7b874c", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_8e028f5003e54477bcfb72f99725a7ee", - "object": "Rate", "created_at": "2024-01-19T21:58:39Z", "updated_at": "2024-01-19T21:58:39Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_76c4cbae6cd44538bd1a150cba7b874c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_a74e13bd13534505b38f3b6baf60e102", "object": "Rate", "created_at": - "2024-01-19T21:58:39Z", "updated_at": "2024-01-19T21:58:39Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_76c4cbae6cd44538bd1a150cba7b874c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_fb71674e33724c87bcd46e834bc1b3b9", - "object": "Rate", "created_at": "2024-01-19T21:58:39Z", "updated_at": "2024-01-19T21:58:39Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_76c4cbae6cd44538bd1a150cba7b874c", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_b95e2f504fe74b2984d46e616cdc3dda", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711457", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:58:39Z", - "updated_at": "2024-01-19T21:58:39Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_76c4cbae6cd44538bd1a150cba7b874c", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrX2I5NWUyZjUwNGZlNzRiMjk4NGQ0NmU2MTZjZGMzZGRh"}, - "to_address": {"id": "adr_e6bf03bfb71511eea919ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:58:38+00:00", "updated_at": "2024-01-19T21:58:39+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_e6c21c8fb71511eea7363cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:58:38+00:00", "updated_at": - "2024-01-19T21:58:38+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_e6bf03bfb71511eea919ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:58:38+00:00", "updated_at": "2024-01-19T21:58:39+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_76c4cbae6cd44538bd1a150cba7b874c", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_76c4cbae6cd44538bd1a150cba7b874c - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf08ee798bf5d000f7814 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.038411' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"pickup": {"reference": "my-first-pickup", "min_datetime": "2024-01-22", - "max_datetime": "2024-01-22", "shipment": {"id": "shp_76c4cbae6cd44538bd1a150cba7b874c"}, - "address": {"name": "Dr. Steve Brule", "street1": "179 N Harbor Dr", "city": - "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "phone": "8573875756", - "email": "dr_steve_brule@gmail.com"}, "is_account_address": "false", "instructions": - "Special pickup instructions"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '445' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/pickups - response: - body: - string: '{"id": "pickup_0a1bb1cc91444ae99848e637fec14192", "object": "Pickup", - "created_at": "2024-01-19T21:58:40Z", "updated_at": "2024-01-19T21:58:40Z", - "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": - "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": - false, "instructions": "Special pickup instructions", "messages": [], "confirmation": - null, "address": {"id": "adr_e77facb6b71511eeb9faac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:58:40+00:00", "updated_at": "2024-01-19T21:58:40+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": - [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2024-01-19T21:58:40Z", "updated_at": "2024-01-19T21:58:40Z", - "carrier": "USPS", "pickup_id": "pickup_0a1bb1cc91444ae99848e637fec14192", - "id": "pickuprate_c9f601197e9e436d8369fb986862a3c8", "object": "PickupRate"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1184' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf090e798bf75000f78a4 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.676143' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/pickups/pickup_0a1bb1cc91444ae99848e637fec14192 - response: - body: - string: '{"id": "pickup_0a1bb1cc91444ae99848e637fec14192", "object": "Pickup", - "created_at": "2024-01-19T21:58:40Z", "updated_at": "2024-01-19T21:58:40Z", - "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": - "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": - false, "instructions": "Special pickup instructions", "messages": [], "confirmation": - null, "address": {"id": "adr_e77facb6b71511eeb9faac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:58:40+00:00", "updated_at": "2024-01-19T21:58:40+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": - [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2024-01-19T21:58:40Z", "updated_at": "2024-01-19T21:58:40Z", - "carrier": "USPS", "pickup_id": "pickup_0a1bb1cc91444ae99848e637fec14192", - "id": "pickuprate_c9f601197e9e436d8369fb986862a3c8", "object": "PickupRate"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1184' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf090e798bf77000f791e - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.058813' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T22:01:33Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010711884", "updated_at": "2024-01-19T22:01:34Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_a271ec3176104af7887d3a69f063eb50", "object": "CustomsInfo", "created_at": - "2024-01-19T22:01:33Z", "updated_at": "2024-01-19T22:01:33Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_e72f00b9de3a4e11b64e3e954626780c", - "object": "CustomsItem", "created_at": "2024-01-19T22:01:33Z", "updated_at": - "2024-01-19T22:01:33Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_4ea6be02b71611ee9a85ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T22:01:33+00:00", "updated_at": - "2024-01-19T22:01:33+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_807301bf8f024aea9f7582606e011359", - "object": "Parcel", "created_at": "2024-01-19T22:01:33Z", "updated_at": "2024-01-19T22:01:33Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_3119fae392034d76a24194388e1201b7", "created_at": "2024-01-19T22:01:33Z", - "updated_at": "2024-01-19T22:01:33Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T22:01:33Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8b702e23a69924234b46764227d9a2295.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_a31588f2a3884ed3ada606481b6c76f6", "object": - "Rate", "created_at": "2024-01-19T22:01:33Z", "updated_at": "2024-01-19T22:01:33Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_8e2e105cdde4412bbffd733855230d51", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_78c8fcf212e740239c8841296e3b2443", - "object": "Rate", "created_at": "2024-01-19T22:01:33Z", "updated_at": "2024-01-19T22:01:33Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_8e2e105cdde4412bbffd733855230d51", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_6d5110027555445ea37c69d69ed37c9e", - "object": "Rate", "created_at": "2024-01-19T22:01:33Z", "updated_at": "2024-01-19T22:01:33Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_8e2e105cdde4412bbffd733855230d51", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_6d99227038e64ca2a9a046934ba70b4c", - "object": "Rate", "created_at": "2024-01-19T22:01:33Z", "updated_at": "2024-01-19T22:01:33Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_8e2e105cdde4412bbffd733855230d51", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_1839475c7a714b24ad69885873b6377b", "object": "Rate", "created_at": - "2024-01-19T22:01:33Z", "updated_at": "2024-01-19T22:01:33Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_8e2e105cdde4412bbffd733855230d51", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_78c8fcf212e740239c8841296e3b2443", - "object": "Rate", "created_at": "2024-01-19T22:01:33Z", "updated_at": "2024-01-19T22:01:33Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_8e2e105cdde4412bbffd733855230d51", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_69d8a14dc1f4483492af97b05fd09333", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711884", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:01:34Z", - "updated_at": "2024-01-19T22:01:34Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_8e2e105cdde4412bbffd733855230d51", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzY5ZDhhMTRkYzFmNDQ4MzQ5MmFmOTdiMDVmZDA5MzMz"}, - "to_address": {"id": "adr_4ea41acfb71611ee8c3cac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T22:01:33+00:00", "updated_at": "2024-01-19T22:01:33+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_4ea6be02b71611ee9a85ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T22:01:33+00:00", "updated_at": - "2024-01-19T22:01:33+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_4ea41acfb71611ee8c3cac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T22:01:33+00:00", "updated_at": "2024-01-19T22:01:33+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_8e2e105cdde4412bbffd733855230d51", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_8e2e105cdde4412bbffd733855230d51 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaf13de798c4bf00100a42 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.016900' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"pickup": {"reference": "my-first-pickup", "min_datetime": "2024-01-22", - "max_datetime": "2024-01-22", "shipment": {"id": "shp_8e2e105cdde4412bbffd733855230d51"}, - "address": {"name": "Dr. Steve Brule", "street1": "179 N Harbor Dr", "city": - "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "phone": "8573875756", - "email": "dr_steve_brule@gmail.com"}, "is_account_address": "false", "instructions": - "Special pickup instructions"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '445' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/pickups - response: - body: - string: '{"id": "pickup_0d87909b79e648cca86aa60d12a54a2e", "object": "Pickup", - "created_at": "2024-01-19T22:01:34Z", "updated_at": "2024-01-19T22:01:34Z", - "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": - "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": - false, "instructions": "Special pickup instructions", "messages": [], "confirmation": - null, "address": {"id": "adr_4f6350dcb71611ee88b03cecef1b359e", "object": - "Address", "created_at": "2024-01-19T22:01:34+00:00", "updated_at": "2024-01-19T22:01:34+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": - [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2024-01-19T22:01:35Z", "updated_at": "2024-01-19T22:01:35Z", - "carrier": "USPS", "pickup_id": "pickup_0d87909b79e648cca86aa60d12a54a2e", - "id": "pickuprate_2243b083a4a2462a8e8657c568ae9fec", "object": "PickupRate"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1184' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf13ee798c4c100100b5f - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.728887' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/pickups/pickup_0d87909b79e648cca86aa60d12a54a2e - response: - body: - string: '{"id": "pickup_0d87909b79e648cca86aa60d12a54a2e", "object": "Pickup", - "created_at": "2024-01-19T22:01:34Z", "updated_at": "2024-01-19T22:01:34Z", - "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": - "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": - false, "instructions": "Special pickup instructions", "messages": [], "confirmation": - null, "address": {"id": "adr_4f6350dcb71611ee88b03cecef1b359e", "object": - "Address", "created_at": "2024-01-19T22:01:34+00:00", "updated_at": "2024-01-19T22:01:34+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": - [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2024-01-19T22:01:35Z", "updated_at": "2024-01-19T22:01:35Z", - "carrier": "USPS", "pickup_id": "pickup_0d87909b79e648cca86aa60d12a54a2e", - "id": "pickuprate_2243b083a4a2462a8e8657c568ae9fec", "object": "PickupRate"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1184' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaf13fe798c4c500100c4c - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.066112' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T22:05:19Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010712645", "updated_at": "2024-01-19T22:05:20Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_dbee504cec974afe921ddd5d082911ad", "object": "CustomsInfo", "created_at": - "2024-01-19T22:05:19Z", "updated_at": "2024-01-19T22:05:19Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_44f0b8d2478441a6b13e08cf3f7de155", - "object": "CustomsItem", "created_at": "2024-01-19T22:05:19Z", "updated_at": - "2024-01-19T22:05:19Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_d5cd84edb71611eeb56dac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:05:19+00:00", "updated_at": - "2024-01-19T22:05:19+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_7e7b281af9444d5da17f6e2d8f6b8208", - "object": "Parcel", "created_at": "2024-01-19T22:05:19Z", "updated_at": "2024-01-19T22:05:19Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_1fdd42863ffa4691bdd7f25edc2cb930", "created_at": "2024-01-19T22:05:20Z", - "updated_at": "2024-01-19T22:05:20Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T22:05:20Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e85bf9664e812441f68ad9de786bab4641.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_c1f85157c92243d18b6018c8b949ded6", "object": - "Rate", "created_at": "2024-01-19T22:05:20Z", "updated_at": "2024-01-19T22:05:20Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_f7e6152a498943a1979d92b280bcb2dc", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_0dbb2c31ec7141a2897b77f2d7402347", - "object": "Rate", "created_at": "2024-01-19T22:05:20Z", "updated_at": "2024-01-19T22:05:20Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_f7e6152a498943a1979d92b280bcb2dc", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_6e095c431cf543988a35d8937f01a71e", - "object": "Rate", "created_at": "2024-01-19T22:05:20Z", "updated_at": "2024-01-19T22:05:20Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_f7e6152a498943a1979d92b280bcb2dc", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_81fe04ac162844da99ebaaa523285f82", - "object": "Rate", "created_at": "2024-01-19T22:05:20Z", "updated_at": "2024-01-19T22:05:20Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_f7e6152a498943a1979d92b280bcb2dc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_e67358aa01f748d3ace4a6abf2e611b9", "object": "Rate", "created_at": - "2024-01-19T22:05:20Z", "updated_at": "2024-01-19T22:05:20Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_f7e6152a498943a1979d92b280bcb2dc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_0dbb2c31ec7141a2897b77f2d7402347", - "object": "Rate", "created_at": "2024-01-19T22:05:20Z", "updated_at": "2024-01-19T22:05:20Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_f7e6152a498943a1979d92b280bcb2dc", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_7095a248e90d4ff9a96c2ffce79d8295", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010712645", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:05:20Z", - "updated_at": "2024-01-19T22:05:20Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_f7e6152a498943a1979d92b280bcb2dc", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzcwOTVhMjQ4ZTkwZDRmZjlhOTZjMmZmY2U3OWQ4Mjk1"}, - "to_address": {"id": "adr_d5cbacf3b71611eeb3533cecef1b359e", "object": "Address", - "created_at": "2024-01-19T22:05:19+00:00", "updated_at": "2024-01-19T22:05:20+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_d5cd84edb71611eeb56dac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:05:19+00:00", "updated_at": - "2024-01-19T22:05:19+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_d5cbacf3b71611eeb3533cecef1b359e", "object": - "Address", "created_at": "2024-01-19T22:05:19+00:00", "updated_at": "2024-01-19T22:05:20+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_f7e6152a498943a1979d92b280bcb2dc", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_f7e6152a498943a1979d92b280bcb2dc - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf21fe798d09d0010b4eb - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.055974' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"pickup": {"reference": "my-first-pickup", "min_datetime": "2024-01-22", - "max_datetime": "2024-01-22", "shipment": {"id": "shp_f7e6152a498943a1979d92b280bcb2dc"}, - "address": {"name": "Dr. Steve Brule", "street1": "179 N Harbor Dr", "city": - "Redondo Beach", "state": "CA", "zip": "90277", "country": "US", "phone": "8573875756", - "email": "dr_steve_brule@gmail.com"}, "is_account_address": "false", "instructions": - "Special pickup instructions"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '445' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/pickups - response: - body: - string: '{"id": "pickup_8f82fb3107a247a9b08c0a4e9dd8a1f4", "object": "Pickup", - "created_at": "2024-01-19T22:05:21Z", "updated_at": "2024-01-19T22:05:21Z", - "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": - "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": - false, "instructions": "Special pickup instructions", "messages": [], "confirmation": - null, "address": {"id": "adr_d68ed437b71611eeb5cbac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T22:05:21+00:00", "updated_at": "2024-01-19T22:05:21+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": - [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2024-01-19T22:05:21Z", "updated_at": "2024-01-19T22:05:21Z", - "carrier": "USPS", "pickup_id": "pickup_8f82fb3107a247a9b08c0a4e9dd8a1f4", - "id": "pickuprate_9a79c462a60c479b941d329a5bb5bd74", "object": "PickupRate"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1184' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf221e798d09e0010b5c6 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.703352' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/pickups/pickup_8f82fb3107a247a9b08c0a4e9dd8a1f4 - response: - body: - string: '{"id": "pickup_8f82fb3107a247a9b08c0a4e9dd8a1f4", "object": "Pickup", - "created_at": "2024-01-19T22:05:21Z", "updated_at": "2024-01-19T22:05:21Z", - "mode": "test", "status": "unknown", "reference": "my-first-pickup", "min_datetime": - "2024-01-22T00:00:00Z", "max_datetime": "2024-01-22T00:00:00Z", "is_account_address": - false, "instructions": "Special pickup instructions", "messages": [], "confirmation": - null, "address": {"id": "adr_d68ed437b71611eeb5cbac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T22:05:21+00:00", "updated_at": "2024-01-19T22:05:21+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "carrier_accounts": [], "pickup_rates": - [{"mode": "test", "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2024-01-19T22:05:21Z", "updated_at": "2024-01-19T22:05:21Z", - "carrier": "USPS", "pickup_id": "pickup_8f82fb3107a247a9b08c0a4e9dd8a1f4", - "id": "pickuprate_9a79c462a60c479b941d329a5bb5bd74", "object": "PickupRate"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1184' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaf222e798d09f0010b685 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.049777' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_rates_regenerate.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_rates_regenerate.yaml deleted file mode 100644 index 202b5753..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_rates_regenerate.yaml +++ /dev/null @@ -1,1887 +0,0 @@ -interactions: -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '885' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:41:49Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T21:41:49Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_8ac718b4de03421792f048b658bdafc5", - "object": "CustomsInfo", "created_at": "2024-01-19T21:41:49Z", "updated_at": - "2024-01-19T21:41:49Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_27f7b556581d4da0ad8a330b6b8f744c", "object": "CustomsItem", - "created_at": "2024-01-19T21:41:49Z", "updated_at": "2024-01-19T21:41:49Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_8cd15bb3b71311ee9fd13cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:41:48+00:00", "updated_at": "2024-01-19T21:41:48+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_73a13a59b6d945ea9bd70ef04066ee24", "object": "Parcel", "created_at": - "2024-01-19T21:41:48Z", "updated_at": "2024-01-19T21:41:48Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_bb1480fe22cb4912b3c38236d07aacc3", - "object": "Rate", "created_at": "2024-01-19T21:41:49Z", "updated_at": "2024-01-19T21:41:49Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_ba77a6f86ef7491583fee193dedb2d6f", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c05c4198fdc043e9a7c4ee9c80f33833", - "object": "Rate", "created_at": "2024-01-19T21:41:49Z", "updated_at": "2024-01-19T21:41:49Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_ba77a6f86ef7491583fee193dedb2d6f", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b9fb254eda0c4e7cb6f0abf1ebe7155e", - "object": "Rate", "created_at": "2024-01-19T21:41:49Z", "updated_at": "2024-01-19T21:41:49Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_ba77a6f86ef7491583fee193dedb2d6f", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_373ecabb6a4b4d15abb41e9af4dfe94d", - "object": "Rate", "created_at": "2024-01-19T21:41:49Z", "updated_at": "2024-01-19T21:41:49Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_ba77a6f86ef7491583fee193dedb2d6f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_3d139629f1da438aa6587ab3d87fdb77", "object": "Rate", "created_at": - "2024-01-19T21:41:49Z", "updated_at": "2024-01-19T21:41:49Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_ba77a6f86ef7491583fee193dedb2d6f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_8cceb535b71311eea294ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:41:48+00:00", "updated_at": "2024-01-19T21:41:48+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_8cd15bb3b71311ee9fd13cecef1b359e", "object": "Address", "created_at": - "2024-01-19T21:41:48+00:00", "updated_at": "2024-01-19T21:41:48+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_8cceb535b71311eea294ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:41:48+00:00", "updated_at": - "2024-01-19T21:41:48+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_ba77a6f86ef7491583fee193dedb2d6f", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_ba77a6f86ef7491583fee193dedb2d6f - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaec9ce78b9f06000cffd6 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.751778' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '2' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments/shp_ba77a6f86ef7491583fee193dedb2d6f/rerate - response: - body: - string: '{"rates": [{"id": "rate_57e05c91db824b22822b07b4587725b6", "object": - "Rate", "created_at": "2024-01-19T21:41:50Z", "updated_at": "2024-01-19T21:41:50Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_ba77a6f86ef7491583fee193dedb2d6f", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_9956a5e475cb4b8187e1ccea9d4d13ac", - "object": "Rate", "created_at": "2024-01-19T21:41:50Z", "updated_at": "2024-01-19T21:41:50Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_ba77a6f86ef7491583fee193dedb2d6f", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_d4ca50d77d484dc282c9a000ace540a9", - "object": "Rate", "created_at": "2024-01-19T21:41:50Z", "updated_at": "2024-01-19T21:41:50Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_ba77a6f86ef7491583fee193dedb2d6f", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_fde79e357e8f4f80baf0f1f73dd88fc4", - "object": "Rate", "created_at": "2024-01-19T21:41:50Z", "updated_at": "2024-01-19T21:41:50Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_ba77a6f86ef7491583fee193dedb2d6f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_538437c6d7424537bb6936d3bdec7339", "object": "Rate", "created_at": - "2024-01-19T21:41:50Z", "updated_at": "2024-01-19T21:41:50Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_ba77a6f86ef7491583fee193dedb2d6f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2712' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaec9de78b9f07000d0046 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.678499' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '885' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:43:44Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T21:43:45Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_b34807b0ee384c279f994ad99f01ae19", - "object": "CustomsInfo", "created_at": "2024-01-19T21:43:44Z", "updated_at": - "2024-01-19T21:43:44Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_807e09e7581b450fa3c3b5d37d4204e6", "object": "CustomsItem", - "created_at": "2024-01-19T21:43:44Z", "updated_at": "2024-01-19T21:43:44Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_d1e53b5fb71311eebaeaac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:43:44+00:00", "updated_at": "2024-01-19T21:43:44+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_a72a68b82c9745748df67915b7bfda31", "object": "Parcel", "created_at": - "2024-01-19T21:43:44Z", "updated_at": "2024-01-19T21:43:44Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_4ac22b8f842c48a69780ce47dfd73534", - "object": "Rate", "created_at": "2024-01-19T21:43:45Z", "updated_at": "2024-01-19T21:43:45Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_0ae7204fbed947c6ad2d0501eaf60856", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_cbe8422441f84aeab3da8163d1e2b147", - "object": "Rate", "created_at": "2024-01-19T21:43:45Z", "updated_at": "2024-01-19T21:43:45Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_0ae7204fbed947c6ad2d0501eaf60856", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_8801c1cd6b7b4330b602d68054beeae8", - "object": "Rate", "created_at": "2024-01-19T21:43:45Z", "updated_at": "2024-01-19T21:43:45Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_0ae7204fbed947c6ad2d0501eaf60856", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_8e1b807e843a457da27a4a285b500c0e", "object": "Rate", "created_at": - "2024-01-19T21:43:45Z", "updated_at": "2024-01-19T21:43:45Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_0ae7204fbed947c6ad2d0501eaf60856", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_2437b69699ff4b56b226a46e4b475c01", "object": "Rate", "created_at": - "2024-01-19T21:43:45Z", "updated_at": "2024-01-19T21:43:45Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_0ae7204fbed947c6ad2d0501eaf60856", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_d1e23923b71311eeb87c3cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:43:44+00:00", "updated_at": "2024-01-19T21:43:44+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_d1e53b5fb71311eebaeaac1f6bc539ae", "object": "Address", "created_at": - "2024-01-19T21:43:44+00:00", "updated_at": "2024-01-19T21:43:44+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_d1e23923b71311eeb87c3cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:43:44+00:00", "updated_at": - "2024-01-19T21:43:44+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_0ae7204fbed947c6ad2d0501eaf60856", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_0ae7204fbed947c6ad2d0501eaf60856 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaed10e78ba745000d419c - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.730655' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '2' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments/shp_0ae7204fbed947c6ad2d0501eaf60856/rerate - response: - body: - string: '{"rates": [{"id": "rate_a95a6e55feea4ad3b3ed58c494a922af", "object": - "Rate", "created_at": "2024-01-19T21:43:46Z", "updated_at": "2024-01-19T21:43:46Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_0ae7204fbed947c6ad2d0501eaf60856", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c5ef1d1b111d47d1a8c6efab4ce54a69", - "object": "Rate", "created_at": "2024-01-19T21:43:46Z", "updated_at": "2024-01-19T21:43:46Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_0ae7204fbed947c6ad2d0501eaf60856", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_6fa30fab913c46eabd485899710f6d58", - "object": "Rate", "created_at": "2024-01-19T21:43:46Z", "updated_at": "2024-01-19T21:43:46Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_0ae7204fbed947c6ad2d0501eaf60856", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_a6d109d968a74869aac8d7c8f723b7d7", - "object": "Rate", "created_at": "2024-01-19T21:43:46Z", "updated_at": "2024-01-19T21:43:46Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_0ae7204fbed947c6ad2d0501eaf60856", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_c77ce7a2be544619a1fc4d677ad9d0a1", "object": "Rate", "created_at": - "2024-01-19T21:43:46Z", "updated_at": "2024-01-19T21:43:46Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_0ae7204fbed947c6ad2d0501eaf60856", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2712' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaed11e78ba746000d424e - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.676733' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '885' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:47:37Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T21:47:37Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_3ff1e1c37f7c495287695ba92adcf33d", - "object": "CustomsInfo", "created_at": "2024-01-19T21:47:37Z", "updated_at": - "2024-01-19T21:47:37Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_08e6f8860bcc4617833c4cc2ac3daa08", "object": "CustomsItem", - "created_at": "2024-01-19T21:47:37Z", "updated_at": "2024-01-19T21:47:37Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_5c5153aab71411eea4403cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:47:37+00:00", "updated_at": "2024-01-19T21:47:37+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_e7e31ba7af41406bb76b929621b8a989", "object": "Parcel", "created_at": - "2024-01-19T21:47:37Z", "updated_at": "2024-01-19T21:47:37Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_276d8076f38741908b3e846b796dd83e", - "object": "Rate", "created_at": "2024-01-19T21:47:37Z", "updated_at": "2024-01-19T21:47:37Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_7890696b2a5d4de7a463f75aa3e84fc4", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4b076a0ca5954ef5933516ec6afd2271", - "object": "Rate", "created_at": "2024-01-19T21:47:37Z", "updated_at": "2024-01-19T21:47:37Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_7890696b2a5d4de7a463f75aa3e84fc4", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_bce427eba5a448babbfcacf783b6d404", "object": "Rate", "created_at": - "2024-01-19T21:47:37Z", "updated_at": "2024-01-19T21:47:37Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_7890696b2a5d4de7a463f75aa3e84fc4", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_06849f544f8649c8a17cd0bd10467103", "object": "Rate", "created_at": - "2024-01-19T21:47:37Z", "updated_at": "2024-01-19T21:47:37Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_7890696b2a5d4de7a463f75aa3e84fc4", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_fde3b66d09a74541b832309abb0d2eeb", "object": "Rate", "created_at": - "2024-01-19T21:47:37Z", "updated_at": "2024-01-19T21:47:37Z", "mode": "test", - "service": "Priority", "carrier": "USPS", "rate": "7.99", "currency": "USD", - "retail_rate": "14.05", "retail_currency": "USD", "list_rate": "10.27", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": - "shp_7890696b2a5d4de7a463f75aa3e84fc4", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_5c4eed09b71411eea64dac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:47:37+00:00", "updated_at": "2024-01-19T21:47:37+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_5c5153aab71411eea4403cecef1b359e", "object": "Address", "created_at": - "2024-01-19T21:47:37+00:00", "updated_at": "2024-01-19T21:47:37+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_5c4eed09b71411eea64dac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:47:37+00:00", "updated_at": - "2024-01-19T21:47:37+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_7890696b2a5d4de7a463f75aa3e84fc4", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_7890696b2a5d4de7a463f75aa3e84fc4 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda865aaedf9e78bafc5001138f8 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.720909' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '2' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments/shp_7890696b2a5d4de7a463f75aa3e84fc4/rerate - response: - body: - string: '{"rates": [{"id": "rate_98a5003d47eb4165a1633efaf3511ac7", "object": - "Rate", "created_at": "2024-01-19T21:47:38Z", "updated_at": "2024-01-19T21:47:38Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_7890696b2a5d4de7a463f75aa3e84fc4", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_47098834d59043a1b721d07139dd9e5d", - "object": "Rate", "created_at": "2024-01-19T21:47:38Z", "updated_at": "2024-01-19T21:47:38Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_7890696b2a5d4de7a463f75aa3e84fc4", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f2e817b8e8e54f26a82f78f5c372e5c9", - "object": "Rate", "created_at": "2024-01-19T21:47:38Z", "updated_at": "2024-01-19T21:47:38Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_7890696b2a5d4de7a463f75aa3e84fc4", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_a21fd1d4886f438eb33cbb49f0418ec4", - "object": "Rate", "created_at": "2024-01-19T21:47:38Z", "updated_at": "2024-01-19T21:47:38Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_7890696b2a5d4de7a463f75aa3e84fc4", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_a2d33231571c48f390426f4d16a5b70c", "object": "Rate", "created_at": - "2024-01-19T21:47:38Z", "updated_at": "2024-01-19T21:47:38Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_7890696b2a5d4de7a463f75aa3e84fc4", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2712' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda965aaedfae78bafc90011399a - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.886438' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '885' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:49:31Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T21:49:32Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_2621926d46e64b0a99f595326320af0f", - "object": "CustomsInfo", "created_at": "2024-01-19T21:49:31Z", "updated_at": - "2024-01-19T21:49:31Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_05549f7764eb4a0e85257fcd4634f042", "object": "CustomsItem", - "created_at": "2024-01-19T21:49:31Z", "updated_at": "2024-01-19T21:49:31Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_a0c01a53b71411eebd25ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:49:31+00:00", "updated_at": "2024-01-19T21:49:31+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_c84727c1f1f14531a52e99db37d05cb7", "object": "Parcel", "created_at": - "2024-01-19T21:49:31Z", "updated_at": "2024-01-19T21:49:31Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_7b3c73aa8cc94591927ec0bc193cb550", - "object": "Rate", "created_at": "2024-01-19T21:49:32Z", "updated_at": "2024-01-19T21:49:32Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_3195eb5ada9640c7ae4fcfbf3c743bba", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_543b060e1b254b5a9179a53bf8cc0349", - "object": "Rate", "created_at": "2024-01-19T21:49:32Z", "updated_at": "2024-01-19T21:49:32Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_3195eb5ada9640c7ae4fcfbf3c743bba", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_04edaf323db246d0a3c441148b760285", - "object": "Rate", "created_at": "2024-01-19T21:49:32Z", "updated_at": "2024-01-19T21:49:32Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_3195eb5ada9640c7ae4fcfbf3c743bba", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_8c4a9c040c304bfeb3f37cf7d406e4ba", - "object": "Rate", "created_at": "2024-01-19T21:49:32Z", "updated_at": "2024-01-19T21:49:32Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_3195eb5ada9640c7ae4fcfbf3c743bba", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_ae2ab9ee51ca427c820a525fc0ae13dd", "object": "Rate", "created_at": - "2024-01-19T21:49:32Z", "updated_at": "2024-01-19T21:49:32Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_3195eb5ada9640c7ae4fcfbf3c743bba", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_a0be24b8b71411ee8b73ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:49:31+00:00", "updated_at": "2024-01-19T21:49:31+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_a0c01a53b71411eebd25ac1f6bc539ae", "object": "Address", "created_at": - "2024-01-19T21:49:31+00:00", "updated_at": "2024-01-19T21:49:31+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_a0be24b8b71411ee8b73ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:49:31+00:00", "updated_at": - "2024-01-19T21:49:31+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_3195eb5ada9640c7ae4fcfbf3c743bba", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_3195eb5ada9640c7ae4fcfbf3c743bba - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdab65aaee6be78bb4f100117be6 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.849964' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '2' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments/shp_3195eb5ada9640c7ae4fcfbf3c743bba/rerate - response: - body: - string: '{"rates": [{"id": "rate_d142cee4a6f54192944b05b97e730ae8", "object": - "Rate", "created_at": "2024-01-19T21:49:33Z", "updated_at": "2024-01-19T21:49:33Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_3195eb5ada9640c7ae4fcfbf3c743bba", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_50b69da8129a4bff9eea3654394ef8f4", - "object": "Rate", "created_at": "2024-01-19T21:49:33Z", "updated_at": "2024-01-19T21:49:33Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_3195eb5ada9640c7ae4fcfbf3c743bba", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_53ed3c0a58094c53869505c87b89f9b9", - "object": "Rate", "created_at": "2024-01-19T21:49:33Z", "updated_at": "2024-01-19T21:49:33Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_3195eb5ada9640c7ae4fcfbf3c743bba", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_30336a48d21d4f04bffaadf5caf3b3f2", "object": "Rate", "created_at": - "2024-01-19T21:49:33Z", "updated_at": "2024-01-19T21:49:33Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_3195eb5ada9640c7ae4fcfbf3c743bba", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_38cfae9117d94f1289846589b96f7322", "object": "Rate", "created_at": - "2024-01-19T21:49:33Z", "updated_at": "2024-01-19T21:49:33Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_3195eb5ada9640c7ae4fcfbf3c743bba", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2712' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdae65aaee6ce78bb4f200117c8c - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.659198' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '885' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:58:51Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T21:58:51Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_144c0ac7bbd741caa3570e93bf06e79a", - "object": "CustomsInfo", "created_at": "2024-01-19T21:58:51Z", "updated_at": - "2024-01-19T21:58:51Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_8d7cda53c1264295ac678782386d1940", "object": "CustomsItem", - "created_at": "2024-01-19T21:58:51Z", "updated_at": "2024-01-19T21:58:51Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_ee012845b71511eeab28ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:58:51+00:00", "updated_at": "2024-01-19T21:58:51+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_bd129c5180d945e3a3bb370e7a395e59", "object": "Parcel", "created_at": - "2024-01-19T21:58:51Z", "updated_at": "2024-01-19T21:58:51Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_cb7b447ee4fb4a8694302bd731824b56", - "object": "Rate", "created_at": "2024-01-19T21:58:51Z", "updated_at": "2024-01-19T21:58:51Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_5fee4a76be034cff819dd44d6391f763", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_6909621c8dab4533ba93d131f61f7069", - "object": "Rate", "created_at": "2024-01-19T21:58:51Z", "updated_at": "2024-01-19T21:58:51Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_5fee4a76be034cff819dd44d6391f763", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_0e89aa55ab8c4eaa901cd174237b5752", - "object": "Rate", "created_at": "2024-01-19T21:58:51Z", "updated_at": "2024-01-19T21:58:51Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_5fee4a76be034cff819dd44d6391f763", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c7cfd1c5c32d449fa227ead27440c774", - "object": "Rate", "created_at": "2024-01-19T21:58:51Z", "updated_at": "2024-01-19T21:58:51Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_5fee4a76be034cff819dd44d6391f763", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_84cad9df4194410e84756964694d65ca", "object": "Rate", "created_at": - "2024-01-19T21:58:51Z", "updated_at": "2024-01-19T21:58:51Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_5fee4a76be034cff819dd44d6391f763", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_edfe79deb71511eebbcfac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:58:51+00:00", "updated_at": "2024-01-19T21:58:51+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_ee012845b71511eeab28ac1f6bc53342", "object": "Address", "created_at": - "2024-01-19T21:58:51+00:00", "updated_at": "2024-01-19T21:58:51+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_edfe79deb71511eebbcfac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:58:51+00:00", "updated_at": - "2024-01-19T21:58:51+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_5fee4a76be034cff819dd44d6391f763", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_5fee4a76be034cff819dd44d6391f763 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaf09ae798bf98000f7ea3 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.775992' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '2' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments/shp_5fee4a76be034cff819dd44d6391f763/rerate - response: - body: - string: '{"rates": [{"id": "rate_55a67b4c238447baa8faa66f896504db", "object": - "Rate", "created_at": "2024-01-19T21:58:52Z", "updated_at": "2024-01-19T21:58:52Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_5fee4a76be034cff819dd44d6391f763", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_5b457d1b11584ca0871e95b36394e729", - "object": "Rate", "created_at": "2024-01-19T21:58:52Z", "updated_at": "2024-01-19T21:58:52Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_5fee4a76be034cff819dd44d6391f763", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_abd1505e58864c648579f82430028e48", - "object": "Rate", "created_at": "2024-01-19T21:58:52Z", "updated_at": "2024-01-19T21:58:52Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_5fee4a76be034cff819dd44d6391f763", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_f9727cc172a748b89ffb857785cd2a01", "object": "Rate", "created_at": - "2024-01-19T21:58:52Z", "updated_at": "2024-01-19T21:58:52Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_5fee4a76be034cff819dd44d6391f763", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_3d95f10435f548d2950598233cfb8b1d", "object": "Rate", "created_at": - "2024-01-19T21:58:52Z", "updated_at": "2024-01-19T21:58:52Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_5fee4a76be034cff819dd44d6391f763", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2712' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaf09be798bf99000f7f34 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.686758' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '885' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T22:01:45Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T22:01:46Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_21c84c56eabf4191911ed21fc485b3b6", - "object": "CustomsInfo", "created_at": "2024-01-19T22:01:45Z", "updated_at": - "2024-01-19T22:01:45Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_bfdfbd7d21af4d1994b0ae14f18f56ae", "object": "CustomsItem", - "created_at": "2024-01-19T22:01:45Z", "updated_at": "2024-01-19T22:01:45Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_561e2d9ab71611ee8cb2ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T22:01:45+00:00", "updated_at": "2024-01-19T22:01:45+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_118cad134b9c423491c66fbdf56a373d", "object": "Parcel", "created_at": - "2024-01-19T22:01:45Z", "updated_at": "2024-01-19T22:01:45Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_6278cb0c92c948b6a1c3f18842c38f89", - "object": "Rate", "created_at": "2024-01-19T22:01:46Z", "updated_at": "2024-01-19T22:01:46Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_46288c3f2d0a4db399c71d3237aad3ea", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_d08f356dd02d46a79ecfdd6ddeddafa5", - "object": "Rate", "created_at": "2024-01-19T22:01:46Z", "updated_at": "2024-01-19T22:01:46Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_46288c3f2d0a4db399c71d3237aad3ea", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_9de71f1d4b894019ab3945360e87f7e0", - "object": "Rate", "created_at": "2024-01-19T22:01:46Z", "updated_at": "2024-01-19T22:01:46Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_46288c3f2d0a4db399c71d3237aad3ea", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_0ca0bd3be6054303a70b4574eadd773d", "object": "Rate", "created_at": - "2024-01-19T22:01:46Z", "updated_at": "2024-01-19T22:01:46Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_46288c3f2d0a4db399c71d3237aad3ea", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_50ba64322fb747568609226371616ffe", "object": "Rate", "created_at": - "2024-01-19T22:01:46Z", "updated_at": "2024-01-19T22:01:46Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_46288c3f2d0a4db399c71d3237aad3ea", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_561b6814b71611ee8cb0ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T22:01:45+00:00", "updated_at": "2024-01-19T22:01:45+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_561e2d9ab71611ee8cb2ac1f6bc53342", "object": "Address", "created_at": - "2024-01-19T22:01:45+00:00", "updated_at": "2024-01-19T22:01:45+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_561b6814b71611ee8cb0ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:01:45+00:00", "updated_at": - "2024-01-19T22:01:45+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_46288c3f2d0a4db399c71d3237aad3ea", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_46288c3f2d0a4db399c71d3237aad3ea - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaf149e798c7f90010163b - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.758637' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '2' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments/shp_46288c3f2d0a4db399c71d3237aad3ea/rerate - response: - body: - string: '{"rates": [{"id": "rate_b1756573fffc4f37be3ce927f786c065", "object": - "Rate", "created_at": "2024-01-19T22:01:47Z", "updated_at": "2024-01-19T22:01:47Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_46288c3f2d0a4db399c71d3237aad3ea", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_50681ebd62a94354a0ef49c091fb598e", - "object": "Rate", "created_at": "2024-01-19T22:01:47Z", "updated_at": "2024-01-19T22:01:47Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_46288c3f2d0a4db399c71d3237aad3ea", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_6119eb7c48ec433b8432a9869150c3ae", - "object": "Rate", "created_at": "2024-01-19T22:01:47Z", "updated_at": "2024-01-19T22:01:47Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_46288c3f2d0a4db399c71d3237aad3ea", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_526540ce76764eadbd97e7bf8e794e17", - "object": "Rate", "created_at": "2024-01-19T22:01:47Z", "updated_at": "2024-01-19T22:01:47Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_46288c3f2d0a4db399c71d3237aad3ea", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_38107de7d3c54c07859fd332cc49e9d4", "object": "Rate", "created_at": - "2024-01-19T22:01:47Z", "updated_at": "2024-01-19T22:01:47Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_46288c3f2d0a4db399c71d3237aad3ea", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2712' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf14ae798c7fa001017a4 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.815768' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '885' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T22:05:32Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T22:05:33Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_709575e3ed3d4d95a6aad92a564f0e75", - "object": "CustomsInfo", "created_at": "2024-01-19T22:05:32Z", "updated_at": - "2024-01-19T22:05:32Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_4c3859f492bd4e20b1364b6ee18cadf0", "object": "CustomsItem", - "created_at": "2024-01-19T22:05:32Z", "updated_at": "2024-01-19T22:05:32Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_dd8acbb6b71611ee88d7ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T22:05:32+00:00", "updated_at": "2024-01-19T22:05:32+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_05a4336627104132b82d0ae403d1faff", "object": "Parcel", "created_at": - "2024-01-19T22:05:32Z", "updated_at": "2024-01-19T22:05:32Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_093dfc8097eb4cd091787c6cb9a45faf", - "object": "Rate", "created_at": "2024-01-19T22:05:33Z", "updated_at": "2024-01-19T22:05:33Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_c93654ba28c5466bafb2d6ab835ea4d4", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_50ace8ad54da412a8164a753061df674", - "object": "Rate", "created_at": "2024-01-19T22:05:33Z", "updated_at": "2024-01-19T22:05:33Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_c93654ba28c5466bafb2d6ab835ea4d4", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_33c438ed8a214456926c12ee48be853a", - "object": "Rate", "created_at": "2024-01-19T22:05:33Z", "updated_at": "2024-01-19T22:05:33Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_c93654ba28c5466bafb2d6ab835ea4d4", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_8087a10e1dc249d0860c6b6f3d849025", "object": "Rate", "created_at": - "2024-01-19T22:05:33Z", "updated_at": "2024-01-19T22:05:33Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_c93654ba28c5466bafb2d6ab835ea4d4", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_f8e9f5d52feb4f77adc5cb635bda3cbe", "object": "Rate", "created_at": - "2024-01-19T22:05:33Z", "updated_at": "2024-01-19T22:05:33Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_c93654ba28c5466bafb2d6ab835ea4d4", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_dd88ccb1b71611eeb6693cecef1b359e", "object": - "Address", "created_at": "2024-01-19T22:05:32+00:00", "updated_at": "2024-01-19T22:05:32+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_dd8acbb6b71611ee88d7ac1f6bc539aa", "object": "Address", "created_at": - "2024-01-19T22:05:32+00:00", "updated_at": "2024-01-19T22:05:32+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_dd88ccb1b71611eeb6693cecef1b359e", - "object": "Address", "created_at": "2024-01-19T22:05:32+00:00", "updated_at": - "2024-01-19T22:05:32+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_c93654ba28c5466bafb2d6ab835ea4d4", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_c93654ba28c5466bafb2d6ab835ea4d4 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaf22ce798d0c10010be29 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.725974' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '2' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments/shp_c93654ba28c5466bafb2d6ab835ea4d4/rerate - response: - body: - string: '{"rates": [{"id": "rate_ccbcb0e714cd4870a787944b5b8e78c0", "object": - "Rate", "created_at": "2024-01-19T22:05:34Z", "updated_at": "2024-01-19T22:05:34Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_c93654ba28c5466bafb2d6ab835ea4d4", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f290547debc84a42a7fc8e35c9e9c739", - "object": "Rate", "created_at": "2024-01-19T22:05:34Z", "updated_at": "2024-01-19T22:05:34Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_c93654ba28c5466bafb2d6ab835ea4d4", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_dccce833367a4d4cbfbca603500cbdc0", - "object": "Rate", "created_at": "2024-01-19T22:05:34Z", "updated_at": "2024-01-19T22:05:34Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_c93654ba28c5466bafb2d6ab835ea4d4", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_2b7f33e8686e4e5280485653706eb98c", - "object": "Rate", "created_at": "2024-01-19T22:05:34Z", "updated_at": "2024-01-19T22:05:34Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_c93654ba28c5466bafb2d6ab835ea4d4", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_fa1e1bd62ac54f2f891e45ae4c33944e", "object": "Rate", "created_at": - "2024-01-19T22:05:34Z", "updated_at": "2024-01-19T22:05:34Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_c93654ba28c5466bafb2d6ab835ea4d4", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2712' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf22de798d0c20010bee6 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.855126' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_rates_retrieve.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_rates_retrieve.yaml deleted file mode 100644 index 5faab1c1..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_rates_retrieve.yaml +++ /dev/null @@ -1,1663 +0,0 @@ -interactions: -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '885' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:41:47Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T21:41:48Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_f9d623658fd243c8a8d086c337c26cc5", - "object": "CustomsInfo", "created_at": "2024-01-19T21:41:47Z", "updated_at": - "2024-01-19T21:41:47Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_15999bc6c9b14ff8bc88506c1c30b6b0", "object": "CustomsItem", - "created_at": "2024-01-19T21:41:47Z", "updated_at": "2024-01-19T21:41:47Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_8bf7cddfb71311eeb0e0ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:41:47+00:00", "updated_at": "2024-01-19T21:41:47+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_1ed463939b134aa9b9266949c97bc25c", "object": "Parcel", "created_at": - "2024-01-19T21:41:47Z", "updated_at": "2024-01-19T21:41:47Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_c687bf16e5ca4546975a7592c4f98601", - "object": "Rate", "created_at": "2024-01-19T21:41:48Z", "updated_at": "2024-01-19T21:41:48Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_1be229ae6e724ace9b3f7147bb186ff8", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_799ced93c52e4e2e952aa6786805bac2", - "object": "Rate", "created_at": "2024-01-19T21:41:48Z", "updated_at": "2024-01-19T21:41:48Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_1be229ae6e724ace9b3f7147bb186ff8", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_5d534db3d46042aea73e2c18f1469218", - "object": "Rate", "created_at": "2024-01-19T21:41:48Z", "updated_at": "2024-01-19T21:41:48Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_1be229ae6e724ace9b3f7147bb186ff8", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_3b93360a1ea543629b9a9317d0021ac0", - "object": "Rate", "created_at": "2024-01-19T21:41:48Z", "updated_at": "2024-01-19T21:41:48Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_1be229ae6e724ace9b3f7147bb186ff8", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_d64f959e63374b3abe6047d6fe8d7f0f", "object": "Rate", "created_at": - "2024-01-19T21:41:48Z", "updated_at": "2024-01-19T21:41:48Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_1be229ae6e724ace9b3f7147bb186ff8", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_8bf523bcb71311eea104ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:41:47+00:00", "updated_at": "2024-01-19T21:41:47+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_8bf7cddfb71311eeb0e0ac1f6bc539aa", "object": "Address", "created_at": - "2024-01-19T21:41:47+00:00", "updated_at": "2024-01-19T21:41:47+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_8bf523bcb71311eea104ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:41:47+00:00", "updated_at": - "2024-01-19T21:41:47+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_1be229ae6e724ace9b3f7147bb186ff8", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_1be229ae6e724ace9b3f7147bb186ff8 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaec9be78b9f04000cff0d - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.782415' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/rates/rate_c687bf16e5ca4546975a7592c4f98601 - response: - body: - string: '{"id": "rate_c687bf16e5ca4546975a7592c4f98601", "object": "Rate", "created_at": - "2024-01-19T21:41:48Z", "updated_at": "2024-01-19T21:41:48Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_1be229ae6e724ace9b3f7147bb186ff8", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '543' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaec9ce78b9f05000cffa4 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.154931' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '885' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:43:43Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T21:43:44Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_7f9991039220468c8a1950d940c740b4", - "object": "CustomsInfo", "created_at": "2024-01-19T21:43:43Z", "updated_at": - "2024-01-19T21:43:43Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_ef5d259660884c729cc7bea42863c3d8", "object": "CustomsItem", - "created_at": "2024-01-19T21:43:43Z", "updated_at": "2024-01-19T21:43:43Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_d1176a5fb71311ee89b1ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:43:43+00:00", "updated_at": "2024-01-19T21:43:43+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_7f447af8934a4c2da5260a593c3366ff", "object": "Parcel", "created_at": - "2024-01-19T21:43:43Z", "updated_at": "2024-01-19T21:43:43Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_621bde569b144997ae96018567476db8", - "object": "Rate", "created_at": "2024-01-19T21:43:44Z", "updated_at": "2024-01-19T21:43:44Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_c15c449e761b4cd888fb125559ddadb2", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_31f943635eca4a07a9eec264ac4738cc", - "object": "Rate", "created_at": "2024-01-19T21:43:44Z", "updated_at": "2024-01-19T21:43:44Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_c15c449e761b4cd888fb125559ddadb2", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_0c0b75f4469440ce8da19d831f44ad48", "object": "Rate", "created_at": - "2024-01-19T21:43:44Z", "updated_at": "2024-01-19T21:43:44Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_c15c449e761b4cd888fb125559ddadb2", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_6465e3fba10d46a9afdc018e524483ff", "object": "Rate", "created_at": - "2024-01-19T21:43:44Z", "updated_at": "2024-01-19T21:43:44Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_c15c449e761b4cd888fb125559ddadb2", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_bb9e2b3d864441b3a39d847173e9aa58", "object": "Rate", "created_at": - "2024-01-19T21:43:44Z", "updated_at": "2024-01-19T21:43:44Z", "mode": "test", - "service": "Priority", "carrier": "USPS", "rate": "7.99", "currency": "USD", - "retail_rate": "14.05", "retail_currency": "USD", "list_rate": "10.27", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": - "shp_c15c449e761b4cd888fb125559ddadb2", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_d114e842b71311eebaaaac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:43:43+00:00", "updated_at": "2024-01-19T21:43:43+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_d1176a5fb71311ee89b1ac1f6bc539aa", "object": "Address", "created_at": - "2024-01-19T21:43:43+00:00", "updated_at": "2024-01-19T21:43:43+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_d114e842b71311eebaaaac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:43:43+00:00", "updated_at": - "2024-01-19T21:43:43+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_c15c449e761b4cd888fb125559ddadb2", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_c15c449e761b4cd888fb125559ddadb2 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaed0fe78ba743000d40c4 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.709134' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/rates/rate_621bde569b144997ae96018567476db8 - response: - body: - string: '{"id": "rate_621bde569b144997ae96018567476db8", "object": "Rate", "created_at": - "2024-01-19T21:43:44Z", "updated_at": "2024-01-19T21:43:44Z", "mode": "test", - "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_c15c449e761b4cd888fb125559ddadb2", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '543' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaed10e78ba744000d4160 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.138854' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '885' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:47:35Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T21:47:36Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_8c30fa0edb3c40e8bf8754efff62a19e", - "object": "CustomsInfo", "created_at": "2024-01-19T21:47:35Z", "updated_at": - "2024-01-19T21:47:35Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_14eba273635a4916a18079db4586198a", "object": "CustomsItem", - "created_at": "2024-01-19T21:47:35Z", "updated_at": "2024-01-19T21:47:35Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_5b41c90db71411eeb5a2ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:47:35+00:00", "updated_at": "2024-01-19T21:47:35+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_b7c514fef9c144e2a1e78c87fc30af26", "object": "Parcel", "created_at": - "2024-01-19T21:47:35Z", "updated_at": "2024-01-19T21:47:35Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_26a626a45f4d4d13b1fa46d2f8a1ffe5", - "object": "Rate", "created_at": "2024-01-19T21:47:36Z", "updated_at": "2024-01-19T21:47:36Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_0a9284061eca4b42bef88e1c04b5fe15", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_827685933ad14fda97840614d308af05", - "object": "Rate", "created_at": "2024-01-19T21:47:36Z", "updated_at": "2024-01-19T21:47:36Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_0a9284061eca4b42bef88e1c04b5fe15", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_7b93269712e9421c8ebd237af6f7f4a0", - "object": "Rate", "created_at": "2024-01-19T21:47:36Z", "updated_at": "2024-01-19T21:47:36Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_0a9284061eca4b42bef88e1c04b5fe15", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_0e9c060aeb3a4de595b7d2e61623f69d", - "object": "Rate", "created_at": "2024-01-19T21:47:36Z", "updated_at": "2024-01-19T21:47:36Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_0a9284061eca4b42bef88e1c04b5fe15", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_d4def84d1af441b891f04bc734c53a21", "object": "Rate", "created_at": - "2024-01-19T21:47:36Z", "updated_at": "2024-01-19T21:47:36Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_0a9284061eca4b42bef88e1c04b5fe15", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_5b3e1d9db71411eea3f23cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:47:35+00:00", "updated_at": "2024-01-19T21:47:35+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_5b41c90db71411eeb5a2ac1f6bc539aa", "object": "Address", "created_at": - "2024-01-19T21:47:35+00:00", "updated_at": "2024-01-19T21:47:35+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_5b3e1d9db71411eea3f23cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:47:35+00:00", "updated_at": - "2024-01-19T21:47:35+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_0a9284061eca4b42bef88e1c04b5fe15", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_0a9284061eca4b42bef88e1c04b5fe15 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda965aaedf7e78bafc300113767 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.858031' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/rates/rate_26a626a45f4d4d13b1fa46d2f8a1ffe5 - response: - body: - string: '{"id": "rate_26a626a45f4d4d13b1fa46d2f8a1ffe5", "object": "Rate", "created_at": - "2024-01-19T21:47:36Z", "updated_at": "2024-01-19T21:47:36Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_0a9284061eca4b42bef88e1c04b5fe15", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '543' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdad65aaedf8e78bafc400113882 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.288919' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '885' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:49:30Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T21:49:31Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_dd8560f9832145bb9bd32fe924f9d143", - "object": "CustomsInfo", "created_at": "2024-01-19T21:49:30Z", "updated_at": - "2024-01-19T21:49:30Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_1cd6f5513cbb4c4183a24def986cb6e1", "object": "CustomsItem", - "created_at": "2024-01-19T21:49:30Z", "updated_at": "2024-01-19T21:49:30Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_9fe198bfb71411eeb9d33cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:49:30+00:00", "updated_at": "2024-01-19T21:49:30+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_5d0caf66fb60428cbe38e59137ff226a", "object": "Parcel", "created_at": - "2024-01-19T21:49:30Z", "updated_at": "2024-01-19T21:49:30Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_0d8e188b1d6e4875b03596a8befcf540", - "object": "Rate", "created_at": "2024-01-19T21:49:31Z", "updated_at": "2024-01-19T21:49:31Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_bcd414860caa47eabac33a325612e7f8", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_7855325a745e4e069135419536ea7050", - "object": "Rate", "created_at": "2024-01-19T21:49:31Z", "updated_at": "2024-01-19T21:49:31Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_bcd414860caa47eabac33a325612e7f8", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_eecf14a0ad1240e5ac7df38419ade764", - "object": "Rate", "created_at": "2024-01-19T21:49:31Z", "updated_at": "2024-01-19T21:49:31Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_bcd414860caa47eabac33a325612e7f8", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_bf05aa6a773142d8a0ecd86ee32fd45c", "object": "Rate", "created_at": - "2024-01-19T21:49:31Z", "updated_at": "2024-01-19T21:49:31Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_bcd414860caa47eabac33a325612e7f8", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_1084bfe45e08429f80691fd4363664ff", "object": "Rate", "created_at": - "2024-01-19T21:49:31Z", "updated_at": "2024-01-19T21:49:31Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_bcd414860caa47eabac33a325612e7f8", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_9fdea805b71411eebb6fac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:49:30+00:00", "updated_at": "2024-01-19T21:49:30+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_9fe198bfb71411eeb9d33cecef1b359e", "object": "Address", "created_at": - "2024-01-19T21:49:30+00:00", "updated_at": "2024-01-19T21:49:30+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_9fdea805b71411eebb6fac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:49:30+00:00", "updated_at": - "2024-01-19T21:49:30+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_bcd414860caa47eabac33a325612e7f8", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_bcd414860caa47eabac33a325612e7f8 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdad65aaee6ae78bb4ef00117b17 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.737991' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/rates/rate_0d8e188b1d6e4875b03596a8befcf540 - response: - body: - string: '{"id": "rate_0d8e188b1d6e4875b03596a8befcf540", "object": "Rate", "created_at": - "2024-01-19T21:49:31Z", "updated_at": "2024-01-19T21:49:31Z", "mode": "test", - "service": "Priority", "carrier": "USPS", "rate": "7.99", "currency": "USD", - "retail_rate": "14.05", "retail_currency": "USD", "list_rate": "10.27", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": - "shp_bcd414860caa47eabac33a325612e7f8", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '537' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdad65aaee6be78bb4f000117ba1 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.131843' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '885' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:58:49Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T21:58:50Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_de373129bf8e4c589ad80ef236c4f2b0", - "object": "CustomsInfo", "created_at": "2024-01-19T21:58:49Z", "updated_at": - "2024-01-19T21:58:49Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_a4b863904bba445fa7b06a4fafbdd094", "object": "CustomsItem", - "created_at": "2024-01-19T21:58:49Z", "updated_at": "2024-01-19T21:58:49Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_ed2bcd59b71511eeaaeaac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:58:49+00:00", "updated_at": "2024-01-19T21:58:49+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_9a10672aa6ce4ea0ad406b0be4630d4f", "object": "Parcel", "created_at": - "2024-01-19T21:58:49Z", "updated_at": "2024-01-19T21:58:49Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_65431e347040449aa73136651f61eae7", - "object": "Rate", "created_at": "2024-01-19T21:58:50Z", "updated_at": "2024-01-19T21:58:50Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_f5af890db0e04cc78aed0e86b87df6f5", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_94b274e5f3e3439f9bf064b5ba9c0638", - "object": "Rate", "created_at": "2024-01-19T21:58:50Z", "updated_at": "2024-01-19T21:58:50Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_f5af890db0e04cc78aed0e86b87df6f5", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f2603651ced745268af00141df1efeca", - "object": "Rate", "created_at": "2024-01-19T21:58:50Z", "updated_at": "2024-01-19T21:58:50Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_f5af890db0e04cc78aed0e86b87df6f5", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4f2823e251ae44c4b729dbc89917991a", - "object": "Rate", "created_at": "2024-01-19T21:58:50Z", "updated_at": "2024-01-19T21:58:50Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_f5af890db0e04cc78aed0e86b87df6f5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_4d4c0cf47cd94ab08de15fa6a0139c7f", "object": "Rate", "created_at": - "2024-01-19T21:58:50Z", "updated_at": "2024-01-19T21:58:50Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_f5af890db0e04cc78aed0e86b87df6f5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_ed290e1eb71511eead04ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:58:49+00:00", "updated_at": "2024-01-19T21:58:49+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_ed2bcd59b71511eeaaeaac1f6bc53342", "object": "Address", "created_at": - "2024-01-19T21:58:49+00:00", "updated_at": "2024-01-19T21:58:49+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_ed290e1eb71511eead04ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:58:49+00:00", "updated_at": - "2024-01-19T21:58:49+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_f5af890db0e04cc78aed0e86b87df6f5", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_f5af890db0e04cc78aed0e86b87df6f5 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf099e798bf96000f7dbf - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.709781' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/rates/rate_65431e347040449aa73136651f61eae7 - response: - body: - string: '{"id": "rate_65431e347040449aa73136651f61eae7", "object": "Rate", "created_at": - "2024-01-19T21:58:50Z", "updated_at": "2024-01-19T21:58:50Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_f5af890db0e04cc78aed0e86b87df6f5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '543' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf09ae798bf97000f7e56 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.142665' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '885' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T22:01:44Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T22:01:44Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_9f0d00dbb63f42a187b18e4d73331eb6", - "object": "CustomsInfo", "created_at": "2024-01-19T22:01:44Z", "updated_at": - "2024-01-19T22:01:44Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_e373957ef99e4a868d5f46783b4e00d5", "object": "CustomsItem", - "created_at": "2024-01-19T22:01:44Z", "updated_at": "2024-01-19T22:01:44Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_5528748db71611ee8e23ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T22:01:44+00:00", "updated_at": "2024-01-19T22:01:44+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_e29a011a8a6e4d09811abc2aaa5dac41", "object": "Parcel", "created_at": - "2024-01-19T22:01:44Z", "updated_at": "2024-01-19T22:01:44Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_d9c58190641a4aa98ac6c8509c023567", - "object": "Rate", "created_at": "2024-01-19T22:01:44Z", "updated_at": "2024-01-19T22:01:44Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_0d0744fe0ff0418b8aca96b78ae03af2", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_66853525743b4097bdde5643102c0bc8", - "object": "Rate", "created_at": "2024-01-19T22:01:44Z", "updated_at": "2024-01-19T22:01:44Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_0d0744fe0ff0418b8aca96b78ae03af2", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_34344258a3184ad78c65557585dec418", - "object": "Rate", "created_at": "2024-01-19T22:01:44Z", "updated_at": "2024-01-19T22:01:44Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_0d0744fe0ff0418b8aca96b78ae03af2", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_48c7bbf0a5db4ee0b5247e1423194216", - "object": "Rate", "created_at": "2024-01-19T22:01:44Z", "updated_at": "2024-01-19T22:01:44Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_0d0744fe0ff0418b8aca96b78ae03af2", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_709d87ebfcc8419e84644ed380f6fd62", "object": "Rate", "created_at": - "2024-01-19T22:01:44Z", "updated_at": "2024-01-19T22:01:44Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_0d0744fe0ff0418b8aca96b78ae03af2", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_55262dccb71611ee8e22ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T22:01:44+00:00", "updated_at": "2024-01-19T22:01:44+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_5528748db71611ee8e23ac1f6bc539ae", "object": "Address", "created_at": - "2024-01-19T22:01:44+00:00", "updated_at": "2024-01-19T22:01:44+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_55262dccb71611ee8e22ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T22:01:44+00:00", "updated_at": - "2024-01-19T22:01:44+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_0d0744fe0ff0418b8aca96b78ae03af2", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_0d0744fe0ff0418b8aca96b78ae03af2 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf148e798c7f7001014ab - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.854882' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/rates/rate_d9c58190641a4aa98ac6c8509c023567 - response: - body: - string: '{"id": "rate_d9c58190641a4aa98ac6c8509c023567", "object": "Rate", "created_at": - "2024-01-19T22:01:44Z", "updated_at": "2024-01-19T22:01:44Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_0d0744fe0ff0418b8aca96b78ae03af2", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '543' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaf149e798c7f8001015be - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.148686' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '885' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T22:05:31Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T22:05:31Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_15efcc911c334b44870c916fdde16ae4", - "object": "CustomsInfo", "created_at": "2024-01-19T22:05:31Z", "updated_at": - "2024-01-19T22:05:31Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_85a7ae651d9c4f59bc3f4b1ef0aa32e6", "object": "CustomsItem", - "created_at": "2024-01-19T22:05:31Z", "updated_at": "2024-01-19T22:05:31Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_dc6a9505b71611ee8860ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T22:05:31+00:00", "updated_at": "2024-01-19T22:05:31+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_12f7615fdb6047658ab0848c1e0e20af", "object": "Parcel", "created_at": - "2024-01-19T22:05:31Z", "updated_at": "2024-01-19T22:05:31Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_c98f934cdb2f412bbe9bfc718bdfd7ad", - "object": "Rate", "created_at": "2024-01-19T22:05:31Z", "updated_at": "2024-01-19T22:05:31Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_d172d73fb9994218b88431cb5e56abbc", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_a2e27a3f448e4a4eba341688923eebb7", - "object": "Rate", "created_at": "2024-01-19T22:05:31Z", "updated_at": "2024-01-19T22:05:31Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_d172d73fb9994218b88431cb5e56abbc", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_cd8d8a89ae914672a3d2d94ff1b43c00", - "object": "Rate", "created_at": "2024-01-19T22:05:31Z", "updated_at": "2024-01-19T22:05:31Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_d172d73fb9994218b88431cb5e56abbc", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4450f61b90c9453eb689ab292427763f", - "object": "Rate", "created_at": "2024-01-19T22:05:31Z", "updated_at": "2024-01-19T22:05:31Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_d172d73fb9994218b88431cb5e56abbc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_0e339294420145ce87b0e770e2fa75b8", "object": "Rate", "created_at": - "2024-01-19T22:05:31Z", "updated_at": "2024-01-19T22:05:31Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_d172d73fb9994218b88431cb5e56abbc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_dc683a2cb71611ee885eac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T22:05:31+00:00", "updated_at": "2024-01-19T22:05:31+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_dc6a9505b71611ee8860ac1f6bc539aa", "object": "Address", "created_at": - "2024-01-19T22:05:31+00:00", "updated_at": "2024-01-19T22:05:31+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_dc683a2cb71611ee885eac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T22:05:31+00:00", "updated_at": - "2024-01-19T22:05:31+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_d172d73fb9994218b88431cb5e56abbc", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_d172d73fb9994218b88431cb5e56abbc - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf22ae798d0bf0010bcbe - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.908258' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/rates/rate_c98f934cdb2f412bbe9bfc718bdfd7ad - response: - body: - string: '{"id": "rate_c98f934cdb2f412bbe9bfc718bdfd7ad", "object": "Rate", "created_at": - "2024-01-19T22:05:31Z", "updated_at": "2024-01-19T22:05:31Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_d172d73fb9994218b88431cb5e56abbc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '543' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaf22ce798d0c00010bdbb - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.143337' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_rates_retrieve_stateless.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_rates_retrieve_stateless.yaml deleted file mode 100644 index 30fbc845..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_rates_retrieve_stateless.yaml +++ /dev/null @@ -1,124 +0,0 @@ -interactions: -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '885' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/beta/rates - response: - body: - string: '{"from_address": {"object": "Address", "name": "EasyPost", "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com"}, "to_address": {"object": "Address", "name": "Dr. - Steve Brule", "street1": "179 N Harbor Dr", "city": "Redondo Beach", "state": - "CA", "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, - "rates": [{"object": "Rate", "mode": "test", "service": "GroundAdvantage", - "carrier": "USPS", "rate": "6.79", "currency": "USD", "retail_rate": "12.45", - "retail_currency": "USD", "list_rate": "8.92", "list_currency": "USD", "billing_type": - "easypost", "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": - false, "est_delivery_days": 3, "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"object": "Rate", "mode": "test", "service": "First", "carrier": "USPS", - "rate": "6.79", "currency": "USD", "retail_rate": "12.45", "retail_currency": - "USD", "list_rate": "8.92", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"object": "Rate", "mode": "test", "service": "ParcelSelect", "carrier": "USPS", - "rate": "6.79", "currency": "USD", "retail_rate": "12.45", "retail_currency": - "USD", "list_rate": "8.92", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"object": "Rate", "mode": "test", "service": "Express", "carrier": "USPS", - "rate": "46.85", "currency": "USD", "retail_rate": "54.20", "retail_currency": - "USD", "list_rate": "46.85", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - false, "est_delivery_days": null, "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"object": "Rate", "mode": "test", "service": "Priority", "carrier": "USPS", - "rate": "7.99", "currency": "USD", "retail_rate": "14.05", "retail_currency": - "USD", "list_rate": "10.27", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 2, "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "options": {"currency": "USD", "payment": {"type": "SENDER"}, "date_advance": - 0}, "parcel": {"object": "Parcel", "length": 20.2, "width": 10.9, "height": - 5.0, "weight": 65.9}, "messages": [{"carrier": "DhlEcs", "carrier_account_id": - "ca_0d64fd488c1444cf9bc16f858703e28f", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_b1a0a1bc45844159812e0224d53948ea", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_c7b4cfaf671b4984b84023d77561394a", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_c3cbbd21bc97400bbbaed6d030909476", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_711d8c4f9be54801b984e5dc9f2b5a7c", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}, {"carrier": "DhlEcs", "carrier_account_id": - "ca_99007e1aeb66421faf82676f1199481e", "type": "rate_error", "message": "Unauthorized. - Please check credentials and try again"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '3457' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - vary: - - Origin - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365ab0480e799dcdd001bc9ac - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.574084' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_referral_customers_create.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_referral_customers_create.yaml deleted file mode 100644 index f93e3a79..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_referral_customers_create.yaml +++ /dev/null @@ -1,529 +0,0 @@ -interactions: -- request: - body: '{"user": {"name": "test test", "email": "test@test.com", "phone": "8888888888"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '80' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/referral_customers - response: - body: - string: '{"id": "user_98f23364261c476ab4ff9e9826c39e27", "object": "User", "parent_id": - null, "name": "test test", "phone_number": "8888888888", "verified": true, - "created_at": "2024-01-19T21:41:50Z", "default_carbon_offset": false, "has_elevate_access": - false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": - null, "secondary_recharge_amount": null, "recharge_threshold": null, "has_billing_method": - null, "cc_fee_rate": "0.0375", "default_insurance_amount": "50.00", "insurance_fee_rate": - "0.005", "insurance_fee_minimum": "0.25", "email": "referral_customer_798ade56147e4ea0ab12872b7b08edf7@donotemail.easypost.com", - "children": [], "api_keys": [{"object": "ApiKey", "key": "", "mode": - "test", "created_at": "2024-01-19T21:41:51Z", "active": true, "id": "ak_8f075522f4524af5998e9f1d96b56dc9"}, - {"object": "ApiKey", "key": "", "mode": "production", "created_at": - "2024-01-19T21:41:51Z", "active": true, "id": "ak_e8cb2d17f4184e80a1145646b331ae10"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1018' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaec9ee78b9f08000d00c6 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.870836' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"user": {"name": "test test", "email": "test@test.com", "phone": "8888888888"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '80' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/referral_customers - response: - body: - string: '{"id": "user_ae82cdcccec343b5837700e5d9e4f564", "object": "User", "parent_id": - null, "name": "test test", "phone_number": "8888888888", "verified": true, - "created_at": "2024-01-19T21:43:46Z", "default_carbon_offset": false, "has_elevate_access": - false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": - null, "secondary_recharge_amount": null, "recharge_threshold": null, "has_billing_method": - null, "cc_fee_rate": "0.0375", "default_insurance_amount": "50.00", "insurance_fee_rate": - "0.005", "insurance_fee_minimum": "0.25", "email": "referral_customer_00f5a7536dd44c36b74c8df4a17610ae@donotemail.easypost.com", - "children": [], "api_keys": [{"object": "ApiKey", "key": "", "mode": - "test", "created_at": "2024-01-19T21:43:47Z", "active": true, "id": "ak_af272736c2f54a438186c2bd5a3a26b4"}, - {"object": "ApiKey", "key": "", "mode": "production", "created_at": - "2024-01-19T21:43:47Z", "active": true, "id": "ak_2e87c01515a648eea66b49d60f870058"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1018' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaed12e78ba747000d42f4 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.930299' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"user": {"name": "test test", "email": "test@test.com", "phone": "8888888888"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '80' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/referral_customers - response: - body: - string: '{"id": "user_693b9ba78e8d4e2ba603c2a2bee7ac7b", "object": "User", "parent_id": - null, "name": "test test", "phone_number": "8888888888", "verified": true, - "created_at": "2024-01-19T21:47:39Z", "default_carbon_offset": false, "has_elevate_access": - false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": - null, "secondary_recharge_amount": null, "recharge_threshold": null, "has_billing_method": - null, "cc_fee_rate": "0.0375", "default_insurance_amount": "50.00", "insurance_fee_rate": - "0.005", "insurance_fee_minimum": "0.25", "email": "referral_customer_ad79dfa8a3534e6cb51e1b9037a396a0@donotemail.easypost.com", - "children": [], "api_keys": [{"object": "ApiKey", "key": "", "mode": - "test", "created_at": "2024-01-19T21:47:39Z", "active": true, "id": "ak_d762ffe8cd5e42788e972ebe4f27b67c"}, - {"object": "ApiKey", "key": "", "mode": "production", "created_at": - "2024-01-19T21:47:39Z", "active": true, "id": "ak_da16d7f7565a4682a942ecb70e799b7e"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1018' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdac65aaedfbe78bafca00113a82 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.891878' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"user": {"name": "test test", "email": "test@test.com", "phone": "8888888888"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '80' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/referral_customers - response: - body: - string: '{"id": "user_f8fdf81a8e33467bb785be3ce31a0b89", "object": "User", "parent_id": - null, "name": "test test", "phone_number": "8888888888", "verified": true, - "created_at": "2024-01-19T21:49:34Z", "default_carbon_offset": false, "has_elevate_access": - false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": - null, "secondary_recharge_amount": null, "recharge_threshold": null, "has_billing_method": - null, "cc_fee_rate": "0.0375", "default_insurance_amount": "50.00", "insurance_fee_rate": - "0.005", "insurance_fee_minimum": "0.25", "email": "referral_customer_e755ab83a3794e9cbc152b6294910ff4@donotemail.easypost.com", - "children": [], "api_keys": [{"object": "ApiKey", "key": "", "mode": - "test", "created_at": "2024-01-19T21:49:34Z", "active": true, "id": "ak_7b0e3980b777467089d41a8b85d98b44"}, - {"object": "ApiKey", "key": "", "mode": "production", "created_at": - "2024-01-19T21:49:34Z", "active": true, "id": "ak_0693b665b9c64148bbb6eeb056b87651"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1018' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdad65aaee6de78bb4f300117d19 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.918882' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"user": {"name": "test test", "email": "test@test.com", "phone": "8888888888"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '80' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/referral_customers - response: - body: - string: '{"id": "user_874c78fd0fa2488e8511bcdaa6dc6783", "object": "User", "parent_id": - null, "name": "test test", "phone_number": "8888888888", "verified": true, - "created_at": "2024-01-19T21:58:53Z", "default_carbon_offset": false, "has_elevate_access": - false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": - null, "secondary_recharge_amount": null, "recharge_threshold": null, "has_billing_method": - null, "cc_fee_rate": "0.0375", "default_insurance_amount": "50.00", "insurance_fee_rate": - "0.005", "insurance_fee_minimum": "0.25", "email": "referral_customer_457fdfba54484d8a96e97c3301ada1fb@donotemail.easypost.com", - "children": [], "api_keys": [{"object": "ApiKey", "key": "", "mode": - "test", "created_at": "2024-01-19T21:58:53Z", "active": true, "id": "ak_66fb165d656c41a28bd41714d00a264a"}, - {"object": "ApiKey", "key": "", "mode": "production", "created_at": - "2024-01-19T21:58:53Z", "active": true, "id": "ak_7554ee0034bf4cb68228d88fa4709950"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1018' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf09de798bf9a000f7fd4 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.885936' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"user": {"name": "test test", "email": "test@test.com", "phone": "8888888888"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '80' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/referral_customers - response: - body: - string: '{"id": "user_c686b1da00cc4c3f856cdc5e325c5d9b", "object": "User", "parent_id": - null, "name": "test test", "phone_number": "8888888888", "verified": true, - "created_at": "2024-01-19T22:01:48Z", "default_carbon_offset": false, "has_elevate_access": - false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": - null, "secondary_recharge_amount": null, "recharge_threshold": null, "has_billing_method": - null, "cc_fee_rate": "0.0375", "default_insurance_amount": "50.00", "insurance_fee_rate": - "0.005", "insurance_fee_minimum": "0.25", "email": "referral_customer_2585ec350aa84abebe3c1a8521fb4d66@donotemail.easypost.com", - "children": [], "api_keys": [{"object": "ApiKey", "key": "", "mode": - "test", "created_at": "2024-01-19T22:01:48Z", "active": true, "id": "ak_543a8621efac4425b23de9f8c2bcea66"}, - {"object": "ApiKey", "key": "", "mode": "production", "created_at": - "2024-01-19T22:01:48Z", "active": true, "id": "ak_664698466b394c7b8864d02d07745540"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1018' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaf14be798c7fb001018d8 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.854967' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"user": {"name": "test test", "email": "test@test.com", "phone": "8888888888"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '80' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/referral_customers - response: - body: - string: '{"id": "user_7637172682be403ea1808f9bb9323801", "object": "User", "parent_id": - null, "name": "test test", "phone_number": "8888888888", "verified": true, - "created_at": "2024-01-19T22:05:35Z", "default_carbon_offset": false, "has_elevate_access": - false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": - null, "secondary_recharge_amount": null, "recharge_threshold": null, "has_billing_method": - null, "cc_fee_rate": "0.0375", "default_insurance_amount": "50.00", "insurance_fee_rate": - "0.005", "insurance_fee_minimum": "0.25", "email": "referral_customer_5a6268d5328241c1a871f5ca4aba2529@donotemail.easypost.com", - "children": [], "api_keys": [{"object": "ApiKey", "key": "", "mode": - "test", "created_at": "2024-01-19T22:05:35Z", "active": true, "id": "ak_57c2e81185fe4619aa64c0102d2a0056"}, - {"object": "ApiKey", "key": "", "mode": "production", "created_at": - "2024-01-19T22:05:35Z", "active": true, "id": "ak_904d8c4015bb4d75a4b46c0997e20e70"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1018' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf22fe798d0c30010bfc8 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.883392' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_referral_customers_list.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_referral_customers_list.yaml deleted file mode 100644 index 1eced3b2..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_referral_customers_list.yaml +++ /dev/null @@ -1,478 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/referral_customers?page_size=1 - response: - body: - string: '{"has_more": true, "referral_customers": [{"id": "user_634b6daa05744bfaa205058f06864363", - "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": - "8888888888", "verified": true, "created_at": "2022-04-26T15:50:28Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": - null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": - "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": - "email@example.com", "children": []}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '604' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaeca1e78b9f22000d01e0 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.063448' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/referral_customers?page_size=1 - response: - body: - string: '{"has_more": true, "referral_customers": [{"id": "user_634b6daa05744bfaa205058f06864363", - "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": - "8888888888", "verified": true, "created_at": "2022-04-26T15:50:28Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": - null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": - "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": - "email@example.com", "children": []}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '604' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaed15e78ba761000d448b - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.168546' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/referral_customers?page_size=1 - response: - body: - string: '{"has_more": true, "referral_customers": [{"id": "user_634b6daa05744bfaa205058f06864363", - "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": - "8888888888", "verified": true, "created_at": "2022-04-26T15:50:28Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": - null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": - "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": - "email@example.com", "children": []}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '604' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdab65aaedfde78bafe400113c07 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.072642' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/referral_customers?page_size=1 - response: - body: - string: '{"has_more": true, "referral_customers": [{"id": "user_634b6daa05744bfaa205058f06864363", - "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": - "8888888888", "verified": true, "created_at": "2022-04-26T15:50:28Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": - null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": - "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": - "email@example.com", "children": []}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '604' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdae65aaee70e78bb51000117e46 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.061052' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/referral_customers?page_size=1 - response: - body: - string: '{"has_more": true, "referral_customers": [{"id": "user_634b6daa05744bfaa205058f06864363", - "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": - "8888888888", "verified": true, "created_at": "2022-04-26T15:50:28Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": - null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": - "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": - "email@example.com", "children": []}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '604' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaf09fe798bf9d000f813b - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.065780' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/referral_customers?page_size=1 - response: - body: - string: '{"has_more": true, "referral_customers": [{"id": "user_634b6daa05744bfaa205058f06864363", - "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": - "8888888888", "verified": true, "created_at": "2022-04-26T15:50:28Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": - null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": - "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": - "email@example.com", "children": []}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '604' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf14ee798c7fe00101ab5 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.062090' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/referral_customers?page_size=1 - response: - body: - string: '{"has_more": true, "referral_customers": [{"id": "user_634b6daa05744bfaa205058f06864363", - "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": - "8888888888", "verified": true, "created_at": "2022-04-26T15:50:28Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": - null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": - "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": - "email@example.com", "children": []}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '604' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaf231e798d0dd0010c19c - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.060289' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_referral_customers_update.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_referral_customers_update.yaml deleted file mode 100644 index 06f08441..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_referral_customers_update.yaml +++ /dev/null @@ -1,1380 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/referral_customers - response: - body: - string: '{"has_more": true, "referral_customers": [{"id": "user_634b6daa05744bfaa205058f06864363", - "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": - "8888888888", "verified": true, "created_at": "2022-04-26T15:50:28Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": - null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": - "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": - "email@example.com", "children": []}, {"id": "user_35cb81fb8af1454dabf1f6afa7330634", - "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": - "8888888888", "verified": true, "created_at": "2022-04-27T20:20:52Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": "100.00", "secondary_recharge_amount": "100.00", - "recharge_threshold": "0.00", "has_billing_method": true, "cc_fee_rate": "0.0325", - "default_insurance_amount": "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": - "0.25", "email": "email@example.com", "children": []}, {"id": "user_fa93cc16bcc24c078ee057ce82f38eed", - "object": "User", "parent_id": null, "name": "test test", "phone_number": - "8888888888", "verified": true, "created_at": "2022-04-28T22:34:38Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": - null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": - "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": - "email@example.com", "children": []}, {"id": "user_4a22730cdc844ce1bc2efbed999c869f", - "object": "User", "parent_id": null, "name": "test test", "phone_number": - "8888888888", "verified": true, "created_at": "2022-04-29T19:35:33Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": - null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": - "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": - "test@test.com", "children": []}, {"id": "user_488e391395f4416196a31965fecac409", - "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": - "8888888888", "verified": true, "created_at": "2022-05-02T18:48:22Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": "100.00", "secondary_recharge_amount": "100.00", - "recharge_threshold": "0.00", "has_billing_method": true, "cc_fee_rate": "0.0325", - "default_insurance_amount": "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": - "0.25", "email": "email@example.com", "children": []}, {"id": "user_91b120087ff843349b9a3f0675572bb1", - "object": "User", "parent_id": null, "name": "test test", "phone_number": - "8888888888", "verified": true, "created_at": "2022-05-02T19:04:10Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": - null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": - "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": - "test@test.com", "children": []}, {"id": "user_4ae0d572fbe542deb7efa51935a5b826", - "object": "User", "parent_id": null, "name": "test test", "phone_number": - "8888888888", "verified": true, "created_at": "2022-05-02T23:08:40Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": "100.00", "secondary_recharge_amount": "100.00", - "recharge_threshold": "0.00", "has_billing_method": true, "cc_fee_rate": "0.0325", - "default_insurance_amount": "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": - "0.25", "email": "test@test.com", "children": []}, {"id": "user_71189529eba747ce83aa69303e22c7df", - "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": - "8888888888", "verified": true, "created_at": "2022-05-04T22:05:27Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": - null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": - "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": - "email@example.com", "children": []}, {"id": "user_c13290f1f6a442d79657b8bfe5daeeba", - "object": "User", "parent_id": null, "name": "test test", "phone_number": - "8888888888", "verified": true, "created_at": "2022-05-05T16:54:58Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": - null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": - "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": - "email@example.com", "children": []}, {"id": "user_b73fdc6c6a58421ea884a82ad14520a5", - "object": "User", "parent_id": null, "name": "test test", "phone_number": - "8888888888", "verified": true, "created_at": "2022-05-05T16:55:59Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": "100.00", "secondary_recharge_amount": "100.00", - "recharge_threshold": "0.00", "has_billing_method": true, "cc_fee_rate": "0.0325", - "default_insurance_amount": "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": - "0.25", "email": "email@example.com", "children": []}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '5654' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaeca0e78b9f09000d0146 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.343229' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"user": {"email": "email@example.com"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '40' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: PUT - uri: https://api.easypost.com/v2/referral_customers/user_634b6daa05744bfaa205058f06864363 - response: - body: - string: '{"message": "Referral Customer email updated successfully"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '59' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaeca0e78b9f21000d01a0 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.133801' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/referral_customers - response: - body: - string: '{"has_more": true, "referral_customers": [{"id": "user_634b6daa05744bfaa205058f06864363", - "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": - "8888888888", "verified": true, "created_at": "2022-04-26T15:50:28Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": - null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": - "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": - "email@example.com", "children": []}, {"id": "user_35cb81fb8af1454dabf1f6afa7330634", - "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": - "8888888888", "verified": true, "created_at": "2022-04-27T20:20:52Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": "100.00", "secondary_recharge_amount": "100.00", - "recharge_threshold": "0.00", "has_billing_method": true, "cc_fee_rate": "0.0325", - "default_insurance_amount": "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": - "0.25", "email": "email@example.com", "children": []}, {"id": "user_fa93cc16bcc24c078ee057ce82f38eed", - "object": "User", "parent_id": null, "name": "test test", "phone_number": - "8888888888", "verified": true, "created_at": "2022-04-28T22:34:38Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": - null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": - "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": - "email@example.com", "children": []}, {"id": "user_4a22730cdc844ce1bc2efbed999c869f", - "object": "User", "parent_id": null, "name": "test test", "phone_number": - "8888888888", "verified": true, "created_at": "2022-04-29T19:35:33Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": - null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": - "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": - "test@test.com", "children": []}, {"id": "user_488e391395f4416196a31965fecac409", - "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": - "8888888888", "verified": true, "created_at": "2022-05-02T18:48:22Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": "100.00", "secondary_recharge_amount": "100.00", - "recharge_threshold": "0.00", "has_billing_method": true, "cc_fee_rate": "0.0325", - "default_insurance_amount": "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": - "0.25", "email": "email@example.com", "children": []}, {"id": "user_91b120087ff843349b9a3f0675572bb1", - "object": "User", "parent_id": null, "name": "test test", "phone_number": - "8888888888", "verified": true, "created_at": "2022-05-02T19:04:10Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": - null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": - "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": - "test@test.com", "children": []}, {"id": "user_4ae0d572fbe542deb7efa51935a5b826", - "object": "User", "parent_id": null, "name": "test test", "phone_number": - "8888888888", "verified": true, "created_at": "2022-05-02T23:08:40Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": "100.00", "secondary_recharge_amount": "100.00", - "recharge_threshold": "0.00", "has_billing_method": true, "cc_fee_rate": "0.0325", - "default_insurance_amount": "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": - "0.25", "email": "test@test.com", "children": []}, {"id": "user_71189529eba747ce83aa69303e22c7df", - "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": - "8888888888", "verified": true, "created_at": "2022-05-04T22:05:27Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": - null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": - "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": - "email@example.com", "children": []}, {"id": "user_c13290f1f6a442d79657b8bfe5daeeba", - "object": "User", "parent_id": null, "name": "test test", "phone_number": - "8888888888", "verified": true, "created_at": "2022-05-05T16:54:58Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": - null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": - "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": - "email@example.com", "children": []}, {"id": "user_b73fdc6c6a58421ea884a82ad14520a5", - "object": "User", "parent_id": null, "name": "test test", "phone_number": - "8888888888", "verified": true, "created_at": "2022-05-05T16:55:59Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": "100.00", "secondary_recharge_amount": "100.00", - "recharge_threshold": "0.00", "has_billing_method": true, "cc_fee_rate": "0.0325", - "default_insurance_amount": "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": - "0.25", "email": "email@example.com", "children": []}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '5654' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaed14e78ba748000d43a4 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.343086' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"user": {"email": "email@example.com"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '40' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: PUT - uri: https://api.easypost.com/v2/referral_customers/user_634b6daa05744bfaa205058f06864363 - response: - body: - string: '{"message": "Referral Customer email updated successfully"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '59' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaed14e78ba749000d4434 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.117617' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/referral_customers - response: - body: - string: '{"has_more": true, "referral_customers": [{"id": "user_634b6daa05744bfaa205058f06864363", - "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": - "8888888888", "verified": true, "created_at": "2022-04-26T15:50:28Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": - null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": - "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": - "email@example.com", "children": []}, {"id": "user_35cb81fb8af1454dabf1f6afa7330634", - "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": - "8888888888", "verified": true, "created_at": "2022-04-27T20:20:52Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": "100.00", "secondary_recharge_amount": "100.00", - "recharge_threshold": "0.00", "has_billing_method": true, "cc_fee_rate": "0.0325", - "default_insurance_amount": "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": - "0.25", "email": "email@example.com", "children": []}, {"id": "user_fa93cc16bcc24c078ee057ce82f38eed", - "object": "User", "parent_id": null, "name": "test test", "phone_number": - "8888888888", "verified": true, "created_at": "2022-04-28T22:34:38Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": - null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": - "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": - "email@example.com", "children": []}, {"id": "user_4a22730cdc844ce1bc2efbed999c869f", - "object": "User", "parent_id": null, "name": "test test", "phone_number": - "8888888888", "verified": true, "created_at": "2022-04-29T19:35:33Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": - null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": - "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": - "test@test.com", "children": []}, {"id": "user_488e391395f4416196a31965fecac409", - "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": - "8888888888", "verified": true, "created_at": "2022-05-02T18:48:22Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": "100.00", "secondary_recharge_amount": "100.00", - "recharge_threshold": "0.00", "has_billing_method": true, "cc_fee_rate": "0.0325", - "default_insurance_amount": "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": - "0.25", "email": "email@example.com", "children": []}, {"id": "user_91b120087ff843349b9a3f0675572bb1", - "object": "User", "parent_id": null, "name": "test test", "phone_number": - "8888888888", "verified": true, "created_at": "2022-05-02T19:04:10Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": - null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": - "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": - "test@test.com", "children": []}, {"id": "user_4ae0d572fbe542deb7efa51935a5b826", - "object": "User", "parent_id": null, "name": "test test", "phone_number": - "8888888888", "verified": true, "created_at": "2022-05-02T23:08:40Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": "100.00", "secondary_recharge_amount": "100.00", - "recharge_threshold": "0.00", "has_billing_method": true, "cc_fee_rate": "0.0325", - "default_insurance_amount": "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": - "0.25", "email": "test@test.com", "children": []}, {"id": "user_71189529eba747ce83aa69303e22c7df", - "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": - "8888888888", "verified": true, "created_at": "2022-05-04T22:05:27Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": - null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": - "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": - "email@example.com", "children": []}, {"id": "user_c13290f1f6a442d79657b8bfe5daeeba", - "object": "User", "parent_id": null, "name": "test test", "phone_number": - "8888888888", "verified": true, "created_at": "2022-05-05T16:54:58Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": - null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": - "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": - "email@example.com", "children": []}, {"id": "user_b73fdc6c6a58421ea884a82ad14520a5", - "object": "User", "parent_id": null, "name": "test test", "phone_number": - "8888888888", "verified": true, "created_at": "2022-05-05T16:55:59Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": "100.00", "secondary_recharge_amount": "100.00", - "recharge_threshold": "0.00", "has_billing_method": true, "cc_fee_rate": "0.0325", - "default_insurance_amount": "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": - "0.25", "email": "email@example.com", "children": []}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '5654' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda865aaedfce78bafcb00113b34 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.389021' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"user": {"email": "email@example.com"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '40' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: PUT - uri: https://api.easypost.com/v2/referral_customers/user_634b6daa05744bfaa205058f06864363 - response: - body: - string: '{"message": "Referral Customer email updated successfully"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '59' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda865aaedfce78bafe300113b99 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.247220' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/referral_customers - response: - body: - string: '{"has_more": true, "referral_customers": [{"id": "user_634b6daa05744bfaa205058f06864363", - "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": - "8888888888", "verified": true, "created_at": "2022-04-26T15:50:28Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": - null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": - "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": - "email@example.com", "children": []}, {"id": "user_35cb81fb8af1454dabf1f6afa7330634", - "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": - "8888888888", "verified": true, "created_at": "2022-04-27T20:20:52Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": "100.00", "secondary_recharge_amount": "100.00", - "recharge_threshold": "0.00", "has_billing_method": true, "cc_fee_rate": "0.0325", - "default_insurance_amount": "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": - "0.25", "email": "email@example.com", "children": []}, {"id": "user_fa93cc16bcc24c078ee057ce82f38eed", - "object": "User", "parent_id": null, "name": "test test", "phone_number": - "8888888888", "verified": true, "created_at": "2022-04-28T22:34:38Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": - null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": - "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": - "email@example.com", "children": []}, {"id": "user_4a22730cdc844ce1bc2efbed999c869f", - "object": "User", "parent_id": null, "name": "test test", "phone_number": - "8888888888", "verified": true, "created_at": "2022-04-29T19:35:33Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": - null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": - "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": - "test@test.com", "children": []}, {"id": "user_488e391395f4416196a31965fecac409", - "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": - "8888888888", "verified": true, "created_at": "2022-05-02T18:48:22Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": "100.00", "secondary_recharge_amount": "100.00", - "recharge_threshold": "0.00", "has_billing_method": true, "cc_fee_rate": "0.0325", - "default_insurance_amount": "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": - "0.25", "email": "email@example.com", "children": []}, {"id": "user_91b120087ff843349b9a3f0675572bb1", - "object": "User", "parent_id": null, "name": "test test", "phone_number": - "8888888888", "verified": true, "created_at": "2022-05-02T19:04:10Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": - null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": - "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": - "test@test.com", "children": []}, {"id": "user_4ae0d572fbe542deb7efa51935a5b826", - "object": "User", "parent_id": null, "name": "test test", "phone_number": - "8888888888", "verified": true, "created_at": "2022-05-02T23:08:40Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": "100.00", "secondary_recharge_amount": "100.00", - "recharge_threshold": "0.00", "has_billing_method": true, "cc_fee_rate": "0.0325", - "default_insurance_amount": "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": - "0.25", "email": "test@test.com", "children": []}, {"id": "user_71189529eba747ce83aa69303e22c7df", - "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": - "8888888888", "verified": true, "created_at": "2022-05-04T22:05:27Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": - null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": - "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": - "email@example.com", "children": []}, {"id": "user_c13290f1f6a442d79657b8bfe5daeeba", - "object": "User", "parent_id": null, "name": "test test", "phone_number": - "8888888888", "verified": true, "created_at": "2022-05-05T16:54:58Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": - null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": - "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": - "email@example.com", "children": []}, {"id": "user_b73fdc6c6a58421ea884a82ad14520a5", - "object": "User", "parent_id": null, "name": "test test", "phone_number": - "8888888888", "verified": true, "created_at": "2022-05-05T16:55:59Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": "100.00", "secondary_recharge_amount": "100.00", - "recharge_threshold": "0.00", "has_billing_method": true, "cc_fee_rate": "0.0325", - "default_insurance_amount": "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": - "0.25", "email": "email@example.com", "children": []}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '5654' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdad65aaee6fe78bb50b00117dc5 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.482373' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"user": {"email": "email@example.com"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '40' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: PUT - uri: https://api.easypost.com/v2/referral_customers/user_634b6daa05744bfaa205058f06864363 - response: - body: - string: '{"message": "Referral Customer email updated successfully"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '59' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda865aaee6fe78bb50c00117e11 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.114611' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/referral_customers - response: - body: - string: '{"has_more": true, "referral_customers": [{"id": "user_634b6daa05744bfaa205058f06864363", - "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": - "8888888888", "verified": true, "created_at": "2022-04-26T15:50:28Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": - null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": - "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": - "email@example.com", "children": []}, {"id": "user_35cb81fb8af1454dabf1f6afa7330634", - "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": - "8888888888", "verified": true, "created_at": "2022-04-27T20:20:52Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": "100.00", "secondary_recharge_amount": "100.00", - "recharge_threshold": "0.00", "has_billing_method": true, "cc_fee_rate": "0.0325", - "default_insurance_amount": "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": - "0.25", "email": "email@example.com", "children": []}, {"id": "user_fa93cc16bcc24c078ee057ce82f38eed", - "object": "User", "parent_id": null, "name": "test test", "phone_number": - "8888888888", "verified": true, "created_at": "2022-04-28T22:34:38Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": - null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": - "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": - "email@example.com", "children": []}, {"id": "user_4a22730cdc844ce1bc2efbed999c869f", - "object": "User", "parent_id": null, "name": "test test", "phone_number": - "8888888888", "verified": true, "created_at": "2022-04-29T19:35:33Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": - null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": - "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": - "test@test.com", "children": []}, {"id": "user_488e391395f4416196a31965fecac409", - "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": - "8888888888", "verified": true, "created_at": "2022-05-02T18:48:22Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": "100.00", "secondary_recharge_amount": "100.00", - "recharge_threshold": "0.00", "has_billing_method": true, "cc_fee_rate": "0.0325", - "default_insurance_amount": "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": - "0.25", "email": "email@example.com", "children": []}, {"id": "user_91b120087ff843349b9a3f0675572bb1", - "object": "User", "parent_id": null, "name": "test test", "phone_number": - "8888888888", "verified": true, "created_at": "2022-05-02T19:04:10Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": - null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": - "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": - "test@test.com", "children": []}, {"id": "user_4ae0d572fbe542deb7efa51935a5b826", - "object": "User", "parent_id": null, "name": "test test", "phone_number": - "8888888888", "verified": true, "created_at": "2022-05-02T23:08:40Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": "100.00", "secondary_recharge_amount": "100.00", - "recharge_threshold": "0.00", "has_billing_method": true, "cc_fee_rate": "0.0325", - "default_insurance_amount": "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": - "0.25", "email": "test@test.com", "children": []}, {"id": "user_71189529eba747ce83aa69303e22c7df", - "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": - "8888888888", "verified": true, "created_at": "2022-05-04T22:05:27Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": - null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": - "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": - "email@example.com", "children": []}, {"id": "user_c13290f1f6a442d79657b8bfe5daeeba", - "object": "User", "parent_id": null, "name": "test test", "phone_number": - "8888888888", "verified": true, "created_at": "2022-05-05T16:54:58Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": - null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": - "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": - "email@example.com", "children": []}, {"id": "user_b73fdc6c6a58421ea884a82ad14520a5", - "object": "User", "parent_id": null, "name": "test test", "phone_number": - "8888888888", "verified": true, "created_at": "2022-05-05T16:55:59Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": "100.00", "secondary_recharge_amount": "100.00", - "recharge_threshold": "0.00", "has_billing_method": true, "cc_fee_rate": "0.0325", - "default_insurance_amount": "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": - "0.25", "email": "email@example.com", "children": []}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '5654' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaf09ee798bf9b000f8075 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.705756' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"user": {"email": "email@example.com"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '40' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: PUT - uri: https://api.easypost.com/v2/referral_customers/user_634b6daa05744bfaa205058f06864363 - response: - body: - string: '{"message": "Referral Customer email updated successfully"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '59' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf09fe798bf9c000f8104 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.113872' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/referral_customers - response: - body: - string: '{"has_more": true, "referral_customers": [{"id": "user_634b6daa05744bfaa205058f06864363", - "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": - "8888888888", "verified": true, "created_at": "2022-04-26T15:50:28Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": - null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": - "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": - "email@example.com", "children": []}, {"id": "user_35cb81fb8af1454dabf1f6afa7330634", - "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": - "8888888888", "verified": true, "created_at": "2022-04-27T20:20:52Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": "100.00", "secondary_recharge_amount": "100.00", - "recharge_threshold": "0.00", "has_billing_method": true, "cc_fee_rate": "0.0325", - "default_insurance_amount": "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": - "0.25", "email": "email@example.com", "children": []}, {"id": "user_fa93cc16bcc24c078ee057ce82f38eed", - "object": "User", "parent_id": null, "name": "test test", "phone_number": - "8888888888", "verified": true, "created_at": "2022-04-28T22:34:38Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": - null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": - "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": - "email@example.com", "children": []}, {"id": "user_4a22730cdc844ce1bc2efbed999c869f", - "object": "User", "parent_id": null, "name": "test test", "phone_number": - "8888888888", "verified": true, "created_at": "2022-04-29T19:35:33Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": - null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": - "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": - "test@test.com", "children": []}, {"id": "user_488e391395f4416196a31965fecac409", - "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": - "8888888888", "verified": true, "created_at": "2022-05-02T18:48:22Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": "100.00", "secondary_recharge_amount": "100.00", - "recharge_threshold": "0.00", "has_billing_method": true, "cc_fee_rate": "0.0325", - "default_insurance_amount": "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": - "0.25", "email": "email@example.com", "children": []}, {"id": "user_91b120087ff843349b9a3f0675572bb1", - "object": "User", "parent_id": null, "name": "test test", "phone_number": - "8888888888", "verified": true, "created_at": "2022-05-02T19:04:10Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": - null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": - "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": - "test@test.com", "children": []}, {"id": "user_4ae0d572fbe542deb7efa51935a5b826", - "object": "User", "parent_id": null, "name": "test test", "phone_number": - "8888888888", "verified": true, "created_at": "2022-05-02T23:08:40Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": "100.00", "secondary_recharge_amount": "100.00", - "recharge_threshold": "0.00", "has_billing_method": true, "cc_fee_rate": "0.0325", - "default_insurance_amount": "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": - "0.25", "email": "test@test.com", "children": []}, {"id": "user_71189529eba747ce83aa69303e22c7df", - "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": - "8888888888", "verified": true, "created_at": "2022-05-04T22:05:27Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": - null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": - "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": - "email@example.com", "children": []}, {"id": "user_c13290f1f6a442d79657b8bfe5daeeba", - "object": "User", "parent_id": null, "name": "test test", "phone_number": - "8888888888", "verified": true, "created_at": "2022-05-05T16:54:58Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": - null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": - "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": - "email@example.com", "children": []}, {"id": "user_b73fdc6c6a58421ea884a82ad14520a5", - "object": "User", "parent_id": null, "name": "test test", "phone_number": - "8888888888", "verified": true, "created_at": "2022-05-05T16:55:59Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": "100.00", "secondary_recharge_amount": "100.00", - "recharge_threshold": "0.00", "has_billing_method": true, "cc_fee_rate": "0.0325", - "default_insurance_amount": "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": - "0.25", "email": "email@example.com", "children": []}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '5654' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf14de798c7fc001019c2 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.352378' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"user": {"email": "email@example.com"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '40' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: PUT - uri: https://api.easypost.com/v2/referral_customers/user_634b6daa05744bfaa205058f06864363 - response: - body: - string: '{"message": "Referral Customer email updated successfully"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '59' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaf14de798c7fd00101a46 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.114621' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/referral_customers - response: - body: - string: '{"has_more": true, "referral_customers": [{"id": "user_634b6daa05744bfaa205058f06864363", - "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": - "8888888888", "verified": true, "created_at": "2022-04-26T15:50:28Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": - null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": - "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": - "email@example.com", "children": []}, {"id": "user_35cb81fb8af1454dabf1f6afa7330634", - "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": - "8888888888", "verified": true, "created_at": "2022-04-27T20:20:52Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": "100.00", "secondary_recharge_amount": "100.00", - "recharge_threshold": "0.00", "has_billing_method": true, "cc_fee_rate": "0.0325", - "default_insurance_amount": "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": - "0.25", "email": "email@example.com", "children": []}, {"id": "user_fa93cc16bcc24c078ee057ce82f38eed", - "object": "User", "parent_id": null, "name": "test test", "phone_number": - "8888888888", "verified": true, "created_at": "2022-04-28T22:34:38Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": - null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": - "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": - "email@example.com", "children": []}, {"id": "user_4a22730cdc844ce1bc2efbed999c869f", - "object": "User", "parent_id": null, "name": "test test", "phone_number": - "8888888888", "verified": true, "created_at": "2022-04-29T19:35:33Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": - null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": - "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": - "test@test.com", "children": []}, {"id": "user_488e391395f4416196a31965fecac409", - "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": - "8888888888", "verified": true, "created_at": "2022-05-02T18:48:22Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": "100.00", "secondary_recharge_amount": "100.00", - "recharge_threshold": "0.00", "has_billing_method": true, "cc_fee_rate": "0.0325", - "default_insurance_amount": "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": - "0.25", "email": "email@example.com", "children": []}, {"id": "user_91b120087ff843349b9a3f0675572bb1", - "object": "User", "parent_id": null, "name": "test test", "phone_number": - "8888888888", "verified": true, "created_at": "2022-05-02T19:04:10Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": - null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": - "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": - "test@test.com", "children": []}, {"id": "user_4ae0d572fbe542deb7efa51935a5b826", - "object": "User", "parent_id": null, "name": "test test", "phone_number": - "8888888888", "verified": true, "created_at": "2022-05-02T23:08:40Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": "100.00", "secondary_recharge_amount": "100.00", - "recharge_threshold": "0.00", "has_billing_method": true, "cc_fee_rate": "0.0325", - "default_insurance_amount": "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": - "0.25", "email": "test@test.com", "children": []}, {"id": "user_71189529eba747ce83aa69303e22c7df", - "object": "User", "parent_id": null, "name": "Firstname Lastname", "phone_number": - "8888888888", "verified": true, "created_at": "2022-05-04T22:05:27Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": - null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": - "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": - "email@example.com", "children": []}, {"id": "user_c13290f1f6a442d79657b8bfe5daeeba", - "object": "User", "parent_id": null, "name": "test test", "phone_number": - "8888888888", "verified": true, "created_at": "2022-05-05T16:54:58Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": null, "secondary_recharge_amount": null, "recharge_threshold": - null, "has_billing_method": null, "cc_fee_rate": "0.0325", "default_insurance_amount": - "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", "email": - "email@example.com", "children": []}, {"id": "user_b73fdc6c6a58421ea884a82ad14520a5", - "object": "User", "parent_id": null, "name": "test test", "phone_number": - "8888888888", "verified": true, "created_at": "2022-05-05T16:55:59Z", "default_carbon_offset": - false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": - "0.00000", "recharge_amount": "100.00", "secondary_recharge_amount": "100.00", - "recharge_threshold": "0.00", "has_billing_method": true, "cc_fee_rate": "0.0325", - "default_insurance_amount": "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": - "0.25", "email": "email@example.com", "children": []}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '5654' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf230e798d0c40010c0b6 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.331135' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"user": {"email": "email@example.com"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '40' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: PUT - uri: https://api.easypost.com/v2/referral_customers/user_634b6daa05744bfaa205058f06864363 - response: - body: - string: '{"message": "Referral Customer email updated successfully"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '59' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf230e798d0dc0010c13c - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.116839' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_refunds_create.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_refunds_create.yaml deleted file mode 100644 index 90d5963d..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_refunds_create.yaml +++ /dev/null @@ -1,3079 +0,0 @@ -interactions: -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:41:53Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010707757", "updated_at": "2024-01-19T21:41:54Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_5b9c51d481994019bf4bf817f4d4f5eb", "object": "CustomsInfo", "created_at": - "2024-01-19T21:41:53Z", "updated_at": "2024-01-19T21:41:53Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_c00eecdbdd1e4f1b991badc5660907ea", - "object": "CustomsItem", "created_at": "2024-01-19T21:41:53Z", "updated_at": - "2024-01-19T21:41:53Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_8f6c7415b71311eea231ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:41:53+00:00", "updated_at": - "2024-01-19T21:41:53+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_f005a5bab8e548918a17eecbd50cd8bf", - "object": "Parcel", "created_at": "2024-01-19T21:41:53Z", "updated_at": "2024-01-19T21:41:53Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_aba18bcd06f048dab8b09eb4ac91a959", "created_at": "2024-01-19T21:41:53Z", - "updated_at": "2024-01-19T21:41:54Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:41:53Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e80bbee2189abe4e4c95e36caaadfd9cd3.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_e9c1667bd37944c2a8d4bc86328be313", "object": - "Rate", "created_at": "2024-01-19T21:41:53Z", "updated_at": "2024-01-19T21:41:53Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_31826ec4b32847c9943a27371cc43b28", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_01366477528d42e0b612f9fed816d229", - "object": "Rate", "created_at": "2024-01-19T21:41:53Z", "updated_at": "2024-01-19T21:41:53Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_31826ec4b32847c9943a27371cc43b28", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_fa69bd19c07d4e52bc7cdd7406ce1e9f", - "object": "Rate", "created_at": "2024-01-19T21:41:53Z", "updated_at": "2024-01-19T21:41:53Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_31826ec4b32847c9943a27371cc43b28", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_94e62cbd22724aa0a82b24e12d504ec4", - "object": "Rate", "created_at": "2024-01-19T21:41:53Z", "updated_at": "2024-01-19T21:41:53Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_31826ec4b32847c9943a27371cc43b28", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_d5ae6c00e8744fe3a41d2cd38a1b7cab", "object": "Rate", "created_at": - "2024-01-19T21:41:53Z", "updated_at": "2024-01-19T21:41:53Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_31826ec4b32847c9943a27371cc43b28", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_01366477528d42e0b612f9fed816d229", - "object": "Rate", "created_at": "2024-01-19T21:41:53Z", "updated_at": "2024-01-19T21:41:53Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_31826ec4b32847c9943a27371cc43b28", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_c57db3fe4f4b47ada88af5abe92a4422", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010707757", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:41:54Z", - "updated_at": "2024-01-19T21:41:54Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_31826ec4b32847c9943a27371cc43b28", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrX2M1N2RiM2ZlNGY0YjQ3YWRhODhhZjVhYmU5MmE0NDIy"}, - "to_address": {"id": "adr_8f6a6739b71311eea0913cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:41:53+00:00", "updated_at": "2024-01-19T21:41:53+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_8f6c7415b71311eea231ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:41:53+00:00", "updated_at": - "2024-01-19T21:41:53+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_8f6a6739b71311eea0913cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:41:53+00:00", "updated_at": "2024-01-19T21:41:53+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_31826ec4b32847c9943a27371cc43b28", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_31826ec4b32847c9943a27371cc43b28 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaeca1e78b9f23000d0211 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.046887' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/shipments/shp_31826ec4b32847c9943a27371cc43b28 - response: - body: - string: '{"created_at": "2024-01-19T21:41:53Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010707757", "updated_at": "2024-01-19T21:41:54Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_5b9c51d481994019bf4bf817f4d4f5eb", "object": "CustomsInfo", "created_at": - "2024-01-19T21:41:53Z", "updated_at": "2024-01-19T21:41:53Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_c00eecdbdd1e4f1b991badc5660907ea", - "object": "CustomsItem", "created_at": "2024-01-19T21:41:53Z", "updated_at": - "2024-01-19T21:41:53Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_8f6c7415b71311eea231ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:41:53+00:00", "updated_at": - "2024-01-19T21:41:53+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_f005a5bab8e548918a17eecbd50cd8bf", - "object": "Parcel", "created_at": "2024-01-19T21:41:53Z", "updated_at": "2024-01-19T21:41:53Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_aba18bcd06f048dab8b09eb4ac91a959", "created_at": "2024-01-19T21:41:53Z", - "updated_at": "2024-01-19T21:41:54Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:41:53Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e80bbee2189abe4e4c95e36caaadfd9cd3.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_e9c1667bd37944c2a8d4bc86328be313", "object": - "Rate", "created_at": "2024-01-19T21:41:53Z", "updated_at": "2024-01-19T21:41:53Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_31826ec4b32847c9943a27371cc43b28", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_01366477528d42e0b612f9fed816d229", - "object": "Rate", "created_at": "2024-01-19T21:41:53Z", "updated_at": "2024-01-19T21:41:53Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_31826ec4b32847c9943a27371cc43b28", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_fa69bd19c07d4e52bc7cdd7406ce1e9f", - "object": "Rate", "created_at": "2024-01-19T21:41:53Z", "updated_at": "2024-01-19T21:41:53Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_31826ec4b32847c9943a27371cc43b28", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_94e62cbd22724aa0a82b24e12d504ec4", - "object": "Rate", "created_at": "2024-01-19T21:41:53Z", "updated_at": "2024-01-19T21:41:53Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_31826ec4b32847c9943a27371cc43b28", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_d5ae6c00e8744fe3a41d2cd38a1b7cab", "object": "Rate", "created_at": - "2024-01-19T21:41:53Z", "updated_at": "2024-01-19T21:41:53Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_31826ec4b32847c9943a27371cc43b28", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_01366477528d42e0b612f9fed816d229", - "object": "Rate", "created_at": "2024-01-19T21:41:53Z", "updated_at": "2024-01-19T21:41:53Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_31826ec4b32847c9943a27371cc43b28", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_c57db3fe4f4b47ada88af5abe92a4422", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010707757", - "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:41:54Z", - "updated_at": "2024-01-19T21:41:54Z", "signed_by": null, "weight": null, "est_delivery_date": - "2024-01-19T21:41:54Z", "shipment_id": "shp_31826ec4b32847c9943a27371cc43b28", - "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": - "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-19T21:41:54Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", - "message": "Shipping Label Created", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-20T10:18:54Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": - null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": - null}, "public_url": "https://track.easypost.com/djE6dHJrX2M1N2RiM2ZlNGY0YjQ3YWRhODhhZjVhYmU5MmE0NDIy"}, - "to_address": {"id": "adr_8f6a6739b71311eea0913cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:41:53+00:00", "updated_at": "2024-01-19T21:41:53+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_8f6c7415b71311eea231ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:41:53+00:00", "updated_at": - "2024-01-19T21:41:53+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_8f6a6739b71311eea0913cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:41:53+00:00", "updated_at": "2024-01-19T21:41:53+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_31826ec4b32847c9943a27371cc43b28", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '9480' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaeca2e78b9f24000d02af - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.176564' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"refund": {"carrier": "USPS", "tracking_codes": "9405500207552010707757"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '75' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/refunds - response: - body: - string: '[{"id": "rfnd_bcb3fa1dfbfe4706bd524ee81fd249ab", "object": "Refund", - "created_at": "2024-01-19T21:41:55Z", "updated_at": "2024-01-19T21:41:55Z", - "tracking_code": "9405500207552010707757", "confirmation_number": null, "status": - "submitted", "carrier": "USPS", "shipment_id": "shp_31826ec4b32847c9943a27371cc43b28"}]' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '297' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaeca3e78b9f25000d02eb - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.072552' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:43:49Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010708075", "updated_at": "2024-01-19T21:43:50Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_3c248be691b44583a66f34e5d13e72b7", "object": "CustomsInfo", "created_at": - "2024-01-19T21:43:49Z", "updated_at": "2024-01-19T21:43:49Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_91b8926cb7ff4b48b47e9eaeb5872a6d", - "object": "CustomsItem", "created_at": "2024-01-19T21:43:49Z", "updated_at": - "2024-01-19T21:43:49Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_d4a3f78eb71311eebbe7ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:43:49+00:00", "updated_at": - "2024-01-19T21:43:49+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_36b69bce7b264d9e8ce0d671c13d3d8c", - "object": "Parcel", "created_at": "2024-01-19T21:43:49Z", "updated_at": "2024-01-19T21:43:49Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_7642e30f08034780987ca70471f15505", "created_at": "2024-01-19T21:43:50Z", - "updated_at": "2024-01-19T21:43:50Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:43:50Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e82cfff77806c141ad8bac1753047b6deb.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_9a9cec1b1d2a4a829586b6b20100f05f", "object": - "Rate", "created_at": "2024-01-19T21:43:49Z", "updated_at": "2024-01-19T21:43:49Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_029ee40466a7479fab3f28976fda3322", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_bda2888ad0d74959bdf84866f0730daa", - "object": "Rate", "created_at": "2024-01-19T21:43:49Z", "updated_at": "2024-01-19T21:43:49Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_029ee40466a7479fab3f28976fda3322", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_78e2e11ce4f5443f9d5d34b871759a73", - "object": "Rate", "created_at": "2024-01-19T21:43:49Z", "updated_at": "2024-01-19T21:43:49Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_029ee40466a7479fab3f28976fda3322", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_b54d9a8ee68c4cb28b7f80b7e99ea3da", "object": "Rate", "created_at": - "2024-01-19T21:43:49Z", "updated_at": "2024-01-19T21:43:49Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_029ee40466a7479fab3f28976fda3322", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_922eaf8b7cf64812b883ed0989787a9d", "object": "Rate", "created_at": - "2024-01-19T21:43:49Z", "updated_at": "2024-01-19T21:43:49Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_029ee40466a7479fab3f28976fda3322", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_9a9cec1b1d2a4a829586b6b20100f05f", - "object": "Rate", "created_at": "2024-01-19T21:43:50Z", "updated_at": "2024-01-19T21:43:50Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_029ee40466a7479fab3f28976fda3322", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_a73ce022c46e44e1aa504b610e87d7bc", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708075", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:43:50Z", - "updated_at": "2024-01-19T21:43:50Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_029ee40466a7479fab3f28976fda3322", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrX2E3M2NlMDIyYzQ2ZTQ0ZTFhYTUwNGI2MTBlODdkN2Jj"}, - "to_address": {"id": "adr_d4a191b2b71311eeb9753cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:43:49+00:00", "updated_at": "2024-01-19T21:43:49+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_d4a3f78eb71311eebbe7ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:43:49+00:00", "updated_at": - "2024-01-19T21:43:49+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_d4a191b2b71311eeb9753cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:43:49+00:00", "updated_at": "2024-01-19T21:43:49+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_029ee40466a7479fab3f28976fda3322", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_029ee40466a7479fab3f28976fda3322 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaed15e78ba762000d44df - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.908077' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/shipments/shp_029ee40466a7479fab3f28976fda3322 - response: - body: - string: '{"created_at": "2024-01-19T21:43:49Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010708075", "updated_at": "2024-01-19T21:43:50Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_3c248be691b44583a66f34e5d13e72b7", "object": "CustomsInfo", "created_at": - "2024-01-19T21:43:49Z", "updated_at": "2024-01-19T21:43:49Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_91b8926cb7ff4b48b47e9eaeb5872a6d", - "object": "CustomsItem", "created_at": "2024-01-19T21:43:49Z", "updated_at": - "2024-01-19T21:43:49Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_d4a3f78eb71311eebbe7ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:43:49+00:00", "updated_at": - "2024-01-19T21:43:49+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_36b69bce7b264d9e8ce0d671c13d3d8c", - "object": "Parcel", "created_at": "2024-01-19T21:43:49Z", "updated_at": "2024-01-19T21:43:49Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_7642e30f08034780987ca70471f15505", "created_at": "2024-01-19T21:43:50Z", - "updated_at": "2024-01-19T21:43:50Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:43:50Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e82cfff77806c141ad8bac1753047b6deb.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_9a9cec1b1d2a4a829586b6b20100f05f", "object": - "Rate", "created_at": "2024-01-19T21:43:49Z", "updated_at": "2024-01-19T21:43:49Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_029ee40466a7479fab3f28976fda3322", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_bda2888ad0d74959bdf84866f0730daa", - "object": "Rate", "created_at": "2024-01-19T21:43:49Z", "updated_at": "2024-01-19T21:43:49Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_029ee40466a7479fab3f28976fda3322", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_78e2e11ce4f5443f9d5d34b871759a73", - "object": "Rate", "created_at": "2024-01-19T21:43:49Z", "updated_at": "2024-01-19T21:43:49Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_029ee40466a7479fab3f28976fda3322", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_b54d9a8ee68c4cb28b7f80b7e99ea3da", "object": "Rate", "created_at": - "2024-01-19T21:43:49Z", "updated_at": "2024-01-19T21:43:49Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_029ee40466a7479fab3f28976fda3322", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_922eaf8b7cf64812b883ed0989787a9d", "object": "Rate", "created_at": - "2024-01-19T21:43:49Z", "updated_at": "2024-01-19T21:43:49Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_029ee40466a7479fab3f28976fda3322", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_9a9cec1b1d2a4a829586b6b20100f05f", - "object": "Rate", "created_at": "2024-01-19T21:43:50Z", "updated_at": "2024-01-19T21:43:50Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_029ee40466a7479fab3f28976fda3322", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_a73ce022c46e44e1aa504b610e87d7bc", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708075", - "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:43:50Z", - "updated_at": "2024-01-19T21:43:50Z", "signed_by": null, "weight": null, "est_delivery_date": - "2024-01-19T21:43:50Z", "shipment_id": "shp_029ee40466a7479fab3f28976fda3322", - "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": - "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-19T21:43:50Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", - "message": "Shipping Label Created", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-20T10:20:50Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": - null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": - null}, "public_url": "https://track.easypost.com/djE6dHJrX2E3M2NlMDIyYzQ2ZTQ0ZTFhYTUwNGI2MTBlODdkN2Jj"}, - "to_address": {"id": "adr_d4a191b2b71311eeb9753cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:43:49+00:00", "updated_at": "2024-01-19T21:43:49+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_d4a3f78eb71311eebbe7ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:43:49+00:00", "updated_at": - "2024-01-19T21:43:49+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_d4a191b2b71311eeb9753cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:43:49+00:00", "updated_at": "2024-01-19T21:43:49+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_029ee40466a7479fab3f28976fda3322", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '9480' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaed16e78ba763000d45a6 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.141878' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"refund": {"carrier": "USPS", "tracking_codes": "9405500207552010708075"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '75' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/refunds - response: - body: - string: '[{"id": "rfnd_bbd8f69447104430969831ef7b21d9fa", "object": "Refund", - "created_at": "2024-01-19T21:43:51Z", "updated_at": "2024-01-19T21:43:51Z", - "tracking_code": "9405500207552010708075", "confirmation_number": null, "status": - "submitted", "carrier": "USPS", "shipment_id": "shp_029ee40466a7479fab3f28976fda3322"}]' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '297' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaed17e78ba764000d45dc - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.081607' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:47:41Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010708525", "updated_at": "2024-01-19T21:47:43Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_fa123e5b77864a788292c7762f635ccb", "object": "CustomsInfo", "created_at": - "2024-01-19T21:47:41Z", "updated_at": "2024-01-19T21:47:41Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_9c9f26ded6564424a9b860c057dc590a", - "object": "CustomsItem", "created_at": "2024-01-19T21:47:41Z", "updated_at": - "2024-01-19T21:47:41Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_5f2dc9b9b71411eeb6c6ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:47:41+00:00", "updated_at": - "2024-01-19T21:47:41+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_344a223f9b7d4825b7577bc2ff105e79", - "object": "Parcel", "created_at": "2024-01-19T21:47:41Z", "updated_at": "2024-01-19T21:47:41Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_6ebc507562ba4f7c8ef3135df36beed6", "created_at": "2024-01-19T21:47:42Z", - "updated_at": "2024-01-19T21:47:42Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:47:42Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e832ef6916774c4e90bba24cca4320442b.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_8b5ea727a7744a1d999d6733f19c62e7", "object": - "Rate", "created_at": "2024-01-19T21:47:42Z", "updated_at": "2024-01-19T21:47:42Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_0a54634170f24d1cb2f7fd85b059af17", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_121471ef5f7c4011b85abd6aee88ac0e", - "object": "Rate", "created_at": "2024-01-19T21:47:42Z", "updated_at": "2024-01-19T21:47:42Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_0a54634170f24d1cb2f7fd85b059af17", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_360ace29e7a9445eb3ed8b66a97bdbd2", - "object": "Rate", "created_at": "2024-01-19T21:47:42Z", "updated_at": "2024-01-19T21:47:42Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_0a54634170f24d1cb2f7fd85b059af17", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_86bb3e2e60454d7986f862f36f571a0e", "object": "Rate", "created_at": - "2024-01-19T21:47:42Z", "updated_at": "2024-01-19T21:47:42Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_0a54634170f24d1cb2f7fd85b059af17", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_8ae54668f8b34f159c0c123a68d46392", "object": "Rate", "created_at": - "2024-01-19T21:47:42Z", "updated_at": "2024-01-19T21:47:42Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_0a54634170f24d1cb2f7fd85b059af17", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_8b5ea727a7744a1d999d6733f19c62e7", - "object": "Rate", "created_at": "2024-01-19T21:47:42Z", "updated_at": "2024-01-19T21:47:42Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_0a54634170f24d1cb2f7fd85b059af17", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_5d5e8cf786b24efabf16ab0fb9818956", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708525", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:47:43Z", - "updated_at": "2024-01-19T21:47:43Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_0a54634170f24d1cb2f7fd85b059af17", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzVkNWU4Y2Y3ODZiMjRlZmFiZjE2YWIwZmI5ODE4OTU2"}, - "to_address": {"id": "adr_5f2bb225b71411eea52e3cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:47:41+00:00", "updated_at": "2024-01-19T21:47:42+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_5f2dc9b9b71411eeb6c6ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:47:41+00:00", "updated_at": - "2024-01-19T21:47:41+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_5f2bb225b71411eea52e3cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:47:41+00:00", "updated_at": "2024-01-19T21:47:42+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_0a54634170f24d1cb2f7fd85b059af17", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_0a54634170f24d1cb2f7fd85b059af17 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdac65aaedfde78bafe500113c56 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '1.237853' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/shipments/shp_0a54634170f24d1cb2f7fd85b059af17 - response: - body: - string: '{"created_at": "2024-01-19T21:47:41Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010708525", "updated_at": "2024-01-19T21:47:43Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_fa123e5b77864a788292c7762f635ccb", "object": "CustomsInfo", "created_at": - "2024-01-19T21:47:41Z", "updated_at": "2024-01-19T21:47:41Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_9c9f26ded6564424a9b860c057dc590a", - "object": "CustomsItem", "created_at": "2024-01-19T21:47:41Z", "updated_at": - "2024-01-19T21:47:41Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_5f2dc9b9b71411eeb6c6ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:47:41+00:00", "updated_at": - "2024-01-19T21:47:41+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_344a223f9b7d4825b7577bc2ff105e79", - "object": "Parcel", "created_at": "2024-01-19T21:47:41Z", "updated_at": "2024-01-19T21:47:41Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_6ebc507562ba4f7c8ef3135df36beed6", "created_at": "2024-01-19T21:47:42Z", - "updated_at": "2024-01-19T21:47:42Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:47:42Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e832ef6916774c4e90bba24cca4320442b.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_8b5ea727a7744a1d999d6733f19c62e7", "object": - "Rate", "created_at": "2024-01-19T21:47:42Z", "updated_at": "2024-01-19T21:47:42Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_0a54634170f24d1cb2f7fd85b059af17", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_121471ef5f7c4011b85abd6aee88ac0e", - "object": "Rate", "created_at": "2024-01-19T21:47:42Z", "updated_at": "2024-01-19T21:47:42Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_0a54634170f24d1cb2f7fd85b059af17", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_360ace29e7a9445eb3ed8b66a97bdbd2", - "object": "Rate", "created_at": "2024-01-19T21:47:42Z", "updated_at": "2024-01-19T21:47:42Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_0a54634170f24d1cb2f7fd85b059af17", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_86bb3e2e60454d7986f862f36f571a0e", "object": "Rate", "created_at": - "2024-01-19T21:47:42Z", "updated_at": "2024-01-19T21:47:42Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_0a54634170f24d1cb2f7fd85b059af17", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_8ae54668f8b34f159c0c123a68d46392", "object": "Rate", "created_at": - "2024-01-19T21:47:42Z", "updated_at": "2024-01-19T21:47:42Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_0a54634170f24d1cb2f7fd85b059af17", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_8b5ea727a7744a1d999d6733f19c62e7", - "object": "Rate", "created_at": "2024-01-19T21:47:42Z", "updated_at": "2024-01-19T21:47:42Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_0a54634170f24d1cb2f7fd85b059af17", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_5d5e8cf786b24efabf16ab0fb9818956", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708525", - "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:47:43Z", - "updated_at": "2024-01-19T21:47:43Z", "signed_by": null, "weight": null, "est_delivery_date": - "2024-01-19T21:47:43Z", "shipment_id": "shp_0a54634170f24d1cb2f7fd85b059af17", - "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": - "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-19T21:47:43Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", - "message": "Shipping Label Created", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-20T10:24:43Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": - null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": - null}, "public_url": "https://track.easypost.com/djE6dHJrXzVkNWU4Y2Y3ODZiMjRlZmFiZjE2YWIwZmI5ODE4OTU2"}, - "to_address": {"id": "adr_5f2bb225b71411eea52e3cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:47:41+00:00", "updated_at": "2024-01-19T21:47:42+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_5f2dc9b9b71411eeb6c6ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:47:41+00:00", "updated_at": - "2024-01-19T21:47:41+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_5f2bb225b71411eea52e3cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:47:41+00:00", "updated_at": "2024-01-19T21:47:42+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_0a54634170f24d1cb2f7fd85b059af17", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '9480' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdae65aaedffe78bafe600113d44 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.147794' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"refund": {"carrier": "USPS", "tracking_codes": "9405500207552010708525"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '75' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/refunds - response: - body: - string: '[{"id": "rfnd_a4a1a49fdcb34445b90ced53c8c38e0f", "object": "Refund", - "created_at": "2024-01-19T21:47:44Z", "updated_at": "2024-01-19T21:47:44Z", - "tracking_code": "9405500207552010708525", "confirmation_number": null, "status": - "submitted", "carrier": "USPS", "shipment_id": "shp_0a54634170f24d1cb2f7fd85b059af17"}]' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '297' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda765aaedffe78bafe700113db1 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.221283' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:49:36Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010709065", "updated_at": "2024-01-19T21:49:37Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_3fcf8af2eb894419b26763a9c35eb95c", "object": "CustomsInfo", "created_at": - "2024-01-19T21:49:36Z", "updated_at": "2024-01-19T21:49:36Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_28efecb5b1e34a6c8aa63ef7ee024aab", - "object": "CustomsItem", "created_at": "2024-01-19T21:49:36Z", "updated_at": - "2024-01-19T21:49:36Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_a3989783b71411ee8c57ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:49:36+00:00", "updated_at": - "2024-01-19T21:49:36+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_804bfb9b146d49759ccb123ed61a822b", - "object": "Parcel", "created_at": "2024-01-19T21:49:36Z", "updated_at": "2024-01-19T21:49:36Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_0fd2e54c9b704587a04591d74b54a5cf", "created_at": "2024-01-19T21:49:37Z", - "updated_at": "2024-01-19T21:49:37Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:49:37Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8432caa39371c4e109478f103ebd2cb44.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_e5f9a12c1c7547c7a42a230b4b3cc5c4", "object": - "Rate", "created_at": "2024-01-19T21:49:36Z", "updated_at": "2024-01-19T21:49:36Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_8cf656042058439585a0c34d6b880666", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_56c495e64d494812856efdbe87d2a4fb", - "object": "Rate", "created_at": "2024-01-19T21:49:36Z", "updated_at": "2024-01-19T21:49:36Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_8cf656042058439585a0c34d6b880666", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_555baace612b4cfe8261904bac1a50f0", - "object": "Rate", "created_at": "2024-01-19T21:49:36Z", "updated_at": "2024-01-19T21:49:36Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_8cf656042058439585a0c34d6b880666", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_5e7a48f99a774025936c97767b0780c2", - "object": "Rate", "created_at": "2024-01-19T21:49:36Z", "updated_at": "2024-01-19T21:49:36Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_8cf656042058439585a0c34d6b880666", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_2164d665b6504a4abbfd091c4177119d", "object": "Rate", "created_at": - "2024-01-19T21:49:36Z", "updated_at": "2024-01-19T21:49:36Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_8cf656042058439585a0c34d6b880666", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_56c495e64d494812856efdbe87d2a4fb", - "object": "Rate", "created_at": "2024-01-19T21:49:37Z", "updated_at": "2024-01-19T21:49:37Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_8cf656042058439585a0c34d6b880666", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_2dc7c837483a493d89710ef52b72b989", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010709065", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:49:37Z", - "updated_at": "2024-01-19T21:49:37Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_8cf656042058439585a0c34d6b880666", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzJkYzdjODM3NDgzYTQ5M2Q4OTcxMGVmNTJiNzJiOTg5"}, - "to_address": {"id": "adr_a395d089b71411eebaf53cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:49:36+00:00", "updated_at": "2024-01-19T21:49:36+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_a3989783b71411ee8c57ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:49:36+00:00", "updated_at": - "2024-01-19T21:49:36+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_a395d089b71411eebaf53cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:49:36+00:00", "updated_at": "2024-01-19T21:49:36+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_8cf656042058439585a0c34d6b880666", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_8cf656042058439585a0c34d6b880666 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdaa65aaee70e78bb51100117e72 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '1.012399' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/shipments/shp_8cf656042058439585a0c34d6b880666 - response: - body: - string: '{"created_at": "2024-01-19T21:49:36Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010709065", "updated_at": "2024-01-19T21:49:37Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_3fcf8af2eb894419b26763a9c35eb95c", "object": "CustomsInfo", "created_at": - "2024-01-19T21:49:36Z", "updated_at": "2024-01-19T21:49:36Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_28efecb5b1e34a6c8aa63ef7ee024aab", - "object": "CustomsItem", "created_at": "2024-01-19T21:49:36Z", "updated_at": - "2024-01-19T21:49:36Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_a3989783b71411ee8c57ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:49:36+00:00", "updated_at": - "2024-01-19T21:49:36+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_804bfb9b146d49759ccb123ed61a822b", - "object": "Parcel", "created_at": "2024-01-19T21:49:36Z", "updated_at": "2024-01-19T21:49:36Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_0fd2e54c9b704587a04591d74b54a5cf", "created_at": "2024-01-19T21:49:37Z", - "updated_at": "2024-01-19T21:49:37Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:49:37Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8432caa39371c4e109478f103ebd2cb44.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_e5f9a12c1c7547c7a42a230b4b3cc5c4", "object": - "Rate", "created_at": "2024-01-19T21:49:36Z", "updated_at": "2024-01-19T21:49:36Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_8cf656042058439585a0c34d6b880666", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_56c495e64d494812856efdbe87d2a4fb", - "object": "Rate", "created_at": "2024-01-19T21:49:36Z", "updated_at": "2024-01-19T21:49:36Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_8cf656042058439585a0c34d6b880666", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_555baace612b4cfe8261904bac1a50f0", - "object": "Rate", "created_at": "2024-01-19T21:49:36Z", "updated_at": "2024-01-19T21:49:36Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_8cf656042058439585a0c34d6b880666", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_5e7a48f99a774025936c97767b0780c2", - "object": "Rate", "created_at": "2024-01-19T21:49:36Z", "updated_at": "2024-01-19T21:49:36Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_8cf656042058439585a0c34d6b880666", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_2164d665b6504a4abbfd091c4177119d", "object": "Rate", "created_at": - "2024-01-19T21:49:36Z", "updated_at": "2024-01-19T21:49:36Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_8cf656042058439585a0c34d6b880666", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_56c495e64d494812856efdbe87d2a4fb", - "object": "Rate", "created_at": "2024-01-19T21:49:37Z", "updated_at": "2024-01-19T21:49:37Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_8cf656042058439585a0c34d6b880666", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_2dc7c837483a493d89710ef52b72b989", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010709065", - "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:49:37Z", - "updated_at": "2024-01-19T21:49:37Z", "signed_by": null, "weight": null, "est_delivery_date": - "2024-01-19T21:49:37Z", "shipment_id": "shp_8cf656042058439585a0c34d6b880666", - "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": - "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-19T21:49:37Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", - "message": "Shipping Label Created", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-20T10:26:37Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": - null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": - null}, "public_url": "https://track.easypost.com/djE6dHJrXzJkYzdjODM3NDgzYTQ5M2Q4OTcxMGVmNTJiNzJiOTg5"}, - "to_address": {"id": "adr_a395d089b71411eebaf53cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:49:36+00:00", "updated_at": "2024-01-19T21:49:36+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_a3989783b71411ee8c57ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:49:36+00:00", "updated_at": - "2024-01-19T21:49:36+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_a395d089b71411eebaf53cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:49:36+00:00", "updated_at": "2024-01-19T21:49:36+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_8cf656042058439585a0c34d6b880666", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '9480' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdad65aaee72e78bb51200117fa5 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.158209' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"refund": {"carrier": "USPS", "tracking_codes": "9405500207552010709065"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '75' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/refunds - response: - body: - string: '[{"id": "rfnd_507da5b6804042118ba6bb87e6950faa", "object": "Refund", - "created_at": "2024-01-19T21:49:38Z", "updated_at": "2024-01-19T21:49:38Z", - "tracking_code": "9405500207552010709065", "confirmation_number": null, "status": - "submitted", "carrier": "USPS", "shipment_id": "shp_8cf656042058439585a0c34d6b880666"}]' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '297' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdae65aaee72e78bb51300117fdd - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.071590' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:58:56Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010711501", "updated_at": "2024-01-19T21:58:57Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_1239c4bc7dff42fab6ec4b1404ad4731", "object": "CustomsInfo", "created_at": - "2024-01-19T21:58:56Z", "updated_at": "2024-01-19T21:58:56Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_1c31543ecba241ddb9c33c09ddb29c33", - "object": "CustomsItem", "created_at": "2024-01-19T21:58:56Z", "updated_at": - "2024-01-19T21:58:56Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_f0f3b749b71511eeabfdac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:58:55+00:00", "updated_at": - "2024-01-19T21:58:55+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_f381e66b0eee46ab9bf7bd08f94a48e2", - "object": "Parcel", "created_at": "2024-01-19T21:58:55Z", "updated_at": "2024-01-19T21:58:55Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_0d08e6a000a04e8ab8a5534500e0b615", "created_at": "2024-01-19T21:58:56Z", - "updated_at": "2024-01-19T21:58:56Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:58:56Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e87584f1d3b2cd42139b5944468b3e50e8.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_d410cbeeab154831a9d4a81a66f67ec0", "object": - "Rate", "created_at": "2024-01-19T21:58:56Z", "updated_at": "2024-01-19T21:58:56Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_a814f3ec6dd749829ce9cf20831dd346", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_48b598d65839469e9c658776642358d1", - "object": "Rate", "created_at": "2024-01-19T21:58:56Z", "updated_at": "2024-01-19T21:58:56Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_a814f3ec6dd749829ce9cf20831dd346", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_a811d8b5379343919cca455ac23d37af", - "object": "Rate", "created_at": "2024-01-19T21:58:56Z", "updated_at": "2024-01-19T21:58:56Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_a814f3ec6dd749829ce9cf20831dd346", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_7e6ef27360f44cfa81be09f6231bec6d", - "object": "Rate", "created_at": "2024-01-19T21:58:56Z", "updated_at": "2024-01-19T21:58:56Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_a814f3ec6dd749829ce9cf20831dd346", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_ed074d11e5c5465fa8bc9b6320db7d24", "object": "Rate", "created_at": - "2024-01-19T21:58:56Z", "updated_at": "2024-01-19T21:58:56Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_a814f3ec6dd749829ce9cf20831dd346", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_48b598d65839469e9c658776642358d1", - "object": "Rate", "created_at": "2024-01-19T21:58:56Z", "updated_at": "2024-01-19T21:58:56Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_a814f3ec6dd749829ce9cf20831dd346", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_a2cb3f4e75c54263a60212b657a93d87", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711501", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:58:57Z", - "updated_at": "2024-01-19T21:58:57Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_a814f3ec6dd749829ce9cf20831dd346", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrX2EyY2IzZjRlNzVjNTQyNjNhNjAyMTJiNjU3YTkzZDg3"}, - "to_address": {"id": "adr_f0f11174b71511eebc94ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T21:58:55+00:00", "updated_at": "2024-01-19T21:58:56+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_f0f3b749b71511eeabfdac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:58:55+00:00", "updated_at": - "2024-01-19T21:58:55+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_f0f11174b71511eebc94ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:58:55+00:00", "updated_at": "2024-01-19T21:58:56+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_a814f3ec6dd749829ce9cf20831dd346", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_a814f3ec6dd749829ce9cf20831dd346 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf09fe798bf9e000f8165 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.193989' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/shipments/shp_a814f3ec6dd749829ce9cf20831dd346 - response: - body: - string: '{"created_at": "2024-01-19T21:58:56Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010711501", "updated_at": "2024-01-19T21:58:57Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_1239c4bc7dff42fab6ec4b1404ad4731", "object": "CustomsInfo", "created_at": - "2024-01-19T21:58:56Z", "updated_at": "2024-01-19T21:58:56Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_1c31543ecba241ddb9c33c09ddb29c33", - "object": "CustomsItem", "created_at": "2024-01-19T21:58:56Z", "updated_at": - "2024-01-19T21:58:56Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_f0f3b749b71511eeabfdac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:58:55+00:00", "updated_at": - "2024-01-19T21:58:55+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_f381e66b0eee46ab9bf7bd08f94a48e2", - "object": "Parcel", "created_at": "2024-01-19T21:58:55Z", "updated_at": "2024-01-19T21:58:55Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_0d08e6a000a04e8ab8a5534500e0b615", "created_at": "2024-01-19T21:58:56Z", - "updated_at": "2024-01-19T21:58:56Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:58:56Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e87584f1d3b2cd42139b5944468b3e50e8.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_d410cbeeab154831a9d4a81a66f67ec0", "object": - "Rate", "created_at": "2024-01-19T21:58:56Z", "updated_at": "2024-01-19T21:58:56Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_a814f3ec6dd749829ce9cf20831dd346", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_48b598d65839469e9c658776642358d1", - "object": "Rate", "created_at": "2024-01-19T21:58:56Z", "updated_at": "2024-01-19T21:58:56Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_a814f3ec6dd749829ce9cf20831dd346", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_a811d8b5379343919cca455ac23d37af", - "object": "Rate", "created_at": "2024-01-19T21:58:56Z", "updated_at": "2024-01-19T21:58:56Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_a814f3ec6dd749829ce9cf20831dd346", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_7e6ef27360f44cfa81be09f6231bec6d", - "object": "Rate", "created_at": "2024-01-19T21:58:56Z", "updated_at": "2024-01-19T21:58:56Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_a814f3ec6dd749829ce9cf20831dd346", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_ed074d11e5c5465fa8bc9b6320db7d24", "object": "Rate", "created_at": - "2024-01-19T21:58:56Z", "updated_at": "2024-01-19T21:58:56Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_a814f3ec6dd749829ce9cf20831dd346", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_48b598d65839469e9c658776642358d1", - "object": "Rate", "created_at": "2024-01-19T21:58:56Z", "updated_at": "2024-01-19T21:58:56Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_a814f3ec6dd749829ce9cf20831dd346", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_a2cb3f4e75c54263a60212b657a93d87", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711501", - "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:58:57Z", - "updated_at": "2024-01-19T21:58:57Z", "signed_by": null, "weight": null, "est_delivery_date": - "2024-01-19T21:58:57Z", "shipment_id": "shp_a814f3ec6dd749829ce9cf20831dd346", - "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": - "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-19T21:58:57Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", - "message": "Shipping Label Created", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-20T10:35:57Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": - null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": - null}, "public_url": "https://track.easypost.com/djE6dHJrX2EyY2IzZjRlNzVjNTQyNjNhNjAyMTJiNjU3YTkzZDg3"}, - "to_address": {"id": "adr_f0f11174b71511eebc94ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T21:58:55+00:00", "updated_at": "2024-01-19T21:58:56+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_f0f3b749b71511eeabfdac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:58:55+00:00", "updated_at": - "2024-01-19T21:58:55+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_f0f11174b71511eebc94ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:58:55+00:00", "updated_at": "2024-01-19T21:58:56+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_a814f3ec6dd749829ce9cf20831dd346", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '9480' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf0a1e798bf9f000f822d - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.152023' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"refund": {"carrier": "USPS", "tracking_codes": "9405500207552010711501"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '75' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/refunds - response: - body: - string: '[{"id": "rfnd_7d14232dc8624da9819583fbe53b74e9", "object": "Refund", - "created_at": "2024-01-19T21:58:57Z", "updated_at": "2024-01-19T21:58:57Z", - "tracking_code": "9405500207552010711501", "confirmation_number": null, "status": - "submitted", "carrier": "USPS", "shipment_id": "shp_a814f3ec6dd749829ce9cf20831dd346"}]' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '297' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf0a1e798bfb7000f8255 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.073842' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T22:01:50Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010711945", "updated_at": "2024-01-19T22:01:51Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_349904b8d2a945d2979998387daf6559", "object": "CustomsInfo", "created_at": - "2024-01-19T22:01:50Z", "updated_at": "2024-01-19T22:01:50Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_ecc0402df06b4da3a92ef0fd9edb2b79", - "object": "CustomsItem", "created_at": "2024-01-19T22:01:50Z", "updated_at": - "2024-01-19T22:01:50Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_58fd98e6b71611ee8f2bac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T22:01:50+00:00", "updated_at": - "2024-01-19T22:01:50+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_3b29518b5c984169b48e1691676855a3", - "object": "Parcel", "created_at": "2024-01-19T22:01:50Z", "updated_at": "2024-01-19T22:01:50Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_888c7a6beb0d4b399c5040caa722af09", "created_at": "2024-01-19T22:01:51Z", - "updated_at": "2024-01-19T22:01:51Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T22:01:51Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e88135cb009f2543b4b0931c3d591a468e.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_b09d8df4c23842a48794f537e3919d41", "object": - "Rate", "created_at": "2024-01-19T22:01:50Z", "updated_at": "2024-01-19T22:01:50Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_029bd18cc53a43d58ab17051e2eacb68", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_da85a63191354d908072ad50d44aeaaf", - "object": "Rate", "created_at": "2024-01-19T22:01:50Z", "updated_at": "2024-01-19T22:01:50Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_029bd18cc53a43d58ab17051e2eacb68", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_3b239271276548298ff78f1022101f8c", - "object": "Rate", "created_at": "2024-01-19T22:01:50Z", "updated_at": "2024-01-19T22:01:50Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_029bd18cc53a43d58ab17051e2eacb68", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_29d559470c2a4cce94de1dfcf0367255", - "object": "Rate", "created_at": "2024-01-19T22:01:50Z", "updated_at": "2024-01-19T22:01:50Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_029bd18cc53a43d58ab17051e2eacb68", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_2b22df50c26d43ff80d4265e6fc0ed08", "object": "Rate", "created_at": - "2024-01-19T22:01:50Z", "updated_at": "2024-01-19T22:01:50Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_029bd18cc53a43d58ab17051e2eacb68", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_da85a63191354d908072ad50d44aeaaf", - "object": "Rate", "created_at": "2024-01-19T22:01:51Z", "updated_at": "2024-01-19T22:01:51Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_029bd18cc53a43d58ab17051e2eacb68", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_198123dce113401c83256d1dc6e333dd", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711945", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:01:51Z", - "updated_at": "2024-01-19T22:01:51Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_029bd18cc53a43d58ab17051e2eacb68", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzE5ODEyM2RjZTExMzQwMWM4MzI1NmQxZGM2ZTMzM2Rk"}, - "to_address": {"id": "adr_58fa2bb3b71611ee8f28ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T22:01:50+00:00", "updated_at": "2024-01-19T22:01:50+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_58fd98e6b71611ee8f2bac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T22:01:50+00:00", "updated_at": - "2024-01-19T22:01:50+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_58fa2bb3b71611ee8f28ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T22:01:50+00:00", "updated_at": "2024-01-19T22:01:50+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_029bd18cc53a43d58ab17051e2eacb68", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_029bd18cc53a43d58ab17051e2eacb68 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaf14ee798c7ff00101b12 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.083163' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/shipments/shp_029bd18cc53a43d58ab17051e2eacb68 - response: - body: - string: '{"created_at": "2024-01-19T22:01:50Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010711945", "updated_at": "2024-01-19T22:01:51Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_349904b8d2a945d2979998387daf6559", "object": "CustomsInfo", "created_at": - "2024-01-19T22:01:50Z", "updated_at": "2024-01-19T22:01:50Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_ecc0402df06b4da3a92ef0fd9edb2b79", - "object": "CustomsItem", "created_at": "2024-01-19T22:01:50Z", "updated_at": - "2024-01-19T22:01:50Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_58fd98e6b71611ee8f2bac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T22:01:50+00:00", "updated_at": - "2024-01-19T22:01:50+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_3b29518b5c984169b48e1691676855a3", - "object": "Parcel", "created_at": "2024-01-19T22:01:50Z", "updated_at": "2024-01-19T22:01:50Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_888c7a6beb0d4b399c5040caa722af09", "created_at": "2024-01-19T22:01:51Z", - "updated_at": "2024-01-19T22:01:51Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T22:01:51Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e88135cb009f2543b4b0931c3d591a468e.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_b09d8df4c23842a48794f537e3919d41", "object": - "Rate", "created_at": "2024-01-19T22:01:50Z", "updated_at": "2024-01-19T22:01:50Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_029bd18cc53a43d58ab17051e2eacb68", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_da85a63191354d908072ad50d44aeaaf", - "object": "Rate", "created_at": "2024-01-19T22:01:50Z", "updated_at": "2024-01-19T22:01:50Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_029bd18cc53a43d58ab17051e2eacb68", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_3b239271276548298ff78f1022101f8c", - "object": "Rate", "created_at": "2024-01-19T22:01:50Z", "updated_at": "2024-01-19T22:01:50Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_029bd18cc53a43d58ab17051e2eacb68", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_29d559470c2a4cce94de1dfcf0367255", - "object": "Rate", "created_at": "2024-01-19T22:01:50Z", "updated_at": "2024-01-19T22:01:50Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_029bd18cc53a43d58ab17051e2eacb68", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_2b22df50c26d43ff80d4265e6fc0ed08", "object": "Rate", "created_at": - "2024-01-19T22:01:50Z", "updated_at": "2024-01-19T22:01:50Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_029bd18cc53a43d58ab17051e2eacb68", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_da85a63191354d908072ad50d44aeaaf", - "object": "Rate", "created_at": "2024-01-19T22:01:51Z", "updated_at": "2024-01-19T22:01:51Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_029bd18cc53a43d58ab17051e2eacb68", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_198123dce113401c83256d1dc6e333dd", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711945", - "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T22:01:51Z", - "updated_at": "2024-01-19T22:01:51Z", "signed_by": null, "weight": null, "est_delivery_date": - "2024-01-19T22:01:51Z", "shipment_id": "shp_029bd18cc53a43d58ab17051e2eacb68", - "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": - "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-19T22:01:51Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", - "message": "Shipping Label Created", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-20T10:38:51Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": - null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": - null}, "public_url": "https://track.easypost.com/djE6dHJrXzE5ODEyM2RjZTExMzQwMWM4MzI1NmQxZGM2ZTMzM2Rk"}, - "to_address": {"id": "adr_58fa2bb3b71611ee8f28ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T22:01:50+00:00", "updated_at": "2024-01-19T22:01:50+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_58fd98e6b71611ee8f2bac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T22:01:50+00:00", "updated_at": - "2024-01-19T22:01:50+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_58fa2bb3b71611ee8f28ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T22:01:50+00:00", "updated_at": "2024-01-19T22:01:50+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_029bd18cc53a43d58ab17051e2eacb68", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '9480' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf14fe798c80000101c08 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.143977' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"refund": {"carrier": "USPS", "tracking_codes": "9405500207552010711945"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '75' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/refunds - response: - body: - string: '[{"id": "rfnd_a48a7bb106d34bdd964e834280edac4a", "object": "Refund", - "created_at": "2024-01-19T22:01:52Z", "updated_at": "2024-01-19T22:01:52Z", - "tracking_code": "9405500207552010711945", "confirmation_number": null, "status": - "submitted", "carrier": "USPS", "shipment_id": "shp_029bd18cc53a43d58ab17051e2eacb68"}]' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '297' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf150e798c81800101c49 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.090947' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T22:05:37Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010712751", "updated_at": "2024-01-19T22:05:38Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_25dc6538dbe54cf58b018275b3f16b32", "object": "CustomsInfo", "created_at": - "2024-01-19T22:05:37Z", "updated_at": "2024-01-19T22:05:37Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_a07a1c427f5c4d038c0cd5c9b9e5953b", - "object": "CustomsItem", "created_at": "2024-01-19T22:05:37Z", "updated_at": - "2024-01-19T22:05:37Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_e0712be4b71611eeb987ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:05:37+00:00", "updated_at": - "2024-01-19T22:05:37+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_ac71c5950eec4f5aa6b5b828b2aa002c", - "object": "Parcel", "created_at": "2024-01-19T22:05:37Z", "updated_at": "2024-01-19T22:05:37Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_4797df8325f44e938f154c3a897c6e5a", "created_at": "2024-01-19T22:05:38Z", - "updated_at": "2024-01-19T22:05:38Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T22:05:38Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e84c37ee512ece499f88e4f2713a935dcb.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_46f3afdb0273419f893097d83690beca", "object": - "Rate", "created_at": "2024-01-19T22:05:37Z", "updated_at": "2024-01-19T22:05:37Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_82d6d2c4dc54475f909ac8080da5e80a", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_47165d2298104fb6a7c94cd3d50af344", - "object": "Rate", "created_at": "2024-01-19T22:05:37Z", "updated_at": "2024-01-19T22:05:37Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_82d6d2c4dc54475f909ac8080da5e80a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_67b1d29cfc5c46dc8ee4f70963b594d8", "object": "Rate", "created_at": - "2024-01-19T22:05:37Z", "updated_at": "2024-01-19T22:05:37Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_82d6d2c4dc54475f909ac8080da5e80a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_5e200cdb32f041c1b55b49e16d68b341", "object": "Rate", "created_at": - "2024-01-19T22:05:37Z", "updated_at": "2024-01-19T22:05:37Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_82d6d2c4dc54475f909ac8080da5e80a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_5db41dba1baf4538bba32d71ad3387a3", "object": "Rate", "created_at": - "2024-01-19T22:05:37Z", "updated_at": "2024-01-19T22:05:37Z", "mode": "test", - "service": "Priority", "carrier": "USPS", "rate": "7.99", "currency": "USD", - "retail_rate": "14.05", "retail_currency": "USD", "list_rate": "10.27", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": - "shp_82d6d2c4dc54475f909ac8080da5e80a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_5db41dba1baf4538bba32d71ad3387a3", - "object": "Rate", "created_at": "2024-01-19T22:05:38Z", "updated_at": "2024-01-19T22:05:38Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_82d6d2c4dc54475f909ac8080da5e80a", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_dd84ff1adca8474192edd2b66db7917a", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010712751", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:05:38Z", - "updated_at": "2024-01-19T22:05:38Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_82d6d2c4dc54475f909ac8080da5e80a", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrX2RkODRmZjFhZGNhODQ3NDE5MmVkZDJiNjZkYjc5MTdh"}, - "to_address": {"id": "adr_e06e4b60b71611eeb984ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T22:05:37+00:00", "updated_at": "2024-01-19T22:05:38+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_e0712be4b71611eeb987ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:05:37+00:00", "updated_at": - "2024-01-19T22:05:37+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_e06e4b60b71611eeb984ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T22:05:37+00:00", "updated_at": "2024-01-19T22:05:38+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_82d6d2c4dc54475f909ac8080da5e80a", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_82d6d2c4dc54475f909ac8080da5e80a - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf231e798d0de0010c1dc - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.030482' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/shipments/shp_82d6d2c4dc54475f909ac8080da5e80a - response: - body: - string: '{"created_at": "2024-01-19T22:05:37Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010712751", "updated_at": "2024-01-19T22:05:38Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_25dc6538dbe54cf58b018275b3f16b32", "object": "CustomsInfo", "created_at": - "2024-01-19T22:05:37Z", "updated_at": "2024-01-19T22:05:37Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_a07a1c427f5c4d038c0cd5c9b9e5953b", - "object": "CustomsItem", "created_at": "2024-01-19T22:05:37Z", "updated_at": - "2024-01-19T22:05:37Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_e0712be4b71611eeb987ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:05:37+00:00", "updated_at": - "2024-01-19T22:05:37+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_ac71c5950eec4f5aa6b5b828b2aa002c", - "object": "Parcel", "created_at": "2024-01-19T22:05:37Z", "updated_at": "2024-01-19T22:05:37Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_4797df8325f44e938f154c3a897c6e5a", "created_at": "2024-01-19T22:05:38Z", - "updated_at": "2024-01-19T22:05:38Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T22:05:38Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e84c37ee512ece499f88e4f2713a935dcb.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_46f3afdb0273419f893097d83690beca", "object": - "Rate", "created_at": "2024-01-19T22:05:37Z", "updated_at": "2024-01-19T22:05:37Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_82d6d2c4dc54475f909ac8080da5e80a", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_47165d2298104fb6a7c94cd3d50af344", - "object": "Rate", "created_at": "2024-01-19T22:05:37Z", "updated_at": "2024-01-19T22:05:37Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_82d6d2c4dc54475f909ac8080da5e80a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_67b1d29cfc5c46dc8ee4f70963b594d8", "object": "Rate", "created_at": - "2024-01-19T22:05:37Z", "updated_at": "2024-01-19T22:05:37Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_82d6d2c4dc54475f909ac8080da5e80a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_5e200cdb32f041c1b55b49e16d68b341", "object": "Rate", "created_at": - "2024-01-19T22:05:37Z", "updated_at": "2024-01-19T22:05:37Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_82d6d2c4dc54475f909ac8080da5e80a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_5db41dba1baf4538bba32d71ad3387a3", "object": "Rate", "created_at": - "2024-01-19T22:05:37Z", "updated_at": "2024-01-19T22:05:37Z", "mode": "test", - "service": "Priority", "carrier": "USPS", "rate": "7.99", "currency": "USD", - "retail_rate": "14.05", "retail_currency": "USD", "list_rate": "10.27", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": - "shp_82d6d2c4dc54475f909ac8080da5e80a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_5db41dba1baf4538bba32d71ad3387a3", - "object": "Rate", "created_at": "2024-01-19T22:05:38Z", "updated_at": "2024-01-19T22:05:38Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_82d6d2c4dc54475f909ac8080da5e80a", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_dd84ff1adca8474192edd2b66db7917a", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010712751", - "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T22:05:38Z", - "updated_at": "2024-01-19T22:05:38Z", "signed_by": null, "weight": null, "est_delivery_date": - "2024-01-19T22:05:38Z", "shipment_id": "shp_82d6d2c4dc54475f909ac8080da5e80a", - "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": - "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-19T22:05:38Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", - "message": "Shipping Label Created", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-20T10:42:38Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": - null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": - null}, "public_url": "https://track.easypost.com/djE6dHJrX2RkODRmZjFhZGNhODQ3NDE5MmVkZDJiNjZkYjc5MTdh"}, - "to_address": {"id": "adr_e06e4b60b71611eeb984ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T22:05:37+00:00", "updated_at": "2024-01-19T22:05:38+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_e0712be4b71611eeb987ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:05:37+00:00", "updated_at": - "2024-01-19T22:05:37+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_e06e4b60b71611eeb984ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T22:05:37+00:00", "updated_at": "2024-01-19T22:05:38+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_82d6d2c4dc54475f909ac8080da5e80a", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '9480' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf232e798d0df0010c2c8 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.184464' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"refund": {"carrier": "USPS", "tracking_codes": "9405500207552010712751"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '75' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/refunds - response: - body: - string: '[{"id": "rfnd_c09e4177ad2145af988e4ebb667c3e61", "object": "Refund", - "created_at": "2024-01-19T22:05:39Z", "updated_at": "2024-01-19T22:05:39Z", - "tracking_code": "9405500207552010712751", "confirmation_number": null, "status": - "submitted", "carrier": "USPS", "shipment_id": "shp_82d6d2c4dc54475f909ac8080da5e80a"}]' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '297' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf233e798d0e00010c344 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.072909' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_refunds_list.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_refunds_list.yaml deleted file mode 100644 index 146af417..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_refunds_list.yaml +++ /dev/null @@ -1,459 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/refunds?page_size=1 - response: - body: - string: '{"refunds": [{"id": "rfnd_bcb3fa1dfbfe4706bd524ee81fd249ab", "object": - "Refund", "created_at": "2024-01-19T21:41:55Z", "updated_at": "2024-01-19T21:41:55Z", - "tracking_code": "9405500207552010707757", "confirmation_number": null, "status": - "submitted", "carrier": "USPS", "shipment_id": "shp_31826ec4b32847c9943a27371cc43b28"}], - "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '325' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaeca3e78b9f26000d031c - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.065179' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/refunds?page_size=1 - response: - body: - string: '{"refunds": [{"id": "rfnd_bbd8f69447104430969831ef7b21d9fa", "object": - "Refund", "created_at": "2024-01-19T21:43:51Z", "updated_at": "2024-01-19T21:43:51Z", - "tracking_code": "9405500207552010708075", "confirmation_number": null, "status": - "submitted", "carrier": "USPS", "shipment_id": "shp_029ee40466a7479fab3f28976fda3322"}], - "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '325' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaed17e78ba765000d462e - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.033071' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/refunds?page_size=1 - response: - body: - string: '{"refunds": [{"id": "rfnd_a4a1a49fdcb34445b90ced53c8c38e0f", "object": - "Refund", "created_at": "2024-01-19T21:47:44Z", "updated_at": "2024-01-19T21:47:44Z", - "tracking_code": "9405500207552010708525", "confirmation_number": null, "status": - "submitted", "carrier": "USPS", "shipment_id": "shp_0a54634170f24d1cb2f7fd85b059af17"}], - "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '325' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdae65aaee00e78bafe800113e08 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.034338' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/refunds?page_size=1 - response: - body: - string: '{"refunds": [{"id": "rfnd_507da5b6804042118ba6bb87e6950faa", "object": - "Refund", "created_at": "2024-01-19T21:49:38Z", "updated_at": "2024-01-19T21:49:38Z", - "tracking_code": "9405500207552010709065", "confirmation_number": null, "status": - "submitted", "carrier": "USPS", "shipment_id": "shp_8cf656042058439585a0c34d6b880666"}], - "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '325' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdad65aaee72e78bb51400118014 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.041866' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/refunds?page_size=1 - response: - body: - string: '{"refunds": [{"id": "rfnd_7d14232dc8624da9819583fbe53b74e9", "object": - "Refund", "created_at": "2024-01-19T21:58:57Z", "updated_at": "2024-01-19T21:58:57Z", - "tracking_code": "9405500207552010711501", "confirmation_number": null, "status": - "submitted", "carrier": "USPS", "shipment_id": "shp_a814f3ec6dd749829ce9cf20831dd346"}], - "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '325' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaf0a2e798bfb8000f829a - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.038590' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/refunds?page_size=1 - response: - body: - string: '{"refunds": [{"id": "rfnd_a48a7bb106d34bdd964e834280edac4a", "object": - "Refund", "created_at": "2024-01-19T22:01:52Z", "updated_at": "2024-01-19T22:01:52Z", - "tracking_code": "9405500207552010711945", "confirmation_number": null, "status": - "submitted", "carrier": "USPS", "shipment_id": "shp_029bd18cc53a43d58ab17051e2eacb68"}], - "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '325' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf150e798c81900101cea - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.035921' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/refunds?page_size=1 - response: - body: - string: '{"refunds": [{"id": "rfnd_c09e4177ad2145af988e4ebb667c3e61", "object": - "Refund", "created_at": "2024-01-19T22:05:39Z", "updated_at": "2024-01-19T22:05:39Z", - "tracking_code": "9405500207552010712751", "confirmation_number": null, "status": - "submitted", "carrier": "USPS", "shipment_id": "shp_82d6d2c4dc54475f909ac8080da5e80a"}], - "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '325' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaf234e798d0e10010c3ae - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.053188' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_refunds_retrieve.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_refunds_retrieve.yaml deleted file mode 100644 index c815eb58..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_refunds_retrieve.yaml +++ /dev/null @@ -1,913 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/refunds?page_size=1 - response: - body: - string: '{"refunds": [{"id": "rfnd_bcb3fa1dfbfe4706bd524ee81fd249ab", "object": - "Refund", "created_at": "2024-01-19T21:41:55Z", "updated_at": "2024-01-19T21:41:55Z", - "tracking_code": "9405500207552010707757", "confirmation_number": null, "status": - "submitted", "carrier": "USPS", "shipment_id": "shp_31826ec4b32847c9943a27371cc43b28"}], - "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '325' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaeca3e78b9f27000d0346 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.046971' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/refunds/rfnd_bcb3fa1dfbfe4706bd524ee81fd249ab - response: - body: - string: '{"id": "rfnd_bcb3fa1dfbfe4706bd524ee81fd249ab", "object": "Refund", - "created_at": "2024-01-19T21:41:55Z", "updated_at": "2024-01-19T21:41:55Z", - "tracking_code": "9405500207552010707757", "confirmation_number": null, "status": - "submitted", "carrier": "USPS", "shipment_id": "shp_31826ec4b32847c9943a27371cc43b28"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '295' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaeca4e78b9f28000d038f - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.035147' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/refunds?page_size=1 - response: - body: - string: '{"refunds": [{"id": "rfnd_bbd8f69447104430969831ef7b21d9fa", "object": - "Refund", "created_at": "2024-01-19T21:43:51Z", "updated_at": "2024-01-19T21:43:51Z", - "tracking_code": "9405500207552010708075", "confirmation_number": null, "status": - "submitted", "carrier": "USPS", "shipment_id": "shp_029ee40466a7479fab3f28976fda3322"}], - "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '325' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaed17e78ba766000d4659 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.037495' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/refunds/rfnd_bbd8f69447104430969831ef7b21d9fa - response: - body: - string: '{"id": "rfnd_bbd8f69447104430969831ef7b21d9fa", "object": "Refund", - "created_at": "2024-01-19T21:43:51Z", "updated_at": "2024-01-19T21:43:51Z", - "tracking_code": "9405500207552010708075", "confirmation_number": null, "status": - "submitted", "carrier": "USPS", "shipment_id": "shp_029ee40466a7479fab3f28976fda3322"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '295' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaed17e78ba767000d4681 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.139280' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/refunds?page_size=1 - response: - body: - string: '{"refunds": [{"id": "rfnd_a4a1a49fdcb34445b90ced53c8c38e0f", "object": - "Refund", "created_at": "2024-01-19T21:47:44Z", "updated_at": "2024-01-19T21:47:44Z", - "tracking_code": "9405500207552010708525", "confirmation_number": null, "status": - "submitted", "carrier": "USPS", "shipment_id": "shp_0a54634170f24d1cb2f7fd85b059af17"}], - "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '325' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda765aaee00e78bafe900113e36 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.041251' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/refunds/rfnd_a4a1a49fdcb34445b90ced53c8c38e0f - response: - body: - string: '{"id": "rfnd_a4a1a49fdcb34445b90ced53c8c38e0f", "object": "Refund", - "created_at": "2024-01-19T21:47:44Z", "updated_at": "2024-01-19T21:47:44Z", - "tracking_code": "9405500207552010708525", "confirmation_number": null, "status": - "submitted", "carrier": "USPS", "shipment_id": "shp_0a54634170f24d1cb2f7fd85b059af17"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '295' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdae65aaee00e78bafea00113e58 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.033944' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/refunds?page_size=1 - response: - body: - string: '{"refunds": [{"id": "rfnd_507da5b6804042118ba6bb87e6950faa", "object": - "Refund", "created_at": "2024-01-19T21:49:38Z", "updated_at": "2024-01-19T21:49:38Z", - "tracking_code": "9405500207552010709065", "confirmation_number": null, "status": - "submitted", "carrier": "USPS", "shipment_id": "shp_8cf656042058439585a0c34d6b880666"}], - "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '325' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdae65aaee73e78bb52c00118033 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.038461' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/refunds/rfnd_507da5b6804042118ba6bb87e6950faa - response: - body: - string: '{"id": "rfnd_507da5b6804042118ba6bb87e6950faa", "object": "Refund", - "created_at": "2024-01-19T21:49:38Z", "updated_at": "2024-01-19T21:49:38Z", - "tracking_code": "9405500207552010709065", "confirmation_number": null, "status": - "submitted", "carrier": "USPS", "shipment_id": "shp_8cf656042058439585a0c34d6b880666"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '295' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdae65aaee73e78bb52d0011805a - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.033030' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/refunds?page_size=1 - response: - body: - string: '{"refunds": [{"id": "rfnd_7d14232dc8624da9819583fbe53b74e9", "object": - "Refund", "created_at": "2024-01-19T21:58:57Z", "updated_at": "2024-01-19T21:58:57Z", - "tracking_code": "9405500207552010711501", "confirmation_number": null, "status": - "submitted", "carrier": "USPS", "shipment_id": "shp_a814f3ec6dd749829ce9cf20831dd346"}], - "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '325' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaf0a2e798bfb9000f82c3 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.038101' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/refunds/rfnd_7d14232dc8624da9819583fbe53b74e9 - response: - body: - string: '{"id": "rfnd_7d14232dc8624da9819583fbe53b74e9", "object": "Refund", - "created_at": "2024-01-19T21:58:57Z", "updated_at": "2024-01-19T21:58:57Z", - "tracking_code": "9405500207552010711501", "confirmation_number": null, "status": - "submitted", "carrier": "USPS", "shipment_id": "shp_a814f3ec6dd749829ce9cf20831dd346"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '295' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf0a2e798bfba000f82eb - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.035689' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/refunds?page_size=1 - response: - body: - string: '{"refunds": [{"id": "rfnd_a48a7bb106d34bdd964e834280edac4a", "object": - "Refund", "created_at": "2024-01-19T22:01:52Z", "updated_at": "2024-01-19T22:01:52Z", - "tracking_code": "9405500207552010711945", "confirmation_number": null, "status": - "submitted", "carrier": "USPS", "shipment_id": "shp_029bd18cc53a43d58ab17051e2eacb68"}], - "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '325' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf151e798c81a00101d30 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.037573' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/refunds/rfnd_a48a7bb106d34bdd964e834280edac4a - response: - body: - string: '{"id": "rfnd_a48a7bb106d34bdd964e834280edac4a", "object": "Refund", - "created_at": "2024-01-19T22:01:52Z", "updated_at": "2024-01-19T22:01:52Z", - "tracking_code": "9405500207552010711945", "confirmation_number": null, "status": - "submitted", "carrier": "USPS", "shipment_id": "shp_029bd18cc53a43d58ab17051e2eacb68"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '295' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf151e798c81d00101d62 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.033564' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/refunds?page_size=1 - response: - body: - string: '{"refunds": [{"id": "rfnd_c09e4177ad2145af988e4ebb667c3e61", "object": - "Refund", "created_at": "2024-01-19T22:05:39Z", "updated_at": "2024-01-19T22:05:39Z", - "tracking_code": "9405500207552010712751", "confirmation_number": null, "status": - "submitted", "carrier": "USPS", "shipment_id": "shp_82d6d2c4dc54475f909ac8080da5e80a"}], - "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '325' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaf234e798d0e20010c3e7 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.040491' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/refunds/rfnd_c09e4177ad2145af988e4ebb667c3e61 - response: - body: - string: '{"id": "rfnd_c09e4177ad2145af988e4ebb667c3e61", "object": "Refund", - "created_at": "2024-01-19T22:05:39Z", "updated_at": "2024-01-19T22:05:39Z", - "tracking_code": "9405500207552010712751", "confirmation_number": null, "status": - "submitted", "carrier": "USPS", "shipment_id": "shp_82d6d2c4dc54475f909ac8080da5e80a"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '295' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf235e798d0e30010c457 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.037898' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_reports_create.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_reports_create.yaml deleted file mode 100644 index eee81927..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_reports_create.yaml +++ /dev/null @@ -1,478 +0,0 @@ -interactions: -- request: - body: '{"start_date": "2022-10-01", "end_date": "2022-10-01"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '54' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/reports/shipment - response: - body: - string: '{"id": "shprep_1a2add2499724affb3392a13f2ccb9f7", "object": "ShipmentReport", - "created_at": "2024-01-19T21:41:56Z", "updated_at": "2024-01-19T21:41:56Z", - "start_date": "2022-10-01", "end_date": "2022-10-01", "mode": "test", "status": - "new", "url": null, "url_expires_at": null, "include_children": false}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '283' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaeca4e78b9f29000d03b7 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.056676' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"start_date": "2022-10-01", "end_date": "2022-10-01"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '54' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/reports/shipment - response: - body: - string: '{"id": "shprep_36360f6f19c6426784a3cc6a47b04fa6", "object": "ShipmentReport", - "created_at": "2024-01-19T21:43:52Z", "updated_at": "2024-01-19T21:43:52Z", - "start_date": "2022-10-01", "end_date": "2022-10-01", "mode": "test", "status": - "new", "url": null, "url_expires_at": null, "include_children": false}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '283' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaed18e78ba768000d46bf - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.091424' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"start_date": "2022-10-01", "end_date": "2022-10-01"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '54' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/reports/shipment - response: - body: - string: '{"id": "shprep_7bed1450949648f1b730d95ab6ee714a", "object": "ShipmentReport", - "created_at": "2024-01-19T21:47:45Z", "updated_at": "2024-01-19T21:47:45Z", - "start_date": "2022-10-01", "end_date": "2022-10-01", "mode": "test", "status": - "new", "url": null, "url_expires_at": null, "include_children": false}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '283' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdab65aaee01e78bafeb00113e96 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.059476' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"start_date": "2022-10-01", "end_date": "2022-10-01"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '54' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/reports/shipment - response: - body: - string: '{"id": "shprep_1de3b15b0f5647899dc86199e781e800", "object": "ShipmentReport", - "created_at": "2024-01-19T21:49:39Z", "updated_at": "2024-01-19T21:49:39Z", - "start_date": "2022-10-01", "end_date": "2022-10-01", "mode": "test", "status": - "new", "url": null, "url_expires_at": null, "include_children": false}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '283' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdac65aaee73e78bb52e0011807f - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.060342' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"start_date": "2022-10-01", "end_date": "2022-10-01"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '54' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/reports/shipment - response: - body: - string: '{"id": "shprep_e6f030d77dec4a3ea914844646d90498", "object": "ShipmentReport", - "created_at": "2024-01-19T21:58:59Z", "updated_at": "2024-01-19T21:58:59Z", - "start_date": "2022-10-01", "end_date": "2022-10-01", "mode": "test", "status": - "new", "url": null, "url_expires_at": null, "include_children": false}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '283' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaf0a3e798bfbb000f8319 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.050357' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"start_date": "2022-10-01", "end_date": "2022-10-01"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '54' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/reports/shipment - response: - body: - string: '{"id": "shprep_e9e2df2a35564753b10fabe53ee264e0", "object": "ShipmentReport", - "created_at": "2024-01-19T22:01:53Z", "updated_at": "2024-01-19T22:01:53Z", - "start_date": "2022-10-01", "end_date": "2022-10-01", "mode": "test", "status": - "new", "url": null, "url_expires_at": null, "include_children": false}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '283' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf151e798c82000101dad - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.102658' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"start_date": "2022-10-01", "end_date": "2022-10-01"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '54' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/reports/shipment - response: - body: - string: '{"id": "shprep_7a6356a335b149fd976e4ddc64d56fe1", "object": "ShipmentReport", - "created_at": "2024-01-19T22:05:41Z", "updated_at": "2024-01-19T22:05:41Z", - "start_date": "2022-10-01", "end_date": "2022-10-01", "mode": "test", "status": - "new", "url": null, "url_expires_at": null, "include_children": false}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '283' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf235e798d0e40010c4ab - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.058384' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_reports_list.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_reports_list.yaml deleted file mode 100644 index 7bc15c08..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_reports_list.yaml +++ /dev/null @@ -1,459 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/reports/shipment?page_size=1 - response: - body: - string: '{"reports": [{"id": "shprep_b849ea9c3a0d4f248255f0dca4f28040", "object": - "ShipmentReport", "created_at": "2024-01-19T21:41:56Z", "updated_at": "2024-01-19T21:41:57Z", - "start_date": "2022-10-01", "end_date": "2022-10-01", "mode": "test", "status": - "empty", "url": null, "url_expires_at": null, "include_children": false}], - "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '315' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaeca5e78b9f43000d043d - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.074613' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/reports/shipment?page_size=1 - response: - body: - string: '{"reports": [{"id": "shprep_3c985eaefaf84b918e3a7cd13c42b4a3", "object": - "ShipmentReport", "created_at": "2024-01-19T21:43:52Z", "updated_at": "2024-01-19T21:43:52Z", - "start_date": "2022-10-01", "end_date": "2022-10-01", "mode": "test", "status": - "empty", "url": null, "url_expires_at": null, "include_children": false}], - "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '315' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaed19e78ba782000d4787 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.047569' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/reports/shipment?page_size=1 - response: - body: - string: '{"reports": [{"id": "shprep_089003c0042c4807bef27a56e219f651", "object": - "ShipmentReport", "created_at": "2024-01-19T21:47:45Z", "updated_at": "2024-01-19T21:47:45Z", - "start_date": "2022-10-01", "end_date": "2022-10-01", "mode": "test", "status": - "empty", "url": null, "url_expires_at": null, "include_children": false}], - "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '315' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda765aaee02e78bb00500113f1e - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.046916' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/reports/shipment?page_size=1 - response: - body: - string: '{"reports": [{"id": "shprep_946144479ef8495faa2baf8d741daace", "object": - "ShipmentReport", "created_at": "2024-01-19T21:49:40Z", "updated_at": "2024-01-19T21:49:40Z", - "start_date": "2022-10-01", "end_date": "2022-10-01", "mode": "test", "status": - "empty", "url": null, "url_expires_at": null, "include_children": false}], - "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '315' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdad65aaee74e78bb531001180f6 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.050913' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/reports/shipment?page_size=1 - response: - body: - string: '{"reports": [{"id": "shprep_dd35c5f7464247ecb38ef96430402e28", "object": - "ShipmentReport", "created_at": "2024-01-19T21:58:59Z", "updated_at": "2024-01-19T21:58:59Z", - "start_date": "2022-10-01", "end_date": "2022-10-01", "mode": "test", "status": - "empty", "url": null, "url_expires_at": null, "include_children": false}], - "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '315' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaf0a4e798bfbe000f83bc - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.035849' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/reports/shipment?page_size=1 - response: - body: - string: '{"reports": [{"id": "shprep_7fe6a33016a849999785f97043857fb4", "object": - "ShipmentReport", "created_at": "2024-01-19T22:01:54Z", "updated_at": "2024-01-19T22:01:54Z", - "start_date": "2022-10-01", "end_date": "2022-10-01", "mode": "test", "status": - "empty", "url": null, "url_expires_at": null, "include_children": false}], - "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '315' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaf152e798c83a00101e54 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.034232' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/reports/shipment?page_size=1 - response: - body: - string: '{"reports": [{"id": "shprep_2a996421686a46ad9dce115eed3edc28", "object": - "ShipmentReport", "created_at": "2024-01-19T22:05:41Z", "updated_at": "2024-01-19T22:05:41Z", - "start_date": "2022-10-01", "end_date": "2022-10-01", "mode": "test", "status": - "empty", "url": null, "url_expires_at": null, "include_children": false}], - "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '315' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf236e798d0fe0010c58f - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.036454' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_reports_retrieve.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_reports_retrieve.yaml deleted file mode 100644 index 95b82673..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_reports_retrieve.yaml +++ /dev/null @@ -1,930 +0,0 @@ -interactions: -- request: - body: '{"start_date": "2022-10-01", "end_date": "2022-10-01"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '54' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/reports/shipment - response: - body: - string: '{"id": "shprep_b849ea9c3a0d4f248255f0dca4f28040", "object": "ShipmentReport", - "created_at": "2024-01-19T21:41:56Z", "updated_at": "2024-01-19T21:41:56Z", - "start_date": "2022-10-01", "end_date": "2022-10-01", "mode": "test", "status": - "new", "url": null, "url_expires_at": null, "include_children": false}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '283' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaeca4e78b9f2a000d03ef - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.056613' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/reports/shprep_b849ea9c3a0d4f248255f0dca4f28040 - response: - body: - string: '{"id": "shprep_b849ea9c3a0d4f248255f0dca4f28040", "object": "ShipmentReport", - "created_at": "2024-01-19T21:41:56Z", "updated_at": "2024-01-19T21:41:56Z", - "start_date": "2022-10-01", "end_date": "2022-10-01", "mode": "test", "status": - "new", "url": null, "url_expires_at": null, "include_children": false}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '283' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaeca5e78b9f42000d0416 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.044023' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"start_date": "2022-10-01", "end_date": "2022-10-01"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '54' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/reports/shipment - response: - body: - string: '{"id": "shprep_3c985eaefaf84b918e3a7cd13c42b4a3", "object": "ShipmentReport", - "created_at": "2024-01-19T21:43:52Z", "updated_at": "2024-01-19T21:43:52Z", - "start_date": "2022-10-01", "end_date": "2022-10-01", "mode": "test", "status": - "new", "url": null, "url_expires_at": null, "include_children": false}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '283' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaed18e78ba769000d4702 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.062987' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/reports/shprep_3c985eaefaf84b918e3a7cd13c42b4a3 - response: - body: - string: '{"id": "shprep_3c985eaefaf84b918e3a7cd13c42b4a3", "object": "ShipmentReport", - "created_at": "2024-01-19T21:43:52Z", "updated_at": "2024-01-19T21:43:52Z", - "start_date": "2022-10-01", "end_date": "2022-10-01", "mode": "test", "status": - "empty", "url": null, "url_expires_at": null, "include_children": false}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '285' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaed19e78ba76a000d474b - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.045030' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"start_date": "2022-10-01", "end_date": "2022-10-01"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '54' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/reports/shipment - response: - body: - string: '{"id": "shprep_089003c0042c4807bef27a56e219f651", "object": "ShipmentReport", - "created_at": "2024-01-19T21:47:45Z", "updated_at": "2024-01-19T21:47:45Z", - "start_date": "2022-10-01", "end_date": "2022-10-01", "mode": "test", "status": - "new", "url": null, "url_expires_at": null, "include_children": false}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '283' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdab65aaee01e78bafec00113ec1 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.059266' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/reports/shprep_089003c0042c4807bef27a56e219f651 - response: - body: - string: '{"id": "shprep_089003c0042c4807bef27a56e219f651", "object": "ShipmentReport", - "created_at": "2024-01-19T21:47:45Z", "updated_at": "2024-01-19T21:47:45Z", - "start_date": "2022-10-01", "end_date": "2022-10-01", "mode": "test", "status": - "empty", "url": null, "url_expires_at": null, "include_children": false}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '285' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda765aaee01e78bb00400113eec - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.052772' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"start_date": "2022-10-01", "end_date": "2022-10-01"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '54' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/reports/shipment - response: - body: - string: '{"id": "shprep_946144479ef8495faa2baf8d741daace", "object": "ShipmentReport", - "created_at": "2024-01-19T21:49:40Z", "updated_at": "2024-01-19T21:49:40Z", - "start_date": "2022-10-01", "end_date": "2022-10-01", "mode": "test", "status": - "new", "url": null, "url_expires_at": null, "include_children": false}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '283' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda965aaee74e78bb52f001180af - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.063579' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/reports/shprep_946144479ef8495faa2baf8d741daace - response: - body: - string: '{"id": "shprep_946144479ef8495faa2baf8d741daace", "object": "ShipmentReport", - "created_at": "2024-01-19T21:49:40Z", "updated_at": "2024-01-19T21:49:40Z", - "start_date": "2022-10-01", "end_date": "2022-10-01", "mode": "test", "status": - "empty", "url": null, "url_expires_at": null, "include_children": false}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '285' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdad65aaee74e78bb530001180cf - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.055906' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"start_date": "2022-10-01", "end_date": "2022-10-01"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '54' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/reports/shipment - response: - body: - string: '{"id": "shprep_dd35c5f7464247ecb38ef96430402e28", "object": "ShipmentReport", - "created_at": "2024-01-19T21:58:59Z", "updated_at": "2024-01-19T21:58:59Z", - "start_date": "2022-10-01", "end_date": "2022-10-01", "mode": "test", "status": - "new", "url": null, "url_expires_at": null, "include_children": false}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '283' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaf0a3e798bfbc000f835f - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.050843' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/reports/shprep_dd35c5f7464247ecb38ef96430402e28 - response: - body: - string: '{"id": "shprep_dd35c5f7464247ecb38ef96430402e28", "object": "ShipmentReport", - "created_at": "2024-01-19T21:58:59Z", "updated_at": "2024-01-19T21:58:59Z", - "start_date": "2022-10-01", "end_date": "2022-10-01", "mode": "test", "status": - "empty", "url": null, "url_expires_at": null, "include_children": false}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '285' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaf0a3e798bfbd000f8392 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.032794' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"start_date": "2022-10-01", "end_date": "2022-10-01"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '54' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/reports/shipment - response: - body: - string: '{"id": "shprep_7fe6a33016a849999785f97043857fb4", "object": "ShipmentReport", - "created_at": "2024-01-19T22:01:54Z", "updated_at": "2024-01-19T22:01:54Z", - "start_date": "2022-10-01", "end_date": "2022-10-01", "mode": "test", "status": - "new", "url": null, "url_expires_at": null, "include_children": false}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '283' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf152e798c82100101de7 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.049776' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/reports/shprep_7fe6a33016a849999785f97043857fb4 - response: - body: - string: '{"id": "shprep_7fe6a33016a849999785f97043857fb4", "object": "ShipmentReport", - "created_at": "2024-01-19T22:01:54Z", "updated_at": "2024-01-19T22:01:54Z", - "start_date": "2022-10-01", "end_date": "2022-10-01", "mode": "test", "status": - "empty", "url": null, "url_expires_at": null, "include_children": false}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '285' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaf152e798c83900101e0e - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.057613' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"start_date": "2022-10-01", "end_date": "2022-10-01"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '54' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/reports/shipment - response: - body: - string: '{"id": "shprep_2a996421686a46ad9dce115eed3edc28", "object": "ShipmentReport", - "created_at": "2024-01-19T22:05:41Z", "updated_at": "2024-01-19T22:05:41Z", - "start_date": "2022-10-01", "end_date": "2022-10-01", "mode": "test", "status": - "new", "url": null, "url_expires_at": null, "include_children": false}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '283' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf235e798d0e50010c4f5 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.044807' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/reports/shprep_2a996421686a46ad9dce115eed3edc28 - response: - body: - string: '{"id": "shprep_2a996421686a46ad9dce115eed3edc28", "object": "ShipmentReport", - "created_at": "2024-01-19T22:05:41Z", "updated_at": "2024-01-19T22:05:41Z", - "start_date": "2022-10-01", "end_date": "2022-10-01", "mode": "test", "status": - "empty", "url": null, "url_expires_at": null, "include_children": false}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '285' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf236e798d0fd0010c54d - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.047412' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_returns_create.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_returns_create.yaml deleted file mode 100644 index b397634f..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_returns_create.yaml +++ /dev/null @@ -1,2001 +0,0 @@ -interactions: -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "is_return": - true}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '904' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:41:57Z", "is_return": true, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T21:41:57Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_e10a9748677e40aaa2bcd72f16b7e305", - "object": "CustomsInfo", "created_at": "2024-01-19T21:41:57Z", "updated_at": - "2024-01-19T21:41:57Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_3aa772839a134304b1eb2ae01a8a17f9", "object": "CustomsItem", - "created_at": "2024-01-19T21:41:57Z", "updated_at": "2024-01-19T21:41:57Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_91fe73f7b71311eeb2deac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:41:57+00:00", "updated_at": "2024-01-19T21:41:57+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_fc22ab275ab14dc88a49b502ad0b3908", "object": "Parcel", "created_at": - "2024-01-19T21:41:57Z", "updated_at": "2024-01-19T21:41:57Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_5df3c128204346d48fa33e244add15bd", - "object": "Rate", "created_at": "2024-01-19T21:41:57Z", "updated_at": "2024-01-19T21:41:57Z", - "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", - "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a"}, {"id": "rate_d3e81642d3a34c55a226b5193dcb1180", - "object": "Rate", "created_at": "2024-01-19T21:41:58Z", "updated_at": "2024-01-19T21:41:58Z", - "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", - "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a"}, {"id": "rate_65af060a811b4ae9a7eaf4defbd02628", - "object": "Rate", "created_at": "2024-01-19T21:41:58Z", "updated_at": "2024-01-19T21:41:58Z", - "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", - "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a"}, {"id": "rate_84ee3422fe46495ba7165910cdc6d8f1", - "object": "Rate", "created_at": "2024-01-19T21:41:58Z", "updated_at": "2024-01-19T21:41:58Z", - "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", - "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476"}, {"id": "rate_701a5283adef4f93bc34aff9e0a884b1", - "object": "Rate", "created_at": "2024-01-19T21:41:58Z", "updated_at": "2024-01-19T21:41:58Z", - "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", - "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476"}, {"id": "rate_32baf56d59354437858314caf9926737", - "object": "Rate", "created_at": "2024-01-19T21:41:58Z", "updated_at": "2024-01-19T21:41:58Z", - "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", - "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476"}, {"id": "rate_fe4e42565abe45588ce6a155f3bb0446", - "object": "Rate", "created_at": "2024-01-19T21:41:58Z", "updated_at": "2024-01-19T21:41:58Z", - "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", - "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f"}, {"id": "rate_03e67a382fba4e9780cf77b937d65103", - "object": "Rate", "created_at": "2024-01-19T21:41:58Z", "updated_at": "2024-01-19T21:41:58Z", - "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", - "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f"}, {"id": "rate_65f2769a110a46b593d243166308c826", - "object": "Rate", "created_at": "2024-01-19T21:41:58Z", "updated_at": "2024-01-19T21:41:58Z", - "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", - "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f"}, {"id": "rate_48e162777cbd4a228b04b966b993ad6c", - "object": "Rate", "created_at": "2024-01-19T21:41:58Z", "updated_at": "2024-01-19T21:41:58Z", - "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", - "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e"}, {"id": "rate_c683693f5e594a85a0956127de14f949", - "object": "Rate", "created_at": "2024-01-19T21:41:58Z", "updated_at": "2024-01-19T21:41:58Z", - "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", - "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e"}, {"id": "rate_421496aaa91642e589ff2b8d20902302", - "object": "Rate", "created_at": "2024-01-19T21:41:58Z", "updated_at": "2024-01-19T21:41:58Z", - "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", - "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e"}, {"id": "rate_c8a3dc316ab744dba19feb306860132b", - "object": "Rate", "created_at": "2024-01-19T21:41:58Z", "updated_at": "2024-01-19T21:41:58Z", - "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", - "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c"}, {"id": "rate_d45828f275a540438136b9a5953e4d51", - "object": "Rate", "created_at": "2024-01-19T21:41:58Z", "updated_at": "2024-01-19T21:41:58Z", - "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", - "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c"}, {"id": "rate_e2a7e4b0ea114adbaba0aeb4c370e3bd", - "object": "Rate", "created_at": "2024-01-19T21:41:58Z", "updated_at": "2024-01-19T21:41:58Z", - "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", - "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c"}, {"id": "rate_dea216f6c3d64d109cb0fa8f58c87c8a", - "object": "Rate", "created_at": "2024-01-19T21:41:58Z", "updated_at": "2024-01-19T21:41:58Z", - "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", - "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea"}, {"id": "rate_af513e3d12b24c33b420f93784b9f80e", - "object": "Rate", "created_at": "2024-01-19T21:41:58Z", "updated_at": "2024-01-19T21:41:58Z", - "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", - "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea"}, {"id": "rate_e152337fde8c46b2a39c61772dd90da3", - "object": "Rate", "created_at": "2024-01-19T21:41:58Z", "updated_at": "2024-01-19T21:41:58Z", - "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", - "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea"}, {"id": "rate_697921bd11cb478f9a2642ad2b75cdc4", - "object": "Rate", "created_at": "2024-01-19T21:41:58Z", "updated_at": "2024-01-19T21:41:58Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_fd925e2a3bf8413e9672b1da8befea1c", - "object": "Rate", "created_at": "2024-01-19T21:41:58Z", "updated_at": "2024-01-19T21:41:58Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_d9a4833b94fb4d269bcdd0723516faa4", - "object": "Rate", "created_at": "2024-01-19T21:41:58Z", "updated_at": "2024-01-19T21:41:58Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f39b6a2bd5734541b6695e54d12ad33f", - "object": "Rate", "created_at": "2024-01-19T21:41:58Z", "updated_at": "2024-01-19T21:41:58Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_b41a3ae8f7cd499aa1394df72ee7b11c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_67f84592ad1145e58e8651b177e9c779", "object": "Rate", "created_at": - "2024-01-19T21:41:58Z", "updated_at": "2024-01-19T21:41:58Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_b41a3ae8f7cd499aa1394df72ee7b11c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_91fc400fb71311eea1533cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:41:57+00:00", "updated_at": "2024-01-19T21:41:57+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_91fe73f7b71311eeb2deac1f6bc539aa", "object": "Address", "created_at": - "2024-01-19T21:41:57+00:00", "updated_at": "2024-01-19T21:41:57+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_91fc400fb71311eea1533cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:41:57+00:00", "updated_at": - "2024-01-19T21:41:57+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '16255' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_b41a3ae8f7cd499aa1394df72ee7b11c - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaeca5e78b9f44000d0471 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.617395' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "is_return": - true}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '904' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:43:53Z", "is_return": true, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T21:43:53Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_af81a46e7bd04732b4f7ec8b9781ef2a", - "object": "CustomsInfo", "created_at": "2024-01-19T21:43:53Z", "updated_at": - "2024-01-19T21:43:53Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_0e4338835ab84430ac11eb06b6f57a43", "object": "CustomsItem", - "created_at": "2024-01-19T21:43:53Z", "updated_at": "2024-01-19T21:43:53Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_d7339659b71311eeba463cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:43:53+00:00", "updated_at": "2024-01-19T21:43:53+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_908a68a40faf478f99d665111402bf11", "object": "Parcel", "created_at": - "2024-01-19T21:43:53Z", "updated_at": "2024-01-19T21:43:53Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_42c31f422248483d832c34928468de5a", - "object": "Rate", "created_at": "2024-01-19T21:43:54Z", "updated_at": "2024-01-19T21:43:54Z", - "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_091c4ded63894a8da190aeea539a1fe6", - "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476"}, {"id": "rate_04855e12c07e492d9b96c606f75a2ae2", - "object": "Rate", "created_at": "2024-01-19T21:43:54Z", "updated_at": "2024-01-19T21:43:54Z", - "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_091c4ded63894a8da190aeea539a1fe6", - "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476"}, {"id": "rate_24a84cacf52e437588d2a5b4cecc7b17", - "object": "Rate", "created_at": "2024-01-19T21:43:54Z", "updated_at": "2024-01-19T21:43:54Z", - "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_091c4ded63894a8da190aeea539a1fe6", - "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476"}, {"id": "rate_f7a438367e4f4854adc1ab6c855ca688", - "object": "Rate", "created_at": "2024-01-19T21:43:54Z", "updated_at": "2024-01-19T21:43:54Z", - "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_091c4ded63894a8da190aeea539a1fe6", - "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e"}, {"id": "rate_1ac5f05b7fee4579ae76d8a8940acba2", - "object": "Rate", "created_at": "2024-01-19T21:43:54Z", "updated_at": "2024-01-19T21:43:54Z", - "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_091c4ded63894a8da190aeea539a1fe6", - "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e"}, {"id": "rate_a13b710e0bc54d82843f78a7429fef20", - "object": "Rate", "created_at": "2024-01-19T21:43:54Z", "updated_at": "2024-01-19T21:43:54Z", - "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_091c4ded63894a8da190aeea539a1fe6", - "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e"}, {"id": "rate_b4ad5b6b5c9345119725f22ae6e1a721", - "object": "Rate", "created_at": "2024-01-19T21:43:54Z", "updated_at": "2024-01-19T21:43:54Z", - "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_091c4ded63894a8da190aeea539a1fe6", - "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a"}, {"id": "rate_ae8374a3af6f43cda3b947349fd2bf69", - "object": "Rate", "created_at": "2024-01-19T21:43:54Z", "updated_at": "2024-01-19T21:43:54Z", - "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_091c4ded63894a8da190aeea539a1fe6", - "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a"}, {"id": "rate_b17295d5368b47e08e900a34fa0b037b", - "object": "Rate", "created_at": "2024-01-19T21:43:54Z", "updated_at": "2024-01-19T21:43:54Z", - "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_091c4ded63894a8da190aeea539a1fe6", - "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a"}, {"id": "rate_a12acdab0bfd4d91a9d172e3f19831e9", - "object": "Rate", "created_at": "2024-01-19T21:43:54Z", "updated_at": "2024-01-19T21:43:54Z", - "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_091c4ded63894a8da190aeea539a1fe6", - "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f"}, {"id": "rate_58ad6f8f20714a57b5782d29d23cd2d2", - "object": "Rate", "created_at": "2024-01-19T21:43:54Z", "updated_at": "2024-01-19T21:43:54Z", - "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_091c4ded63894a8da190aeea539a1fe6", - "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f"}, {"id": "rate_addd29475b7946139c810b9c9857d32e", - "object": "Rate", "created_at": "2024-01-19T21:43:54Z", "updated_at": "2024-01-19T21:43:54Z", - "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_091c4ded63894a8da190aeea539a1fe6", - "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f"}, {"id": "rate_20f27a7bf6574f97abc37a3761fb0fa8", - "object": "Rate", "created_at": "2024-01-19T21:43:54Z", "updated_at": "2024-01-19T21:43:54Z", - "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_091c4ded63894a8da190aeea539a1fe6", - "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c"}, {"id": "rate_b632e70733fe4087893b52eedbaa401d", - "object": "Rate", "created_at": "2024-01-19T21:43:54Z", "updated_at": "2024-01-19T21:43:54Z", - "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_091c4ded63894a8da190aeea539a1fe6", - "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c"}, {"id": "rate_ccd8f2ab4bef45b1975315d94eaee3bb", - "object": "Rate", "created_at": "2024-01-19T21:43:54Z", "updated_at": "2024-01-19T21:43:54Z", - "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_091c4ded63894a8da190aeea539a1fe6", - "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c"}, {"id": "rate_4bc91629cb5c43e7b9dd0294d76d822a", - "object": "Rate", "created_at": "2024-01-19T21:43:54Z", "updated_at": "2024-01-19T21:43:54Z", - "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_091c4ded63894a8da190aeea539a1fe6", - "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea"}, {"id": "rate_d6586a1ff31a4c639804d677e19d40d3", - "object": "Rate", "created_at": "2024-01-19T21:43:54Z", "updated_at": "2024-01-19T21:43:54Z", - "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_091c4ded63894a8da190aeea539a1fe6", - "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea"}, {"id": "rate_d53228e5dde84cd4ad2092f409078d33", - "object": "Rate", "created_at": "2024-01-19T21:43:54Z", "updated_at": "2024-01-19T21:43:54Z", - "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_091c4ded63894a8da190aeea539a1fe6", - "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea"}, {"id": "rate_9912170998cf44309749054e6d7b4552", - "object": "Rate", "created_at": "2024-01-19T21:43:54Z", "updated_at": "2024-01-19T21:43:54Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_091c4ded63894a8da190aeea539a1fe6", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_7d896c3063854aab8048920b3e3cdb8c", - "object": "Rate", "created_at": "2024-01-19T21:43:54Z", "updated_at": "2024-01-19T21:43:54Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_091c4ded63894a8da190aeea539a1fe6", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_bafadbdbd3bd46fabf9b1fab7b3e1222", - "object": "Rate", "created_at": "2024-01-19T21:43:54Z", "updated_at": "2024-01-19T21:43:54Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_091c4ded63894a8da190aeea539a1fe6", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_708c212326794ee3a26e9cbf08047b2f", - "object": "Rate", "created_at": "2024-01-19T21:43:54Z", "updated_at": "2024-01-19T21:43:54Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_091c4ded63894a8da190aeea539a1fe6", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_6868eb431a5e45dea60167edbe549978", "object": "Rate", "created_at": - "2024-01-19T21:43:54Z", "updated_at": "2024-01-19T21:43:54Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_091c4ded63894a8da190aeea539a1fe6", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_d730acb3b71311eebcb1ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:43:53+00:00", "updated_at": "2024-01-19T21:43:53+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_d7339659b71311eeba463cecef1b359e", "object": "Address", "created_at": - "2024-01-19T21:43:53+00:00", "updated_at": "2024-01-19T21:43:53+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_d730acb3b71311eebcb1ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:43:53+00:00", "updated_at": - "2024-01-19T21:43:53+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_091c4ded63894a8da190aeea539a1fe6", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '16255' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_091c4ded63894a8da190aeea539a1fe6 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaed19e78ba783000d47be - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.580425' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "is_return": - true}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '904' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:47:46Z", "is_return": true, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T21:47:46Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_b9a5e92b414f431a8696aeb83e591bd5", - "object": "CustomsInfo", "created_at": "2024-01-19T21:47:46Z", "updated_at": - "2024-01-19T21:47:46Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_7f1a853168fa43d0b0919ac26d436316", "object": "CustomsItem", - "created_at": "2024-01-19T21:47:46Z", "updated_at": "2024-01-19T21:47:46Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_61f10c54b71411eea6513cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:47:46+00:00", "updated_at": "2024-01-19T21:47:46+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_02e08f76ca974e93908d6dcee6a4ee1e", "object": "Parcel", "created_at": - "2024-01-19T21:47:46Z", "updated_at": "2024-01-19T21:47:46Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_4c50ec39caf6465ca02c7773a372128c", - "object": "Rate", "created_at": "2024-01-19T21:47:46Z", "updated_at": "2024-01-19T21:47:46Z", - "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_ebbe4a95fefe42a191e5d2016e7a1e9c", - "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e"}, {"id": "rate_848dcf5991754bf7b453bd05c60ab5f9", - "object": "Rate", "created_at": "2024-01-19T21:47:46Z", "updated_at": "2024-01-19T21:47:46Z", - "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_ebbe4a95fefe42a191e5d2016e7a1e9c", - "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e"}, {"id": "rate_c7b371eed9e44523808c3e9a91b7333e", - "object": "Rate", "created_at": "2024-01-19T21:47:46Z", "updated_at": "2024-01-19T21:47:46Z", - "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_ebbe4a95fefe42a191e5d2016e7a1e9c", - "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e"}, {"id": "rate_6a8ae1a88a52414e81b11677357ce475", - "object": "Rate", "created_at": "2024-01-19T21:47:46Z", "updated_at": "2024-01-19T21:47:46Z", - "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_ebbe4a95fefe42a191e5d2016e7a1e9c", - "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c"}, {"id": "rate_c2a27e4f92d94ebb9e4250b90075ec99", - "object": "Rate", "created_at": "2024-01-19T21:47:46Z", "updated_at": "2024-01-19T21:47:46Z", - "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_ebbe4a95fefe42a191e5d2016e7a1e9c", - "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c"}, {"id": "rate_f12b7ff9cd064754b561cd7c6e27b4da", - "object": "Rate", "created_at": "2024-01-19T21:47:46Z", "updated_at": "2024-01-19T21:47:46Z", - "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_ebbe4a95fefe42a191e5d2016e7a1e9c", - "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c"}, {"id": "rate_7fa50b64a04e42f4be3f137cc20ba8c6", - "object": "Rate", "created_at": "2024-01-19T21:47:46Z", "updated_at": "2024-01-19T21:47:46Z", - "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_ebbe4a95fefe42a191e5d2016e7a1e9c", - "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea"}, {"id": "rate_93c08d67aeed4f678f7038adbeac593a", - "object": "Rate", "created_at": "2024-01-19T21:47:46Z", "updated_at": "2024-01-19T21:47:46Z", - "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_ebbe4a95fefe42a191e5d2016e7a1e9c", - "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea"}, {"id": "rate_df0fdd9d14a04d34831bfea868274457", - "object": "Rate", "created_at": "2024-01-19T21:47:46Z", "updated_at": "2024-01-19T21:47:46Z", - "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_ebbe4a95fefe42a191e5d2016e7a1e9c", - "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea"}, {"id": "rate_3002bdfdf1a8467db471f28c218ebbef", - "object": "Rate", "created_at": "2024-01-19T21:47:46Z", "updated_at": "2024-01-19T21:47:46Z", - "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_ebbe4a95fefe42a191e5d2016e7a1e9c", - "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a"}, {"id": "rate_4561c387b2f04961bae295931f76ce02", - "object": "Rate", "created_at": "2024-01-19T21:47:46Z", "updated_at": "2024-01-19T21:47:46Z", - "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_ebbe4a95fefe42a191e5d2016e7a1e9c", - "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a"}, {"id": "rate_deca3834911f4c299edd7ad1b65a5bde", - "object": "Rate", "created_at": "2024-01-19T21:47:46Z", "updated_at": "2024-01-19T21:47:46Z", - "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_ebbe4a95fefe42a191e5d2016e7a1e9c", - "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a"}, {"id": "rate_2e6d35da0b7f45a483153fe4f0863394", - "object": "Rate", "created_at": "2024-01-19T21:47:46Z", "updated_at": "2024-01-19T21:47:46Z", - "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_ebbe4a95fefe42a191e5d2016e7a1e9c", - "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476"}, {"id": "rate_7bab2d5feed7484f91dbd47874b33b14", - "object": "Rate", "created_at": "2024-01-19T21:47:46Z", "updated_at": "2024-01-19T21:47:46Z", - "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_ebbe4a95fefe42a191e5d2016e7a1e9c", - "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476"}, {"id": "rate_e99e77e9077048d28b4471c56323deab", - "object": "Rate", "created_at": "2024-01-19T21:47:46Z", "updated_at": "2024-01-19T21:47:46Z", - "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_ebbe4a95fefe42a191e5d2016e7a1e9c", - "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476"}, {"id": "rate_93641a5634e14aa98582dbf4327431bc", - "object": "Rate", "created_at": "2024-01-19T21:47:46Z", "updated_at": "2024-01-19T21:47:46Z", - "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_ebbe4a95fefe42a191e5d2016e7a1e9c", - "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f"}, {"id": "rate_c5b8d1c65bd443a48eee703d794dcc05", - "object": "Rate", "created_at": "2024-01-19T21:47:46Z", "updated_at": "2024-01-19T21:47:46Z", - "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_ebbe4a95fefe42a191e5d2016e7a1e9c", - "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f"}, {"id": "rate_5c98f7d22bd94357834bd3d58bc19f10", - "object": "Rate", "created_at": "2024-01-19T21:47:46Z", "updated_at": "2024-01-19T21:47:46Z", - "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_ebbe4a95fefe42a191e5d2016e7a1e9c", - "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f"}, {"id": "rate_e33ed9d6945a4cb2a29603b5296eb9d8", - "object": "Rate", "created_at": "2024-01-19T21:47:46Z", "updated_at": "2024-01-19T21:47:46Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_ebbe4a95fefe42a191e5d2016e7a1e9c", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_29e93506ebe440149184b3921b362c97", - "object": "Rate", "created_at": "2024-01-19T21:47:47Z", "updated_at": "2024-01-19T21:47:47Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_ebbe4a95fefe42a191e5d2016e7a1e9c", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_56d96166778f4d9886b87560827a2066", - "object": "Rate", "created_at": "2024-01-19T21:47:47Z", "updated_at": "2024-01-19T21:47:47Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_ebbe4a95fefe42a191e5d2016e7a1e9c", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_28732f8d69554aa9bde8d8d1be5dfb5f", - "object": "Rate", "created_at": "2024-01-19T21:47:47Z", "updated_at": "2024-01-19T21:47:47Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_ebbe4a95fefe42a191e5d2016e7a1e9c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_425eb00cb8384b88aa775679e8958060", "object": "Rate", "created_at": - "2024-01-19T21:47:47Z", "updated_at": "2024-01-19T21:47:47Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_ebbe4a95fefe42a191e5d2016e7a1e9c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_61ee2be0b71411eeb7e1ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:47:46+00:00", "updated_at": "2024-01-19T21:47:46+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_61f10c54b71411eea6513cecef1b359e", "object": "Address", "created_at": - "2024-01-19T21:47:46+00:00", "updated_at": "2024-01-19T21:47:46+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_61ee2be0b71411eeb7e1ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:47:46+00:00", "updated_at": - "2024-01-19T21:47:46+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_ebbe4a95fefe42a191e5d2016e7a1e9c", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '16255' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_ebbe4a95fefe42a191e5d2016e7a1e9c - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda865aaee02e78bb00600113f57 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.579684' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "is_return": - true}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '904' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:49:41Z", "is_return": true, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T21:49:41Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_2326115378ee4696b09165992eae7d9f", - "object": "CustomsInfo", "created_at": "2024-01-19T21:49:41Z", "updated_at": - "2024-01-19T21:49:41Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_305373c749c34f53837620284cba042c", "object": "CustomsItem", - "created_at": "2024-01-19T21:49:41Z", "updated_at": "2024-01-19T21:49:41Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_a64f2b28b71411eebbad3cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:49:41+00:00", "updated_at": "2024-01-19T21:49:41+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_0995e2a8be0045918007d780a8cece38", "object": "Parcel", "created_at": - "2024-01-19T21:49:41Z", "updated_at": "2024-01-19T21:49:41Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_685a2867060a42f1a346b9cf35940414", - "object": "Rate", "created_at": "2024-01-19T21:49:41Z", "updated_at": "2024-01-19T21:49:41Z", - "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_66654a54474747ec9bde16c1a638f4c3", - "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476"}, {"id": "rate_b168d59dbaf44b529d8c483e84b19929", - "object": "Rate", "created_at": "2024-01-19T21:49:41Z", "updated_at": "2024-01-19T21:49:41Z", - "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_66654a54474747ec9bde16c1a638f4c3", - "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476"}, {"id": "rate_c86bc54ad01044dcb7a9cc8768dba7cb", - "object": "Rate", "created_at": "2024-01-19T21:49:41Z", "updated_at": "2024-01-19T21:49:41Z", - "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_66654a54474747ec9bde16c1a638f4c3", - "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476"}, {"id": "rate_160f7c67b00845139c6af2e99cf4d575", - "object": "Rate", "created_at": "2024-01-19T21:49:41Z", "updated_at": "2024-01-19T21:49:41Z", - "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_66654a54474747ec9bde16c1a638f4c3", - "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c"}, {"id": "rate_5d370225e4fe4e82bf04c288b7ea5c4d", - "object": "Rate", "created_at": "2024-01-19T21:49:41Z", "updated_at": "2024-01-19T21:49:41Z", - "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_66654a54474747ec9bde16c1a638f4c3", - "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c"}, {"id": "rate_354b506b66cc472893d4f8f559812fa8", - "object": "Rate", "created_at": "2024-01-19T21:49:41Z", "updated_at": "2024-01-19T21:49:41Z", - "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_66654a54474747ec9bde16c1a638f4c3", - "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c"}, {"id": "rate_dd38abe33e73439a809e69e9a4270abc", - "object": "Rate", "created_at": "2024-01-19T21:49:41Z", "updated_at": "2024-01-19T21:49:41Z", - "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_66654a54474747ec9bde16c1a638f4c3", - "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea"}, {"id": "rate_91a56148ffcf4b90a7770ac9c7f1257b", - "object": "Rate", "created_at": "2024-01-19T21:49:41Z", "updated_at": "2024-01-19T21:49:41Z", - "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_66654a54474747ec9bde16c1a638f4c3", - "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea"}, {"id": "rate_b2110ca7507945248028618c7c6adc4d", - "object": "Rate", "created_at": "2024-01-19T21:49:41Z", "updated_at": "2024-01-19T21:49:41Z", - "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_66654a54474747ec9bde16c1a638f4c3", - "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea"}, {"id": "rate_29c43ceb2e7143bfa11c619812284f49", - "object": "Rate", "created_at": "2024-01-19T21:49:41Z", "updated_at": "2024-01-19T21:49:41Z", - "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_66654a54474747ec9bde16c1a638f4c3", - "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a"}, {"id": "rate_96e7a060d53a48aa916de333aeadce4c", - "object": "Rate", "created_at": "2024-01-19T21:49:41Z", "updated_at": "2024-01-19T21:49:41Z", - "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_66654a54474747ec9bde16c1a638f4c3", - "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a"}, {"id": "rate_ba0f2df8c2954f599419733287ca6017", - "object": "Rate", "created_at": "2024-01-19T21:49:41Z", "updated_at": "2024-01-19T21:49:41Z", - "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_66654a54474747ec9bde16c1a638f4c3", - "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a"}, {"id": "rate_00b2ee12b98e49c39f2cc2f846b3ff3e", - "object": "Rate", "created_at": "2024-01-19T21:49:41Z", "updated_at": "2024-01-19T21:49:41Z", - "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_66654a54474747ec9bde16c1a638f4c3", - "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f"}, {"id": "rate_48f8574b2a4247e3ba1ba3fc63ef19cd", - "object": "Rate", "created_at": "2024-01-19T21:49:41Z", "updated_at": "2024-01-19T21:49:41Z", - "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_66654a54474747ec9bde16c1a638f4c3", - "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f"}, {"id": "rate_068f8011b3e1478ab7ffc8f896d7eb8f", - "object": "Rate", "created_at": "2024-01-19T21:49:41Z", "updated_at": "2024-01-19T21:49:41Z", - "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_66654a54474747ec9bde16c1a638f4c3", - "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f"}, {"id": "rate_7cc05f66c6b44d2f91a74db94765af7d", - "object": "Rate", "created_at": "2024-01-19T21:49:41Z", "updated_at": "2024-01-19T21:49:41Z", - "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_66654a54474747ec9bde16c1a638f4c3", - "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e"}, {"id": "rate_aec863ff48544cfca1a3ce2e2eee6a9e", - "object": "Rate", "created_at": "2024-01-19T21:49:41Z", "updated_at": "2024-01-19T21:49:41Z", - "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_66654a54474747ec9bde16c1a638f4c3", - "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e"}, {"id": "rate_e8054786f6ec4a62b8f802238341d3f2", - "object": "Rate", "created_at": "2024-01-19T21:49:41Z", "updated_at": "2024-01-19T21:49:41Z", - "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_66654a54474747ec9bde16c1a638f4c3", - "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e"}, {"id": "rate_2cf25978f4744a69a55f1ce8ee77b00a", - "object": "Rate", "created_at": "2024-01-19T21:49:41Z", "updated_at": "2024-01-19T21:49:41Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_66654a54474747ec9bde16c1a638f4c3", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_82decb12eb074cedb3f564fca97193f8", - "object": "Rate", "created_at": "2024-01-19T21:49:41Z", "updated_at": "2024-01-19T21:49:41Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_66654a54474747ec9bde16c1a638f4c3", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_035aff2e53264f979a9bc34010017683", - "object": "Rate", "created_at": "2024-01-19T21:49:41Z", "updated_at": "2024-01-19T21:49:41Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_66654a54474747ec9bde16c1a638f4c3", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_d7221be206dd49b897e3697f8224ed3d", "object": "Rate", "created_at": - "2024-01-19T21:49:41Z", "updated_at": "2024-01-19T21:49:41Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_66654a54474747ec9bde16c1a638f4c3", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_95c1c2eb5bc54171b3aef9a358da31eb", "object": "Rate", "created_at": - "2024-01-19T21:49:41Z", "updated_at": "2024-01-19T21:49:41Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_66654a54474747ec9bde16c1a638f4c3", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_a64c8c85b71411eebd49ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:49:41+00:00", "updated_at": "2024-01-19T21:49:41+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_a64f2b28b71411eebbad3cecef1b359e", "object": "Address", "created_at": - "2024-01-19T21:49:41+00:00", "updated_at": "2024-01-19T21:49:41+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_a64c8c85b71411eebd49ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:49:41+00:00", "updated_at": - "2024-01-19T21:49:41+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_66654a54474747ec9bde16c1a638f4c3", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '16255' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_66654a54474747ec9bde16c1a638f4c3 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda765aaee75e78bb53200118120 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.924181' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "is_return": - true}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '904' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:59:00Z", "is_return": true, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T21:59:00Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_bf3e51916f254ce2b822fffe7c2608ff", - "object": "CustomsInfo", "created_at": "2024-01-19T21:59:00Z", "updated_at": - "2024-01-19T21:59:00Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_88e06b48797d466593bfb030238229b8", "object": "CustomsItem", - "created_at": "2024-01-19T21:59:00Z", "updated_at": "2024-01-19T21:59:00Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_f3a22befb71511eeaaa13cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:59:00+00:00", "updated_at": "2024-01-19T21:59:00+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_5185fdeed3274583bdb90bdd5cac2e84", "object": "Parcel", "created_at": - "2024-01-19T21:59:00Z", "updated_at": "2024-01-19T21:59:00Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_6e0efb8aeee84bdabea8bd652581e668", - "object": "Rate", "created_at": "2024-01-19T21:59:00Z", "updated_at": "2024-01-19T21:59:00Z", - "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_620f47e043a342189353d8f3cf6672f4", - "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476"}, {"id": "rate_d7d0ca89ece34b18b7a754441939baa0", - "object": "Rate", "created_at": "2024-01-19T21:59:00Z", "updated_at": "2024-01-19T21:59:00Z", - "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_620f47e043a342189353d8f3cf6672f4", - "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476"}, {"id": "rate_e8e3595f050f43bbad1afde96fd3c848", - "object": "Rate", "created_at": "2024-01-19T21:59:00Z", "updated_at": "2024-01-19T21:59:00Z", - "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_620f47e043a342189353d8f3cf6672f4", - "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476"}, {"id": "rate_dd44060edcb0439ca07b7df4e0064d53", - "object": "Rate", "created_at": "2024-01-19T21:59:00Z", "updated_at": "2024-01-19T21:59:00Z", - "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_620f47e043a342189353d8f3cf6672f4", - "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f"}, {"id": "rate_02b42f6004274d86bf3bac95abf71857", - "object": "Rate", "created_at": "2024-01-19T21:59:00Z", "updated_at": "2024-01-19T21:59:00Z", - "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_620f47e043a342189353d8f3cf6672f4", - "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f"}, {"id": "rate_45eee129e2aa40d68d66b2552d67b5ea", - "object": "Rate", "created_at": "2024-01-19T21:59:00Z", "updated_at": "2024-01-19T21:59:00Z", - "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_620f47e043a342189353d8f3cf6672f4", - "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f"}, {"id": "rate_2c5a88573ae347dbaf7b555e1be6850e", - "object": "Rate", "created_at": "2024-01-19T21:59:00Z", "updated_at": "2024-01-19T21:59:00Z", - "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_620f47e043a342189353d8f3cf6672f4", - "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e"}, {"id": "rate_e1295bbe4e824965ac7be5383e58107e", - "object": "Rate", "created_at": "2024-01-19T21:59:00Z", "updated_at": "2024-01-19T21:59:00Z", - "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_620f47e043a342189353d8f3cf6672f4", - "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e"}, {"id": "rate_a798aa2188bb4bdc8ecc9b9e86b7b9a1", - "object": "Rate", "created_at": "2024-01-19T21:59:00Z", "updated_at": "2024-01-19T21:59:00Z", - "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_620f47e043a342189353d8f3cf6672f4", - "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e"}, {"id": "rate_81a9c5c5e4d049f9a669a283dfb98731", - "object": "Rate", "created_at": "2024-01-19T21:59:00Z", "updated_at": "2024-01-19T21:59:00Z", - "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_620f47e043a342189353d8f3cf6672f4", - "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea"}, {"id": "rate_b2a65c2f74974f33aeb4f33149c47ed3", - "object": "Rate", "created_at": "2024-01-19T21:59:00Z", "updated_at": "2024-01-19T21:59:00Z", - "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_620f47e043a342189353d8f3cf6672f4", - "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea"}, {"id": "rate_0189ef3ad5d44c37a7c293ed0b0b34f9", - "object": "Rate", "created_at": "2024-01-19T21:59:00Z", "updated_at": "2024-01-19T21:59:00Z", - "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_620f47e043a342189353d8f3cf6672f4", - "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea"}, {"id": "rate_e3672efc31bf4a41ae6e534fc6fcc8fa", - "object": "Rate", "created_at": "2024-01-19T21:59:00Z", "updated_at": "2024-01-19T21:59:00Z", - "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_620f47e043a342189353d8f3cf6672f4", - "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a"}, {"id": "rate_63c224f052d54f7a89ea62afe630c6a6", - "object": "Rate", "created_at": "2024-01-19T21:59:00Z", "updated_at": "2024-01-19T21:59:00Z", - "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_620f47e043a342189353d8f3cf6672f4", - "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a"}, {"id": "rate_28382b99ec514f4c99966e1a2d32bb93", - "object": "Rate", "created_at": "2024-01-19T21:59:00Z", "updated_at": "2024-01-19T21:59:00Z", - "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_620f47e043a342189353d8f3cf6672f4", - "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a"}, {"id": "rate_733202f0a1a54cecbade07974c3ff121", - "object": "Rate", "created_at": "2024-01-19T21:59:00Z", "updated_at": "2024-01-19T21:59:00Z", - "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_620f47e043a342189353d8f3cf6672f4", - "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c"}, {"id": "rate_64d463c29633487ca99a7de29b612c1d", - "object": "Rate", "created_at": "2024-01-19T21:59:00Z", "updated_at": "2024-01-19T21:59:00Z", - "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_620f47e043a342189353d8f3cf6672f4", - "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c"}, {"id": "rate_de03e94f234c4c13addf00d3c94ea9cf", - "object": "Rate", "created_at": "2024-01-19T21:59:00Z", "updated_at": "2024-01-19T21:59:00Z", - "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_620f47e043a342189353d8f3cf6672f4", - "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c"}, {"id": "rate_e69939bb6f5c4e53943caba06513685e", - "object": "Rate", "created_at": "2024-01-19T21:59:00Z", "updated_at": "2024-01-19T21:59:00Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_620f47e043a342189353d8f3cf6672f4", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_23d70cdb034e4bdda1ccfc2268f61ffe", - "object": "Rate", "created_at": "2024-01-19T21:59:00Z", "updated_at": "2024-01-19T21:59:00Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_620f47e043a342189353d8f3cf6672f4", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_67de6a9dcb5e49b58e685134f014ae0b", - "object": "Rate", "created_at": "2024-01-19T21:59:01Z", "updated_at": "2024-01-19T21:59:01Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_620f47e043a342189353d8f3cf6672f4", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f8f035a26ed04428aa8e9ca538405ced", - "object": "Rate", "created_at": "2024-01-19T21:59:01Z", "updated_at": "2024-01-19T21:59:01Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_620f47e043a342189353d8f3cf6672f4", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_77ff1627bd2a442588f5e2e77da0a666", "object": "Rate", "created_at": - "2024-01-19T21:59:01Z", "updated_at": "2024-01-19T21:59:01Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_620f47e043a342189353d8f3cf6672f4", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_f3a01b99b71511eebd34ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:59:00+00:00", "updated_at": "2024-01-19T21:59:00+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_f3a22befb71511eeaaa13cecef1b359e", "object": "Address", "created_at": - "2024-01-19T21:59:00+00:00", "updated_at": "2024-01-19T21:59:00+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_f3a01b99b71511eebd34ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:59:00+00:00", "updated_at": - "2024-01-19T21:59:00+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_620f47e043a342189353d8f3cf6672f4", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '16255' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_620f47e043a342189353d8f3cf6672f4 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaf0a4e798bfbf000f83f9 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.635944' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "is_return": - true}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '904' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T22:01:55Z", "is_return": true, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T22:01:55Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_f8e692e1bf0247f78136d4ffd8625b76", - "object": "CustomsInfo", "created_at": "2024-01-19T22:01:55Z", "updated_at": - "2024-01-19T22:01:55Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_0c83b083f9bd4aa18711982aa3feec44", "object": "CustomsItem", - "created_at": "2024-01-19T22:01:55Z", "updated_at": "2024-01-19T22:01:55Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_5bce1decb71611ee9e4aac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T22:01:55+00:00", "updated_at": "2024-01-19T22:01:55+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_e48fa6488034455083a31ec8fafef025", "object": "Parcel", "created_at": - "2024-01-19T22:01:55Z", "updated_at": "2024-01-19T22:01:55Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_615d547d55364e42b89687a8e561a37b", - "object": "Rate", "created_at": "2024-01-19T22:01:55Z", "updated_at": "2024-01-19T22:01:55Z", - "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_07846ee71981420d8544db407de6843b", - "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a"}, {"id": "rate_4f409630e51048f193f0b8ad31b4528d", - "object": "Rate", "created_at": "2024-01-19T22:01:55Z", "updated_at": "2024-01-19T22:01:55Z", - "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_07846ee71981420d8544db407de6843b", - "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a"}, {"id": "rate_cd81fd9697294216b2be843cb26beb4d", - "object": "Rate", "created_at": "2024-01-19T22:01:55Z", "updated_at": "2024-01-19T22:01:55Z", - "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_07846ee71981420d8544db407de6843b", - "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a"}, {"id": "rate_9f8a6428e940470285a8d7b86e00542d", - "object": "Rate", "created_at": "2024-01-19T22:01:55Z", "updated_at": "2024-01-19T22:01:55Z", - "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_07846ee71981420d8544db407de6843b", - "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476"}, {"id": "rate_a3c415c4f771478c97c1a696424f6b8b", - "object": "Rate", "created_at": "2024-01-19T22:01:55Z", "updated_at": "2024-01-19T22:01:55Z", - "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_07846ee71981420d8544db407de6843b", - "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476"}, {"id": "rate_cc5b40f757cc4a688130f8207ea3bb0d", - "object": "Rate", "created_at": "2024-01-19T22:01:55Z", "updated_at": "2024-01-19T22:01:55Z", - "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_07846ee71981420d8544db407de6843b", - "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476"}, {"id": "rate_1d6ebd1eaa93470ebd9abd767d980ced", - "object": "Rate", "created_at": "2024-01-19T22:01:55Z", "updated_at": "2024-01-19T22:01:55Z", - "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_07846ee71981420d8544db407de6843b", - "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f"}, {"id": "rate_a04dd163c24947e7a25c5dd96c50ea79", - "object": "Rate", "created_at": "2024-01-19T22:01:55Z", "updated_at": "2024-01-19T22:01:55Z", - "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_07846ee71981420d8544db407de6843b", - "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f"}, {"id": "rate_983d2a26b504456388aa09b03ef01afd", - "object": "Rate", "created_at": "2024-01-19T22:01:55Z", "updated_at": "2024-01-19T22:01:55Z", - "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_07846ee71981420d8544db407de6843b", - "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f"}, {"id": "rate_a8be882d3a464e22978db35d74973076", - "object": "Rate", "created_at": "2024-01-19T22:01:55Z", "updated_at": "2024-01-19T22:01:55Z", - "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_07846ee71981420d8544db407de6843b", - "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e"}, {"id": "rate_06b22a7d3d52428d9ec4792de6240f69", - "object": "Rate", "created_at": "2024-01-19T22:01:55Z", "updated_at": "2024-01-19T22:01:55Z", - "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_07846ee71981420d8544db407de6843b", - "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e"}, {"id": "rate_6685b7f18ca542f3a3a9d7cbbd9d5cfe", - "object": "Rate", "created_at": "2024-01-19T22:01:55Z", "updated_at": "2024-01-19T22:01:55Z", - "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_07846ee71981420d8544db407de6843b", - "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e"}, {"id": "rate_1e32f51feebb49fc8882379720be4fcc", - "object": "Rate", "created_at": "2024-01-19T22:01:55Z", "updated_at": "2024-01-19T22:01:55Z", - "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_07846ee71981420d8544db407de6843b", - "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c"}, {"id": "rate_59d5af8c4e8b4ef8998562f2aa35c185", - "object": "Rate", "created_at": "2024-01-19T22:01:55Z", "updated_at": "2024-01-19T22:01:55Z", - "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_07846ee71981420d8544db407de6843b", - "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c"}, {"id": "rate_d9f5deb5407e4aeab4d333dab9ffd669", - "object": "Rate", "created_at": "2024-01-19T22:01:55Z", "updated_at": "2024-01-19T22:01:55Z", - "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_07846ee71981420d8544db407de6843b", - "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c"}, {"id": "rate_59534db05e7344fc9c0830d9980d450f", - "object": "Rate", "created_at": "2024-01-19T22:01:55Z", "updated_at": "2024-01-19T22:01:55Z", - "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_07846ee71981420d8544db407de6843b", - "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea"}, {"id": "rate_a6355534b0fa4376be7438f128589c1b", - "object": "Rate", "created_at": "2024-01-19T22:01:55Z", "updated_at": "2024-01-19T22:01:55Z", - "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_07846ee71981420d8544db407de6843b", - "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea"}, {"id": "rate_7568d73980db444489ac053eb3b0328d", - "object": "Rate", "created_at": "2024-01-19T22:01:55Z", "updated_at": "2024-01-19T22:01:55Z", - "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_07846ee71981420d8544db407de6843b", - "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea"}, {"id": "rate_c8d320afbe2f469a9b39294ba3642e47", - "object": "Rate", "created_at": "2024-01-19T22:01:55Z", "updated_at": "2024-01-19T22:01:55Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_07846ee71981420d8544db407de6843b", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_d693390a4edd4ab29fdccf8737b931dd", - "object": "Rate", "created_at": "2024-01-19T22:01:55Z", "updated_at": "2024-01-19T22:01:55Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_07846ee71981420d8544db407de6843b", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f29b5e060a004f5ca2b89e879b6ad1a5", - "object": "Rate", "created_at": "2024-01-19T22:01:55Z", "updated_at": "2024-01-19T22:01:55Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_07846ee71981420d8544db407de6843b", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_d44cb4f2318e4bcbb5b1d6f97490a023", - "object": "Rate", "created_at": "2024-01-19T22:01:55Z", "updated_at": "2024-01-19T22:01:55Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_07846ee71981420d8544db407de6843b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_21653628f9b144b3a6e08e8148d2c3b0", "object": "Rate", "created_at": - "2024-01-19T22:01:55Z", "updated_at": "2024-01-19T22:01:55Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_07846ee71981420d8544db407de6843b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_5bcb489cb71611ee9e48ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T22:01:55+00:00", "updated_at": "2024-01-19T22:01:55+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_5bce1decb71611ee9e4aac1f6bc539aa", "object": "Address", "created_at": - "2024-01-19T22:01:55+00:00", "updated_at": "2024-01-19T22:01:55+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_5bcb489cb71611ee9e48ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T22:01:55+00:00", "updated_at": - "2024-01-19T22:01:55+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_07846ee71981420d8544db407de6843b", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '16255' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_07846ee71981420d8544db407de6843b - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf153e798c83b00101ebe - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.610985' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "is_return": - true}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '904' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T22:05:43Z", "is_return": true, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T22:05:43Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_e83fe75c7d8143ad82c6ad5430ad6d79", - "object": "CustomsInfo", "created_at": "2024-01-19T22:05:43Z", "updated_at": - "2024-01-19T22:05:43Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_529397062626406eaeea2b9c151a4bfd", "object": "CustomsItem", - "created_at": "2024-01-19T22:05:43Z", "updated_at": "2024-01-19T22:05:43Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_e38e3550b71611ee8b36ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T22:05:42+00:00", "updated_at": "2024-01-19T22:05:42+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_411addc432184e0fa4692d8df3fcaea0", "object": "Parcel", "created_at": - "2024-01-19T22:05:43Z", "updated_at": "2024-01-19T22:05:43Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_c3af9999a307480ca4c04816afb63b6d", - "object": "Rate", "created_at": "2024-01-19T22:05:43Z", "updated_at": "2024-01-19T22:05:43Z", - "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_9a25076718c94e6ca676e09472e4d702", - "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea"}, {"id": "rate_e5a72c9a90c84e0db7bb13f52c305f15", - "object": "Rate", "created_at": "2024-01-19T22:05:43Z", "updated_at": "2024-01-19T22:05:43Z", - "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_9a25076718c94e6ca676e09472e4d702", - "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea"}, {"id": "rate_66499294e1294095a41a27b239503522", - "object": "Rate", "created_at": "2024-01-19T22:05:43Z", "updated_at": "2024-01-19T22:05:43Z", - "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_9a25076718c94e6ca676e09472e4d702", - "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea"}, {"id": "rate_6efc2bd142c74984a9b9e1dae96b06ac", - "object": "Rate", "created_at": "2024-01-19T22:05:43Z", "updated_at": "2024-01-19T22:05:43Z", - "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_9a25076718c94e6ca676e09472e4d702", - "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476"}, {"id": "rate_e1356928c1e24d4999fe770cbd503592", - "object": "Rate", "created_at": "2024-01-19T22:05:43Z", "updated_at": "2024-01-19T22:05:43Z", - "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_9a25076718c94e6ca676e09472e4d702", - "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476"}, {"id": "rate_073af719234247e1bffda87533b32849", - "object": "Rate", "created_at": "2024-01-19T22:05:43Z", "updated_at": "2024-01-19T22:05:43Z", - "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_9a25076718c94e6ca676e09472e4d702", - "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476"}, {"id": "rate_34446ebe5a944f19811ee2010d6da5bf", - "object": "Rate", "created_at": "2024-01-19T22:05:43Z", "updated_at": "2024-01-19T22:05:43Z", - "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_9a25076718c94e6ca676e09472e4d702", - "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f"}, {"id": "rate_530055925ea74cf2b224272d8dc7c0d3", - "object": "Rate", "created_at": "2024-01-19T22:05:43Z", "updated_at": "2024-01-19T22:05:43Z", - "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_9a25076718c94e6ca676e09472e4d702", - "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f"}, {"id": "rate_84eecb3e04e34973a089aff586af79a4", - "object": "Rate", "created_at": "2024-01-19T22:05:43Z", "updated_at": "2024-01-19T22:05:43Z", - "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_9a25076718c94e6ca676e09472e4d702", - "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f"}, {"id": "rate_7e6aea4e12d94e1bbd596a024cf480e6", - "object": "Rate", "created_at": "2024-01-19T22:05:43Z", "updated_at": "2024-01-19T22:05:43Z", - "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_9a25076718c94e6ca676e09472e4d702", - "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e"}, {"id": "rate_158ba68fc93149fb862fe7c7393de575", - "object": "Rate", "created_at": "2024-01-19T22:05:43Z", "updated_at": "2024-01-19T22:05:43Z", - "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_9a25076718c94e6ca676e09472e4d702", - "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e"}, {"id": "rate_96e59e1e4e23498fa7d6dacc0b837449", - "object": "Rate", "created_at": "2024-01-19T22:05:43Z", "updated_at": "2024-01-19T22:05:43Z", - "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_9a25076718c94e6ca676e09472e4d702", - "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e"}, {"id": "rate_dfe1080489114d97bbcfbb3b4f21c778", - "object": "Rate", "created_at": "2024-01-19T22:05:43Z", "updated_at": "2024-01-19T22:05:43Z", - "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_9a25076718c94e6ca676e09472e4d702", - "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c"}, {"id": "rate_2a4520d2fb7b4a2f85795dcd354af985", - "object": "Rate", "created_at": "2024-01-19T22:05:43Z", "updated_at": "2024-01-19T22:05:43Z", - "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_9a25076718c94e6ca676e09472e4d702", - "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c"}, {"id": "rate_9f59890c83e748c8a7402b6056647967", - "object": "Rate", "created_at": "2024-01-19T22:05:43Z", "updated_at": "2024-01-19T22:05:43Z", - "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_9a25076718c94e6ca676e09472e4d702", - "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c"}, {"id": "rate_c8e1829520ce461f8b9887bf506850ed", - "object": "Rate", "created_at": "2024-01-19T22:05:43Z", "updated_at": "2024-01-19T22:05:43Z", - "mode": "test", "service": "DHLSmartMailParcelReturnGround", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_9a25076718c94e6ca676e09472e4d702", - "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a"}, {"id": "rate_69729cd91cfc407a961f1827fe152c98", - "object": "Rate", "created_at": "2024-01-19T22:05:43Z", "updated_at": "2024-01-19T22:05:43Z", - "mode": "test", "service": "DHLSmartMailParcelReturnPlus", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_9a25076718c94e6ca676e09472e4d702", - "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a"}, {"id": "rate_b2a496e67be641dfbe793293a4606d08", - "object": "Rate", "created_at": "2024-01-19T22:05:43Z", "updated_at": "2024-01-19T22:05:43Z", - "mode": "test", "service": "DHLSmartMailParcelReturnLight", "carrier": "DhlEcs", - "rate": "0.01", "currency": "USD", "retail_rate": null, "retail_currency": - null, "list_rate": null, "list_currency": null, "billing_type": "carrier", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": - null, "est_delivery_days": null, "shipment_id": "shp_9a25076718c94e6ca676e09472e4d702", - "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a"}, {"id": "rate_e8bbf4cbc6d94471a22d24563f81ad4e", - "object": "Rate", "created_at": "2024-01-19T22:05:43Z", "updated_at": "2024-01-19T22:05:43Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_9a25076718c94e6ca676e09472e4d702", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_3e78e648f015466a808dc40ede43b526", - "object": "Rate", "created_at": "2024-01-19T22:05:43Z", "updated_at": "2024-01-19T22:05:43Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_9a25076718c94e6ca676e09472e4d702", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_2ca25891b66a4967a1931ee88dba44f9", - "object": "Rate", "created_at": "2024-01-19T22:05:43Z", "updated_at": "2024-01-19T22:05:43Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_9a25076718c94e6ca676e09472e4d702", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_8b5fe82e139e4ec8b35d271bd0084293", "object": "Rate", "created_at": - "2024-01-19T22:05:43Z", "updated_at": "2024-01-19T22:05:43Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_9a25076718c94e6ca676e09472e4d702", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_385b0d06b1334e879c08f48061e7a687", "object": "Rate", "created_at": - "2024-01-19T22:05:43Z", "updated_at": "2024-01-19T22:05:43Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_9a25076718c94e6ca676e09472e4d702", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_e38b438db71611eebab2ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T22:05:42+00:00", "updated_at": "2024-01-19T22:05:42+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_e38e3550b71611ee8b36ac1f6bc539aa", "object": "Address", "created_at": - "2024-01-19T22:05:42+00:00", "updated_at": "2024-01-19T22:05:42+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_e38b438db71611eebab2ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:05:42+00:00", "updated_at": - "2024-01-19T22:05:42+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_9a25076718c94e6ca676e09472e4d702", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '16255' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_9a25076718c94e6ca676e09472e4d702 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf236e798d0ff0010c5cd - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.646345' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_scan_form_create.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_scan_form_create.yaml deleted file mode 100644 index 1c407fd9..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_scan_form_create.yaml +++ /dev/null @@ -1,1851 +0,0 @@ -interactions: -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:41:58Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010707764", "updated_at": "2024-01-19T21:41:59Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_142073111a41446b9f55fe177ab222b8", "object": "CustomsInfo", "created_at": - "2024-01-19T21:41:58Z", "updated_at": "2024-01-19T21:41:58Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_ad423f26fe384eefa71430ee43a30631", - "object": "CustomsItem", "created_at": "2024-01-19T21:41:58Z", "updated_at": - "2024-01-19T21:41:58Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_9284d509b71311eea334ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:41:58+00:00", "updated_at": - "2024-01-19T21:41:58+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_8ff20970f782487d938faa1e0deee0e2", - "object": "Parcel", "created_at": "2024-01-19T21:41:58Z", "updated_at": "2024-01-19T21:41:58Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_4ea183c1d27a4e598d84b24e75324549", "created_at": "2024-01-19T21:41:59Z", - "updated_at": "2024-01-19T21:41:59Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:41:59Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e87ca48e702e8947a5a5395d51c98b146a.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_111f0202fdc44a4694db730d261db3ec", "object": - "Rate", "created_at": "2024-01-19T21:41:58Z", "updated_at": "2024-01-19T21:41:58Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_b030f8d128e24002a205b6b78dc58fc3", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b4959c42ffba462f85ad63ea82a6ad1e", - "object": "Rate", "created_at": "2024-01-19T21:41:58Z", "updated_at": "2024-01-19T21:41:58Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_b030f8d128e24002a205b6b78dc58fc3", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_0f929f3a59744fb0a55b90bdfc6d4eeb", - "object": "Rate", "created_at": "2024-01-19T21:41:58Z", "updated_at": "2024-01-19T21:41:58Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_b030f8d128e24002a205b6b78dc58fc3", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_36f8c6b58c824220bd5bded8340bf8a4", "object": "Rate", "created_at": - "2024-01-19T21:41:58Z", "updated_at": "2024-01-19T21:41:58Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_b030f8d128e24002a205b6b78dc58fc3", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_c086faf932024645a6f29b0d394815b8", "object": "Rate", "created_at": - "2024-01-19T21:41:58Z", "updated_at": "2024-01-19T21:41:58Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_b030f8d128e24002a205b6b78dc58fc3", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_111f0202fdc44a4694db730d261db3ec", - "object": "Rate", "created_at": "2024-01-19T21:41:59Z", "updated_at": "2024-01-19T21:41:59Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_b030f8d128e24002a205b6b78dc58fc3", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_e7fdee8aba6c47768f82233469d88049", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010707764", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:41:59Z", - "updated_at": "2024-01-19T21:41:59Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_b030f8d128e24002a205b6b78dc58fc3", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrX2U3ZmRlZThhYmE2YzQ3NzY4ZjgyMjMzNDY5ZDg4MDQ5"}, - "to_address": {"id": "adr_9282b7cfb71311eeb311ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T21:41:58+00:00", "updated_at": "2024-01-19T21:41:58+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_9284d509b71311eea334ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:41:58+00:00", "updated_at": - "2024-01-19T21:41:58+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_9282b7cfb71311eeb311ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:41:58+00:00", "updated_at": "2024-01-19T21:41:58+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_b030f8d128e24002a205b6b78dc58fc3", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_b030f8d128e24002a205b6b78dc58fc3 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaeca6e78b9f46000d0520 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.030154' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"scan_form": {"shipment": [{"id": "shp_b030f8d128e24002a205b6b78dc58fc3"}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '77' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/scan_forms - response: - body: - string: '{"id": "sf_528ce3f9e7514f3e913981b96b31f43f", "object": "ScanForm", - "created_at": "2024-01-19T21:41:59Z", "updated_at": "2024-01-19T21:42:00Z", - "tracking_codes": ["9405500207552010707764"], "address": {"id": "adr_9284d509b71311eea334ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:41:58+00:00", "updated_at": - "2024-01-19T21:41:58+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "status": "created", "message": null, "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e854ab77cf96b1465ebf32276ca4fc78d1.pdf", - "form_file_type": null, "batch_id": "batch_ebb3185b929f4500afa690677d49ff33", - "confirmation": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '916' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaeca7e78b9f47000d05dd - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.242025' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:43:54Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010708082", "updated_at": "2024-01-19T21:43:55Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_ba0f6ec4cd074a51b7e4c746b4d638ec", "object": "CustomsInfo", "created_at": - "2024-01-19T21:43:54Z", "updated_at": "2024-01-19T21:43:54Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_1d3c75430d1545fb854e7e14afff60e0", - "object": "CustomsItem", "created_at": "2024-01-19T21:43:54Z", "updated_at": - "2024-01-19T21:43:54Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_d7b5bbf5b71311ee8bf4ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:43:54+00:00", "updated_at": - "2024-01-19T21:43:54+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_9044fe2289e04c4ca48075dca7d82770", - "object": "Parcel", "created_at": "2024-01-19T21:43:54Z", "updated_at": "2024-01-19T21:43:54Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_712ca9200ba64612837fa4c52c886759", "created_at": "2024-01-19T21:43:55Z", - "updated_at": "2024-01-19T21:43:55Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:43:55Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8fd05f56dd455442ab01a10ac741c3824.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_6b5543ef4c27436b9da0bf1a31b0eb10", "object": - "Rate", "created_at": "2024-01-19T21:43:54Z", "updated_at": "2024-01-19T21:43:54Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_00d930571e3a46bdbd5310840b4a4f3d", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_30c8d3c0450e46e5af07e4fb60304f51", - "object": "Rate", "created_at": "2024-01-19T21:43:54Z", "updated_at": "2024-01-19T21:43:54Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_00d930571e3a46bdbd5310840b4a4f3d", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_cbe7bf8f4a0e4e0b86700760a712f037", - "object": "Rate", "created_at": "2024-01-19T21:43:54Z", "updated_at": "2024-01-19T21:43:54Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_00d930571e3a46bdbd5310840b4a4f3d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_6c58336c9bad4d3f89b5ec070bbd4344", "object": "Rate", "created_at": - "2024-01-19T21:43:54Z", "updated_at": "2024-01-19T21:43:54Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_00d930571e3a46bdbd5310840b4a4f3d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_2e8bdce7592e443a9e691db1722fe4f5", "object": "Rate", "created_at": - "2024-01-19T21:43:54Z", "updated_at": "2024-01-19T21:43:54Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_00d930571e3a46bdbd5310840b4a4f3d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_6b5543ef4c27436b9da0bf1a31b0eb10", - "object": "Rate", "created_at": "2024-01-19T21:43:55Z", "updated_at": "2024-01-19T21:43:55Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_00d930571e3a46bdbd5310840b4a4f3d", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_492710fc6ed6464b9be885e98f6cf830", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708082", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:43:55Z", - "updated_at": "2024-01-19T21:43:55Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_00d930571e3a46bdbd5310840b4a4f3d", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzQ5MjcxMGZjNmVkNjQ2NGI5YmU4ODVlOThmNmNmODMw"}, - "to_address": {"id": "adr_d7b382a9b71311ee8bf3ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T21:43:54+00:00", "updated_at": "2024-01-19T21:43:54+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_d7b5bbf5b71311ee8bf4ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:43:54+00:00", "updated_at": - "2024-01-19T21:43:54+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_d7b382a9b71311ee8bf3ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:43:54+00:00", "updated_at": "2024-01-19T21:43:54+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_00d930571e3a46bdbd5310840b4a4f3d", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_00d930571e3a46bdbd5310840b4a4f3d - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaed1ae78ba784000d4850 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.033384' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"scan_form": {"shipment": [{"id": "shp_00d930571e3a46bdbd5310840b4a4f3d"}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '77' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/scan_forms - response: - body: - string: '{"id": "sf_5ba7748c5d0140b5a925d6edaa0ea318", "object": "ScanForm", - "created_at": "2024-01-19T21:43:55Z", "updated_at": "2024-01-19T21:43:56Z", - "tracking_codes": ["9405500207552010708082"], "address": {"id": "adr_d7b5bbf5b71311ee8bf4ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:43:54+00:00", "updated_at": - "2024-01-19T21:43:54+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "status": "created", "message": null, "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e89d698efbdc24402fa5be51c6181c9ab1.pdf", - "form_file_type": null, "batch_id": "batch_efcc021881af4acf9ca7641cad9bb5dd", - "confirmation": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '916' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaed1be78ba785000d4935 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.346109' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:47:47Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010708532", "updated_at": "2024-01-19T21:47:48Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_7ec4211641694ce2885d210ef7232b15", "object": "CustomsInfo", "created_at": - "2024-01-19T21:47:47Z", "updated_at": "2024-01-19T21:47:47Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_745ef5c38ec54939abef9a266b01c8b9", - "object": "CustomsItem", "created_at": "2024-01-19T21:47:47Z", "updated_at": - "2024-01-19T21:47:47Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_62769976b71411eea873ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:47:47+00:00", "updated_at": - "2024-01-19T21:47:47+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_7db15485303d45d58006b0a6e6738bc1", - "object": "Parcel", "created_at": "2024-01-19T21:47:47Z", "updated_at": "2024-01-19T21:47:47Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_9cf8fb46299549249a30c87d30cf8cc1", "created_at": "2024-01-19T21:47:47Z", - "updated_at": "2024-01-19T21:47:48Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:47:47Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e856459050de584ea1bb0d0be8c5e75061.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_6e4e91e625994e85af89ee1f3c5ed8f0", "object": - "Rate", "created_at": "2024-01-19T21:47:47Z", "updated_at": "2024-01-19T21:47:47Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_ab404bde61924348a0a434a3d29b21d5", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b95cde3b2d4043b0b67974561dbac020", - "object": "Rate", "created_at": "2024-01-19T21:47:47Z", "updated_at": "2024-01-19T21:47:47Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_ab404bde61924348a0a434a3d29b21d5", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_bf3353a987dd4856893cd54765a7a952", - "object": "Rate", "created_at": "2024-01-19T21:47:47Z", "updated_at": "2024-01-19T21:47:47Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_ab404bde61924348a0a434a3d29b21d5", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_45c0eeb8f59c42938e926bc2bbb268a1", - "object": "Rate", "created_at": "2024-01-19T21:47:47Z", "updated_at": "2024-01-19T21:47:47Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_ab404bde61924348a0a434a3d29b21d5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_78cc103bfb8f46b7ae56aefeb25dc331", "object": "Rate", "created_at": - "2024-01-19T21:47:47Z", "updated_at": "2024-01-19T21:47:47Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_ab404bde61924348a0a434a3d29b21d5", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_b95cde3b2d4043b0b67974561dbac020", - "object": "Rate", "created_at": "2024-01-19T21:47:48Z", "updated_at": "2024-01-19T21:47:48Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_ab404bde61924348a0a434a3d29b21d5", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_2c63703baeb34badafe738e5c52adb1c", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708532", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:47:48Z", - "updated_at": "2024-01-19T21:47:48Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_ab404bde61924348a0a434a3d29b21d5", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzJjNjM3MDNiYWViMzRiYWRhZmU3MzhlNWM1MmFkYjFj"}, - "to_address": {"id": "adr_62742465b71411eeb80bac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T21:47:47+00:00", "updated_at": "2024-01-19T21:47:47+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_62769976b71411eea873ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:47:47+00:00", "updated_at": - "2024-01-19T21:47:47+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_62742465b71411eeb80bac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:47:47+00:00", "updated_at": "2024-01-19T21:47:47+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_ab404bde61924348a0a434a3d29b21d5", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_ab404bde61924348a0a434a3d29b21d5 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdab65aaee03e78bb00700113fcd - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '1.082454' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"scan_form": {"shipment": [{"id": "shp_ab404bde61924348a0a434a3d29b21d5"}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '77' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/scan_forms - response: - body: - string: '{"id": "sf_35fbe62e13ef435490cdba50206bbe7d", "object": "ScanForm", - "created_at": "2024-01-19T21:47:48Z", "updated_at": "2024-01-19T21:47:49Z", - "tracking_codes": ["9405500207552010708532"], "address": {"id": "adr_62769976b71411eea873ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:47:47+00:00", "updated_at": - "2024-01-19T21:47:47+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "status": "created", "message": null, "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e8273a04dec4a04b608b4dfa3f62081637.pdf", - "form_file_type": null, "batch_id": "batch_651da9cd311940a79b00fcc31407e1f3", - "confirmation": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '916' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda865aaee04e78bb008001140a2 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.356216' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:49:42Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010709096", "updated_at": "2024-01-19T21:49:43Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_bf41b58932264704b2a74a06564ced94", "object": "CustomsInfo", "created_at": - "2024-01-19T21:49:42Z", "updated_at": "2024-01-19T21:49:42Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_20a5eaa081954403b85146f3f260e8c0", - "object": "CustomsItem", "created_at": "2024-01-19T21:49:42Z", "updated_at": - "2024-01-19T21:49:42Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_a70a3548b71411eebeffac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:49:42+00:00", "updated_at": - "2024-01-19T21:49:42+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_6f6285c0d4624da4a14bed6623f1e622", - "object": "Parcel", "created_at": "2024-01-19T21:49:42Z", "updated_at": "2024-01-19T21:49:42Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_e168ab64e5d448f8bb3aa462416f2114", "created_at": "2024-01-19T21:49:43Z", - "updated_at": "2024-01-19T21:49:43Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:49:43Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8232936c65406470d8290187607d2ac4c.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_5fb93e55bfb342e689408f638e287bfd", "object": - "Rate", "created_at": "2024-01-19T21:49:42Z", "updated_at": "2024-01-19T21:49:42Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_8df979b0c6354a3b868805b75df2bf49", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4e55e64ae7ca4099898cfbb454306ed6", - "object": "Rate", "created_at": "2024-01-19T21:49:42Z", "updated_at": "2024-01-19T21:49:42Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_8df979b0c6354a3b868805b75df2bf49", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c8812aa823164194906581e6fee5cc2f", - "object": "Rate", "created_at": "2024-01-19T21:49:42Z", "updated_at": "2024-01-19T21:49:42Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_8df979b0c6354a3b868805b75df2bf49", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_bb44db8b6c544760a53a9ed9902cbbf8", "object": "Rate", "created_at": - "2024-01-19T21:49:42Z", "updated_at": "2024-01-19T21:49:42Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_8df979b0c6354a3b868805b75df2bf49", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_28ad6bf06b144c208b852ac47dc5d1da", "object": "Rate", "created_at": - "2024-01-19T21:49:42Z", "updated_at": "2024-01-19T21:49:42Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_8df979b0c6354a3b868805b75df2bf49", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_5fb93e55bfb342e689408f638e287bfd", - "object": "Rate", "created_at": "2024-01-19T21:49:43Z", "updated_at": "2024-01-19T21:49:43Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_8df979b0c6354a3b868805b75df2bf49", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_735e6328a15d44b293a25b89ce98eebd", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010709096", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:49:43Z", - "updated_at": "2024-01-19T21:49:43Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_8df979b0c6354a3b868805b75df2bf49", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzczNWU2MzI4YTE1ZDQ0YjI5M2EyNWI4OWNlOThlZWJk"}, - "to_address": {"id": "adr_a707259db71411eebbe13cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:49:42+00:00", "updated_at": "2024-01-19T21:49:42+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_a70a3548b71411eebeffac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:49:42+00:00", "updated_at": - "2024-01-19T21:49:42+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_a707259db71411eebbe13cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:49:42+00:00", "updated_at": "2024-01-19T21:49:42+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_8df979b0c6354a3b868805b75df2bf49", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_8df979b0c6354a3b868805b75df2bf49 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdad65aaee76e78bb533001181f6 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '1.187689' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"scan_form": {"shipment": [{"id": "shp_8df979b0c6354a3b868805b75df2bf49"}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '77' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/scan_forms - response: - body: - string: '{"id": "sf_762d602eff76455da1ab54d121ff3bbe", "object": "ScanForm", - "created_at": "2024-01-19T21:49:43Z", "updated_at": "2024-01-19T21:49:44Z", - "tracking_codes": ["9405500207552010709096"], "address": {"id": "adr_a70a3548b71411eebeffac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:49:42+00:00", "updated_at": - "2024-01-19T21:49:42+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "status": "created", "message": null, "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e8de1193e8f1184c65886039f7ec5abd07.pdf", - "form_file_type": null, "batch_id": "batch_fa8848faaaa84168a3a63074a3349db8", - "confirmation": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '916' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdae65aaee77e78bb534001182b3 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.379741' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:59:01Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010711532", "updated_at": "2024-01-19T21:59:02Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_317a8b33a2224344a22cb40b851c7ec1", "object": "CustomsInfo", "created_at": - "2024-01-19T21:59:01Z", "updated_at": "2024-01-19T21:59:01Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_14d1b4b1e96d4f018104799981f18d48", - "object": "CustomsItem", "created_at": "2024-01-19T21:59:01Z", "updated_at": - "2024-01-19T21:59:01Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_f43a394db71511eeacdbac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:59:01+00:00", "updated_at": - "2024-01-19T21:59:01+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_6b270c2da89f4ee3a469ca8adfaf4700", - "object": "Parcel", "created_at": "2024-01-19T21:59:01Z", "updated_at": "2024-01-19T21:59:01Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_675dfb981ec1495295f84a8af171a4c1", "created_at": "2024-01-19T21:59:02Z", - "updated_at": "2024-01-19T21:59:02Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:59:02Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e88a9e038a264846e0924a409c02488c71.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_3e4a870fd7fd4b72b199839c25d56712", "object": - "Rate", "created_at": "2024-01-19T21:59:01Z", "updated_at": "2024-01-19T21:59:01Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_f27871ae1d4b4280a48d2b72dd529075", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_d8eb0ab66754490ab5673683084a655b", - "object": "Rate", "created_at": "2024-01-19T21:59:01Z", "updated_at": "2024-01-19T21:59:01Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_f27871ae1d4b4280a48d2b72dd529075", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_dd2d61d27ab84536ba944a569d92035d", - "object": "Rate", "created_at": "2024-01-19T21:59:01Z", "updated_at": "2024-01-19T21:59:01Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_f27871ae1d4b4280a48d2b72dd529075", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_db2df336060b404b9bfde6db9863a91f", "object": "Rate", "created_at": - "2024-01-19T21:59:01Z", "updated_at": "2024-01-19T21:59:01Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_f27871ae1d4b4280a48d2b72dd529075", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_7266c780f375409ab218681aead74e76", "object": "Rate", "created_at": - "2024-01-19T21:59:01Z", "updated_at": "2024-01-19T21:59:01Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_f27871ae1d4b4280a48d2b72dd529075", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_3e4a870fd7fd4b72b199839c25d56712", - "object": "Rate", "created_at": "2024-01-19T21:59:02Z", "updated_at": "2024-01-19T21:59:02Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_f27871ae1d4b4280a48d2b72dd529075", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_358fa0190dd2445aabfccb1fe6fd731d", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711532", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:59:02Z", - "updated_at": "2024-01-19T21:59:02Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_f27871ae1d4b4280a48d2b72dd529075", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzM1OGZhMDE5MGRkMjQ0NWFhYmZjY2IxZmU2ZmQ3MzFk"}, - "to_address": {"id": "adr_f43816ddb71511eebd46ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T21:59:01+00:00", "updated_at": "2024-01-19T21:59:01+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_f43a394db71511eeacdbac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:59:01+00:00", "updated_at": - "2024-01-19T21:59:01+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_f43816ddb71511eebd46ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:59:01+00:00", "updated_at": "2024-01-19T21:59:01+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_f27871ae1d4b4280a48d2b72dd529075", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_f27871ae1d4b4280a48d2b72dd529075 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaf0a5e798bfc0000f8487 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.182988' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"scan_form": {"shipment": [{"id": "shp_f27871ae1d4b4280a48d2b72dd529075"}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '77' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/scan_forms - response: - body: - string: '{"id": "sf_45b76001e6ac438d8729b5f832b46bef", "object": "ScanForm", - "created_at": "2024-01-19T21:59:02Z", "updated_at": "2024-01-19T21:59:03Z", - "tracking_codes": ["9405500207552010711532"], "address": {"id": "adr_f43a394db71511eeacdbac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:59:01+00:00", "updated_at": - "2024-01-19T21:59:01+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "status": "created", "message": null, "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e8225f012a88a64dd48c3f4701389b743f.pdf", - "form_file_type": null, "batch_id": "batch_49608fbf9a124bc3969b509f7a96a678", - "confirmation": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '916' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaf0a6e798bfd8000f8583 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.243389' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T22:01:56Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010711952", "updated_at": "2024-01-19T22:01:57Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_9e5e510ec9b14117bdf18a7612f85ffa", "object": "CustomsInfo", "created_at": - "2024-01-19T22:01:56Z", "updated_at": "2024-01-19T22:01:56Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_212c173d1c2642948154a1deb79be76d", - "object": "CustomsItem", "created_at": "2024-01-19T22:01:56Z", "updated_at": - "2024-01-19T22:01:56Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_5c840fe4b71611ee8ea1ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:01:56+00:00", "updated_at": - "2024-01-19T22:01:56+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_2968be35348143beb643a97dedc3f99d", - "object": "Parcel", "created_at": "2024-01-19T22:01:56Z", "updated_at": "2024-01-19T22:01:56Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_a60a26a63db64592ae13f694360b657d", "created_at": "2024-01-19T22:01:56Z", - "updated_at": "2024-01-19T22:01:57Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T22:01:56Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8683cc5b120d84a83b547bffd537a0201.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_eb22c5836f464069ae85781d1209ef5f", "object": - "Rate", "created_at": "2024-01-19T22:01:56Z", "updated_at": "2024-01-19T22:01:56Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_fa817114ac2b40259ce478f44406ec5f", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_2bc7275f786143c8b4c72aecbefccdf2", - "object": "Rate", "created_at": "2024-01-19T22:01:56Z", "updated_at": "2024-01-19T22:01:56Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_fa817114ac2b40259ce478f44406ec5f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_70c929217ded42b7a385d7afd3d54ce8", "object": "Rate", "created_at": - "2024-01-19T22:01:56Z", "updated_at": "2024-01-19T22:01:56Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_fa817114ac2b40259ce478f44406ec5f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_443a71f05f9a4f19b368df1b3d0fe223", "object": "Rate", "created_at": - "2024-01-19T22:01:56Z", "updated_at": "2024-01-19T22:01:56Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_fa817114ac2b40259ce478f44406ec5f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_b04b8275d97c459cbea6700f48f1712d", "object": "Rate", "created_at": - "2024-01-19T22:01:56Z", "updated_at": "2024-01-19T22:01:56Z", "mode": "test", - "service": "Priority", "carrier": "USPS", "rate": "7.99", "currency": "USD", - "retail_rate": "14.05", "retail_currency": "USD", "list_rate": "10.27", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": - "shp_fa817114ac2b40259ce478f44406ec5f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_b04b8275d97c459cbea6700f48f1712d", - "object": "Rate", "created_at": "2024-01-19T22:01:57Z", "updated_at": "2024-01-19T22:01:57Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_fa817114ac2b40259ce478f44406ec5f", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_cbe54916122846f0ad426769abd98ee6", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711952", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:01:57Z", - "updated_at": "2024-01-19T22:01:57Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_fa817114ac2b40259ce478f44406ec5f", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrX2NiZTU0OTE2MTIyODQ2ZjBhZDQyNjc2OWFiZDk4ZWU2"}, - "to_address": {"id": "adr_5c82498ab71611ee8c763cecef1b359e", "object": "Address", - "created_at": "2024-01-19T22:01:56+00:00", "updated_at": "2024-01-19T22:01:56+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_5c840fe4b71611ee8ea1ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:01:56+00:00", "updated_at": - "2024-01-19T22:01:56+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_5c82498ab71611ee8c763cecef1b359e", "object": - "Address", "created_at": "2024-01-19T22:01:56+00:00", "updated_at": "2024-01-19T22:01:56+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_fa817114ac2b40259ce478f44406ec5f", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_fa817114ac2b40259ce478f44406ec5f - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf154e798c83c00101fb9 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.997149' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"scan_form": {"shipment": [{"id": "shp_fa817114ac2b40259ce478f44406ec5f"}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '77' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/scan_forms - response: - body: - string: '{"id": "sf_0b89942c2c09432c83cc1c05dd24199c", "object": "ScanForm", - "created_at": "2024-01-19T22:01:57Z", "updated_at": "2024-01-19T22:01:57Z", - "tracking_codes": ["9405500207552010711952"], "address": {"id": "adr_5c840fe4b71611ee8ea1ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:01:56+00:00", "updated_at": - "2024-01-19T22:01:56+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "status": "created", "message": null, "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e88376d17a3bc14a078ad3ab515231e6ab.pdf", - "form_file_type": null, "batch_id": "batch_ef95d7e7135c43ffaa1d6d23c6a92b8c", - "confirmation": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '916' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaf155e798c83d0010208b - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.355404' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T22:05:44Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010712782", "updated_at": "2024-01-19T22:05:45Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_55396e7df7ed4b5a89451a3e80650cab", "object": "CustomsInfo", "created_at": - "2024-01-19T22:05:44Z", "updated_at": "2024-01-19T22:05:44Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_e5a2ba1046714bb6b50038853250b9e8", - "object": "CustomsItem", "created_at": "2024-01-19T22:05:44Z", "updated_at": - "2024-01-19T22:05:44Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_e430bca5b71611eeb9133cecef1b359e", - "object": "Address", "created_at": "2024-01-19T22:05:44+00:00", "updated_at": - "2024-01-19T22:05:44+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_4ed86b6044b74d708a02cbf82faccd76", - "object": "Parcel", "created_at": "2024-01-19T22:05:44Z", "updated_at": "2024-01-19T22:05:44Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_b25954d82ed645e3b18ff815ec6b956b", "created_at": "2024-01-19T22:05:44Z", - "updated_at": "2024-01-19T22:05:44Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T22:05:44Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e832f1ed8aff654f28b0fe1f985b30bf49.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_458cd1c69a604bfd989581ff1c6f3939", "object": - "Rate", "created_at": "2024-01-19T22:05:44Z", "updated_at": "2024-01-19T22:05:44Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_9d6d484229e94a388171b00279d2fc0a", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_19c39dbd9e5c4c80a118d0f07bf86a8f", - "object": "Rate", "created_at": "2024-01-19T22:05:44Z", "updated_at": "2024-01-19T22:05:44Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_9d6d484229e94a388171b00279d2fc0a", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_88b059ea51d147649f26a9ef123fe5f6", - "object": "Rate", "created_at": "2024-01-19T22:05:44Z", "updated_at": "2024-01-19T22:05:44Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_9d6d484229e94a388171b00279d2fc0a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_fa29e292d3b14915bc78f0f2c5fc7a8a", "object": "Rate", "created_at": - "2024-01-19T22:05:44Z", "updated_at": "2024-01-19T22:05:44Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_9d6d484229e94a388171b00279d2fc0a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_6cb902f9cf0849d48ae3a92b56195ac5", "object": "Rate", "created_at": - "2024-01-19T22:05:44Z", "updated_at": "2024-01-19T22:05:44Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_9d6d484229e94a388171b00279d2fc0a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_458cd1c69a604bfd989581ff1c6f3939", - "object": "Rate", "created_at": "2024-01-19T22:05:44Z", "updated_at": "2024-01-19T22:05:44Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_9d6d484229e94a388171b00279d2fc0a", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_bc89b40b71884a7a995d52a520a436bf", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010712782", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:05:45Z", - "updated_at": "2024-01-19T22:05:45Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_9d6d484229e94a388171b00279d2fc0a", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrX2JjODliNDBiNzE4ODRhN2E5OTVkNTJhNTIwYTQzNmJm"}, - "to_address": {"id": "adr_e42c96b7b71611eeb9113cecef1b359e", "object": "Address", - "created_at": "2024-01-19T22:05:44+00:00", "updated_at": "2024-01-19T22:05:44+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_e430bca5b71611eeb9133cecef1b359e", - "object": "Address", "created_at": "2024-01-19T22:05:44+00:00", "updated_at": - "2024-01-19T22:05:44+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_e42c96b7b71611eeb9113cecef1b359e", "object": - "Address", "created_at": "2024-01-19T22:05:44+00:00", "updated_at": "2024-01-19T22:05:44+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_9d6d484229e94a388171b00279d2fc0a", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_9d6d484229e94a388171b00279d2fc0a - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf237e798d1000010c683 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.094809' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"scan_form": {"shipment": [{"id": "shp_9d6d484229e94a388171b00279d2fc0a"}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '77' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/scan_forms - response: - body: - string: '{"id": "sf_9a6e14768208452c97415cc75a6ca504", "object": "ScanForm", - "created_at": "2024-01-19T22:05:45Z", "updated_at": "2024-01-19T22:05:45Z", - "tracking_codes": ["9405500207552010712782"], "address": {"id": "adr_e430bca5b71611eeb9133cecef1b359e", - "object": "Address", "created_at": "2024-01-19T22:05:44+00:00", "updated_at": - "2024-01-19T22:05:44+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "status": "created", "message": null, "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e8910ae53b2803417285d9078885c26254.pdf", - "form_file_type": null, "batch_id": "batch_0d9a9eb50f0b4dc68b32b25d61a61a7d", - "confirmation": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '916' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf239e798d1010010c765 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.509491' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_scan_form_list.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_scan_form_list.yaml deleted file mode 100644 index 8fd7515b..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_scan_form_list.yaml +++ /dev/null @@ -1,506 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/scan_forms?page_size=1 - response: - body: - string: '{"scan_forms": [{"id": "sf_7da5cfcbb18448a1b8557d6f46dcfd63", "object": - "ScanForm", "created_at": "2024-01-19T21:42:01Z", "updated_at": "2024-01-19T21:42:02Z", - "tracking_codes": ["9405500207552010707771"], "address": {"id": "adr_939e948eb71311eeb35fac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:42:00+00:00", "updated_at": - "2024-01-19T21:42:00+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "status": "created", "message": null, "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e88e3aaa0500a342a6ba20d2fe6c3cd189.pdf", - "form_file_type": null, "batch_id": "batch_20ed0a5f5e4f4e5c8cf2b4f966ceb924", - "confirmation": null}], "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '949' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaecaae78b9f63000d0754 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.041722' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/scan_forms?page_size=1 - response: - body: - string: '{"scan_forms": [{"id": "sf_f25eda89a8074a699f6f76c8eaaa349e", "object": - "ScanForm", "created_at": "2024-01-19T21:43:58Z", "updated_at": "2024-01-19T21:43:58Z", - "tracking_codes": ["9405500207552010708099"], "address": {"id": "adr_d8e39620b71311eebd5cac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:43:56+00:00", "updated_at": - "2024-01-19T21:43:56+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "status": "created", "message": null, "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e8ccdd7972f6884e22a024ae6835e7dd0d.pdf", - "form_file_type": null, "batch_id": "batch_b03a60bcbc3a4304b454870debb18a95", - "confirmation": null}], "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '949' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaed1ee78ba789000d4b3c - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.044192' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/scan_forms?page_size=1 - response: - body: - string: '{"scan_forms": [{"id": "sf_2c81f564c6354c7d830d919480c6df4c", "object": - "ScanForm", "created_at": "2024-01-19T21:47:50Z", "updated_at": "2024-01-19T21:47:51Z", - "tracking_codes": ["9405500207552010708549"], "address": {"id": "adr_63b80d85b71411eeb872ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:47:49+00:00", "updated_at": - "2024-01-19T21:47:49+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "status": "created", "message": null, "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e8497c81ee5e3344c5b5571076d5b115e0.pdf", - "form_file_type": null, "batch_id": "batch_b3eff1db86ca4e1fa0fe94dca8cfe387", - "confirmation": null}], "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '949' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdae65aaee07e78bb00c001142a4 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.041933' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/scan_forms?page_size=1 - response: - body: - string: '{"scan_forms": [{"id": "sf_1be115f4129540d9a9d554293979dcd2", "object": - "ScanForm", "created_at": "2024-01-19T21:49:46Z", "updated_at": "2024-01-19T21:49:46Z", - "tracking_codes": ["9405500207552010709102"], "address": {"id": "adr_a84db4e5b71411ee8db7ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:49:44+00:00", "updated_at": - "2024-01-19T21:49:44+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "status": "created", "message": null, "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e89fb1eea90766417a97ffcbd97f34758f.pdf", - "form_file_type": null, "batch_id": "batch_1f2b6f67ee9441d0a4665930a68332c4", - "confirmation": null}], "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '949' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdaa65aaee7be78bb8460011846a - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.045236' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/scan_forms?page_size=1 - response: - body: - string: '{"scan_forms": [{"id": "sf_1eb4a2f980fc40feb3c821ce3e6ca278", "object": - "ScanForm", "created_at": "2024-01-19T21:59:04Z", "updated_at": "2024-01-19T21:59:05Z", - "tracking_codes": ["9405500207552010711549"], "address": {"id": "adr_f56b9bb7b71511eebda6ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:59:03+00:00", "updated_at": - "2024-01-19T21:59:03+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "status": "created", "message": null, "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e88f3d9ee4a5a6448ebf1455c89f5a640a.pdf", - "form_file_type": null, "batch_id": "batch_cfd9e0a3dee34f68b8eead06b7c9b995", - "confirmation": null}], "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '949' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaf0a9e798bfdc000f8774 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.039735' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/scan_forms?page_size=1 - response: - body: - string: '{"scan_forms": [{"id": "sf_aaa1967cefe54ba389850a28c61bb704", "object": - "ScanForm", "created_at": "2024-01-19T22:02:00Z", "updated_at": "2024-01-19T22:02:00Z", - "tracking_codes": ["9405500207552010711969"], "address": {"id": "adr_5dbc0d4eb71611ee8ef8ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:01:58+00:00", "updated_at": - "2024-01-19T22:01:58+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "status": "created", "message": null, "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e86363cd2729314ce3a405dc645e3e2edf.pdf", - "form_file_type": null, "batch_id": "batch_aebd0d167bf542e788a9eb1bb2a62fb2", - "confirmation": null}], "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '949' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaf159e798c84100102331 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.045735' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/scan_forms?page_size=1 - response: - body: - string: '{"scan_forms": [{"id": "sf_1de4ead0dce34c4387c7836727c39c33", "object": - "ScanForm", "created_at": "2024-01-19T22:05:48Z", "updated_at": "2024-01-19T22:05:48Z", - "tracking_codes": ["9405500207552010712812"], "address": {"id": "adr_e5cd9cfdb71611eebe4cac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T22:05:46+00:00", "updated_at": - "2024-01-19T22:05:46+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "status": "created", "message": null, "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e8c5d3ed3cc27e475da3b25c1da9d6fd3b.pdf", - "form_file_type": null, "batch_id": "batch_1159df9904bb4176918e6bb190604a18", - "confirmation": null}], "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '949' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf23de798d1050010ca27 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.051069' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_scan_form_retrieve.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_scan_form_retrieve.yaml deleted file mode 100644 index ccfd03de..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_scan_form_retrieve.yaml +++ /dev/null @@ -1,2353 +0,0 @@ -interactions: -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:42:00Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010707771", "updated_at": "2024-01-19T21:42:01Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_b8df8ab18426437884d0bdbcc8cd7a38", "object": "CustomsInfo", "created_at": - "2024-01-19T21:42:00Z", "updated_at": "2024-01-19T21:42:00Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_70b1522825c645659169b66fed6c5ff8", - "object": "CustomsItem", "created_at": "2024-01-19T21:42:00Z", "updated_at": - "2024-01-19T21:42:00Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_939e948eb71311eeb35fac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:42:00+00:00", "updated_at": - "2024-01-19T21:42:00+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_3ae2306725f2419cb812702fab0e8879", - "object": "Parcel", "created_at": "2024-01-19T21:42:00Z", "updated_at": "2024-01-19T21:42:00Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_7123fce93f754da197413633321ea20f", "created_at": "2024-01-19T21:42:01Z", - "updated_at": "2024-01-19T21:42:01Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:42:01Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8d34f289678574f3fa795bbf64a495e47.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_e2a94cdc60d2464aa89a69d29cf12f7a", "object": - "Rate", "created_at": "2024-01-19T21:42:00Z", "updated_at": "2024-01-19T21:42:00Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_cf8e56cf20974b3da7c68ef7da9c1718", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_e68bd3f50b7d499a99ce5936e5376154", - "object": "Rate", "created_at": "2024-01-19T21:42:00Z", "updated_at": "2024-01-19T21:42:00Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_cf8e56cf20974b3da7c68ef7da9c1718", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_233e3d437e8c4c1a969f94b4c751d1f9", - "object": "Rate", "created_at": "2024-01-19T21:42:00Z", "updated_at": "2024-01-19T21:42:00Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_cf8e56cf20974b3da7c68ef7da9c1718", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_05ca078c91cb4f90a7544b18ece7c135", - "object": "Rate", "created_at": "2024-01-19T21:42:00Z", "updated_at": "2024-01-19T21:42:00Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_cf8e56cf20974b3da7c68ef7da9c1718", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_afc77f652bbb4f94a8b679a1afdf9547", "object": "Rate", "created_at": - "2024-01-19T21:42:00Z", "updated_at": "2024-01-19T21:42:00Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_cf8e56cf20974b3da7c68ef7da9c1718", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_e68bd3f50b7d499a99ce5936e5376154", - "object": "Rate", "created_at": "2024-01-19T21:42:01Z", "updated_at": "2024-01-19T21:42:01Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_cf8e56cf20974b3da7c68ef7da9c1718", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_73461d4218344b6198a1736e508a8cbf", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010707771", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:42:01Z", - "updated_at": "2024-01-19T21:42:01Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_cf8e56cf20974b3da7c68ef7da9c1718", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzczNDYxZDQyMTgzNDRiNjE5OGExNzM2ZTUwOGE4Y2Jm"}, - "to_address": {"id": "adr_939be8d4b71311eea487ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:42:00+00:00", "updated_at": "2024-01-19T21:42:00+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_939e948eb71311eeb35fac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:42:00+00:00", "updated_at": - "2024-01-19T21:42:00+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_939be8d4b71311eea487ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:42:00+00:00", "updated_at": "2024-01-19T21:42:00+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_cf8e56cf20974b3da7c68ef7da9c1718", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_cf8e56cf20974b3da7c68ef7da9c1718 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaeca8e78b9f48000d062d - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.226120' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"scan_form": {"shipment": [{"id": "shp_cf8e56cf20974b3da7c68ef7da9c1718"}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '77' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/scan_forms - response: - body: - string: '{"id": "sf_7da5cfcbb18448a1b8557d6f46dcfd63", "object": "ScanForm", - "created_at": "2024-01-19T21:42:01Z", "updated_at": "2024-01-19T21:42:02Z", - "tracking_codes": ["9405500207552010707771"], "address": {"id": "adr_939e948eb71311eeb35fac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:42:00+00:00", "updated_at": - "2024-01-19T21:42:00+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "status": "created", "message": null, "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e88e3aaa0500a342a6ba20d2fe6c3cd189.pdf", - "form_file_type": null, "batch_id": "batch_20ed0a5f5e4f4e5c8cf2b4f966ceb924", - "confirmation": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '916' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaeca9e78b9f4a000d06f4 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.260452' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/scan_forms/sf_7da5cfcbb18448a1b8557d6f46dcfd63 - response: - body: - string: '{"id": "sf_7da5cfcbb18448a1b8557d6f46dcfd63", "object": "ScanForm", - "created_at": "2024-01-19T21:42:01Z", "updated_at": "2024-01-19T21:42:02Z", - "tracking_codes": ["9405500207552010707771"], "address": {"id": "adr_939e948eb71311eeb35fac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:42:00+00:00", "updated_at": - "2024-01-19T21:42:00+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "status": "created", "message": null, "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e88e3aaa0500a342a6ba20d2fe6c3cd189.pdf", - "form_file_type": null, "batch_id": "batch_20ed0a5f5e4f4e5c8cf2b4f966ceb924", - "confirmation": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '916' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaecaae78b9f4b000d072c - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.058835' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:43:56Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010708099", "updated_at": "2024-01-19T21:43:57Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_44de8cf3040d4c4681d4460cd76ad867", "object": "CustomsInfo", "created_at": - "2024-01-19T21:43:56Z", "updated_at": "2024-01-19T21:43:56Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_b821210fd766418bb3fcff593d7f2d6e", - "object": "CustomsItem", "created_at": "2024-01-19T21:43:56Z", "updated_at": - "2024-01-19T21:43:56Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_d8e39620b71311eebd5cac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:43:56+00:00", "updated_at": - "2024-01-19T21:43:56+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_79113baf47d44d568056e217b0fd5c82", - "object": "Parcel", "created_at": "2024-01-19T21:43:56Z", "updated_at": "2024-01-19T21:43:56Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_fc082d6a1c134fdcba446681503f5395", "created_at": "2024-01-19T21:43:57Z", - "updated_at": "2024-01-19T21:43:57Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:43:57Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8b7046c350b564342b0f7190c7eb061e7.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_e23a64d44fd2445bb73a85632d30bb8a", "object": - "Rate", "created_at": "2024-01-19T21:43:56Z", "updated_at": "2024-01-19T21:43:56Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_6ffa3fa64a8243629566ceef79076b0e", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_ba6b68e5d5174ce1a99cced7b6a54501", - "object": "Rate", "created_at": "2024-01-19T21:43:56Z", "updated_at": "2024-01-19T21:43:56Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_6ffa3fa64a8243629566ceef79076b0e", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_2249968fac32416391f9e4e47dd41433", - "object": "Rate", "created_at": "2024-01-19T21:43:56Z", "updated_at": "2024-01-19T21:43:56Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_6ffa3fa64a8243629566ceef79076b0e", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_74903299d59b4eed9823e16668a51067", "object": "Rate", "created_at": - "2024-01-19T21:43:56Z", "updated_at": "2024-01-19T21:43:56Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_6ffa3fa64a8243629566ceef79076b0e", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_9f24327adb11459180bcbebff740fa25", "object": "Rate", "created_at": - "2024-01-19T21:43:56Z", "updated_at": "2024-01-19T21:43:56Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_6ffa3fa64a8243629566ceef79076b0e", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_e23a64d44fd2445bb73a85632d30bb8a", - "object": "Rate", "created_at": "2024-01-19T21:43:57Z", "updated_at": "2024-01-19T21:43:57Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_6ffa3fa64a8243629566ceef79076b0e", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_19cda064a4c248dc91f9fcc2901c8cce", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708099", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:43:57Z", - "updated_at": "2024-01-19T21:43:57Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_6ffa3fa64a8243629566ceef79076b0e", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzE5Y2RhMDY0YTRjMjQ4ZGM5MWY5ZmNjMjkwMWM4Y2Nl"}, - "to_address": {"id": "adr_d8e13c66b71311eebae73cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:43:56+00:00", "updated_at": "2024-01-19T21:43:56+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_d8e39620b71311eebd5cac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:43:56+00:00", "updated_at": - "2024-01-19T21:43:56+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_d8e13c66b71311eebae73cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:43:56+00:00", "updated_at": "2024-01-19T21:43:56+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_6ffa3fa64a8243629566ceef79076b0e", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_6ffa3fa64a8243629566ceef79076b0e - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaed1ce78ba786000d49c1 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.142754' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"scan_form": {"shipment": [{"id": "shp_6ffa3fa64a8243629566ceef79076b0e"}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '77' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/scan_forms - response: - body: - string: '{"id": "sf_f25eda89a8074a699f6f76c8eaaa349e", "object": "ScanForm", - "created_at": "2024-01-19T21:43:58Z", "updated_at": "2024-01-19T21:43:58Z", - "tracking_codes": ["9405500207552010708099"], "address": {"id": "adr_d8e39620b71311eebd5cac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:43:56+00:00", "updated_at": - "2024-01-19T21:43:56+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "status": "created", "message": null, "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e8ccdd7972f6884e22a024ae6835e7dd0d.pdf", - "form_file_type": null, "batch_id": "batch_b03a60bcbc3a4304b454870debb18a95", - "confirmation": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '916' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaed1de78ba787000d4ab3 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.282048' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/scan_forms/sf_f25eda89a8074a699f6f76c8eaaa349e - response: - body: - string: '{"id": "sf_f25eda89a8074a699f6f76c8eaaa349e", "object": "ScanForm", - "created_at": "2024-01-19T21:43:58Z", "updated_at": "2024-01-19T21:43:58Z", - "tracking_codes": ["9405500207552010708099"], "address": {"id": "adr_d8e39620b71311eebd5cac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:43:56+00:00", "updated_at": - "2024-01-19T21:43:56+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "status": "created", "message": null, "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e8ccdd7972f6884e22a024ae6835e7dd0d.pdf", - "form_file_type": null, "batch_id": "batch_b03a60bcbc3a4304b454870debb18a95", - "confirmation": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '916' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaed1ee78ba788000d4b12 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.033475' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:47:49Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010708549", "updated_at": "2024-01-19T21:47:50Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_c7479a268d604b0681baeea11f921e74", "object": "CustomsInfo", "created_at": - "2024-01-19T21:47:49Z", "updated_at": "2024-01-19T21:47:49Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_3c687cce810c47e3b4b8599cce4b7341", - "object": "CustomsItem", "created_at": "2024-01-19T21:47:49Z", "updated_at": - "2024-01-19T21:47:49Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_63b80d85b71411eeb872ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:47:49+00:00", "updated_at": - "2024-01-19T21:47:49+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_8478aa9464a24675a1cf63b2184c59be", - "object": "Parcel", "created_at": "2024-01-19T21:47:49Z", "updated_at": "2024-01-19T21:47:49Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_5a6004eb623a4e63bd6d826905066980", "created_at": "2024-01-19T21:47:50Z", - "updated_at": "2024-01-19T21:47:50Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:47:50Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8c162a623d0c94394a16cfec16ad00ce4.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_fa30f85afd164334bc378eb0b6bcae9a", "object": - "Rate", "created_at": "2024-01-19T21:47:49Z", "updated_at": "2024-01-19T21:47:49Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_3520e5b9d85d464389c46c01f34a943a", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f5aafb9f1fe547ef878883d7fb4dd51b", - "object": "Rate", "created_at": "2024-01-19T21:47:49Z", "updated_at": "2024-01-19T21:47:49Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_3520e5b9d85d464389c46c01f34a943a", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_26f0a3d0877545649e010f7a8a268f13", - "object": "Rate", "created_at": "2024-01-19T21:47:49Z", "updated_at": "2024-01-19T21:47:49Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_3520e5b9d85d464389c46c01f34a943a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_7a083ecc7b8c4d2bb7aa73e10dc31629", "object": "Rate", "created_at": - "2024-01-19T21:47:49Z", "updated_at": "2024-01-19T21:47:49Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_3520e5b9d85d464389c46c01f34a943a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_c62cb64690504e2e95c1f197d40f4388", "object": "Rate", "created_at": - "2024-01-19T21:47:49Z", "updated_at": "2024-01-19T21:47:49Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_3520e5b9d85d464389c46c01f34a943a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_fa30f85afd164334bc378eb0b6bcae9a", - "object": "Rate", "created_at": "2024-01-19T21:47:50Z", "updated_at": "2024-01-19T21:47:50Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_3520e5b9d85d464389c46c01f34a943a", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_3964cdba1dc94256b352d7333095e9ba", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708549", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:47:50Z", - "updated_at": "2024-01-19T21:47:50Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_3520e5b9d85d464389c46c01f34a943a", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzM5NjRjZGJhMWRjOTQyNTZiMzUyZDczMzMwOTVlOWJh"}, - "to_address": {"id": "adr_63b62bc4b71411eeaa05ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:47:49+00:00", "updated_at": "2024-01-19T21:47:49+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_63b80d85b71411eeb872ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:47:49+00:00", "updated_at": - "2024-01-19T21:47:49+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_63b62bc4b71411eeaa05ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:47:49+00:00", "updated_at": "2024-01-19T21:47:49+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_3520e5b9d85d464389c46c01f34a943a", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_3520e5b9d85d464389c46c01f34a943a - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdaa65aaee05e78bb00900114125 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '1.200560' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"scan_form": {"shipment": [{"id": "shp_3520e5b9d85d464389c46c01f34a943a"}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '77' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/scan_forms - response: - body: - string: '{"id": "sf_2c81f564c6354c7d830d919480c6df4c", "object": "ScanForm", - "created_at": "2024-01-19T21:47:50Z", "updated_at": "2024-01-19T21:47:51Z", - "tracking_codes": ["9405500207552010708549"], "address": {"id": "adr_63b80d85b71411eeb872ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:47:49+00:00", "updated_at": - "2024-01-19T21:47:49+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "status": "created", "message": null, "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e8497c81ee5e3344c5b5571076d5b115e0.pdf", - "form_file_type": null, "batch_id": "batch_b3eff1db86ca4e1fa0fe94dca8cfe387", - "confirmation": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '916' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdae65aaee06e78bb00a0011420e - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.354980' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/scan_forms/sf_2c81f564c6354c7d830d919480c6df4c - response: - body: - string: '{"id": "sf_2c81f564c6354c7d830d919480c6df4c", "object": "ScanForm", - "created_at": "2024-01-19T21:47:50Z", "updated_at": "2024-01-19T21:47:51Z", - "tracking_codes": ["9405500207552010708549"], "address": {"id": "adr_63b80d85b71411eeb872ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:47:49+00:00", "updated_at": - "2024-01-19T21:47:49+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "status": "created", "message": null, "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e8497c81ee5e3344c5b5571076d5b115e0.pdf", - "form_file_type": null, "batch_id": "batch_b3eff1db86ca4e1fa0fe94dca8cfe387", - "confirmation": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '916' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdae65aaee07e78bb00b0011426a - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.030897' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:49:44Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010709102", "updated_at": "2024-01-19T21:49:45Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_e1d6f30a63c6407d856f3cd7958aaf0c", "object": "CustomsInfo", "created_at": - "2024-01-19T21:49:44Z", "updated_at": "2024-01-19T21:49:44Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_68883a0ec33b443a97298131a5d54313", - "object": "CustomsItem", "created_at": "2024-01-19T21:49:44Z", "updated_at": - "2024-01-19T21:49:44Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_a84db4e5b71411ee8db7ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:49:44+00:00", "updated_at": - "2024-01-19T21:49:44+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_e6dbe4a18a214d1f887c55994ee38c7b", - "object": "Parcel", "created_at": "2024-01-19T21:49:44Z", "updated_at": "2024-01-19T21:49:44Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_e2a54083065c492c9c3cd738aee9a04b", "created_at": "2024-01-19T21:49:45Z", - "updated_at": "2024-01-19T21:49:45Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:49:45Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e853b9af8a67e84c67bcb2fb95a05d80f5.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_aee54f6a74e54df88ae8cf3d3c61b833", "object": - "Rate", "created_at": "2024-01-19T21:49:44Z", "updated_at": "2024-01-19T21:49:44Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_99377db897464f81afcd3812f4e92305", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c50aebdd003e4f78908d1b4833c23a5c", - "object": "Rate", "created_at": "2024-01-19T21:49:44Z", "updated_at": "2024-01-19T21:49:44Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_99377db897464f81afcd3812f4e92305", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_6ae6b55d16d2412e88fbf81520bacc02", - "object": "Rate", "created_at": "2024-01-19T21:49:44Z", "updated_at": "2024-01-19T21:49:44Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_99377db897464f81afcd3812f4e92305", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_8a6974de4cff41e894da9ae6575f7adb", "object": "Rate", "created_at": - "2024-01-19T21:49:44Z", "updated_at": "2024-01-19T21:49:44Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_99377db897464f81afcd3812f4e92305", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_a7fdb87c747e45018fb27a1bf6a966f8", "object": "Rate", "created_at": - "2024-01-19T21:49:44Z", "updated_at": "2024-01-19T21:49:44Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_99377db897464f81afcd3812f4e92305", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_aee54f6a74e54df88ae8cf3d3c61b833", - "object": "Rate", "created_at": "2024-01-19T21:49:45Z", "updated_at": "2024-01-19T21:49:45Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_99377db897464f81afcd3812f4e92305", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_19bc93fdfc0249059993518a6857cda9", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010709102", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:49:45Z", - "updated_at": "2024-01-19T21:49:45Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_99377db897464f81afcd3812f4e92305", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzE5YmM5M2ZkZmMwMjQ5MDU5OTkzNTE4YTY4NTdjZGE5"}, - "to_address": {"id": "adr_a84b213ab71411eebf67ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:49:44+00:00", "updated_at": "2024-01-19T21:49:44+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_a84db4e5b71411ee8db7ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:49:44+00:00", "updated_at": - "2024-01-19T21:49:44+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_a84b213ab71411eebf67ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:49:44+00:00", "updated_at": "2024-01-19T21:49:44+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_99377db897464f81afcd3812f4e92305", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_99377db897464f81afcd3812f4e92305 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdab65aaee78e78bb5350011830c - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '1.103774' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"scan_form": {"shipment": [{"id": "shp_99377db897464f81afcd3812f4e92305"}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '77' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/scan_forms - response: - body: - string: '{"id": "sf_1be115f4129540d9a9d554293979dcd2", "object": "ScanForm", - "created_at": "2024-01-19T21:49:46Z", "updated_at": "2024-01-19T21:49:46Z", - "tracking_codes": ["9405500207552010709102"], "address": {"id": "adr_a84db4e5b71411ee8db7ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:49:44+00:00", "updated_at": - "2024-01-19T21:49:44+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "status": "created", "message": null, "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e89fb1eea90766417a97ffcbd97f34758f.pdf", - "form_file_type": null, "batch_id": "batch_1f2b6f67ee9441d0a4665930a68332c4", - "confirmation": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '916' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdae65aaee7ae78bb844001183c9 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.359116' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/scan_forms/sf_1be115f4129540d9a9d554293979dcd2 - response: - body: - string: '{"id": "sf_1be115f4129540d9a9d554293979dcd2", "object": "ScanForm", - "created_at": "2024-01-19T21:49:46Z", "updated_at": "2024-01-19T21:49:46Z", - "tracking_codes": ["9405500207552010709102"], "address": {"id": "adr_a84db4e5b71411ee8db7ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:49:44+00:00", "updated_at": - "2024-01-19T21:49:44+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "status": "created", "message": null, "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e89fb1eea90766417a97ffcbd97f34758f.pdf", - "form_file_type": null, "batch_id": "batch_1f2b6f67ee9441d0a4665930a68332c4", - "confirmation": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '916' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda865aaee7ae78bb84500118433 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.034994' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:59:03Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010711549", "updated_at": "2024-01-19T21:59:04Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_edb33bc33ba646b39a6f09c5ef74afe5", "object": "CustomsInfo", "created_at": - "2024-01-19T21:59:03Z", "updated_at": "2024-01-19T21:59:03Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_2a8a3635e56a416fad735007e8b59ee3", - "object": "CustomsItem", "created_at": "2024-01-19T21:59:03Z", "updated_at": - "2024-01-19T21:59:03Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_f56b9bb7b71511eebda6ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:59:03+00:00", "updated_at": - "2024-01-19T21:59:03+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_b0a22aabbb0a4ef5b8a979a088220b21", - "object": "Parcel", "created_at": "2024-01-19T21:59:03Z", "updated_at": "2024-01-19T21:59:03Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_153bb314ead94a229ff73a6a64ea3bbe", "created_at": "2024-01-19T21:59:04Z", - "updated_at": "2024-01-19T21:59:04Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:59:03Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e83e591972733247aab1fdc372db75c01f.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_e869c02d5a5f4e228a601d61919e88b4", "object": - "Rate", "created_at": "2024-01-19T21:59:03Z", "updated_at": "2024-01-19T21:59:03Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_fdeca7eea7f84d8d8f5bda25d6abcb04", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_cbe211d5078c4451a85ebb696674b94b", - "object": "Rate", "created_at": "2024-01-19T21:59:03Z", "updated_at": "2024-01-19T21:59:03Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_fdeca7eea7f84d8d8f5bda25d6abcb04", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_2c89473f7d424fcabd3a264063a34c4b", - "object": "Rate", "created_at": "2024-01-19T21:59:03Z", "updated_at": "2024-01-19T21:59:03Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_fdeca7eea7f84d8d8f5bda25d6abcb04", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_6187ea5b711046bcac88a001b236c3e7", - "object": "Rate", "created_at": "2024-01-19T21:59:03Z", "updated_at": "2024-01-19T21:59:03Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_fdeca7eea7f84d8d8f5bda25d6abcb04", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_95506bb3f7684eee97f534d6cc5e7020", "object": "Rate", "created_at": - "2024-01-19T21:59:03Z", "updated_at": "2024-01-19T21:59:03Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_fdeca7eea7f84d8d8f5bda25d6abcb04", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_cbe211d5078c4451a85ebb696674b94b", - "object": "Rate", "created_at": "2024-01-19T21:59:04Z", "updated_at": "2024-01-19T21:59:04Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_fdeca7eea7f84d8d8f5bda25d6abcb04", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_f7cda8c0f963458cb133b1ee1a7e94b6", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711549", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:59:04Z", - "updated_at": "2024-01-19T21:59:04Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_fdeca7eea7f84d8d8f5bda25d6abcb04", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrX2Y3Y2RhOGMwZjk2MzQ1OGNiMTMzYjFlZTFhN2U5NGI2"}, - "to_address": {"id": "adr_f569824eb71511eebda5ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T21:59:03+00:00", "updated_at": "2024-01-19T21:59:03+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_f56b9bb7b71511eebda6ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:59:03+00:00", "updated_at": - "2024-01-19T21:59:03+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_f569824eb71511eebda5ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:59:03+00:00", "updated_at": "2024-01-19T21:59:03+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_fdeca7eea7f84d8d8f5bda25d6abcb04", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_fdeca7eea7f84d8d8f5bda25d6abcb04 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf0a7e798bfd9000f85e0 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.031901' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"scan_form": {"shipment": [{"id": "shp_fdeca7eea7f84d8d8f5bda25d6abcb04"}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '77' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/scan_forms - response: - body: - string: '{"id": "sf_1eb4a2f980fc40feb3c821ce3e6ca278", "object": "ScanForm", - "created_at": "2024-01-19T21:59:04Z", "updated_at": "2024-01-19T21:59:05Z", - "tracking_codes": ["9405500207552010711549"], "address": {"id": "adr_f56b9bb7b71511eebda6ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:59:03+00:00", "updated_at": - "2024-01-19T21:59:03+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "status": "created", "message": null, "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e88f3d9ee4a5a6448ebf1455c89f5a640a.pdf", - "form_file_type": null, "batch_id": "batch_cfd9e0a3dee34f68b8eead06b7c9b995", - "confirmation": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '916' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf0a8e798bfda000f86c4 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.361913' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/scan_forms/sf_1eb4a2f980fc40feb3c821ce3e6ca278 - response: - body: - string: '{"id": "sf_1eb4a2f980fc40feb3c821ce3e6ca278", "object": "ScanForm", - "created_at": "2024-01-19T21:59:04Z", "updated_at": "2024-01-19T21:59:05Z", - "tracking_codes": ["9405500207552010711549"], "address": {"id": "adr_f56b9bb7b71511eebda6ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:59:03+00:00", "updated_at": - "2024-01-19T21:59:03+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "status": "created", "message": null, "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e88f3d9ee4a5a6448ebf1455c89f5a640a.pdf", - "form_file_type": null, "batch_id": "batch_cfd9e0a3dee34f68b8eead06b7c9b995", - "confirmation": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '916' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf0a9e798bfdb000f8740 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.034488' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T22:01:58Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010711969", "updated_at": "2024-01-19T22:01:59Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_9e5ef28a04a844d28af5baacf9dc08fd", "object": "CustomsInfo", "created_at": - "2024-01-19T22:01:58Z", "updated_at": "2024-01-19T22:01:58Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_6717b88e200446abb07d9cac379acec6", - "object": "CustomsItem", "created_at": "2024-01-19T22:01:58Z", "updated_at": - "2024-01-19T22:01:58Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_5dbc0d4eb71611ee8ef8ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:01:58+00:00", "updated_at": - "2024-01-19T22:01:58+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_105ab4b774d24746805156b18be89dc9", - "object": "Parcel", "created_at": "2024-01-19T22:01:58Z", "updated_at": "2024-01-19T22:01:58Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_c1cea9faa18647fb98aa271b7651f24d", "created_at": "2024-01-19T22:01:59Z", - "updated_at": "2024-01-19T22:01:59Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T22:01:59Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e83c10649120ff4bee945fafe3e3e104be.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_de2cd14d8e47436eb522c73ab77d6dee", "object": - "Rate", "created_at": "2024-01-19T22:01:58Z", "updated_at": "2024-01-19T22:01:58Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_b232ba9a590a4434907f48617f8e11df", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_0ce9baa0f5cf44dd8e90e3f5b2449a7a", - "object": "Rate", "created_at": "2024-01-19T22:01:58Z", "updated_at": "2024-01-19T22:01:58Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_b232ba9a590a4434907f48617f8e11df", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_ecd9929e6ead423c80b601127966bb41", - "object": "Rate", "created_at": "2024-01-19T22:01:58Z", "updated_at": "2024-01-19T22:01:58Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_b232ba9a590a4434907f48617f8e11df", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_5bda53e985644456aa778be713015056", - "object": "Rate", "created_at": "2024-01-19T22:01:58Z", "updated_at": "2024-01-19T22:01:58Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_b232ba9a590a4434907f48617f8e11df", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_ba4737a1b24c40bfa4e38081d991b8a7", "object": "Rate", "created_at": - "2024-01-19T22:01:58Z", "updated_at": "2024-01-19T22:01:58Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_b232ba9a590a4434907f48617f8e11df", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_0ce9baa0f5cf44dd8e90e3f5b2449a7a", - "object": "Rate", "created_at": "2024-01-19T22:01:59Z", "updated_at": "2024-01-19T22:01:59Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_b232ba9a590a4434907f48617f8e11df", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_8fafbd1d874a44c78da223bbad799028", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711969", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:01:59Z", - "updated_at": "2024-01-19T22:01:59Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_b232ba9a590a4434907f48617f8e11df", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzhmYWZiZDFkODc0YTQ0Yzc4ZGEyMjNiYmFkNzk5MDI4"}, - "to_address": {"id": "adr_5db97915b71611ee8ef7ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T22:01:58+00:00", "updated_at": "2024-01-19T22:01:58+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_5dbc0d4eb71611ee8ef8ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:01:58+00:00", "updated_at": - "2024-01-19T22:01:58+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_5db97915b71611ee8ef7ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T22:01:58+00:00", "updated_at": "2024-01-19T22:01:58+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_b232ba9a590a4434907f48617f8e11df", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_b232ba9a590a4434907f48617f8e11df - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaf156e798c83e0010212e - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.208866' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"scan_form": {"shipment": [{"id": "shp_b232ba9a590a4434907f48617f8e11df"}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '77' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/scan_forms - response: - body: - string: '{"id": "sf_aaa1967cefe54ba389850a28c61bb704", "object": "ScanForm", - "created_at": "2024-01-19T22:02:00Z", "updated_at": "2024-01-19T22:02:00Z", - "tracking_codes": ["9405500207552010711969"], "address": {"id": "adr_5dbc0d4eb71611ee8ef8ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:01:58+00:00", "updated_at": - "2024-01-19T22:01:58+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "status": "created", "message": null, "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e86363cd2729314ce3a405dc645e3e2edf.pdf", - "form_file_type": null, "batch_id": "batch_aebd0d167bf542e788a9eb1bb2a62fb2", - "confirmation": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '916' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaf158e798c83f00102260 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.393667' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/scan_forms/sf_aaa1967cefe54ba389850a28c61bb704 - response: - body: - string: '{"id": "sf_aaa1967cefe54ba389850a28c61bb704", "object": "ScanForm", - "created_at": "2024-01-19T22:02:00Z", "updated_at": "2024-01-19T22:02:00Z", - "tracking_codes": ["9405500207552010711969"], "address": {"id": "adr_5dbc0d4eb71611ee8ef8ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:01:58+00:00", "updated_at": - "2024-01-19T22:01:58+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "status": "created", "message": null, "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e86363cd2729314ce3a405dc645e3e2edf.pdf", - "form_file_type": null, "batch_id": "batch_aebd0d167bf542e788a9eb1bb2a62fb2", - "confirmation": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '916' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf158e798c840001022e2 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.036831' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T22:05:46Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010712812", "updated_at": "2024-01-19T22:05:47Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_42fb952bddd44ac0adee2fc6c90fed8d", "object": "CustomsInfo", "created_at": - "2024-01-19T22:05:46Z", "updated_at": "2024-01-19T22:05:46Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_4aa49e3d13ed40d6ba2d8eb9671e61d4", - "object": "CustomsItem", "created_at": "2024-01-19T22:05:46Z", "updated_at": - "2024-01-19T22:05:46Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_e5cd9cfdb71611eebe4cac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T22:05:46+00:00", "updated_at": - "2024-01-19T22:05:46+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_1ca1395ad7d04851811a5a5902e2cb5e", - "object": "Parcel", "created_at": "2024-01-19T22:05:46Z", "updated_at": "2024-01-19T22:05:46Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_13157b637c3741c4b863c56ec3020f74", "created_at": "2024-01-19T22:05:47Z", - "updated_at": "2024-01-19T22:05:47Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T22:05:47Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e85fe820dcf47b479a93d7ebbde9cd43cf.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_c6289164d3eb4e2c9622c288ab7219f6", "object": - "Rate", "created_at": "2024-01-19T22:05:46Z", "updated_at": "2024-01-19T22:05:46Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_1c1dd75cbb95496cb251a93b0961704b", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b598cb94ef5141c4a8d509d255dbfe6b", - "object": "Rate", "created_at": "2024-01-19T22:05:46Z", "updated_at": "2024-01-19T22:05:46Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_1c1dd75cbb95496cb251a93b0961704b", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_7d2d8ca65f3843b6a1f133268a4cef7a", - "object": "Rate", "created_at": "2024-01-19T22:05:46Z", "updated_at": "2024-01-19T22:05:46Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_1c1dd75cbb95496cb251a93b0961704b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_86b6514da54140cea4f2116f7c550f34", "object": "Rate", "created_at": - "2024-01-19T22:05:46Z", "updated_at": "2024-01-19T22:05:46Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_1c1dd75cbb95496cb251a93b0961704b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_39c59a32bc0243df8e00ded1ffc6d03e", "object": "Rate", "created_at": - "2024-01-19T22:05:46Z", "updated_at": "2024-01-19T22:05:46Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_1c1dd75cbb95496cb251a93b0961704b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_c6289164d3eb4e2c9622c288ab7219f6", - "object": "Rate", "created_at": "2024-01-19T22:05:47Z", "updated_at": "2024-01-19T22:05:47Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_1c1dd75cbb95496cb251a93b0961704b", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_abb72fbb486543ee8d61ce157dd38a81", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010712812", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:05:47Z", - "updated_at": "2024-01-19T22:05:47Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_1c1dd75cbb95496cb251a93b0961704b", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrX2FiYjcyZmJiNDg2NTQzZWU4ZDYxY2UxNTdkZDM4YTgx"}, - "to_address": {"id": "adr_e5c91903b71611eeb9af3cecef1b359e", "object": "Address", - "created_at": "2024-01-19T22:05:46+00:00", "updated_at": "2024-01-19T22:05:47+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_e5cd9cfdb71611eebe4cac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T22:05:46+00:00", "updated_at": - "2024-01-19T22:05:46+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_e5c91903b71611eeb9af3cecef1b359e", "object": - "Address", "created_at": "2024-01-19T22:05:46+00:00", "updated_at": "2024-01-19T22:05:47+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_1c1dd75cbb95496cb251a93b0961704b", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_1c1dd75cbb95496cb251a93b0961704b - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaf23ae798d1020010c822 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.119341' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"scan_form": {"shipment": [{"id": "shp_1c1dd75cbb95496cb251a93b0961704b"}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '77' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/scan_forms - response: - body: - string: '{"id": "sf_1de4ead0dce34c4387c7836727c39c33", "object": "ScanForm", - "created_at": "2024-01-19T22:05:48Z", "updated_at": "2024-01-19T22:05:48Z", - "tracking_codes": ["9405500207552010712812"], "address": {"id": "adr_e5cd9cfdb71611eebe4cac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T22:05:46+00:00", "updated_at": - "2024-01-19T22:05:46+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "status": "created", "message": null, "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e8c5d3ed3cc27e475da3b25c1da9d6fd3b.pdf", - "form_file_type": null, "batch_id": "batch_1159df9904bb4176918e6bb190604a18", - "confirmation": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '916' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf23ce798d1030010c8fe - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.362051' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/scan_forms/sf_1de4ead0dce34c4387c7836727c39c33 - response: - body: - string: '{"id": "sf_1de4ead0dce34c4387c7836727c39c33", "object": "ScanForm", - "created_at": "2024-01-19T22:05:48Z", "updated_at": "2024-01-19T22:05:48Z", - "tracking_codes": ["9405500207552010712812"], "address": {"id": "adr_e5cd9cfdb71611eebe4cac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T22:05:46+00:00", "updated_at": - "2024-01-19T22:05:46+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "status": "created", "message": null, "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e8c5d3ed3cc27e475da3b25c1da9d6fd3b.pdf", - "form_file_type": null, "batch_id": "batch_1159df9904bb4176918e6bb190604a18", - "confirmation": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '916' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf23ce798d1040010c9c3 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.034023' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_shipments_buy.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_shipments_buy.yaml deleted file mode 100644 index 5dc1a67d..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_shipments_buy.yaml +++ /dev/null @@ -1,2512 +0,0 @@ -interactions: -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '885' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:42:06Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T21:42:06Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_6a9c8f8d8644416e90257311e88134ea", - "object": "CustomsInfo", "created_at": "2024-01-19T21:42:06Z", "updated_at": - "2024-01-19T21:42:06Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_0bda13f0ee274bd2be030ea42a1ca15f", "object": "CustomsItem", - "created_at": "2024-01-19T21:42:06Z", "updated_at": "2024-01-19T21:42:06Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_96fda460b71311eea4b6ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:42:06+00:00", "updated_at": "2024-01-19T21:42:06+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_a1e7f4d767864957a19eb953a404bcb6", "object": "Parcel", "created_at": - "2024-01-19T21:42:06Z", "updated_at": "2024-01-19T21:42:06Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_d8cf4f2661cf4ba98eb89b2c27dd4ea3", - "object": "Rate", "created_at": "2024-01-19T21:42:06Z", "updated_at": "2024-01-19T21:42:06Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_a1265a904613406189a1767d5474c0d8", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c744918e951445308a1727502bd58aee", - "object": "Rate", "created_at": "2024-01-19T21:42:06Z", "updated_at": "2024-01-19T21:42:06Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_a1265a904613406189a1767d5474c0d8", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_5c4a4598c6bc4651b729ff6c728c46d5", - "object": "Rate", "created_at": "2024-01-19T21:42:06Z", "updated_at": "2024-01-19T21:42:06Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_a1265a904613406189a1767d5474c0d8", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_11985f5cf9ad497c8b3bccbbbb308179", - "object": "Rate", "created_at": "2024-01-19T21:42:06Z", "updated_at": "2024-01-19T21:42:06Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_a1265a904613406189a1767d5474c0d8", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_f60ea310cb7b4c68a6964dc1aa7c42c8", "object": "Rate", "created_at": - "2024-01-19T21:42:06Z", "updated_at": "2024-01-19T21:42:06Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_a1265a904613406189a1767d5474c0d8", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_96f92c09b71311eea4b4ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:42:06+00:00", "updated_at": "2024-01-19T21:42:06+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_96fda460b71311eea4b6ac1f6bc53342", "object": "Address", "created_at": - "2024-01-19T21:42:06+00:00", "updated_at": "2024-01-19T21:42:06+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_96f92c09b71311eea4b4ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:42:06+00:00", "updated_at": - "2024-01-19T21:42:06+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_a1265a904613406189a1767d5474c0d8", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_a1265a904613406189a1767d5474c0d8 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaecade78b9f68000d0907 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.744249' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"rate": {"id": "rate_5c4a4598c6bc4651b729ff6c728c46d5"}, "insurance": - "249.99"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '80' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments/shp_a1265a904613406189a1767d5474c0d8/buy - response: - body: - string: '{"created_at": "2024-01-19T21:42:06Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9434600207552010707787", "updated_at": "2024-01-19T21:42:07Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_6a9c8f8d8644416e90257311e88134ea", "object": "CustomsInfo", "created_at": - "2024-01-19T21:42:06Z", "updated_at": "2024-01-19T21:42:06Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_0bda13f0ee274bd2be030ea42a1ca15f", - "object": "CustomsItem", "created_at": "2024-01-19T21:42:06Z", "updated_at": - "2024-01-19T21:42:06Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_96fda460b71311eea4b6ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:42:06+00:00", "updated_at": - "2024-01-19T21:42:06+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": "249.99", "order_id": null, "parcel": {"id": "prcl_a1e7f4d767864957a19eb953a404bcb6", - "object": "Parcel", "created_at": "2024-01-19T21:42:06Z", "updated_at": "2024-01-19T21:42:06Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_d2c812bc95d14f3e96a93051499ae90e", "created_at": "2024-01-19T21:42:07Z", - "updated_at": "2024-01-19T21:42:07Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:42:07Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8d198c6ae2d2241c59205f9b21e7614f6.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_d8cf4f2661cf4ba98eb89b2c27dd4ea3", "object": - "Rate", "created_at": "2024-01-19T21:42:06Z", "updated_at": "2024-01-19T21:42:06Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_a1265a904613406189a1767d5474c0d8", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c744918e951445308a1727502bd58aee", - "object": "Rate", "created_at": "2024-01-19T21:42:06Z", "updated_at": "2024-01-19T21:42:06Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_a1265a904613406189a1767d5474c0d8", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_5c4a4598c6bc4651b729ff6c728c46d5", - "object": "Rate", "created_at": "2024-01-19T21:42:06Z", "updated_at": "2024-01-19T21:42:06Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_a1265a904613406189a1767d5474c0d8", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_11985f5cf9ad497c8b3bccbbbb308179", - "object": "Rate", "created_at": "2024-01-19T21:42:06Z", "updated_at": "2024-01-19T21:42:06Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_a1265a904613406189a1767d5474c0d8", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_f60ea310cb7b4c68a6964dc1aa7c42c8", "object": "Rate", "created_at": - "2024-01-19T21:42:06Z", "updated_at": "2024-01-19T21:42:06Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_a1265a904613406189a1767d5474c0d8", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_5c4a4598c6bc4651b729ff6c728c46d5", - "object": "Rate", "created_at": "2024-01-19T21:42:07Z", "updated_at": "2024-01-19T21:42:07Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_a1265a904613406189a1767d5474c0d8", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_2f0d6a4d8ece4058afcf3e04e9473bcb", - "object": "Tracker", "mode": "test", "tracking_code": "9434600207552010707787", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:42:07Z", - "updated_at": "2024-01-19T21:42:07Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_a1265a904613406189a1767d5474c0d8", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzJmMGQ2YTRkOGVjZTQwNThhZmNmM2UwNGU5NDczYmNi"}, - "to_address": {"id": "adr_96f92c09b71311eea4b4ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:42:06+00:00", "updated_at": "2024-01-19T21:42:07+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_96fda460b71311eea4b6ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:42:06+00:00", "updated_at": - "2024-01-19T21:42:06+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_96f92c09b71311eea4b4ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:42:06+00:00", "updated_at": "2024-01-19T21:42:07+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "6.79000", "charged": true, "refunded": false}, {"object": "Fee", - "type": "InsuranceFee", "amount": "2.49990", "charged": true, "refunded": - false}], "id": "shp_a1265a904613406189a1767d5474c0d8", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '9439' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaecafe78b9f69000d098f - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.893881' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '885' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:44:02Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T21:44:03Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_43c2428ca0d240b285a1d8127c5eb679", - "object": "CustomsInfo", "created_at": "2024-01-19T21:44:02Z", "updated_at": - "2024-01-19T21:44:02Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_91b5e046a1a34ceca0861b3b8944d8ef", "object": "CustomsItem", - "created_at": "2024-01-19T21:44:02Z", "updated_at": "2024-01-19T21:44:02Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_dc69fbbab71311eebe5eac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:44:02+00:00", "updated_at": "2024-01-19T21:44:02+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_e5a54af5197a41c7b3fe9285cee46503", "object": "Parcel", "created_at": - "2024-01-19T21:44:02Z", "updated_at": "2024-01-19T21:44:02Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_93622520ea3c4f66a1649e39e5f6bc73", - "object": "Rate", "created_at": "2024-01-19T21:44:03Z", "updated_at": "2024-01-19T21:44:03Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_3dbc84ad74bd4b5982caa2c911e571ed", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_3de30b824eed4e9b8d3e7f746d6a11b7", - "object": "Rate", "created_at": "2024-01-19T21:44:03Z", "updated_at": "2024-01-19T21:44:03Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_3dbc84ad74bd4b5982caa2c911e571ed", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_808775bf6aac42858ed98a5b3fdbeef7", - "object": "Rate", "created_at": "2024-01-19T21:44:03Z", "updated_at": "2024-01-19T21:44:03Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_3dbc84ad74bd4b5982caa2c911e571ed", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_306ddd74e775430d93d0bf6b623497c7", "object": "Rate", "created_at": - "2024-01-19T21:44:03Z", "updated_at": "2024-01-19T21:44:03Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_3dbc84ad74bd4b5982caa2c911e571ed", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_88de948ba1a0496eb0c390ebe220a97d", "object": "Rate", "created_at": - "2024-01-19T21:44:03Z", "updated_at": "2024-01-19T21:44:03Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_3dbc84ad74bd4b5982caa2c911e571ed", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_dc67c6edb71311eebc063cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:44:02+00:00", "updated_at": "2024-01-19T21:44:02+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_dc69fbbab71311eebe5eac1f6bc53342", "object": "Address", "created_at": - "2024-01-19T21:44:02+00:00", "updated_at": "2024-01-19T21:44:02+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_dc67c6edb71311eebc063cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:44:02+00:00", "updated_at": - "2024-01-19T21:44:02+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_3dbc84ad74bd4b5982caa2c911e571ed", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_3dbc84ad74bd4b5982caa2c911e571ed - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaed22e78ba7a5000d4d77 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.906515' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"rate": {"id": "rate_3de30b824eed4e9b8d3e7f746d6a11b7"}, "insurance": - "249.99"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '80' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments/shp_3dbc84ad74bd4b5982caa2c911e571ed/buy - response: - body: - string: '{"created_at": "2024-01-19T21:44:02Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9434600207552010708104", "updated_at": "2024-01-19T21:44:04Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_43c2428ca0d240b285a1d8127c5eb679", "object": "CustomsInfo", "created_at": - "2024-01-19T21:44:02Z", "updated_at": "2024-01-19T21:44:02Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_91b5e046a1a34ceca0861b3b8944d8ef", - "object": "CustomsItem", "created_at": "2024-01-19T21:44:02Z", "updated_at": - "2024-01-19T21:44:02Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_dc69fbbab71311eebe5eac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:44:02+00:00", "updated_at": - "2024-01-19T21:44:02+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": "249.99", "order_id": null, "parcel": {"id": "prcl_e5a54af5197a41c7b3fe9285cee46503", - "object": "Parcel", "created_at": "2024-01-19T21:44:02Z", "updated_at": "2024-01-19T21:44:02Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_983bafe23b714204b3b8283e941101e0", "created_at": "2024-01-19T21:44:04Z", - "updated_at": "2024-01-19T21:44:04Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:44:04Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e88d248bc1eb49400bbdbeb46bcee29f48.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_93622520ea3c4f66a1649e39e5f6bc73", "object": - "Rate", "created_at": "2024-01-19T21:44:03Z", "updated_at": "2024-01-19T21:44:03Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_3dbc84ad74bd4b5982caa2c911e571ed", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_3de30b824eed4e9b8d3e7f746d6a11b7", - "object": "Rate", "created_at": "2024-01-19T21:44:03Z", "updated_at": "2024-01-19T21:44:03Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_3dbc84ad74bd4b5982caa2c911e571ed", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_808775bf6aac42858ed98a5b3fdbeef7", - "object": "Rate", "created_at": "2024-01-19T21:44:03Z", "updated_at": "2024-01-19T21:44:03Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_3dbc84ad74bd4b5982caa2c911e571ed", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_306ddd74e775430d93d0bf6b623497c7", "object": "Rate", "created_at": - "2024-01-19T21:44:03Z", "updated_at": "2024-01-19T21:44:03Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_3dbc84ad74bd4b5982caa2c911e571ed", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_88de948ba1a0496eb0c390ebe220a97d", "object": "Rate", "created_at": - "2024-01-19T21:44:03Z", "updated_at": "2024-01-19T21:44:03Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_3dbc84ad74bd4b5982caa2c911e571ed", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_3de30b824eed4e9b8d3e7f746d6a11b7", - "object": "Rate", "created_at": "2024-01-19T21:44:04Z", "updated_at": "2024-01-19T21:44:04Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_3dbc84ad74bd4b5982caa2c911e571ed", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_d5bfadd21ba1489db29b895c90688e7f", - "object": "Tracker", "mode": "test", "tracking_code": "9434600207552010708104", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:44:04Z", - "updated_at": "2024-01-19T21:44:04Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_3dbc84ad74bd4b5982caa2c911e571ed", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrX2Q1YmZhZGQyMWJhMTQ4OWRiMjliODk1YzkwNjg4ZTdm"}, - "to_address": {"id": "adr_dc67c6edb71311eebc063cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:44:02+00:00", "updated_at": "2024-01-19T21:44:03+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_dc69fbbab71311eebe5eac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:44:02+00:00", "updated_at": - "2024-01-19T21:44:02+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_dc67c6edb71311eebc063cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:44:02+00:00", "updated_at": "2024-01-19T21:44:03+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "6.79000", "charged": true, "refunded": false}, {"object": "Fee", - "type": "InsuranceFee", "amount": "2.49990", "charged": true, "refunded": - false}], "id": "shp_3dbc84ad74bd4b5982caa2c911e571ed", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '9439' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaed23e78ba7a6000d4e4c - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.105949' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '885' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:47:55Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T21:47:56Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_e6ba0dc53915456995e0a7966c0549f3", - "object": "CustomsInfo", "created_at": "2024-01-19T21:47:55Z", "updated_at": - "2024-01-19T21:47:55Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_991f1a1fa2e94c1c8651e79428928479", "object": "CustomsItem", - "created_at": "2024-01-19T21:47:55Z", "updated_at": "2024-01-19T21:47:55Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_672a7307b71411eeb984ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:47:55+00:00", "updated_at": "2024-01-19T21:47:55+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_9a7ffc7ee6f148ac802a60152def41cd", "object": "Parcel", "created_at": - "2024-01-19T21:47:55Z", "updated_at": "2024-01-19T21:47:55Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_ca90d07b60df4185914d05423960662c", - "object": "Rate", "created_at": "2024-01-19T21:47:56Z", "updated_at": "2024-01-19T21:47:56Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_6866fc5ec213464c97303210e723df5b", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_9b1b484b3a8444649804bd5aab1b1adc", - "object": "Rate", "created_at": "2024-01-19T21:47:56Z", "updated_at": "2024-01-19T21:47:56Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_6866fc5ec213464c97303210e723df5b", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c0006931b19c404fafc2da19f7fdc758", - "object": "Rate", "created_at": "2024-01-19T21:47:56Z", "updated_at": "2024-01-19T21:47:56Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_6866fc5ec213464c97303210e723df5b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_a8f1752d4b5547f5a2a4b35ec6456e88", "object": "Rate", "created_at": - "2024-01-19T21:47:56Z", "updated_at": "2024-01-19T21:47:56Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_6866fc5ec213464c97303210e723df5b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_7cb6b5ced1494c9fab2dc7289529cc94", "object": "Rate", "created_at": - "2024-01-19T21:47:56Z", "updated_at": "2024-01-19T21:47:56Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_6866fc5ec213464c97303210e723df5b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_67285cd7b71411eea7f43cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:47:55+00:00", "updated_at": "2024-01-19T21:47:55+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_672a7307b71411eeb984ac1f6bc539aa", "object": "Address", "created_at": - "2024-01-19T21:47:55+00:00", "updated_at": "2024-01-19T21:47:55+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_67285cd7b71411eea7f43cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:47:55+00:00", "updated_at": - "2024-01-19T21:47:55+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_6866fc5ec213464c97303210e723df5b", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_6866fc5ec213464c97303210e723df5b - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdaa65aaee0be78bb02800114492 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.893901' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"rate": {"id": "rate_9b1b484b3a8444649804bd5aab1b1adc"}, "insurance": - "249.99"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '80' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments/shp_6866fc5ec213464c97303210e723df5b/buy - response: - body: - string: '{"created_at": "2024-01-19T21:47:55Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9434600207552010708579", "updated_at": "2024-01-19T21:47:57Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_e6ba0dc53915456995e0a7966c0549f3", "object": "CustomsInfo", "created_at": - "2024-01-19T21:47:55Z", "updated_at": "2024-01-19T21:47:55Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_991f1a1fa2e94c1c8651e79428928479", - "object": "CustomsItem", "created_at": "2024-01-19T21:47:55Z", "updated_at": - "2024-01-19T21:47:55Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_672a7307b71411eeb984ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:47:55+00:00", "updated_at": - "2024-01-19T21:47:55+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": "249.99", "order_id": null, "parcel": {"id": "prcl_9a7ffc7ee6f148ac802a60152def41cd", - "object": "Parcel", "created_at": "2024-01-19T21:47:55Z", "updated_at": "2024-01-19T21:47:55Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_faf3f9b6cdee44f8814f198512871ec8", "created_at": "2024-01-19T21:47:56Z", - "updated_at": "2024-01-19T21:47:57Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:47:56Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8966743d16b56434b8e9775c2a72a2302.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_ca90d07b60df4185914d05423960662c", "object": - "Rate", "created_at": "2024-01-19T21:47:56Z", "updated_at": "2024-01-19T21:47:56Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_6866fc5ec213464c97303210e723df5b", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_9b1b484b3a8444649804bd5aab1b1adc", - "object": "Rate", "created_at": "2024-01-19T21:47:56Z", "updated_at": "2024-01-19T21:47:56Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_6866fc5ec213464c97303210e723df5b", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c0006931b19c404fafc2da19f7fdc758", - "object": "Rate", "created_at": "2024-01-19T21:47:56Z", "updated_at": "2024-01-19T21:47:56Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_6866fc5ec213464c97303210e723df5b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_a8f1752d4b5547f5a2a4b35ec6456e88", "object": "Rate", "created_at": - "2024-01-19T21:47:56Z", "updated_at": "2024-01-19T21:47:56Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_6866fc5ec213464c97303210e723df5b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_7cb6b5ced1494c9fab2dc7289529cc94", "object": "Rate", "created_at": - "2024-01-19T21:47:56Z", "updated_at": "2024-01-19T21:47:56Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_6866fc5ec213464c97303210e723df5b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_9b1b484b3a8444649804bd5aab1b1adc", - "object": "Rate", "created_at": "2024-01-19T21:47:56Z", "updated_at": "2024-01-19T21:47:56Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_6866fc5ec213464c97303210e723df5b", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_aeff99e44bf445e3be7e945c62be8613", - "object": "Tracker", "mode": "test", "tracking_code": "9434600207552010708579", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:47:57Z", - "updated_at": "2024-01-19T21:47:57Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_6866fc5ec213464c97303210e723df5b", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrX2FlZmY5OWU0NGJmNDQ1ZTNiZTdlOTQ1YzYyYmU4NjEz"}, - "to_address": {"id": "adr_67285cd7b71411eea7f43cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:47:55+00:00", "updated_at": "2024-01-19T21:47:56+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_672a7307b71411eeb984ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:47:55+00:00", "updated_at": - "2024-01-19T21:47:55+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_67285cd7b71411eea7f43cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:47:55+00:00", "updated_at": "2024-01-19T21:47:56+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "6.79000", "charged": true, "refunded": false}, {"object": "Fee", - "type": "InsuranceFee", "amount": "2.49990", "charged": true, "refunded": - false}], "id": "shp_6866fc5ec213464c97303210e723df5b", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '9439' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdae65aaee0ce78bb02900114518 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.922692' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '885' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:49:50Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T21:49:51Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_0c07c0b56a444535b9ffab488e6ece22", - "object": "CustomsInfo", "created_at": "2024-01-19T21:49:50Z", "updated_at": - "2024-01-19T21:49:50Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_09239f851aab46e8a95e0a68afe8cbd3", "object": "CustomsItem", - "created_at": "2024-01-19T21:49:50Z", "updated_at": "2024-01-19T21:49:50Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_abc65d2db71411eebf0cac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:49:50+00:00", "updated_at": "2024-01-19T21:49:50+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_a95eaa568228413c84ba219d1a68dbe7", "object": "Parcel", "created_at": - "2024-01-19T21:49:50Z", "updated_at": "2024-01-19T21:49:50Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_33eb73b459614597a4ad417700824f16", - "object": "Rate", "created_at": "2024-01-19T21:49:51Z", "updated_at": "2024-01-19T21:49:51Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_af50eda108ea4b98a28b2af18873aa4f", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c50cb4acc73c45b79700395a7da97596", - "object": "Rate", "created_at": "2024-01-19T21:49:51Z", "updated_at": "2024-01-19T21:49:51Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_af50eda108ea4b98a28b2af18873aa4f", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_56e0ad23ed5d4bf499456da76c45f215", - "object": "Rate", "created_at": "2024-01-19T21:49:51Z", "updated_at": "2024-01-19T21:49:51Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_af50eda108ea4b98a28b2af18873aa4f", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_7e87f3b0b115435093ac3392fdbad21c", - "object": "Rate", "created_at": "2024-01-19T21:49:51Z", "updated_at": "2024-01-19T21:49:51Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_af50eda108ea4b98a28b2af18873aa4f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_5b05e3da0a7a4007b3af7c57b517fdf1", "object": "Rate", "created_at": - "2024-01-19T21:49:51Z", "updated_at": "2024-01-19T21:49:51Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_af50eda108ea4b98a28b2af18873aa4f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_abc3152eb71411ee8ee5ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:49:50+00:00", "updated_at": "2024-01-19T21:49:50+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_abc65d2db71411eebf0cac1f6bc53342", "object": "Address", "created_at": - "2024-01-19T21:49:50+00:00", "updated_at": "2024-01-19T21:49:50+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_abc3152eb71411ee8ee5ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:49:50+00:00", "updated_at": - "2024-01-19T21:49:50+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_af50eda108ea4b98a28b2af18873aa4f", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_af50eda108ea4b98a28b2af18873aa4f - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdad65aaee7ee78bb84b00118648 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.799744' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"rate": {"id": "rate_56e0ad23ed5d4bf499456da76c45f215"}, "insurance": - "249.99"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '80' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments/shp_af50eda108ea4b98a28b2af18873aa4f/buy - response: - body: - string: '{"created_at": "2024-01-19T21:49:50Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9434600207552010709149", "updated_at": "2024-01-19T21:49:52Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_0c07c0b56a444535b9ffab488e6ece22", "object": "CustomsInfo", "created_at": - "2024-01-19T21:49:50Z", "updated_at": "2024-01-19T21:49:50Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_09239f851aab46e8a95e0a68afe8cbd3", - "object": "CustomsItem", "created_at": "2024-01-19T21:49:50Z", "updated_at": - "2024-01-19T21:49:50Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_abc65d2db71411eebf0cac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:49:50+00:00", "updated_at": - "2024-01-19T21:49:50+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": "249.99", "order_id": null, "parcel": {"id": "prcl_a95eaa568228413c84ba219d1a68dbe7", - "object": "Parcel", "created_at": "2024-01-19T21:49:50Z", "updated_at": "2024-01-19T21:49:50Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_fc986e9a8cd34c9fa6667b2faad33a5e", "created_at": "2024-01-19T21:49:52Z", - "updated_at": "2024-01-19T21:49:52Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:49:52Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e819e3dd1e45714d4bbdaef3b96cbd293c.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_33eb73b459614597a4ad417700824f16", "object": - "Rate", "created_at": "2024-01-19T21:49:51Z", "updated_at": "2024-01-19T21:49:51Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_af50eda108ea4b98a28b2af18873aa4f", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c50cb4acc73c45b79700395a7da97596", - "object": "Rate", "created_at": "2024-01-19T21:49:51Z", "updated_at": "2024-01-19T21:49:51Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_af50eda108ea4b98a28b2af18873aa4f", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_56e0ad23ed5d4bf499456da76c45f215", - "object": "Rate", "created_at": "2024-01-19T21:49:51Z", "updated_at": "2024-01-19T21:49:51Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_af50eda108ea4b98a28b2af18873aa4f", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_7e87f3b0b115435093ac3392fdbad21c", - "object": "Rate", "created_at": "2024-01-19T21:49:51Z", "updated_at": "2024-01-19T21:49:51Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_af50eda108ea4b98a28b2af18873aa4f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_5b05e3da0a7a4007b3af7c57b517fdf1", "object": "Rate", "created_at": - "2024-01-19T21:49:51Z", "updated_at": "2024-01-19T21:49:51Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_af50eda108ea4b98a28b2af18873aa4f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_56e0ad23ed5d4bf499456da76c45f215", - "object": "Rate", "created_at": "2024-01-19T21:49:52Z", "updated_at": "2024-01-19T21:49:52Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_af50eda108ea4b98a28b2af18873aa4f", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_2487860b2a1e4983a27637e122604308", - "object": "Tracker", "mode": "test", "tracking_code": "9434600207552010709149", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:49:52Z", - "updated_at": "2024-01-19T21:49:52Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_af50eda108ea4b98a28b2af18873aa4f", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzI0ODc4NjBiMmExZTQ5ODNhMjc2MzdlMTIyNjA0MzA4"}, - "to_address": {"id": "adr_abc3152eb71411ee8ee5ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T21:49:50+00:00", "updated_at": "2024-01-19T21:49:51+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_abc65d2db71411eebf0cac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:49:50+00:00", "updated_at": - "2024-01-19T21:49:50+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_abc3152eb71411ee8ee5ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:49:50+00:00", "updated_at": "2024-01-19T21:49:51+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "6.79000", "charged": true, "refunded": false}, {"object": "Fee", - "type": "InsuranceFee", "amount": "2.49990", "charged": true, "refunded": - false}], "id": "shp_af50eda108ea4b98a28b2af18873aa4f", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '9439' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdae65aaee7fe78bb84c001186f8 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '1.187670' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '885' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:59:09Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T21:59:10Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_0d5dd6c8d7084030b472732c54ed3adb", - "object": "CustomsInfo", "created_at": "2024-01-19T21:59:09Z", "updated_at": - "2024-01-19T21:59:09Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_b5e43f52b0e6481aaa792d4afe2808e1", "object": "CustomsItem", - "created_at": "2024-01-19T21:59:09Z", "updated_at": "2024-01-19T21:59:09Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_f904603db71511eeb03bac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:59:09+00:00", "updated_at": "2024-01-19T21:59:09+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_892ed4d2e6ac499098bcd80f96dcdbf6", "object": "Parcel", "created_at": - "2024-01-19T21:59:09Z", "updated_at": "2024-01-19T21:59:09Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_03d18c7edf424ee5bd4f386ca5659c2a", - "object": "Rate", "created_at": "2024-01-19T21:59:10Z", "updated_at": "2024-01-19T21:59:10Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_e8ff60ef54844cb4b16cb2a8cb59b981", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_56a89099fddb4c55972069ecc33d4780", - "object": "Rate", "created_at": "2024-01-19T21:59:10Z", "updated_at": "2024-01-19T21:59:10Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_e8ff60ef54844cb4b16cb2a8cb59b981", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_ea119971395546afa7ad61488c0347b9", - "object": "Rate", "created_at": "2024-01-19T21:59:10Z", "updated_at": "2024-01-19T21:59:10Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_e8ff60ef54844cb4b16cb2a8cb59b981", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_12c0c936f80f4589afb4b6a8c4d67aa6", - "object": "Rate", "created_at": "2024-01-19T21:59:10Z", "updated_at": "2024-01-19T21:59:10Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_e8ff60ef54844cb4b16cb2a8cb59b981", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_139aaf27e5a64665bd3e369f04dda242", "object": "Rate", "created_at": - "2024-01-19T21:59:10Z", "updated_at": "2024-01-19T21:59:10Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_e8ff60ef54844cb4b16cb2a8cb59b981", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_f9009081b71511eebe8eac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:59:09+00:00", "updated_at": "2024-01-19T21:59:09+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_f904603db71511eeb03bac1f6bc539ae", "object": "Address", "created_at": - "2024-01-19T21:59:09+00:00", "updated_at": "2024-01-19T21:59:09+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_f9009081b71511eebe8eac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:59:09+00:00", "updated_at": - "2024-01-19T21:59:09+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_e8ff60ef54844cb4b16cb2a8cb59b981", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_e8ff60ef54844cb4b16cb2a8cb59b981 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf0ade798bfe1000f898e - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.739983' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"rate": {"id": "rate_ea119971395546afa7ad61488c0347b9"}, "insurance": - "249.99"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '80' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments/shp_e8ff60ef54844cb4b16cb2a8cb59b981/buy - response: - body: - string: '{"created_at": "2024-01-19T21:59:09Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9434600207552010711562", "updated_at": "2024-01-19T21:59:11Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_0d5dd6c8d7084030b472732c54ed3adb", "object": "CustomsInfo", "created_at": - "2024-01-19T21:59:09Z", "updated_at": "2024-01-19T21:59:09Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_b5e43f52b0e6481aaa792d4afe2808e1", - "object": "CustomsItem", "created_at": "2024-01-19T21:59:09Z", "updated_at": - "2024-01-19T21:59:09Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_f904603db71511eeb03bac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:59:09+00:00", "updated_at": - "2024-01-19T21:59:09+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": "249.99", "order_id": null, "parcel": {"id": "prcl_892ed4d2e6ac499098bcd80f96dcdbf6", - "object": "Parcel", "created_at": "2024-01-19T21:59:09Z", "updated_at": "2024-01-19T21:59:09Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_d0aa78f9369f4f339c54162e3806b524", "created_at": "2024-01-19T21:59:10Z", - "updated_at": "2024-01-19T21:59:11Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:59:10Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e85fc9cfd0eb8940599dd63fea40ed8e62.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_03d18c7edf424ee5bd4f386ca5659c2a", "object": - "Rate", "created_at": "2024-01-19T21:59:10Z", "updated_at": "2024-01-19T21:59:10Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_e8ff60ef54844cb4b16cb2a8cb59b981", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_56a89099fddb4c55972069ecc33d4780", - "object": "Rate", "created_at": "2024-01-19T21:59:10Z", "updated_at": "2024-01-19T21:59:10Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_e8ff60ef54844cb4b16cb2a8cb59b981", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_ea119971395546afa7ad61488c0347b9", - "object": "Rate", "created_at": "2024-01-19T21:59:10Z", "updated_at": "2024-01-19T21:59:10Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_e8ff60ef54844cb4b16cb2a8cb59b981", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_12c0c936f80f4589afb4b6a8c4d67aa6", - "object": "Rate", "created_at": "2024-01-19T21:59:10Z", "updated_at": "2024-01-19T21:59:10Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_e8ff60ef54844cb4b16cb2a8cb59b981", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_139aaf27e5a64665bd3e369f04dda242", "object": "Rate", "created_at": - "2024-01-19T21:59:10Z", "updated_at": "2024-01-19T21:59:10Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_e8ff60ef54844cb4b16cb2a8cb59b981", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_ea119971395546afa7ad61488c0347b9", - "object": "Rate", "created_at": "2024-01-19T21:59:10Z", "updated_at": "2024-01-19T21:59:10Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_e8ff60ef54844cb4b16cb2a8cb59b981", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_182b25d7952f48659115a7b40def8207", - "object": "Tracker", "mode": "test", "tracking_code": "9434600207552010711562", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:59:11Z", - "updated_at": "2024-01-19T21:59:11Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_e8ff60ef54844cb4b16cb2a8cb59b981", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzE4MmIyNWQ3OTUyZjQ4NjU5MTE1YTdiNDBkZWY4MjA3"}, - "to_address": {"id": "adr_f9009081b71511eebe8eac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T21:59:09+00:00", "updated_at": "2024-01-19T21:59:10+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_f904603db71511eeb03bac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:59:09+00:00", "updated_at": - "2024-01-19T21:59:09+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_f9009081b71511eebe8eac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:59:09+00:00", "updated_at": "2024-01-19T21:59:10+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "6.79000", "charged": true, "refunded": false}, {"object": "Fee", - "type": "InsuranceFee", "amount": "2.49990", "charged": true, "refunded": - false}], "id": "shp_e8ff60ef54844cb4b16cb2a8cb59b981", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '9439' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf0aee798bff9000f8a37 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.896980' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '885' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T22:02:04Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T22:02:05Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_17d9f08d17f64db8b439943aa1b192ec", - "object": "CustomsInfo", "created_at": "2024-01-19T22:02:04Z", "updated_at": - "2024-01-19T22:02:04Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_3d947077ca45465886c9da3655d1bfc3", "object": "CustomsItem", - "created_at": "2024-01-19T22:02:04Z", "updated_at": "2024-01-19T22:02:04Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_617568b6b71611ee900eac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T22:02:04+00:00", "updated_at": "2024-01-19T22:02:04+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_8859cd5d549c4381af666cca690b3c27", "object": "Parcel", "created_at": - "2024-01-19T22:02:04Z", "updated_at": "2024-01-19T22:02:04Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_5563cfffbe5c4083b1619d8188299623", - "object": "Rate", "created_at": "2024-01-19T22:02:05Z", "updated_at": "2024-01-19T22:02:05Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_f9e863db09ea42c8a4b6256868e361e4", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_50c8bbaa83c74b72a6b1c387c8d3015d", - "object": "Rate", "created_at": "2024-01-19T22:02:05Z", "updated_at": "2024-01-19T22:02:05Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_f9e863db09ea42c8a4b6256868e361e4", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_faa7a517ecd6404d956a7ca676ed27ab", - "object": "Rate", "created_at": "2024-01-19T22:02:05Z", "updated_at": "2024-01-19T22:02:05Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_f9e863db09ea42c8a4b6256868e361e4", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_37469ebfc94842129f4f99079d72e821", - "object": "Rate", "created_at": "2024-01-19T22:02:05Z", "updated_at": "2024-01-19T22:02:05Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_f9e863db09ea42c8a4b6256868e361e4", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_8d4dfde1924741a5a283b228b8f73345", "object": "Rate", "created_at": - "2024-01-19T22:02:05Z", "updated_at": "2024-01-19T22:02:05Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_f9e863db09ea42c8a4b6256868e361e4", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_61735013b71611ee900dac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T22:02:04+00:00", "updated_at": "2024-01-19T22:02:04+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_617568b6b71611ee900eac1f6bc53342", "object": "Address", "created_at": - "2024-01-19T22:02:04+00:00", "updated_at": "2024-01-19T22:02:04+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_61735013b71611ee900dac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:02:04+00:00", "updated_at": - "2024-01-19T22:02:04+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_f9e863db09ea42c8a4b6256868e361e4", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_f9e863db09ea42c8a4b6256868e361e4 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaf15ce798c85e0010262b - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.028675' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"rate": {"id": "rate_faa7a517ecd6404d956a7ca676ed27ab"}, "insurance": - "249.99"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '80' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments/shp_f9e863db09ea42c8a4b6256868e361e4/buy - response: - body: - string: '{"created_at": "2024-01-19T22:02:04Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9434600207552010711975", "updated_at": "2024-01-19T22:02:06Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_17d9f08d17f64db8b439943aa1b192ec", "object": "CustomsInfo", "created_at": - "2024-01-19T22:02:04Z", "updated_at": "2024-01-19T22:02:04Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_3d947077ca45465886c9da3655d1bfc3", - "object": "CustomsItem", "created_at": "2024-01-19T22:02:04Z", "updated_at": - "2024-01-19T22:02:04Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_617568b6b71611ee900eac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:02:04+00:00", "updated_at": - "2024-01-19T22:02:04+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": "249.99", "order_id": null, "parcel": {"id": "prcl_8859cd5d549c4381af666cca690b3c27", - "object": "Parcel", "created_at": "2024-01-19T22:02:04Z", "updated_at": "2024-01-19T22:02:04Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_949502ecb377445e83c5ec834d440b77", "created_at": "2024-01-19T22:02:06Z", - "updated_at": "2024-01-19T22:02:06Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T22:02:06Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8cdce2d79a2944f73a07c98796271bc09.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_5563cfffbe5c4083b1619d8188299623", "object": - "Rate", "created_at": "2024-01-19T22:02:05Z", "updated_at": "2024-01-19T22:02:05Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_f9e863db09ea42c8a4b6256868e361e4", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_50c8bbaa83c74b72a6b1c387c8d3015d", - "object": "Rate", "created_at": "2024-01-19T22:02:05Z", "updated_at": "2024-01-19T22:02:05Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_f9e863db09ea42c8a4b6256868e361e4", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_faa7a517ecd6404d956a7ca676ed27ab", - "object": "Rate", "created_at": "2024-01-19T22:02:05Z", "updated_at": "2024-01-19T22:02:05Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_f9e863db09ea42c8a4b6256868e361e4", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_37469ebfc94842129f4f99079d72e821", - "object": "Rate", "created_at": "2024-01-19T22:02:05Z", "updated_at": "2024-01-19T22:02:05Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_f9e863db09ea42c8a4b6256868e361e4", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_8d4dfde1924741a5a283b228b8f73345", "object": "Rate", "created_at": - "2024-01-19T22:02:05Z", "updated_at": "2024-01-19T22:02:05Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_f9e863db09ea42c8a4b6256868e361e4", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_faa7a517ecd6404d956a7ca676ed27ab", - "object": "Rate", "created_at": "2024-01-19T22:02:06Z", "updated_at": "2024-01-19T22:02:06Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_f9e863db09ea42c8a4b6256868e361e4", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_0fa17e1a754c4d8d9900f8d1a5f9ad27", - "object": "Tracker", "mode": "test", "tracking_code": "9434600207552010711975", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:02:06Z", - "updated_at": "2024-01-19T22:02:06Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_f9e863db09ea42c8a4b6256868e361e4", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzBmYTE3ZTFhNzU0YzRkOGQ5OTAwZjhkMWE1ZjlhZDI3"}, - "to_address": {"id": "adr_61735013b71611ee900dac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T22:02:04+00:00", "updated_at": "2024-01-19T22:02:06+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_617568b6b71611ee900eac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:02:04+00:00", "updated_at": - "2024-01-19T22:02:04+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_61735013b71611ee900dac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T22:02:04+00:00", "updated_at": "2024-01-19T22:02:06+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "6.79000", "charged": true, "refunded": false}, {"object": "Fee", - "type": "InsuranceFee", "amount": "2.49990", "charged": true, "refunded": - false}], "id": "shp_f9e863db09ea42c8a4b6256868e361e4", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '9439' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf15de798c8600010273f - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.067007' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '885' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T22:05:53Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T22:05:54Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_d733f3eca8874ae0a6be2bae9fcdc494", - "object": "CustomsInfo", "created_at": "2024-01-19T22:05:52Z", "updated_at": - "2024-01-19T22:05:52Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_003ca5a87d374592ac5f0119fa788211", "object": "CustomsItem", - "created_at": "2024-01-19T22:05:52Z", "updated_at": "2024-01-19T22:05:52Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_e97f052eb71611eebfa6ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T22:05:52+00:00", "updated_at": "2024-01-19T22:05:52+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_96bc918a1cd04dd0bbc9e57bdf2ae83c", "object": "Parcel", "created_at": - "2024-01-19T22:05:52Z", "updated_at": "2024-01-19T22:05:52Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_cd16222bba6c43659fceca2b7324f670", - "object": "Rate", "created_at": "2024-01-19T22:05:54Z", "updated_at": "2024-01-19T22:05:54Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_0b9828a897364d329d93af82dc905dd6", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_726d1a0c94254020b7d5fa994fa895cc", - "object": "Rate", "created_at": "2024-01-19T22:05:54Z", "updated_at": "2024-01-19T22:05:54Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_0b9828a897364d329d93af82dc905dd6", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_3bf1fd38cdce402e95df67375b6b07af", - "object": "Rate", "created_at": "2024-01-19T22:05:54Z", "updated_at": "2024-01-19T22:05:54Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_0b9828a897364d329d93af82dc905dd6", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_cbd333366d504711aaf4df872e5ab5c9", - "object": "Rate", "created_at": "2024-01-19T22:05:54Z", "updated_at": "2024-01-19T22:05:54Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_0b9828a897364d329d93af82dc905dd6", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_3a29c54591bb4e4183717ec090081441", "object": "Rate", "created_at": - "2024-01-19T22:05:54Z", "updated_at": "2024-01-19T22:05:54Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_0b9828a897364d329d93af82dc905dd6", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_e97c21b2b71611eebcc2ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T22:05:52+00:00", "updated_at": "2024-01-19T22:05:52+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_e97f052eb71611eebfa6ac1f6bc539ae", "object": "Address", "created_at": - "2024-01-19T22:05:52+00:00", "updated_at": "2024-01-19T22:05:52+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_e97c21b2b71611eebcc2ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:05:52+00:00", "updated_at": - "2024-01-19T22:05:52+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_0b9828a897364d329d93af82dc905dd6", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_0b9828a897364d329d93af82dc905dd6 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf240e798d1210010cc88 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.637264' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"rate": {"id": "rate_3bf1fd38cdce402e95df67375b6b07af"}, "insurance": - "249.99"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '80' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments/shp_0b9828a897364d329d93af82dc905dd6/buy - response: - body: - string: '{"created_at": "2024-01-19T22:05:53Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9434600207552010712873", "updated_at": "2024-01-19T22:05:55Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_d733f3eca8874ae0a6be2bae9fcdc494", "object": "CustomsInfo", "created_at": - "2024-01-19T22:05:52Z", "updated_at": "2024-01-19T22:05:52Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_003ca5a87d374592ac5f0119fa788211", - "object": "CustomsItem", "created_at": "2024-01-19T22:05:52Z", "updated_at": - "2024-01-19T22:05:52Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_e97f052eb71611eebfa6ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T22:05:52+00:00", "updated_at": - "2024-01-19T22:05:52+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": "249.99", "order_id": null, "parcel": {"id": "prcl_96bc918a1cd04dd0bbc9e57bdf2ae83c", - "object": "Parcel", "created_at": "2024-01-19T22:05:52Z", "updated_at": "2024-01-19T22:05:52Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_b7b3bf97fcb04dfe9a44e15e66d2de44", "created_at": "2024-01-19T22:05:55Z", - "updated_at": "2024-01-19T22:05:55Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T22:05:55Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8ae7ad80e140a449f8aa27a6a0f2e84a7.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_cd16222bba6c43659fceca2b7324f670", "object": - "Rate", "created_at": "2024-01-19T22:05:54Z", "updated_at": "2024-01-19T22:05:54Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_0b9828a897364d329d93af82dc905dd6", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_726d1a0c94254020b7d5fa994fa895cc", - "object": "Rate", "created_at": "2024-01-19T22:05:54Z", "updated_at": "2024-01-19T22:05:54Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_0b9828a897364d329d93af82dc905dd6", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_3bf1fd38cdce402e95df67375b6b07af", - "object": "Rate", "created_at": "2024-01-19T22:05:54Z", "updated_at": "2024-01-19T22:05:54Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_0b9828a897364d329d93af82dc905dd6", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_cbd333366d504711aaf4df872e5ab5c9", - "object": "Rate", "created_at": "2024-01-19T22:05:54Z", "updated_at": "2024-01-19T22:05:54Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_0b9828a897364d329d93af82dc905dd6", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_3a29c54591bb4e4183717ec090081441", "object": "Rate", "created_at": - "2024-01-19T22:05:54Z", "updated_at": "2024-01-19T22:05:54Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_0b9828a897364d329d93af82dc905dd6", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_3bf1fd38cdce402e95df67375b6b07af", - "object": "Rate", "created_at": "2024-01-19T22:05:55Z", "updated_at": "2024-01-19T22:05:55Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_0b9828a897364d329d93af82dc905dd6", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_87e48745a7a947ddb447045a08500f5f", - "object": "Tracker", "mode": "test", "tracking_code": "9434600207552010712873", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:05:55Z", - "updated_at": "2024-01-19T22:05:55Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_0b9828a897364d329d93af82dc905dd6", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzg3ZTQ4NzQ1YTdhOTQ3ZGRiNDQ3MDQ1YTA4NTAwZjVm"}, - "to_address": {"id": "adr_e97c21b2b71611eebcc2ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T22:05:52+00:00", "updated_at": "2024-01-19T22:05:54+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_e97f052eb71611eebfa6ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T22:05:52+00:00", "updated_at": - "2024-01-19T22:05:52+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_e97c21b2b71611eebcc2ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T22:05:52+00:00", "updated_at": "2024-01-19T22:05:54+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "6.79000", "charged": true, "refunded": false}, {"object": "Fee", - "type": "InsuranceFee", "amount": "2.49990", "charged": true, "refunded": - false}], "id": "shp_0b9828a897364d329d93af82dc905dd6", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '9439' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf242e798d1220010ce0c - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.904109' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_shipments_create.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_shipments_create.yaml deleted file mode 100644 index b2f6494b..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_shipments_create.yaml +++ /dev/null @@ -1,1196 +0,0 @@ -interactions: -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '885' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:42:03Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T21:42:03Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_11122b6cc41745de9ceeae6871c4a4e0", - "object": "CustomsInfo", "created_at": "2024-01-19T21:42:03Z", "updated_at": - "2024-01-19T21:42:03Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_86244994467243c48ed055ecd767169c", "object": "CustomsItem", - "created_at": "2024-01-19T21:42:03Z", "updated_at": "2024-01-19T21:42:03Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_95381083b71311eea40dac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:42:03+00:00", "updated_at": "2024-01-19T21:42:03+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_56e1850524074d4c98d2ce839c82af4c", "object": "Parcel", "created_at": - "2024-01-19T21:42:03Z", "updated_at": "2024-01-19T21:42:03Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_0b606acebf8548ff9337aa026999df2a", - "object": "Rate", "created_at": "2024-01-19T21:42:03Z", "updated_at": "2024-01-19T21:42:03Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_36544f6aeef5499bbab96a44d8ddcc18", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c0c41a55e4b94e388ad9c1417dacea2e", - "object": "Rate", "created_at": "2024-01-19T21:42:03Z", "updated_at": "2024-01-19T21:42:03Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_36544f6aeef5499bbab96a44d8ddcc18", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_982018ad485b4040a059a0745db589a8", - "object": "Rate", "created_at": "2024-01-19T21:42:03Z", "updated_at": "2024-01-19T21:42:03Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_36544f6aeef5499bbab96a44d8ddcc18", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_9396adbe660840caa7792b1caf8a6711", "object": "Rate", "created_at": - "2024-01-19T21:42:03Z", "updated_at": "2024-01-19T21:42:03Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_36544f6aeef5499bbab96a44d8ddcc18", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_d7ad9bf50ba04c57910451241ace59a9", "object": "Rate", "created_at": - "2024-01-19T21:42:03Z", "updated_at": "2024-01-19T21:42:03Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_36544f6aeef5499bbab96a44d8ddcc18", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_95365731b71311eea25c3cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:42:03+00:00", "updated_at": "2024-01-19T21:42:03+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_95381083b71311eea40dac1f6bc53342", "object": "Address", "created_at": - "2024-01-19T21:42:03+00:00", "updated_at": "2024-01-19T21:42:03+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_95365731b71311eea25c3cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:42:03+00:00", "updated_at": - "2024-01-19T21:42:03+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_36544f6aeef5499bbab96a44d8ddcc18", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_36544f6aeef5499bbab96a44d8ddcc18 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaecabe78b9f64000d0791 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.861352' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '885' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:43:59Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T21:43:59Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_9bebc89c6cb5452fa0364f42807bc00c", - "object": "CustomsInfo", "created_at": "2024-01-19T21:43:59Z", "updated_at": - "2024-01-19T21:43:59Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_eac3ae4a23a443cf8ec85b54db87c37f", "object": "CustomsItem", - "created_at": "2024-01-19T21:43:59Z", "updated_at": "2024-01-19T21:43:59Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_da71307cb71311eebb663cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:43:59+00:00", "updated_at": "2024-01-19T21:43:59+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_914b46e693fc4a20ad15d3d8a55ae77d", "object": "Parcel", "created_at": - "2024-01-19T21:43:59Z", "updated_at": "2024-01-19T21:43:59Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_6ae51101dc5f4c38a734f94487ccb570", - "object": "Rate", "created_at": "2024-01-19T21:43:59Z", "updated_at": "2024-01-19T21:43:59Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_4ab9ade3823f41739a6129e9483d5570", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_29fb328f0fe948739aa558efb5717469", - "object": "Rate", "created_at": "2024-01-19T21:43:59Z", "updated_at": "2024-01-19T21:43:59Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_4ab9ade3823f41739a6129e9483d5570", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b66b4768655446b09b41867a95fd9623", - "object": "Rate", "created_at": "2024-01-19T21:43:59Z", "updated_at": "2024-01-19T21:43:59Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_4ab9ade3823f41739a6129e9483d5570", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_af06c396e9b144dca064ee0356aae97c", "object": "Rate", "created_at": - "2024-01-19T21:43:59Z", "updated_at": "2024-01-19T21:43:59Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_4ab9ade3823f41739a6129e9483d5570", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_29987645785a4969bfa74724ab1eabfd", "object": "Rate", "created_at": - "2024-01-19T21:43:59Z", "updated_at": "2024-01-19T21:43:59Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_4ab9ade3823f41739a6129e9483d5570", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_da6f0902b71311eebdd7ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:43:59+00:00", "updated_at": "2024-01-19T21:43:59+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_da71307cb71311eebb663cecef1b359e", "object": "Address", "created_at": - "2024-01-19T21:43:59+00:00", "updated_at": "2024-01-19T21:43:59+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_da6f0902b71311eebdd7ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:43:59+00:00", "updated_at": - "2024-01-19T21:43:59+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_4ab9ade3823f41739a6129e9483d5570", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_4ab9ade3823f41739a6129e9483d5570 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaed1fe78ba78a000d4b67 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.707052' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '885' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:47:52Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T21:47:52Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_d226643435144fd4b6c5081b67da5c9c", - "object": "CustomsInfo", "created_at": "2024-01-19T21:47:52Z", "updated_at": - "2024-01-19T21:47:52Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_1ddd057088144b8ea5d43580e64fc50c", "object": "CustomsItem", - "created_at": "2024-01-19T21:47:52Z", "updated_at": "2024-01-19T21:47:52Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_654a4a5eb71411eeaa8aac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:47:52+00:00", "updated_at": "2024-01-19T21:47:52+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_5512290e964e4a78b393c980dec94eed", "object": "Parcel", "created_at": - "2024-01-19T21:47:52Z", "updated_at": "2024-01-19T21:47:52Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_0c2c80fb71d2448da9d54b5ca139de99", - "object": "Rate", "created_at": "2024-01-19T21:47:52Z", "updated_at": "2024-01-19T21:47:52Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_c4b113102bb0401a810f9696eba56d68", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_0fa5b85d688b49ecb1640a4436d32ad2", - "object": "Rate", "created_at": "2024-01-19T21:47:52Z", "updated_at": "2024-01-19T21:47:52Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_c4b113102bb0401a810f9696eba56d68", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_701bb384a8694e288d22eb46328cb376", - "object": "Rate", "created_at": "2024-01-19T21:47:52Z", "updated_at": "2024-01-19T21:47:52Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_c4b113102bb0401a810f9696eba56d68", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_1c9a57e4087245fbb96465f0bc2e42ae", "object": "Rate", "created_at": - "2024-01-19T21:47:52Z", "updated_at": "2024-01-19T21:47:52Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_c4b113102bb0401a810f9696eba56d68", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_eca829634f064c68993fea9dad61e20c", "object": "Rate", "created_at": - "2024-01-19T21:47:52Z", "updated_at": "2024-01-19T21:47:52Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_c4b113102bb0401a810f9696eba56d68", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_654813b6b71411eeb8faac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:47:52+00:00", "updated_at": "2024-01-19T21:47:52+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_654a4a5eb71411eeaa8aac1f6bc539ae", "object": "Address", "created_at": - "2024-01-19T21:47:52+00:00", "updated_at": "2024-01-19T21:47:52+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_654813b6b71411eeb8faac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:47:52+00:00", "updated_at": - "2024-01-19T21:47:52+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_c4b113102bb0401a810f9696eba56d68", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_c4b113102bb0401a810f9696eba56d68 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda865aaee08e78bb00d001142d1 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.731243' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '885' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:49:47Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T21:49:48Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_48f28e255228481cb62d4fcf25c95b56", - "object": "CustomsInfo", "created_at": "2024-01-19T21:49:47Z", "updated_at": - "2024-01-19T21:49:47Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_7441b9959a134b368fd195c91ba31b3b", "object": "CustomsItem", - "created_at": "2024-01-19T21:49:47Z", "updated_at": "2024-01-19T21:49:47Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_aa014ea0b71411eebff9ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:49:47+00:00", "updated_at": "2024-01-19T21:49:47+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_b3f5e938e49d4d43a56b5f797ad9432f", "object": "Parcel", "created_at": - "2024-01-19T21:49:47Z", "updated_at": "2024-01-19T21:49:47Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_b173588a66f2415e9f85cc8e80f7e0ab", - "object": "Rate", "created_at": "2024-01-19T21:49:48Z", "updated_at": "2024-01-19T21:49:48Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_a4f0f0c0a8794ddd9e7c099cefcbe048", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_2f5c9a03927a49cc8ff3bd2d17910497", - "object": "Rate", "created_at": "2024-01-19T21:49:48Z", "updated_at": "2024-01-19T21:49:48Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_a4f0f0c0a8794ddd9e7c099cefcbe048", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_1559e236509d496789b766be06c73162", - "object": "Rate", "created_at": "2024-01-19T21:49:48Z", "updated_at": "2024-01-19T21:49:48Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_a4f0f0c0a8794ddd9e7c099cefcbe048", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_4d08af57f5e446ce93b9ab4fa0e9219e", "object": "Rate", "created_at": - "2024-01-19T21:49:48Z", "updated_at": "2024-01-19T21:49:48Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_a4f0f0c0a8794ddd9e7c099cefcbe048", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_b1e39d9ddd86456fb5eee327b10640f5", "object": "Rate", "created_at": - "2024-01-19T21:49:48Z", "updated_at": "2024-01-19T21:49:48Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_a4f0f0c0a8794ddd9e7c099cefcbe048", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_a9ff01b6b71411eebccc3cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:49:47+00:00", "updated_at": "2024-01-19T21:49:47+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_aa014ea0b71411eebff9ac1f6bc539ae", "object": "Address", "created_at": - "2024-01-19T21:49:47+00:00", "updated_at": "2024-01-19T21:49:47+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_a9ff01b6b71411eebccc3cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:49:47+00:00", "updated_at": - "2024-01-19T21:49:47+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_a4f0f0c0a8794ddd9e7c099cefcbe048", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_a4f0f0c0a8794ddd9e7c099cefcbe048 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda965aaee7be78bb8470011848e - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.697356' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '885' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:59:06Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T21:59:06Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_d274833928ff4601898b1995b4bc936c", - "object": "CustomsInfo", "created_at": "2024-01-19T21:59:06Z", "updated_at": - "2024-01-19T21:59:06Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_563b4264146745638aff2b1f8d4e176d", "object": "CustomsItem", - "created_at": "2024-01-19T21:59:06Z", "updated_at": "2024-01-19T21:59:06Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_f6fcef93b71511eeabaa3cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:59:06+00:00", "updated_at": "2024-01-19T21:59:06+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_3fcdc9849fc446239959ea2ec50859cd", "object": "Parcel", "created_at": - "2024-01-19T21:59:06Z", "updated_at": "2024-01-19T21:59:06Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_f5cf2b70a74d48079ca27c1b9e4775e9", - "object": "Rate", "created_at": "2024-01-19T21:59:06Z", "updated_at": "2024-01-19T21:59:06Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_a104e451254647858270ba1c17626604", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_90847c53f3194bb2b831a5dc33e73a12", - "object": "Rate", "created_at": "2024-01-19T21:59:06Z", "updated_at": "2024-01-19T21:59:06Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_a104e451254647858270ba1c17626604", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4932dfea916d483bbfa0fc6c78d09760", - "object": "Rate", "created_at": "2024-01-19T21:59:06Z", "updated_at": "2024-01-19T21:59:06Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_a104e451254647858270ba1c17626604", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_1f9e9ec319fb44a293c7812b0681b8b5", - "object": "Rate", "created_at": "2024-01-19T21:59:06Z", "updated_at": "2024-01-19T21:59:06Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_a104e451254647858270ba1c17626604", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_08e56a8d89434f51a9c15d91306ebe45", "object": "Rate", "created_at": - "2024-01-19T21:59:06Z", "updated_at": "2024-01-19T21:59:06Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_a104e451254647858270ba1c17626604", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_f6fa1daeb71511eebe1cac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:59:06+00:00", "updated_at": "2024-01-19T21:59:06+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_f6fcef93b71511eeabaa3cecef1b359e", "object": "Address", "created_at": - "2024-01-19T21:59:06+00:00", "updated_at": "2024-01-19T21:59:06+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_f6fa1daeb71511eebe1cac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:59:06+00:00", "updated_at": - "2024-01-19T21:59:06+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_a104e451254647858270ba1c17626604", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_a104e451254647858270ba1c17626604 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf0aae798bfdd000f87b4 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.728153' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '885' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T22:02:01Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T22:02:02Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_ad5cba2a23ba4eeaa8824a336ee3a67c", - "object": "CustomsInfo", "created_at": "2024-01-19T22:02:01Z", "updated_at": - "2024-01-19T22:02:01Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_edcdba53ad0240b8b7f45ff6827a86db", "object": "CustomsItem", - "created_at": "2024-01-19T22:02:01Z", "updated_at": "2024-01-19T22:02:01Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_5f869678b71611ee90f5ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T22:02:01+00:00", "updated_at": "2024-01-19T22:02:01+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_e3e610a7c68f4723a4df36b007b25ed8", "object": "Parcel", "created_at": - "2024-01-19T22:02:01Z", "updated_at": "2024-01-19T22:02:01Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_36d62a030ce84fc8a2c3fc5d66335a91", - "object": "Rate", "created_at": "2024-01-19T22:02:02Z", "updated_at": "2024-01-19T22:02:02Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_74bb2b1358bb46d3958fc4fb2f95b6ca", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_42646b6e759545a4b20388d87e7db7a3", - "object": "Rate", "created_at": "2024-01-19T22:02:02Z", "updated_at": "2024-01-19T22:02:02Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_74bb2b1358bb46d3958fc4fb2f95b6ca", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_06c8c7eaf0184688aee4d868a5d79a53", - "object": "Rate", "created_at": "2024-01-19T22:02:02Z", "updated_at": "2024-01-19T22:02:02Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_74bb2b1358bb46d3958fc4fb2f95b6ca", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_09b8bca4d40f40ab807e485a4fd9b131", "object": "Rate", "created_at": - "2024-01-19T22:02:02Z", "updated_at": "2024-01-19T22:02:02Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_74bb2b1358bb46d3958fc4fb2f95b6ca", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_6c47904b3a4f4249b10e6bface283013", "object": "Rate", "created_at": - "2024-01-19T22:02:02Z", "updated_at": "2024-01-19T22:02:02Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_74bb2b1358bb46d3958fc4fb2f95b6ca", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_5f84372bb71611ee90f4ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T22:02:01+00:00", "updated_at": "2024-01-19T22:02:01+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_5f869678b71611ee90f5ac1f6bc539ae", "object": "Address", "created_at": - "2024-01-19T22:02:01+00:00", "updated_at": "2024-01-19T22:02:01+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_5f84372bb71611ee90f4ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T22:02:01+00:00", "updated_at": - "2024-01-19T22:02:01+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_74bb2b1358bb46d3958fc4fb2f95b6ca", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_74bb2b1358bb46d3958fc4fb2f95b6ca - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf159e798c84200102378 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.752082' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '885' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T22:05:49Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T22:05:50Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_e96beb9bbb704110b2c319e49347d0b9", - "object": "CustomsInfo", "created_at": "2024-01-19T22:05:49Z", "updated_at": - "2024-01-19T22:05:49Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_252004e4dacf43b0b92d5cd6c2f644dc", "object": "CustomsItem", - "created_at": "2024-01-19T22:05:49Z", "updated_at": "2024-01-19T22:05:49Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_e771a85cb71611ee8ca7ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T22:05:49+00:00", "updated_at": "2024-01-19T22:05:49+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_0e969db3b1f9474ea3927b4529607853", "object": "Parcel", "created_at": - "2024-01-19T22:05:49Z", "updated_at": "2024-01-19T22:05:49Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_891b9e4666354fbf8e8bbeea259a6f4b", - "object": "Rate", "created_at": "2024-01-19T22:05:50Z", "updated_at": "2024-01-19T22:05:50Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_e6941bb6a0b8444f87c561caa87c781e", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4f21b9c13c994128a8ecd488bef3ccfe", - "object": "Rate", "created_at": "2024-01-19T22:05:50Z", "updated_at": "2024-01-19T22:05:50Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_e6941bb6a0b8444f87c561caa87c781e", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_bd36c725801c4f688931f4b320654555", - "object": "Rate", "created_at": "2024-01-19T22:05:50Z", "updated_at": "2024-01-19T22:05:50Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_e6941bb6a0b8444f87c561caa87c781e", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_0adf4d66a2244bafa32682de7b8a6941", "object": "Rate", "created_at": - "2024-01-19T22:05:50Z", "updated_at": "2024-01-19T22:05:50Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_e6941bb6a0b8444f87c561caa87c781e", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_652516008e7649538f1e536da8719e9d", "object": "Rate", "created_at": - "2024-01-19T22:05:50Z", "updated_at": "2024-01-19T22:05:50Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_e6941bb6a0b8444f87c561caa87c781e", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_e76dd5a7b71611eeba623cecef1b359e", "object": - "Address", "created_at": "2024-01-19T22:05:49+00:00", "updated_at": "2024-01-19T22:05:49+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_e771a85cb71611ee8ca7ac1f6bc539aa", "object": "Address", "created_at": - "2024-01-19T22:05:49+00:00", "updated_at": "2024-01-19T22:05:49+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_e76dd5a7b71611eeba623cecef1b359e", - "object": "Address", "created_at": "2024-01-19T22:05:49+00:00", "updated_at": - "2024-01-19T22:05:49+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_e6941bb6a0b8444f87c561caa87c781e", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_e6941bb6a0b8444f87c561caa87c781e - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf23de798d1060010ca63 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.713060' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_shipments_label.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_shipments_label.yaml deleted file mode 100644 index 2a5fbc42..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_shipments_label.yaml +++ /dev/null @@ -1,3678 +0,0 @@ -interactions: -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '885' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:42:09Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T21:42:10Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_924e5a2d39ec4e20a10c1a9c0cf5ed03", - "object": "CustomsInfo", "created_at": "2024-01-19T21:42:09Z", "updated_at": - "2024-01-19T21:42:09Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_65b7e99f51b046258c2a02912014a961", "object": "CustomsItem", - "created_at": "2024-01-19T21:42:09Z", "updated_at": "2024-01-19T21:42:09Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_991b73c1b71311eea632ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:42:09+00:00", "updated_at": "2024-01-19T21:42:09+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_49de61bb82754f769959c0b8ac8ecf6d", "object": "Parcel", "created_at": - "2024-01-19T21:42:09Z", "updated_at": "2024-01-19T21:42:09Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_f0dd36cb952d47ccb62bccfce70bd175", - "object": "Rate", "created_at": "2024-01-19T21:42:10Z", "updated_at": "2024-01-19T21:42:10Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_cfb4323eb62f490b88dc6fedb8394554", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_1da2e438d64f42989aa24ac9fb9c5120", - "object": "Rate", "created_at": "2024-01-19T21:42:10Z", "updated_at": "2024-01-19T21:42:10Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_cfb4323eb62f490b88dc6fedb8394554", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b2f811cfbef64a90916a3a673470236b", - "object": "Rate", "created_at": "2024-01-19T21:42:10Z", "updated_at": "2024-01-19T21:42:10Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_cfb4323eb62f490b88dc6fedb8394554", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_431e683d4bb041799a7a7be66e0368c3", - "object": "Rate", "created_at": "2024-01-19T21:42:10Z", "updated_at": "2024-01-19T21:42:10Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_cfb4323eb62f490b88dc6fedb8394554", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_af463d53cc294363aed099dd4454a8c4", "object": "Rate", "created_at": - "2024-01-19T21:42:10Z", "updated_at": "2024-01-19T21:42:10Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_cfb4323eb62f490b88dc6fedb8394554", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_9918f44fb71311eea552ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:42:09+00:00", "updated_at": "2024-01-19T21:42:09+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_991b73c1b71311eea632ac1f6bc539ae", "object": "Address", "created_at": - "2024-01-19T21:42:09+00:00", "updated_at": "2024-01-19T21:42:09+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_9918f44fb71311eea552ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:42:09+00:00", "updated_at": - "2024-01-19T21:42:09+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_cfb4323eb62f490b88dc6fedb8394554", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_cfb4323eb62f490b88dc6fedb8394554 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaecb1e78b9f6b000d0aef - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.758304' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"rate": {"id": "rate_b2f811cfbef64a90916a3a673470236b"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '57' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments/shp_cfb4323eb62f490b88dc6fedb8394554/buy - response: - body: - string: '{"created_at": "2024-01-19T21:42:09Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9434600207552010707817", "updated_at": "2024-01-19T21:42:11Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_924e5a2d39ec4e20a10c1a9c0cf5ed03", "object": "CustomsInfo", "created_at": - "2024-01-19T21:42:09Z", "updated_at": "2024-01-19T21:42:09Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_65b7e99f51b046258c2a02912014a961", - "object": "CustomsItem", "created_at": "2024-01-19T21:42:09Z", "updated_at": - "2024-01-19T21:42:09Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_991b73c1b71311eea632ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:42:09+00:00", "updated_at": - "2024-01-19T21:42:09+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_49de61bb82754f769959c0b8ac8ecf6d", - "object": "Parcel", "created_at": "2024-01-19T21:42:09Z", "updated_at": "2024-01-19T21:42:09Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_db98b785798a4ed8a6694df8754b19e8", "created_at": "2024-01-19T21:42:11Z", - "updated_at": "2024-01-19T21:42:11Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:42:11Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8f1d17ec0c7734896b81e822af9eaa6bb.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_f0dd36cb952d47ccb62bccfce70bd175", "object": - "Rate", "created_at": "2024-01-19T21:42:10Z", "updated_at": "2024-01-19T21:42:10Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_cfb4323eb62f490b88dc6fedb8394554", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_1da2e438d64f42989aa24ac9fb9c5120", - "object": "Rate", "created_at": "2024-01-19T21:42:10Z", "updated_at": "2024-01-19T21:42:10Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_cfb4323eb62f490b88dc6fedb8394554", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b2f811cfbef64a90916a3a673470236b", - "object": "Rate", "created_at": "2024-01-19T21:42:10Z", "updated_at": "2024-01-19T21:42:10Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_cfb4323eb62f490b88dc6fedb8394554", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_431e683d4bb041799a7a7be66e0368c3", - "object": "Rate", "created_at": "2024-01-19T21:42:10Z", "updated_at": "2024-01-19T21:42:10Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_cfb4323eb62f490b88dc6fedb8394554", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_af463d53cc294363aed099dd4454a8c4", "object": "Rate", "created_at": - "2024-01-19T21:42:10Z", "updated_at": "2024-01-19T21:42:10Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_cfb4323eb62f490b88dc6fedb8394554", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_b2f811cfbef64a90916a3a673470236b", - "object": "Rate", "created_at": "2024-01-19T21:42:11Z", "updated_at": "2024-01-19T21:42:11Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_cfb4323eb62f490b88dc6fedb8394554", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_cf7cbc52e6bd47be912299713e8809b3", - "object": "Tracker", "mode": "test", "tracking_code": "9434600207552010707817", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:42:11Z", - "updated_at": "2024-01-19T21:42:11Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_cfb4323eb62f490b88dc6fedb8394554", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrX2NmN2NiYzUyZTZiZDQ3YmU5MTIyOTk3MTNlODgwOWIz"}, - "to_address": {"id": "adr_9918f44fb71311eea552ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:42:09+00:00", "updated_at": "2024-01-19T21:42:10+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_991b73c1b71311eea632ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:42:09+00:00", "updated_at": - "2024-01-19T21:42:09+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_9918f44fb71311eea552ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:42:09+00:00", "updated_at": "2024-01-19T21:42:10+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "6.79000", "charged": true, "refunded": false}], "id": "shp_cfb4323eb62f490b88dc6fedb8394554", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '9345' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaecb2e78b9f6c000d0b72 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.924740' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/shipments/shp_cfb4323eb62f490b88dc6fedb8394554/label?file_format=ZPL - response: - body: - string: '{"created_at": "2024-01-19T21:42:09Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9434600207552010707817", "updated_at": "2024-01-19T21:42:11Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_924e5a2d39ec4e20a10c1a9c0cf5ed03", "object": "CustomsInfo", "created_at": - "2024-01-19T21:42:09Z", "updated_at": "2024-01-19T21:42:09Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_65b7e99f51b046258c2a02912014a961", - "object": "CustomsItem", "created_at": "2024-01-19T21:42:09Z", "updated_at": - "2024-01-19T21:42:09Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_991b73c1b71311eea632ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:42:09+00:00", "updated_at": - "2024-01-19T21:42:09+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_49de61bb82754f769959c0b8ac8ecf6d", - "object": "Parcel", "created_at": "2024-01-19T21:42:09Z", "updated_at": "2024-01-19T21:42:09Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_db98b785798a4ed8a6694df8754b19e8", "created_at": "2024-01-19T21:42:11Z", - "updated_at": "2024-01-19T21:42:13Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:42:11Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8f1d17ec0c7734896b81e822af9eaa6bb.png", - "label_pdf_url": null, "label_zpl_url": "https://easypost-files.s3-us-west-2.amazonaws.com/files/postage_label/20240119/d0f80b7d5b9d4c9c9beca9963d89896a.zpl", - "label_epl2_url": null, "label_file": null}, "rates": [{"id": "rate_f0dd36cb952d47ccb62bccfce70bd175", - "object": "Rate", "created_at": "2024-01-19T21:42:10Z", "updated_at": "2024-01-19T21:42:10Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_cfb4323eb62f490b88dc6fedb8394554", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_1da2e438d64f42989aa24ac9fb9c5120", - "object": "Rate", "created_at": "2024-01-19T21:42:10Z", "updated_at": "2024-01-19T21:42:10Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_cfb4323eb62f490b88dc6fedb8394554", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b2f811cfbef64a90916a3a673470236b", - "object": "Rate", "created_at": "2024-01-19T21:42:10Z", "updated_at": "2024-01-19T21:42:10Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_cfb4323eb62f490b88dc6fedb8394554", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_431e683d4bb041799a7a7be66e0368c3", - "object": "Rate", "created_at": "2024-01-19T21:42:10Z", "updated_at": "2024-01-19T21:42:10Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_cfb4323eb62f490b88dc6fedb8394554", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_af463d53cc294363aed099dd4454a8c4", "object": "Rate", "created_at": - "2024-01-19T21:42:10Z", "updated_at": "2024-01-19T21:42:10Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_cfb4323eb62f490b88dc6fedb8394554", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_b2f811cfbef64a90916a3a673470236b", - "object": "Rate", "created_at": "2024-01-19T21:42:11Z", "updated_at": "2024-01-19T21:42:11Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_cfb4323eb62f490b88dc6fedb8394554", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_cf7cbc52e6bd47be912299713e8809b3", - "object": "Tracker", "mode": "test", "tracking_code": "9434600207552010707817", - "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:42:11Z", - "updated_at": "2024-01-19T21:42:11Z", "signed_by": null, "weight": null, "est_delivery_date": - "2024-01-19T21:42:11Z", "shipment_id": "shp_cfb4323eb62f490b88dc6fedb8394554", - "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": - "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-19T21:42:11Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", - "message": "Shipping Label Created", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-20T10:19:11Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": - null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": - null}, "public_url": "https://track.easypost.com/djE6dHJrX2NmN2NiYzUyZTZiZDQ3YmU5MTIyOTk3MTNlODgwOWIz"}, - "to_address": {"id": "adr_9918f44fb71311eea552ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:42:09+00:00", "updated_at": "2024-01-19T21:42:10+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_991b73c1b71311eea632ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:42:09+00:00", "updated_at": - "2024-01-19T21:42:09+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_9918f44fb71311eea552ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:42:09+00:00", "updated_at": "2024-01-19T21:42:10+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "6.79000", "charged": true, "refunded": false}], "id": "shp_cfb4323eb62f490b88dc6fedb8394554", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '10588' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaecb3e78b9f84000d0c3c - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.451174' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '885' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:44:06Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T21:44:07Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_0033abad48e945ad950cd3682ea52c5e", - "object": "CustomsInfo", "created_at": "2024-01-19T21:44:06Z", "updated_at": - "2024-01-19T21:44:06Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_2f48b28a9cd54e6b9abc1d835212963c", "object": "CustomsItem", - "created_at": "2024-01-19T21:44:06Z", "updated_at": "2024-01-19T21:44:06Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_def3212eb71311eebcc13cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:44:06+00:00", "updated_at": "2024-01-19T21:44:06+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_42a49c94feaa4843a6d432cf218f5d17", "object": "Parcel", "created_at": - "2024-01-19T21:44:06Z", "updated_at": "2024-01-19T21:44:06Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_85c7745bbd3940548ef58be639232eaa", - "object": "Rate", "created_at": "2024-01-19T21:44:07Z", "updated_at": "2024-01-19T21:44:07Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_885acb45f712451a9e3bfb82f28b4143", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_0dc65c84e0d041c0b6408d87140b42a2", - "object": "Rate", "created_at": "2024-01-19T21:44:07Z", "updated_at": "2024-01-19T21:44:07Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_885acb45f712451a9e3bfb82f28b4143", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_d69f1fe768ff499282537438291b36e0", - "object": "Rate", "created_at": "2024-01-19T21:44:07Z", "updated_at": "2024-01-19T21:44:07Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_885acb45f712451a9e3bfb82f28b4143", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_171721d408f742b0963576cb69affcf8", "object": "Rate", "created_at": - "2024-01-19T21:44:07Z", "updated_at": "2024-01-19T21:44:07Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_885acb45f712451a9e3bfb82f28b4143", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_f22e43365ac849c68e00f2c8ca18f07a", "object": "Rate", "created_at": - "2024-01-19T21:44:07Z", "updated_at": "2024-01-19T21:44:07Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_885acb45f712451a9e3bfb82f28b4143", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_def09665b71311eebf43ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:44:06+00:00", "updated_at": "2024-01-19T21:44:06+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_def3212eb71311eebcc13cecef1b359e", "object": "Address", "created_at": - "2024-01-19T21:44:06+00:00", "updated_at": "2024-01-19T21:44:06+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_def09665b71311eebf43ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:44:06+00:00", "updated_at": - "2024-01-19T21:44:06+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_885acb45f712451a9e3bfb82f28b4143", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_885acb45f712451a9e3bfb82f28b4143 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaed26e78ba7a8000d5032 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.835142' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"rate": {"id": "rate_0dc65c84e0d041c0b6408d87140b42a2"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '57' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments/shp_885acb45f712451a9e3bfb82f28b4143/buy - response: - body: - string: '{"created_at": "2024-01-19T21:44:06Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9434600207552010708128", "updated_at": "2024-01-19T21:44:08Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_0033abad48e945ad950cd3682ea52c5e", "object": "CustomsInfo", "created_at": - "2024-01-19T21:44:06Z", "updated_at": "2024-01-19T21:44:06Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_2f48b28a9cd54e6b9abc1d835212963c", - "object": "CustomsItem", "created_at": "2024-01-19T21:44:06Z", "updated_at": - "2024-01-19T21:44:06Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_def3212eb71311eebcc13cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:44:06+00:00", "updated_at": - "2024-01-19T21:44:06+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_42a49c94feaa4843a6d432cf218f5d17", - "object": "Parcel", "created_at": "2024-01-19T21:44:06Z", "updated_at": "2024-01-19T21:44:06Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_f4f032c20dea4db3a6258806e3f057d4", "created_at": "2024-01-19T21:44:08Z", - "updated_at": "2024-01-19T21:44:08Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:44:08Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8ba4be0b71fa340f180e5530c8b79c44c.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_85c7745bbd3940548ef58be639232eaa", "object": - "Rate", "created_at": "2024-01-19T21:44:07Z", "updated_at": "2024-01-19T21:44:07Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_885acb45f712451a9e3bfb82f28b4143", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_0dc65c84e0d041c0b6408d87140b42a2", - "object": "Rate", "created_at": "2024-01-19T21:44:07Z", "updated_at": "2024-01-19T21:44:07Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_885acb45f712451a9e3bfb82f28b4143", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_d69f1fe768ff499282537438291b36e0", - "object": "Rate", "created_at": "2024-01-19T21:44:07Z", "updated_at": "2024-01-19T21:44:07Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_885acb45f712451a9e3bfb82f28b4143", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_171721d408f742b0963576cb69affcf8", "object": "Rate", "created_at": - "2024-01-19T21:44:07Z", "updated_at": "2024-01-19T21:44:07Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_885acb45f712451a9e3bfb82f28b4143", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_f22e43365ac849c68e00f2c8ca18f07a", "object": "Rate", "created_at": - "2024-01-19T21:44:07Z", "updated_at": "2024-01-19T21:44:07Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_885acb45f712451a9e3bfb82f28b4143", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_0dc65c84e0d041c0b6408d87140b42a2", - "object": "Rate", "created_at": "2024-01-19T21:44:08Z", "updated_at": "2024-01-19T21:44:08Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_885acb45f712451a9e3bfb82f28b4143", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_44cfb9ee76ed482aa2ad647459fad304", - "object": "Tracker", "mode": "test", "tracking_code": "9434600207552010708128", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:44:08Z", - "updated_at": "2024-01-19T21:44:08Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_885acb45f712451a9e3bfb82f28b4143", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzQ0Y2ZiOWVlNzZlZDQ4MmFhMmFkNjQ3NDU5ZmFkMzA0"}, - "to_address": {"id": "adr_def09665b71311eebf43ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:44:06+00:00", "updated_at": "2024-01-19T21:44:07+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_def3212eb71311eebcc13cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:44:06+00:00", "updated_at": - "2024-01-19T21:44:06+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_def09665b71311eebf43ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:44:06+00:00", "updated_at": "2024-01-19T21:44:07+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "6.79000", "charged": true, "refunded": false}], "id": "shp_885acb45f712451a9e3bfb82f28b4143", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '9345' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaed27e78ba7a9000d50d2 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.829993' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/shipments/shp_885acb45f712451a9e3bfb82f28b4143/label?file_format=ZPL - response: - body: - string: '{"created_at": "2024-01-19T21:44:06Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9434600207552010708128", "updated_at": "2024-01-19T21:44:08Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_0033abad48e945ad950cd3682ea52c5e", "object": "CustomsInfo", "created_at": - "2024-01-19T21:44:06Z", "updated_at": "2024-01-19T21:44:06Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_2f48b28a9cd54e6b9abc1d835212963c", - "object": "CustomsItem", "created_at": "2024-01-19T21:44:06Z", "updated_at": - "2024-01-19T21:44:06Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_def3212eb71311eebcc13cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:44:06+00:00", "updated_at": - "2024-01-19T21:44:06+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_42a49c94feaa4843a6d432cf218f5d17", - "object": "Parcel", "created_at": "2024-01-19T21:44:06Z", "updated_at": "2024-01-19T21:44:06Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_f4f032c20dea4db3a6258806e3f057d4", "created_at": "2024-01-19T21:44:08Z", - "updated_at": "2024-01-19T21:44:10Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:44:08Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8ba4be0b71fa340f180e5530c8b79c44c.png", - "label_pdf_url": null, "label_zpl_url": "https://easypost-files.s3-us-west-2.amazonaws.com/files/postage_label/20240119/596130f3a57c44f6ab0fe3d432d85b96.zpl", - "label_epl2_url": null, "label_file": null}, "rates": [{"id": "rate_85c7745bbd3940548ef58be639232eaa", - "object": "Rate", "created_at": "2024-01-19T21:44:07Z", "updated_at": "2024-01-19T21:44:07Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_885acb45f712451a9e3bfb82f28b4143", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_0dc65c84e0d041c0b6408d87140b42a2", - "object": "Rate", "created_at": "2024-01-19T21:44:07Z", "updated_at": "2024-01-19T21:44:07Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_885acb45f712451a9e3bfb82f28b4143", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_d69f1fe768ff499282537438291b36e0", - "object": "Rate", "created_at": "2024-01-19T21:44:07Z", "updated_at": "2024-01-19T21:44:07Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_885acb45f712451a9e3bfb82f28b4143", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_171721d408f742b0963576cb69affcf8", "object": "Rate", "created_at": - "2024-01-19T21:44:07Z", "updated_at": "2024-01-19T21:44:07Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_885acb45f712451a9e3bfb82f28b4143", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_f22e43365ac849c68e00f2c8ca18f07a", "object": "Rate", "created_at": - "2024-01-19T21:44:07Z", "updated_at": "2024-01-19T21:44:07Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_885acb45f712451a9e3bfb82f28b4143", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_0dc65c84e0d041c0b6408d87140b42a2", - "object": "Rate", "created_at": "2024-01-19T21:44:08Z", "updated_at": "2024-01-19T21:44:08Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_885acb45f712451a9e3bfb82f28b4143", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_44cfb9ee76ed482aa2ad647459fad304", - "object": "Tracker", "mode": "test", "tracking_code": "9434600207552010708128", - "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:44:08Z", - "updated_at": "2024-01-19T21:44:08Z", "signed_by": null, "weight": null, "est_delivery_date": - "2024-01-19T21:44:08Z", "shipment_id": "shp_885acb45f712451a9e3bfb82f28b4143", - "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": - "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-19T21:44:08Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", - "message": "Shipping Label Created", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-20T10:21:08Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": - null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": - null}, "public_url": "https://track.easypost.com/djE6dHJrXzQ0Y2ZiOWVlNzZlZDQ4MmFhMmFkNjQ3NDU5ZmFkMzA0"}, - "to_address": {"id": "adr_def09665b71311eebf43ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:44:06+00:00", "updated_at": "2024-01-19T21:44:07+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_def3212eb71311eebcc13cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:44:06+00:00", "updated_at": - "2024-01-19T21:44:06+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_def09665b71311eebf43ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:44:06+00:00", "updated_at": "2024-01-19T21:44:07+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "6.79000", "charged": true, "refunded": false}], "id": "shp_885acb45f712451a9e3bfb82f28b4143", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '10588' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaed28e78ba7aa000d5159 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.482294' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '885' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:47:59Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T21:47:59Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_51457cd309d242ba9cccccb5bea2ca35", - "object": "CustomsInfo", "created_at": "2024-01-19T21:47:58Z", "updated_at": - "2024-01-19T21:47:58Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_52a09917b5e745328b9cffe7f0119609", "object": "CustomsItem", - "created_at": "2024-01-19T21:47:58Z", "updated_at": "2024-01-19T21:47:58Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_6956ddbcb71411eeba26ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:47:58+00:00", "updated_at": "2024-01-19T21:47:58+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_c101796321eb49e0b916208380fb96d0", "object": "Parcel", "created_at": - "2024-01-19T21:47:58Z", "updated_at": "2024-01-19T21:47:58Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_62a57f576a3441fb83474d9310c7149e", - "object": "Rate", "created_at": "2024-01-19T21:47:59Z", "updated_at": "2024-01-19T21:47:59Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_36f55620f94d43c497f48dae4feb0568", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4a5eb4e72cc844779daddcafb6f9ae65", - "object": "Rate", "created_at": "2024-01-19T21:47:59Z", "updated_at": "2024-01-19T21:47:59Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_36f55620f94d43c497f48dae4feb0568", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_0d875b2671094294b3d598fd56da07db", - "object": "Rate", "created_at": "2024-01-19T21:47:59Z", "updated_at": "2024-01-19T21:47:59Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_36f55620f94d43c497f48dae4feb0568", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_424d9c14b7714467aa0b07384953c7a5", - "object": "Rate", "created_at": "2024-01-19T21:47:59Z", "updated_at": "2024-01-19T21:47:59Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_36f55620f94d43c497f48dae4feb0568", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_97a17be402514ed8bd3c8a5fbd10a877", "object": "Rate", "created_at": - "2024-01-19T21:47:59Z", "updated_at": "2024-01-19T21:47:59Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_36f55620f94d43c497f48dae4feb0568", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_695428f4b71411eeba25ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:47:58+00:00", "updated_at": "2024-01-19T21:47:58+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_6956ddbcb71411eeba26ac1f6bc539aa", "object": "Address", "created_at": - "2024-01-19T21:47:58+00:00", "updated_at": "2024-01-19T21:47:58+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_695428f4b71411eeba25ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:47:58+00:00", "updated_at": - "2024-01-19T21:47:58+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_36f55620f94d43c497f48dae4feb0568", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_36f55620f94d43c497f48dae4feb0568 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdab65aaee0ee78bb02b001146ae - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.704983' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"rate": {"id": "rate_0d875b2671094294b3d598fd56da07db"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '57' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments/shp_36f55620f94d43c497f48dae4feb0568/buy - response: - body: - string: '{"created_at": "2024-01-19T21:47:59Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9434600207552010708609", "updated_at": "2024-01-19T21:48:00Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_51457cd309d242ba9cccccb5bea2ca35", "object": "CustomsInfo", "created_at": - "2024-01-19T21:47:58Z", "updated_at": "2024-01-19T21:47:58Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_52a09917b5e745328b9cffe7f0119609", - "object": "CustomsItem", "created_at": "2024-01-19T21:47:58Z", "updated_at": - "2024-01-19T21:47:58Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_6956ddbcb71411eeba26ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:47:58+00:00", "updated_at": - "2024-01-19T21:47:58+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_c101796321eb49e0b916208380fb96d0", - "object": "Parcel", "created_at": "2024-01-19T21:47:58Z", "updated_at": "2024-01-19T21:47:58Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_532b4e2cdedb4e71b7669cca58f40af5", "created_at": "2024-01-19T21:48:00Z", - "updated_at": "2024-01-19T21:48:00Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:48:00Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e805c66431cc22487fbb5a4dc1cd85b2c7.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_62a57f576a3441fb83474d9310c7149e", "object": - "Rate", "created_at": "2024-01-19T21:47:59Z", "updated_at": "2024-01-19T21:47:59Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_36f55620f94d43c497f48dae4feb0568", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4a5eb4e72cc844779daddcafb6f9ae65", - "object": "Rate", "created_at": "2024-01-19T21:47:59Z", "updated_at": "2024-01-19T21:47:59Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_36f55620f94d43c497f48dae4feb0568", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_0d875b2671094294b3d598fd56da07db", - "object": "Rate", "created_at": "2024-01-19T21:47:59Z", "updated_at": "2024-01-19T21:47:59Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_36f55620f94d43c497f48dae4feb0568", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_424d9c14b7714467aa0b07384953c7a5", - "object": "Rate", "created_at": "2024-01-19T21:47:59Z", "updated_at": "2024-01-19T21:47:59Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_36f55620f94d43c497f48dae4feb0568", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_97a17be402514ed8bd3c8a5fbd10a877", "object": "Rate", "created_at": - "2024-01-19T21:47:59Z", "updated_at": "2024-01-19T21:47:59Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_36f55620f94d43c497f48dae4feb0568", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_0d875b2671094294b3d598fd56da07db", - "object": "Rate", "created_at": "2024-01-19T21:48:00Z", "updated_at": "2024-01-19T21:48:00Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_36f55620f94d43c497f48dae4feb0568", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_3788865bfc424dca8195ebef5be99362", - "object": "Tracker", "mode": "test", "tracking_code": "9434600207552010708609", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:48:00Z", - "updated_at": "2024-01-19T21:48:00Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_36f55620f94d43c497f48dae4feb0568", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzM3ODg4NjViZmM0MjRkY2E4MTk1ZWJlZjViZTk5MzYy"}, - "to_address": {"id": "adr_695428f4b71411eeba25ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T21:47:58+00:00", "updated_at": "2024-01-19T21:48:00+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_6956ddbcb71411eeba26ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:47:58+00:00", "updated_at": - "2024-01-19T21:47:58+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_695428f4b71411eeba25ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:47:58+00:00", "updated_at": "2024-01-19T21:48:00+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "6.79000", "charged": true, "refunded": false}], "id": "shp_36f55620f94d43c497f48dae4feb0568", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '9345' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdae65aaee0fe78bb02c00114732 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.796463' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/shipments/shp_36f55620f94d43c497f48dae4feb0568/label?file_format=ZPL - response: - body: - string: '{"created_at": "2024-01-19T21:47:59Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9434600207552010708609", "updated_at": "2024-01-19T21:48:00Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_51457cd309d242ba9cccccb5bea2ca35", "object": "CustomsInfo", "created_at": - "2024-01-19T21:47:58Z", "updated_at": "2024-01-19T21:47:58Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_52a09917b5e745328b9cffe7f0119609", - "object": "CustomsItem", "created_at": "2024-01-19T21:47:58Z", "updated_at": - "2024-01-19T21:47:58Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_6956ddbcb71411eeba26ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:47:58+00:00", "updated_at": - "2024-01-19T21:47:58+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_c101796321eb49e0b916208380fb96d0", - "object": "Parcel", "created_at": "2024-01-19T21:47:58Z", "updated_at": "2024-01-19T21:47:58Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_532b4e2cdedb4e71b7669cca58f40af5", "created_at": "2024-01-19T21:48:00Z", - "updated_at": "2024-01-19T21:48:02Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:48:00Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e805c66431cc22487fbb5a4dc1cd85b2c7.png", - "label_pdf_url": null, "label_zpl_url": "https://easypost-files.s3-us-west-2.amazonaws.com/files/postage_label/20240119/8c601d6ad6394dbebb10e17b89f5c929.zpl", - "label_epl2_url": null, "label_file": null}, "rates": [{"id": "rate_62a57f576a3441fb83474d9310c7149e", - "object": "Rate", "created_at": "2024-01-19T21:47:59Z", "updated_at": "2024-01-19T21:47:59Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_36f55620f94d43c497f48dae4feb0568", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4a5eb4e72cc844779daddcafb6f9ae65", - "object": "Rate", "created_at": "2024-01-19T21:47:59Z", "updated_at": "2024-01-19T21:47:59Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_36f55620f94d43c497f48dae4feb0568", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_0d875b2671094294b3d598fd56da07db", - "object": "Rate", "created_at": "2024-01-19T21:47:59Z", "updated_at": "2024-01-19T21:47:59Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_36f55620f94d43c497f48dae4feb0568", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_424d9c14b7714467aa0b07384953c7a5", - "object": "Rate", "created_at": "2024-01-19T21:47:59Z", "updated_at": "2024-01-19T21:47:59Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_36f55620f94d43c497f48dae4feb0568", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_97a17be402514ed8bd3c8a5fbd10a877", "object": "Rate", "created_at": - "2024-01-19T21:47:59Z", "updated_at": "2024-01-19T21:47:59Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_36f55620f94d43c497f48dae4feb0568", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_0d875b2671094294b3d598fd56da07db", - "object": "Rate", "created_at": "2024-01-19T21:48:00Z", "updated_at": "2024-01-19T21:48:00Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_36f55620f94d43c497f48dae4feb0568", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_3788865bfc424dca8195ebef5be99362", - "object": "Tracker", "mode": "test", "tracking_code": "9434600207552010708609", - "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:48:00Z", - "updated_at": "2024-01-19T21:48:00Z", "signed_by": null, "weight": null, "est_delivery_date": - "2024-01-19T21:48:00Z", "shipment_id": "shp_36f55620f94d43c497f48dae4feb0568", - "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": - "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-19T21:48:00Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", - "message": "Shipping Label Created", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-20T10:25:00Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": - null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": - null}, "public_url": "https://track.easypost.com/djE6dHJrXzM3ODg4NjViZmM0MjRkY2E4MTk1ZWJlZjViZTk5MzYy"}, - "to_address": {"id": "adr_695428f4b71411eeba25ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T21:47:58+00:00", "updated_at": "2024-01-19T21:48:00+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_6956ddbcb71411eeba26ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:47:58+00:00", "updated_at": - "2024-01-19T21:47:58+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_695428f4b71411eeba25ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:47:58+00:00", "updated_at": "2024-01-19T21:48:00+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "6.79000", "charged": true, "refunded": false}], "id": "shp_36f55620f94d43c497f48dae4feb0568", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '10588' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda965aaee11e78bb02d001147ee - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '1.559497' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '885' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:49:54Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T21:49:55Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_9d09a8b825bc4b88831e5a7b865744ac", - "object": "CustomsInfo", "created_at": "2024-01-19T21:49:54Z", "updated_at": - "2024-01-19T21:49:54Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_68ac83026b0e4b1eb523d445532dedbe", "object": "CustomsItem", - "created_at": "2024-01-19T21:49:54Z", "updated_at": "2024-01-19T21:49:54Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_ae433ccbb71411eebe6b3cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:49:54+00:00", "updated_at": "2024-01-19T21:49:54+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_0b3f354068bf4f358e852f68004a1936", "object": "Parcel", "created_at": - "2024-01-19T21:49:54Z", "updated_at": "2024-01-19T21:49:54Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_a0fde4cb08714e3aa6eb59a1f925dabf", - "object": "Rate", "created_at": "2024-01-19T21:49:55Z", "updated_at": "2024-01-19T21:49:55Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_163f9566814e4cd29bcc5aeca6abae4b", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_0a49953210c2412a8265ea78de0ddd94", - "object": "Rate", "created_at": "2024-01-19T21:49:55Z", "updated_at": "2024-01-19T21:49:55Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_163f9566814e4cd29bcc5aeca6abae4b", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_336f3e663ad94de686fd756e87296733", - "object": "Rate", "created_at": "2024-01-19T21:49:55Z", "updated_at": "2024-01-19T21:49:55Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_163f9566814e4cd29bcc5aeca6abae4b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_d32a7627e2c3428b8223c04d793cc914", "object": "Rate", "created_at": - "2024-01-19T21:49:55Z", "updated_at": "2024-01-19T21:49:55Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_163f9566814e4cd29bcc5aeca6abae4b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_da7c4a3ea9b540f5b1582136fe7fdd32", "object": "Rate", "created_at": - "2024-01-19T21:49:55Z", "updated_at": "2024-01-19T21:49:55Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_163f9566814e4cd29bcc5aeca6abae4b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_ae408a0db71411ee8186ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:49:54+00:00", "updated_at": "2024-01-19T21:49:54+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_ae433ccbb71411eebe6b3cecef1b359e", "object": "Address", "created_at": - "2024-01-19T21:49:54+00:00", "updated_at": "2024-01-19T21:49:54+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_ae408a0db71411ee8186ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:49:54+00:00", "updated_at": - "2024-01-19T21:49:54+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_163f9566814e4cd29bcc5aeca6abae4b", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_163f9566814e4cd29bcc5aeca6abae4b - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda965aaee82e78bb8650011890b - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.721629' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"rate": {"id": "rate_0a49953210c2412a8265ea78de0ddd94"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '57' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments/shp_163f9566814e4cd29bcc5aeca6abae4b/buy - response: - body: - string: '{"created_at": "2024-01-19T21:49:54Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9434600207552010709194", "updated_at": "2024-01-19T21:49:56Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_9d09a8b825bc4b88831e5a7b865744ac", "object": "CustomsInfo", "created_at": - "2024-01-19T21:49:54Z", "updated_at": "2024-01-19T21:49:54Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_68ac83026b0e4b1eb523d445532dedbe", - "object": "CustomsItem", "created_at": "2024-01-19T21:49:54Z", "updated_at": - "2024-01-19T21:49:54Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_ae433ccbb71411eebe6b3cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:49:54+00:00", "updated_at": - "2024-01-19T21:49:54+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_0b3f354068bf4f358e852f68004a1936", - "object": "Parcel", "created_at": "2024-01-19T21:49:54Z", "updated_at": "2024-01-19T21:49:54Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_5c2cacbeae494ef7a4d375b8cc397e5a", "created_at": "2024-01-19T21:49:56Z", - "updated_at": "2024-01-19T21:49:56Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:49:56Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e82f0c8a15803645e5872211c00bd7c4ae.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_a0fde4cb08714e3aa6eb59a1f925dabf", "object": - "Rate", "created_at": "2024-01-19T21:49:55Z", "updated_at": "2024-01-19T21:49:55Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_163f9566814e4cd29bcc5aeca6abae4b", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_0a49953210c2412a8265ea78de0ddd94", - "object": "Rate", "created_at": "2024-01-19T21:49:55Z", "updated_at": "2024-01-19T21:49:55Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_163f9566814e4cd29bcc5aeca6abae4b", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_336f3e663ad94de686fd756e87296733", - "object": "Rate", "created_at": "2024-01-19T21:49:55Z", "updated_at": "2024-01-19T21:49:55Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_163f9566814e4cd29bcc5aeca6abae4b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_d32a7627e2c3428b8223c04d793cc914", "object": "Rate", "created_at": - "2024-01-19T21:49:55Z", "updated_at": "2024-01-19T21:49:55Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_163f9566814e4cd29bcc5aeca6abae4b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_da7c4a3ea9b540f5b1582136fe7fdd32", "object": "Rate", "created_at": - "2024-01-19T21:49:55Z", "updated_at": "2024-01-19T21:49:55Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_163f9566814e4cd29bcc5aeca6abae4b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_0a49953210c2412a8265ea78de0ddd94", - "object": "Rate", "created_at": "2024-01-19T21:49:56Z", "updated_at": "2024-01-19T21:49:56Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_163f9566814e4cd29bcc5aeca6abae4b", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_d7fd8e78092d469b94dde609f9ce8843", - "object": "Tracker", "mode": "test", "tracking_code": "9434600207552010709194", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:49:56Z", - "updated_at": "2024-01-19T21:49:56Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_163f9566814e4cd29bcc5aeca6abae4b", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrX2Q3ZmQ4ZTc4MDkyZDQ2OWI5NGRkZTYwOWY5Y2U4ODQz"}, - "to_address": {"id": "adr_ae408a0db71411ee8186ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:49:54+00:00", "updated_at": "2024-01-19T21:49:55+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_ae433ccbb71411eebe6b3cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:49:54+00:00", "updated_at": - "2024-01-19T21:49:54+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_ae408a0db71411ee8186ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:49:54+00:00", "updated_at": "2024-01-19T21:49:55+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "6.79000", "charged": true, "refunded": false}], "id": "shp_163f9566814e4cd29bcc5aeca6abae4b", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '9345' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdae65aaee83e78bb866001189ae - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '1.102809' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/shipments/shp_163f9566814e4cd29bcc5aeca6abae4b/label?file_format=ZPL - response: - body: - string: '{"created_at": "2024-01-19T21:49:54Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9434600207552010709194", "updated_at": "2024-01-19T21:49:56Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_9d09a8b825bc4b88831e5a7b865744ac", "object": "CustomsInfo", "created_at": - "2024-01-19T21:49:54Z", "updated_at": "2024-01-19T21:49:54Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_68ac83026b0e4b1eb523d445532dedbe", - "object": "CustomsItem", "created_at": "2024-01-19T21:49:54Z", "updated_at": - "2024-01-19T21:49:54Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_ae433ccbb71411eebe6b3cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:49:54+00:00", "updated_at": - "2024-01-19T21:49:54+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_0b3f354068bf4f358e852f68004a1936", - "object": "Parcel", "created_at": "2024-01-19T21:49:54Z", "updated_at": "2024-01-19T21:49:54Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_5c2cacbeae494ef7a4d375b8cc397e5a", "created_at": "2024-01-19T21:49:56Z", - "updated_at": "2024-01-19T21:49:58Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:49:56Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e82f0c8a15803645e5872211c00bd7c4ae.png", - "label_pdf_url": null, "label_zpl_url": "https://easypost-files.s3-us-west-2.amazonaws.com/files/postage_label/20240119/d2bfdf7dcb67486e80a90a82406d3fda.zpl", - "label_epl2_url": null, "label_file": null}, "rates": [{"id": "rate_a0fde4cb08714e3aa6eb59a1f925dabf", - "object": "Rate", "created_at": "2024-01-19T21:49:55Z", "updated_at": "2024-01-19T21:49:55Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_163f9566814e4cd29bcc5aeca6abae4b", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_0a49953210c2412a8265ea78de0ddd94", - "object": "Rate", "created_at": "2024-01-19T21:49:55Z", "updated_at": "2024-01-19T21:49:55Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_163f9566814e4cd29bcc5aeca6abae4b", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_336f3e663ad94de686fd756e87296733", - "object": "Rate", "created_at": "2024-01-19T21:49:55Z", "updated_at": "2024-01-19T21:49:55Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_163f9566814e4cd29bcc5aeca6abae4b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_d32a7627e2c3428b8223c04d793cc914", "object": "Rate", "created_at": - "2024-01-19T21:49:55Z", "updated_at": "2024-01-19T21:49:55Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_163f9566814e4cd29bcc5aeca6abae4b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_da7c4a3ea9b540f5b1582136fe7fdd32", "object": "Rate", "created_at": - "2024-01-19T21:49:55Z", "updated_at": "2024-01-19T21:49:55Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_163f9566814e4cd29bcc5aeca6abae4b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_0a49953210c2412a8265ea78de0ddd94", - "object": "Rate", "created_at": "2024-01-19T21:49:56Z", "updated_at": "2024-01-19T21:49:56Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_163f9566814e4cd29bcc5aeca6abae4b", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_d7fd8e78092d469b94dde609f9ce8843", - "object": "Tracker", "mode": "test", "tracking_code": "9434600207552010709194", - "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:49:56Z", - "updated_at": "2024-01-19T21:49:56Z", "signed_by": null, "weight": null, "est_delivery_date": - "2024-01-19T21:49:56Z", "shipment_id": "shp_163f9566814e4cd29bcc5aeca6abae4b", - "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": - "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-19T21:49:56Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", - "message": "Shipping Label Created", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-20T10:26:56Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": - null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": - null}, "public_url": "https://track.easypost.com/djE6dHJrX2Q3ZmQ4ZTc4MDkyZDQ2OWI5NGRkZTYwOWY5Y2U4ODQz"}, - "to_address": {"id": "adr_ae408a0db71411ee8186ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:49:54+00:00", "updated_at": "2024-01-19T21:49:55+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_ae433ccbb71411eebe6b3cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:49:54+00:00", "updated_at": - "2024-01-19T21:49:54+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_ae408a0db71411ee8186ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:49:54+00:00", "updated_at": "2024-01-19T21:49:55+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "6.79000", "charged": true, "refunded": false}], "id": "shp_163f9566814e4cd29bcc5aeca6abae4b", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '10588' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda865aaee84e78bb86700118a6c - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '1.404300' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '885' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:59:13Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T21:59:14Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_8a4e78764cdf4626a1465b59b33ff1c1", - "object": "CustomsInfo", "created_at": "2024-01-19T21:59:13Z", "updated_at": - "2024-01-19T21:59:13Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_cee0da71f65b421088f23f9ccfbadbdc", "object": "CustomsItem", - "created_at": "2024-01-19T21:59:13Z", "updated_at": "2024-01-19T21:59:13Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_fb415002b71511eeaed4ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:59:13+00:00", "updated_at": "2024-01-19T21:59:13+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_626094666aa64add849e925e62660826", "object": "Parcel", "created_at": - "2024-01-19T21:59:13Z", "updated_at": "2024-01-19T21:59:13Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_b893c5b54da04f849ce2187aad84133e", - "object": "Rate", "created_at": "2024-01-19T21:59:14Z", "updated_at": "2024-01-19T21:59:14Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_6d1f4f13918642309c628a20b812146f", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4850f2884ded4d4e8d8450f11d22cb7e", - "object": "Rate", "created_at": "2024-01-19T21:59:14Z", "updated_at": "2024-01-19T21:59:14Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_6d1f4f13918642309c628a20b812146f", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4bf81a6c617f48648bfa4af4b3c70b07", - "object": "Rate", "created_at": "2024-01-19T21:59:14Z", "updated_at": "2024-01-19T21:59:14Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_6d1f4f13918642309c628a20b812146f", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_04848035b9fe471190c921b29943204b", - "object": "Rate", "created_at": "2024-01-19T21:59:14Z", "updated_at": "2024-01-19T21:59:14Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_6d1f4f13918642309c628a20b812146f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_5e268f86b8c048d7806d5ca66aa12b0f", "object": "Rate", "created_at": - "2024-01-19T21:59:14Z", "updated_at": "2024-01-19T21:59:14Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_6d1f4f13918642309c628a20b812146f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_fb3e82f1b71511eeaed2ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:59:13+00:00", "updated_at": "2024-01-19T21:59:13+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_fb415002b71511eeaed4ac1f6bc53342", "object": "Address", "created_at": - "2024-01-19T21:59:13+00:00", "updated_at": "2024-01-19T21:59:13+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_fb3e82f1b71511eeaed2ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:59:13+00:00", "updated_at": - "2024-01-19T21:59:13+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_6d1f4f13918642309c628a20b812146f", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_6d1f4f13918642309c628a20b812146f - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaf0b1e798bffb000f8c0e - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.889082' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"rate": {"id": "rate_4bf81a6c617f48648bfa4af4b3c70b07"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '57' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments/shp_6d1f4f13918642309c628a20b812146f/buy - response: - body: - string: '{"created_at": "2024-01-19T21:59:13Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9434600207552010711593", "updated_at": "2024-01-19T21:59:15Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_8a4e78764cdf4626a1465b59b33ff1c1", "object": "CustomsInfo", "created_at": - "2024-01-19T21:59:13Z", "updated_at": "2024-01-19T21:59:13Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_cee0da71f65b421088f23f9ccfbadbdc", - "object": "CustomsItem", "created_at": "2024-01-19T21:59:13Z", "updated_at": - "2024-01-19T21:59:13Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_fb415002b71511eeaed4ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:59:13+00:00", "updated_at": - "2024-01-19T21:59:13+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_626094666aa64add849e925e62660826", - "object": "Parcel", "created_at": "2024-01-19T21:59:13Z", "updated_at": "2024-01-19T21:59:13Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_126e6e9cf1284953b6806e3fd5956145", "created_at": "2024-01-19T21:59:15Z", - "updated_at": "2024-01-19T21:59:15Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:59:15Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e88cd7f65a11d64552892b8aa943390c48.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_b893c5b54da04f849ce2187aad84133e", "object": - "Rate", "created_at": "2024-01-19T21:59:14Z", "updated_at": "2024-01-19T21:59:14Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_6d1f4f13918642309c628a20b812146f", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4850f2884ded4d4e8d8450f11d22cb7e", - "object": "Rate", "created_at": "2024-01-19T21:59:14Z", "updated_at": "2024-01-19T21:59:14Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_6d1f4f13918642309c628a20b812146f", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4bf81a6c617f48648bfa4af4b3c70b07", - "object": "Rate", "created_at": "2024-01-19T21:59:14Z", "updated_at": "2024-01-19T21:59:14Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_6d1f4f13918642309c628a20b812146f", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_04848035b9fe471190c921b29943204b", - "object": "Rate", "created_at": "2024-01-19T21:59:14Z", "updated_at": "2024-01-19T21:59:14Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_6d1f4f13918642309c628a20b812146f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_5e268f86b8c048d7806d5ca66aa12b0f", "object": "Rate", "created_at": - "2024-01-19T21:59:14Z", "updated_at": "2024-01-19T21:59:14Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_6d1f4f13918642309c628a20b812146f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_4bf81a6c617f48648bfa4af4b3c70b07", - "object": "Rate", "created_at": "2024-01-19T21:59:15Z", "updated_at": "2024-01-19T21:59:15Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_6d1f4f13918642309c628a20b812146f", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_7d941abc35a1450dab2efd6ecc05975f", - "object": "Tracker", "mode": "test", "tracking_code": "9434600207552010711593", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:59:15Z", - "updated_at": "2024-01-19T21:59:15Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_6d1f4f13918642309c628a20b812146f", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzdkOTQxYWJjMzVhMTQ1MGRhYjJlZmQ2ZWNjMDU5NzVm"}, - "to_address": {"id": "adr_fb3e82f1b71511eeaed2ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:59:13+00:00", "updated_at": "2024-01-19T21:59:14+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_fb415002b71511eeaed4ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:59:13+00:00", "updated_at": - "2024-01-19T21:59:13+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_fb3e82f1b71511eeaed2ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:59:13+00:00", "updated_at": "2024-01-19T21:59:14+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "6.79000", "charged": true, "refunded": false}], "id": "shp_6d1f4f13918642309c628a20b812146f", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '9345' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaf0b2e798bffc000f8ce9 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.338397' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/shipments/shp_6d1f4f13918642309c628a20b812146f/label?file_format=ZPL - response: - body: - string: '{"created_at": "2024-01-19T21:59:13Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9434600207552010711593", "updated_at": "2024-01-19T21:59:15Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_8a4e78764cdf4626a1465b59b33ff1c1", "object": "CustomsInfo", "created_at": - "2024-01-19T21:59:13Z", "updated_at": "2024-01-19T21:59:13Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_cee0da71f65b421088f23f9ccfbadbdc", - "object": "CustomsItem", "created_at": "2024-01-19T21:59:13Z", "updated_at": - "2024-01-19T21:59:13Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_fb415002b71511eeaed4ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:59:13+00:00", "updated_at": - "2024-01-19T21:59:13+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_626094666aa64add849e925e62660826", - "object": "Parcel", "created_at": "2024-01-19T21:59:13Z", "updated_at": "2024-01-19T21:59:13Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_126e6e9cf1284953b6806e3fd5956145", "created_at": "2024-01-19T21:59:15Z", - "updated_at": "2024-01-19T21:59:17Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:59:15Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e88cd7f65a11d64552892b8aa943390c48.png", - "label_pdf_url": null, "label_zpl_url": "https://easypost-files.s3-us-west-2.amazonaws.com/files/postage_label/20240119/a0ebec2ec4464ed2ada0ec26d70b8977.zpl", - "label_epl2_url": null, "label_file": null}, "rates": [{"id": "rate_b893c5b54da04f849ce2187aad84133e", - "object": "Rate", "created_at": "2024-01-19T21:59:14Z", "updated_at": "2024-01-19T21:59:14Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_6d1f4f13918642309c628a20b812146f", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4850f2884ded4d4e8d8450f11d22cb7e", - "object": "Rate", "created_at": "2024-01-19T21:59:14Z", "updated_at": "2024-01-19T21:59:14Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_6d1f4f13918642309c628a20b812146f", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4bf81a6c617f48648bfa4af4b3c70b07", - "object": "Rate", "created_at": "2024-01-19T21:59:14Z", "updated_at": "2024-01-19T21:59:14Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_6d1f4f13918642309c628a20b812146f", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_04848035b9fe471190c921b29943204b", - "object": "Rate", "created_at": "2024-01-19T21:59:14Z", "updated_at": "2024-01-19T21:59:14Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_6d1f4f13918642309c628a20b812146f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_5e268f86b8c048d7806d5ca66aa12b0f", "object": "Rate", "created_at": - "2024-01-19T21:59:14Z", "updated_at": "2024-01-19T21:59:14Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_6d1f4f13918642309c628a20b812146f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_4bf81a6c617f48648bfa4af4b3c70b07", - "object": "Rate", "created_at": "2024-01-19T21:59:15Z", "updated_at": "2024-01-19T21:59:15Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_6d1f4f13918642309c628a20b812146f", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_7d941abc35a1450dab2efd6ecc05975f", - "object": "Tracker", "mode": "test", "tracking_code": "9434600207552010711593", - "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:59:15Z", - "updated_at": "2024-01-19T21:59:15Z", "signed_by": null, "weight": null, "est_delivery_date": - "2024-01-19T21:59:15Z", "shipment_id": "shp_6d1f4f13918642309c628a20b812146f", - "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": - "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-19T21:59:15Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", - "message": "Shipping Label Created", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-20T10:36:15Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": - null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": - null}, "public_url": "https://track.easypost.com/djE6dHJrXzdkOTQxYWJjMzVhMTQ1MGRhYjJlZmQ2ZWNjMDU5NzVm"}, - "to_address": {"id": "adr_fb3e82f1b71511eeaed2ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:59:13+00:00", "updated_at": "2024-01-19T21:59:14+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_fb415002b71511eeaed4ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:59:13+00:00", "updated_at": - "2024-01-19T21:59:13+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_fb3e82f1b71511eeaed2ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:59:13+00:00", "updated_at": "2024-01-19T21:59:14+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "6.79000", "charged": true, "refunded": false}], "id": "shp_6d1f4f13918642309c628a20b812146f", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '10588' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaf0b4e798bffd000f8e0d - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.390275' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '885' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T22:02:09Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T22:02:09Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_4f84d6d9d61b4d96a24bdd60d696838c", - "object": "CustomsInfo", "created_at": "2024-01-19T22:02:08Z", "updated_at": - "2024-01-19T22:02:08Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_2345dda3eae6451ea0f95f94aca0656d", "object": "CustomsItem", - "created_at": "2024-01-19T22:02:08Z", "updated_at": "2024-01-19T22:02:08Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_63f95570b71611ee90b8ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T22:02:08+00:00", "updated_at": "2024-01-19T22:02:08+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_edde694dd39045a7abdc5316cd012022", "object": "Parcel", "created_at": - "2024-01-19T22:02:08Z", "updated_at": "2024-01-19T22:02:08Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_e1ce78e8c6214944a1e46b6e61b829e7", - "object": "Rate", "created_at": "2024-01-19T22:02:09Z", "updated_at": "2024-01-19T22:02:09Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_74a9adcfe9ad4cd7ab8e659e05c074fc", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_41a05bf0dd2d4888b9eb94bf20d96fd3", - "object": "Rate", "created_at": "2024-01-19T22:02:09Z", "updated_at": "2024-01-19T22:02:09Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_74a9adcfe9ad4cd7ab8e659e05c074fc", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_5f3982dcd2474cceaef3485c940bdc15", - "object": "Rate", "created_at": "2024-01-19T22:02:09Z", "updated_at": "2024-01-19T22:02:09Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_74a9adcfe9ad4cd7ab8e659e05c074fc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_3eed4bc1b64b42049be5cef586491e00", "object": "Rate", "created_at": - "2024-01-19T22:02:09Z", "updated_at": "2024-01-19T22:02:09Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_74a9adcfe9ad4cd7ab8e659e05c074fc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_a0e48ef421374b2d86999cf0d3158476", "object": "Rate", "created_at": - "2024-01-19T22:02:09Z", "updated_at": "2024-01-19T22:02:09Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_74a9adcfe9ad4cd7ab8e659e05c074fc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_63f666d5b71611ee8e903cecef1b359e", "object": - "Address", "created_at": "2024-01-19T22:02:08+00:00", "updated_at": "2024-01-19T22:02:08+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_63f95570b71611ee90b8ac1f6bc53342", "object": "Address", "created_at": - "2024-01-19T22:02:08+00:00", "updated_at": "2024-01-19T22:02:08+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_63f666d5b71611ee8e903cecef1b359e", - "object": "Address", "created_at": "2024-01-19T22:02:08+00:00", "updated_at": - "2024-01-19T22:02:08+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_74a9adcfe9ad4cd7ab8e659e05c074fc", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_74a9adcfe9ad4cd7ab8e659e05c074fc - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaf160e798c862001029ab - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.054017' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"rate": {"id": "rate_41a05bf0dd2d4888b9eb94bf20d96fd3"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '57' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments/shp_74a9adcfe9ad4cd7ab8e659e05c074fc/buy - response: - body: - string: '{"created_at": "2024-01-19T22:02:09Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9434600207552010711999", "updated_at": "2024-01-19T22:02:10Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_4f84d6d9d61b4d96a24bdd60d696838c", "object": "CustomsInfo", "created_at": - "2024-01-19T22:02:08Z", "updated_at": "2024-01-19T22:02:08Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_2345dda3eae6451ea0f95f94aca0656d", - "object": "CustomsItem", "created_at": "2024-01-19T22:02:08Z", "updated_at": - "2024-01-19T22:02:08Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_63f95570b71611ee90b8ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:02:08+00:00", "updated_at": - "2024-01-19T22:02:08+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_edde694dd39045a7abdc5316cd012022", - "object": "Parcel", "created_at": "2024-01-19T22:02:08Z", "updated_at": "2024-01-19T22:02:08Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_5c30bb64d9bc4862954484006f29b7fd", "created_at": "2024-01-19T22:02:10Z", - "updated_at": "2024-01-19T22:02:10Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T22:02:10Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e84070464b05f7474daf8a3113e0160a2d.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_e1ce78e8c6214944a1e46b6e61b829e7", "object": - "Rate", "created_at": "2024-01-19T22:02:09Z", "updated_at": "2024-01-19T22:02:09Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_74a9adcfe9ad4cd7ab8e659e05c074fc", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_41a05bf0dd2d4888b9eb94bf20d96fd3", - "object": "Rate", "created_at": "2024-01-19T22:02:09Z", "updated_at": "2024-01-19T22:02:09Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_74a9adcfe9ad4cd7ab8e659e05c074fc", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_5f3982dcd2474cceaef3485c940bdc15", - "object": "Rate", "created_at": "2024-01-19T22:02:09Z", "updated_at": "2024-01-19T22:02:09Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_74a9adcfe9ad4cd7ab8e659e05c074fc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_3eed4bc1b64b42049be5cef586491e00", "object": "Rate", "created_at": - "2024-01-19T22:02:09Z", "updated_at": "2024-01-19T22:02:09Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_74a9adcfe9ad4cd7ab8e659e05c074fc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_a0e48ef421374b2d86999cf0d3158476", "object": "Rate", "created_at": - "2024-01-19T22:02:09Z", "updated_at": "2024-01-19T22:02:09Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_74a9adcfe9ad4cd7ab8e659e05c074fc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_41a05bf0dd2d4888b9eb94bf20d96fd3", - "object": "Rate", "created_at": "2024-01-19T22:02:10Z", "updated_at": "2024-01-19T22:02:10Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_74a9adcfe9ad4cd7ab8e659e05c074fc", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_71877b0565c1453bb94888c106404bf9", - "object": "Tracker", "mode": "test", "tracking_code": "9434600207552010711999", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:02:11Z", - "updated_at": "2024-01-19T22:02:11Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_74a9adcfe9ad4cd7ab8e659e05c074fc", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzcxODc3YjA1NjVjMTQ1M2JiOTQ4ODhjMTA2NDA0YmY5"}, - "to_address": {"id": "adr_63f666d5b71611ee8e903cecef1b359e", "object": "Address", - "created_at": "2024-01-19T22:02:08+00:00", "updated_at": "2024-01-19T22:02:10+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_63f95570b71611ee90b8ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:02:08+00:00", "updated_at": - "2024-01-19T22:02:08+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_63f666d5b71611ee8e903cecef1b359e", "object": - "Address", "created_at": "2024-01-19T22:02:08+00:00", "updated_at": "2024-01-19T22:02:10+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "6.79000", "charged": true, "refunded": false}], "id": "shp_74a9adcfe9ad4cd7ab8e659e05c074fc", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '9345' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf162e798c86300102ae5 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.878085' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/shipments/shp_74a9adcfe9ad4cd7ab8e659e05c074fc/label?file_format=ZPL - response: - body: - string: '{"created_at": "2024-01-19T22:02:09Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9434600207552010711999", "updated_at": "2024-01-19T22:02:10Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_4f84d6d9d61b4d96a24bdd60d696838c", "object": "CustomsInfo", "created_at": - "2024-01-19T22:02:08Z", "updated_at": "2024-01-19T22:02:08Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_2345dda3eae6451ea0f95f94aca0656d", - "object": "CustomsItem", "created_at": "2024-01-19T22:02:08Z", "updated_at": - "2024-01-19T22:02:08Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_63f95570b71611ee90b8ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:02:08+00:00", "updated_at": - "2024-01-19T22:02:08+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_edde694dd39045a7abdc5316cd012022", - "object": "Parcel", "created_at": "2024-01-19T22:02:08Z", "updated_at": "2024-01-19T22:02:08Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_5c30bb64d9bc4862954484006f29b7fd", "created_at": "2024-01-19T22:02:10Z", - "updated_at": "2024-01-19T22:02:12Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T22:02:10Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e84070464b05f7474daf8a3113e0160a2d.png", - "label_pdf_url": null, "label_zpl_url": "https://easypost-files.s3-us-west-2.amazonaws.com/files/postage_label/20240119/0943e428b48f4aa48471d5e28a103665.zpl", - "label_epl2_url": null, "label_file": null}, "rates": [{"id": "rate_e1ce78e8c6214944a1e46b6e61b829e7", - "object": "Rate", "created_at": "2024-01-19T22:02:09Z", "updated_at": "2024-01-19T22:02:09Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_74a9adcfe9ad4cd7ab8e659e05c074fc", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_41a05bf0dd2d4888b9eb94bf20d96fd3", - "object": "Rate", "created_at": "2024-01-19T22:02:09Z", "updated_at": "2024-01-19T22:02:09Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_74a9adcfe9ad4cd7ab8e659e05c074fc", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_5f3982dcd2474cceaef3485c940bdc15", - "object": "Rate", "created_at": "2024-01-19T22:02:09Z", "updated_at": "2024-01-19T22:02:09Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_74a9adcfe9ad4cd7ab8e659e05c074fc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_3eed4bc1b64b42049be5cef586491e00", "object": "Rate", "created_at": - "2024-01-19T22:02:09Z", "updated_at": "2024-01-19T22:02:09Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_74a9adcfe9ad4cd7ab8e659e05c074fc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_a0e48ef421374b2d86999cf0d3158476", "object": "Rate", "created_at": - "2024-01-19T22:02:09Z", "updated_at": "2024-01-19T22:02:09Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_74a9adcfe9ad4cd7ab8e659e05c074fc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_41a05bf0dd2d4888b9eb94bf20d96fd3", - "object": "Rate", "created_at": "2024-01-19T22:02:10Z", "updated_at": "2024-01-19T22:02:10Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_74a9adcfe9ad4cd7ab8e659e05c074fc", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_71877b0565c1453bb94888c106404bf9", - "object": "Tracker", "mode": "test", "tracking_code": "9434600207552010711999", - "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T22:02:11Z", - "updated_at": "2024-01-19T22:02:11Z", "signed_by": null, "weight": null, "est_delivery_date": - "2024-01-19T22:02:11Z", "shipment_id": "shp_74a9adcfe9ad4cd7ab8e659e05c074fc", - "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": - "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-19T22:02:11Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", - "message": "Shipping Label Created", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-20T10:39:11Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": - null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": - null}, "public_url": "https://track.easypost.com/djE6dHJrXzcxODc3YjA1NjVjMTQ1M2JiOTQ4ODhjMTA2NDA0YmY5"}, - "to_address": {"id": "adr_63f666d5b71611ee8e903cecef1b359e", "object": "Address", - "created_at": "2024-01-19T22:02:08+00:00", "updated_at": "2024-01-19T22:02:10+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_63f95570b71611ee90b8ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:02:08+00:00", "updated_at": - "2024-01-19T22:02:08+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_63f666d5b71611ee8e903cecef1b359e", "object": - "Address", "created_at": "2024-01-19T22:02:08+00:00", "updated_at": "2024-01-19T22:02:10+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "6.79000", "charged": true, "refunded": false}], "id": "shp_74a9adcfe9ad4cd7ab8e659e05c074fc", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '10588' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaf163e798c87b00102bd9 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.450609' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '885' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T22:05:57Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T22:05:58Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_39dbd393b32543fcbba62faa72e55a56", - "object": "CustomsInfo", "created_at": "2024-01-19T22:05:57Z", "updated_at": - "2024-01-19T22:05:57Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_a2c2159bb7eb41be9d63e253c392e9e5", "object": "CustomsItem", - "created_at": "2024-01-19T22:05:57Z", "updated_at": "2024-01-19T22:05:57Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_ec36c06fb71611eebc1e3cecef1b359e", "object": - "Address", "created_at": "2024-01-19T22:05:57+00:00", "updated_at": "2024-01-19T22:05:57+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_2ce2d6496bef4db0afa31d37a3ba2dc8", "object": "Parcel", "created_at": - "2024-01-19T22:05:57Z", "updated_at": "2024-01-19T22:05:57Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_78f64fcde43f4e099dea270b8e8030ab", - "object": "Rate", "created_at": "2024-01-19T22:05:58Z", "updated_at": "2024-01-19T22:05:58Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_671ab59440464dd0abdc24ead2d41451", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_e1c600e3216e4eacb50ac841f6d91e2b", - "object": "Rate", "created_at": "2024-01-19T22:05:58Z", "updated_at": "2024-01-19T22:05:58Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_671ab59440464dd0abdc24ead2d41451", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_c52cbe122e2e40bba9dbf67c5d8262e9", "object": "Rate", "created_at": - "2024-01-19T22:05:58Z", "updated_at": "2024-01-19T22:05:58Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_671ab59440464dd0abdc24ead2d41451", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_e11cfa705c6c4f8da2d64842caea0cce", "object": "Rate", "created_at": - "2024-01-19T22:05:58Z", "updated_at": "2024-01-19T22:05:58Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_671ab59440464dd0abdc24ead2d41451", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_bbd442f7a2d949128c0585d958c10e76", "object": "Rate", "created_at": - "2024-01-19T22:05:58Z", "updated_at": "2024-01-19T22:05:58Z", "mode": "test", - "service": "Priority", "carrier": "USPS", "rate": "7.99", "currency": "USD", - "retail_rate": "14.05", "retail_currency": "USD", "list_rate": "10.27", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": - "shp_671ab59440464dd0abdc24ead2d41451", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_ec3320deb71611eebc1d3cecef1b359e", "object": - "Address", "created_at": "2024-01-19T22:05:57+00:00", "updated_at": "2024-01-19T22:05:57+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_ec36c06fb71611eebc1e3cecef1b359e", "object": "Address", "created_at": - "2024-01-19T22:05:57+00:00", "updated_at": "2024-01-19T22:05:57+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_ec3320deb71611eebc1d3cecef1b359e", - "object": "Address", "created_at": "2024-01-19T22:05:57+00:00", "updated_at": - "2024-01-19T22:05:57+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_671ab59440464dd0abdc24ead2d41451", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_671ab59440464dd0abdc24ead2d41451 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf245e798d1240010d028 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.857445' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"rate": {"id": "rate_78f64fcde43f4e099dea270b8e8030ab"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '57' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments/shp_671ab59440464dd0abdc24ead2d41451/buy - response: - body: - string: '{"created_at": "2024-01-19T22:05:57Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9434600207552010712910", "updated_at": "2024-01-19T22:05:59Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_39dbd393b32543fcbba62faa72e55a56", "object": "CustomsInfo", "created_at": - "2024-01-19T22:05:57Z", "updated_at": "2024-01-19T22:05:57Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_a2c2159bb7eb41be9d63e253c392e9e5", - "object": "CustomsItem", "created_at": "2024-01-19T22:05:57Z", "updated_at": - "2024-01-19T22:05:57Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_ec36c06fb71611eebc1e3cecef1b359e", - "object": "Address", "created_at": "2024-01-19T22:05:57+00:00", "updated_at": - "2024-01-19T22:05:57+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_2ce2d6496bef4db0afa31d37a3ba2dc8", - "object": "Parcel", "created_at": "2024-01-19T22:05:57Z", "updated_at": "2024-01-19T22:05:57Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_2117eb64a24d42c29e05770a992d8028", "created_at": "2024-01-19T22:05:58Z", - "updated_at": "2024-01-19T22:05:59Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T22:05:58Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e80524d8ecb05b4813b96544f3acaac8ed.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_78f64fcde43f4e099dea270b8e8030ab", "object": - "Rate", "created_at": "2024-01-19T22:05:58Z", "updated_at": "2024-01-19T22:05:58Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_671ab59440464dd0abdc24ead2d41451", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_e1c600e3216e4eacb50ac841f6d91e2b", - "object": "Rate", "created_at": "2024-01-19T22:05:58Z", "updated_at": "2024-01-19T22:05:58Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_671ab59440464dd0abdc24ead2d41451", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_c52cbe122e2e40bba9dbf67c5d8262e9", "object": "Rate", "created_at": - "2024-01-19T22:05:58Z", "updated_at": "2024-01-19T22:05:58Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_671ab59440464dd0abdc24ead2d41451", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_e11cfa705c6c4f8da2d64842caea0cce", "object": "Rate", "created_at": - "2024-01-19T22:05:58Z", "updated_at": "2024-01-19T22:05:58Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_671ab59440464dd0abdc24ead2d41451", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_bbd442f7a2d949128c0585d958c10e76", "object": "Rate", "created_at": - "2024-01-19T22:05:58Z", "updated_at": "2024-01-19T22:05:58Z", "mode": "test", - "service": "Priority", "carrier": "USPS", "rate": "7.99", "currency": "USD", - "retail_rate": "14.05", "retail_currency": "USD", "list_rate": "10.27", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": - "shp_671ab59440464dd0abdc24ead2d41451", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_78f64fcde43f4e099dea270b8e8030ab", - "object": "Rate", "created_at": "2024-01-19T22:05:59Z", "updated_at": "2024-01-19T22:05:59Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_671ab59440464dd0abdc24ead2d41451", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_577bf5b3646c4a44abdbe96966053fd9", - "object": "Tracker", "mode": "test", "tracking_code": "9434600207552010712910", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:05:59Z", - "updated_at": "2024-01-19T22:05:59Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_671ab59440464dd0abdc24ead2d41451", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzU3N2JmNWIzNjQ2YzRhNDRhYmRiZTk2OTY2MDUzZmQ5"}, - "to_address": {"id": "adr_ec3320deb71611eebc1d3cecef1b359e", "object": "Address", - "created_at": "2024-01-19T22:05:57+00:00", "updated_at": "2024-01-19T22:05:58+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_ec36c06fb71611eebc1e3cecef1b359e", - "object": "Address", "created_at": "2024-01-19T22:05:57+00:00", "updated_at": - "2024-01-19T22:05:57+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_ec3320deb71611eebc1d3cecef1b359e", "object": - "Address", "created_at": "2024-01-19T22:05:57+00:00", "updated_at": "2024-01-19T22:05:58+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "6.79000", "charged": true, "refunded": false}], "id": "shp_671ab59440464dd0abdc24ead2d41451", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '9345' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf246e798d1250010d0ea - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.856594' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_shipments_list.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_shipments_list.yaml deleted file mode 100644 index e36be403..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_shipments_list.yaml +++ /dev/null @@ -1,1374 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/shipments?page_size=1 - response: - body: - string: '{"shipments": [{"created_at": "2024-01-19T21:42:00Z", "is_return": - false, "messages": [], "mode": "test", "options": {"currency": "USD", "payment": - {"type": "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", - "tracking_code": "9405500207552010707771", "updated_at": "2024-01-19T21:42:01Z", - "batch_id": "batch_20ed0a5f5e4f4e5c8cf2b4f966ceb924", "batch_status": "postage_purchased", - "batch_message": null, "customs_info": {"id": "cstinfo_b8df8ab18426437884d0bdbcc8cd7a38", - "object": "CustomsInfo", "created_at": "2024-01-19T21:42:00Z", "updated_at": - "2024-01-19T21:42:00Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_70b1522825c645659169b66fed6c5ff8", "object": "CustomsItem", - "created_at": "2024-01-19T21:42:00Z", "updated_at": "2024-01-19T21:42:00Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_939e948eb71311eeb35fac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:42:00+00:00", "updated_at": "2024-01-19T21:42:00+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_3ae2306725f2419cb812702fab0e8879", "object": "Parcel", "created_at": - "2024-01-19T21:42:00Z", "updated_at": "2024-01-19T21:42:00Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": {"object": "PostageLabel", "id": "pl_7123fce93f754da197413633321ea20f", - "created_at": "2024-01-19T21:42:01Z", "updated_at": "2024-01-19T21:42:01Z", - "date_advance": 0, "integrated_form": "none", "label_date": "2024-01-19T21:42:01Z", - "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": - "image/png", "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8d34f289678574f3fa795bbf64a495e47.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_e2a94cdc60d2464aa89a69d29cf12f7a", "object": - "Rate", "created_at": "2024-01-19T21:42:00Z", "updated_at": "2024-01-19T21:42:00Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_cf8e56cf20974b3da7c68ef7da9c1718", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_e68bd3f50b7d499a99ce5936e5376154", - "object": "Rate", "created_at": "2024-01-19T21:42:00Z", "updated_at": "2024-01-19T21:42:00Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_cf8e56cf20974b3da7c68ef7da9c1718", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_233e3d437e8c4c1a969f94b4c751d1f9", - "object": "Rate", "created_at": "2024-01-19T21:42:00Z", "updated_at": "2024-01-19T21:42:00Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_cf8e56cf20974b3da7c68ef7da9c1718", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_05ca078c91cb4f90a7544b18ece7c135", - "object": "Rate", "created_at": "2024-01-19T21:42:00Z", "updated_at": "2024-01-19T21:42:00Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_cf8e56cf20974b3da7c68ef7da9c1718", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_afc77f652bbb4f94a8b679a1afdf9547", "object": "Rate", "created_at": - "2024-01-19T21:42:00Z", "updated_at": "2024-01-19T21:42:00Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_cf8e56cf20974b3da7c68ef7da9c1718", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": {"id": "sf_7da5cfcbb18448a1b8557d6f46dcfd63", - "object": "ScanForm", "created_at": "2024-01-19T21:42:01Z", "updated_at": - "2024-01-19T21:42:02Z", "tracking_codes": ["9405500207552010707771"], "address": - {"id": "adr_939e948eb71311eeb35fac1f6bc539aa", "object": "Address", "created_at": - "2024-01-19T21:42:00+00:00", "updated_at": "2024-01-19T21:42:00+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "status": "created", "message": null, "form_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e88e3aaa0500a342a6ba20d2fe6c3cd189.pdf", - "form_file_type": null, "batch_id": "batch_20ed0a5f5e4f4e5c8cf2b4f966ceb924", - "confirmation": null}, "selected_rate": {"id": "rate_e68bd3f50b7d499a99ce5936e5376154", - "object": "Rate", "created_at": "2024-01-19T21:42:01Z", "updated_at": "2024-01-19T21:42:01Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_cf8e56cf20974b3da7c68ef7da9c1718", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_73461d4218344b6198a1736e508a8cbf", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010707771", - "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:42:01Z", - "updated_at": "2024-01-19T21:42:01Z", "signed_by": null, "weight": null, "est_delivery_date": - "2024-01-19T21:42:01Z", "shipment_id": "shp_cf8e56cf20974b3da7c68ef7da9c1718", - "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": - "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-19T21:42:01Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", - "message": "Shipping Label Created", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-20T10:19:01Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": - null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": - null}, "public_url": "https://track.easypost.com/djE6dHJrXzczNDYxZDQyMTgzNDRiNjE5OGExNzM2ZTUwOGE4Y2Jm"}, - "to_address": {"id": "adr_939be8d4b71311eea487ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:42:00+00:00", "updated_at": "2024-01-19T21:42:00+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_939e948eb71311eeb35fac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:42:00+00:00", "updated_at": - "2024-01-19T21:42:00+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_939be8d4b71311eea487ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:42:00+00:00", "updated_at": "2024-01-19T21:42:00+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_cf8e56cf20974b3da7c68ef7da9c1718", - "object": "Shipment"}], "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '10475' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaecade78b9f67000d08d4 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.152838' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/shipments?page_size=1 - response: - body: - string: '{"shipments": [{"created_at": "2024-01-19T21:43:56Z", "is_return": - false, "messages": [], "mode": "test", "options": {"currency": "USD", "payment": - {"type": "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", - "tracking_code": "9405500207552010708099", "updated_at": "2024-01-19T21:43:58Z", - "batch_id": "batch_b03a60bcbc3a4304b454870debb18a95", "batch_status": "postage_purchased", - "batch_message": null, "customs_info": {"id": "cstinfo_44de8cf3040d4c4681d4460cd76ad867", - "object": "CustomsInfo", "created_at": "2024-01-19T21:43:56Z", "updated_at": - "2024-01-19T21:43:56Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_b821210fd766418bb3fcff593d7f2d6e", "object": "CustomsItem", - "created_at": "2024-01-19T21:43:56Z", "updated_at": "2024-01-19T21:43:56Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_d8e39620b71311eebd5cac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:43:56+00:00", "updated_at": "2024-01-19T21:43:56+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_79113baf47d44d568056e217b0fd5c82", "object": "Parcel", "created_at": - "2024-01-19T21:43:56Z", "updated_at": "2024-01-19T21:43:56Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": {"object": "PostageLabel", "id": "pl_fc082d6a1c134fdcba446681503f5395", - "created_at": "2024-01-19T21:43:57Z", "updated_at": "2024-01-19T21:43:57Z", - "date_advance": 0, "integrated_form": "none", "label_date": "2024-01-19T21:43:57Z", - "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": - "image/png", "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8b7046c350b564342b0f7190c7eb061e7.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_e23a64d44fd2445bb73a85632d30bb8a", "object": - "Rate", "created_at": "2024-01-19T21:43:56Z", "updated_at": "2024-01-19T21:43:56Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_6ffa3fa64a8243629566ceef79076b0e", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_ba6b68e5d5174ce1a99cced7b6a54501", - "object": "Rate", "created_at": "2024-01-19T21:43:56Z", "updated_at": "2024-01-19T21:43:56Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_6ffa3fa64a8243629566ceef79076b0e", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_2249968fac32416391f9e4e47dd41433", - "object": "Rate", "created_at": "2024-01-19T21:43:56Z", "updated_at": "2024-01-19T21:43:56Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_6ffa3fa64a8243629566ceef79076b0e", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_74903299d59b4eed9823e16668a51067", "object": "Rate", "created_at": - "2024-01-19T21:43:56Z", "updated_at": "2024-01-19T21:43:56Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_6ffa3fa64a8243629566ceef79076b0e", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_9f24327adb11459180bcbebff740fa25", "object": "Rate", "created_at": - "2024-01-19T21:43:56Z", "updated_at": "2024-01-19T21:43:56Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_6ffa3fa64a8243629566ceef79076b0e", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": {"id": "sf_f25eda89a8074a699f6f76c8eaaa349e", - "object": "ScanForm", "created_at": "2024-01-19T21:43:58Z", "updated_at": - "2024-01-19T21:43:58Z", "tracking_codes": ["9405500207552010708099"], "address": - {"id": "adr_d8e39620b71311eebd5cac1f6bc539ae", "object": "Address", "created_at": - "2024-01-19T21:43:56+00:00", "updated_at": "2024-01-19T21:43:56+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "status": "created", "message": null, "form_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e8ccdd7972f6884e22a024ae6835e7dd0d.pdf", - "form_file_type": null, "batch_id": "batch_b03a60bcbc3a4304b454870debb18a95", - "confirmation": null}, "selected_rate": {"id": "rate_e23a64d44fd2445bb73a85632d30bb8a", - "object": "Rate", "created_at": "2024-01-19T21:43:57Z", "updated_at": "2024-01-19T21:43:57Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_6ffa3fa64a8243629566ceef79076b0e", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_19cda064a4c248dc91f9fcc2901c8cce", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708099", - "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:43:57Z", - "updated_at": "2024-01-19T21:43:57Z", "signed_by": null, "weight": null, "est_delivery_date": - "2024-01-19T21:43:57Z", "shipment_id": "shp_6ffa3fa64a8243629566ceef79076b0e", - "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": - "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-19T21:43:57Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", - "message": "Shipping Label Created", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-20T10:20:57Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": - null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": - null}, "public_url": "https://track.easypost.com/djE6dHJrXzE5Y2RhMDY0YTRjMjQ4ZGM5MWY5ZmNjMjkwMWM4Y2Nl"}, - "to_address": {"id": "adr_d8e13c66b71311eebae73cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:43:56+00:00", "updated_at": "2024-01-19T21:43:56+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_d8e39620b71311eebd5cac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:43:56+00:00", "updated_at": - "2024-01-19T21:43:56+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_d8e13c66b71311eebae73cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:43:56+00:00", "updated_at": "2024-01-19T21:43:56+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_6ffa3fa64a8243629566ceef79076b0e", - "object": "Shipment"}], "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '10475' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaed22e78ba7a4000d4d23 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.180387' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/shipments?page_size=1 - response: - body: - string: '{"shipments": [{"created_at": "2024-01-19T21:47:49Z", "is_return": - false, "messages": [], "mode": "test", "options": {"currency": "USD", "payment": - {"type": "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", - "tracking_code": "9405500207552010708549", "updated_at": "2024-01-19T21:47:51Z", - "batch_id": "batch_b3eff1db86ca4e1fa0fe94dca8cfe387", "batch_status": "postage_purchased", - "batch_message": null, "customs_info": {"id": "cstinfo_c7479a268d604b0681baeea11f921e74", - "object": "CustomsInfo", "created_at": "2024-01-19T21:47:49Z", "updated_at": - "2024-01-19T21:47:49Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_3c687cce810c47e3b4b8599cce4b7341", "object": "CustomsItem", - "created_at": "2024-01-19T21:47:49Z", "updated_at": "2024-01-19T21:47:49Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_63b80d85b71411eeb872ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:47:49+00:00", "updated_at": "2024-01-19T21:47:49+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_8478aa9464a24675a1cf63b2184c59be", "object": "Parcel", "created_at": - "2024-01-19T21:47:49Z", "updated_at": "2024-01-19T21:47:49Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": {"object": "PostageLabel", "id": "pl_5a6004eb623a4e63bd6d826905066980", - "created_at": "2024-01-19T21:47:50Z", "updated_at": "2024-01-19T21:47:50Z", - "date_advance": 0, "integrated_form": "none", "label_date": "2024-01-19T21:47:50Z", - "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": - "image/png", "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8c162a623d0c94394a16cfec16ad00ce4.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_fa30f85afd164334bc378eb0b6bcae9a", "object": - "Rate", "created_at": "2024-01-19T21:47:49Z", "updated_at": "2024-01-19T21:47:49Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_3520e5b9d85d464389c46c01f34a943a", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f5aafb9f1fe547ef878883d7fb4dd51b", - "object": "Rate", "created_at": "2024-01-19T21:47:49Z", "updated_at": "2024-01-19T21:47:49Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_3520e5b9d85d464389c46c01f34a943a", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_26f0a3d0877545649e010f7a8a268f13", - "object": "Rate", "created_at": "2024-01-19T21:47:49Z", "updated_at": "2024-01-19T21:47:49Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_3520e5b9d85d464389c46c01f34a943a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_7a083ecc7b8c4d2bb7aa73e10dc31629", "object": "Rate", "created_at": - "2024-01-19T21:47:49Z", "updated_at": "2024-01-19T21:47:49Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_3520e5b9d85d464389c46c01f34a943a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_c62cb64690504e2e95c1f197d40f4388", "object": "Rate", "created_at": - "2024-01-19T21:47:49Z", "updated_at": "2024-01-19T21:47:49Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_3520e5b9d85d464389c46c01f34a943a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": {"id": "sf_2c81f564c6354c7d830d919480c6df4c", - "object": "ScanForm", "created_at": "2024-01-19T21:47:50Z", "updated_at": - "2024-01-19T21:47:51Z", "tracking_codes": ["9405500207552010708549"], "address": - {"id": "adr_63b80d85b71411eeb872ac1f6bc539aa", "object": "Address", "created_at": - "2024-01-19T21:47:49+00:00", "updated_at": "2024-01-19T21:47:49+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "status": "created", "message": null, "form_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e8497c81ee5e3344c5b5571076d5b115e0.pdf", - "form_file_type": null, "batch_id": "batch_b3eff1db86ca4e1fa0fe94dca8cfe387", - "confirmation": null}, "selected_rate": {"id": "rate_fa30f85afd164334bc378eb0b6bcae9a", - "object": "Rate", "created_at": "2024-01-19T21:47:50Z", "updated_at": "2024-01-19T21:47:50Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_3520e5b9d85d464389c46c01f34a943a", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_3964cdba1dc94256b352d7333095e9ba", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708549", - "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:47:50Z", - "updated_at": "2024-01-19T21:47:50Z", "signed_by": null, "weight": null, "est_delivery_date": - "2024-01-19T21:47:50Z", "shipment_id": "shp_3520e5b9d85d464389c46c01f34a943a", - "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": - "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-19T21:47:50Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", - "message": "Shipping Label Created", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-20T10:24:50Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": - null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": - null}, "public_url": "https://track.easypost.com/djE6dHJrXzM5NjRjZGJhMWRjOTQyNTZiMzUyZDczMzMwOTVlOWJh"}, - "to_address": {"id": "adr_63b62bc4b71411eeaa05ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:47:49+00:00", "updated_at": "2024-01-19T21:47:49+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_63b80d85b71411eeb872ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:47:49+00:00", "updated_at": - "2024-01-19T21:47:49+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_63b62bc4b71411eeaa05ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:47:49+00:00", "updated_at": "2024-01-19T21:47:49+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_3520e5b9d85d464389c46c01f34a943a", - "object": "Shipment"}], "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '10475' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdaa65aaee0ae78bb0270011444b - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.164411' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/shipments?page_size=1 - response: - body: - string: '{"shipments": [{"created_at": "2024-01-19T21:49:44Z", "is_return": - false, "messages": [], "mode": "test", "options": {"currency": "USD", "payment": - {"type": "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", - "tracking_code": "9405500207552010709102", "updated_at": "2024-01-19T21:49:46Z", - "batch_id": "batch_1f2b6f67ee9441d0a4665930a68332c4", "batch_status": "postage_purchased", - "batch_message": null, "customs_info": {"id": "cstinfo_e1d6f30a63c6407d856f3cd7958aaf0c", - "object": "CustomsInfo", "created_at": "2024-01-19T21:49:44Z", "updated_at": - "2024-01-19T21:49:44Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_68883a0ec33b443a97298131a5d54313", "object": "CustomsItem", - "created_at": "2024-01-19T21:49:44Z", "updated_at": "2024-01-19T21:49:44Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_a84db4e5b71411ee8db7ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:49:44+00:00", "updated_at": "2024-01-19T21:49:44+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_e6dbe4a18a214d1f887c55994ee38c7b", "object": "Parcel", "created_at": - "2024-01-19T21:49:44Z", "updated_at": "2024-01-19T21:49:44Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": {"object": "PostageLabel", "id": "pl_e2a54083065c492c9c3cd738aee9a04b", - "created_at": "2024-01-19T21:49:45Z", "updated_at": "2024-01-19T21:49:45Z", - "date_advance": 0, "integrated_form": "none", "label_date": "2024-01-19T21:49:45Z", - "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": - "image/png", "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e853b9af8a67e84c67bcb2fb95a05d80f5.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_aee54f6a74e54df88ae8cf3d3c61b833", "object": - "Rate", "created_at": "2024-01-19T21:49:44Z", "updated_at": "2024-01-19T21:49:44Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_99377db897464f81afcd3812f4e92305", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c50aebdd003e4f78908d1b4833c23a5c", - "object": "Rate", "created_at": "2024-01-19T21:49:44Z", "updated_at": "2024-01-19T21:49:44Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_99377db897464f81afcd3812f4e92305", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_6ae6b55d16d2412e88fbf81520bacc02", - "object": "Rate", "created_at": "2024-01-19T21:49:44Z", "updated_at": "2024-01-19T21:49:44Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_99377db897464f81afcd3812f4e92305", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_8a6974de4cff41e894da9ae6575f7adb", "object": "Rate", "created_at": - "2024-01-19T21:49:44Z", "updated_at": "2024-01-19T21:49:44Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_99377db897464f81afcd3812f4e92305", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_a7fdb87c747e45018fb27a1bf6a966f8", "object": "Rate", "created_at": - "2024-01-19T21:49:44Z", "updated_at": "2024-01-19T21:49:44Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_99377db897464f81afcd3812f4e92305", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": {"id": "sf_1be115f4129540d9a9d554293979dcd2", - "object": "ScanForm", "created_at": "2024-01-19T21:49:46Z", "updated_at": - "2024-01-19T21:49:46Z", "tracking_codes": ["9405500207552010709102"], "address": - {"id": "adr_a84db4e5b71411ee8db7ac1f6bc539aa", "object": "Address", "created_at": - "2024-01-19T21:49:44+00:00", "updated_at": "2024-01-19T21:49:44+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "status": "created", "message": null, "form_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e89fb1eea90766417a97ffcbd97f34758f.pdf", - "form_file_type": null, "batch_id": "batch_1f2b6f67ee9441d0a4665930a68332c4", - "confirmation": null}, "selected_rate": {"id": "rate_aee54f6a74e54df88ae8cf3d3c61b833", - "object": "Rate", "created_at": "2024-01-19T21:49:45Z", "updated_at": "2024-01-19T21:49:45Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_99377db897464f81afcd3812f4e92305", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_19bc93fdfc0249059993518a6857cda9", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010709102", - "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:49:45Z", - "updated_at": "2024-01-19T21:49:45Z", "signed_by": null, "weight": null, "est_delivery_date": - "2024-01-19T21:49:45Z", "shipment_id": "shp_99377db897464f81afcd3812f4e92305", - "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": - "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-19T21:49:45Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", - "message": "Shipping Label Created", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-20T10:26:45Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": - null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": - null}, "public_url": "https://track.easypost.com/djE6dHJrXzE5YmM5M2ZkZmMwMjQ5MDU5OTkzNTE4YTY4NTdjZGE5"}, - "to_address": {"id": "adr_a84b213ab71411eebf67ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:49:44+00:00", "updated_at": "2024-01-19T21:49:44+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_a84db4e5b71411ee8db7ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:49:44+00:00", "updated_at": - "2024-01-19T21:49:44+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_a84b213ab71411eebf67ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:49:44+00:00", "updated_at": "2024-01-19T21:49:44+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_99377db897464f81afcd3812f4e92305", - "object": "Shipment"}], "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '10475' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdac65aaee7de78bb84a001185ff - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.180348' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/shipments?page_size=1 - response: - body: - string: '{"shipments": [{"created_at": "2024-01-19T21:59:03Z", "is_return": - false, "messages": [], "mode": "test", "options": {"currency": "USD", "payment": - {"type": "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", - "tracking_code": "9405500207552010711549", "updated_at": "2024-01-19T21:59:04Z", - "batch_id": "batch_cfd9e0a3dee34f68b8eead06b7c9b995", "batch_status": "postage_purchased", - "batch_message": null, "customs_info": {"id": "cstinfo_edb33bc33ba646b39a6f09c5ef74afe5", - "object": "CustomsInfo", "created_at": "2024-01-19T21:59:03Z", "updated_at": - "2024-01-19T21:59:03Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_2a8a3635e56a416fad735007e8b59ee3", "object": "CustomsItem", - "created_at": "2024-01-19T21:59:03Z", "updated_at": "2024-01-19T21:59:03Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_f56b9bb7b71511eebda6ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:59:03+00:00", "updated_at": "2024-01-19T21:59:03+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_b0a22aabbb0a4ef5b8a979a088220b21", "object": "Parcel", "created_at": - "2024-01-19T21:59:03Z", "updated_at": "2024-01-19T21:59:03Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": {"object": "PostageLabel", "id": "pl_153bb314ead94a229ff73a6a64ea3bbe", - "created_at": "2024-01-19T21:59:04Z", "updated_at": "2024-01-19T21:59:04Z", - "date_advance": 0, "integrated_form": "none", "label_date": "2024-01-19T21:59:03Z", - "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": - "image/png", "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e83e591972733247aab1fdc372db75c01f.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_e869c02d5a5f4e228a601d61919e88b4", "object": - "Rate", "created_at": "2024-01-19T21:59:03Z", "updated_at": "2024-01-19T21:59:03Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_fdeca7eea7f84d8d8f5bda25d6abcb04", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_cbe211d5078c4451a85ebb696674b94b", - "object": "Rate", "created_at": "2024-01-19T21:59:03Z", "updated_at": "2024-01-19T21:59:03Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_fdeca7eea7f84d8d8f5bda25d6abcb04", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_2c89473f7d424fcabd3a264063a34c4b", - "object": "Rate", "created_at": "2024-01-19T21:59:03Z", "updated_at": "2024-01-19T21:59:03Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_fdeca7eea7f84d8d8f5bda25d6abcb04", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_6187ea5b711046bcac88a001b236c3e7", - "object": "Rate", "created_at": "2024-01-19T21:59:03Z", "updated_at": "2024-01-19T21:59:03Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_fdeca7eea7f84d8d8f5bda25d6abcb04", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_95506bb3f7684eee97f534d6cc5e7020", "object": "Rate", "created_at": - "2024-01-19T21:59:03Z", "updated_at": "2024-01-19T21:59:03Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_fdeca7eea7f84d8d8f5bda25d6abcb04", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": {"id": "sf_1eb4a2f980fc40feb3c821ce3e6ca278", - "object": "ScanForm", "created_at": "2024-01-19T21:59:04Z", "updated_at": - "2024-01-19T21:59:05Z", "tracking_codes": ["9405500207552010711549"], "address": - {"id": "adr_f56b9bb7b71511eebda6ac1f6bc539aa", "object": "Address", "created_at": - "2024-01-19T21:59:03+00:00", "updated_at": "2024-01-19T21:59:03+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "status": "created", "message": null, "form_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e88f3d9ee4a5a6448ebf1455c89f5a640a.pdf", - "form_file_type": null, "batch_id": "batch_cfd9e0a3dee34f68b8eead06b7c9b995", - "confirmation": null}, "selected_rate": {"id": "rate_cbe211d5078c4451a85ebb696674b94b", - "object": "Rate", "created_at": "2024-01-19T21:59:04Z", "updated_at": "2024-01-19T21:59:04Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_fdeca7eea7f84d8d8f5bda25d6abcb04", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_f7cda8c0f963458cb133b1ee1a7e94b6", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711549", - "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:59:04Z", - "updated_at": "2024-01-19T21:59:04Z", "signed_by": null, "weight": null, "est_delivery_date": - "2024-01-19T21:59:04Z", "shipment_id": "shp_fdeca7eea7f84d8d8f5bda25d6abcb04", - "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": - "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-19T21:59:04Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", - "message": "Shipping Label Created", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-20T10:36:04Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": - null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": - null}, "public_url": "https://track.easypost.com/djE6dHJrX2Y3Y2RhOGMwZjk2MzQ1OGNiMTMzYjFlZTFhN2U5NGI2"}, - "to_address": {"id": "adr_f569824eb71511eebda5ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T21:59:03+00:00", "updated_at": "2024-01-19T21:59:03+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_f56b9bb7b71511eebda6ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:59:03+00:00", "updated_at": - "2024-01-19T21:59:03+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_f569824eb71511eebda5ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:59:03+00:00", "updated_at": "2024-01-19T21:59:03+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_fdeca7eea7f84d8d8f5bda25d6abcb04", - "object": "Shipment"}], "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '10475' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf0ace798bfe0000f894c - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.177002' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/shipments?page_size=1 - response: - body: - string: '{"shipments": [{"created_at": "2024-01-19T22:01:58Z", "is_return": - false, "messages": [], "mode": "test", "options": {"currency": "USD", "payment": - {"type": "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", - "tracking_code": "9405500207552010711969", "updated_at": "2024-01-19T22:02:00Z", - "batch_id": "batch_aebd0d167bf542e788a9eb1bb2a62fb2", "batch_status": "postage_purchased", - "batch_message": null, "customs_info": {"id": "cstinfo_9e5ef28a04a844d28af5baacf9dc08fd", - "object": "CustomsInfo", "created_at": "2024-01-19T22:01:58Z", "updated_at": - "2024-01-19T22:01:58Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_6717b88e200446abb07d9cac379acec6", "object": "CustomsItem", - "created_at": "2024-01-19T22:01:58Z", "updated_at": "2024-01-19T22:01:58Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_5dbc0d4eb71611ee8ef8ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T22:01:58+00:00", "updated_at": "2024-01-19T22:01:58+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_105ab4b774d24746805156b18be89dc9", "object": "Parcel", "created_at": - "2024-01-19T22:01:58Z", "updated_at": "2024-01-19T22:01:58Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": {"object": "PostageLabel", "id": "pl_c1cea9faa18647fb98aa271b7651f24d", - "created_at": "2024-01-19T22:01:59Z", "updated_at": "2024-01-19T22:01:59Z", - "date_advance": 0, "integrated_form": "none", "label_date": "2024-01-19T22:01:59Z", - "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": - "image/png", "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e83c10649120ff4bee945fafe3e3e104be.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_de2cd14d8e47436eb522c73ab77d6dee", "object": - "Rate", "created_at": "2024-01-19T22:01:58Z", "updated_at": "2024-01-19T22:01:58Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_b232ba9a590a4434907f48617f8e11df", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_0ce9baa0f5cf44dd8e90e3f5b2449a7a", - "object": "Rate", "created_at": "2024-01-19T22:01:58Z", "updated_at": "2024-01-19T22:01:58Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_b232ba9a590a4434907f48617f8e11df", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_ecd9929e6ead423c80b601127966bb41", - "object": "Rate", "created_at": "2024-01-19T22:01:58Z", "updated_at": "2024-01-19T22:01:58Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_b232ba9a590a4434907f48617f8e11df", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_5bda53e985644456aa778be713015056", - "object": "Rate", "created_at": "2024-01-19T22:01:58Z", "updated_at": "2024-01-19T22:01:58Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_b232ba9a590a4434907f48617f8e11df", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_ba4737a1b24c40bfa4e38081d991b8a7", "object": "Rate", "created_at": - "2024-01-19T22:01:58Z", "updated_at": "2024-01-19T22:01:58Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_b232ba9a590a4434907f48617f8e11df", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": {"id": "sf_aaa1967cefe54ba389850a28c61bb704", - "object": "ScanForm", "created_at": "2024-01-19T22:02:00Z", "updated_at": - "2024-01-19T22:02:00Z", "tracking_codes": ["9405500207552010711969"], "address": - {"id": "adr_5dbc0d4eb71611ee8ef8ac1f6bc53342", "object": "Address", "created_at": - "2024-01-19T22:01:58+00:00", "updated_at": "2024-01-19T22:01:58+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "status": "created", "message": null, "form_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e86363cd2729314ce3a405dc645e3e2edf.pdf", - "form_file_type": null, "batch_id": "batch_aebd0d167bf542e788a9eb1bb2a62fb2", - "confirmation": null}, "selected_rate": {"id": "rate_0ce9baa0f5cf44dd8e90e3f5b2449a7a", - "object": "Rate", "created_at": "2024-01-19T22:01:59Z", "updated_at": "2024-01-19T22:01:59Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_b232ba9a590a4434907f48617f8e11df", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_8fafbd1d874a44c78da223bbad799028", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711969", - "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T22:01:59Z", - "updated_at": "2024-01-19T22:01:59Z", "signed_by": null, "weight": null, "est_delivery_date": - "2024-01-19T22:01:59Z", "shipment_id": "shp_b232ba9a590a4434907f48617f8e11df", - "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": - "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-19T22:01:59Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", - "message": "Shipping Label Created", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-20T10:38:59Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": - null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": - null}, "public_url": "https://track.easypost.com/djE6dHJrXzhmYWZiZDFkODc0YTQ0Yzc4ZGEyMjNiYmFkNzk5MDI4"}, - "to_address": {"id": "adr_5db97915b71611ee8ef7ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T22:01:58+00:00", "updated_at": "2024-01-19T22:01:58+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_5dbc0d4eb71611ee8ef8ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T22:01:58+00:00", "updated_at": - "2024-01-19T22:01:58+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_5db97915b71611ee8ef7ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T22:01:58+00:00", "updated_at": "2024-01-19T22:01:58+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_b232ba9a590a4434907f48617f8e11df", - "object": "Shipment"}], "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '10475' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaf15ce798c85d001025af - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.171904' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/shipments?page_size=1 - response: - body: - string: '{"shipments": [{"created_at": "2024-01-19T22:05:46Z", "is_return": - false, "messages": [], "mode": "test", "options": {"currency": "USD", "payment": - {"type": "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", - "tracking_code": "9405500207552010712812", "updated_at": "2024-01-19T22:05:48Z", - "batch_id": "batch_1159df9904bb4176918e6bb190604a18", "batch_status": "postage_purchased", - "batch_message": null, "customs_info": {"id": "cstinfo_42fb952bddd44ac0adee2fc6c90fed8d", - "object": "CustomsInfo", "created_at": "2024-01-19T22:05:46Z", "updated_at": - "2024-01-19T22:05:46Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_4aa49e3d13ed40d6ba2d8eb9671e61d4", "object": "CustomsItem", - "created_at": "2024-01-19T22:05:46Z", "updated_at": "2024-01-19T22:05:46Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_e5cd9cfdb71611eebe4cac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T22:05:46+00:00", "updated_at": "2024-01-19T22:05:46+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_1ca1395ad7d04851811a5a5902e2cb5e", "object": "Parcel", "created_at": - "2024-01-19T22:05:46Z", "updated_at": "2024-01-19T22:05:46Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": {"object": "PostageLabel", "id": "pl_13157b637c3741c4b863c56ec3020f74", - "created_at": "2024-01-19T22:05:47Z", "updated_at": "2024-01-19T22:05:47Z", - "date_advance": 0, "integrated_form": "none", "label_date": "2024-01-19T22:05:47Z", - "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": - "image/png", "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e85fe820dcf47b479a93d7ebbde9cd43cf.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_c6289164d3eb4e2c9622c288ab7219f6", "object": - "Rate", "created_at": "2024-01-19T22:05:46Z", "updated_at": "2024-01-19T22:05:46Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_1c1dd75cbb95496cb251a93b0961704b", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b598cb94ef5141c4a8d509d255dbfe6b", - "object": "Rate", "created_at": "2024-01-19T22:05:46Z", "updated_at": "2024-01-19T22:05:46Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_1c1dd75cbb95496cb251a93b0961704b", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_7d2d8ca65f3843b6a1f133268a4cef7a", - "object": "Rate", "created_at": "2024-01-19T22:05:46Z", "updated_at": "2024-01-19T22:05:46Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_1c1dd75cbb95496cb251a93b0961704b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_86b6514da54140cea4f2116f7c550f34", "object": "Rate", "created_at": - "2024-01-19T22:05:46Z", "updated_at": "2024-01-19T22:05:46Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_1c1dd75cbb95496cb251a93b0961704b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_39c59a32bc0243df8e00ded1ffc6d03e", "object": "Rate", "created_at": - "2024-01-19T22:05:46Z", "updated_at": "2024-01-19T22:05:46Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_1c1dd75cbb95496cb251a93b0961704b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": {"id": "sf_1de4ead0dce34c4387c7836727c39c33", - "object": "ScanForm", "created_at": "2024-01-19T22:05:48Z", "updated_at": - "2024-01-19T22:05:48Z", "tracking_codes": ["9405500207552010712812"], "address": - {"id": "adr_e5cd9cfdb71611eebe4cac1f6bc539ae", "object": "Address", "created_at": - "2024-01-19T22:05:46+00:00", "updated_at": "2024-01-19T22:05:46+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "status": "created", "message": null, "form_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e8c5d3ed3cc27e475da3b25c1da9d6fd3b.pdf", - "form_file_type": null, "batch_id": "batch_1159df9904bb4176918e6bb190604a18", - "confirmation": null}, "selected_rate": {"id": "rate_c6289164d3eb4e2c9622c288ab7219f6", - "object": "Rate", "created_at": "2024-01-19T22:05:47Z", "updated_at": "2024-01-19T22:05:47Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_1c1dd75cbb95496cb251a93b0961704b", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_abb72fbb486543ee8d61ce157dd38a81", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010712812", - "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T22:05:47Z", - "updated_at": "2024-01-19T22:05:47Z", "signed_by": null, "weight": null, "est_delivery_date": - "2024-01-19T22:05:47Z", "shipment_id": "shp_1c1dd75cbb95496cb251a93b0961704b", - "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": - "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-19T22:05:47Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", - "message": "Shipping Label Created", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-20T10:42:47Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": - null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": - null}, "public_url": "https://track.easypost.com/djE6dHJrX2FiYjcyZmJiNDg2NTQzZWU4ZDYxY2UxNTdkZDM4YTgx"}, - "to_address": {"id": "adr_e5c91903b71611eeb9af3cecef1b359e", "object": "Address", - "created_at": "2024-01-19T22:05:46+00:00", "updated_at": "2024-01-19T22:05:47+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_e5cd9cfdb71611eebe4cac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T22:05:46+00:00", "updated_at": - "2024-01-19T22:05:46+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_e5c91903b71611eeb9af3cecef1b359e", "object": - "Address", "created_at": "2024-01-19T22:05:46+00:00", "updated_at": "2024-01-19T22:05:47+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_1c1dd75cbb95496cb251a93b0961704b", - "object": "Shipment"}], "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '10475' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf240e798d1200010cc09 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.330276' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_shipments_one_call_buy.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_shipments_one_call_buy.yaml deleted file mode 100644 index 976b9081..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_shipments_one_call_buy.yaml +++ /dev/null @@ -1,1313 +0,0 @@ -interactions: -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:42:08Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010707795", "updated_at": "2024-01-19T21:42:09Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_e5045977834449439af2bc256f3b29dd", "object": "CustomsInfo", "created_at": - "2024-01-19T21:42:08Z", "updated_at": "2024-01-19T21:42:08Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_b506205ca9e4423b8197cee9805292af", - "object": "CustomsItem", "created_at": "2024-01-19T21:42:08Z", "updated_at": - "2024-01-19T21:42:08Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_985c0698b71311eea3613cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:42:08+00:00", "updated_at": - "2024-01-19T21:42:08+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_a78e336299be4f9d998d25b48819b7c6", - "object": "Parcel", "created_at": "2024-01-19T21:42:08Z", "updated_at": "2024-01-19T21:42:08Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_42d3205dae954aa5a47afeca04ef903e", "created_at": "2024-01-19T21:42:08Z", - "updated_at": "2024-01-19T21:42:09Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:42:08Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8dc5afd52a1744a20a12e40c596d2f190.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_924fc99778f945c58a4224fde3226faf", "object": - "Rate", "created_at": "2024-01-19T21:42:08Z", "updated_at": "2024-01-19T21:42:08Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_a1d84f486e0e44e5b7ebfb3c15f2c83e", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_0510ffa721334e889df0b4fa8deb3080", - "object": "Rate", "created_at": "2024-01-19T21:42:08Z", "updated_at": "2024-01-19T21:42:08Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_a1d84f486e0e44e5b7ebfb3c15f2c83e", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_ae58202b37264ec8a9ce3350191ac3b0", - "object": "Rate", "created_at": "2024-01-19T21:42:08Z", "updated_at": "2024-01-19T21:42:08Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_a1d84f486e0e44e5b7ebfb3c15f2c83e", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f1a40a5d2a374c91997fe0578c5255e5", - "object": "Rate", "created_at": "2024-01-19T21:42:08Z", "updated_at": "2024-01-19T21:42:08Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_a1d84f486e0e44e5b7ebfb3c15f2c83e", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_986a9d1153f6425cb459c252450c6c70", "object": "Rate", "created_at": - "2024-01-19T21:42:08Z", "updated_at": "2024-01-19T21:42:08Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_a1d84f486e0e44e5b7ebfb3c15f2c83e", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_0510ffa721334e889df0b4fa8deb3080", - "object": "Rate", "created_at": "2024-01-19T21:42:08Z", "updated_at": "2024-01-19T21:42:08Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_a1d84f486e0e44e5b7ebfb3c15f2c83e", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_324c76c1cc5b4ddd8aae2e4571ca35e8", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010707795", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:42:09Z", - "updated_at": "2024-01-19T21:42:09Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_a1d84f486e0e44e5b7ebfb3c15f2c83e", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzMyNGM3NmMxY2M1YjRkZGQ4YWFlMmU0NTcxY2EzNWU4"}, - "to_address": {"id": "adr_9859cca6b71311eea5fbac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:42:08+00:00", "updated_at": "2024-01-19T21:42:08+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_985c0698b71311eea3613cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:42:08+00:00", "updated_at": - "2024-01-19T21:42:08+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_9859cca6b71311eea5fbac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:42:08+00:00", "updated_at": "2024-01-19T21:42:08+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_a1d84f486e0e44e5b7ebfb3c15f2c83e", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_a1d84f486e0e44e5b7ebfb3c15f2c83e - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaecb0e78b9f6a000d0a3e - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.015731' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:44:05Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010708112", "updated_at": "2024-01-19T21:44:06Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_aff7864f521d4c969c775723377180b7", "object": "CustomsInfo", "created_at": - "2024-01-19T21:44:05Z", "updated_at": "2024-01-19T21:44:05Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_06b8d2d6b8c5439c8fd37b6b2810cafb", - "object": "CustomsItem", "created_at": "2024-01-19T21:44:05Z", "updated_at": - "2024-01-19T21:44:05Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_ddf99befb71311eebef3ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:44:05+00:00", "updated_at": - "2024-01-19T21:44:05+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_fbe46d2d9dfc4a8fb3e9d5674649795b", - "object": "Parcel", "created_at": "2024-01-19T21:44:05Z", "updated_at": "2024-01-19T21:44:05Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_3e88d677311049eca23f80db35f90c6a", "created_at": "2024-01-19T21:44:05Z", - "updated_at": "2024-01-19T21:44:06Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:44:05Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8845a2b290d0441169ef61aebca7c5d55.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_5e8ec0b475b941bb84c69f84aba84529", "object": - "Rate", "created_at": "2024-01-19T21:44:05Z", "updated_at": "2024-01-19T21:44:05Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_b165336d0f244ad4a55f223950e3ca79", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c1467bf06dc14094bfcec03326e974c0", - "object": "Rate", "created_at": "2024-01-19T21:44:05Z", "updated_at": "2024-01-19T21:44:05Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_b165336d0f244ad4a55f223950e3ca79", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_8655665576b74833a9ebbd7da208c010", - "object": "Rate", "created_at": "2024-01-19T21:44:05Z", "updated_at": "2024-01-19T21:44:05Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_b165336d0f244ad4a55f223950e3ca79", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_6b31278cfe1a4f94b4f4135330b3d922", "object": "Rate", "created_at": - "2024-01-19T21:44:05Z", "updated_at": "2024-01-19T21:44:05Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_b165336d0f244ad4a55f223950e3ca79", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_c6b7806fb690488c843c561de5996305", "object": "Rate", "created_at": - "2024-01-19T21:44:05Z", "updated_at": "2024-01-19T21:44:05Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_b165336d0f244ad4a55f223950e3ca79", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_5e8ec0b475b941bb84c69f84aba84529", - "object": "Rate", "created_at": "2024-01-19T21:44:05Z", "updated_at": "2024-01-19T21:44:05Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_b165336d0f244ad4a55f223950e3ca79", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_e3ac635c1ba644f28a6d074843ccc0cb", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708112", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:44:06Z", - "updated_at": "2024-01-19T21:44:06Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_b165336d0f244ad4a55f223950e3ca79", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrX2UzYWM2MzVjMWJhNjQ0ZjI4YTZkMDc0ODQzY2NjMGNi"}, - "to_address": {"id": "adr_ddf44ea4b71311eebc853cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:44:05+00:00", "updated_at": "2024-01-19T21:44:05+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_ddf99befb71311eebef3ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:44:05+00:00", "updated_at": - "2024-01-19T21:44:05+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_ddf44ea4b71311eebc853cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:44:05+00:00", "updated_at": "2024-01-19T21:44:05+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_b165336d0f244ad4a55f223950e3ca79", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_b165336d0f244ad4a55f223950e3ca79 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaed25e78ba7a7000d4f29 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.300772' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:47:57Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010708587", "updated_at": "2024-01-19T21:47:58Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_ca2a19b8928041cd809ab5b47c5521fb", "object": "CustomsInfo", "created_at": - "2024-01-19T21:47:57Z", "updated_at": "2024-01-19T21:47:57Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_e2fb530321e247e8a5ab9c067f8667e8", - "object": "CustomsItem", "created_at": "2024-01-19T21:47:57Z", "updated_at": - "2024-01-19T21:47:57Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_68912a7eb71411eeab6fac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:47:57+00:00", "updated_at": - "2024-01-19T21:47:57+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_0404b3d18d9e40db9e6a7a80637636fc", - "object": "Parcel", "created_at": "2024-01-19T21:47:57Z", "updated_at": "2024-01-19T21:47:57Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_a41c81fe8ae84303b085c0fade180c33", "created_at": "2024-01-19T21:47:58Z", - "updated_at": "2024-01-19T21:47:58Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:47:58Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8eca21cc49c1d4e32b2faa44b44c2e264.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_7b221a49338d4683a9c769d771e9b2a2", "object": - "Rate", "created_at": "2024-01-19T21:47:57Z", "updated_at": "2024-01-19T21:47:57Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_07e786ee4794481fa2d0aebad1ce5ac1", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c4ba04e9924e4b25a6d4f0817c6e1ea7", - "object": "Rate", "created_at": "2024-01-19T21:47:57Z", "updated_at": "2024-01-19T21:47:57Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_07e786ee4794481fa2d0aebad1ce5ac1", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_aa0283ca093e4d2fabfc5f5bf1b6250d", - "object": "Rate", "created_at": "2024-01-19T21:47:57Z", "updated_at": "2024-01-19T21:47:57Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_07e786ee4794481fa2d0aebad1ce5ac1", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_ce3023aa538143e5aad99fbf8faa887a", - "object": "Rate", "created_at": "2024-01-19T21:47:57Z", "updated_at": "2024-01-19T21:47:57Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_07e786ee4794481fa2d0aebad1ce5ac1", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_df8dbf1fd8714f99ad9138ad1b1c2ea8", "object": "Rate", "created_at": - "2024-01-19T21:47:57Z", "updated_at": "2024-01-19T21:47:57Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_07e786ee4794481fa2d0aebad1ce5ac1", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_c4ba04e9924e4b25a6d4f0817c6e1ea7", - "object": "Rate", "created_at": "2024-01-19T21:47:58Z", "updated_at": "2024-01-19T21:47:58Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_07e786ee4794481fa2d0aebad1ce5ac1", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_7d43932acb004e65b6315cca5131b596", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708587", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:47:58Z", - "updated_at": "2024-01-19T21:47:58Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_07e786ee4794481fa2d0aebad1ce5ac1", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzdkNDM5MzJhY2IwMDRlNjViNjMxNWNjYTUxMzFiNTk2"}, - "to_address": {"id": "adr_688e56e1b71411eea85d3cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:47:57+00:00", "updated_at": "2024-01-19T21:47:57+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_68912a7eb71411eeab6fac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:47:57+00:00", "updated_at": - "2024-01-19T21:47:57+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_688e56e1b71411eea85d3cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:47:57+00:00", "updated_at": "2024-01-19T21:47:57+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_07e786ee4794481fa2d0aebad1ce5ac1", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_07e786ee4794481fa2d0aebad1ce5ac1 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdab65aaee0de78bb02a001145c9 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '1.019487' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:49:53Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010709164", "updated_at": "2024-01-19T21:49:54Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_3d89b122deeb4bb2ae2daf31972ee0c6", "object": "CustomsInfo", "created_at": - "2024-01-19T21:49:53Z", "updated_at": "2024-01-19T21:49:53Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_1b2dd8572a02448a8f16e9330887e672", - "object": "CustomsItem", "created_at": "2024-01-19T21:49:53Z", "updated_at": - "2024-01-19T21:49:53Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_ad562e0db71411eebe173cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:49:53+00:00", "updated_at": - "2024-01-19T21:49:53+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_1cb5ccc1034b4320b6cb039f21dce504", - "object": "Parcel", "created_at": "2024-01-19T21:49:53Z", "updated_at": "2024-01-19T21:49:53Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_444bef03f2cc48d5b3b7d8a3c8c8c7d3", "created_at": "2024-01-19T21:49:53Z", - "updated_at": "2024-01-19T21:49:53Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:49:53Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8ff12b62d18484b1fb09fde381f723132.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_0a67cd32921c4dafba0a1f3b508aa892", "object": - "Rate", "created_at": "2024-01-19T21:49:53Z", "updated_at": "2024-01-19T21:49:53Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_a359beb6ac6b46189e5373c0373331cf", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_8cf7435c3a344c0bbf564ee40dcd7713", - "object": "Rate", "created_at": "2024-01-19T21:49:53Z", "updated_at": "2024-01-19T21:49:53Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_a359beb6ac6b46189e5373c0373331cf", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_70ff145793414970b8049a11fe0eb2a6", - "object": "Rate", "created_at": "2024-01-19T21:49:53Z", "updated_at": "2024-01-19T21:49:53Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_a359beb6ac6b46189e5373c0373331cf", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_e51be1a91847467c939dd0494a34ddca", - "object": "Rate", "created_at": "2024-01-19T21:49:53Z", "updated_at": "2024-01-19T21:49:53Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_a359beb6ac6b46189e5373c0373331cf", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_111d5e02b00f463693ae7741da0e8ff5", "object": "Rate", "created_at": - "2024-01-19T21:49:53Z", "updated_at": "2024-01-19T21:49:53Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_a359beb6ac6b46189e5373c0373331cf", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_8cf7435c3a344c0bbf564ee40dcd7713", - "object": "Rate", "created_at": "2024-01-19T21:49:53Z", "updated_at": "2024-01-19T21:49:53Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_a359beb6ac6b46189e5373c0373331cf", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_b65b081468d14f47a62623f59ff29a25", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010709164", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:49:54Z", - "updated_at": "2024-01-19T21:49:54Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_a359beb6ac6b46189e5373c0373331cf", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrX2I2NWIwODE0NjhkMTRmNDdhNjI2MjNmNTlmZjI5YTI1"}, - "to_address": {"id": "adr_ad53e4beb71411eebe163cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:49:53+00:00", "updated_at": "2024-01-19T21:49:53+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_ad562e0db71411eebe173cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:49:53+00:00", "updated_at": - "2024-01-19T21:49:53+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_ad53e4beb71411eebe163cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:49:53+00:00", "updated_at": "2024-01-19T21:49:53+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_a359beb6ac6b46189e5373c0373331cf", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_a359beb6ac6b46189e5373c0373331cf - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda765aaee80e78bb84d001187f4 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '1.248918' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:59:11Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010711570", "updated_at": "2024-01-19T21:59:12Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_228d7ba6f5ab4d858cf72968d66e0dc5", "object": "CustomsInfo", "created_at": - "2024-01-19T21:59:11Z", "updated_at": "2024-01-19T21:59:11Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_16d00a0cc8f344578a39033197643ae5", - "object": "CustomsItem", "created_at": "2024-01-19T21:59:11Z", "updated_at": - "2024-01-19T21:59:11Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_fa5bff86b71511eeb098ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:59:11+00:00", "updated_at": - "2024-01-19T21:59:11+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_313f82dd41764c23a18fa763d73aca6c", - "object": "Parcel", "created_at": "2024-01-19T21:59:11Z", "updated_at": "2024-01-19T21:59:11Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_e144febe7c98477aa662bc67f3dd66d3", "created_at": "2024-01-19T21:59:12Z", - "updated_at": "2024-01-19T21:59:12Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:59:12Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8506654133562402c99f69fbbc3e6d604.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_d9fe00f524344190aa0d317b2b197eab", "object": - "Rate", "created_at": "2024-01-19T21:59:11Z", "updated_at": "2024-01-19T21:59:11Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_a8711ec8189b4809b74df87fcab2c720", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_720f45efccac45968afa076fb60f8a3d", - "object": "Rate", "created_at": "2024-01-19T21:59:11Z", "updated_at": "2024-01-19T21:59:11Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_a8711ec8189b4809b74df87fcab2c720", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_9b6369637170478a8be35888465721f6", "object": "Rate", "created_at": - "2024-01-19T21:59:11Z", "updated_at": "2024-01-19T21:59:11Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_a8711ec8189b4809b74df87fcab2c720", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_4cf97d409011472e9755ba1976a936d8", "object": "Rate", "created_at": - "2024-01-19T21:59:11Z", "updated_at": "2024-01-19T21:59:11Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_a8711ec8189b4809b74df87fcab2c720", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_41a639dc002e4b5487139d6a9c70c69b", "object": "Rate", "created_at": - "2024-01-19T21:59:11Z", "updated_at": "2024-01-19T21:59:11Z", "mode": "test", - "service": "Priority", "carrier": "USPS", "rate": "7.99", "currency": "USD", - "retail_rate": "14.05", "retail_currency": "USD", "list_rate": "10.27", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": - "shp_a8711ec8189b4809b74df87fcab2c720", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_41a639dc002e4b5487139d6a9c70c69b", - "object": "Rate", "created_at": "2024-01-19T21:59:12Z", "updated_at": "2024-01-19T21:59:12Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_a8711ec8189b4809b74df87fcab2c720", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_83b63aad52a04838b77f095df61d75e2", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711570", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:59:12Z", - "updated_at": "2024-01-19T21:59:12Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_a8711ec8189b4809b74df87fcab2c720", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzgzYjYzYWFkNTJhMDQ4MzhiNzdmMDk1ZGY2MWQ3NWUy"}, - "to_address": {"id": "adr_fa593bcdb71511eebee9ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T21:59:11+00:00", "updated_at": "2024-01-19T21:59:12+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_fa5bff86b71511eeb098ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:59:11+00:00", "updated_at": - "2024-01-19T21:59:11+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_fa593bcdb71511eebee9ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:59:11+00:00", "updated_at": "2024-01-19T21:59:12+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_a8711ec8189b4809b74df87fcab2c720", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_a8711ec8189b4809b74df87fcab2c720 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf0afe798bffa000f8b0d - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.161883' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T22:02:07Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010711983", "updated_at": "2024-01-19T22:02:08Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_a46fab7ec3b84c6eaa1ebbd4f75e340a", "object": "CustomsInfo", "created_at": - "2024-01-19T22:02:07Z", "updated_at": "2024-01-19T22:02:07Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_3c9966bde84448f2abb2786c4a929f40", - "object": "CustomsItem", "created_at": "2024-01-19T22:02:07Z", "updated_at": - "2024-01-19T22:02:07Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_631c7dceb71611ee91f9ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T22:02:07+00:00", "updated_at": - "2024-01-19T22:02:07+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_28f8983d18fd47159d7452530d1fba08", - "object": "Parcel", "created_at": "2024-01-19T22:02:07Z", "updated_at": "2024-01-19T22:02:07Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_72cdd315d0154a38ab2e13adcbfebee5", "created_at": "2024-01-19T22:02:08Z", - "updated_at": "2024-01-19T22:02:08Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T22:02:08Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8da415309e7c04750933fc3db01d3fed9.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_d1debf0240c24a36b42dbbe093d0eb29", "object": - "Rate", "created_at": "2024-01-19T22:02:07Z", "updated_at": "2024-01-19T22:02:07Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_0bb7007bf4124788a216e956c7d097b0", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_0e3870e3487a4833a5689a5ac540f351", - "object": "Rate", "created_at": "2024-01-19T22:02:07Z", "updated_at": "2024-01-19T22:02:07Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_0bb7007bf4124788a216e956c7d097b0", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_f331ddb990644e7eac854a5605862007", "object": "Rate", "created_at": - "2024-01-19T22:02:07Z", "updated_at": "2024-01-19T22:02:07Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_0bb7007bf4124788a216e956c7d097b0", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_9feb05bc81fe4065b9cb64dd29e0d75c", "object": "Rate", "created_at": - "2024-01-19T22:02:07Z", "updated_at": "2024-01-19T22:02:07Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_0bb7007bf4124788a216e956c7d097b0", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_0a8400a4b07744e0b9ec4a6ab8f2343f", "object": "Rate", "created_at": - "2024-01-19T22:02:07Z", "updated_at": "2024-01-19T22:02:07Z", "mode": "test", - "service": "Priority", "carrier": "USPS", "rate": "7.99", "currency": "USD", - "retail_rate": "14.05", "retail_currency": "USD", "list_rate": "10.27", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": - "shp_0bb7007bf4124788a216e956c7d097b0", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_0a8400a4b07744e0b9ec4a6ab8f2343f", - "object": "Rate", "created_at": "2024-01-19T22:02:08Z", "updated_at": "2024-01-19T22:02:08Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_0bb7007bf4124788a216e956c7d097b0", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_992998acb44449bea4154cf9a303e148", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711983", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:02:08Z", - "updated_at": "2024-01-19T22:02:08Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_0bb7007bf4124788a216e956c7d097b0", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzk5Mjk5OGFjYjQ0NDQ5YmVhNDE1NGNmOWEzMDNlMTQ4"}, - "to_address": {"id": "adr_6319dd55b71611ee91f7ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T22:02:07+00:00", "updated_at": "2024-01-19T22:02:07+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_631c7dceb71611ee91f9ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T22:02:07+00:00", "updated_at": - "2024-01-19T22:02:07+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_6319dd55b71611ee91f7ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T22:02:07+00:00", "updated_at": "2024-01-19T22:02:07+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_0bb7007bf4124788a216e956c7d097b0", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_0bb7007bf4124788a216e956c7d097b0 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf15fe798c86100102877 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.086506' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T22:05:56Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010712881", "updated_at": "2024-01-19T22:05:56Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_b116311eb7124a0caeee61c8ec732ee1", "object": "CustomsInfo", "created_at": - "2024-01-19T22:05:56Z", "updated_at": "2024-01-19T22:05:56Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_35b3c0271f554f6d9a9d79ff771e0bb7", - "object": "CustomsItem", "created_at": "2024-01-19T22:05:56Z", "updated_at": - "2024-01-19T22:05:56Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_eb5f3185b71611ee8e05ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T22:05:56+00:00", "updated_at": - "2024-01-19T22:05:56+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_06b62bee09004e2d9705c7e51680ddae", - "object": "Parcel", "created_at": "2024-01-19T22:05:56Z", "updated_at": "2024-01-19T22:05:56Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_08e52680f50e4d42a986352762b4d017", "created_at": "2024-01-19T22:05:56Z", - "updated_at": "2024-01-19T22:05:56Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T22:05:56Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e818ea17ed97e64554b9469e0d4481f628.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_2f38d37acd674f02a57791ad433a10cb", "object": - "Rate", "created_at": "2024-01-19T22:05:56Z", "updated_at": "2024-01-19T22:05:56Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_5242c5001abf48edade8dd57ff05ab03", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_a3ebce8e8389433ca3049a9fbba58d4a", - "object": "Rate", "created_at": "2024-01-19T22:05:56Z", "updated_at": "2024-01-19T22:05:56Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_5242c5001abf48edade8dd57ff05ab03", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_1d8767ed8700437ca0bcc794e679f1e4", - "object": "Rate", "created_at": "2024-01-19T22:05:56Z", "updated_at": "2024-01-19T22:05:56Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_5242c5001abf48edade8dd57ff05ab03", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_600e14e077284d4fb2cc12f14e494aa8", - "object": "Rate", "created_at": "2024-01-19T22:05:56Z", "updated_at": "2024-01-19T22:05:56Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_5242c5001abf48edade8dd57ff05ab03", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_a4b0009684854f1da41bf6a8b0491913", "object": "Rate", "created_at": - "2024-01-19T22:05:56Z", "updated_at": "2024-01-19T22:05:56Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_5242c5001abf48edade8dd57ff05ab03", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_a3ebce8e8389433ca3049a9fbba58d4a", - "object": "Rate", "created_at": "2024-01-19T22:05:56Z", "updated_at": "2024-01-19T22:05:56Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_5242c5001abf48edade8dd57ff05ab03", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_d3c08c000a8e4017858df5cbc89db02f", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010712881", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:05:57Z", - "updated_at": "2024-01-19T22:05:57Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_5242c5001abf48edade8dd57ff05ab03", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrX2QzYzA4YzAwMGE4ZTQwMTc4NThkZjVjYmM4OWRiMDJm"}, - "to_address": {"id": "adr_eb5d3264b71611ee8054ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T22:05:56+00:00", "updated_at": "2024-01-19T22:05:56+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_eb5f3185b71611ee8e05ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T22:05:56+00:00", "updated_at": - "2024-01-19T22:05:56+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_eb5d3264b71611ee8054ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T22:05:56+00:00", "updated_at": "2024-01-19T22:05:56+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_5242c5001abf48edade8dd57ff05ab03", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_5242c5001abf48edade8dd57ff05ab03 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf244e798d1230010cf1d - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.021261' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_shipments_refund.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_shipments_refund.yaml deleted file mode 100644 index d78dd404..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_shipments_refund.yaml +++ /dev/null @@ -1,2256 +0,0 @@ -interactions: -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:42:13Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010707825", "updated_at": "2024-01-19T21:42:14Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_5d98b37df74247e68b0da46c6978cd46", "object": "CustomsInfo", "created_at": - "2024-01-19T21:42:13Z", "updated_at": "2024-01-19T21:42:13Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_9f88b1b8df424268871661191f7a6e6c", - "object": "CustomsItem", "created_at": "2024-01-19T21:42:13Z", "updated_at": - "2024-01-19T21:42:13Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_9b98e867b71311eea706ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:42:13+00:00", "updated_at": - "2024-01-19T21:42:13+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_ecf586f23f1a4bf79ed23a8defffb4d1", - "object": "Parcel", "created_at": "2024-01-19T21:42:13Z", "updated_at": "2024-01-19T21:42:13Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_e631cfefa4af4f76998760009fe3abbb", "created_at": "2024-01-19T21:42:14Z", - "updated_at": "2024-01-19T21:42:14Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:42:14Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e88f2fe403012d473a844532ff9d676d24.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_f03d76ec9fa84071b243b0f4857ec723", "object": - "Rate", "created_at": "2024-01-19T21:42:13Z", "updated_at": "2024-01-19T21:42:13Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_0eef660a0f264235bb55bf775e346f70", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_04ac206bc5af43a9b37149093f242146", - "object": "Rate", "created_at": "2024-01-19T21:42:13Z", "updated_at": "2024-01-19T21:42:13Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_0eef660a0f264235bb55bf775e346f70", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_9eac2eff996f481b8fe60d47c13a8e93", - "object": "Rate", "created_at": "2024-01-19T21:42:13Z", "updated_at": "2024-01-19T21:42:13Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_0eef660a0f264235bb55bf775e346f70", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_44d1e8c9604447adb354ef2d447c6361", - "object": "Rate", "created_at": "2024-01-19T21:42:13Z", "updated_at": "2024-01-19T21:42:13Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_0eef660a0f264235bb55bf775e346f70", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_0a9e24fb554e4da7917dd62917379fd9", "object": "Rate", "created_at": - "2024-01-19T21:42:13Z", "updated_at": "2024-01-19T21:42:13Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_0eef660a0f264235bb55bf775e346f70", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_04ac206bc5af43a9b37149093f242146", - "object": "Rate", "created_at": "2024-01-19T21:42:14Z", "updated_at": "2024-01-19T21:42:14Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_0eef660a0f264235bb55bf775e346f70", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_027e950f01834ef8a73523e505051fb0", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010707825", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:42:14Z", - "updated_at": "2024-01-19T21:42:14Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_0eef660a0f264235bb55bf775e346f70", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzAyN2U5NTBmMDE4MzRlZjhhNzM1MjNlNTA1MDUxZmIw"}, - "to_address": {"id": "adr_9b95fc6db71311eea4483cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:42:13+00:00", "updated_at": "2024-01-19T21:42:14+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_9b98e867b71311eea706ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:42:13+00:00", "updated_at": - "2024-01-19T21:42:13+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_9b95fc6db71311eea4483cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:42:13+00:00", "updated_at": "2024-01-19T21:42:14+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_0eef660a0f264235bb55bf775e346f70", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_0eef660a0f264235bb55bf775e346f70 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaecb5e78b9f85000d0d36 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.050294' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '2' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments/shp_0eef660a0f264235bb55bf775e346f70/refund - response: - body: - string: '{"created_at": "2024-01-19T21:42:13Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010707825", "updated_at": "2024-01-19T21:42:15Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_5d98b37df74247e68b0da46c6978cd46", "object": "CustomsInfo", "created_at": - "2024-01-19T21:42:13Z", "updated_at": "2024-01-19T21:42:13Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_9f88b1b8df424268871661191f7a6e6c", - "object": "CustomsItem", "created_at": "2024-01-19T21:42:13Z", "updated_at": - "2024-01-19T21:42:13Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_9b98e867b71311eea706ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:42:13+00:00", "updated_at": - "2024-01-19T21:42:13+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_ecf586f23f1a4bf79ed23a8defffb4d1", - "object": "Parcel", "created_at": "2024-01-19T21:42:13Z", "updated_at": "2024-01-19T21:42:13Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_e631cfefa4af4f76998760009fe3abbb", "created_at": "2024-01-19T21:42:14Z", - "updated_at": "2024-01-19T21:42:14Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:42:14Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e88f2fe403012d473a844532ff9d676d24.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_f03d76ec9fa84071b243b0f4857ec723", "object": - "Rate", "created_at": "2024-01-19T21:42:13Z", "updated_at": "2024-01-19T21:42:13Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_0eef660a0f264235bb55bf775e346f70", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_04ac206bc5af43a9b37149093f242146", - "object": "Rate", "created_at": "2024-01-19T21:42:13Z", "updated_at": "2024-01-19T21:42:13Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_0eef660a0f264235bb55bf775e346f70", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_9eac2eff996f481b8fe60d47c13a8e93", - "object": "Rate", "created_at": "2024-01-19T21:42:13Z", "updated_at": "2024-01-19T21:42:13Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_0eef660a0f264235bb55bf775e346f70", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_44d1e8c9604447adb354ef2d447c6361", - "object": "Rate", "created_at": "2024-01-19T21:42:13Z", "updated_at": "2024-01-19T21:42:13Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_0eef660a0f264235bb55bf775e346f70", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_0a9e24fb554e4da7917dd62917379fd9", "object": "Rate", "created_at": - "2024-01-19T21:42:13Z", "updated_at": "2024-01-19T21:42:13Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_0eef660a0f264235bb55bf775e346f70", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": "submitted", "scan_form": null, "selected_rate": {"id": "rate_04ac206bc5af43a9b37149093f242146", - "object": "Rate", "created_at": "2024-01-19T21:42:14Z", "updated_at": "2024-01-19T21:42:14Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_0eef660a0f264235bb55bf775e346f70", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_027e950f01834ef8a73523e505051fb0", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010707825", - "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:42:14Z", - "updated_at": "2024-01-19T21:42:14Z", "signed_by": null, "weight": null, "est_delivery_date": - "2024-01-19T21:42:14Z", "shipment_id": "shp_0eef660a0f264235bb55bf775e346f70", - "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": - "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-19T21:42:14Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", - "message": "Shipping Label Created", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-20T10:19:14Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": - null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": - null}, "public_url": "https://track.easypost.com/djE6dHJrXzAyN2U5NTBmMDE4MzRlZjhhNzM1MjNlNTA1MDUxZmIw"}, - "to_address": {"id": "adr_9b95fc6db71311eea4483cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:42:13+00:00", "updated_at": "2024-01-19T21:42:14+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_9b98e867b71311eea706ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:42:13+00:00", "updated_at": - "2024-01-19T21:42:13+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_9b95fc6db71311eea4483cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:42:13+00:00", "updated_at": "2024-01-19T21:42:14+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_0eef660a0f264235bb55bf775e346f70", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '9487' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaecb7e78b9f86000d0ddb - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.257168' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:44:10Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010708136", "updated_at": "2024-01-19T21:44:11Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_becaefc24b134ab396ff6fae0983d374", "object": "CustomsInfo", "created_at": - "2024-01-19T21:44:10Z", "updated_at": "2024-01-19T21:44:10Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_74b1d752d4384293acbf3e46ac170278", - "object": "CustomsItem", "created_at": "2024-01-19T21:44:10Z", "updated_at": - "2024-01-19T21:44:10Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_e1562a7eb71311eebfe4ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:44:10+00:00", "updated_at": - "2024-01-19T21:44:10+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_6353800e47534e4bac70d1273a954f9f", - "object": "Parcel", "created_at": "2024-01-19T21:44:10Z", "updated_at": "2024-01-19T21:44:10Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_fc34e1dce27847578dbc6f763ecbb418", "created_at": "2024-01-19T21:44:11Z", - "updated_at": "2024-01-19T21:44:11Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:44:11Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e80ac65ea8aaf046bca9cdc96ba8629998.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_47f1673e42dd4190ad20b7cbea4958f7", "object": - "Rate", "created_at": "2024-01-19T21:44:10Z", "updated_at": "2024-01-19T21:44:10Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_819ba88d502c44989bf170bbe55e50ce", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_95812fd2b3a04a85a8efad186970251e", - "object": "Rate", "created_at": "2024-01-19T21:44:10Z", "updated_at": "2024-01-19T21:44:10Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_819ba88d502c44989bf170bbe55e50ce", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_265cbc7de269409fbe7442e6a9bbe339", - "object": "Rate", "created_at": "2024-01-19T21:44:10Z", "updated_at": "2024-01-19T21:44:10Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_819ba88d502c44989bf170bbe55e50ce", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_27657cb848364cada19df97ea3b67ad0", - "object": "Rate", "created_at": "2024-01-19T21:44:10Z", "updated_at": "2024-01-19T21:44:10Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_819ba88d502c44989bf170bbe55e50ce", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_308f859a341d4ef2848915212d87c12c", "object": "Rate", "created_at": - "2024-01-19T21:44:10Z", "updated_at": "2024-01-19T21:44:10Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_819ba88d502c44989bf170bbe55e50ce", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_95812fd2b3a04a85a8efad186970251e", - "object": "Rate", "created_at": "2024-01-19T21:44:11Z", "updated_at": "2024-01-19T21:44:11Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_819ba88d502c44989bf170bbe55e50ce", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_da06fe48ef2740d987ea5320357bb1b9", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708136", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:44:11Z", - "updated_at": "2024-01-19T21:44:11Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_819ba88d502c44989bf170bbe55e50ce", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrX2RhMDZmZTQ4ZWYyNzQwZDk4N2VhNTMyMDM1N2JiMWI5"}, - "to_address": {"id": "adr_e1539227b71311ee8ed0ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T21:44:10+00:00", "updated_at": "2024-01-19T21:44:11+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_e1562a7eb71311eebfe4ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:44:10+00:00", "updated_at": - "2024-01-19T21:44:10+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_e1539227b71311ee8ed0ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:44:10+00:00", "updated_at": "2024-01-19T21:44:11+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_819ba88d502c44989bf170bbe55e50ce", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_819ba88d502c44989bf170bbe55e50ce - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaed2ae78ba7ab000d523c - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.047494' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '2' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments/shp_819ba88d502c44989bf170bbe55e50ce/refund - response: - body: - string: '{"created_at": "2024-01-19T21:44:10Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010708136", "updated_at": "2024-01-19T21:44:12Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_becaefc24b134ab396ff6fae0983d374", "object": "CustomsInfo", "created_at": - "2024-01-19T21:44:10Z", "updated_at": "2024-01-19T21:44:10Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_74b1d752d4384293acbf3e46ac170278", - "object": "CustomsItem", "created_at": "2024-01-19T21:44:10Z", "updated_at": - "2024-01-19T21:44:10Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_e1562a7eb71311eebfe4ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:44:10+00:00", "updated_at": - "2024-01-19T21:44:10+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_6353800e47534e4bac70d1273a954f9f", - "object": "Parcel", "created_at": "2024-01-19T21:44:10Z", "updated_at": "2024-01-19T21:44:10Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_fc34e1dce27847578dbc6f763ecbb418", "created_at": "2024-01-19T21:44:11Z", - "updated_at": "2024-01-19T21:44:11Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:44:11Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e80ac65ea8aaf046bca9cdc96ba8629998.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_47f1673e42dd4190ad20b7cbea4958f7", "object": - "Rate", "created_at": "2024-01-19T21:44:10Z", "updated_at": "2024-01-19T21:44:10Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_819ba88d502c44989bf170bbe55e50ce", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_95812fd2b3a04a85a8efad186970251e", - "object": "Rate", "created_at": "2024-01-19T21:44:10Z", "updated_at": "2024-01-19T21:44:10Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_819ba88d502c44989bf170bbe55e50ce", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_265cbc7de269409fbe7442e6a9bbe339", - "object": "Rate", "created_at": "2024-01-19T21:44:10Z", "updated_at": "2024-01-19T21:44:10Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_819ba88d502c44989bf170bbe55e50ce", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_27657cb848364cada19df97ea3b67ad0", - "object": "Rate", "created_at": "2024-01-19T21:44:10Z", "updated_at": "2024-01-19T21:44:10Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_819ba88d502c44989bf170bbe55e50ce", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_308f859a341d4ef2848915212d87c12c", "object": "Rate", "created_at": - "2024-01-19T21:44:10Z", "updated_at": "2024-01-19T21:44:10Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_819ba88d502c44989bf170bbe55e50ce", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": "submitted", "scan_form": null, "selected_rate": {"id": "rate_95812fd2b3a04a85a8efad186970251e", - "object": "Rate", "created_at": "2024-01-19T21:44:11Z", "updated_at": "2024-01-19T21:44:11Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_819ba88d502c44989bf170bbe55e50ce", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_da06fe48ef2740d987ea5320357bb1b9", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708136", - "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:44:11Z", - "updated_at": "2024-01-19T21:44:11Z", "signed_by": null, "weight": null, "est_delivery_date": - "2024-01-19T21:44:11Z", "shipment_id": "shp_819ba88d502c44989bf170bbe55e50ce", - "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": - "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-19T21:44:11Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", - "message": "Shipping Label Created", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-20T10:21:11Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": - null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": - null}, "public_url": "https://track.easypost.com/djE6dHJrX2RhMDZmZTQ4ZWYyNzQwZDk4N2VhNTMyMDM1N2JiMWI5"}, - "to_address": {"id": "adr_e1539227b71311ee8ed0ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T21:44:10+00:00", "updated_at": "2024-01-19T21:44:11+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_e1562a7eb71311eebfe4ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:44:10+00:00", "updated_at": - "2024-01-19T21:44:10+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_e1539227b71311ee8ed0ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:44:10+00:00", "updated_at": "2024-01-19T21:44:11+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_819ba88d502c44989bf170bbe55e50ce", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '9487' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaed2ce78ba7ac000d52f3 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.185817' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:48:03Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010708617", "updated_at": "2024-01-19T21:48:04Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_e4055235836344ddbb69ba7bdde7c345", "object": "CustomsInfo", "created_at": - "2024-01-19T21:48:03Z", "updated_at": "2024-01-19T21:48:03Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_e4adcd1bed4b4645b83bb6d7878ea6c0", - "object": "CustomsItem", "created_at": "2024-01-19T21:48:03Z", "updated_at": - "2024-01-19T21:48:03Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_6bc42448b71411eea96f3cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:48:03+00:00", "updated_at": - "2024-01-19T21:48:03+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_d4d112489d7a4be9ad65dccd206e104c", - "object": "Parcel", "created_at": "2024-01-19T21:48:03Z", "updated_at": "2024-01-19T21:48:03Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_3fc33407cca64f119695252b1fc4189c", "created_at": "2024-01-19T21:48:03Z", - "updated_at": "2024-01-19T21:48:03Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:48:03Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8be89ecd2166f4487a15184b0414b8fe4.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_493a0f92dabd418094fa71f8c38b6f2e", "object": - "Rate", "created_at": "2024-01-19T21:48:03Z", "updated_at": "2024-01-19T21:48:03Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_12aae80b577c453d80cb5b10919b5a86", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_56f91437ff024cac9ca03d1d8057037e", - "object": "Rate", "created_at": "2024-01-19T21:48:03Z", "updated_at": "2024-01-19T21:48:03Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_12aae80b577c453d80cb5b10919b5a86", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_cc3b5977741d433980f525967a53c3dc", - "object": "Rate", "created_at": "2024-01-19T21:48:03Z", "updated_at": "2024-01-19T21:48:03Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_12aae80b577c453d80cb5b10919b5a86", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_a76032ca393341fca5cab4531af49a9d", - "object": "Rate", "created_at": "2024-01-19T21:48:03Z", "updated_at": "2024-01-19T21:48:03Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_12aae80b577c453d80cb5b10919b5a86", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_52f217e4f1e84f6ba403fc9396aee9e4", "object": "Rate", "created_at": - "2024-01-19T21:48:03Z", "updated_at": "2024-01-19T21:48:03Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_12aae80b577c453d80cb5b10919b5a86", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_56f91437ff024cac9ca03d1d8057037e", - "object": "Rate", "created_at": "2024-01-19T21:48:03Z", "updated_at": "2024-01-19T21:48:03Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_12aae80b577c453d80cb5b10919b5a86", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_3b2caaee5d3d432c982bfe28ea93c96b", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708617", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:48:04Z", - "updated_at": "2024-01-19T21:48:04Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_12aae80b577c453d80cb5b10919b5a86", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzNiMmNhYWVlNWQzZDQzMmM5ODJiZmUyOGVhOTNjOTZi"}, - "to_address": {"id": "adr_6bc1d376b71411eeac8cac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:48:03+00:00", "updated_at": "2024-01-19T21:48:03+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_6bc42448b71411eea96f3cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:48:03+00:00", "updated_at": - "2024-01-19T21:48:03+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_6bc1d376b71411eeac8cac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:48:03+00:00", "updated_at": "2024-01-19T21:48:03+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_12aae80b577c453d80cb5b10919b5a86", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_12aae80b577c453d80cb5b10919b5a86 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdad65aaee12e78bb02e00114936 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '1.237852' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '2' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments/shp_12aae80b577c453d80cb5b10919b5a86/refund - response: - body: - string: '{"created_at": "2024-01-19T21:48:03Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010708617", "updated_at": "2024-01-19T21:48:04Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_e4055235836344ddbb69ba7bdde7c345", "object": "CustomsInfo", "created_at": - "2024-01-19T21:48:03Z", "updated_at": "2024-01-19T21:48:03Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_e4adcd1bed4b4645b83bb6d7878ea6c0", - "object": "CustomsItem", "created_at": "2024-01-19T21:48:03Z", "updated_at": - "2024-01-19T21:48:03Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_6bc42448b71411eea96f3cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:48:03+00:00", "updated_at": - "2024-01-19T21:48:03+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_d4d112489d7a4be9ad65dccd206e104c", - "object": "Parcel", "created_at": "2024-01-19T21:48:03Z", "updated_at": "2024-01-19T21:48:03Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_3fc33407cca64f119695252b1fc4189c", "created_at": "2024-01-19T21:48:03Z", - "updated_at": "2024-01-19T21:48:03Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:48:03Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8be89ecd2166f4487a15184b0414b8fe4.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_493a0f92dabd418094fa71f8c38b6f2e", "object": - "Rate", "created_at": "2024-01-19T21:48:03Z", "updated_at": "2024-01-19T21:48:03Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_12aae80b577c453d80cb5b10919b5a86", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_56f91437ff024cac9ca03d1d8057037e", - "object": "Rate", "created_at": "2024-01-19T21:48:03Z", "updated_at": "2024-01-19T21:48:03Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_12aae80b577c453d80cb5b10919b5a86", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_cc3b5977741d433980f525967a53c3dc", - "object": "Rate", "created_at": "2024-01-19T21:48:03Z", "updated_at": "2024-01-19T21:48:03Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_12aae80b577c453d80cb5b10919b5a86", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_a76032ca393341fca5cab4531af49a9d", - "object": "Rate", "created_at": "2024-01-19T21:48:03Z", "updated_at": "2024-01-19T21:48:03Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_12aae80b577c453d80cb5b10919b5a86", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_52f217e4f1e84f6ba403fc9396aee9e4", "object": "Rate", "created_at": - "2024-01-19T21:48:03Z", "updated_at": "2024-01-19T21:48:03Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_12aae80b577c453d80cb5b10919b5a86", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": "submitted", "scan_form": null, "selected_rate": {"id": "rate_56f91437ff024cac9ca03d1d8057037e", - "object": "Rate", "created_at": "2024-01-19T21:48:03Z", "updated_at": "2024-01-19T21:48:03Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_12aae80b577c453d80cb5b10919b5a86", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_3b2caaee5d3d432c982bfe28ea93c96b", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708617", - "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:48:04Z", - "updated_at": "2024-01-19T21:48:04Z", "signed_by": null, "weight": null, "est_delivery_date": - "2024-01-19T21:48:04Z", "shipment_id": "shp_12aae80b577c453d80cb5b10919b5a86", - "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": - "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-19T21:48:04Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", - "message": "Shipping Label Created", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-20T10:25:04Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": - null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": - null}, "public_url": "https://track.easypost.com/djE6dHJrXzNiMmNhYWVlNWQzZDQzMmM5ODJiZmUyOGVhOTNjOTZi"}, - "to_address": {"id": "adr_6bc1d376b71411eeac8cac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:48:03+00:00", "updated_at": "2024-01-19T21:48:03+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_6bc42448b71411eea96f3cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:48:03+00:00", "updated_at": - "2024-01-19T21:48:03+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_6bc1d376b71411eeac8cac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:48:03+00:00", "updated_at": "2024-01-19T21:48:03+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_12aae80b577c453d80cb5b10919b5a86", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '9487' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdab65aaee14e78bb04600114a20 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.207116' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:49:58Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010709218", "updated_at": "2024-01-19T21:49:59Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_2a3b9eec005c4a958f1d2c3691983e0d", "object": "CustomsInfo", "created_at": - "2024-01-19T21:49:58Z", "updated_at": "2024-01-19T21:49:58Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_76e41c26300b47e9a29917e5f02d5e68", - "object": "CustomsItem", "created_at": "2024-01-19T21:49:58Z", "updated_at": - "2024-01-19T21:49:58Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_b0b92519b71411ee907dac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:49:58+00:00", "updated_at": - "2024-01-19T21:49:58+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_dbe8839cbe954265bb52bc2f6b4f60d2", - "object": "Parcel", "created_at": "2024-01-19T21:49:58Z", "updated_at": "2024-01-19T21:49:58Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_e52a327629f14745b88bd58b928df293", "created_at": "2024-01-19T21:49:59Z", - "updated_at": "2024-01-19T21:49:59Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:49:59Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8aa72932c72fb4320a9138e068a9d29ed.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_c0eac0e912104ddcaebbcbcf40bf3304", "object": - "Rate", "created_at": "2024-01-19T21:49:58Z", "updated_at": "2024-01-19T21:49:58Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_348bdb111c984710a74f9ccd12885134", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_5538a07f95d84dbcbb27bcd1d29a15c6", - "object": "Rate", "created_at": "2024-01-19T21:49:58Z", "updated_at": "2024-01-19T21:49:58Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_348bdb111c984710a74f9ccd12885134", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_cea8c1c8e8234e5bbea0cfc485746a42", - "object": "Rate", "created_at": "2024-01-19T21:49:58Z", "updated_at": "2024-01-19T21:49:58Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_348bdb111c984710a74f9ccd12885134", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_549bf2f7b9fe40839e10d87f240f82a5", - "object": "Rate", "created_at": "2024-01-19T21:49:58Z", "updated_at": "2024-01-19T21:49:58Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_348bdb111c984710a74f9ccd12885134", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_f4ae7ce1d0834afcb1924522d334e4d8", "object": "Rate", "created_at": - "2024-01-19T21:49:58Z", "updated_at": "2024-01-19T21:49:58Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_348bdb111c984710a74f9ccd12885134", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_5538a07f95d84dbcbb27bcd1d29a15c6", - "object": "Rate", "created_at": "2024-01-19T21:49:59Z", "updated_at": "2024-01-19T21:49:59Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_348bdb111c984710a74f9ccd12885134", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_5d221d466e41456ba74da43a42102b83", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010709218", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:49:59Z", - "updated_at": "2024-01-19T21:49:59Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_348bdb111c984710a74f9ccd12885134", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzVkMjIxZDQ2NmU0MTQ1NmJhNzRkYTQzYTQyMTAyYjgz"}, - "to_address": {"id": "adr_b0b6d151b71411ee8245ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:49:58+00:00", "updated_at": "2024-01-19T21:49:58+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_b0b92519b71411ee907dac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:49:58+00:00", "updated_at": - "2024-01-19T21:49:58+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_b0b6d151b71411ee8245ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:49:58+00:00", "updated_at": "2024-01-19T21:49:58+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_348bdb111c984710a74f9ccd12885134", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_348bdb111c984710a74f9ccd12885134 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda965aaee86e78bb86800118b41 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '1.004124' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '2' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments/shp_348bdb111c984710a74f9ccd12885134/refund - response: - body: - string: '{"created_at": "2024-01-19T21:49:58Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010709218", "updated_at": "2024-01-19T21:49:59Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_2a3b9eec005c4a958f1d2c3691983e0d", "object": "CustomsInfo", "created_at": - "2024-01-19T21:49:58Z", "updated_at": "2024-01-19T21:49:58Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_76e41c26300b47e9a29917e5f02d5e68", - "object": "CustomsItem", "created_at": "2024-01-19T21:49:58Z", "updated_at": - "2024-01-19T21:49:58Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_b0b92519b71411ee907dac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:49:58+00:00", "updated_at": - "2024-01-19T21:49:58+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_dbe8839cbe954265bb52bc2f6b4f60d2", - "object": "Parcel", "created_at": "2024-01-19T21:49:58Z", "updated_at": "2024-01-19T21:49:58Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_e52a327629f14745b88bd58b928df293", "created_at": "2024-01-19T21:49:59Z", - "updated_at": "2024-01-19T21:49:59Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:49:59Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8aa72932c72fb4320a9138e068a9d29ed.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_c0eac0e912104ddcaebbcbcf40bf3304", "object": - "Rate", "created_at": "2024-01-19T21:49:58Z", "updated_at": "2024-01-19T21:49:58Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_348bdb111c984710a74f9ccd12885134", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_5538a07f95d84dbcbb27bcd1d29a15c6", - "object": "Rate", "created_at": "2024-01-19T21:49:58Z", "updated_at": "2024-01-19T21:49:58Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_348bdb111c984710a74f9ccd12885134", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_cea8c1c8e8234e5bbea0cfc485746a42", - "object": "Rate", "created_at": "2024-01-19T21:49:58Z", "updated_at": "2024-01-19T21:49:58Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_348bdb111c984710a74f9ccd12885134", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_549bf2f7b9fe40839e10d87f240f82a5", - "object": "Rate", "created_at": "2024-01-19T21:49:58Z", "updated_at": "2024-01-19T21:49:58Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_348bdb111c984710a74f9ccd12885134", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_f4ae7ce1d0834afcb1924522d334e4d8", "object": "Rate", "created_at": - "2024-01-19T21:49:58Z", "updated_at": "2024-01-19T21:49:58Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_348bdb111c984710a74f9ccd12885134", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": "submitted", "scan_form": null, "selected_rate": {"id": "rate_5538a07f95d84dbcbb27bcd1d29a15c6", - "object": "Rate", "created_at": "2024-01-19T21:49:59Z", "updated_at": "2024-01-19T21:49:59Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_348bdb111c984710a74f9ccd12885134", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_5d221d466e41456ba74da43a42102b83", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010709218", - "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:49:59Z", - "updated_at": "2024-01-19T21:49:59Z", "signed_by": null, "weight": null, "est_delivery_date": - "2024-01-19T21:49:59Z", "shipment_id": "shp_348bdb111c984710a74f9ccd12885134", - "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": - "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-19T21:49:59Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", - "message": "Shipping Label Created", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-20T10:26:59Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": - null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": - null}, "public_url": "https://track.easypost.com/djE6dHJrXzVkMjIxZDQ2NmU0MTQ1NmJhNzRkYTQzYTQyMTAyYjgz"}, - "to_address": {"id": "adr_b0b6d151b71411ee8245ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:49:58+00:00", "updated_at": "2024-01-19T21:49:58+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_b0b92519b71411ee907dac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:49:58+00:00", "updated_at": - "2024-01-19T21:49:58+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_b0b6d151b71411ee8245ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:49:58+00:00", "updated_at": "2024-01-19T21:49:58+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_348bdb111c984710a74f9ccd12885134", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '9487' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda865aaee87e78bb86900118be0 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.173738' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:59:18Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010711600", "updated_at": "2024-01-19T21:59:19Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_ab380c0a79ce446ca0089332054a2507", "object": "CustomsInfo", "created_at": - "2024-01-19T21:59:18Z", "updated_at": "2024-01-19T21:59:18Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_7329943ce6c04a4eb96a60ddf1150c05", - "object": "CustomsItem", "created_at": "2024-01-19T21:59:18Z", "updated_at": - "2024-01-19T21:59:18Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_fe1a976fb71511eebfdeac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:59:18+00:00", "updated_at": - "2024-01-19T21:59:18+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_62233b8ee4374556a520139aa08db751", - "object": "Parcel", "created_at": "2024-01-19T21:59:18Z", "updated_at": "2024-01-19T21:59:18Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_32ea89bd819e49768cb77d1aa4e5e43f", "created_at": "2024-01-19T21:59:18Z", - "updated_at": "2024-01-19T21:59:18Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:59:18Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e816fbe72bb566488293a6c0ef50e9bc89.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_abfa465e40864329b9e3d3dda543d1ce", "object": - "Rate", "created_at": "2024-01-19T21:59:18Z", "updated_at": "2024-01-19T21:59:18Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_ae0c2a88c77a435c9d6f16aa9af23edc", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_e6732c735e4c44bd898b54cc267bde1d", - "object": "Rate", "created_at": "2024-01-19T21:59:18Z", "updated_at": "2024-01-19T21:59:18Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_ae0c2a88c77a435c9d6f16aa9af23edc", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_6ea6d2800958479e9666f07bcc2dcd95", - "object": "Rate", "created_at": "2024-01-19T21:59:18Z", "updated_at": "2024-01-19T21:59:18Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_ae0c2a88c77a435c9d6f16aa9af23edc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_d8dfa5b377c342058bc864c708bb3cc7", "object": "Rate", "created_at": - "2024-01-19T21:59:18Z", "updated_at": "2024-01-19T21:59:18Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_ae0c2a88c77a435c9d6f16aa9af23edc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_be13059e0a954219a42ffb54c20d1320", "object": "Rate", "created_at": - "2024-01-19T21:59:18Z", "updated_at": "2024-01-19T21:59:18Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_ae0c2a88c77a435c9d6f16aa9af23edc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_abfa465e40864329b9e3d3dda543d1ce", - "object": "Rate", "created_at": "2024-01-19T21:59:18Z", "updated_at": "2024-01-19T21:59:18Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_ae0c2a88c77a435c9d6f16aa9af23edc", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_f0f38ec09a8e4093aa29bb4a3e8c13ec", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711600", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:59:19Z", - "updated_at": "2024-01-19T21:59:19Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_ae0c2a88c77a435c9d6f16aa9af23edc", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrX2YwZjM4ZWMwOWE4ZTQwOTNhYTI5YmI0YTNlOGMxM2Vj"}, - "to_address": {"id": "adr_fe16ba13b71511eebfddac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T21:59:18+00:00", "updated_at": "2024-01-19T21:59:18+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_fe1a976fb71511eebfdeac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:59:18+00:00", "updated_at": - "2024-01-19T21:59:18+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_fe16ba13b71511eebfddac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:59:18+00:00", "updated_at": "2024-01-19T21:59:18+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_ae0c2a88c77a435c9d6f16aa9af23edc", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_ae0c2a88c77a435c9d6f16aa9af23edc - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf0b5e798c000000f8fae - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.099753' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '2' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments/shp_ae0c2a88c77a435c9d6f16aa9af23edc/refund - response: - body: - string: '{"created_at": "2024-01-19T21:59:18Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010711600", "updated_at": "2024-01-19T21:59:19Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_ab380c0a79ce446ca0089332054a2507", "object": "CustomsInfo", "created_at": - "2024-01-19T21:59:18Z", "updated_at": "2024-01-19T21:59:18Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_7329943ce6c04a4eb96a60ddf1150c05", - "object": "CustomsItem", "created_at": "2024-01-19T21:59:18Z", "updated_at": - "2024-01-19T21:59:18Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_fe1a976fb71511eebfdeac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:59:18+00:00", "updated_at": - "2024-01-19T21:59:18+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_62233b8ee4374556a520139aa08db751", - "object": "Parcel", "created_at": "2024-01-19T21:59:18Z", "updated_at": "2024-01-19T21:59:18Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_32ea89bd819e49768cb77d1aa4e5e43f", "created_at": "2024-01-19T21:59:18Z", - "updated_at": "2024-01-19T21:59:18Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:59:18Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e816fbe72bb566488293a6c0ef50e9bc89.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_abfa465e40864329b9e3d3dda543d1ce", "object": - "Rate", "created_at": "2024-01-19T21:59:18Z", "updated_at": "2024-01-19T21:59:18Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_ae0c2a88c77a435c9d6f16aa9af23edc", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_e6732c735e4c44bd898b54cc267bde1d", - "object": "Rate", "created_at": "2024-01-19T21:59:18Z", "updated_at": "2024-01-19T21:59:18Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_ae0c2a88c77a435c9d6f16aa9af23edc", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_6ea6d2800958479e9666f07bcc2dcd95", - "object": "Rate", "created_at": "2024-01-19T21:59:18Z", "updated_at": "2024-01-19T21:59:18Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_ae0c2a88c77a435c9d6f16aa9af23edc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_d8dfa5b377c342058bc864c708bb3cc7", "object": "Rate", "created_at": - "2024-01-19T21:59:18Z", "updated_at": "2024-01-19T21:59:18Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_ae0c2a88c77a435c9d6f16aa9af23edc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_be13059e0a954219a42ffb54c20d1320", "object": "Rate", "created_at": - "2024-01-19T21:59:18Z", "updated_at": "2024-01-19T21:59:18Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_ae0c2a88c77a435c9d6f16aa9af23edc", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": "submitted", "scan_form": null, "selected_rate": {"id": "rate_abfa465e40864329b9e3d3dda543d1ce", - "object": "Rate", "created_at": "2024-01-19T21:59:18Z", "updated_at": "2024-01-19T21:59:18Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_ae0c2a88c77a435c9d6f16aa9af23edc", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_f0f38ec09a8e4093aa29bb4a3e8c13ec", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711600", - "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:59:19Z", - "updated_at": "2024-01-19T21:59:19Z", "signed_by": null, "weight": null, "est_delivery_date": - "2024-01-19T21:59:19Z", "shipment_id": "shp_ae0c2a88c77a435c9d6f16aa9af23edc", - "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": - "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-19T21:59:19Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", - "message": "Shipping Label Created", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-20T10:36:19Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": - null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": - null}, "public_url": "https://track.easypost.com/djE6dHJrX2YwZjM4ZWMwOWE4ZTQwOTNhYTI5YmI0YTNlOGMxM2Vj"}, - "to_address": {"id": "adr_fe16ba13b71511eebfddac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T21:59:18+00:00", "updated_at": "2024-01-19T21:59:18+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_fe1a976fb71511eebfdeac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:59:18+00:00", "updated_at": - "2024-01-19T21:59:18+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_fe16ba13b71511eebfddac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:59:18+00:00", "updated_at": "2024-01-19T21:59:18+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_ae0c2a88c77a435c9d6f16aa9af23edc", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '9487' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf0b7e798c01b000f90af - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.170664' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T22:02:13Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010712003", "updated_at": "2024-01-19T22:02:14Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_5df1b9b142f344618ce476ff4930cf0f", "object": "CustomsInfo", "created_at": - "2024-01-19T22:02:13Z", "updated_at": "2024-01-19T22:02:13Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_70bd1554e7a44d25af76a5677d2fe79f", - "object": "CustomsItem", "created_at": "2024-01-19T22:02:13Z", "updated_at": - "2024-01-19T22:02:13Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_668c7faeb71611eea156ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T22:02:13+00:00", "updated_at": - "2024-01-19T22:02:13+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_7b4f88641c07433796abc72d1f80b5e3", - "object": "Parcel", "created_at": "2024-01-19T22:02:13Z", "updated_at": "2024-01-19T22:02:13Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_8f3490a160654ca0b17b618088996c1a", "created_at": "2024-01-19T22:02:13Z", - "updated_at": "2024-01-19T22:02:14Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T22:02:13Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e89ec2a7ee411143bc8c4ebb3ef71cd6bd.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_4c1817daa50248bc8162b9fd25535082", "object": - "Rate", "created_at": "2024-01-19T22:02:13Z", "updated_at": "2024-01-19T22:02:13Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_a2498f62738e497184dd3ae65e88cf82", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_7371af199eea4f5183a393650fb463f2", - "object": "Rate", "created_at": "2024-01-19T22:02:13Z", "updated_at": "2024-01-19T22:02:13Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_a2498f62738e497184dd3ae65e88cf82", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_5aa4298712114316bda066bd0fcc54b5", - "object": "Rate", "created_at": "2024-01-19T22:02:13Z", "updated_at": "2024-01-19T22:02:13Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_a2498f62738e497184dd3ae65e88cf82", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_a2db8a4a7d524fe5a0556bb71c93e794", - "object": "Rate", "created_at": "2024-01-19T22:02:13Z", "updated_at": "2024-01-19T22:02:13Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_a2498f62738e497184dd3ae65e88cf82", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_c52d447d864043d9b652a19ac44e2ee9", "object": "Rate", "created_at": - "2024-01-19T22:02:13Z", "updated_at": "2024-01-19T22:02:13Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_a2498f62738e497184dd3ae65e88cf82", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_7371af199eea4f5183a393650fb463f2", - "object": "Rate", "created_at": "2024-01-19T22:02:13Z", "updated_at": "2024-01-19T22:02:13Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_a2498f62738e497184dd3ae65e88cf82", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_2b5e3439b13e4534a0c8bd4204d59b29", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010712003", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:02:14Z", - "updated_at": "2024-01-19T22:02:14Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_a2498f62738e497184dd3ae65e88cf82", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzJiNWUzNDM5YjEzZTQ1MzRhMGM4YmQ0MjA0ZDU5YjI5"}, - "to_address": {"id": "adr_668a6d32b71611ee9303ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T22:02:13+00:00", "updated_at": "2024-01-19T22:02:13+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_668c7faeb71611eea156ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T22:02:13+00:00", "updated_at": - "2024-01-19T22:02:13+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_668a6d32b71611ee9303ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T22:02:13+00:00", "updated_at": "2024-01-19T22:02:13+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_a2498f62738e497184dd3ae65e88cf82", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_a2498f62738e497184dd3ae65e88cf82 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf165e798c87c00102d49 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.172083' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '2' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments/shp_a2498f62738e497184dd3ae65e88cf82/refund - response: - body: - string: '{"created_at": "2024-01-19T22:02:13Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010712003", "updated_at": "2024-01-19T22:02:14Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_5df1b9b142f344618ce476ff4930cf0f", "object": "CustomsInfo", "created_at": - "2024-01-19T22:02:13Z", "updated_at": "2024-01-19T22:02:13Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_70bd1554e7a44d25af76a5677d2fe79f", - "object": "CustomsItem", "created_at": "2024-01-19T22:02:13Z", "updated_at": - "2024-01-19T22:02:13Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_668c7faeb71611eea156ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T22:02:13+00:00", "updated_at": - "2024-01-19T22:02:13+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_7b4f88641c07433796abc72d1f80b5e3", - "object": "Parcel", "created_at": "2024-01-19T22:02:13Z", "updated_at": "2024-01-19T22:02:13Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_8f3490a160654ca0b17b618088996c1a", "created_at": "2024-01-19T22:02:13Z", - "updated_at": "2024-01-19T22:02:14Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T22:02:13Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e89ec2a7ee411143bc8c4ebb3ef71cd6bd.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_4c1817daa50248bc8162b9fd25535082", "object": - "Rate", "created_at": "2024-01-19T22:02:13Z", "updated_at": "2024-01-19T22:02:13Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_a2498f62738e497184dd3ae65e88cf82", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_7371af199eea4f5183a393650fb463f2", - "object": "Rate", "created_at": "2024-01-19T22:02:13Z", "updated_at": "2024-01-19T22:02:13Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_a2498f62738e497184dd3ae65e88cf82", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_5aa4298712114316bda066bd0fcc54b5", - "object": "Rate", "created_at": "2024-01-19T22:02:13Z", "updated_at": "2024-01-19T22:02:13Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_a2498f62738e497184dd3ae65e88cf82", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_a2db8a4a7d524fe5a0556bb71c93e794", - "object": "Rate", "created_at": "2024-01-19T22:02:13Z", "updated_at": "2024-01-19T22:02:13Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_a2498f62738e497184dd3ae65e88cf82", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_c52d447d864043d9b652a19ac44e2ee9", "object": "Rate", "created_at": - "2024-01-19T22:02:13Z", "updated_at": "2024-01-19T22:02:13Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_a2498f62738e497184dd3ae65e88cf82", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": "submitted", "scan_form": null, "selected_rate": {"id": "rate_7371af199eea4f5183a393650fb463f2", - "object": "Rate", "created_at": "2024-01-19T22:02:13Z", "updated_at": "2024-01-19T22:02:13Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_a2498f62738e497184dd3ae65e88cf82", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_2b5e3439b13e4534a0c8bd4204d59b29", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010712003", - "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T22:02:14Z", - "updated_at": "2024-01-19T22:02:14Z", "signed_by": null, "weight": null, "est_delivery_date": - "2024-01-19T22:02:14Z", "shipment_id": "shp_a2498f62738e497184dd3ae65e88cf82", - "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": - "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-19T22:02:14Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", - "message": "Shipping Label Created", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-20T10:39:14Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": - null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": - null}, "public_url": "https://track.easypost.com/djE6dHJrXzJiNWUzNDM5YjEzZTQ1MzRhMGM4YmQ0MjA0ZDU5YjI5"}, - "to_address": {"id": "adr_668a6d32b71611ee9303ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T22:02:13+00:00", "updated_at": "2024-01-19T22:02:13+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_668c7faeb71611eea156ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T22:02:13+00:00", "updated_at": - "2024-01-19T22:02:13+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_668a6d32b71611ee9303ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T22:02:13+00:00", "updated_at": "2024-01-19T22:02:13+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_a2498f62738e497184dd3ae65e88cf82", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '9487' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf166e798c87d00102e56 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.174979' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_shipments_retrieve.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_shipments_retrieve.yaml deleted file mode 100644 index 09756ce4..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_shipments_retrieve.yaml +++ /dev/null @@ -1,2276 +0,0 @@ -interactions: -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '885' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:42:04Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T21:42:04Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_41b7eeaa9b4f4e3c8b5b56cb4f20259e", - "object": "CustomsInfo", "created_at": "2024-01-19T21:42:04Z", "updated_at": - "2024-01-19T21:42:04Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_f427d952cec54b1096206a16e10c886d", "object": "CustomsItem", - "created_at": "2024-01-19T21:42:04Z", "updated_at": "2024-01-19T21:42:04Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_95e5d4c8b71311eea2923cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:42:04+00:00", "updated_at": "2024-01-19T21:42:04+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_fc31f68d7c4647578e58e806ca008009", "object": "Parcel", "created_at": - "2024-01-19T21:42:04Z", "updated_at": "2024-01-19T21:42:04Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_d723cc2fe4c54949a4b903afd2044083", - "object": "Rate", "created_at": "2024-01-19T21:42:04Z", "updated_at": "2024-01-19T21:42:04Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_6f93e11081a943eea73a615b1f823b04", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_95e975f7818f4b98922055a3e0d4e79b", - "object": "Rate", "created_at": "2024-01-19T21:42:04Z", "updated_at": "2024-01-19T21:42:04Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_6f93e11081a943eea73a615b1f823b04", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_fe69ed3e44f144b49a593ba9dc86b162", - "object": "Rate", "created_at": "2024-01-19T21:42:04Z", "updated_at": "2024-01-19T21:42:04Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_6f93e11081a943eea73a615b1f823b04", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_f959108c87eb44c7a03d77f99ac88d2a", "object": "Rate", "created_at": - "2024-01-19T21:42:04Z", "updated_at": "2024-01-19T21:42:04Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_6f93e11081a943eea73a615b1f823b04", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_0059b8bf151943bc8960585425e07c33", "object": "Rate", "created_at": - "2024-01-19T21:42:04Z", "updated_at": "2024-01-19T21:42:04Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_6f93e11081a943eea73a615b1f823b04", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_95e3b26bb71311eeb411ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:42:04+00:00", "updated_at": "2024-01-19T21:42:04+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_95e5d4c8b71311eea2923cecef1b359e", "object": "Address", "created_at": - "2024-01-19T21:42:04+00:00", "updated_at": "2024-01-19T21:42:04+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_95e3b26bb71311eeb411ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:42:04+00:00", "updated_at": - "2024-01-19T21:42:04+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_6f93e11081a943eea73a615b1f823b04", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_6f93e11081a943eea73a615b1f823b04 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaecace78b9f65000d080f - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.707310' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/shipments/shp_6f93e11081a943eea73a615b1f823b04 - response: - body: - string: '{"created_at": "2024-01-19T21:42:04Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T21:42:04Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_41b7eeaa9b4f4e3c8b5b56cb4f20259e", - "object": "CustomsInfo", "created_at": "2024-01-19T21:42:04Z", "updated_at": - "2024-01-19T21:42:04Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_f427d952cec54b1096206a16e10c886d", "object": "CustomsItem", - "created_at": "2024-01-19T21:42:04Z", "updated_at": "2024-01-19T21:42:04Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_95e5d4c8b71311eea2923cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:42:04+00:00", "updated_at": "2024-01-19T21:42:04+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_fc31f68d7c4647578e58e806ca008009", "object": "Parcel", "created_at": - "2024-01-19T21:42:04Z", "updated_at": "2024-01-19T21:42:04Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_d723cc2fe4c54949a4b903afd2044083", - "object": "Rate", "created_at": "2024-01-19T21:42:04Z", "updated_at": "2024-01-19T21:42:04Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_6f93e11081a943eea73a615b1f823b04", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_95e975f7818f4b98922055a3e0d4e79b", - "object": "Rate", "created_at": "2024-01-19T21:42:04Z", "updated_at": "2024-01-19T21:42:04Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_6f93e11081a943eea73a615b1f823b04", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_fe69ed3e44f144b49a593ba9dc86b162", - "object": "Rate", "created_at": "2024-01-19T21:42:04Z", "updated_at": "2024-01-19T21:42:04Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_6f93e11081a943eea73a615b1f823b04", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_f959108c87eb44c7a03d77f99ac88d2a", "object": "Rate", "created_at": - "2024-01-19T21:42:04Z", "updated_at": "2024-01-19T21:42:04Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_6f93e11081a943eea73a615b1f823b04", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_0059b8bf151943bc8960585425e07c33", "object": "Rate", "created_at": - "2024-01-19T21:42:04Z", "updated_at": "2024-01-19T21:42:04Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_6f93e11081a943eea73a615b1f823b04", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_95e3b26bb71311eeb411ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:42:04+00:00", "updated_at": "2024-01-19T21:42:04+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_95e5d4c8b71311eea2923cecef1b359e", "object": "Address", "created_at": - "2024-01-19T21:42:04+00:00", "updated_at": "2024-01-19T21:42:04+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_95e3b26bb71311eeb411ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:42:04+00:00", "updated_at": - "2024-01-19T21:42:04+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_6f93e11081a943eea73a615b1f823b04", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaecade78b9f66000d08a4 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.086937' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '885' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:44:00Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T21:44:01Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_b26ab69f99ff4dd285731934c1149bb2", - "object": "CustomsInfo", "created_at": "2024-01-19T21:44:00Z", "updated_at": - "2024-01-19T21:44:00Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_38eb5b8dca8140a5876fe289b0af914c", "object": "CustomsItem", - "created_at": "2024-01-19T21:44:00Z", "updated_at": "2024-01-19T21:44:00Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_db2022f1b71311eebe07ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:44:00+00:00", "updated_at": "2024-01-19T21:44:00+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_da5c11833be34386957cf2988555962d", "object": "Parcel", "created_at": - "2024-01-19T21:44:00Z", "updated_at": "2024-01-19T21:44:00Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_d6f7fd0347a44f0bb2288038131bbc53", - "object": "Rate", "created_at": "2024-01-19T21:44:01Z", "updated_at": "2024-01-19T21:44:01Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_f22e6516325e4b20b8efa6f297513f6e", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_d770ce90850744df95c852ee98943394", - "object": "Rate", "created_at": "2024-01-19T21:44:01Z", "updated_at": "2024-01-19T21:44:01Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_f22e6516325e4b20b8efa6f297513f6e", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_95514098cbea427abc9fe6860ff3c85f", - "object": "Rate", "created_at": "2024-01-19T21:44:01Z", "updated_at": "2024-01-19T21:44:01Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_f22e6516325e4b20b8efa6f297513f6e", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_351984e731914e92816eb8491408a963", - "object": "Rate", "created_at": "2024-01-19T21:44:01Z", "updated_at": "2024-01-19T21:44:01Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_f22e6516325e4b20b8efa6f297513f6e", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_50c74d86062f4ef6928597391625df27", "object": "Rate", "created_at": - "2024-01-19T21:44:01Z", "updated_at": "2024-01-19T21:44:01Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_f22e6516325e4b20b8efa6f297513f6e", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_db1de983b71311eebb943cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:44:00+00:00", "updated_at": "2024-01-19T21:44:00+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_db2022f1b71311eebe07ac1f6bc539ae", "object": "Address", "created_at": - "2024-01-19T21:44:00+00:00", "updated_at": "2024-01-19T21:44:00+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_db1de983b71311eebb943cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:44:00+00:00", "updated_at": - "2024-01-19T21:44:00+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_f22e6516325e4b20b8efa6f297513f6e", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_f22e6516325e4b20b8efa6f297513f6e - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaed20e78ba78b000d4c11 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.839827' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/shipments/shp_f22e6516325e4b20b8efa6f297513f6e - response: - body: - string: '{"created_at": "2024-01-19T21:44:00Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T21:44:01Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_b26ab69f99ff4dd285731934c1149bb2", - "object": "CustomsInfo", "created_at": "2024-01-19T21:44:00Z", "updated_at": - "2024-01-19T21:44:00Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_38eb5b8dca8140a5876fe289b0af914c", "object": "CustomsItem", - "created_at": "2024-01-19T21:44:00Z", "updated_at": "2024-01-19T21:44:00Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_db2022f1b71311eebe07ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:44:00+00:00", "updated_at": "2024-01-19T21:44:00+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_da5c11833be34386957cf2988555962d", "object": "Parcel", "created_at": - "2024-01-19T21:44:00Z", "updated_at": "2024-01-19T21:44:00Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_d6f7fd0347a44f0bb2288038131bbc53", - "object": "Rate", "created_at": "2024-01-19T21:44:01Z", "updated_at": "2024-01-19T21:44:01Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_f22e6516325e4b20b8efa6f297513f6e", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_d770ce90850744df95c852ee98943394", - "object": "Rate", "created_at": "2024-01-19T21:44:01Z", "updated_at": "2024-01-19T21:44:01Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_f22e6516325e4b20b8efa6f297513f6e", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_95514098cbea427abc9fe6860ff3c85f", - "object": "Rate", "created_at": "2024-01-19T21:44:01Z", "updated_at": "2024-01-19T21:44:01Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_f22e6516325e4b20b8efa6f297513f6e", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_351984e731914e92816eb8491408a963", - "object": "Rate", "created_at": "2024-01-19T21:44:01Z", "updated_at": "2024-01-19T21:44:01Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_f22e6516325e4b20b8efa6f297513f6e", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_50c74d86062f4ef6928597391625df27", "object": "Rate", "created_at": - "2024-01-19T21:44:01Z", "updated_at": "2024-01-19T21:44:01Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_f22e6516325e4b20b8efa6f297513f6e", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_db1de983b71311eebb943cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:44:00+00:00", "updated_at": "2024-01-19T21:44:00+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_db2022f1b71311eebe07ac1f6bc539ae", "object": "Address", "created_at": - "2024-01-19T21:44:00+00:00", "updated_at": "2024-01-19T21:44:00+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_db1de983b71311eebb943cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:44:00+00:00", "updated_at": - "2024-01-19T21:44:00+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_f22e6516325e4b20b8efa6f297513f6e", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaed21e78ba7a3000d4ce2 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.084713' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '885' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:47:53Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T21:47:53Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_972e56552d954363b4eafb9790a824be", - "object": "CustomsInfo", "created_at": "2024-01-19T21:47:53Z", "updated_at": - "2024-01-19T21:47:53Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_034cfd96dbc34a9eace33c31f6be5670", "object": "CustomsItem", - "created_at": "2024-01-19T21:47:53Z", "updated_at": "2024-01-19T21:47:53Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_65e59307b71411eeb929ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:47:53+00:00", "updated_at": "2024-01-19T21:47:53+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_c4abea4dc1734d72aca2bac10296d6cf", "object": "Parcel", "created_at": - "2024-01-19T21:47:53Z", "updated_at": "2024-01-19T21:47:53Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_1b256c54e30d40eb96c309be962f036b", - "object": "Rate", "created_at": "2024-01-19T21:47:53Z", "updated_at": "2024-01-19T21:47:53Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_6de2d7cc48604d50b6ab070c66e6e54d", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_852be026e35642edb6b10a3ecbd49e1c", - "object": "Rate", "created_at": "2024-01-19T21:47:53Z", "updated_at": "2024-01-19T21:47:53Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_6de2d7cc48604d50b6ab070c66e6e54d", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_67274d84c7ed4753ae0ff107edadf608", - "object": "Rate", "created_at": "2024-01-19T21:47:53Z", "updated_at": "2024-01-19T21:47:53Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_6de2d7cc48604d50b6ab070c66e6e54d", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b42ce8a8b0a94865aa6c79247d23688e", - "object": "Rate", "created_at": "2024-01-19T21:47:53Z", "updated_at": "2024-01-19T21:47:53Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_6de2d7cc48604d50b6ab070c66e6e54d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_ace359c44d0044b799ed17ae5598b991", "object": "Rate", "created_at": - "2024-01-19T21:47:53Z", "updated_at": "2024-01-19T21:47:53Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_6de2d7cc48604d50b6ab070c66e6e54d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_65e2c6c8b71411eea79b3cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:47:53+00:00", "updated_at": "2024-01-19T21:47:53+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_65e59307b71411eeb929ac1f6bc539aa", "object": "Address", "created_at": - "2024-01-19T21:47:53+00:00", "updated_at": "2024-01-19T21:47:53+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_65e2c6c8b71411eea79b3cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:47:53+00:00", "updated_at": - "2024-01-19T21:47:53+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_6de2d7cc48604d50b6ab070c66e6e54d", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_6de2d7cc48604d50b6ab070c66e6e54d - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdac65aaee09e78bb0250011435d - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.743310' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/shipments/shp_6de2d7cc48604d50b6ab070c66e6e54d - response: - body: - string: '{"created_at": "2024-01-19T21:47:53Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T21:47:53Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_972e56552d954363b4eafb9790a824be", - "object": "CustomsInfo", "created_at": "2024-01-19T21:47:53Z", "updated_at": - "2024-01-19T21:47:53Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_034cfd96dbc34a9eace33c31f6be5670", "object": "CustomsItem", - "created_at": "2024-01-19T21:47:53Z", "updated_at": "2024-01-19T21:47:53Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_65e59307b71411eeb929ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:47:53+00:00", "updated_at": "2024-01-19T21:47:53+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_c4abea4dc1734d72aca2bac10296d6cf", "object": "Parcel", "created_at": - "2024-01-19T21:47:53Z", "updated_at": "2024-01-19T21:47:53Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_1b256c54e30d40eb96c309be962f036b", - "object": "Rate", "created_at": "2024-01-19T21:47:53Z", "updated_at": "2024-01-19T21:47:53Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_6de2d7cc48604d50b6ab070c66e6e54d", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_852be026e35642edb6b10a3ecbd49e1c", - "object": "Rate", "created_at": "2024-01-19T21:47:53Z", "updated_at": "2024-01-19T21:47:53Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_6de2d7cc48604d50b6ab070c66e6e54d", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_67274d84c7ed4753ae0ff107edadf608", - "object": "Rate", "created_at": "2024-01-19T21:47:53Z", "updated_at": "2024-01-19T21:47:53Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_6de2d7cc48604d50b6ab070c66e6e54d", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b42ce8a8b0a94865aa6c79247d23688e", - "object": "Rate", "created_at": "2024-01-19T21:47:53Z", "updated_at": "2024-01-19T21:47:53Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_6de2d7cc48604d50b6ab070c66e6e54d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_ace359c44d0044b799ed17ae5598b991", "object": "Rate", "created_at": - "2024-01-19T21:47:53Z", "updated_at": "2024-01-19T21:47:53Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_6de2d7cc48604d50b6ab070c66e6e54d", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_65e2c6c8b71411eea79b3cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:47:53+00:00", "updated_at": "2024-01-19T21:47:53+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_65e59307b71411eeb929ac1f6bc539aa", "object": "Address", "created_at": - "2024-01-19T21:47:53+00:00", "updated_at": "2024-01-19T21:47:53+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_65e2c6c8b71411eea79b3cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:47:53+00:00", "updated_at": - "2024-01-19T21:47:53+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_6de2d7cc48604d50b6ab070c66e6e54d", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdae65aaee0ae78bb0260011440c - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.089162' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '885' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:49:48Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T21:49:49Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_c7e14090cfdd44ba931ee3bb0812dfb0", - "object": "CustomsInfo", "created_at": "2024-01-19T21:49:48Z", "updated_at": - "2024-01-19T21:49:48Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_a9f03c9d7c4e4d9dad4ad243edc1c698", "object": "CustomsItem", - "created_at": "2024-01-19T21:49:48Z", "updated_at": "2024-01-19T21:49:48Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_aa9d909bb71411ee8e7bac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:49:48+00:00", "updated_at": "2024-01-19T21:49:48+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_aca28b8e9bb547f0b3463febe58d597b", "object": "Parcel", "created_at": - "2024-01-19T21:49:48Z", "updated_at": "2024-01-19T21:49:48Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_cc0b29f4f5eb4673ab3de635255002f3", - "object": "Rate", "created_at": "2024-01-19T21:49:49Z", "updated_at": "2024-01-19T21:49:49Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_baefa7d9a079483fa6e866e9e448e1d2", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_a89fc75d6885484b8115733a3b823ad0", - "object": "Rate", "created_at": "2024-01-19T21:49:49Z", "updated_at": "2024-01-19T21:49:49Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_baefa7d9a079483fa6e866e9e448e1d2", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_50871e82a69c4d13944df61dc47a864d", - "object": "Rate", "created_at": "2024-01-19T21:49:49Z", "updated_at": "2024-01-19T21:49:49Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_baefa7d9a079483fa6e866e9e448e1d2", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_bf1c6a0d92ce4573addb3d2c757e46cb", - "object": "Rate", "created_at": "2024-01-19T21:49:49Z", "updated_at": "2024-01-19T21:49:49Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_baefa7d9a079483fa6e866e9e448e1d2", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_2547a32246854e148285972b386fe6f1", "object": "Rate", "created_at": - "2024-01-19T21:49:49Z", "updated_at": "2024-01-19T21:49:49Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_baefa7d9a079483fa6e866e9e448e1d2", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_aa9aa60bb71411eebe9eac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:49:48+00:00", "updated_at": "2024-01-19T21:49:48+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_aa9d909bb71411ee8e7bac1f6bc539aa", "object": "Address", "created_at": - "2024-01-19T21:49:48+00:00", "updated_at": "2024-01-19T21:49:48+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_aa9aa60bb71411eebe9eac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:49:48+00:00", "updated_at": - "2024-01-19T21:49:48+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_baefa7d9a079483fa6e866e9e448e1d2", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_baefa7d9a079483fa6e866e9e448e1d2 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdaa65aaee7ce78bb84800118519 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.768261' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/shipments/shp_baefa7d9a079483fa6e866e9e448e1d2 - response: - body: - string: '{"created_at": "2024-01-19T21:49:48Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T21:49:49Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_c7e14090cfdd44ba931ee3bb0812dfb0", - "object": "CustomsInfo", "created_at": "2024-01-19T21:49:48Z", "updated_at": - "2024-01-19T21:49:48Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_a9f03c9d7c4e4d9dad4ad243edc1c698", "object": "CustomsItem", - "created_at": "2024-01-19T21:49:48Z", "updated_at": "2024-01-19T21:49:48Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_aa9d909bb71411ee8e7bac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:49:48+00:00", "updated_at": "2024-01-19T21:49:48+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_aca28b8e9bb547f0b3463febe58d597b", "object": "Parcel", "created_at": - "2024-01-19T21:49:48Z", "updated_at": "2024-01-19T21:49:48Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_cc0b29f4f5eb4673ab3de635255002f3", - "object": "Rate", "created_at": "2024-01-19T21:49:49Z", "updated_at": "2024-01-19T21:49:49Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_baefa7d9a079483fa6e866e9e448e1d2", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_a89fc75d6885484b8115733a3b823ad0", - "object": "Rate", "created_at": "2024-01-19T21:49:49Z", "updated_at": "2024-01-19T21:49:49Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_baefa7d9a079483fa6e866e9e448e1d2", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_50871e82a69c4d13944df61dc47a864d", - "object": "Rate", "created_at": "2024-01-19T21:49:49Z", "updated_at": "2024-01-19T21:49:49Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_baefa7d9a079483fa6e866e9e448e1d2", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_bf1c6a0d92ce4573addb3d2c757e46cb", - "object": "Rate", "created_at": "2024-01-19T21:49:49Z", "updated_at": "2024-01-19T21:49:49Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_baefa7d9a079483fa6e866e9e448e1d2", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_2547a32246854e148285972b386fe6f1", "object": "Rate", "created_at": - "2024-01-19T21:49:49Z", "updated_at": "2024-01-19T21:49:49Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_baefa7d9a079483fa6e866e9e448e1d2", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_aa9aa60bb71411eebe9eac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:49:48+00:00", "updated_at": "2024-01-19T21:49:48+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_aa9d909bb71411ee8e7bac1f6bc539aa", "object": "Address", "created_at": - "2024-01-19T21:49:48+00:00", "updated_at": "2024-01-19T21:49:48+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_aa9aa60bb71411eebe9eac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:49:48+00:00", "updated_at": - "2024-01-19T21:49:48+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_baefa7d9a079483fa6e866e9e448e1d2", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdac65aaee7de78bb849001185b7 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.096734' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '885' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:59:07Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T21:59:08Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_cf643fba39cb4c0996b36a5b95476b4b", - "object": "CustomsInfo", "created_at": "2024-01-19T21:59:07Z", "updated_at": - "2024-01-19T21:59:07Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_c2f77c8ea58341a195e644130a0f27a7", "object": "CustomsItem", - "created_at": "2024-01-19T21:59:07Z", "updated_at": "2024-01-19T21:59:07Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_f7a5e13fb71511eebe49ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:59:07+00:00", "updated_at": "2024-01-19T21:59:07+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_e755b7c8f3114d0aa242af08eb22e433", "object": "Parcel", "created_at": - "2024-01-19T21:59:07Z", "updated_at": "2024-01-19T21:59:07Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_0c1bbd6c5b224d51a48ed91513669134", - "object": "Rate", "created_at": "2024-01-19T21:59:08Z", "updated_at": "2024-01-19T21:59:08Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_931f7ae4066e40a595f9387450e6044a", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_e073ea2b85d6420a8b39cb5e0ebf964c", - "object": "Rate", "created_at": "2024-01-19T21:59:08Z", "updated_at": "2024-01-19T21:59:08Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_931f7ae4066e40a595f9387450e6044a", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_1352bda3d6464dbeb557413feef24721", - "object": "Rate", "created_at": "2024-01-19T21:59:08Z", "updated_at": "2024-01-19T21:59:08Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_931f7ae4066e40a595f9387450e6044a", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f08949bbab9e4b269d94a365bc525b31", - "object": "Rate", "created_at": "2024-01-19T21:59:08Z", "updated_at": "2024-01-19T21:59:08Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_931f7ae4066e40a595f9387450e6044a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_77d0e88f1fcc46a18e5d1fa53c957127", "object": "Rate", "created_at": - "2024-01-19T21:59:08Z", "updated_at": "2024-01-19T21:59:08Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_931f7ae4066e40a595f9387450e6044a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_f7a3faaab71511eeabdc3cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:59:07+00:00", "updated_at": "2024-01-19T21:59:07+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_f7a5e13fb71511eebe49ac1f6bc539aa", "object": "Address", "created_at": - "2024-01-19T21:59:07+00:00", "updated_at": "2024-01-19T21:59:07+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_f7a3faaab71511eeabdc3cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:59:07+00:00", "updated_at": - "2024-01-19T21:59:07+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_931f7ae4066e40a595f9387450e6044a", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_931f7ae4066e40a595f9387450e6044a - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf0abe798bfde000f8868 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.005275' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/shipments/shp_931f7ae4066e40a595f9387450e6044a - response: - body: - string: '{"created_at": "2024-01-19T21:59:07Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T21:59:08Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_cf643fba39cb4c0996b36a5b95476b4b", - "object": "CustomsInfo", "created_at": "2024-01-19T21:59:07Z", "updated_at": - "2024-01-19T21:59:07Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_c2f77c8ea58341a195e644130a0f27a7", "object": "CustomsItem", - "created_at": "2024-01-19T21:59:07Z", "updated_at": "2024-01-19T21:59:07Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_f7a5e13fb71511eebe49ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:59:07+00:00", "updated_at": "2024-01-19T21:59:07+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_e755b7c8f3114d0aa242af08eb22e433", "object": "Parcel", "created_at": - "2024-01-19T21:59:07Z", "updated_at": "2024-01-19T21:59:07Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_0c1bbd6c5b224d51a48ed91513669134", - "object": "Rate", "created_at": "2024-01-19T21:59:08Z", "updated_at": "2024-01-19T21:59:08Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_931f7ae4066e40a595f9387450e6044a", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_e073ea2b85d6420a8b39cb5e0ebf964c", - "object": "Rate", "created_at": "2024-01-19T21:59:08Z", "updated_at": "2024-01-19T21:59:08Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_931f7ae4066e40a595f9387450e6044a", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_1352bda3d6464dbeb557413feef24721", - "object": "Rate", "created_at": "2024-01-19T21:59:08Z", "updated_at": "2024-01-19T21:59:08Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_931f7ae4066e40a595f9387450e6044a", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f08949bbab9e4b269d94a365bc525b31", - "object": "Rate", "created_at": "2024-01-19T21:59:08Z", "updated_at": "2024-01-19T21:59:08Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_931f7ae4066e40a595f9387450e6044a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_77d0e88f1fcc46a18e5d1fa53c957127", "object": "Rate", "created_at": - "2024-01-19T21:59:08Z", "updated_at": "2024-01-19T21:59:08Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_931f7ae4066e40a595f9387450e6044a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_f7a3faaab71511eeabdc3cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:59:07+00:00", "updated_at": "2024-01-19T21:59:07+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_f7a5e13fb71511eebe49ac1f6bc539aa", "object": "Address", "created_at": - "2024-01-19T21:59:07+00:00", "updated_at": "2024-01-19T21:59:07+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_f7a3faaab71511eeabdc3cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:59:07+00:00", "updated_at": - "2024-01-19T21:59:07+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_931f7ae4066e40a595f9387450e6044a", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf0ace798bfdf000f890f - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.108972' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '885' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T22:02:02Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T22:02:03Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_fe1425daeabd41ac89b70f664cebcfdc", - "object": "CustomsInfo", "created_at": "2024-01-19T22:02:02Z", "updated_at": - "2024-01-19T22:02:02Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_92dd8d47fbb941c8b2a4efbf43addd76", "object": "CustomsItem", - "created_at": "2024-01-19T22:02:02Z", "updated_at": "2024-01-19T22:02:02Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_60462a4fb71611ee8fa9ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T22:02:02+00:00", "updated_at": "2024-01-19T22:02:02+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_c32059f7ba7f46148048e75613f3e092", "object": "Parcel", "created_at": - "2024-01-19T22:02:02Z", "updated_at": "2024-01-19T22:02:02Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_abb8a4aeff2d4bd39106065935fe9ff2", - "object": "Rate", "created_at": "2024-01-19T22:02:03Z", "updated_at": "2024-01-19T22:02:03Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_66a379fe707e4c498afc6fcc47af6918", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_59da9b6636f04631b543f3a1f84710f5", - "object": "Rate", "created_at": "2024-01-19T22:02:03Z", "updated_at": "2024-01-19T22:02:03Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_66a379fe707e4c498afc6fcc47af6918", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_230fb484df7e4a26ab2360b2fd708333", "object": "Rate", "created_at": - "2024-01-19T22:02:03Z", "updated_at": "2024-01-19T22:02:03Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_66a379fe707e4c498afc6fcc47af6918", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_192d7885fe9f46a3892ce87f4d0855ce", "object": "Rate", "created_at": - "2024-01-19T22:02:03Z", "updated_at": "2024-01-19T22:02:03Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_66a379fe707e4c498afc6fcc47af6918", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_659798a48f3645309ef433c0c446cd2d", "object": "Rate", "created_at": - "2024-01-19T22:02:03Z", "updated_at": "2024-01-19T22:02:03Z", "mode": "test", - "service": "Priority", "carrier": "USPS", "rate": "7.99", "currency": "USD", - "retail_rate": "14.05", "retail_currency": "USD", "list_rate": "10.27", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": - "shp_66a379fe707e4c498afc6fcc47af6918", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_60420d55b71611ee8d8b3cecef1b359e", "object": - "Address", "created_at": "2024-01-19T22:02:02+00:00", "updated_at": "2024-01-19T22:02:02+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_60462a4fb71611ee8fa9ac1f6bc53342", "object": "Address", "created_at": - "2024-01-19T22:02:02+00:00", "updated_at": "2024-01-19T22:02:02+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_60420d55b71611ee8d8b3cecef1b359e", - "object": "Address", "created_at": "2024-01-19T22:02:02+00:00", "updated_at": - "2024-01-19T22:02:02+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_66a379fe707e4c498afc6fcc47af6918", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_66a379fe707e4c498afc6fcc47af6918 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaf15ae798c85a00102467 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.758614' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/shipments/shp_66a379fe707e4c498afc6fcc47af6918 - response: - body: - string: '{"created_at": "2024-01-19T22:02:02Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T22:02:03Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_fe1425daeabd41ac89b70f664cebcfdc", - "object": "CustomsInfo", "created_at": "2024-01-19T22:02:02Z", "updated_at": - "2024-01-19T22:02:02Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_92dd8d47fbb941c8b2a4efbf43addd76", "object": "CustomsItem", - "created_at": "2024-01-19T22:02:02Z", "updated_at": "2024-01-19T22:02:02Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_60462a4fb71611ee8fa9ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T22:02:02+00:00", "updated_at": "2024-01-19T22:02:02+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_c32059f7ba7f46148048e75613f3e092", "object": "Parcel", "created_at": - "2024-01-19T22:02:02Z", "updated_at": "2024-01-19T22:02:02Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_abb8a4aeff2d4bd39106065935fe9ff2", - "object": "Rate", "created_at": "2024-01-19T22:02:03Z", "updated_at": "2024-01-19T22:02:03Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_66a379fe707e4c498afc6fcc47af6918", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_59da9b6636f04631b543f3a1f84710f5", - "object": "Rate", "created_at": "2024-01-19T22:02:03Z", "updated_at": "2024-01-19T22:02:03Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_66a379fe707e4c498afc6fcc47af6918", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_230fb484df7e4a26ab2360b2fd708333", "object": "Rate", "created_at": - "2024-01-19T22:02:03Z", "updated_at": "2024-01-19T22:02:03Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_66a379fe707e4c498afc6fcc47af6918", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_192d7885fe9f46a3892ce87f4d0855ce", "object": "Rate", "created_at": - "2024-01-19T22:02:03Z", "updated_at": "2024-01-19T22:02:03Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_66a379fe707e4c498afc6fcc47af6918", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_659798a48f3645309ef433c0c446cd2d", "object": "Rate", "created_at": - "2024-01-19T22:02:03Z", "updated_at": "2024-01-19T22:02:03Z", "mode": "test", - "service": "Priority", "carrier": "USPS", "rate": "7.99", "currency": "USD", - "retail_rate": "14.05", "retail_currency": "USD", "list_rate": "10.27", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": - "shp_66a379fe707e4c498afc6fcc47af6918", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_60420d55b71611ee8d8b3cecef1b359e", "object": - "Address", "created_at": "2024-01-19T22:02:02+00:00", "updated_at": "2024-01-19T22:02:02+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_60462a4fb71611ee8fa9ac1f6bc53342", "object": "Address", "created_at": - "2024-01-19T22:02:02+00:00", "updated_at": "2024-01-19T22:02:02+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_60420d55b71611ee8d8b3cecef1b359e", - "object": "Address", "created_at": "2024-01-19T22:02:02+00:00", "updated_at": - "2024-01-19T22:02:02+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_66a379fe707e4c498afc6fcc47af6918", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf15be798c85c00102537 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.095471' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '885' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T22:05:50Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T22:05:51Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_2b237755c35c48889178b8e5924d96dd", - "object": "CustomsInfo", "created_at": "2024-01-19T22:05:50Z", "updated_at": - "2024-01-19T22:05:50Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_9070f221e56246c7bcd0416c663a04e2", "object": "CustomsItem", - "created_at": "2024-01-19T22:05:50Z", "updated_at": "2024-01-19T22:05:50Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_e811b835b71611ee8ce6ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T22:05:50+00:00", "updated_at": "2024-01-19T22:05:50+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_0a0451ebcc934356a2ff11aa8ff326f0", "object": "Parcel", "created_at": - "2024-01-19T22:05:50Z", "updated_at": "2024-01-19T22:05:50Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_533e255dfc984d96b8ead2d4f5f25d9f", - "object": "Rate", "created_at": "2024-01-19T22:05:51Z", "updated_at": "2024-01-19T22:05:51Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_7dc071ae75684b8c9892adbd14dc49be", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b439174896db465eb2ae39d2e498cdb2", - "object": "Rate", "created_at": "2024-01-19T22:05:51Z", "updated_at": "2024-01-19T22:05:51Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_7dc071ae75684b8c9892adbd14dc49be", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_64b3ec5658bc45218c0a38933ef9def0", - "object": "Rate", "created_at": "2024-01-19T22:05:51Z", "updated_at": "2024-01-19T22:05:51Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_7dc071ae75684b8c9892adbd14dc49be", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_b83903bc96174257bccbed396f33606a", "object": "Rate", "created_at": - "2024-01-19T22:05:51Z", "updated_at": "2024-01-19T22:05:51Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_7dc071ae75684b8c9892adbd14dc49be", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_973f4ce2040549e293f888fee47b8066", "object": "Rate", "created_at": - "2024-01-19T22:05:51Z", "updated_at": "2024-01-19T22:05:51Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_7dc071ae75684b8c9892adbd14dc49be", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_e80ee8e2b71611ee8ce5ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T22:05:50+00:00", "updated_at": "2024-01-19T22:05:50+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_e811b835b71611ee8ce6ac1f6bc539aa", "object": "Address", "created_at": - "2024-01-19T22:05:50+00:00", "updated_at": "2024-01-19T22:05:50+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_e80ee8e2b71611ee8ce5ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T22:05:50+00:00", "updated_at": - "2024-01-19T22:05:50+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_7dc071ae75684b8c9892adbd14dc49be", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_7dc071ae75684b8c9892adbd14dc49be - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf23ee798d11e0010cb17 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.729371' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/shipments/shp_7dc071ae75684b8c9892adbd14dc49be - response: - body: - string: '{"created_at": "2024-01-19T22:05:50Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T22:05:51Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_2b237755c35c48889178b8e5924d96dd", - "object": "CustomsInfo", "created_at": "2024-01-19T22:05:50Z", "updated_at": - "2024-01-19T22:05:50Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_9070f221e56246c7bcd0416c663a04e2", "object": "CustomsItem", - "created_at": "2024-01-19T22:05:50Z", "updated_at": "2024-01-19T22:05:50Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_e811b835b71611ee8ce6ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T22:05:50+00:00", "updated_at": "2024-01-19T22:05:50+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_0a0451ebcc934356a2ff11aa8ff326f0", "object": "Parcel", "created_at": - "2024-01-19T22:05:50Z", "updated_at": "2024-01-19T22:05:50Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_533e255dfc984d96b8ead2d4f5f25d9f", - "object": "Rate", "created_at": "2024-01-19T22:05:51Z", "updated_at": "2024-01-19T22:05:51Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_7dc071ae75684b8c9892adbd14dc49be", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b439174896db465eb2ae39d2e498cdb2", - "object": "Rate", "created_at": "2024-01-19T22:05:51Z", "updated_at": "2024-01-19T22:05:51Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_7dc071ae75684b8c9892adbd14dc49be", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_64b3ec5658bc45218c0a38933ef9def0", - "object": "Rate", "created_at": "2024-01-19T22:05:51Z", "updated_at": "2024-01-19T22:05:51Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_7dc071ae75684b8c9892adbd14dc49be", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_b83903bc96174257bccbed396f33606a", "object": "Rate", "created_at": - "2024-01-19T22:05:51Z", "updated_at": "2024-01-19T22:05:51Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_7dc071ae75684b8c9892adbd14dc49be", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_973f4ce2040549e293f888fee47b8066", "object": "Rate", "created_at": - "2024-01-19T22:05:51Z", "updated_at": "2024-01-19T22:05:51Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_7dc071ae75684b8c9892adbd14dc49be", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_e80ee8e2b71611ee8ce5ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T22:05:50+00:00", "updated_at": "2024-01-19T22:05:50+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_e811b835b71611ee8ce6ac1f6bc539aa", "object": "Address", "created_at": - "2024-01-19T22:05:50+00:00", "updated_at": "2024-01-19T22:05:50+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_e80ee8e2b71611ee8ce5ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T22:05:50+00:00", "updated_at": - "2024-01-19T22:05:50+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_7dc071ae75684b8c9892adbd14dc49be", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaf23fe798d11f0010cba9 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.087622' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_shipping_insurance_insure.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_shipping_insurance_insure.yaml deleted file mode 100644 index 5659b1a2..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_shipping_insurance_insure.yaml +++ /dev/null @@ -1,2266 +0,0 @@ -interactions: -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"], - "insurance": 0}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '1004' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:42:15Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010707832", "updated_at": "2024-01-19T21:42:16Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_b61da81f3f754df591a18d03da8a92f1", "object": "CustomsInfo", "created_at": - "2024-01-19T21:42:15Z", "updated_at": "2024-01-19T21:42:15Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_f1b7d8c06ec44590b739cae12a9a05ed", - "object": "CustomsItem", "created_at": "2024-01-19T21:42:15Z", "updated_at": - "2024-01-19T21:42:15Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_9cababedb71311eeb632ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:42:15+00:00", "updated_at": - "2024-01-19T21:42:15+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_99b14a8ae7a2443fbc6ba0955ca25c5d", - "object": "Parcel", "created_at": "2024-01-19T21:42:15Z", "updated_at": "2024-01-19T21:42:15Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_9372da71bf814abebcfc9d7adfda4a24", "created_at": "2024-01-19T21:42:16Z", - "updated_at": "2024-01-19T21:42:16Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:42:16Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e848d6cdabca4f4478a94ec9db35060a45.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_e6f5e02692d04c5aa98fd2c1504c6fa6", "object": - "Rate", "created_at": "2024-01-19T21:42:15Z", "updated_at": "2024-01-19T21:42:15Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_1b88cbe26946440d8d1afca25750e9ac", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_91cefc3a1bb14cde8bb802596874569a", - "object": "Rate", "created_at": "2024-01-19T21:42:15Z", "updated_at": "2024-01-19T21:42:15Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_1b88cbe26946440d8d1afca25750e9ac", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_10b5dd00cb2d480cb9c002a247364804", - "object": "Rate", "created_at": "2024-01-19T21:42:15Z", "updated_at": "2024-01-19T21:42:15Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_1b88cbe26946440d8d1afca25750e9ac", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_990668e782fd40a39592ea64a5fe9e17", "object": "Rate", "created_at": - "2024-01-19T21:42:15Z", "updated_at": "2024-01-19T21:42:15Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_1b88cbe26946440d8d1afca25750e9ac", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_93b8f4328b794587b6289577e4a1110c", "object": "Rate", "created_at": - "2024-01-19T21:42:15Z", "updated_at": "2024-01-19T21:42:15Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_1b88cbe26946440d8d1afca25750e9ac", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_e6f5e02692d04c5aa98fd2c1504c6fa6", - "object": "Rate", "created_at": "2024-01-19T21:42:16Z", "updated_at": "2024-01-19T21:42:16Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_1b88cbe26946440d8d1afca25750e9ac", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_783fdb3f049b43c9a1092ed41513055e", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010707832", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:42:16Z", - "updated_at": "2024-01-19T21:42:16Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_1b88cbe26946440d8d1afca25750e9ac", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzc4M2ZkYjNmMDQ5YjQzYzlhMTA5MmVkNDE1MTMwNTVl"}, - "to_address": {"id": "adr_9ca97784b71311eea67fac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:42:15+00:00", "updated_at": "2024-01-19T21:42:15+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_9cababedb71311eeb632ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:42:15+00:00", "updated_at": - "2024-01-19T21:42:15+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_9ca97784b71311eea67fac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:42:15+00:00", "updated_at": "2024-01-19T21:42:15+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_1b88cbe26946440d8d1afca25750e9ac", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_1b88cbe26946440d8d1afca25750e9ac - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaecb7e78b9f87000d0e1d - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.178823' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"amount": "100"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '17' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments/shp_1b88cbe26946440d8d1afca25750e9ac/insure - response: - body: - string: '{"created_at": "2024-01-19T21:42:15Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010707832", "updated_at": "2024-01-19T21:42:16Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_b61da81f3f754df591a18d03da8a92f1", "object": "CustomsInfo", "created_at": - "2024-01-19T21:42:15Z", "updated_at": "2024-01-19T21:42:15Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_f1b7d8c06ec44590b739cae12a9a05ed", - "object": "CustomsItem", "created_at": "2024-01-19T21:42:15Z", "updated_at": - "2024-01-19T21:42:15Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_9cababedb71311eeb632ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:42:15+00:00", "updated_at": - "2024-01-19T21:42:15+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": "100.00", "order_id": null, "parcel": {"id": "prcl_99b14a8ae7a2443fbc6ba0955ca25c5d", - "object": "Parcel", "created_at": "2024-01-19T21:42:15Z", "updated_at": "2024-01-19T21:42:15Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_9372da71bf814abebcfc9d7adfda4a24", "created_at": "2024-01-19T21:42:16Z", - "updated_at": "2024-01-19T21:42:16Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:42:16Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e848d6cdabca4f4478a94ec9db35060a45.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_e6f5e02692d04c5aa98fd2c1504c6fa6", "object": - "Rate", "created_at": "2024-01-19T21:42:15Z", "updated_at": "2024-01-19T21:42:15Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_1b88cbe26946440d8d1afca25750e9ac", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_91cefc3a1bb14cde8bb802596874569a", - "object": "Rate", "created_at": "2024-01-19T21:42:15Z", "updated_at": "2024-01-19T21:42:15Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_1b88cbe26946440d8d1afca25750e9ac", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_10b5dd00cb2d480cb9c002a247364804", - "object": "Rate", "created_at": "2024-01-19T21:42:15Z", "updated_at": "2024-01-19T21:42:15Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_1b88cbe26946440d8d1afca25750e9ac", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_990668e782fd40a39592ea64a5fe9e17", "object": "Rate", "created_at": - "2024-01-19T21:42:15Z", "updated_at": "2024-01-19T21:42:15Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_1b88cbe26946440d8d1afca25750e9ac", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_93b8f4328b794587b6289577e4a1110c", "object": "Rate", "created_at": - "2024-01-19T21:42:15Z", "updated_at": "2024-01-19T21:42:15Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_1b88cbe26946440d8d1afca25750e9ac", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_e6f5e02692d04c5aa98fd2c1504c6fa6", - "object": "Rate", "created_at": "2024-01-19T21:42:16Z", "updated_at": "2024-01-19T21:42:16Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_1b88cbe26946440d8d1afca25750e9ac", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_783fdb3f049b43c9a1092ed41513055e", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010707832", - "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:42:16Z", - "updated_at": "2024-01-19T21:42:16Z", "signed_by": null, "weight": null, "est_delivery_date": - "2024-01-19T21:42:16Z", "shipment_id": "shp_1b88cbe26946440d8d1afca25750e9ac", - "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": - "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-19T21:42:16Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", - "message": "Shipping Label Created", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-20T10:19:16Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": - null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": - null}, "public_url": "https://track.easypost.com/djE6dHJrXzc4M2ZkYjNmMDQ5YjQzYzlhMTA5MmVkNDE1MTMwNTVl"}, - "to_address": {"id": "adr_9ca97784b71311eea67fac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:42:15+00:00", "updated_at": "2024-01-19T21:42:15+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_9cababedb71311eeb632ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:42:15+00:00", "updated_at": - "2024-01-19T21:42:15+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_9ca97784b71311eea67fac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:42:15+00:00", "updated_at": "2024-01-19T21:42:15+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}, {"object": "Fee", - "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": - false}], "id": "shp_1b88cbe26946440d8d1afca25750e9ac", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '9574' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaecb8e78b9f88000d0ef6 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.192136' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"], - "insurance": 0}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '1004' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:44:12Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010708143", "updated_at": "2024-01-19T21:44:13Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_fd0072bf9acf4bf0aa03ca49b463015b", "object": "CustomsInfo", "created_at": - "2024-01-19T21:44:12Z", "updated_at": "2024-01-19T21:44:12Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_b3e99a153f144aa4b703cb5fbd90b769", - "object": "CustomsItem", "created_at": "2024-01-19T21:44:12Z", "updated_at": - "2024-01-19T21:44:12Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_e25d9c2cb71311ee8025ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:44:12+00:00", "updated_at": - "2024-01-19T21:44:12+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_767864a9daf34080aa3cfff8f6f2b0ef", - "object": "Parcel", "created_at": "2024-01-19T21:44:12Z", "updated_at": "2024-01-19T21:44:12Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_d33539fa05c3417d995fb854b3e3cbc1", "created_at": "2024-01-19T21:44:13Z", - "updated_at": "2024-01-19T21:44:13Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:44:13Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8c1c953457b654803a98e7daf9d8b4a82.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_97010d855e724e239ec070978aaea793", "object": - "Rate", "created_at": "2024-01-19T21:44:12Z", "updated_at": "2024-01-19T21:44:12Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_09762a154e9a47d7a366232f343ef84b", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_6d40b0838b3f4978ba67a214ac27af42", - "object": "Rate", "created_at": "2024-01-19T21:44:12Z", "updated_at": "2024-01-19T21:44:12Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_09762a154e9a47d7a366232f343ef84b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_38c84a94276f432cbedf466158d5eaa5", "object": "Rate", "created_at": - "2024-01-19T21:44:12Z", "updated_at": "2024-01-19T21:44:12Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_09762a154e9a47d7a366232f343ef84b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_b7290d290e804baaa1e4f3b8bee5dd00", "object": "Rate", "created_at": - "2024-01-19T21:44:12Z", "updated_at": "2024-01-19T21:44:12Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_09762a154e9a47d7a366232f343ef84b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_d9e9c162cd734ee7b3ddf12ede93ca1e", "object": "Rate", "created_at": - "2024-01-19T21:44:12Z", "updated_at": "2024-01-19T21:44:12Z", "mode": "test", - "service": "Priority", "carrier": "USPS", "rate": "7.99", "currency": "USD", - "retail_rate": "14.05", "retail_currency": "USD", "list_rate": "10.27", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": - "shp_09762a154e9a47d7a366232f343ef84b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_d9e9c162cd734ee7b3ddf12ede93ca1e", - "object": "Rate", "created_at": "2024-01-19T21:44:13Z", "updated_at": "2024-01-19T21:44:13Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_09762a154e9a47d7a366232f343ef84b", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_f1987fe517404992ad1454ff5cf5cc43", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708143", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:44:13Z", - "updated_at": "2024-01-19T21:44:13Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_09762a154e9a47d7a366232f343ef84b", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrX2YxOTg3ZmU1MTc0MDQ5OTJhZDE0NTRmZjVjZjVjYzQz"}, - "to_address": {"id": "adr_e25b9148b71311ee8f11ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T21:44:12+00:00", "updated_at": "2024-01-19T21:44:12+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_e25d9c2cb71311ee8025ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:44:12+00:00", "updated_at": - "2024-01-19T21:44:12+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_e25b9148b71311ee8f11ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:44:12+00:00", "updated_at": "2024-01-19T21:44:12+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_09762a154e9a47d7a366232f343ef84b", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_09762a154e9a47d7a366232f343ef84b - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaed2ce78ba7c4000d5341 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.213695' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"amount": "100"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '17' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments/shp_09762a154e9a47d7a366232f343ef84b/insure - response: - body: - string: '{"created_at": "2024-01-19T21:44:12Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010708143", "updated_at": "2024-01-19T21:44:13Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_fd0072bf9acf4bf0aa03ca49b463015b", "object": "CustomsInfo", "created_at": - "2024-01-19T21:44:12Z", "updated_at": "2024-01-19T21:44:12Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_b3e99a153f144aa4b703cb5fbd90b769", - "object": "CustomsItem", "created_at": "2024-01-19T21:44:12Z", "updated_at": - "2024-01-19T21:44:12Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_e25d9c2cb71311ee8025ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:44:12+00:00", "updated_at": - "2024-01-19T21:44:12+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": "100.00", "order_id": null, "parcel": {"id": "prcl_767864a9daf34080aa3cfff8f6f2b0ef", - "object": "Parcel", "created_at": "2024-01-19T21:44:12Z", "updated_at": "2024-01-19T21:44:12Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_d33539fa05c3417d995fb854b3e3cbc1", "created_at": "2024-01-19T21:44:13Z", - "updated_at": "2024-01-19T21:44:13Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:44:13Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8c1c953457b654803a98e7daf9d8b4a82.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_97010d855e724e239ec070978aaea793", "object": - "Rate", "created_at": "2024-01-19T21:44:12Z", "updated_at": "2024-01-19T21:44:12Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_09762a154e9a47d7a366232f343ef84b", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_6d40b0838b3f4978ba67a214ac27af42", - "object": "Rate", "created_at": "2024-01-19T21:44:12Z", "updated_at": "2024-01-19T21:44:12Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_09762a154e9a47d7a366232f343ef84b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_38c84a94276f432cbedf466158d5eaa5", "object": "Rate", "created_at": - "2024-01-19T21:44:12Z", "updated_at": "2024-01-19T21:44:12Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_09762a154e9a47d7a366232f343ef84b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_b7290d290e804baaa1e4f3b8bee5dd00", "object": "Rate", "created_at": - "2024-01-19T21:44:12Z", "updated_at": "2024-01-19T21:44:12Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_09762a154e9a47d7a366232f343ef84b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_d9e9c162cd734ee7b3ddf12ede93ca1e", "object": "Rate", "created_at": - "2024-01-19T21:44:12Z", "updated_at": "2024-01-19T21:44:12Z", "mode": "test", - "service": "Priority", "carrier": "USPS", "rate": "7.99", "currency": "USD", - "retail_rate": "14.05", "retail_currency": "USD", "list_rate": "10.27", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": - "shp_09762a154e9a47d7a366232f343ef84b", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_d9e9c162cd734ee7b3ddf12ede93ca1e", - "object": "Rate", "created_at": "2024-01-19T21:44:13Z", "updated_at": "2024-01-19T21:44:13Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_09762a154e9a47d7a366232f343ef84b", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_f1987fe517404992ad1454ff5cf5cc43", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708143", - "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:44:13Z", - "updated_at": "2024-01-19T21:44:13Z", "signed_by": null, "weight": null, "est_delivery_date": - "2024-01-19T21:44:13Z", "shipment_id": "shp_09762a154e9a47d7a366232f343ef84b", - "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": - "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-19T21:44:13Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", - "message": "Shipping Label Created", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-20T10:21:13Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": - null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": - null}, "public_url": "https://track.easypost.com/djE6dHJrX2YxOTg3ZmU1MTc0MDQ5OTJhZDE0NTRmZjVjZjVjYzQz"}, - "to_address": {"id": "adr_e25b9148b71311ee8f11ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T21:44:12+00:00", "updated_at": "2024-01-19T21:44:12+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_e25d9c2cb71311ee8025ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:44:12+00:00", "updated_at": - "2024-01-19T21:44:12+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_e25b9148b71311ee8f11ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:44:12+00:00", "updated_at": "2024-01-19T21:44:12+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}, {"object": "Fee", - "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": - false}], "id": "shp_09762a154e9a47d7a366232f343ef84b", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '9574' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaed2de78ba7c5000d5413 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.180180' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"], - "insurance": 0}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '1004' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:48:05Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010708624", "updated_at": "2024-01-19T21:48:06Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_cc63846f59ab42019a94a2bf74fe0cf9", "object": "CustomsInfo", "created_at": - "2024-01-19T21:48:05Z", "updated_at": "2024-01-19T21:48:05Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_07e49229d9564ee6a37228b0caf33458", - "object": "CustomsItem", "created_at": "2024-01-19T21:48:05Z", "updated_at": - "2024-01-19T21:48:05Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_6d00c355b71411eea9d23cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:48:05+00:00", "updated_at": - "2024-01-19T21:48:05+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_f7047f14a6e84658aa5f7602449671a1", - "object": "Parcel", "created_at": "2024-01-19T21:48:05Z", "updated_at": "2024-01-19T21:48:05Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_b88c20c62b2e463b9791bb016f120957", "created_at": "2024-01-19T21:48:05Z", - "updated_at": "2024-01-19T21:48:05Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:48:05Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e81c17937cd797497ea32460299ad6c3d8.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_b1affcf494fb4a49b880e568dd2326b1", "object": - "Rate", "created_at": "2024-01-19T21:48:05Z", "updated_at": "2024-01-19T21:48:05Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_a6b3fe8dc7804c51bf4f047f6cfed89c", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4af5241f9c4447489db2097491763347", - "object": "Rate", "created_at": "2024-01-19T21:48:05Z", "updated_at": "2024-01-19T21:48:05Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_a6b3fe8dc7804c51bf4f047f6cfed89c", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_6aacf6848ba341a9a59dd762d6ac479a", - "object": "Rate", "created_at": "2024-01-19T21:48:05Z", "updated_at": "2024-01-19T21:48:05Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_a6b3fe8dc7804c51bf4f047f6cfed89c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_368cb5bb2ca94e9fa4ddc9c472939a8b", "object": "Rate", "created_at": - "2024-01-19T21:48:05Z", "updated_at": "2024-01-19T21:48:05Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_a6b3fe8dc7804c51bf4f047f6cfed89c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_d0279f3a94c14c64b801dd28b82c1af5", "object": "Rate", "created_at": - "2024-01-19T21:48:05Z", "updated_at": "2024-01-19T21:48:05Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_a6b3fe8dc7804c51bf4f047f6cfed89c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_b1affcf494fb4a49b880e568dd2326b1", - "object": "Rate", "created_at": "2024-01-19T21:48:05Z", "updated_at": "2024-01-19T21:48:05Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_a6b3fe8dc7804c51bf4f047f6cfed89c", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_15bfb692feff4d139898d88d44a999dc", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708624", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:48:06Z", - "updated_at": "2024-01-19T21:48:06Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_a6b3fe8dc7804c51bf4f047f6cfed89c", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzE1YmZiNjkyZmVmZjRkMTM5ODk4ZDg4ZDQ0YTk5OWRj"}, - "to_address": {"id": "adr_6cfe63f5b71411eeacf0ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:48:05+00:00", "updated_at": "2024-01-19T21:48:05+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_6d00c355b71411eea9d23cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:48:05+00:00", "updated_at": - "2024-01-19T21:48:05+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_6cfe63f5b71411eeacf0ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:48:05+00:00", "updated_at": "2024-01-19T21:48:05+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_a6b3fe8dc7804c51bf4f047f6cfed89c", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_a6b3fe8dc7804c51bf4f047f6cfed89c - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda865aaee15e78bb04700114a6a - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '1.065028' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"amount": "100"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '17' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments/shp_a6b3fe8dc7804c51bf4f047f6cfed89c/insure - response: - body: - string: '{"created_at": "2024-01-19T21:48:05Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010708624", "updated_at": "2024-01-19T21:48:06Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_cc63846f59ab42019a94a2bf74fe0cf9", "object": "CustomsInfo", "created_at": - "2024-01-19T21:48:05Z", "updated_at": "2024-01-19T21:48:05Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_07e49229d9564ee6a37228b0caf33458", - "object": "CustomsItem", "created_at": "2024-01-19T21:48:05Z", "updated_at": - "2024-01-19T21:48:05Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_6d00c355b71411eea9d23cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:48:05+00:00", "updated_at": - "2024-01-19T21:48:05+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": "100.00", "order_id": null, "parcel": {"id": "prcl_f7047f14a6e84658aa5f7602449671a1", - "object": "Parcel", "created_at": "2024-01-19T21:48:05Z", "updated_at": "2024-01-19T21:48:05Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_b88c20c62b2e463b9791bb016f120957", "created_at": "2024-01-19T21:48:05Z", - "updated_at": "2024-01-19T21:48:05Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:48:05Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e81c17937cd797497ea32460299ad6c3d8.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_b1affcf494fb4a49b880e568dd2326b1", "object": - "Rate", "created_at": "2024-01-19T21:48:05Z", "updated_at": "2024-01-19T21:48:05Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_a6b3fe8dc7804c51bf4f047f6cfed89c", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4af5241f9c4447489db2097491763347", - "object": "Rate", "created_at": "2024-01-19T21:48:05Z", "updated_at": "2024-01-19T21:48:05Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_a6b3fe8dc7804c51bf4f047f6cfed89c", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_6aacf6848ba341a9a59dd762d6ac479a", - "object": "Rate", "created_at": "2024-01-19T21:48:05Z", "updated_at": "2024-01-19T21:48:05Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_a6b3fe8dc7804c51bf4f047f6cfed89c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_368cb5bb2ca94e9fa4ddc9c472939a8b", "object": "Rate", "created_at": - "2024-01-19T21:48:05Z", "updated_at": "2024-01-19T21:48:05Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_a6b3fe8dc7804c51bf4f047f6cfed89c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_d0279f3a94c14c64b801dd28b82c1af5", "object": "Rate", "created_at": - "2024-01-19T21:48:05Z", "updated_at": "2024-01-19T21:48:05Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_a6b3fe8dc7804c51bf4f047f6cfed89c", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_b1affcf494fb4a49b880e568dd2326b1", - "object": "Rate", "created_at": "2024-01-19T21:48:05Z", "updated_at": "2024-01-19T21:48:05Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_a6b3fe8dc7804c51bf4f047f6cfed89c", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_15bfb692feff4d139898d88d44a999dc", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010708624", - "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:48:06Z", - "updated_at": "2024-01-19T21:48:06Z", "signed_by": null, "weight": null, "est_delivery_date": - "2024-01-19T21:48:06Z", "shipment_id": "shp_a6b3fe8dc7804c51bf4f047f6cfed89c", - "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": - "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-19T21:48:06Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", - "message": "Shipping Label Created", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-20T10:25:06Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": - null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": - null}, "public_url": "https://track.easypost.com/djE6dHJrXzE1YmZiNjkyZmVmZjRkMTM5ODk4ZDg4ZDQ0YTk5OWRj"}, - "to_address": {"id": "adr_6cfe63f5b71411eeacf0ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:48:05+00:00", "updated_at": "2024-01-19T21:48:05+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_6d00c355b71411eea9d23cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:48:05+00:00", "updated_at": - "2024-01-19T21:48:05+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_6cfe63f5b71411eeacf0ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:48:05+00:00", "updated_at": "2024-01-19T21:48:05+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}, {"object": "Fee", - "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": - false}], "id": "shp_a6b3fe8dc7804c51bf4f047f6cfed89c", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '9574' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdad65aaee16e78bb04800114b29 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.201373' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"], - "insurance": 0}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '1004' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:50:00Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010709232", "updated_at": "2024-01-19T21:50:01Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_d9c3c0c4e8e54100aaf62b334f5f9789", "object": "CustomsInfo", "created_at": - "2024-01-19T21:50:00Z", "updated_at": "2024-01-19T21:50:00Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_3a2348d7b5bc4b78883e856f68a0499f", - "object": "CustomsItem", "created_at": "2024-01-19T21:50:00Z", "updated_at": - "2024-01-19T21:50:00Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_b1c3ccadb71411ee90c8ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:50:00+00:00", "updated_at": - "2024-01-19T21:50:00+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_226d676dcb70465fa11ad38d70ff074d", - "object": "Parcel", "created_at": "2024-01-19T21:50:00Z", "updated_at": "2024-01-19T21:50:00Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_b67157eb41d44c5ebca4c6a56b97a28b", "created_at": "2024-01-19T21:50:01Z", - "updated_at": "2024-01-19T21:50:01Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:50:01Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8dce4184ba86c4e81b7b85c46ddd0bbfc.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_e836a0cb7d844783a944377b6b336537", "object": - "Rate", "created_at": "2024-01-19T21:50:00Z", "updated_at": "2024-01-19T21:50:00Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_e6890d7bdcba4918bad87fdcc87deb6a", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_3ff69eb7d27d4b108a724f054566f2bb", - "object": "Rate", "created_at": "2024-01-19T21:50:00Z", "updated_at": "2024-01-19T21:50:00Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_e6890d7bdcba4918bad87fdcc87deb6a", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f5678165145c411189d818e9a9c68065", - "object": "Rate", "created_at": "2024-01-19T21:50:00Z", "updated_at": "2024-01-19T21:50:00Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_e6890d7bdcba4918bad87fdcc87deb6a", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4a3e38b46d264548b8d6991122b5fbd5", - "object": "Rate", "created_at": "2024-01-19T21:50:00Z", "updated_at": "2024-01-19T21:50:00Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_e6890d7bdcba4918bad87fdcc87deb6a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_76a03ea64c744659a9a8c070c6cd2ab3", "object": "Rate", "created_at": - "2024-01-19T21:50:00Z", "updated_at": "2024-01-19T21:50:00Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_e6890d7bdcba4918bad87fdcc87deb6a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_3ff69eb7d27d4b108a724f054566f2bb", - "object": "Rate", "created_at": "2024-01-19T21:50:01Z", "updated_at": "2024-01-19T21:50:01Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_e6890d7bdcba4918bad87fdcc87deb6a", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_868d8dd515a74ae4aeb0f1e89d160df1", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010709232", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:50:01Z", - "updated_at": "2024-01-19T21:50:01Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_e6890d7bdcba4918bad87fdcc87deb6a", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzg2OGQ4ZGQ1MTVhNzRhZTRhZWIwZjFlODlkMTYwZGYx"}, - "to_address": {"id": "adr_b1c13cebb71411ee828dac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:50:00+00:00", "updated_at": "2024-01-19T21:50:00+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_b1c3ccadb71411ee90c8ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:50:00+00:00", "updated_at": - "2024-01-19T21:50:00+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_b1c13cebb71411ee828dac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:50:00+00:00", "updated_at": "2024-01-19T21:50:00+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_e6890d7bdcba4918bad87fdcc87deb6a", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_e6890d7bdcba4918bad87fdcc87deb6a - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdae65aaee88e78bb86a00118c22 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '1.164822' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"amount": "100"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '17' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments/shp_e6890d7bdcba4918bad87fdcc87deb6a/insure - response: - body: - string: '{"created_at": "2024-01-19T21:50:00Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010709232", "updated_at": "2024-01-19T21:50:01Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_d9c3c0c4e8e54100aaf62b334f5f9789", "object": "CustomsInfo", "created_at": - "2024-01-19T21:50:00Z", "updated_at": "2024-01-19T21:50:00Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_3a2348d7b5bc4b78883e856f68a0499f", - "object": "CustomsItem", "created_at": "2024-01-19T21:50:00Z", "updated_at": - "2024-01-19T21:50:00Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_b1c3ccadb71411ee90c8ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:50:00+00:00", "updated_at": - "2024-01-19T21:50:00+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": "100.00", "order_id": null, "parcel": {"id": "prcl_226d676dcb70465fa11ad38d70ff074d", - "object": "Parcel", "created_at": "2024-01-19T21:50:00Z", "updated_at": "2024-01-19T21:50:00Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_b67157eb41d44c5ebca4c6a56b97a28b", "created_at": "2024-01-19T21:50:01Z", - "updated_at": "2024-01-19T21:50:01Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:50:01Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8dce4184ba86c4e81b7b85c46ddd0bbfc.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_e836a0cb7d844783a944377b6b336537", "object": - "Rate", "created_at": "2024-01-19T21:50:00Z", "updated_at": "2024-01-19T21:50:00Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_e6890d7bdcba4918bad87fdcc87deb6a", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_3ff69eb7d27d4b108a724f054566f2bb", - "object": "Rate", "created_at": "2024-01-19T21:50:00Z", "updated_at": "2024-01-19T21:50:00Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_e6890d7bdcba4918bad87fdcc87deb6a", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f5678165145c411189d818e9a9c68065", - "object": "Rate", "created_at": "2024-01-19T21:50:00Z", "updated_at": "2024-01-19T21:50:00Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_e6890d7bdcba4918bad87fdcc87deb6a", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4a3e38b46d264548b8d6991122b5fbd5", - "object": "Rate", "created_at": "2024-01-19T21:50:00Z", "updated_at": "2024-01-19T21:50:00Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_e6890d7bdcba4918bad87fdcc87deb6a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_76a03ea64c744659a9a8c070c6cd2ab3", "object": "Rate", "created_at": - "2024-01-19T21:50:00Z", "updated_at": "2024-01-19T21:50:00Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_e6890d7bdcba4918bad87fdcc87deb6a", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_3ff69eb7d27d4b108a724f054566f2bb", - "object": "Rate", "created_at": "2024-01-19T21:50:01Z", "updated_at": "2024-01-19T21:50:01Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_e6890d7bdcba4918bad87fdcc87deb6a", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_868d8dd515a74ae4aeb0f1e89d160df1", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010709232", - "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:50:01Z", - "updated_at": "2024-01-19T21:50:01Z", "signed_by": null, "weight": null, "est_delivery_date": - "2024-01-19T21:50:01Z", "shipment_id": "shp_e6890d7bdcba4918bad87fdcc87deb6a", - "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": - "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-19T21:50:01Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", - "message": "Shipping Label Created", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-20T10:27:01Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": - null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": - null}, "public_url": "https://track.easypost.com/djE6dHJrXzg2OGQ4ZGQ1MTVhNzRhZTRhZWIwZjFlODlkMTYwZGYx"}, - "to_address": {"id": "adr_b1c13cebb71411ee828dac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:50:00+00:00", "updated_at": "2024-01-19T21:50:00+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_b1c3ccadb71411ee90c8ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:50:00+00:00", "updated_at": - "2024-01-19T21:50:00+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_b1c13cebb71411ee828dac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:50:00+00:00", "updated_at": "2024-01-19T21:50:00+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}, {"object": "Fee", - "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": - false}], "id": "shp_e6890d7bdcba4918bad87fdcc87deb6a", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '9574' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda765aaee89e78bb86b00118cd4 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.200671' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"], - "insurance": 0}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '1004' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:59:19Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010711617", "updated_at": "2024-01-19T21:59:20Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_08ce1b5abaca4e63b50ace65a7b93c14", "object": "CustomsInfo", "created_at": - "2024-01-19T21:59:19Z", "updated_at": "2024-01-19T21:59:19Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_22885b30d3f7401391b0896e1d02ce6c", - "object": "CustomsItem", "created_at": "2024-01-19T21:59:19Z", "updated_at": - "2024-01-19T21:59:19Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_ff3cd26cb71511ee8028ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:59:19+00:00", "updated_at": - "2024-01-19T21:59:19+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_747f2088f7124be5acd2ae4fb67aedd9", - "object": "Parcel", "created_at": "2024-01-19T21:59:19Z", "updated_at": "2024-01-19T21:59:19Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_d263243c806c4b4289e12dfa7e5eaed5", "created_at": "2024-01-19T21:59:20Z", - "updated_at": "2024-01-19T21:59:20Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:59:20Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e85ea91f7ef7fc4288882d0529de624114.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_8b9d72d160dd45ec986af80e80e2e3cb", "object": - "Rate", "created_at": "2024-01-19T21:59:20Z", "updated_at": "2024-01-19T21:59:20Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_4cb2ac419eb04d1da5c923fd9b3785e8", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_a4d36ae8284348ad893321858e2a1b9d", - "object": "Rate", "created_at": "2024-01-19T21:59:20Z", "updated_at": "2024-01-19T21:59:20Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_4cb2ac419eb04d1da5c923fd9b3785e8", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c44da9b860de4be9b50e316f4d2e4c4f", - "object": "Rate", "created_at": "2024-01-19T21:59:20Z", "updated_at": "2024-01-19T21:59:20Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_4cb2ac419eb04d1da5c923fd9b3785e8", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_55dd0ae2d4544068b26bbecc581801f9", - "object": "Rate", "created_at": "2024-01-19T21:59:20Z", "updated_at": "2024-01-19T21:59:20Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_4cb2ac419eb04d1da5c923fd9b3785e8", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_56bb871445534714bb703c128cf3092b", "object": "Rate", "created_at": - "2024-01-19T21:59:20Z", "updated_at": "2024-01-19T21:59:20Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_4cb2ac419eb04d1da5c923fd9b3785e8", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_a4d36ae8284348ad893321858e2a1b9d", - "object": "Rate", "created_at": "2024-01-19T21:59:20Z", "updated_at": "2024-01-19T21:59:20Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_4cb2ac419eb04d1da5c923fd9b3785e8", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_b14d8cb4d02247f1ae3fbf6d40460ce6", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711617", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T21:59:21Z", - "updated_at": "2024-01-19T21:59:21Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_4cb2ac419eb04d1da5c923fd9b3785e8", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrX2IxNGQ4Y2I0ZDAyMjQ3ZjFhZTNmYmY2ZDQwNDYwY2U2"}, - "to_address": {"id": "adr_ff39e99ab71511eeb1d7ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:59:19+00:00", "updated_at": "2024-01-19T21:59:20+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_ff3cd26cb71511ee8028ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:59:19+00:00", "updated_at": - "2024-01-19T21:59:19+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_ff39e99ab71511eeb1d7ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:59:19+00:00", "updated_at": "2024-01-19T21:59:20+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_4cb2ac419eb04d1da5c923fd9b3785e8", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_4cb2ac419eb04d1da5c923fd9b3785e8 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaf0b7e798c01c000f9116 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.186366' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"amount": "100"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '17' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments/shp_4cb2ac419eb04d1da5c923fd9b3785e8/insure - response: - body: - string: '{"created_at": "2024-01-19T21:59:19Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010711617", "updated_at": "2024-01-19T21:59:20Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_08ce1b5abaca4e63b50ace65a7b93c14", "object": "CustomsInfo", "created_at": - "2024-01-19T21:59:19Z", "updated_at": "2024-01-19T21:59:19Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_22885b30d3f7401391b0896e1d02ce6c", - "object": "CustomsItem", "created_at": "2024-01-19T21:59:19Z", "updated_at": - "2024-01-19T21:59:19Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_ff3cd26cb71511ee8028ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:59:19+00:00", "updated_at": - "2024-01-19T21:59:19+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": "100.00", "order_id": null, "parcel": {"id": "prcl_747f2088f7124be5acd2ae4fb67aedd9", - "object": "Parcel", "created_at": "2024-01-19T21:59:19Z", "updated_at": "2024-01-19T21:59:19Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_d263243c806c4b4289e12dfa7e5eaed5", "created_at": "2024-01-19T21:59:20Z", - "updated_at": "2024-01-19T21:59:20Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T21:59:20Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e85ea91f7ef7fc4288882d0529de624114.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_8b9d72d160dd45ec986af80e80e2e3cb", "object": - "Rate", "created_at": "2024-01-19T21:59:20Z", "updated_at": "2024-01-19T21:59:20Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_4cb2ac419eb04d1da5c923fd9b3785e8", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_a4d36ae8284348ad893321858e2a1b9d", - "object": "Rate", "created_at": "2024-01-19T21:59:20Z", "updated_at": "2024-01-19T21:59:20Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_4cb2ac419eb04d1da5c923fd9b3785e8", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_c44da9b860de4be9b50e316f4d2e4c4f", - "object": "Rate", "created_at": "2024-01-19T21:59:20Z", "updated_at": "2024-01-19T21:59:20Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_4cb2ac419eb04d1da5c923fd9b3785e8", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_55dd0ae2d4544068b26bbecc581801f9", - "object": "Rate", "created_at": "2024-01-19T21:59:20Z", "updated_at": "2024-01-19T21:59:20Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_4cb2ac419eb04d1da5c923fd9b3785e8", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_56bb871445534714bb703c128cf3092b", "object": "Rate", "created_at": - "2024-01-19T21:59:20Z", "updated_at": "2024-01-19T21:59:20Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_4cb2ac419eb04d1da5c923fd9b3785e8", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_a4d36ae8284348ad893321858e2a1b9d", - "object": "Rate", "created_at": "2024-01-19T21:59:20Z", "updated_at": "2024-01-19T21:59:20Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_4cb2ac419eb04d1da5c923fd9b3785e8", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_b14d8cb4d02247f1ae3fbf6d40460ce6", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010711617", - "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:59:21Z", - "updated_at": "2024-01-19T21:59:21Z", "signed_by": null, "weight": null, "est_delivery_date": - "2024-01-19T21:59:21Z", "shipment_id": "shp_4cb2ac419eb04d1da5c923fd9b3785e8", - "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": - "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-19T21:59:21Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", - "message": "Shipping Label Created", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-20T10:36:21Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": - null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": - null}, "public_url": "https://track.easypost.com/djE6dHJrX2IxNGQ4Y2I0ZDAyMjQ3ZjFhZTNmYmY2ZDQwNDYwY2U2"}, - "to_address": {"id": "adr_ff39e99ab71511eeb1d7ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:59:19+00:00", "updated_at": "2024-01-19T21:59:20+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_ff3cd26cb71511ee8028ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:59:19+00:00", "updated_at": - "2024-01-19T21:59:19+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_ff39e99ab71511eeb1d7ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:59:19+00:00", "updated_at": "2024-01-19T21:59:20+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}, {"object": "Fee", - "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": - false}], "id": "shp_4cb2ac419eb04d1da5c923fd9b3785e8", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '9574' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf0b9e798c01d000f9233 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.222979' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"], - "insurance": 0}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '1004' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T22:02:15Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010712010", "updated_at": "2024-01-19T22:02:16Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_84dbe653f4ff43678c8a3382367dd56a", "object": "CustomsInfo", "created_at": - "2024-01-19T22:02:15Z", "updated_at": "2024-01-19T22:02:15Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_3693b990e6864483b186e0905fd5f39c", - "object": "CustomsItem", "created_at": "2024-01-19T22:02:15Z", "updated_at": - "2024-01-19T22:02:15Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_67c3eef9b71611ee8f873cecef1b359e", - "object": "Address", "created_at": "2024-01-19T22:02:15+00:00", "updated_at": - "2024-01-19T22:02:15+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_3d0642f5e8b24158a4d14ff3e6b5ec56", - "object": "Parcel", "created_at": "2024-01-19T22:02:15Z", "updated_at": "2024-01-19T22:02:15Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_08823a499e454d918ded62e21b12518b", "created_at": "2024-01-19T22:02:15Z", - "updated_at": "2024-01-19T22:02:16Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T22:02:15Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8fcb38caf45b2487fa433cb2c7b79f331.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_02e3f743912648279018e16026bf1ca7", "object": - "Rate", "created_at": "2024-01-19T22:02:15Z", "updated_at": "2024-01-19T22:02:15Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_6643f05ef56a40f3bfd702548750d5d3", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_7b63a7be9e7748ceac1d54de497d1553", - "object": "Rate", "created_at": "2024-01-19T22:02:15Z", "updated_at": "2024-01-19T22:02:15Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_6643f05ef56a40f3bfd702548750d5d3", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_d27b30ec396c440198eb5a461549cec7", - "object": "Rate", "created_at": "2024-01-19T22:02:15Z", "updated_at": "2024-01-19T22:02:15Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_6643f05ef56a40f3bfd702548750d5d3", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_464da21527074278844f873962581eb3", "object": "Rate", "created_at": - "2024-01-19T22:02:15Z", "updated_at": "2024-01-19T22:02:15Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_6643f05ef56a40f3bfd702548750d5d3", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_0e7b1575835f4214b1ff6fbcf0201d4f", "object": "Rate", "created_at": - "2024-01-19T22:02:15Z", "updated_at": "2024-01-19T22:02:15Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_6643f05ef56a40f3bfd702548750d5d3", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_02e3f743912648279018e16026bf1ca7", - "object": "Rate", "created_at": "2024-01-19T22:02:16Z", "updated_at": "2024-01-19T22:02:16Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_6643f05ef56a40f3bfd702548750d5d3", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_65bb8063950b4af594ef16f0b65c1733", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010712010", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T22:02:16Z", - "updated_at": "2024-01-19T22:02:16Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_6643f05ef56a40f3bfd702548750d5d3", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzY1YmI4MDYzOTUwYjRhZjU5NGVmMTZmMGI2NWMxNzMz"}, - "to_address": {"id": "adr_67c1d0cdb71611ee9357ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T22:02:15+00:00", "updated_at": "2024-01-19T22:02:15+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_67c3eef9b71611ee8f873cecef1b359e", - "object": "Address", "created_at": "2024-01-19T22:02:15+00:00", "updated_at": - "2024-01-19T22:02:15+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_67c1d0cdb71611ee9357ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T22:02:15+00:00", "updated_at": "2024-01-19T22:02:15+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_6643f05ef56a40f3bfd702548750d5d3", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_6643f05ef56a40f3bfd702548750d5d3 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaf167e798c87e00102ec4 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.165300' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"amount": "100"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '17' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments/shp_6643f05ef56a40f3bfd702548750d5d3/insure - response: - body: - string: '{"created_at": "2024-01-19T22:02:15Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010712010", "updated_at": "2024-01-19T22:02:16Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_84dbe653f4ff43678c8a3382367dd56a", "object": "CustomsInfo", "created_at": - "2024-01-19T22:02:15Z", "updated_at": "2024-01-19T22:02:15Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_3693b990e6864483b186e0905fd5f39c", - "object": "CustomsItem", "created_at": "2024-01-19T22:02:15Z", "updated_at": - "2024-01-19T22:02:15Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_67c3eef9b71611ee8f873cecef1b359e", - "object": "Address", "created_at": "2024-01-19T22:02:15+00:00", "updated_at": - "2024-01-19T22:02:15+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": "100.00", "order_id": null, "parcel": {"id": "prcl_3d0642f5e8b24158a4d14ff3e6b5ec56", - "object": "Parcel", "created_at": "2024-01-19T22:02:15Z", "updated_at": "2024-01-19T22:02:15Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_08823a499e454d918ded62e21b12518b", "created_at": "2024-01-19T22:02:15Z", - "updated_at": "2024-01-19T22:02:16Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T22:02:15Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8fcb38caf45b2487fa433cb2c7b79f331.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_02e3f743912648279018e16026bf1ca7", "object": - "Rate", "created_at": "2024-01-19T22:02:15Z", "updated_at": "2024-01-19T22:02:15Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_6643f05ef56a40f3bfd702548750d5d3", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_7b63a7be9e7748ceac1d54de497d1553", - "object": "Rate", "created_at": "2024-01-19T22:02:15Z", "updated_at": "2024-01-19T22:02:15Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_6643f05ef56a40f3bfd702548750d5d3", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_d27b30ec396c440198eb5a461549cec7", - "object": "Rate", "created_at": "2024-01-19T22:02:15Z", "updated_at": "2024-01-19T22:02:15Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_6643f05ef56a40f3bfd702548750d5d3", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_464da21527074278844f873962581eb3", "object": "Rate", "created_at": - "2024-01-19T22:02:15Z", "updated_at": "2024-01-19T22:02:15Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_6643f05ef56a40f3bfd702548750d5d3", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_0e7b1575835f4214b1ff6fbcf0201d4f", "object": "Rate", "created_at": - "2024-01-19T22:02:15Z", "updated_at": "2024-01-19T22:02:15Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_6643f05ef56a40f3bfd702548750d5d3", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_02e3f743912648279018e16026bf1ca7", - "object": "Rate", "created_at": "2024-01-19T22:02:16Z", "updated_at": "2024-01-19T22:02:16Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_6643f05ef56a40f3bfd702548750d5d3", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_65bb8063950b4af594ef16f0b65c1733", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010712010", - "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T22:02:16Z", - "updated_at": "2024-01-19T22:02:16Z", "signed_by": null, "weight": null, "est_delivery_date": - "2024-01-19T22:02:16Z", "shipment_id": "shp_6643f05ef56a40f3bfd702548750d5d3", - "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": - "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-19T22:02:16Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", - "message": "Shipping Label Created", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-20T10:39:16Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": - null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": - null}, "public_url": "https://track.easypost.com/djE6dHJrXzY1YmI4MDYzOTUwYjRhZjU5NGVmMTZmMGI2NWMxNzMz"}, - "to_address": {"id": "adr_67c1d0cdb71611ee9357ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T22:02:15+00:00", "updated_at": "2024-01-19T22:02:15+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_67c3eef9b71611ee8f873cecef1b359e", - "object": "Address", "created_at": "2024-01-19T22:02:15+00:00", "updated_at": - "2024-01-19T22:02:15+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_67c1d0cdb71611ee9357ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T22:02:15+00:00", "updated_at": "2024-01-19T22:02:15+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}, {"object": "Fee", - "type": "InsuranceFee", "amount": "1.00000", "charged": true, "refunded": - false}], "id": "shp_6643f05ef56a40f3bfd702548750d5d3", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '9574' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaf168e798c87f00102ffb - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.188590' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_shipping_refund_shipments_refund_refund.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_shipping_refund_shipments_refund_refund.yaml deleted file mode 100644 index d313723b..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_shipping_refund_shipments_refund_refund.yaml +++ /dev/null @@ -1,379 +0,0 @@ -interactions: -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T23:35:49Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010723160", "updated_at": "2024-01-19T23:35:50Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_2a0de82b6adb4d879b62f5f31735392d", "object": "CustomsInfo", "created_at": - "2024-01-19T23:35:49Z", "updated_at": "2024-01-19T23:35:49Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_745ac40aa547419a8ab73485a4704efb", - "object": "CustomsItem", "created_at": "2024-01-19T23:35:49Z", "updated_at": - "2024-01-19T23:35:49Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_7a33a0dcb72311eeb19cac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T23:35:49+00:00", "updated_at": - "2024-01-19T23:35:49+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_4f7d60d7ebc64aef81973c7aeccce785", - "object": "Parcel", "created_at": "2024-01-19T23:35:49Z", "updated_at": "2024-01-19T23:35:49Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_ad71f816365247a6b1581df2d25ac043", "created_at": "2024-01-19T23:35:50Z", - "updated_at": "2024-01-19T23:35:50Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T23:35:50Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8c6bff2a3d1f04aa4b9152020b5d1c759.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_cf1f7216da5b4dc79b68c6690905b358", "object": - "Rate", "created_at": "2024-01-19T23:35:49Z", "updated_at": "2024-01-19T23:35:49Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_44865aa601f74f8ba22fd4f4233a77ec", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_ea3e5d1deb5341249aa37498d27c0fcd", - "object": "Rate", "created_at": "2024-01-19T23:35:49Z", "updated_at": "2024-01-19T23:35:49Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_44865aa601f74f8ba22fd4f4233a77ec", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_52772cdf7fa1453fa0bc8b45c9a1083e", - "object": "Rate", "created_at": "2024-01-19T23:35:49Z", "updated_at": "2024-01-19T23:35:49Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_44865aa601f74f8ba22fd4f4233a77ec", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_ffb4d3cdc2374f79a7c177024d3ce56f", - "object": "Rate", "created_at": "2024-01-19T23:35:49Z", "updated_at": "2024-01-19T23:35:49Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_44865aa601f74f8ba22fd4f4233a77ec", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_901c1fcf974e4ffbb297f48832056e5d", "object": "Rate", "created_at": - "2024-01-19T23:35:49Z", "updated_at": "2024-01-19T23:35:49Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_44865aa601f74f8ba22fd4f4233a77ec", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_ea3e5d1deb5341249aa37498d27c0fcd", - "object": "Rate", "created_at": "2024-01-19T23:35:50Z", "updated_at": "2024-01-19T23:35:50Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_44865aa601f74f8ba22fd4f4233a77ec", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_1dfc834b2c154aaca434daef829248a3", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010723160", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T23:35:50Z", - "updated_at": "2024-01-19T23:35:50Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_44865aa601f74f8ba22fd4f4233a77ec", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrXzFkZmM4MzRiMmMxNTRhYWNhNDM0ZGFlZjgyOTI0OGEz"}, - "to_address": {"id": "adr_7a3129b7b72311eebc7cac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T23:35:49+00:00", "updated_at": "2024-01-19T23:35:49+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_7a33a0dcb72311eeb19cac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T23:35:49+00:00", "updated_at": - "2024-01-19T23:35:49+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_7a3129b7b72311eebc7cac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T23:35:49+00:00", "updated_at": "2024-01-19T23:35:49+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_44865aa601f74f8ba22fd4f4233a77ec", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_44865aa601f74f8ba22fd4f4233a77ec - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265ab0755e799e1a9001d2ce3 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.028189' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '2' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments/shp_44865aa601f74f8ba22fd4f4233a77ec/refund - response: - body: - string: '{"created_at": "2024-01-19T23:35:49Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010723160", "updated_at": "2024-01-19T23:35:51Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_2a0de82b6adb4d879b62f5f31735392d", "object": "CustomsInfo", "created_at": - "2024-01-19T23:35:49Z", "updated_at": "2024-01-19T23:35:49Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_745ac40aa547419a8ab73485a4704efb", - "object": "CustomsItem", "created_at": "2024-01-19T23:35:49Z", "updated_at": - "2024-01-19T23:35:49Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_7a33a0dcb72311eeb19cac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T23:35:49+00:00", "updated_at": - "2024-01-19T23:35:49+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_4f7d60d7ebc64aef81973c7aeccce785", - "object": "Parcel", "created_at": "2024-01-19T23:35:49Z", "updated_at": "2024-01-19T23:35:49Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_ad71f816365247a6b1581df2d25ac043", "created_at": "2024-01-19T23:35:50Z", - "updated_at": "2024-01-19T23:35:50Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T23:35:50Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8c6bff2a3d1f04aa4b9152020b5d1c759.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_cf1f7216da5b4dc79b68c6690905b358", "object": - "Rate", "created_at": "2024-01-19T23:35:49Z", "updated_at": "2024-01-19T23:35:49Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_44865aa601f74f8ba22fd4f4233a77ec", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_ea3e5d1deb5341249aa37498d27c0fcd", - "object": "Rate", "created_at": "2024-01-19T23:35:49Z", "updated_at": "2024-01-19T23:35:49Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_44865aa601f74f8ba22fd4f4233a77ec", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_52772cdf7fa1453fa0bc8b45c9a1083e", - "object": "Rate", "created_at": "2024-01-19T23:35:49Z", "updated_at": "2024-01-19T23:35:49Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_44865aa601f74f8ba22fd4f4233a77ec", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_ffb4d3cdc2374f79a7c177024d3ce56f", - "object": "Rate", "created_at": "2024-01-19T23:35:49Z", "updated_at": "2024-01-19T23:35:49Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_44865aa601f74f8ba22fd4f4233a77ec", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_901c1fcf974e4ffbb297f48832056e5d", "object": "Rate", "created_at": - "2024-01-19T23:35:49Z", "updated_at": "2024-01-19T23:35:49Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_44865aa601f74f8ba22fd4f4233a77ec", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": "submitted", "scan_form": null, "selected_rate": {"id": "rate_ea3e5d1deb5341249aa37498d27c0fcd", - "object": "Rate", "created_at": "2024-01-19T23:35:50Z", "updated_at": "2024-01-19T23:35:50Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_44865aa601f74f8ba22fd4f4233a77ec", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_1dfc834b2c154aaca434daef829248a3", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010723160", - "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T23:35:50Z", - "updated_at": "2024-01-19T23:35:50Z", "signed_by": null, "weight": null, "est_delivery_date": - "2024-01-19T23:35:50Z", "shipment_id": "shp_44865aa601f74f8ba22fd4f4233a77ec", - "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": - "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-19T23:35:50Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", - "message": "Shipping Label Created", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-20T12:12:50Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": - null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": - null}, "public_url": "https://track.easypost.com/djE6dHJrXzFkZmM4MzRiMmMxNTRhYWNhNDM0ZGFlZjgyOTI0OGEz"}, - "to_address": {"id": "adr_7a3129b7b72311eebc7cac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T23:35:49+00:00", "updated_at": "2024-01-19T23:35:49+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_7a33a0dcb72311eeb19cac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T23:35:49+00:00", "updated_at": - "2024-01-19T23:35:49+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_7a3129b7b72311eebc7cac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T23:35:49+00:00", "updated_at": "2024-01-19T23:35:49+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_44865aa601f74f8ba22fd4f4233a77ec", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '9487' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765ab0757e799e1c1001d2da3 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.179619' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_shipping_refund_shipping_refund_refund.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_shipping_refund_shipping_refund_refund.yaml deleted file mode 100644 index e62bdefd..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_shipping_refund_shipping_refund_refund.yaml +++ /dev/null @@ -1,377 +0,0 @@ -interactions: -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "service": "Priority", - "carrier": "USPS", "carrier_accounts": ["ca_b25657e9896e4d63ac8151ac346ac41e"]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '988' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T23:35:51Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010723177", "updated_at": "2024-01-19T23:35:52Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_1780613e1ba74aa7bb4bb9caa6161d24", "object": "CustomsInfo", "created_at": - "2024-01-19T23:35:51Z", "updated_at": "2024-01-19T23:35:51Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_f04aa11dae7f49f6a848bfddd88d94fc", - "object": "CustomsItem", "created_at": "2024-01-19T23:35:51Z", "updated_at": - "2024-01-19T23:35:51Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_7b4832cbb72311eea9dd3cecef1b359e", - "object": "Address", "created_at": "2024-01-19T23:35:51+00:00", "updated_at": - "2024-01-19T23:35:51+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_774744b1847f4024a33cd79035739bb8", - "object": "Parcel", "created_at": "2024-01-19T23:35:51Z", "updated_at": "2024-01-19T23:35:51Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_1bcc53c6885743c092639ac34cbdf762", "created_at": "2024-01-19T23:35:52Z", - "updated_at": "2024-01-19T23:35:52Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T23:35:52Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e832f93de179104f8ba91488c3845cba15.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_3dd671c002a6416586e86b9a9d870aae", "object": - "Rate", "created_at": "2024-01-19T23:35:51Z", "updated_at": "2024-01-19T23:35:51Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_941b6c65f8fd42a98064e44ce735c9b6", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_892e007fa01b4ce9a48a1e6939e3cdbb", - "object": "Rate", "created_at": "2024-01-19T23:35:51Z", "updated_at": "2024-01-19T23:35:51Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_941b6c65f8fd42a98064e44ce735c9b6", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_7d5e3571a4274c6c8bfe6d44b9bc54ac", - "object": "Rate", "created_at": "2024-01-19T23:35:51Z", "updated_at": "2024-01-19T23:35:51Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_941b6c65f8fd42a98064e44ce735c9b6", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_844ede7402674af8921ed358ba94e28d", - "object": "Rate", "created_at": "2024-01-19T23:35:51Z", "updated_at": "2024-01-19T23:35:51Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_941b6c65f8fd42a98064e44ce735c9b6", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_223bcc8594334b4e81ca3391cfe72e58", "object": "Rate", "created_at": - "2024-01-19T23:35:51Z", "updated_at": "2024-01-19T23:35:51Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_941b6c65f8fd42a98064e44ce735c9b6", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": {"id": "rate_892e007fa01b4ce9a48a1e6939e3cdbb", - "object": "Rate", "created_at": "2024-01-19T23:35:52Z", "updated_at": "2024-01-19T23:35:52Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_941b6c65f8fd42a98064e44ce735c9b6", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_b04ce352a07747f28b078abca52d26ad", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010723177", - "status": "unknown", "status_detail": "unknown", "created_at": "2024-01-19T23:35:52Z", - "updated_at": "2024-01-19T23:35:52Z", "signed_by": null, "weight": null, "est_delivery_date": - null, "shipment_id": "shp_941b6c65f8fd42a98064e44ce735c9b6", "carrier": "USPS", - "tracking_details": [], "fees": [], "carrier_detail": null, "public_url": - "https://track.easypost.com/djE6dHJrX2IwNGNlMzUyYTA3NzQ3ZjI4YjA3OGFiY2E1MmQyNmFk"}, - "to_address": {"id": "adr_7b45d0c5b72311eebcc6ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T23:35:51+00:00", "updated_at": "2024-01-19T23:35:51+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_7b4832cbb72311eea9dd3cecef1b359e", - "object": "Address", "created_at": "2024-01-19T23:35:51+00:00", "updated_at": - "2024-01-19T23:35:51+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_7b45d0c5b72311eebcc6ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T23:35:51+00:00", "updated_at": "2024-01-19T23:35:51+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": "", "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_941b6c65f8fd42a98064e44ce735c9b6", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '8350' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_941b6c65f8fd42a98064e44ce735c9b6 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765ab0757e799e1c2001d2de2 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '1.053656' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '2' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments/shp_941b6c65f8fd42a98064e44ce735c9b6/refund - response: - body: - string: '{"created_at": "2024-01-19T23:35:51Z", "is_return": false, "messages": - [], "mode": "test", "options": {"currency": "USD", "payment": {"type": "SENDER"}, - "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - "9405500207552010723177", "updated_at": "2024-01-19T23:35:53Z", "batch_id": - null, "batch_status": null, "batch_message": null, "customs_info": {"id": - "cstinfo_1780613e1ba74aa7bb4bb9caa6161d24", "object": "CustomsInfo", "created_at": - "2024-01-19T23:35:51Z", "updated_at": "2024-01-19T23:35:51Z", "contents_explanation": - "", "contents_type": "merchandise", "customs_certify": true, "customs_signer": - "Steve Brule", "eel_pfc": "NOEEI 30.37(a)", "non_delivery_option": "return", - "restriction_comments": null, "restriction_type": "none", "mode": "test", - "declaration": null, "customs_items": [{"id": "cstitem_f04aa11dae7f49f6a848bfddd88d94fc", - "object": "CustomsItem", "created_at": "2024-01-19T23:35:51Z", "updated_at": - "2024-01-19T23:35:51Z", "description": "T-shirt", "hs_tariff_number": "123456", - "origin_country": "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": - "123", "mode": "test", "manufacturer": null, "currency": null, "eccn": null, - "printed_commodity_identifier": null}]}, "from_address": {"id": "adr_7b4832cbb72311eea9dd3cecef1b359e", - "object": "Address", "created_at": "2024-01-19T23:35:51+00:00", "updated_at": - "2024-01-19T23:35:51+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "insurance": null, "order_id": null, "parcel": {"id": "prcl_774744b1847f4024a33cd79035739bb8", - "object": "Parcel", "created_at": "2024-01-19T23:35:51Z", "updated_at": "2024-01-19T23:35:51Z", - "length": 20.2, "width": 10.9, "height": 5.0, "predefined_package": null, - "weight": 65.9, "mode": "test"}, "postage_label": {"object": "PostageLabel", - "id": "pl_1bcc53c6885743c092639ac34cbdf762", "created_at": "2024-01-19T23:35:52Z", - "updated_at": "2024-01-19T23:35:52Z", "date_advance": 0, "integrated_form": - "none", "label_date": "2024-01-19T23:35:52Z", "label_resolution": 300, "label_size": - "4x6", "label_type": "default", "label_file_type": "image/png", "label_url": - "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e832f93de179104f8ba91488c3845cba15.png", - "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, "label_file": - null}, "rates": [{"id": "rate_3dd671c002a6416586e86b9a9d870aae", "object": - "Rate", "created_at": "2024-01-19T23:35:51Z", "updated_at": "2024-01-19T23:35:51Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_941b6c65f8fd42a98064e44ce735c9b6", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_892e007fa01b4ce9a48a1e6939e3cdbb", - "object": "Rate", "created_at": "2024-01-19T23:35:51Z", "updated_at": "2024-01-19T23:35:51Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_941b6c65f8fd42a98064e44ce735c9b6", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_7d5e3571a4274c6c8bfe6d44b9bc54ac", - "object": "Rate", "created_at": "2024-01-19T23:35:51Z", "updated_at": "2024-01-19T23:35:51Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_941b6c65f8fd42a98064e44ce735c9b6", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_844ede7402674af8921ed358ba94e28d", - "object": "Rate", "created_at": "2024-01-19T23:35:51Z", "updated_at": "2024-01-19T23:35:51Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_941b6c65f8fd42a98064e44ce735c9b6", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_223bcc8594334b4e81ca3391cfe72e58", "object": "Rate", "created_at": - "2024-01-19T23:35:51Z", "updated_at": "2024-01-19T23:35:51Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_941b6c65f8fd42a98064e44ce735c9b6", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": "submitted", "scan_form": null, "selected_rate": {"id": "rate_892e007fa01b4ce9a48a1e6939e3cdbb", - "object": "Rate", "created_at": "2024-01-19T23:35:52Z", "updated_at": "2024-01-19T23:35:52Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_941b6c65f8fd42a98064e44ce735c9b6", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, "tracker": {"id": "trk_b04ce352a07747f28b078abca52d26ad", - "object": "Tracker", "mode": "test", "tracking_code": "9405500207552010723177", - "status": "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T23:35:52Z", - "updated_at": "2024-01-19T23:35:52Z", "signed_by": null, "weight": null, "est_delivery_date": - "2024-01-19T23:35:52Z", "shipment_id": "shp_941b6c65f8fd42a98064e44ce735c9b6", - "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": - "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-19T23:35:52Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", - "message": "Shipping Label Created", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-20T12:12:52Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": - null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": - null}, "public_url": "https://track.easypost.com/djE6dHJrX2IwNGNlMzUyYTA3NzQ3ZjI4YjA3OGFiY2E1MmQyNmFk"}, - "to_address": {"id": "adr_7b45d0c5b72311eebcc6ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T23:35:51+00:00", "updated_at": "2024-01-19T23:35:51+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "usps_zone": 4, "return_address": {"id": "adr_7b4832cbb72311eea9dd3cecef1b359e", - "object": "Address", "created_at": "2024-01-19T23:35:51+00:00", "updated_at": - "2024-01-19T23:35:51+00:00", "name": "EasyPost", "company": null, "street1": - "417 Montgomery Street", "street2": "5th Floor", "city": "San Francisco", - "state": "CA", "zip": "94104", "country": "US", "phone": "4153334445", "email": - "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": - null, "federal_tax_id": null, "state_tax_id": null, "verifications": {}}, - "buyer_address": {"id": "adr_7b45d0c5b72311eebcc6ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T23:35:51+00:00", "updated_at": "2024-01-19T23:35:51+00:00", - "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", - "street2": null, "city": "REDONDO BEACH", "state": "CA", "zip": "90277-2506", - "country": "US", "phone": "8573875756", "email": "DR_STEVE_BRULE@GMAIL.COM", - "mode": "test", "carrier_facility": null, "residential": false, "federal_tax_id": - null, "state_tax_id": null, "verifications": {"zip4": {"success": true, "errors": - [], "details": null}, "delivery": {"success": true, "errors": [], "details": - {"latitude": 33.8436, "longitude": -118.39177, "time_zone": "America/Los_Angeles"}}}}, - "forms": [], "fees": [{"object": "Fee", "type": "LabelFee", "amount": "0.00000", - "charged": true, "refunded": false}, {"object": "Fee", "type": "PostageFee", - "amount": "7.99000", "charged": true, "refunded": false}], "id": "shp_941b6c65f8fd42a98064e44ce735c9b6", - "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '9487' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465ab0758e799e1c3001d2ec7 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.189186' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_smartrate_retrieve_estimated_delivery_date.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_smartrate_retrieve_estimated_delivery_date.yaml deleted file mode 100644 index 56a56623..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_smartrate_retrieve_estimated_delivery_date.yaml +++ /dev/null @@ -1,282 +0,0 @@ -interactions: -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '885' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T23:23:49Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T23:23:50Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_7e8ede543c06440fb64a594e534a77a6", - "object": "CustomsInfo", "created_at": "2024-01-19T23:23:49Z", "updated_at": - "2024-01-19T23:23:49Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_83fd55dd40f7491994d1f553042fb2cd", "object": "CustomsItem", - "created_at": "2024-01-19T23:23:49Z", "updated_at": "2024-01-19T23:23:49Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_cce78dadb72111ee8979ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T23:23:49+00:00", "updated_at": "2024-01-19T23:23:49+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_3146e48927074e21a9412e435d410282", "object": "Parcel", "created_at": - "2024-01-19T23:23:49Z", "updated_at": "2024-01-19T23:23:49Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_1f090c0672ff4dbfb70019177223c181", - "object": "Rate", "created_at": "2024-01-19T23:23:50Z", "updated_at": "2024-01-19T23:23:50Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_2b515adbb0d744658aa6c97331dad642", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_14b668ccb15c4b68b4525a2bab59311b", - "object": "Rate", "created_at": "2024-01-19T23:23:50Z", "updated_at": "2024-01-19T23:23:50Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_2b515adbb0d744658aa6c97331dad642", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_efafacc6ee134f809f89021d23cae583", - "object": "Rate", "created_at": "2024-01-19T23:23:50Z", "updated_at": "2024-01-19T23:23:50Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_2b515adbb0d744658aa6c97331dad642", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_3b396719d2da4000ad4a4dafcc69a1e1", - "object": "Rate", "created_at": "2024-01-19T23:23:50Z", "updated_at": "2024-01-19T23:23:50Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_2b515adbb0d744658aa6c97331dad642", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_17ae23855cc345c9be436e0c5021bfae", "object": "Rate", "created_at": - "2024-01-19T23:23:50Z", "updated_at": "2024-01-19T23:23:50Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_2b515adbb0d744658aa6c97331dad642", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_cce4d55bb72111ee81d13cecef1b359e", "object": - "Address", "created_at": "2024-01-19T23:23:49+00:00", "updated_at": "2024-01-19T23:23:49+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_cce78dadb72111ee8979ac1f6bc539ae", "object": "Address", "created_at": - "2024-01-19T23:23:49+00:00", "updated_at": "2024-01-19T23:23:49+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_cce4d55bb72111ee81d13cecef1b359e", - "object": "Address", "created_at": "2024-01-19T23:23:49+00:00", "updated_at": - "2024-01-19T23:23:49+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_2b515adbb0d744658aa6c97331dad642", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_2b515adbb0d744658aa6c97331dad642 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda865ab0485e799dcde001efea7 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.733477' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/shipments/shp_2b515adbb0d744658aa6c97331dad642/smartrate/delivery_date?planned_ship_date=2024-01-22 - response: - body: - string: '{"rates": [{"easypost_time_in_transit_data": {"days_in_transit": {"percentile_50": - 2, "percentile_75": 2, "percentile_85": 3, "percentile_90": 3, "percentile_95": - 4, "percentile_97": 4, "percentile_99": 8}, "easypost_estimated_delivery_date": - "2024-01-23", "planned_ship_date": "2024-01-22"}, "rate": {"carrier": "USPS", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e", "created_at": - "2024-01-19T23:23:50Z", "currency": "USD", "delivery_date": null, "delivery_date_guaranteed": - false, "delivery_days": null, "est_delivery_days": null, "id": "rate_1f090c0672ff4dbfb70019177223c181", - "list_currency": "USD", "list_rate": 46.85, "mode": "test", "object": "Rate", - "rate": 46.85, "retail_currency": "USD", "retail_rate": 54.2, "service": "Express", - "shipment_id": "shp_2b515adbb0d744658aa6c97331dad642", "updated_at": "2024-01-19T23:23:50Z"}}, - {"easypost_time_in_transit_data": {"days_in_transit": {"percentile_50": 3, - "percentile_75": 3, "percentile_85": 4, "percentile_90": 4, "percentile_95": - 5, "percentile_97": 7, "percentile_99": 8}, "easypost_estimated_delivery_date": - "2024-01-25", "planned_ship_date": "2024-01-22"}, "rate": {"carrier": "USPS", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e", "created_at": - "2024-01-19T23:23:50Z", "currency": "USD", "delivery_date": null, "delivery_date_guaranteed": - false, "delivery_days": 2, "est_delivery_days": 2, "id": "rate_14b668ccb15c4b68b4525a2bab59311b", - "list_currency": "USD", "list_rate": 10.27, "mode": "test", "object": "Rate", - "rate": 7.99, "retail_currency": "USD", "retail_rate": 14.05, "service": "Priority", - "shipment_id": "shp_2b515adbb0d744658aa6c97331dad642", "updated_at": "2024-01-19T23:23:50Z"}}, - {"easypost_time_in_transit_data": {"days_in_transit": {"percentile_50": 3, - "percentile_75": 3, "percentile_85": 4, "percentile_90": 4, "percentile_95": - 5, "percentile_97": 7, "percentile_99": 9}, "easypost_estimated_delivery_date": - "2024-01-25", "planned_ship_date": "2024-01-22"}, "rate": {"carrier": "USPS", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e", "created_at": - "2024-01-19T23:23:50Z", "currency": "USD", "delivery_date": null, "delivery_date_guaranteed": - false, "delivery_days": 3, "est_delivery_days": 3, "id": "rate_efafacc6ee134f809f89021d23cae583", - "list_currency": "USD", "list_rate": 8.92, "mode": "test", "object": "Rate", - "rate": 6.79, "retail_currency": "USD", "retail_rate": 12.45, "service": "GroundAdvantage", - "shipment_id": "shp_2b515adbb0d744658aa6c97331dad642", "updated_at": "2024-01-19T23:23:50Z"}}, - {"easypost_time_in_transit_data": {"days_in_transit": {"percentile_50": 3, - "percentile_75": 3, "percentile_85": 4, "percentile_90": 4, "percentile_95": - 5, "percentile_97": 7, "percentile_99": 9}, "easypost_estimated_delivery_date": - "2024-01-25", "planned_ship_date": "2024-01-22"}, "rate": {"carrier": "USPS", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e", "created_at": - "2024-01-19T23:23:50Z", "currency": "USD", "delivery_date": null, "delivery_date_guaranteed": - false, "delivery_days": 3, "est_delivery_days": 3, "id": "rate_3b396719d2da4000ad4a4dafcc69a1e1", - "list_currency": "USD", "list_rate": 8.92, "mode": "test", "object": "Rate", - "rate": 6.79, "retail_currency": "USD", "retail_rate": 12.45, "service": "First", - "shipment_id": "shp_2b515adbb0d744658aa6c97331dad642", "updated_at": "2024-01-19T23:23:50Z"}}, - {"easypost_time_in_transit_data": {"days_in_transit": {"percentile_50": 3, - "percentile_75": 3, "percentile_85": 4, "percentile_90": 4, "percentile_95": - 5, "percentile_97": 7, "percentile_99": 9}, "easypost_estimated_delivery_date": - "2024-01-25", "planned_ship_date": "2024-01-22"}, "rate": {"carrier": "USPS", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e", "created_at": - "2024-01-19T23:23:50Z", "currency": "USD", "delivery_date": null, "delivery_date_guaranteed": - false, "delivery_days": 3, "est_delivery_days": 3, "id": "rate_17ae23855cc345c9be436e0c5021bfae", - "list_currency": "USD", "list_rate": 8.92, "mode": "test", "object": "Rate", - "rate": 6.79, "retail_currency": "USD", "retail_rate": 12.45, "service": "ParcelSelect", - "shipment_id": "shp_2b515adbb0d744658aa6c97331dad642", "updated_at": "2024-01-19T23:23:50Z"}}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '3901' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdae65ab0486e799dcdf001eff31 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.116478' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_smartrate_retrieve_time_in_transit_statistics.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_smartrate_retrieve_time_in_transit_statistics.yaml deleted file mode 100644 index 129eb546..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_smartrate_retrieve_time_in_transit_statistics.yaml +++ /dev/null @@ -1,1440 +0,0 @@ -interactions: -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '885' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:42:17Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T21:42:18Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_22231313148f4501b7d7f878162cdbf9", - "object": "CustomsInfo", "created_at": "2024-01-19T21:42:17Z", "updated_at": - "2024-01-19T21:42:17Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_02f0a325756e4e0bbebe6fa858c6b378", "object": "CustomsItem", - "created_at": "2024-01-19T21:42:17Z", "updated_at": "2024-01-19T21:42:17Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_9dcd570db71311eeb691ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:42:17+00:00", "updated_at": "2024-01-19T21:42:17+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_71c48387a2e54f6790938f4b5f6e7c37", "object": "Parcel", "created_at": - "2024-01-19T21:42:17Z", "updated_at": "2024-01-19T21:42:17Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_5371259d8e484ef8bf71c85eaea98bec", - "object": "Rate", "created_at": "2024-01-19T21:42:18Z", "updated_at": "2024-01-19T21:42:18Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_68c599ffe1b7430d87bfd6bf98fcf6f8", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_579e4bbb662d4a99b402fdfa337e7ccd", - "object": "Rate", "created_at": "2024-01-19T21:42:18Z", "updated_at": "2024-01-19T21:42:18Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_68c599ffe1b7430d87bfd6bf98fcf6f8", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_d26e8dffe412495d91307ec99e16f7d2", - "object": "Rate", "created_at": "2024-01-19T21:42:18Z", "updated_at": "2024-01-19T21:42:18Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_68c599ffe1b7430d87bfd6bf98fcf6f8", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_762d6a6d73ad4f01808aaf93958afbaa", "object": "Rate", "created_at": - "2024-01-19T21:42:18Z", "updated_at": "2024-01-19T21:42:18Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_68c599ffe1b7430d87bfd6bf98fcf6f8", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_7c27ec5fc0d24b6398db89c66781ea15", "object": "Rate", "created_at": - "2024-01-19T21:42:18Z", "updated_at": "2024-01-19T21:42:18Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_68c599ffe1b7430d87bfd6bf98fcf6f8", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_9dcaacfbb71311eea7ceac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:42:17+00:00", "updated_at": "2024-01-19T21:42:17+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_9dcd570db71311eeb691ac1f6bc539aa", "object": "Address", "created_at": - "2024-01-19T21:42:17+00:00", "updated_at": "2024-01-19T21:42:17+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_9dcaacfbb71311eea7ceac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:42:17+00:00", "updated_at": - "2024-01-19T21:42:17+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_68c599ffe1b7430d87bfd6bf98fcf6f8", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_68c599ffe1b7430d87bfd6bf98fcf6f8 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaecb9e78b9f89000d0f3a - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.845216' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '885' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:44:14Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T21:44:15Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_cad3f6e9b7d54616bf8205c8da0d1f25", - "object": "CustomsInfo", "created_at": "2024-01-19T21:44:14Z", "updated_at": - "2024-01-19T21:44:14Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_ce2cfac8d2054954ac8c7043b7bc5c22", "object": "CustomsItem", - "created_at": "2024-01-19T21:44:14Z", "updated_at": "2024-01-19T21:44:14Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_e3845ddbb71311eebde23cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:44:14+00:00", "updated_at": "2024-01-19T21:44:14+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_e6b7cecdd712449bad1b9a7b34c15ee0", "object": "Parcel", "created_at": - "2024-01-19T21:44:14Z", "updated_at": "2024-01-19T21:44:14Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_14748b15f69142cda74df5b0bc823a71", - "object": "Rate", "created_at": "2024-01-19T21:44:15Z", "updated_at": "2024-01-19T21:44:15Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_a36c0703a3da481fb95b47c5ff98f2a2", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_7c33326621f0469e942383cd5c4891ea", - "object": "Rate", "created_at": "2024-01-19T21:44:15Z", "updated_at": "2024-01-19T21:44:15Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_a36c0703a3da481fb95b47c5ff98f2a2", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f0710cb2d3674b3e840f27a9139cf42a", - "object": "Rate", "created_at": "2024-01-19T21:44:15Z", "updated_at": "2024-01-19T21:44:15Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_a36c0703a3da481fb95b47c5ff98f2a2", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_1977bc6e1d6f43eda30e8833e54f338c", - "object": "Rate", "created_at": "2024-01-19T21:44:15Z", "updated_at": "2024-01-19T21:44:15Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_a36c0703a3da481fb95b47c5ff98f2a2", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_162cd1c878304bc4921d2ec0e802e92f", "object": "Rate", "created_at": - "2024-01-19T21:44:15Z", "updated_at": "2024-01-19T21:44:15Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_a36c0703a3da481fb95b47c5ff98f2a2", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_e38164c3b71311ee8f65ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:44:14+00:00", "updated_at": "2024-01-19T21:44:14+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_e3845ddbb71311eebde23cecef1b359e", "object": "Address", "created_at": - "2024-01-19T21:44:14+00:00", "updated_at": "2024-01-19T21:44:14+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_e38164c3b71311ee8f65ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T21:44:14+00:00", "updated_at": - "2024-01-19T21:44:14+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_a36c0703a3da481fb95b47c5ff98f2a2", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_a36c0703a3da481fb95b47c5ff98f2a2 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaed2ee78ba7c6000d545a - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.707222' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '885' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:48:06Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T21:48:07Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_5b451b87893c4bb4a6a30791a60c82fa", - "object": "CustomsInfo", "created_at": "2024-01-19T21:48:06Z", "updated_at": - "2024-01-19T21:48:06Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_84d2d8c46b164207ab58806411dfa607", "object": "CustomsItem", - "created_at": "2024-01-19T21:48:06Z", "updated_at": "2024-01-19T21:48:06Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_6e18f120b71411eeaa343cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:48:06+00:00", "updated_at": "2024-01-19T21:48:06+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_dc5071da161d4151b4da97483637a4e9", "object": "Parcel", "created_at": - "2024-01-19T21:48:06Z", "updated_at": "2024-01-19T21:48:06Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_7606459365bb4005a66c5340aa6d7cae", - "object": "Rate", "created_at": "2024-01-19T21:48:07Z", "updated_at": "2024-01-19T21:48:07Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_1195708df8ad46aa8452b75e4af3ca89", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4a785314cfd54f3ea045c0e78c7799d9", - "object": "Rate", "created_at": "2024-01-19T21:48:07Z", "updated_at": "2024-01-19T21:48:07Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_1195708df8ad46aa8452b75e4af3ca89", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_fd685105c8554f6bbe4f3971c75e6d75", - "object": "Rate", "created_at": "2024-01-19T21:48:07Z", "updated_at": "2024-01-19T21:48:07Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_1195708df8ad46aa8452b75e4af3ca89", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_2f174759a9e243d79c6768aaf630bcbc", "object": "Rate", "created_at": - "2024-01-19T21:48:07Z", "updated_at": "2024-01-19T21:48:07Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_1195708df8ad46aa8452b75e4af3ca89", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_2ac7779b3f05491b8c9386ae9337f550", "object": "Rate", "created_at": - "2024-01-19T21:48:07Z", "updated_at": "2024-01-19T21:48:07Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_1195708df8ad46aa8452b75e4af3ca89", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_6e16306ab71411eead4bac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:48:06+00:00", "updated_at": "2024-01-19T21:48:06+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_6e18f120b71411eeaa343cecef1b359e", "object": "Address", "created_at": - "2024-01-19T21:48:06+00:00", "updated_at": "2024-01-19T21:48:06+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_6e16306ab71411eead4bac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:48:06+00:00", "updated_at": - "2024-01-19T21:48:06+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_1195708df8ad46aa8452b75e4af3ca89", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_1195708df8ad46aa8452b75e4af3ca89 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdae65aaee16e78bb04900114b74 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.777247' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/shipments/shp_1195708df8ad46aa8452b75e4af3ca89/smartrate - response: - body: - string: '{"result": [{"carrier": "USPS", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e", - "created_at": "2024-01-19T21:48:07Z", "currency": "USD", "delivery_date": - null, "delivery_date_guaranteed": false, "delivery_days": 2, "est_delivery_days": - 2, "id": "rate_7606459365bb4005a66c5340aa6d7cae", "list_currency": "USD", - "list_rate": 10.27, "mode": "test", "object": "Rate", "rate": 7.99, "retail_currency": - "USD", "retail_rate": 14.05, "service": "Priority", "shipment_id": "shp_1195708df8ad46aa8452b75e4af3ca89", - "time_in_transit": {"percentile_50": 2, "percentile_75": 2, "percentile_85": - 3, "percentile_90": 3, "percentile_95": 4, "percentile_97": 4, "percentile_99": - 6}, "updated_at": "2024-01-19T21:48:07Z"}, {"carrier": "USPS", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e", "created_at": "2024-01-19T21:48:07Z", - "currency": "USD", "delivery_date": null, "delivery_date_guaranteed": false, - "delivery_days": 3, "est_delivery_days": 3, "id": "rate_4a785314cfd54f3ea045c0e78c7799d9", - "list_currency": "USD", "list_rate": 8.92, "mode": "test", "object": "Rate", - "rate": 6.79, "retail_currency": "USD", "retail_rate": 12.45, "service": "GroundAdvantage", - "shipment_id": "shp_1195708df8ad46aa8452b75e4af3ca89", "time_in_transit": - {"percentile_50": 1, "percentile_75": 2, "percentile_85": 2, "percentile_90": - 2, "percentile_95": 3, "percentile_97": 3, "percentile_99": 3}, "updated_at": - "2024-01-19T21:48:07Z"}, {"carrier": "USPS", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e", - "created_at": "2024-01-19T21:48:07Z", "currency": "USD", "delivery_date": - null, "delivery_date_guaranteed": false, "delivery_days": 3, "est_delivery_days": - 3, "id": "rate_fd685105c8554f6bbe4f3971c75e6d75", "list_currency": "USD", - "list_rate": 8.92, "mode": "test", "object": "Rate", "rate": 6.79, "retail_currency": - "USD", "retail_rate": 12.45, "service": "First", "shipment_id": "shp_1195708df8ad46aa8452b75e4af3ca89", - "time_in_transit": {"percentile_50": 1, "percentile_75": 2, "percentile_85": - 2, "percentile_90": 2, "percentile_95": 3, "percentile_97": 3, "percentile_99": - 3}, "updated_at": "2024-01-19T21:48:07Z"}, {"carrier": "USPS", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e", "created_at": "2024-01-19T21:48:07Z", - "currency": "USD", "delivery_date": null, "delivery_date_guaranteed": false, - "delivery_days": 3, "est_delivery_days": 3, "id": "rate_2f174759a9e243d79c6768aaf630bcbc", - "list_currency": "USD", "list_rate": 8.92, "mode": "test", "object": "Rate", - "rate": 6.79, "retail_currency": "USD", "retail_rate": 12.45, "service": "ParcelSelect", - "shipment_id": "shp_1195708df8ad46aa8452b75e4af3ca89", "time_in_transit": - {"percentile_50": 1, "percentile_75": 2, "percentile_85": 2, "percentile_90": - 2, "percentile_95": 3, "percentile_97": 3, "percentile_99": 3}, "updated_at": - "2024-01-19T21:48:07Z"}, {"carrier": "USPS", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e", - "created_at": "2024-01-19T21:48:07Z", "currency": "USD", "delivery_date": - null, "delivery_date_guaranteed": false, "delivery_days": null, "est_delivery_days": - null, "id": "rate_2ac7779b3f05491b8c9386ae9337f550", "list_currency": "USD", - "list_rate": 46.85, "mode": "test", "object": "Rate", "rate": 46.85, "retail_currency": - "USD", "retail_rate": 54.2, "service": "Express", "shipment_id": "shp_1195708df8ad46aa8452b75e4af3ca89", - "time_in_transit": {"percentile_50": 1, "percentile_75": 2, "percentile_85": - 2, "percentile_90": 3, "percentile_95": 3, "percentile_97": 4, "percentile_99": - 6}, "updated_at": "2024-01-19T21:48:07Z"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '3282' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda865aaee17e78bb04a00114c18 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.112216' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '885' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:50:02Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T21:50:03Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_04e275fd8adf4c55a02fbcfb4dc24221", - "object": "CustomsInfo", "created_at": "2024-01-19T21:50:02Z", "updated_at": - "2024-01-19T21:50:02Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_7604b2366d09412293768d3cf31557e9", "object": "CustomsItem", - "created_at": "2024-01-19T21:50:02Z", "updated_at": "2024-01-19T21:50:02Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_b30f25b1b71411eebfe03cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:50:02+00:00", "updated_at": "2024-01-19T21:50:02+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_a4ede0fc2e8646bbacb1c20dba78d81c", "object": "Parcel", "created_at": - "2024-01-19T21:50:02Z", "updated_at": "2024-01-19T21:50:02Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_e7bb5c661d91459a8092fddc5aca8a2c", - "object": "Rate", "created_at": "2024-01-19T21:50:03Z", "updated_at": "2024-01-19T21:50:03Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_da9d00baba154c73a8240243fb9ab535", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_a98eeb1f080f4ca0ba703ec5a381742d", - "object": "Rate", "created_at": "2024-01-19T21:50:03Z", "updated_at": "2024-01-19T21:50:03Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_da9d00baba154c73a8240243fb9ab535", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_7961134e5ef5432c9863aeab55105e76", "object": "Rate", "created_at": - "2024-01-19T21:50:03Z", "updated_at": "2024-01-19T21:50:03Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_da9d00baba154c73a8240243fb9ab535", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_6e28590ad65949ab88145b81af942295", "object": "Rate", "created_at": - "2024-01-19T21:50:03Z", "updated_at": "2024-01-19T21:50:03Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_da9d00baba154c73a8240243fb9ab535", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_9afe59c37c344ee7a6ac25e42aebe654", "object": "Rate", "created_at": - "2024-01-19T21:50:03Z", "updated_at": "2024-01-19T21:50:03Z", "mode": "test", - "service": "Priority", "carrier": "USPS", "rate": "7.99", "currency": "USD", - "retail_rate": "14.05", "retail_currency": "USD", "list_rate": "10.27", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": - "shp_da9d00baba154c73a8240243fb9ab535", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_b30c78b2b71411ee8161ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:50:02+00:00", "updated_at": "2024-01-19T21:50:02+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_b30f25b1b71411eebfe03cecef1b359e", "object": "Address", "created_at": - "2024-01-19T21:50:02+00:00", "updated_at": "2024-01-19T21:50:02+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_b30c78b2b71411ee8161ac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:50:02+00:00", "updated_at": - "2024-01-19T21:50:02+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_da9d00baba154c73a8240243fb9ab535", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_da9d00baba154c73a8240243fb9ab535 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdaa65aaee8ae78bb86c00118d47 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.719607' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/shipments/shp_da9d00baba154c73a8240243fb9ab535/smartrate - response: - body: - string: '{"result": [{"carrier": "USPS", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e", - "created_at": "2024-01-19T21:50:03Z", "currency": "USD", "delivery_date": - null, "delivery_date_guaranteed": false, "delivery_days": 3, "est_delivery_days": - 3, "id": "rate_e7bb5c661d91459a8092fddc5aca8a2c", "list_currency": "USD", - "list_rate": 8.92, "mode": "test", "object": "Rate", "rate": 6.79, "retail_currency": - "USD", "retail_rate": 12.45, "service": "GroundAdvantage", "shipment_id": - "shp_da9d00baba154c73a8240243fb9ab535", "time_in_transit": {"percentile_50": - 1, "percentile_75": 2, "percentile_85": 2, "percentile_90": 2, "percentile_95": - 3, "percentile_97": 3, "percentile_99": 3}, "updated_at": "2024-01-19T21:50:03Z"}, - {"carrier": "USPS", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e", - "created_at": "2024-01-19T21:50:03Z", "currency": "USD", "delivery_date": - null, "delivery_date_guaranteed": false, "delivery_days": 3, "est_delivery_days": - 3, "id": "rate_a98eeb1f080f4ca0ba703ec5a381742d", "list_currency": "USD", - "list_rate": 8.92, "mode": "test", "object": "Rate", "rate": 6.79, "retail_currency": - "USD", "retail_rate": 12.45, "service": "First", "shipment_id": "shp_da9d00baba154c73a8240243fb9ab535", - "time_in_transit": {"percentile_50": 1, "percentile_75": 2, "percentile_85": - 2, "percentile_90": 2, "percentile_95": 3, "percentile_97": 3, "percentile_99": - 3}, "updated_at": "2024-01-19T21:50:03Z"}, {"carrier": "USPS", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e", "created_at": "2024-01-19T21:50:03Z", - "currency": "USD", "delivery_date": null, "delivery_date_guaranteed": false, - "delivery_days": 3, "est_delivery_days": 3, "id": "rate_7961134e5ef5432c9863aeab55105e76", - "list_currency": "USD", "list_rate": 8.92, "mode": "test", "object": "Rate", - "rate": 6.79, "retail_currency": "USD", "retail_rate": 12.45, "service": "ParcelSelect", - "shipment_id": "shp_da9d00baba154c73a8240243fb9ab535", "time_in_transit": - {"percentile_50": 1, "percentile_75": 2, "percentile_85": 2, "percentile_90": - 2, "percentile_95": 3, "percentile_97": 3, "percentile_99": 3}, "updated_at": - "2024-01-19T21:50:03Z"}, {"carrier": "USPS", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e", - "created_at": "2024-01-19T21:50:03Z", "currency": "USD", "delivery_date": - null, "delivery_date_guaranteed": false, "delivery_days": null, "est_delivery_days": - null, "id": "rate_6e28590ad65949ab88145b81af942295", "list_currency": "USD", - "list_rate": 46.85, "mode": "test", "object": "Rate", "rate": 46.85, "retail_currency": - "USD", "retail_rate": 54.2, "service": "Express", "shipment_id": "shp_da9d00baba154c73a8240243fb9ab535", - "time_in_transit": {"percentile_50": 1, "percentile_75": 2, "percentile_85": - 2, "percentile_90": 3, "percentile_95": 3, "percentile_97": 4, "percentile_99": - 6}, "updated_at": "2024-01-19T21:50:03Z"}, {"carrier": "USPS", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e", "created_at": "2024-01-19T21:50:03Z", - "currency": "USD", "delivery_date": null, "delivery_date_guaranteed": false, - "delivery_days": 2, "est_delivery_days": 2, "id": "rate_9afe59c37c344ee7a6ac25e42aebe654", - "list_currency": "USD", "list_rate": 10.27, "mode": "test", "object": "Rate", - "rate": 7.99, "retail_currency": "USD", "retail_rate": 14.05, "service": "Priority", - "shipment_id": "shp_da9d00baba154c73a8240243fb9ab535", "time_in_transit": - {"percentile_50": 2, "percentile_75": 2, "percentile_85": 3, "percentile_90": - 3, "percentile_95": 4, "percentile_97": 4, "percentile_99": 6}, "updated_at": - "2024-01-19T21:50:03Z"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '3282' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdae65aaee8be78bb86d00118dee - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.100362' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '885' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:59:22Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T21:59:22Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_876346370dde40e396c89c420dd591b7", - "object": "CustomsInfo", "created_at": "2024-01-19T21:59:22Z", "updated_at": - "2024-01-19T21:59:22Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_e0b0cad05ef84603a057b91b0bc31ccf", "object": "CustomsItem", - "created_at": "2024-01-19T21:59:22Z", "updated_at": "2024-01-19T21:59:22Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_007e7540b71611eeb033ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:59:22+00:00", "updated_at": "2024-01-19T21:59:22+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_8d3c67233c4c4d5da644a8d8f7043b44", "object": "Parcel", "created_at": - "2024-01-19T21:59:22Z", "updated_at": "2024-01-19T21:59:22Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_7bde552799b9402eb80e89dac84a29e2", - "object": "Rate", "created_at": "2024-01-19T21:59:22Z", "updated_at": "2024-01-19T21:59:22Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_095a567426a44bfb8ce80a72fa9768d8", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_7f89a513e6cf43e8a1c8f0a5fd49e740", - "object": "Rate", "created_at": "2024-01-19T21:59:22Z", "updated_at": "2024-01-19T21:59:22Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_095a567426a44bfb8ce80a72fa9768d8", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_5a0a4be15ad145b489798ae8a5319da8", - "object": "Rate", "created_at": "2024-01-19T21:59:22Z", "updated_at": "2024-01-19T21:59:22Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_095a567426a44bfb8ce80a72fa9768d8", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_38aac4216bc84527b0140bf80e1b90f4", "object": "Rate", "created_at": - "2024-01-19T21:59:22Z", "updated_at": "2024-01-19T21:59:22Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_095a567426a44bfb8ce80a72fa9768d8", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_b922b0fec9f440048f9dc739c6d03b67", "object": "Rate", "created_at": - "2024-01-19T21:59:22Z", "updated_at": "2024-01-19T21:59:22Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_095a567426a44bfb8ce80a72fa9768d8", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_007c6ec6b71611eeb21aac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:59:22+00:00", "updated_at": "2024-01-19T21:59:22+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_007e7540b71611eeb033ac1f6bc53342", "object": "Address", "created_at": - "2024-01-19T21:59:22+00:00", "updated_at": "2024-01-19T21:59:22+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_007c6ec6b71611eeb21aac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:59:22+00:00", "updated_at": - "2024-01-19T21:59:22+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_095a567426a44bfb8ce80a72fa9768d8", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_095a567426a44bfb8ce80a72fa9768d8 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaf0bae798c01e000f92a5 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.761096' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/shipments/shp_095a567426a44bfb8ce80a72fa9768d8/smartrate - response: - body: - string: '{"result": [{"carrier": "USPS", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e", - "created_at": "2024-01-19T21:59:22Z", "currency": "USD", "delivery_date": - null, "delivery_date_guaranteed": false, "delivery_days": 2, "est_delivery_days": - 2, "id": "rate_7bde552799b9402eb80e89dac84a29e2", "list_currency": "USD", - "list_rate": 10.27, "mode": "test", "object": "Rate", "rate": 7.99, "retail_currency": - "USD", "retail_rate": 14.05, "service": "Priority", "shipment_id": "shp_095a567426a44bfb8ce80a72fa9768d8", - "time_in_transit": {"percentile_50": 2, "percentile_75": 2, "percentile_85": - 3, "percentile_90": 3, "percentile_95": 4, "percentile_97": 4, "percentile_99": - 6}, "updated_at": "2024-01-19T21:59:22Z"}, {"carrier": "USPS", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e", "created_at": "2024-01-19T21:59:22Z", - "currency": "USD", "delivery_date": null, "delivery_date_guaranteed": false, - "delivery_days": 3, "est_delivery_days": 3, "id": "rate_7f89a513e6cf43e8a1c8f0a5fd49e740", - "list_currency": "USD", "list_rate": 8.92, "mode": "test", "object": "Rate", - "rate": 6.79, "retail_currency": "USD", "retail_rate": 12.45, "service": "GroundAdvantage", - "shipment_id": "shp_095a567426a44bfb8ce80a72fa9768d8", "time_in_transit": - {"percentile_50": 1, "percentile_75": 2, "percentile_85": 2, "percentile_90": - 2, "percentile_95": 3, "percentile_97": 3, "percentile_99": 3}, "updated_at": - "2024-01-19T21:59:22Z"}, {"carrier": "USPS", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e", - "created_at": "2024-01-19T21:59:22Z", "currency": "USD", "delivery_date": - null, "delivery_date_guaranteed": false, "delivery_days": 3, "est_delivery_days": - 3, "id": "rate_5a0a4be15ad145b489798ae8a5319da8", "list_currency": "USD", - "list_rate": 8.92, "mode": "test", "object": "Rate", "rate": 6.79, "retail_currency": - "USD", "retail_rate": 12.45, "service": "First", "shipment_id": "shp_095a567426a44bfb8ce80a72fa9768d8", - "time_in_transit": {"percentile_50": 1, "percentile_75": 2, "percentile_85": - 2, "percentile_90": 2, "percentile_95": 3, "percentile_97": 3, "percentile_99": - 3}, "updated_at": "2024-01-19T21:59:22Z"}, {"carrier": "USPS", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e", "created_at": "2024-01-19T21:59:22Z", - "currency": "USD", "delivery_date": null, "delivery_date_guaranteed": false, - "delivery_days": 3, "est_delivery_days": 3, "id": "rate_38aac4216bc84527b0140bf80e1b90f4", - "list_currency": "USD", "list_rate": 8.92, "mode": "test", "object": "Rate", - "rate": 6.79, "retail_currency": "USD", "retail_rate": 12.45, "service": "ParcelSelect", - "shipment_id": "shp_095a567426a44bfb8ce80a72fa9768d8", "time_in_transit": - {"percentile_50": 1, "percentile_75": 2, "percentile_85": 2, "percentile_90": - 2, "percentile_95": 3, "percentile_97": 3, "percentile_99": 3}, "updated_at": - "2024-01-19T21:59:22Z"}, {"carrier": "USPS", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e", - "created_at": "2024-01-19T21:59:22Z", "currency": "USD", "delivery_date": - null, "delivery_date_guaranteed": false, "delivery_days": null, "est_delivery_days": - null, "id": "rate_b922b0fec9f440048f9dc739c6d03b67", "list_currency": "USD", - "list_rate": 46.85, "mode": "test", "object": "Rate", "rate": 46.85, "retail_currency": - "USD", "retail_rate": 54.2, "service": "Express", "shipment_id": "shp_095a567426a44bfb8ce80a72fa9768d8", - "time_in_transit": {"percentile_50": 1, "percentile_75": 2, "percentile_85": - 2, "percentile_90": 3, "percentile_95": 3, "percentile_97": 4, "percentile_99": - 6}, "updated_at": "2024-01-19T21:59:22Z"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '3282' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf0bbe798c01f000f9387 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.211406' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '885' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T22:02:17Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T22:02:18Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_3e5c5e7db64243c78615215857fa608f", - "object": "CustomsInfo", "created_at": "2024-01-19T22:02:17Z", "updated_at": - "2024-01-19T22:02:17Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_239ba38a41394aab8cadaade985a026b", "object": "CustomsItem", - "created_at": "2024-01-19T22:02:17Z", "updated_at": "2024-01-19T22:02:17Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_69157caab71611ee921cac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T22:02:17+00:00", "updated_at": "2024-01-19T22:02:17+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_da3003cf69ce4fcab9dd37baa910f8b2", "object": "Parcel", "created_at": - "2024-01-19T22:02:17Z", "updated_at": "2024-01-19T22:02:17Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_6a6a17bbaf3d43ae99d9745fd62dbe64", - "object": "Rate", "created_at": "2024-01-19T22:02:18Z", "updated_at": "2024-01-19T22:02:18Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_60b744eb4c454f2d8c5ed7a25012a9a1", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_82ae2d79e2d741068417a71e8315e140", - "object": "Rate", "created_at": "2024-01-19T22:02:18Z", "updated_at": "2024-01-19T22:02:18Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_60b744eb4c454f2d8c5ed7a25012a9a1", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_afeb235b6be941c9989485286c7989d1", - "object": "Rate", "created_at": "2024-01-19T22:02:18Z", "updated_at": "2024-01-19T22:02:18Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_60b744eb4c454f2d8c5ed7a25012a9a1", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_0e6bf6e168b74f729019f78f101b5fad", - "object": "Rate", "created_at": "2024-01-19T22:02:18Z", "updated_at": "2024-01-19T22:02:18Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_60b744eb4c454f2d8c5ed7a25012a9a1", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_eda0e4e0d99c43db94f200ee023de7f7", "object": "Rate", "created_at": - "2024-01-19T22:02:18Z", "updated_at": "2024-01-19T22:02:18Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_60b744eb4c454f2d8c5ed7a25012a9a1", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_69123958b71611ee8fd83cecef1b359e", "object": - "Address", "created_at": "2024-01-19T22:02:17+00:00", "updated_at": "2024-01-19T22:02:17+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_69157caab71611ee921cac1f6bc53342", "object": "Address", "created_at": - "2024-01-19T22:02:17+00:00", "updated_at": "2024-01-19T22:02:17+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_69123958b71611ee8fd83cecef1b359e", - "object": "Address", "created_at": "2024-01-19T22:02:17+00:00", "updated_at": - "2024-01-19T22:02:17+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_60b744eb4c454f2d8c5ed7a25012a9a1", "object": "Shipment"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7219' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_60b744eb4c454f2d8c5ed7a25012a9a1 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaf169e798c880001030a1 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.855141' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/shipments/shp_60b744eb4c454f2d8c5ed7a25012a9a1/smartrate - response: - body: - string: '{"result": [{"carrier": "USPS", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e", - "created_at": "2024-01-19T22:02:18Z", "currency": "USD", "delivery_date": - null, "delivery_date_guaranteed": false, "delivery_days": null, "est_delivery_days": - null, "id": "rate_6a6a17bbaf3d43ae99d9745fd62dbe64", "list_currency": "USD", - "list_rate": 46.85, "mode": "test", "object": "Rate", "rate": 46.85, "retail_currency": - "USD", "retail_rate": 54.2, "service": "Express", "shipment_id": "shp_60b744eb4c454f2d8c5ed7a25012a9a1", - "time_in_transit": {"percentile_50": 1, "percentile_75": 2, "percentile_85": - 2, "percentile_90": 3, "percentile_95": 3, "percentile_97": 4, "percentile_99": - 6}, "updated_at": "2024-01-19T22:02:18Z"}, {"carrier": "USPS", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e", "created_at": "2024-01-19T22:02:18Z", - "currency": "USD", "delivery_date": null, "delivery_date_guaranteed": false, - "delivery_days": 2, "est_delivery_days": 2, "id": "rate_82ae2d79e2d741068417a71e8315e140", - "list_currency": "USD", "list_rate": 10.27, "mode": "test", "object": "Rate", - "rate": 7.99, "retail_currency": "USD", "retail_rate": 14.05, "service": "Priority", - "shipment_id": "shp_60b744eb4c454f2d8c5ed7a25012a9a1", "time_in_transit": - {"percentile_50": 2, "percentile_75": 2, "percentile_85": 3, "percentile_90": - 3, "percentile_95": 4, "percentile_97": 4, "percentile_99": 6}, "updated_at": - "2024-01-19T22:02:18Z"}, {"carrier": "USPS", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e", - "created_at": "2024-01-19T22:02:18Z", "currency": "USD", "delivery_date": - null, "delivery_date_guaranteed": false, "delivery_days": 3, "est_delivery_days": - 3, "id": "rate_afeb235b6be941c9989485286c7989d1", "list_currency": "USD", - "list_rate": 8.92, "mode": "test", "object": "Rate", "rate": 6.79, "retail_currency": - "USD", "retail_rate": 12.45, "service": "GroundAdvantage", "shipment_id": - "shp_60b744eb4c454f2d8c5ed7a25012a9a1", "time_in_transit": {"percentile_50": - 1, "percentile_75": 2, "percentile_85": 2, "percentile_90": 2, "percentile_95": - 3, "percentile_97": 3, "percentile_99": 3}, "updated_at": "2024-01-19T22:02:18Z"}, - {"carrier": "USPS", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e", - "created_at": "2024-01-19T22:02:18Z", "currency": "USD", "delivery_date": - null, "delivery_date_guaranteed": false, "delivery_days": 3, "est_delivery_days": - 3, "id": "rate_0e6bf6e168b74f729019f78f101b5fad", "list_currency": "USD", - "list_rate": 8.92, "mode": "test", "object": "Rate", "rate": 6.79, "retail_currency": - "USD", "retail_rate": 12.45, "service": "First", "shipment_id": "shp_60b744eb4c454f2d8c5ed7a25012a9a1", - "time_in_transit": {"percentile_50": 1, "percentile_75": 2, "percentile_85": - 2, "percentile_90": 2, "percentile_95": 3, "percentile_97": 3, "percentile_99": - 3}, "updated_at": "2024-01-19T22:02:18Z"}, {"carrier": "USPS", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e", "created_at": "2024-01-19T22:02:18Z", - "currency": "USD", "delivery_date": null, "delivery_date_guaranteed": false, - "delivery_days": 3, "est_delivery_days": 3, "id": "rate_eda0e4e0d99c43db94f200ee023de7f7", - "list_currency": "USD", "list_rate": 8.92, "mode": "test", "object": "Rate", - "rate": 6.79, "retail_currency": "USD", "retail_rate": 12.45, "service": "ParcelSelect", - "shipment_id": "shp_60b744eb4c454f2d8c5ed7a25012a9a1", "time_in_transit": - {"percentile_50": 1, "percentile_75": 2, "percentile_85": 2, "percentile_90": - 2, "percentile_95": 3, "percentile_97": 3, "percentile_99": 3}, "updated_at": - "2024-01-19T22:02:18Z"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '3282' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaf16ae798c88100103183 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.098629' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_tax_identifiers_create.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_tax_identifiers_create.yaml deleted file mode 100644 index edb04e01..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_tax_identifiers_create.yaml +++ /dev/null @@ -1,1048 +0,0 @@ -interactions: -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "tax_identifiers": - [{"entity": "SENDER", "tax_id": "GB123456789", "tax_id_type": "EORI", "issuing_country": - "GB"}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '1001' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:42:18Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T21:42:19Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_e881f6245aa54859b67c03ca56373651", - "object": "CustomsInfo", "created_at": "2024-01-19T21:42:18Z", "updated_at": - "2024-01-19T21:42:18Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_220f93143e264fc48e892eb41499549d", "object": "CustomsItem", - "created_at": "2024-01-19T21:42:18Z", "updated_at": "2024-01-19T21:42:18Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_9e87f14eb71311eea54c3cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:42:18+00:00", "updated_at": "2024-01-19T21:42:18+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_784330816f2e4bb7ade33f7a29074d1f", "object": "Parcel", "created_at": - "2024-01-19T21:42:18Z", "updated_at": "2024-01-19T21:42:18Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_82d44fedcfd9447c8c62f1ac63079847", - "object": "Rate", "created_at": "2024-01-19T21:42:19Z", "updated_at": "2024-01-19T21:42:19Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_947844265e374fd0a2a697650fe580cb", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_16f1599e241d4e9099560c70edaaa361", - "object": "Rate", "created_at": "2024-01-19T21:42:19Z", "updated_at": "2024-01-19T21:42:19Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_947844265e374fd0a2a697650fe580cb", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_872cf4e362e445538ea7315a6623e988", - "object": "Rate", "created_at": "2024-01-19T21:42:19Z", "updated_at": "2024-01-19T21:42:19Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_947844265e374fd0a2a697650fe580cb", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_61fbdb2d829b48f9aa284c6e86043876", - "object": "Rate", "created_at": "2024-01-19T21:42:19Z", "updated_at": "2024-01-19T21:42:19Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_947844265e374fd0a2a697650fe580cb", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_b42c62046bb546cd8ed55c87e377d66d", "object": "Rate", "created_at": - "2024-01-19T21:42:19Z", "updated_at": "2024-01-19T21:42:19Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_947844265e374fd0a2a697650fe580cb", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_9e85522cb71311eea813ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:42:18+00:00", "updated_at": "2024-01-19T21:42:18+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_9e87f14eb71311eea54c3cecef1b359e", "object": "Address", "created_at": - "2024-01-19T21:42:18+00:00", "updated_at": "2024-01-19T21:42:18+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_9e85522cb71311eea813ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:42:18+00:00", "updated_at": - "2024-01-19T21:42:18+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_947844265e374fd0a2a697650fe580cb", "object": "Shipment", "tax_identifiers": - [{"entity": "SENDER", "tax_id": "HIDDEN", "tax_id_type": "EORI", "issuing_country": - "GB"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7321' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_947844265e374fd0a2a697650fe580cb - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaecbae78b9f8b000d1038 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.754714' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "tax_identifiers": - [{"entity": "SENDER", "tax_id": "GB123456789", "tax_id_type": "EORI", "issuing_country": - "GB"}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '1001' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:44:15Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T21:44:16Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_e3f17809dfb2437fb6a0bde698533f9e", - "object": "CustomsInfo", "created_at": "2024-01-19T21:44:15Z", "updated_at": - "2024-01-19T21:44:15Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_1d3a4ed073c343f092058b34235cd354", "object": "CustomsItem", - "created_at": "2024-01-19T21:44:15Z", "updated_at": "2024-01-19T21:44:15Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_e41bfa21b71311ee8f8cac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T21:44:15+00:00", "updated_at": "2024-01-19T21:44:15+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_9835710d37e54d54afe2c10d08dda054", "object": "Parcel", "created_at": - "2024-01-19T21:44:15Z", "updated_at": "2024-01-19T21:44:15Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_e31412dca3404419b1244adeb1f52e4d", - "object": "Rate", "created_at": "2024-01-19T21:44:16Z", "updated_at": "2024-01-19T21:44:16Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_c1f7b4b8d7a44936a93456f729deeeed", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_68dc3e844bc44da2b85f1ab1d33f552d", - "object": "Rate", "created_at": "2024-01-19T21:44:16Z", "updated_at": "2024-01-19T21:44:16Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_c1f7b4b8d7a44936a93456f729deeeed", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f51b4782abb749568721dad508ea3b0c", - "object": "Rate", "created_at": "2024-01-19T21:44:16Z", "updated_at": "2024-01-19T21:44:16Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_c1f7b4b8d7a44936a93456f729deeeed", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_f6b7641ff70a4d43b0c558fabb021250", - "object": "Rate", "created_at": "2024-01-19T21:44:16Z", "updated_at": "2024-01-19T21:44:16Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_c1f7b4b8d7a44936a93456f729deeeed", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_dec5c739a7e240869f372f73c8cc03ff", "object": "Rate", "created_at": - "2024-01-19T21:44:16Z", "updated_at": "2024-01-19T21:44:16Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_c1f7b4b8d7a44936a93456f729deeeed", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_e419303cb71311ee8092ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:44:15+00:00", "updated_at": "2024-01-19T21:44:15+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_e41bfa21b71311ee8f8cac1f6bc539aa", "object": "Address", "created_at": - "2024-01-19T21:44:15+00:00", "updated_at": "2024-01-19T21:44:15+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_e419303cb71311ee8092ac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:44:15+00:00", "updated_at": - "2024-01-19T21:44:15+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_c1f7b4b8d7a44936a93456f729deeeed", "object": "Shipment", "tax_identifiers": - [{"entity": "SENDER", "tax_id": "HIDDEN", "tax_id_type": "EORI", "issuing_country": - "GB"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7321' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_c1f7b4b8d7a44936a93456f729deeeed - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaed2fe78ba7c7000d54f0 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.978785' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "tax_identifiers": - [{"entity": "SENDER", "tax_id": "GB123456789", "tax_id_type": "EORI", "issuing_country": - "GB"}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '1001' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:48:08Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T21:48:09Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_c13eca11b8034ca887b5385068b27fcc", - "object": "CustomsInfo", "created_at": "2024-01-19T21:48:08Z", "updated_at": - "2024-01-19T21:48:08Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_f1f8e9b192f24628a635794950e3877c", "object": "CustomsItem", - "created_at": "2024-01-19T21:48:08Z", "updated_at": "2024-01-19T21:48:08Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_6efd7084b71411eeaa733cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:48:08+00:00", "updated_at": "2024-01-19T21:48:08+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_fe5a53eeff804502b370897e8ab80697", "object": "Parcel", "created_at": - "2024-01-19T21:48:08Z", "updated_at": "2024-01-19T21:48:08Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_f6e417fab53f42e88d1c399d44624338", - "object": "Rate", "created_at": "2024-01-19T21:48:09Z", "updated_at": "2024-01-19T21:48:09Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_83f81b1fea4146849db664fdc69a921f", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b5bcb4c832e54da1b8f472f14f405831", - "object": "Rate", "created_at": "2024-01-19T21:48:09Z", "updated_at": "2024-01-19T21:48:09Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_83f81b1fea4146849db664fdc69a921f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_868c164991134c28941e6259a8902bff", "object": "Rate", "created_at": - "2024-01-19T21:48:09Z", "updated_at": "2024-01-19T21:48:09Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_83f81b1fea4146849db664fdc69a921f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_e2b288553a5e468bb16d96250d6be090", "object": "Rate", "created_at": - "2024-01-19T21:48:09Z", "updated_at": "2024-01-19T21:48:09Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_83f81b1fea4146849db664fdc69a921f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_2085dfc22dc24b249db09bdebf426301", "object": "Rate", "created_at": - "2024-01-19T21:48:09Z", "updated_at": "2024-01-19T21:48:09Z", "mode": "test", - "service": "Priority", "carrier": "USPS", "rate": "7.99", "currency": "USD", - "retail_rate": "14.05", "retail_currency": "USD", "list_rate": "10.27", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, - "delivery_date_guaranteed": false, "est_delivery_days": 2, "shipment_id": - "shp_83f81b1fea4146849db664fdc69a921f", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_6efabfc2b71411eeac6aac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:48:08+00:00", "updated_at": "2024-01-19T21:48:08+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_6efd7084b71411eeaa733cecef1b359e", "object": "Address", "created_at": - "2024-01-19T21:48:08+00:00", "updated_at": "2024-01-19T21:48:08+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_6efabfc2b71411eeac6aac1f6bc53342", - "object": "Address", "created_at": "2024-01-19T21:48:08+00:00", "updated_at": - "2024-01-19T21:48:08+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_83f81b1fea4146849db664fdc69a921f", "object": "Shipment", "tax_identifiers": - [{"entity": "SENDER", "tax_id": "HIDDEN", "tax_id_type": "EORI", "issuing_country": - "GB"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7321' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_83f81b1fea4146849db664fdc69a921f - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdab65aaee18e78bb04b00114c45 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '1.147684' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "tax_identifiers": - [{"entity": "SENDER", "tax_id": "GB123456789", "tax_id_type": "EORI", "issuing_country": - "GB"}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '1001' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:50:04Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T21:50:04Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_82fac8c436a549d7937206e1df7f71ba", - "object": "CustomsInfo", "created_at": "2024-01-19T21:50:04Z", "updated_at": - "2024-01-19T21:50:04Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_9d4311a2cc73454f8dbbf6c5b15843db", "object": "CustomsItem", - "created_at": "2024-01-19T21:50:04Z", "updated_at": "2024-01-19T21:50:04Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_b3ed5a8bb71411ee832bac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:50:04+00:00", "updated_at": "2024-01-19T21:50:04+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_48f6a85c4c87459c8555c93b60fb8d80", "object": "Parcel", "created_at": - "2024-01-19T21:50:04Z", "updated_at": "2024-01-19T21:50:04Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_eaeab5b62e5944bbbba4e9b94e81b80b", - "object": "Rate", "created_at": "2024-01-19T21:50:04Z", "updated_at": "2024-01-19T21:50:04Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_e0d3396910464496941da65e513cbc18", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_29f14a27188d4bd6b2c28f1dd85aa762", - "object": "Rate", "created_at": "2024-01-19T21:50:04Z", "updated_at": "2024-01-19T21:50:04Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_e0d3396910464496941da65e513cbc18", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_dc50a9a678da43feb362e18110b2e4a3", - "object": "Rate", "created_at": "2024-01-19T21:50:04Z", "updated_at": "2024-01-19T21:50:04Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_e0d3396910464496941da65e513cbc18", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_affa9121ed0d472fbabcf42d916ee97f", - "object": "Rate", "created_at": "2024-01-19T21:50:04Z", "updated_at": "2024-01-19T21:50:04Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_e0d3396910464496941da65e513cbc18", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_c397c24fa9cf405eb6757b3d6884811a", "object": "Rate", "created_at": - "2024-01-19T21:50:04Z", "updated_at": "2024-01-19T21:50:04Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_e0d3396910464496941da65e513cbc18", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_b3ead4a2b71411ee803a3cecef1b359e", "object": - "Address", "created_at": "2024-01-19T21:50:04+00:00", "updated_at": "2024-01-19T21:50:04+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_b3ed5a8bb71411ee832bac1f6bc539ae", "object": "Address", "created_at": - "2024-01-19T21:50:04+00:00", "updated_at": "2024-01-19T21:50:04+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_b3ead4a2b71411ee803a3cecef1b359e", - "object": "Address", "created_at": "2024-01-19T21:50:04+00:00", "updated_at": - "2024-01-19T21:50:04+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_e0d3396910464496941da65e513cbc18", "object": "Shipment", "tax_identifiers": - [{"entity": "SENDER", "tax_id": "HIDDEN", "tax_id_type": "EORI", "issuing_country": - "GB"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7321' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_e0d3396910464496941da65e513cbc18 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdae65aaee8ce78bb86e00118e26 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.916958' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "tax_identifiers": - [{"entity": "SENDER", "tax_id": "GB123456789", "tax_id_type": "EORI", "issuing_country": - "GB"}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '1001' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T21:59:23Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T21:59:24Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_2b803c6438c14f238abc00b6cab6894c", - "object": "CustomsInfo", "created_at": "2024-01-19T21:59:23Z", "updated_at": - "2024-01-19T21:59:23Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_7c47f9c940624d2294eedd76b0da529c", "object": "CustomsItem", - "created_at": "2024-01-19T21:59:23Z", "updated_at": "2024-01-19T21:59:23Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_018384f5b71611eeb068ac1f6bc53342", "object": - "Address", "created_at": "2024-01-19T21:59:23+00:00", "updated_at": "2024-01-19T21:59:23+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_4e2300184432458597e5f907dcd0facf", "object": "Parcel", "created_at": - "2024-01-19T21:59:23Z", "updated_at": "2024-01-19T21:59:23Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_d9c3ef49f62145f3b796febcf83b17ff", - "object": "Rate", "created_at": "2024-01-19T21:59:24Z", "updated_at": "2024-01-19T21:59:24Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_3a956d52bba14426956a74497bc46627", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_4d3f700a3e664a868cb84b74aabe3600", - "object": "Rate", "created_at": "2024-01-19T21:59:24Z", "updated_at": "2024-01-19T21:59:24Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_3a956d52bba14426956a74497bc46627", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_02194dbdec4c4e8886192c8140413437", - "object": "Rate", "created_at": "2024-01-19T21:59:24Z", "updated_at": "2024-01-19T21:59:24Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_3a956d52bba14426956a74497bc46627", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_147b9cea159f4f8baefb7c34d4732e01", "object": "Rate", "created_at": - "2024-01-19T21:59:24Z", "updated_at": "2024-01-19T21:59:24Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_3a956d52bba14426956a74497bc46627", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_0c1d5a2e1a4e4d309d15d45c9293fc98", "object": "Rate", "created_at": - "2024-01-19T21:59:24Z", "updated_at": "2024-01-19T21:59:24Z", "mode": "test", - "service": "Express", "carrier": "USPS", "rate": "46.85", "currency": "USD", - "retail_rate": "54.20", "retail_currency": "USD", "list_rate": "46.85", "list_currency": - "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": null, "shipment_id": - "shp_3a956d52bba14426956a74497bc46627", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_0181673cb71611eeb25dac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T21:59:23+00:00", "updated_at": "2024-01-19T21:59:23+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_018384f5b71611eeb068ac1f6bc53342", "object": "Address", "created_at": - "2024-01-19T21:59:23+00:00", "updated_at": "2024-01-19T21:59:23+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_0181673cb71611eeb25dac1f6bc539ae", - "object": "Address", "created_at": "2024-01-19T21:59:23+00:00", "updated_at": - "2024-01-19T21:59:23+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_3a956d52bba14426956a74497bc46627", "object": "Shipment", "tax_identifiers": - [{"entity": "SENDER", "tax_id": "HIDDEN", "tax_id_type": "EORI", "issuing_country": - "GB"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7321' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_3a956d52bba14426956a74497bc46627 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf0bbe798c020000f942b - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.703019' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"shipment": {"to_address": {"name": "Dr. Steve Brule", "street1": "179 - N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com"}, "from_address": - {"name": "EasyPost", "street1": "417 Montgomery Street", "street2": "5th Floor", - "city": "San Francisco", "state": "CA", "zip": "94104", "country": "US", "phone": - "4153334445", "email": "support@easypost.com"}, "parcel": {"length": "20.2", - "width": "10.9", "height": "5", "weight": "65.9"}, "customs_info": {"customs_certify": - "true", "customs_signer": "Steve Brule", "contents_type": "merchandise", "contents_explanation": - "", "restriction_type": "none", "eel_pfc": "NOEEI 30.37(a)", "customs_items": - [{"description": "T-shirt", "quantity": "1", "weight": "5", "value": "10", "code": - "123", "hs_tariff_number": "123456", "origin_country": "US"}]}, "tax_identifiers": - [{"entity": "SENDER", "tax_id": "GB123456789", "tax_id_type": "EORI", "issuing_country": - "GB"}]}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '1001' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/shipments - response: - body: - string: '{"created_at": "2024-01-19T22:02:19Z", "is_return": false, "messages": - [{"carrier": "DhlEcs", "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}, {"carrier": "DhlEcs", "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", "message": "Unauthorized. Please check credentials and - try again"}], "mode": "test", "options": {"currency": "USD", "payment": {"type": - "SENDER"}, "date_advance": 0}, "reference": null, "status": "unknown", "tracking_code": - null, "updated_at": "2024-01-19T22:02:19Z", "batch_id": null, "batch_status": - null, "batch_message": null, "customs_info": {"id": "cstinfo_0b78287c632e41c4800207212143f2e5", - "object": "CustomsInfo", "created_at": "2024-01-19T22:02:19Z", "updated_at": - "2024-01-19T22:02:19Z", "contents_explanation": "", "contents_type": "merchandise", - "customs_certify": true, "customs_signer": "Steve Brule", "eel_pfc": "NOEEI - 30.37(a)", "non_delivery_option": "return", "restriction_comments": null, - "restriction_type": "none", "mode": "test", "declaration": null, "customs_items": - [{"id": "cstitem_731c17b30dc84d2b98f31c7b0ad9611e", "object": "CustomsItem", - "created_at": "2024-01-19T22:02:19Z", "updated_at": "2024-01-19T22:02:19Z", - "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": - "US", "quantity": 1, "value": "10.0", "weight": 5.0, "code": "123", "mode": - "test", "manufacturer": null, "currency": null, "eccn": null, "printed_commodity_identifier": - null}]}, "from_address": {"id": "adr_6a016043b71611ee93e7ac1f6bc539ae", "object": - "Address", "created_at": "2024-01-19T22:02:19+00:00", "updated_at": "2024-01-19T22:02:19+00:00", - "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "insurance": null, "order_id": null, "parcel": - {"id": "prcl_5cd215a05647422e9ad24fe2fb8b41ff", "object": "Parcel", "created_at": - "2024-01-19T22:02:19Z", "updated_at": "2024-01-19T22:02:19Z", "length": 20.2, - "width": 10.9, "height": 5.0, "predefined_package": null, "weight": 65.9, - "mode": "test"}, "postage_label": null, "rates": [{"id": "rate_dec4589e16834dac8a6a43f07dbdc447", - "object": "Rate", "created_at": "2024-01-19T22:02:19Z", "updated_at": "2024-01-19T22:02:19Z", - "mode": "test", "service": "Express", "carrier": "USPS", "rate": "46.85", - "currency": "USD", "retail_rate": "54.20", "retail_currency": "USD", "list_rate": - "46.85", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - null, "shipment_id": "shp_707a6b82c1bc47938ccbb49ba9c33c52", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_627bb1fac1784afb8bbd48d5a497c494", - "object": "Rate", "created_at": "2024-01-19T22:02:19Z", "updated_at": "2024-01-19T22:02:19Z", - "mode": "test", "service": "Priority", "carrier": "USPS", "rate": "7.99", - "currency": "USD", "retail_rate": "14.05", "retail_currency": "USD", "list_rate": - "10.27", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 2, "shipment_id": "shp_707a6b82c1bc47938ccbb49ba9c33c52", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_70bf05cf069c4c7cb79a25e52d9511e7", - "object": "Rate", "created_at": "2024-01-19T22:02:19Z", "updated_at": "2024-01-19T22:02:19Z", - "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", - "currency": "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": - "8.92", "list_currency": "USD", "billing_type": "easypost", "delivery_days": - 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": - 3, "shipment_id": "shp_707a6b82c1bc47938ccbb49ba9c33c52", "carrier_account_id": - "ca_b25657e9896e4d63ac8151ac346ac41e"}, {"id": "rate_b612c30722f345cf99abe290d6d2a5bb", - "object": "Rate", "created_at": "2024-01-19T22:02:19Z", "updated_at": "2024-01-19T22:02:19Z", - "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_707a6b82c1bc47938ccbb49ba9c33c52", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}, - {"id": "rate_00350e140ae244d4a7d9ccccb066281d", "object": "Rate", "created_at": - "2024-01-19T22:02:19Z", "updated_at": "2024-01-19T22:02:19Z", "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": - "USD", "retail_rate": "12.45", "retail_currency": "USD", "list_rate": "8.92", - "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": - null, "delivery_date_guaranteed": false, "est_delivery_days": 3, "shipment_id": - "shp_707a6b82c1bc47938ccbb49ba9c33c52", "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e"}], - "refund_status": null, "scan_form": null, "selected_rate": null, "tracker": - null, "to_address": {"id": "adr_69fe73e0b71611eea244ac1f6bc539aa", "object": - "Address", "created_at": "2024-01-19T22:02:19+00:00", "updated_at": "2024-01-19T22:02:19+00:00", - "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", - "street2": null, "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": - "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", "mode": - "test", "carrier_facility": null, "residential": null, "federal_tax_id": null, - "state_tax_id": null, "verifications": {}}, "usps_zone": 4, "return_address": - {"id": "adr_6a016043b71611ee93e7ac1f6bc539ae", "object": "Address", "created_at": - "2024-01-19T22:02:19+00:00", "updated_at": "2024-01-19T22:02:19+00:00", "name": - "EasyPost", "company": null, "street1": "417 Montgomery Street", "street2": - "5th Floor", "city": "San Francisco", "state": "CA", "zip": "94104", "country": - "US", "phone": "4153334445", "email": "support@easypost.com", "mode": "test", - "carrier_facility": null, "residential": null, "federal_tax_id": null, "state_tax_id": - null, "verifications": {}}, "buyer_address": {"id": "adr_69fe73e0b71611eea244ac1f6bc539aa", - "object": "Address", "created_at": "2024-01-19T22:02:19+00:00", "updated_at": - "2024-01-19T22:02:19+00:00", "name": "Dr. Steve Brule", "company": null, "street1": - "179 N Harbor Dr", "street2": null, "city": "Redondo Beach", "state": "CA", - "zip": "90277", "country": "US", "phone": "8573875756", "email": "dr_steve_brule@gmail.com", - "mode": "test", "carrier_facility": null, "residential": null, "federal_tax_id": - null, "state_tax_id": null, "verifications": {}}, "forms": [], "fees": [], - "id": "shp_707a6b82c1bc47938ccbb49ba9c33c52", "object": "Shipment", "tax_identifiers": - [{"entity": "SENDER", "tax_id": "HIDDEN", "tax_id_type": "EORI", "issuing_country": - "GB"}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '7321' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/shipments/shp_707a6b82c1bc47938ccbb49ba9c33c52 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf16be798c882001031dc - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.881220' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_trackers_create.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_trackers_create.yaml deleted file mode 100644 index 831c504b..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_trackers_create.yaml +++ /dev/null @@ -1,524 +0,0 @@ -interactions: -- request: - body: '{"tracker": {"tracking_code": "EZ1000000001", "carrier": "USPS"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '65' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/trackers - response: - body: - string: '{"id": "trk_acfcc5058c5445bda6c3c331125d52c9", "object": "Tracker", - "mode": "test", "tracking_code": "EZ1000000001", "status": "pre_transit", - "status_detail": "status_update", "created_at": "2023-11-30T20:36:36Z", "updated_at": - "2023-12-01T05:14:45Z", "signed_by": null, "weight": null, "est_delivery_date": - "2023-12-01T05:14:45Z", "shipment_id": null, "carrier": "USPS", "tracking_details": - [{"object": "TrackingDetail", "message": "Pre-Shipment Info Sent to USPS", - "description": "", "status": "pre_transit", "status_detail": "status_update", - "datetime": "2023-11-01T05:14:45Z", "source": "USPS", "carrier_code": "", - "tracking_location": {"object": "TrackingLocation", "city": null, "state": - null, "country": null, "zip": null}}, {"object": "TrackingDetail", "message": - "Shipping Label Created", "description": "", "status": "pre_transit", "status_detail": - "status_update", "datetime": "2023-11-01T17:51:45Z", "source": "USPS", "carrier_code": - "", "tracking_location": {"object": "TrackingLocation", "city": "HOUSTON", - "state": "TX", "country": null, "zip": "77063"}}], "carrier_detail": {"object": - "CarrierDetail", "service": "First-Class Package Service", "container_type": - null, "est_delivery_date_local": null, "est_delivery_time_local": null, "origin_location": - "HOUSTON TX, 77001", "origin_tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}, "destination_location": - "CHARLESTON SC, 29401", "destination_tracking_location": null, "guaranteed_delivery_date": - null, "alternate_identifier": null, "initial_delivery_attempt": null}, "finalized": - true, "is_return": false, "public_url": "https://track.easypost.com/djE6dHJrX2FjZmNjNTA1OGM1NDQ1YmRhNmMzYzMzMTEyNWQ1MmM5"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1618' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/trackers/trk_acfcc5058c5445bda6c3c331125d52c9 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaecbbe78b9f8c000d10b7 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.096335' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"tracker": {"tracking_code": "EZ1000000001", "carrier": "USPS"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '65' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/trackers - response: - body: - string: '{"id": "trk_acfcc5058c5445bda6c3c331125d52c9", "object": "Tracker", - "mode": "test", "tracking_code": "EZ1000000001", "status": "pre_transit", - "status_detail": "status_update", "created_at": "2023-11-30T20:36:36Z", "updated_at": - "2023-12-01T05:14:45Z", "signed_by": null, "weight": null, "est_delivery_date": - "2023-12-01T05:14:45Z", "shipment_id": null, "carrier": "USPS", "tracking_details": - [{"object": "TrackingDetail", "message": "Pre-Shipment Info Sent to USPS", - "description": "", "status": "pre_transit", "status_detail": "status_update", - "datetime": "2023-11-01T05:14:45Z", "source": "USPS", "carrier_code": "", - "tracking_location": {"object": "TrackingLocation", "city": null, "state": - null, "country": null, "zip": null}}, {"object": "TrackingDetail", "message": - "Shipping Label Created", "description": "", "status": "pre_transit", "status_detail": - "status_update", "datetime": "2023-11-01T17:51:45Z", "source": "USPS", "carrier_code": - "", "tracking_location": {"object": "TrackingLocation", "city": "HOUSTON", - "state": "TX", "country": null, "zip": "77063"}}], "carrier_detail": {"object": - "CarrierDetail", "service": "First-Class Package Service", "container_type": - null, "est_delivery_date_local": null, "est_delivery_time_local": null, "origin_location": - "HOUSTON TX, 77001", "origin_tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}, "destination_location": - "CHARLESTON SC, 29401", "destination_tracking_location": null, "guaranteed_delivery_date": - null, "alternate_identifier": null, "initial_delivery_attempt": null}, "finalized": - true, "is_return": false, "public_url": "https://track.easypost.com/djE6dHJrX2FjZmNjNTA1OGM1NDQ1YmRhNmMzYzMzMTEyNWQ1MmM5"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1618' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/trackers/trk_acfcc5058c5445bda6c3c331125d52c9 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaed30e78ba7c8000d55e9 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.069521' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"tracker": {"tracking_code": "EZ1000000001", "carrier": "USPS"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '65' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/trackers - response: - body: - string: '{"id": "trk_acfcc5058c5445bda6c3c331125d52c9", "object": "Tracker", - "mode": "test", "tracking_code": "EZ1000000001", "status": "pre_transit", - "status_detail": "status_update", "created_at": "2023-11-30T20:36:36Z", "updated_at": - "2023-12-01T05:14:45Z", "signed_by": null, "weight": null, "est_delivery_date": - "2023-12-01T05:14:45Z", "shipment_id": null, "carrier": "USPS", "tracking_details": - [{"object": "TrackingDetail", "message": "Pre-Shipment Info Sent to USPS", - "description": "", "status": "pre_transit", "status_detail": "status_update", - "datetime": "2023-11-01T05:14:45Z", "source": "USPS", "carrier_code": "", - "tracking_location": {"object": "TrackingLocation", "city": null, "state": - null, "country": null, "zip": null}}, {"object": "TrackingDetail", "message": - "Shipping Label Created", "description": "", "status": "pre_transit", "status_detail": - "status_update", "datetime": "2023-11-01T17:51:45Z", "source": "USPS", "carrier_code": - "", "tracking_location": {"object": "TrackingLocation", "city": "HOUSTON", - "state": "TX", "country": null, "zip": "77063"}}], "carrier_detail": {"object": - "CarrierDetail", "service": "First-Class Package Service", "container_type": - null, "est_delivery_date_local": null, "est_delivery_time_local": null, "origin_location": - "HOUSTON TX, 77001", "origin_tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}, "destination_location": - "CHARLESTON SC, 29401", "destination_tracking_location": null, "guaranteed_delivery_date": - null, "alternate_identifier": null, "initial_delivery_attempt": null}, "finalized": - true, "is_return": false, "public_url": "https://track.easypost.com/djE6dHJrX2FjZmNjNTA1OGM1NDQ1YmRhNmMzYzMzMTEyNWQ1MmM5"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1618' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/trackers/trk_acfcc5058c5445bda6c3c331125d52c9 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda965aaee19e78bb04c00114d0d - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.099038' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"tracker": {"tracking_code": "EZ1000000001", "carrier": "USPS"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '65' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/trackers - response: - body: - string: '{"id": "trk_acfcc5058c5445bda6c3c331125d52c9", "object": "Tracker", - "mode": "test", "tracking_code": "EZ1000000001", "status": "pre_transit", - "status_detail": "status_update", "created_at": "2023-11-30T20:36:36Z", "updated_at": - "2023-12-01T05:14:45Z", "signed_by": null, "weight": null, "est_delivery_date": - "2023-12-01T05:14:45Z", "shipment_id": null, "carrier": "USPS", "tracking_details": - [{"object": "TrackingDetail", "message": "Pre-Shipment Info Sent to USPS", - "description": "", "status": "pre_transit", "status_detail": "status_update", - "datetime": "2023-11-01T05:14:45Z", "source": "USPS", "carrier_code": "", - "tracking_location": {"object": "TrackingLocation", "city": null, "state": - null, "country": null, "zip": null}}, {"object": "TrackingDetail", "message": - "Shipping Label Created", "description": "", "status": "pre_transit", "status_detail": - "status_update", "datetime": "2023-11-01T17:51:45Z", "source": "USPS", "carrier_code": - "", "tracking_location": {"object": "TrackingLocation", "city": "HOUSTON", - "state": "TX", "country": null, "zip": "77063"}}], "carrier_detail": {"object": - "CarrierDetail", "service": "First-Class Package Service", "container_type": - null, "est_delivery_date_local": null, "est_delivery_time_local": null, "origin_location": - "HOUSTON TX, 77001", "origin_tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}, "destination_location": - "CHARLESTON SC, 29401", "destination_tracking_location": null, "guaranteed_delivery_date": - null, "alternate_identifier": null, "initial_delivery_attempt": null}, "finalized": - true, "is_return": false, "public_url": "https://track.easypost.com/djE6dHJrX2FjZmNjNTA1OGM1NDQ1YmRhNmMzYzMzMTEyNWQ1MmM5"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1618' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/trackers/trk_acfcc5058c5445bda6c3c331125d52c9 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda765aaee8de78bb88600118ed0 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.080598' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"tracker": {"tracking_code": "EZ1000000001", "carrier": "USPS"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '65' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/trackers - response: - body: - string: '{"id": "trk_acfcc5058c5445bda6c3c331125d52c9", "object": "Tracker", - "mode": "test", "tracking_code": "EZ1000000001", "status": "pre_transit", - "status_detail": "status_update", "created_at": "2023-11-30T20:36:36Z", "updated_at": - "2023-12-01T05:14:45Z", "signed_by": null, "weight": null, "est_delivery_date": - "2023-12-01T05:14:45Z", "shipment_id": null, "carrier": "USPS", "tracking_details": - [{"object": "TrackingDetail", "message": "Pre-Shipment Info Sent to USPS", - "description": "", "status": "pre_transit", "status_detail": "status_update", - "datetime": "2023-11-01T05:14:45Z", "source": "USPS", "carrier_code": "", - "tracking_location": {"object": "TrackingLocation", "city": null, "state": - null, "country": null, "zip": null}}, {"object": "TrackingDetail", "message": - "Shipping Label Created", "description": "", "status": "pre_transit", "status_detail": - "status_update", "datetime": "2023-11-01T17:51:45Z", "source": "USPS", "carrier_code": - "", "tracking_location": {"object": "TrackingLocation", "city": "HOUSTON", - "state": "TX", "country": null, "zip": "77063"}}], "carrier_detail": {"object": - "CarrierDetail", "service": "First-Class Package Service", "container_type": - null, "est_delivery_date_local": null, "est_delivery_time_local": null, "origin_location": - "HOUSTON TX, 77001", "origin_tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}, "destination_location": - "CHARLESTON SC, 29401", "destination_tracking_location": null, "guaranteed_delivery_date": - null, "alternate_identifier": null, "initial_delivery_attempt": null}, "finalized": - true, "is_return": false, "public_url": "https://track.easypost.com/djE6dHJrX2FjZmNjNTA1OGM1NDQ1YmRhNmMzYzMzMTEyNWQ1MmM5"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1618' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/trackers/trk_acfcc5058c5445bda6c3c331125d52c9 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaf0bce798c021000f9519 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.071083' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"tracker": {"tracking_code": "EZ1000000001", "carrier": "USPS"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '65' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/trackers - response: - body: - string: '{"id": "trk_acfcc5058c5445bda6c3c331125d52c9", "object": "Tracker", - "mode": "test", "tracking_code": "EZ1000000001", "status": "pre_transit", - "status_detail": "status_update", "created_at": "2023-11-30T20:36:36Z", "updated_at": - "2023-12-01T05:14:45Z", "signed_by": null, "weight": null, "est_delivery_date": - "2023-12-01T05:14:45Z", "shipment_id": null, "carrier": "USPS", "tracking_details": - [{"object": "TrackingDetail", "message": "Pre-Shipment Info Sent to USPS", - "description": "", "status": "pre_transit", "status_detail": "status_update", - "datetime": "2023-11-01T05:14:45Z", "source": "USPS", "carrier_code": "", - "tracking_location": {"object": "TrackingLocation", "city": null, "state": - null, "country": null, "zip": null}}, {"object": "TrackingDetail", "message": - "Shipping Label Created", "description": "", "status": "pre_transit", "status_detail": - "status_update", "datetime": "2023-11-01T17:51:45Z", "source": "USPS", "carrier_code": - "", "tracking_location": {"object": "TrackingLocation", "city": "HOUSTON", - "state": "TX", "country": null, "zip": "77063"}}], "carrier_detail": {"object": - "CarrierDetail", "service": "First-Class Package Service", "container_type": - null, "est_delivery_date_local": null, "est_delivery_time_local": null, "origin_location": - "HOUSTON TX, 77001", "origin_tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}, "destination_location": - "CHARLESTON SC, 29401", "destination_tracking_location": null, "guaranteed_delivery_date": - null, "alternate_identifier": null, "initial_delivery_attempt": null}, "finalized": - true, "is_return": false, "public_url": "https://track.easypost.com/djE6dHJrX2FjZmNjNTA1OGM1NDQ1YmRhNmMzYzMzMTEyNWQ1MmM5"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1618' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - location: - - /api/v2/trackers/trk_acfcc5058c5445bda6c3c331125d52c9 - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf16ce798c883001032eb - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.077123' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_trackers_list.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_trackers_list.yaml deleted file mode 100644 index 5691d6e2..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_trackers_list.yaml +++ /dev/null @@ -1,496 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/trackers?page_size=1 - response: - body: - string: '{"trackers": [{"id": "trk_783fdb3f049b43c9a1092ed41513055e", "object": - "Tracker", "mode": "test", "tracking_code": "9405500207552010707832", "status": - "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:42:16Z", - "updated_at": "2024-01-19T21:42:16Z", "signed_by": null, "weight": null, "est_delivery_date": - "2024-01-19T21:42:16Z", "shipment_id": "shp_1b88cbe26946440d8d1afca25750e9ac", - "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": - "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-19T21:42:16Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", - "message": "Shipping Label Created", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-20T10:19:16Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": - null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": - null}, "public_url": "https://track.easypost.com/djE6dHJrXzc4M2ZkYjNmMDQ5YjQzYzlhMTA5MmVkNDE1MTMwNTVl"}], - "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1668' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaecbce78b9fa6000d1137 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.108045' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/trackers?page_size=1 - response: - body: - string: '{"trackers": [{"id": "trk_f1987fe517404992ad1454ff5cf5cc43", "object": - "Tracker", "mode": "test", "tracking_code": "9405500207552010708143", "status": - "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:44:13Z", - "updated_at": "2024-01-19T21:44:13Z", "signed_by": null, "weight": null, "est_delivery_date": - "2024-01-19T21:44:13Z", "shipment_id": "shp_09762a154e9a47d7a366232f343ef84b", - "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": - "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-19T21:44:13Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", - "message": "Shipping Label Created", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-20T10:21:13Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": - null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": - null}, "public_url": "https://track.easypost.com/djE6dHJrX2YxOTg3ZmU1MTc0MDQ5OTJhZDE0NTRmZjVjZjVjYzQz"}], - "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1668' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaed31e78ba7cb000d56aa - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.049036' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/trackers?page_size=1 - response: - body: - string: '{"trackers": [{"id": "trk_15bfb692feff4d139898d88d44a999dc", "object": - "Tracker", "mode": "test", "tracking_code": "9405500207552010708624", "status": - "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:48:06Z", - "updated_at": "2024-01-19T21:48:06Z", "signed_by": null, "weight": null, "est_delivery_date": - "2024-01-19T21:48:06Z", "shipment_id": "shp_a6b3fe8dc7804c51bf4f047f6cfed89c", - "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": - "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-19T21:48:06Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", - "message": "Shipping Label Created", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-20T10:25:06Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": - null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": - null}, "public_url": "https://track.easypost.com/djE6dHJrXzE1YmZiNjkyZmVmZjRkMTM5ODk4ZDg4ZDQ0YTk5OWRj"}], - "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1668' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdaa65aaee1ae78bb04f00114d9c - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.180699' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/trackers?page_size=1 - response: - body: - string: '{"trackers": [{"id": "trk_868d8dd515a74ae4aeb0f1e89d160df1", "object": - "Tracker", "mode": "test", "tracking_code": "9405500207552010709232", "status": - "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:50:01Z", - "updated_at": "2024-01-19T21:50:01Z", "signed_by": null, "weight": null, "est_delivery_date": - "2024-01-19T21:50:01Z", "shipment_id": "shp_e6890d7bdcba4918bad87fdcc87deb6a", - "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": - "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-19T21:50:01Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", - "message": "Shipping Label Created", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-20T10:27:01Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": - null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": - null}, "public_url": "https://track.easypost.com/djE6dHJrXzg2OGQ4ZGQ1MTVhNzRhZTRhZWIwZjFlODlkMTYwZGYx"}], - "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1668' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdad65aaee8ee78bb88900118f68 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.044845' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/trackers?page_size=1 - response: - body: - string: '{"trackers": [{"id": "trk_b14d8cb4d02247f1ae3fbf6d40460ce6", "object": - "Tracker", "mode": "test", "tracking_code": "9405500207552010711617", "status": - "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:59:21Z", - "updated_at": "2024-01-19T21:59:21Z", "signed_by": null, "weight": null, "est_delivery_date": - "2024-01-19T21:59:21Z", "shipment_id": "shp_4cb2ac419eb04d1da5c923fd9b3785e8", - "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": - "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-19T21:59:21Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", - "message": "Shipping Label Created", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-20T10:36:21Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": - null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": - null}, "public_url": "https://track.easypost.com/djE6dHJrX2IxNGQ4Y2I0ZDAyMjQ3ZjFhZTNmYmY2ZDQwNDYwY2U2"}], - "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1668' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf0bde798c03b000f95eb - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.055255' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/trackers?page_size=1 - response: - body: - string: '{"trackers": [{"id": "trk_65bb8063950b4af594ef16f0b65c1733", "object": - "Tracker", "mode": "test", "tracking_code": "9405500207552010712010", "status": - "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T22:02:16Z", - "updated_at": "2024-01-19T22:02:16Z", "signed_by": null, "weight": null, "est_delivery_date": - "2024-01-19T22:02:16Z", "shipment_id": "shp_6643f05ef56a40f3bfd702548750d5d3", - "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": - "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-19T22:02:16Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", - "message": "Shipping Label Created", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-20T10:39:16Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": - null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": - null}, "public_url": "https://track.easypost.com/djE6dHJrXzY1YmI4MDYzOTUwYjRhZjU5NGVmMTZmMGI2NWMxNzMz"}], - "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1668' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaf16de798c89d001033a5 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.059541' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_trackers_retrieve.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_trackers_retrieve.yaml deleted file mode 100644 index dbe0c4a7..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_trackers_retrieve.yaml +++ /dev/null @@ -1,988 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/trackers?page_size=1 - response: - body: - string: '{"trackers": [{"id": "trk_783fdb3f049b43c9a1092ed41513055e", "object": - "Tracker", "mode": "test", "tracking_code": "9405500207552010707832", "status": - "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:42:16Z", - "updated_at": "2024-01-19T21:42:16Z", "signed_by": null, "weight": null, "est_delivery_date": - "2024-01-19T21:42:16Z", "shipment_id": "shp_1b88cbe26946440d8d1afca25750e9ac", - "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": - "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-19T21:42:16Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", - "message": "Shipping Label Created", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-20T10:19:16Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": - null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": - null}, "public_url": "https://track.easypost.com/djE6dHJrXzc4M2ZkYjNmMDQ5YjQzYzlhMTA5MmVkNDE1MTMwNTVl"}], - "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1668' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaecbbe78b9f8d000d10f1 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.048618' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/trackers/trk_783fdb3f049b43c9a1092ed41513055e - response: - body: - string: '{"id": "trk_783fdb3f049b43c9a1092ed41513055e", "object": "Tracker", - "mode": "test", "tracking_code": "9405500207552010707832", "status": "pre_transit", - "status_detail": "status_update", "created_at": "2024-01-19T21:42:16Z", "updated_at": - "2024-01-19T21:42:16Z", "signed_by": null, "weight": null, "est_delivery_date": - "2024-01-19T21:42:16Z", "shipment_id": "shp_1b88cbe26946440d8d1afca25750e9ac", - "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": - "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-19T21:42:16Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", - "message": "Shipping Label Created", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-20T10:19:16Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": - null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": - null}, "public_url": "https://track.easypost.com/djE6dHJrXzc4M2ZkYjNmMDQ5YjQzYzlhMTA5MmVkNDE1MTMwNTVl"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1637' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaecbce78b9fa5000d1117 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.047180' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/trackers?page_size=1 - response: - body: - string: '{"trackers": [{"id": "trk_f1987fe517404992ad1454ff5cf5cc43", "object": - "Tracker", "mode": "test", "tracking_code": "9405500207552010708143", "status": - "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:44:13Z", - "updated_at": "2024-01-19T21:44:13Z", "signed_by": null, "weight": null, "est_delivery_date": - "2024-01-19T21:44:13Z", "shipment_id": "shp_09762a154e9a47d7a366232f343ef84b", - "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": - "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-19T21:44:13Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", - "message": "Shipping Label Created", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-20T10:21:13Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": - null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": - null}, "public_url": "https://track.easypost.com/djE6dHJrX2YxOTg3ZmU1MTc0MDQ5OTJhZDE0NTRmZjVjZjVjYzQz"}], - "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1668' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaed31e78ba7c9000d5619 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.046775' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/trackers/trk_f1987fe517404992ad1454ff5cf5cc43 - response: - body: - string: '{"id": "trk_f1987fe517404992ad1454ff5cf5cc43", "object": "Tracker", - "mode": "test", "tracking_code": "9405500207552010708143", "status": "pre_transit", - "status_detail": "status_update", "created_at": "2024-01-19T21:44:13Z", "updated_at": - "2024-01-19T21:44:13Z", "signed_by": null, "weight": null, "est_delivery_date": - "2024-01-19T21:44:13Z", "shipment_id": "shp_09762a154e9a47d7a366232f343ef84b", - "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": - "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-19T21:44:13Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", - "message": "Shipping Label Created", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-20T10:21:13Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": - null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": - null}, "public_url": "https://track.easypost.com/djE6dHJrX2YxOTg3ZmU1MTc0MDQ5OTJhZDE0NTRmZjVjZjVjYzQz"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1637' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaed31e78ba7ca000d5656 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.048001' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/trackers?page_size=1 - response: - body: - string: '{"trackers": [{"id": "trk_15bfb692feff4d139898d88d44a999dc", "object": - "Tracker", "mode": "test", "tracking_code": "9405500207552010708624", "status": - "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:48:06Z", - "updated_at": "2024-01-19T21:48:06Z", "signed_by": null, "weight": null, "est_delivery_date": - "2024-01-19T21:48:06Z", "shipment_id": "shp_a6b3fe8dc7804c51bf4f047f6cfed89c", - "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": - "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-19T21:48:06Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", - "message": "Shipping Label Created", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-20T10:25:06Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": - null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": - null}, "public_url": "https://track.easypost.com/djE6dHJrXzE1YmZiNjkyZmVmZjRkMTM5ODk4ZDg4ZDQ0YTk5OWRj"}], - "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1668' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdaa65aaee1ae78bb04d00114d42 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.050653' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/trackers/trk_15bfb692feff4d139898d88d44a999dc - response: - body: - string: '{"id": "trk_15bfb692feff4d139898d88d44a999dc", "object": "Tracker", - "mode": "test", "tracking_code": "9405500207552010708624", "status": "pre_transit", - "status_detail": "status_update", "created_at": "2024-01-19T21:48:06Z", "updated_at": - "2024-01-19T21:48:06Z", "signed_by": null, "weight": null, "est_delivery_date": - "2024-01-19T21:48:06Z", "shipment_id": "shp_a6b3fe8dc7804c51bf4f047f6cfed89c", - "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": - "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-19T21:48:06Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", - "message": "Shipping Label Created", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-20T10:25:06Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": - null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": - null}, "public_url": "https://track.easypost.com/djE6dHJrXzE1YmZiNjkyZmVmZjRkMTM5ODk4ZDg4ZDQ0YTk5OWRj"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1637' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda965aaee1ae78bb04e00114d6c - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.048731' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/trackers?page_size=1 - response: - body: - string: '{"trackers": [{"id": "trk_868d8dd515a74ae4aeb0f1e89d160df1", "object": - "Tracker", "mode": "test", "tracking_code": "9405500207552010709232", "status": - "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:50:01Z", - "updated_at": "2024-01-19T21:50:01Z", "signed_by": null, "weight": null, "est_delivery_date": - "2024-01-19T21:50:01Z", "shipment_id": "shp_e6890d7bdcba4918bad87fdcc87deb6a", - "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": - "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-19T21:50:01Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", - "message": "Shipping Label Created", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-20T10:27:01Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": - null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": - null}, "public_url": "https://track.easypost.com/djE6dHJrXzg2OGQ4ZGQ1MTVhNzRhZTRhZWIwZjFlODlkMTYwZGYx"}], - "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1668' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda865aaee8de78bb88700118f07 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.051258' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/trackers/trk_868d8dd515a74ae4aeb0f1e89d160df1 - response: - body: - string: '{"id": "trk_868d8dd515a74ae4aeb0f1e89d160df1", "object": "Tracker", - "mode": "test", "tracking_code": "9405500207552010709232", "status": "pre_transit", - "status_detail": "status_update", "created_at": "2024-01-19T21:50:01Z", "updated_at": - "2024-01-19T21:50:01Z", "signed_by": null, "weight": null, "est_delivery_date": - "2024-01-19T21:50:01Z", "shipment_id": "shp_e6890d7bdcba4918bad87fdcc87deb6a", - "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": - "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-19T21:50:01Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", - "message": "Shipping Label Created", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-20T10:27:01Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": - null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": - null}, "public_url": "https://track.easypost.com/djE6dHJrXzg2OGQ4ZGQ1MTVhNzRhZTRhZWIwZjFlODlkMTYwZGYx"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1637' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda865aaee8de78bb88800118f33 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.059387' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/trackers?page_size=1 - response: - body: - string: '{"trackers": [{"id": "trk_b14d8cb4d02247f1ae3fbf6d40460ce6", "object": - "Tracker", "mode": "test", "tracking_code": "9405500207552010711617", "status": - "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T21:59:21Z", - "updated_at": "2024-01-19T21:59:21Z", "signed_by": null, "weight": null, "est_delivery_date": - "2024-01-19T21:59:21Z", "shipment_id": "shp_4cb2ac419eb04d1da5c923fd9b3785e8", - "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": - "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-19T21:59:21Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", - "message": "Shipping Label Created", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-20T10:36:21Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": - null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": - null}, "public_url": "https://track.easypost.com/djE6dHJrX2IxNGQ4Y2I0ZDAyMjQ3ZjFhZTNmYmY2ZDQwNDYwY2U2"}], - "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1668' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf0bde798c022000f9567 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.047137' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/trackers/trk_b14d8cb4d02247f1ae3fbf6d40460ce6 - response: - body: - string: '{"id": "trk_b14d8cb4d02247f1ae3fbf6d40460ce6", "object": "Tracker", - "mode": "test", "tracking_code": "9405500207552010711617", "status": "pre_transit", - "status_detail": "status_update", "created_at": "2024-01-19T21:59:21Z", "updated_at": - "2024-01-19T21:59:21Z", "signed_by": null, "weight": null, "est_delivery_date": - "2024-01-19T21:59:21Z", "shipment_id": "shp_4cb2ac419eb04d1da5c923fd9b3785e8", - "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": - "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-19T21:59:21Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", - "message": "Shipping Label Created", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-20T10:36:21Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": - null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": - null}, "public_url": "https://track.easypost.com/djE6dHJrX2IxNGQ4Y2I0ZDAyMjQ3ZjFhZTNmYmY2ZDQwNDYwY2U2"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1637' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaf0bde798c023000f95a4 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.075722' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/trackers?page_size=1 - response: - body: - string: '{"trackers": [{"id": "trk_65bb8063950b4af594ef16f0b65c1733", "object": - "Tracker", "mode": "test", "tracking_code": "9405500207552010712010", "status": - "pre_transit", "status_detail": "status_update", "created_at": "2024-01-19T22:02:16Z", - "updated_at": "2024-01-19T22:02:16Z", "signed_by": null, "weight": null, "est_delivery_date": - "2024-01-19T22:02:16Z", "shipment_id": "shp_6643f05ef56a40f3bfd702548750d5d3", - "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": - "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-19T22:02:16Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", - "message": "Shipping Label Created", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-20T10:39:16Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": - null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": - null}, "public_url": "https://track.easypost.com/djE6dHJrXzY1YmI4MDYzOTUwYjRhZjU5NGVmMTZmMGI2NWMxNzMz"}], - "has_more": true}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1668' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaf16ce798c8840010332c - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.049662' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/trackers/trk_65bb8063950b4af594ef16f0b65c1733 - response: - body: - string: '{"id": "trk_65bb8063950b4af594ef16f0b65c1733", "object": "Tracker", - "mode": "test", "tracking_code": "9405500207552010712010", "status": "pre_transit", - "status_detail": "status_update", "created_at": "2024-01-19T22:02:16Z", "updated_at": - "2024-01-19T22:02:16Z", "signed_by": null, "weight": null, "est_delivery_date": - "2024-01-19T22:02:16Z", "shipment_id": "shp_6643f05ef56a40f3bfd702548750d5d3", - "carrier": "USPS", "tracking_details": [{"object": "TrackingDetail", "message": - "Pre-Shipment Info Sent to USPS", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-19T22:02:16Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": null, "state": null, "country": null, "zip": null}}, {"object": "TrackingDetail", - "message": "Shipping Label Created", "description": "", "status": "pre_transit", - "status_detail": "status_update", "datetime": "2023-12-20T10:39:16Z", "source": - "USPS", "carrier_code": "", "tracking_location": {"object": "TrackingLocation", - "city": "HOUSTON", "state": "TX", "country": null, "zip": "77063"}}], "fees": - [], "carrier_detail": {"object": "CarrierDetail", "service": "First-Class - Package Service", "container_type": null, "est_delivery_date_local": null, - "est_delivery_time_local": null, "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": - {"object": "TrackingLocation", "city": "HOUSTON", "state": "TX", "country": - null, "zip": "77063"}, "destination_location": "CHARLESTON SC, 29401", "destination_tracking_location": - null, "guaranteed_delivery_date": null, "alternate_identifier": null, "initial_delivery_attempt": - null}, "public_url": "https://track.easypost.com/djE6dHJrXzY1YmI4MDYzOTUwYjRhZjU5NGVmMTZmMGI2NWMxNzMz"}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1637' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaf16ce798c89c00103361 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.068777' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_users_retrieve.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_users_retrieve.yaml deleted file mode 100644 index 39e47783..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_users_retrieve.yaml +++ /dev/null @@ -1,517 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/users - response: - body: - string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": - null, "name": "New Name", "phone_number": "5555555555", "verified": true, - "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": - false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": - "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", - "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": - null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": - "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User2", "phone_number": "8005550100", "verified": true, "created_at": - "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}, - {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": - "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": - "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": - false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User", "phone_number": "8005550100", "verified": true, "created_at": - "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1725' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaecbee78b9fa8000d122b - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.074373' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/users - response: - body: - string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": - null, "name": "New Name", "phone_number": "5555555555", "verified": true, - "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": - false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": - "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", - "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": - null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": - "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User2", "phone_number": "8005550100", "verified": true, "created_at": - "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}, - {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": - "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": - "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": - false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User", "phone_number": "8005550100", "verified": true, "created_at": - "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2010' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaed33e78ba7e5000d57a7 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.082367' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/users - response: - body: - string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": - null, "name": "New Name", "phone_number": "5555555555", "verified": true, - "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": - false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": - "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", - "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": - null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": - "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User2", "phone_number": "8005550100", "verified": true, "created_at": - "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}, - {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": - "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": - "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": - false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User", "phone_number": "8005550100", "verified": true, "created_at": - "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2010' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdaa65aaee1ce78bb06900114e9d - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.089293' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/users - response: - body: - string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": - null, "name": "New Name", "phone_number": "5555555555", "verified": true, - "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": - false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": - "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", - "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": - null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": - "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User2", "phone_number": "8005550100", "verified": true, "created_at": - "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}, - {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": - "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": - "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": - false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User", "phone_number": "8005550100", "verified": true, "created_at": - "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2010' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda965aaee8fe78bb88c00119066 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.125851' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/users - response: - body: - string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": - null, "name": "New Name", "phone_number": "5555555555", "verified": true, - "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": - false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": - "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", - "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": - null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": - "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User2", "phone_number": "8005550100", "verified": true, "created_at": - "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}, - {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": - "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": - "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": - false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User", "phone_number": "8005550100", "verified": true, "created_at": - "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2010' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf0bfe798c03e000f9775 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.089462' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/users - response: - body: - string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": - null, "name": "New Name", "phone_number": "5555555555", "verified": true, - "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": - false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": - "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", - "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": - null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": - "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User2", "phone_number": "8005550100", "verified": true, "created_at": - "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}, - {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": - "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": - "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": - false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User", "phone_number": "8005550100", "verified": true, "created_at": - "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2010' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaf16fe798c8a0001034f4 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.213756' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_users_update.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_users_update.yaml deleted file mode 100644 index 6c62f25b..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_users_update.yaml +++ /dev/null @@ -1,1052 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/users - response: - body: - string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": - null, "name": "New Name", "phone_number": "5555555555", "verified": true, - "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": - false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": - "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", - "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": - null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": - "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User2", "phone_number": "8005550100", "verified": true, "created_at": - "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}, - {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": - "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": - "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": - false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User", "phone_number": "8005550100", "verified": true, "created_at": - "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1725' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaecbee78b9fa9000d1258 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.083183' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"user": {"phone": "5555555555"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '33' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: PATCH - uri: https://api.easypost.com/v2/users/user_54356a6b96c940d8913961a3c7b909f2 - response: - body: - string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": - null, "name": "New Name", "phone_number": "5555555555", "verified": true, - "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": - false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": - "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", - "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": - null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": - "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User2", "phone_number": "8005550100", "verified": true, "created_at": - "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}, - {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": - "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": - "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": - false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User", "phone_number": "8005550100", "verified": true, "created_at": - "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '1725' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaecbee78b9faa000d127b - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.079252' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/users - response: - body: - string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": - null, "name": "New Name", "phone_number": "5555555555", "verified": true, - "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": - false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": - "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", - "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": - null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": - "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User2", "phone_number": "8005550100", "verified": true, "created_at": - "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}, - {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": - "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": - "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": - false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User", "phone_number": "8005550100", "verified": true, "created_at": - "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2010' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaed33e78ba7e6000d57e3 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.111682' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"user": {"phone": "5555555555"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '33' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: PATCH - uri: https://api.easypost.com/v2/users/user_54356a6b96c940d8913961a3c7b909f2 - response: - body: - string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": - null, "name": "New Name", "phone_number": "5555555555", "verified": true, - "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": - false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": - "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", - "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": - null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": - "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User2", "phone_number": "8005550100", "verified": true, "created_at": - "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}, - {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": - "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": - "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": - false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User", "phone_number": "8005550100", "verified": true, "created_at": - "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2010' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaed33e78ba7e7000d5824 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.092223' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/users - response: - body: - string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": - null, "name": "New Name", "phone_number": "5555555555", "verified": true, - "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": - false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": - "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", - "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": - null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": - "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User2", "phone_number": "8005550100", "verified": true, "created_at": - "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}, - {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": - "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": - "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": - false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User", "phone_number": "8005550100", "verified": true, "created_at": - "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2010' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda965aaee1de78bb06a00114ecc - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.085195' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"user": {"phone": "5555555555"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '33' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: PATCH - uri: https://api.easypost.com/v2/users/user_54356a6b96c940d8913961a3c7b909f2 - response: - body: - string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": - null, "name": "New Name", "phone_number": "5555555555", "verified": true, - "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": - false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": - "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", - "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": - null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": - "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User2", "phone_number": "8005550100", "verified": true, "created_at": - "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}, - {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": - "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": - "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": - false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User", "phone_number": "8005550100", "verified": true, "created_at": - "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2010' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdae65aaee1de78bb06b00114ef2 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.087206' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/users - response: - body: - string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": - null, "name": "New Name", "phone_number": "5555555555", "verified": true, - "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": - false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": - "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", - "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": - null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": - "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User2", "phone_number": "8005550100", "verified": true, "created_at": - "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}, - {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": - "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": - "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": - false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User", "phone_number": "8005550100", "verified": true, "created_at": - "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2010' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdae65aaee90e78bb88d0011909a - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.086240' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"user": {"phone": "5555555555"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '33' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: PATCH - uri: https://api.easypost.com/v2/users/user_54356a6b96c940d8913961a3c7b909f2 - response: - body: - string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": - null, "name": "New Name", "phone_number": "5555555555", "verified": true, - "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": - false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": - "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", - "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": - null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": - "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User2", "phone_number": "8005550100", "verified": true, "created_at": - "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}, - {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": - "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": - "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": - false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User", "phone_number": "8005550100", "verified": true, "created_at": - "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2010' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdab65aaee90e78bb88e001190d6 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.091120' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/users - response: - body: - string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": - null, "name": "New Name", "phone_number": "5555555555", "verified": true, - "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": - false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": - "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", - "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": - null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": - "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User2", "phone_number": "8005550100", "verified": true, "created_at": - "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}, - {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": - "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": - "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": - false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User", "phone_number": "8005550100", "verified": true, "created_at": - "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2010' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf0bfe798c03f000f97bb - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.093954' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"user": {"phone": "5555555555"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '33' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: PATCH - uri: https://api.easypost.com/v2/users/user_54356a6b96c940d8913961a3c7b909f2 - response: - body: - string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": - null, "name": "New Name", "phone_number": "5555555555", "verified": true, - "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": - false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": - "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", - "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": - null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": - "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User2", "phone_number": "8005550100", "verified": true, "created_at": - "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}, - {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": - "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": - "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": - false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User", "phone_number": "8005550100", "verified": true, "created_at": - "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2010' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf0c0e798c040000f9830 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.081392' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/users - response: - body: - string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": - null, "name": "New Name", "phone_number": "5555555555", "verified": true, - "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": - false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": - "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", - "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": - null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": - "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User2", "phone_number": "8005550100", "verified": true, "created_at": - "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}, - {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": - "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": - "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": - false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User", "phone_number": "8005550100", "verified": true, "created_at": - "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2010' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaf16fe798c8a100103579 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.084770' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"user": {"phone": "5555555555"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '33' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: PATCH - uri: https://api.easypost.com/v2/users/user_54356a6b96c940d8913961a3c7b909f2 - response: - body: - string: '{"id": "user_54356a6b96c940d8913961a3c7b909f2", "object": "User", "parent_id": - null, "name": "New Name", "phone_number": "5555555555", "verified": true, - "created_at": "2017-03-01T03:01:34Z", "default_carbon_offset": false, "has_elevate_access": - false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": - "100.00", "secondary_recharge_amount": "100.00", "recharge_threshold": "0.00", - "has_billing_method": false, "cc_fee_rate": "0.03", "default_insurance_amount": - null, "insurance_fee_rate": "0.01", "insurance_fee_minimum": "1.00", "email": - "dev+easypost-python@easypost.com", "children": [{"id": "user_584be78af2f141e988b6c60dda9dd8fd", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User2", "phone_number": "8005550100", "verified": true, "created_at": - "2023-12-11T17:13:38Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_437e724f37de412db6df8821968d8d3c", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User2", "phone_number": "8005550100", "verified": true, "created_at": "2023-12-11T17:13:43Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}, - {"id": "user_2553102e90de43dea0b9fa7f8c8d7e33", "object": "User", "parent_id": - "user_54356a6b96c940d8913961a3c7b909f2", "name": "Child Account Name22", "phone_number": - "8005550100", "verified": true, "created_at": "2024-01-04T19:56:21Z", "default_carbon_offset": - false, "has_elevate_access": false, "children": []}, {"id": "user_31754439d4524fbb8867d138de537e12", - "object": "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": - "Test User", "phone_number": "8005550100", "verified": true, "created_at": - "2024-01-19T21:42:21Z", "default_carbon_offset": false, "has_elevate_access": - false, "children": []}, {"id": "user_d26377e80676431d88c17d8b140d365a", "object": - "User", "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", "name": "Test - User", "phone_number": "8005550100", "verified": true, "created_at": "2024-01-19T21:44:18Z", - "default_carbon_offset": false, "has_elevate_access": false, "children": []}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2010' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf16fe798c8a2001035d1 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.086901' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_webhooks_create.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_webhooks_create.yaml deleted file mode 100644 index 98c9ee82..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_webhooks_create.yaml +++ /dev/null @@ -1,790 +0,0 @@ -interactions: -- request: - body: '{"webhook": {"url": "http://example.com"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '42' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/webhooks - response: - body: - string: '{"id": "hook_a258052cb71311eeab0e11baa1d48065", "object": "Webhook", - "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:42:25Z", - "disabled_at": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '161' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaecc1e78b9fc7000d13b6 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.162408' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/webhooks/hook_a258052cb71311eeab0e11baa1d48065 - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaecc1e78b9fc9000d140e - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.296082' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"webhook": {"url": "http://example.com"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '42' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/webhooks - response: - body: - string: '{"id": "hook_e7db6328b71311eeb30851732233c017", "object": "Webhook", - "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:44:22Z", - "disabled_at": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '161' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaed35e78ba7eb000d5983 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.130830' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/webhooks/hook_e7db6328b71311eeb30851732233c017 - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaed36e78ba7ec000d59b3 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.318621' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"webhook": {"url": "http://example.com"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '42' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/webhooks - response: - body: - string: '{"id": "hook_7385ef88b71411ee922e33df67866324", "object": "Webhook", - "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:48:16Z", - "disabled_at": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '161' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda965aaee20e78bb06f00115048 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.175403' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/webhooks/hook_7385ef88b71411ee922e33df67866324 - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda865aaee20e78bb070001150a1 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.322261' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"webhook": {"url": "http://example.com"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '42' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/webhooks - response: - body: - string: '{"id": "hook_b817ee94b71411eea8747f6fd9510e61", "object": "Webhook", - "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:50:11Z", - "disabled_at": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '161' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda865aaee93e78bb8a900119271 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.178003' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/webhooks/hook_b817ee94b71411eea8747f6fd9510e61 - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda965aaee93e78bb8aa001192be - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.336926' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"webhook": {"url": "http://example.com"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '42' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/webhooks - response: - body: - string: '{"id": "hook_057b9e0ab71611ee92fe09834b6f519e", "object": "Webhook", - "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:59:30Z", - "disabled_at": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '161' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf0c2e798c044000f99d6 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.163451' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/webhooks/hook_057b9e0ab71611ee92fe09834b6f519e - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf0c2e798c05c000f9a0e - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.256200' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"webhook": {"url": "http://example.com"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '42' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/webhooks - response: - body: - string: '{"id": "hook_6e60fa0ab71611ee96d829a56e1adbe0", "object": "Webhook", - "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T22:02:26Z", - "disabled_at": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '161' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaf172e798c8bf001037de - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.145424' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/webhooks/hook_6e60fa0ab71611ee96d829a56e1adbe0 - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf172e798c8c000103826 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.351506' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_webhooks_delete.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_webhooks_delete.yaml deleted file mode 100644 index a7b735d9..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_webhooks_delete.yaml +++ /dev/null @@ -1,788 +0,0 @@ -interactions: -- request: - body: '{"webhook": {"url": "http://example.com"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '42' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/webhooks - response: - body: - string: '{"id": "hook_a5b3b98cb71311eebaad0ff890ad3e6a", "object": "Webhook", - "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:42:31Z", - "disabled_at": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '161' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaecc6e78b9fea000d16be - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.155746' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/webhooks/hook_a5b3b98cb71311eebaad0ff890ad3e6a - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaecc7e78b9feb000d16f1 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.281922' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"webhook": {"url": "http://example.com"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '42' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/webhooks - response: - body: - string: '{"id": "hook_eb3fa38ab71311eea03e1100c5ae9ad2", "object": "Webhook", - "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:44:27Z", - "disabled_at": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '161' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaed3be78ba80d000d5ca9 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.177734' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/webhooks/hook_eb3fa38ab71311eea03e1100c5ae9ad2 - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaed3be78ba80e000d5ce8 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.329067' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"webhook": {"url": "http://example.com"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '42' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/webhooks - response: - body: - string: '{"id": "hook_76faf500b71411ee8a7e7fbeeefa1da3", "object": "Webhook", - "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:48:22Z", - "disabled_at": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '161' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda765aaee25e78bb0a9001153f0 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.180791' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/webhooks/hook_76faf500b71411ee8a7e7fbeeefa1da3 - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdad65aaee26e78bb0aa0011541b - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.327926' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"webhook": {"url": "http://example.com"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '42' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/webhooks - response: - body: - string: '{"id": "hook_bba6bc0cb71411ee8708450a69d5097e", "object": "Webhook", - "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:50:17Z", - "disabled_at": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '161' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda765aaee99e78bb8cb00119600 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.155136' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/webhooks/hook_bba6bc0cb71411ee8708450a69d5097e - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdae65aaee99e78bb8cc00119646 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.357895' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"webhook": {"url": "http://example.com"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '42' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/webhooks - response: - body: - string: '{"id": "hook_08f01d22b71611eeac2d136660ebe8e1", "object": "Webhook", - "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:59:36Z", - "disabled_at": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '161' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaf0c8e798c07d000f9cd0 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.130903' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/webhooks/hook_08f01d22b71611eeac2d136660ebe8e1 - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaf0c8e798c07e000f9d02 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.306515' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"webhook": {"url": "http://example.com"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '42' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/webhooks - response: - body: - string: '{"id": "hook_71b73296b71611ee85454d2474daa015", "object": "Webhook", - "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T22:02:32Z", - "disabled_at": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '161' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaf177e798c8e100103cf4 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.175240' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/webhooks/hook_71b73296b71611ee85454d2474daa015 - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf178e798c8e200103d94 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.499184' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_webhooks_list.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_webhooks_list.yaml deleted file mode 100644 index eaaf9364..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_webhooks_list.yaml +++ /dev/null @@ -1,1166 +0,0 @@ -interactions: -- request: - body: '{"webhook": {"url": "http://example.com"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '42' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/webhooks - response: - body: - string: '{"id": "hook_a3f025eab71311ee809a6118297c1e69", "object": "Webhook", - "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:42:28Z", - "disabled_at": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '161' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaecc3e78b9fcd000d1544 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.148959' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/webhooks?page_size=1 - response: - body: - string: '{"webhooks": [{"id": "hook_a3f025eab71311ee809a6118297c1e69", "object": - "Webhook", "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:42:28Z", - "disabled_at": null}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '176' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaecc4e78b9fce000d1577 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.031030' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/webhooks/hook_a3f025eab71311ee809a6118297c1e69 - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaecc4e78b9fcf000d1590 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.391793' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"webhook": {"url": "http://example.com"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '42' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/webhooks - response: - body: - string: '{"id": "hook_e93fe090b71311eea1fb11a2c6955459", "object": "Webhook", - "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:44:24Z", - "disabled_at": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '161' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaed38e78ba807000d5ac2 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.151795' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/webhooks?page_size=1 - response: - body: - string: '{"webhooks": [{"id": "hook_e93fe090b71311eea1fb11a2c6955459", "object": - "Webhook", "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:44:24Z", - "disabled_at": null}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '176' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaed38e78ba808000d5af4 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.025198' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/webhooks/hook_e93fe090b71311eea1fb11a2c6955459 - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaed38e78ba809000d5b1d - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.295689' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"webhook": {"url": "http://example.com"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '42' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/webhooks - response: - body: - string: '{"id": "hook_74f58c52b71411eea11e112d61fefbe2", "object": "Webhook", - "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:48:18Z", - "disabled_at": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '161' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda865aaee22e78bb08b00115209 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.128367' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/webhooks?page_size=1 - response: - body: - string: '{"webhooks": [{"id": "hook_74f58c52b71411eea11e112d61fefbe2", "object": - "Webhook", "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:48:18Z", - "disabled_at": null}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '176' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda865aaee22e78bb08c00115236 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.025240' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/webhooks/hook_74f58c52b71411eea11e112d61fefbe2 - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdab65aaee23e78bb08d00115253 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.515791' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"webhook": {"url": "http://example.com"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '42' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/webhooks - response: - body: - string: '{"id": "hook_b9c668a6b71411ee9ea44502384d3ec9", "object": "Webhook", - "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:50:14Z", - "disabled_at": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '161' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda765aaee95e78bb8ae00119432 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.167194' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/webhooks?page_size=1 - response: - body: - string: '{"webhooks": [{"id": "hook_b9c668a6b71411ee9ea44502384d3ec9", "object": - "Webhook", "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:50:14Z", - "disabled_at": null}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '176' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda765aaee96e78bb8af00119476 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.028471' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/webhooks/hook_b9c668a6b71411ee9ea44502384d3ec9 - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdae65aaee96e78bb8b00011949a - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.336550' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"webhook": {"url": "http://example.com"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '42' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/webhooks - response: - body: - string: '{"id": "hook_06f507f8b71611eeae12493355cdf30f", "object": "Webhook", - "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:59:33Z", - "disabled_at": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '161' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf0c4e798c060000f9b36 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.170305' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/webhooks?page_size=1 - response: - body: - string: '{"webhooks": [{"id": "hook_06f507f8b71611eeae12493355cdf30f", "object": - "Webhook", "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:59:33Z", - "disabled_at": null}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '176' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf0c5e798c061000f9b81 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.027397' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/webhooks/hook_06f507f8b71611eeae12493355cdf30f - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaf0c5e798c062000f9ba0 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.384021' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"webhook": {"url": "http://example.com"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '42' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/webhooks - response: - body: - string: '{"id": "hook_6fbfd8d0b71611ee87502fa15ededa06", "object": "Webhook", - "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T22:02:29Z", - "disabled_at": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '161' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaf174e798c8c4001039db - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.137746' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/webhooks?page_size=1 - response: - body: - string: '{"webhooks": [{"id": "hook_6fbfd8d0b71611ee87502fa15ededa06", "object": - "Webhook", "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T22:02:29Z", - "disabled_at": null}]}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '176' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf175e798c8c500103a2f - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.027315' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/webhooks/hook_6fbfd8d0b71611ee87502fa15ededa06 - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaf175e798c8c600103a78 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.322772' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_webhooks_retrieve.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_webhooks_retrieve.yaml deleted file mode 100644 index 7055edf2..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_webhooks_retrieve.yaml +++ /dev/null @@ -1,1164 +0,0 @@ -interactions: -- request: - body: '{"webhook": {"url": "http://example.com"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '42' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/webhooks - response: - body: - string: '{"id": "hook_a317b64cb71311eebfd9774bcdd1148b", "object": "Webhook", - "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:42:26Z", - "disabled_at": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '161' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaecc2e78b9fca000d1482 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.200084' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/webhooks/hook_a317b64cb71311eebfd9774bcdd1148b - response: - body: - string: '{"id": "hook_a317b64cb71311eebfd9774bcdd1148b", "object": "Webhook", - "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:42:26Z", - "disabled_at": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '161' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaecc2e78b9fcb000d14b7 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.029760' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/webhooks/hook_a317b64cb71311eebfd9774bcdd1148b - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaecc3e78b9fcc000d14ed - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.362651' - x-version-label: - - easypost-202401191855-c1565c253c-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"webhook": {"url": "http://example.com"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '42' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/webhooks - response: - body: - string: '{"id": "hook_e86d7628b71311eea6a83b8e0e1391d2", "object": "Webhook", - "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:44:23Z", - "disabled_at": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '161' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaed36e78ba7ed000d5a0c - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.130308' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/webhooks/hook_e86d7628b71311eea6a83b8e0e1391d2 - response: - body: - string: '{"id": "hook_e86d7628b71311eea6a83b8e0e1391d2", "object": "Webhook", - "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:44:23Z", - "disabled_at": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '161' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaed37e78ba7ee000d5a52 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.028465' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/webhooks/hook_e86d7628b71311eea6a83b8e0e1391d2 - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaed37e78ba806000d5a75 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.278517' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"webhook": {"url": "http://example.com"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '42' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/webhooks - response: - body: - string: '{"id": "hook_7448062cb71411ee952d5d247cadacdc", "object": "Webhook", - "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:48:17Z", - "disabled_at": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '161' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda865aaee21e78bb08800115102 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.165804' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/webhooks/hook_7448062cb71411ee952d5d247cadacdc - response: - body: - string: '{"id": "hook_7448062cb71411ee952d5d247cadacdc", "object": "Webhook", - "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:48:17Z", - "disabled_at": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '161' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdad65aaee21e78bb0890011515b - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.031830' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/webhooks/hook_7448062cb71411ee952d5d247cadacdc - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdaa65aaee21e78bb08a00115196 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.261612' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"webhook": {"url": "http://example.com"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '42' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/webhooks - response: - body: - string: '{"id": "hook_b8c9ae36b71411ee9d9b0b854eec6322", "object": "Webhook", - "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:50:12Z", - "disabled_at": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '161' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda965aaee94e78bb8ab00119339 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.137455' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/webhooks/hook_b8c9ae36b71411ee9d9b0b854eec6322 - response: - body: - string: '{"id": "hook_b8c9ae36b71411ee9d9b0b854eec6322", "object": "Webhook", - "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:50:12Z", - "disabled_at": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '161' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdaa65aaee94e78bb8ac0011938d - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.028925' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/webhooks/hook_b8c9ae36b71411ee9d9b0b854eec6322 - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdac65aaee95e78bb8ad001193be - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.367455' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"webhook": {"url": "http://example.com"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '42' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/webhooks - response: - body: - string: '{"id": "hook_060bd2c2b71611eeaf8a1943ecdf7c86", "object": "Webhook", - "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:59:31Z", - "disabled_at": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '161' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f865aaf0c3e798c05d000f9a5b - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.138540' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/webhooks/hook_060bd2c2b71611eeaf8a1943ecdf7c86 - response: - body: - string: '{"id": "hook_060bd2c2b71611eeaf8a1943ecdf7c86", "object": "Webhook", - "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:59:31Z", - "disabled_at": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '161' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaf0c3e798c05e000f9a9b - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.030818' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/webhooks/hook_060bd2c2b71611eeaf8a1943ecdf7c86 - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaf0c3e798c05f000f9ac5 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb38nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.353518' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"webhook": {"url": "http://example.com"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '42' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/webhooks - response: - body: - string: '{"id": "hook_6eff7d1ab71611eebfe04d802f4a76b4", "object": "Webhook", - "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T22:02:27Z", - "disabled_at": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '161' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf173e798c8c1001038a8 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb35nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.129112' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - authorization: - - - user-agent: - - - method: GET - uri: https://api.easypost.com/v2/webhooks/hook_6eff7d1ab71611eebfe04d802f4a76b4 - response: - body: - string: '{"id": "hook_6eff7d1ab71611eebfe04d802f4a76b4", "object": "Webhook", - "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T22:02:27Z", - "disabled_at": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '161' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf173e798c8c2001038f7 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.028288' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/webhooks/hook_6eff7d1ab71611eebfe04d802f4a76b4 - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf174e798c8c300103932 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.307737' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/cassettes/test_webhooks_update.yaml b/official/tools/build_doc_json_responses/tests/cassettes/test_webhooks_update.yaml deleted file mode 100644 index a5afbe84..00000000 --- a/official/tools/build_doc_json_responses/tests/cassettes/test_webhooks_update.yaml +++ /dev/null @@ -1,1190 +0,0 @@ -interactions: -- request: - body: '{"webhook": {"url": "http://example.com"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '42' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/webhooks - response: - body: - string: '{"id": "hook_a4b29896b71311eeb89d5393417d9862", "object": "Webhook", - "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:42:29Z", - "disabled_at": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '161' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaecc5e78b9fe7000d15eb - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.164476' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"webhook": {}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '15' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: PATCH - uri: https://api.easypost.com/v2/webhooks/hook_a4b29896b71311eeb89d5393417d9862 - response: - body: - string: '{"id": "hook_a4b29896b71311eeb89d5393417d9862", "object": "Webhook", - "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:42:29Z", - "disabled_at": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '161' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f765aaecc5e78b9fe8000d1616 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb41nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.493411' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/webhooks/hook_a4b29896b71311eeb89d5393417d9862 - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaecc6e78b9fe9000d1681 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.311332' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"webhook": {"url": "http://example.com"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '42' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/webhooks - response: - body: - string: '{"id": "hook_ea25d514b71311eeb9196b0e07593052", "object": "Webhook", - "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:44:26Z", - "disabled_at": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '161' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f365aaed39e78ba80a000d5b9a - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.138455' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"webhook": {}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '15' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: PATCH - uri: https://api.easypost.com/v2/webhooks/hook_ea25d514b71311eeb9196b0e07593052 - response: - body: - string: '{"id": "hook_ea25d514b71311eeb9196b0e07593052", "object": "Webhook", - "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:44:26Z", - "disabled_at": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '161' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f665aaed39e78ba80b000d5bcf - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.464175' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/webhooks/hook_ea25d514b71311eeb9196b0e07593052 - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaed3ae78ba80c000d5c3e - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb43nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.437495' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"webhook": {"url": "http://example.com"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '42' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/webhooks - response: - body: - string: '{"id": "hook_75c79b3eb71411ee99963b1f58fc4ef5", "object": "Webhook", - "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:48:20Z", - "disabled_at": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '161' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdab65aaee23e78bb08e001152c2 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.181675' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"webhook": {}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '15' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: PATCH - uri: https://api.easypost.com/v2/webhooks/hook_75c79b3eb71411ee99963b1f58fc4ef5 - response: - body: - string: '{"id": "hook_75c79b3eb71411ee99963b1f58fc4ef5", "object": "Webhook", - "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:48:20Z", - "disabled_at": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '161' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda765aaee24e78bb09000115310 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb42nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.552755' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/webhooks/hook_75c79b3eb71411ee99963b1f58fc4ef5 - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdac65aaee25e78bb09100115392 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.310803' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"webhook": {"url": "http://example.com"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '42' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/webhooks - response: - body: - string: '{"id": "hook_ba91b588b71411ee85866f0305b3321a", "object": "Webhook", - "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:50:15Z", - "disabled_at": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '161' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda965aaee97e78bb8c8001194fa - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.200105' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"webhook": {}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '15' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: PATCH - uri: https://api.easypost.com/v2/webhooks/hook_ba91b588b71411ee85866f0305b3321a - response: - body: - string: '{"id": "hook_ba91b588b71411ee85866f0305b3321a", "object": "Webhook", - "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:50:15Z", - "disabled_at": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '161' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fda765aaee97e78bb8c900119537 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb40nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.476420' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/webhooks/hook_ba91b588b71411ee85866f0305b3321a - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - f627fdaa65aaee98e78bb8ca0011959e - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb34nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb1nuq 003ad9bca0 - x-runtime: - - '0.320167' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"webhook": {"url": "http://example.com"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '42' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/webhooks - response: - body: - string: '{"id": "hook_07e1e53cb71611ee943045252c59cb87", "object": "Webhook", - "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:59:34Z", - "disabled_at": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '161' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f465aaf0c6e798c063000f9be8 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb33nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.147380' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"webhook": {}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '15' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: PATCH - uri: https://api.easypost.com/v2/webhooks/hook_07e1e53cb71611ee943045252c59cb87 - response: - body: - string: '{"id": "hook_07e1e53cb71611ee943045252c59cb87", "object": "Webhook", - "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T21:59:34Z", - "disabled_at": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '161' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf0c6e798c064000f9c1b - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb31nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.491829' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/webhooks/hook_07e1e53cb71611ee943045252c59cb87 - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f165aaf0c7e798c065000f9c76 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb36nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.326906' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"webhook": {"url": "http://example.com"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '42' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: POST - uri: https://api.easypost.com/v2/webhooks - response: - body: - string: '{"id": "hook_7086d71eb71611ee93316d857d58f1db", "object": "Webhook", - "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T22:02:30Z", - "disabled_at": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '161' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-canary: - - direct - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf175e798c8de00103b25 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb32nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb2nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.161188' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"webhook": {}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '15' - Content-Type: - - application/json - authorization: - - - user-agent: - - - method: PATCH - uri: https://api.easypost.com/v2/webhooks/hook_7086d71eb71611ee93316d857d58f1db - response: - body: - string: '{"id": "hook_7086d71eb71611ee93316d857d58f1db", "object": "Webhook", - "mode": "test", "url": "http://example.com", "created_at": "2024-01-19T22:02:30Z", - "disabled_at": null}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '161' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f565aaf176e798c8df00103b7d - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.464928' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - authorization: - - - user-agent: - - - method: DELETE - uri: https://api.easypost.com/v2/webhooks/hook_7086d71eb71611ee93316d857d58f1db - response: - body: - string: '{}' - headers: - cache-control: - - private, no-cache, no-store - content-length: - - '2' - content-type: - - application/json; charset=utf-8 - expires: - - '0' - pragma: - - no-cache - referrer-policy: - - strict-origin-when-cross-origin - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-backend: - - easypost - x-content-type-options: - - nosniff - x-download-options: - - noopen - x-ep-request-uuid: - - 479b01f265aaf177e798c8e000103c19 - x-frame-options: - - SAMEORIGIN - x-node: - - bigweb39nuq - x-permitted-cross-domain-policies: - - none - x-proxied: - - intlb1nuq 1a7e326d32 - - extlb2nuq 003ad9bca0 - x-runtime: - - '0.363901' - x-version-label: - - easypost-202401192104-eb5201a879-master - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -version: 1 diff --git a/official/tools/build_doc_json_responses/tests/conftest.py b/official/tools/build_doc_json_responses/tests/conftest.py index 7dcd95b7..aaa1245f 100644 --- a/official/tools/build_doc_json_responses/tests/conftest.py +++ b/official/tools/build_doc_json_responses/tests/conftest.py @@ -101,7 +101,7 @@ def read_fixture_data(): """Reads fixture data from the fixtures JSON file.""" with open( os.path.join( - "..", "examples", "official", "fixtures", "example-snippet-fixtures.json" + "..", "..", "fixtures", "example-snippet-fixtures.json" ) ) as data: fixtures = json.load(data) diff --git a/official/tools/build_doc_json_responses/tests/test_api_keys.py b/official/tools/build_doc_json_responses/tests/test_api_keys.py index 2768c7af..ae0431e9 100644 --- a/official/tools/build_doc_json_responses/tests/test_api_keys.py +++ b/official/tools/build_doc_json_responses/tests/test_api_keys.py @@ -10,7 +10,7 @@ @pytest.mark.vcr() def test_api_keys_retrieve(prod_client): user = prod_client.user.retrieve_me() - prod_client.user.api_keys(id=user.id) + prod_client.api_keys.retrieve_api_keys_for_user(id=user.id) build_response_snippet(interaction_index=1) From 2845b66e6c95080f2ac644fa9dcaf1c26e2c435b Mon Sep 17 00:00:00 2001 From: nwithan8 Date: Tue, 23 Jan 2024 18:05:31 -0700 Subject: [PATCH 5/8] - Lint JSON response snippet tool source code - Fix JSON response snippet tool Makefile - Lint JSON response snippets --- .../addresses-create-and-verify.json | 6 +- .../responses/addresses/addresses-create.json | 6 +- .../responses/addresses/addresses-list.json | 6 +- .../addresses/addresses-retrieve.json | 6 +- .../addresses/addresses-verify-failure.json | 6 +- .../addresses/addresses-verify-param.json | 6 +- .../addresses-verify-strict-param.json | 6 +- .../responses/addresses/addresses-verify.json | 6 +- .../responses/api-keys/api-keys-retrieve.json | 99 +- .../batches/batches-add-shipments.json | 10 +- .../docs/responses/batches/batches-buy.json | 8 +- .../responses/batches/batches-create.json | 6 +- .../docs/responses/batches/batches-label.json | 10 +- .../docs/responses/batches/batches-list.json | 54 +- .../batches/batches-remove-shipments.json | 6 +- .../responses/batches/batches-retrieve.json | 8 +- .../responses/batches/batches-scan-forms.json | 8 +- .../docs/responses/brand/brand-update.json | 4 +- .../carrier-accounts-create.json | 6 +- .../carrier-accounts-list.json | 77 +- .../carrier-accounts-retrieve.json | 6 +- .../carrier-accounts-update.json | 6 +- .../carrier-metadata-retrieve.json | 479 +-- .../child-users/child-users-create.json | 14 +- .../child-users/child-users-list.json | 33 +- .../customs-infos/customs-infos-create.json | 12 +- .../customs-infos/customs-infos-retrieve.json | 12 +- .../customs-items/customs-items-create.json | 6 +- .../customs-items/customs-items-retrieve.json | 6 +- .../responses/endshipper/endshipper-buy.json | 184 +- .../endshipper/endshipper-create.json | 6 +- .../responses/endshipper/endshipper-list.json | 18 +- .../endshipper/endshipper-retrieve.json | 6 +- .../endshipper/endshipper-update.json | 6 +- .../docs/responses/events/events-list.json | 6 +- .../responses/events/events-retrieve.json | 8 +- .../docs/responses/forms/forms-create.json | 202 +- .../responses/insurance/insurance-create.json | 30 +- .../responses/insurance/insurance-list.json | 32 +- .../insurance/insurance-retrieve.json | 30 +- .../options/options-create-with-options.json | 122 +- .../docs/responses/orders/orders-buy.json | 302 +- .../docs/responses/orders/orders-create.json | 291 +- .../responses/orders/orders-one-call-buy.json | 294 +- .../responses/orders/orders-retrieve.json | 208 +- .../pagination/pagination-get-next-page.json | 2633 ++++++++++++++++- .../responses/parcels/parcels-create.json | 6 +- .../responses/parcels/parcels-retrieve.json | 6 +- .../docs/responses/pickups/pickups-buy.json | 26 +- .../responses/pickups/pickups-cancel.json | 26 +- .../responses/pickups/pickups-create.json | 24 +- .../docs/responses/pickups/pickups-list.json | 26 +- .../responses/pickups/pickups-retrieve.json | 24 +- .../responses/rates/rates-regenerate.json | 98 +- .../rates/rates-retrieve-stateless.json | 97 +- .../docs/responses/rates/rates-retrieve.json | 22 +- .../referral-customers-create.json | 14 +- .../referral-customers-list.json | 1 + .../responses/refunds/refunds-create.json | 10 +- .../docs/responses/refunds/refunds-list.json | 10 +- .../responses/refunds/refunds-retrieve.json | 10 +- .../responses/reports/reports-create.json | 6 +- .../docs/responses/reports/reports-list.json | 6 +- .../responses/reports/reports-retrieve.json | 6 +- .../responses/returns/returns-create.json | 518 +--- .../responses/scan-form/scan-form-create.json | 18 +- .../responses/scan-form/scan-form-list.json | 18 +- .../scan-form/scan-form-retrieve.json | 18 +- .../responses/shipments/shipments-buy.json | 192 +- .../responses/shipments/shipments-create.json | 146 +- .../responses/shipments/shipments-label.json | 198 +- .../responses/shipments/shipments-list.json | 190 +- .../shipments/shipments-one-call-buy.json | 164 +- .../shipments/shipments-retrieve.json | 146 +- .../shipping-insurance-insure.json | 196 +- .../shipping-refund-refund.json | 313 +- ...rate-retrieve-estimated-delivery-date.json | 180 +- ...e-retrieve-time-in-transit-statistics.json | 360 +-- .../tax-identifiers-create.json | 122 +- .../responses/trackers/trackers-create.json | 14 +- .../responses/trackers/trackers-list.json | 18 +- .../responses/trackers/trackers-retrieve.json | 18 +- .../docs/responses/users/users-retrieve.json | 64 +- .../docs/responses/users/users-update.json | 64 +- .../responses/webhooks/webhooks-create.json | 4 +- .../responses/webhooks/webhooks-list.json | 4 +- .../responses/webhooks/webhooks-retrieve.json | 4 +- .../responses/webhooks/webhooks-update.json | 4 +- .../tools/build_doc_json_responses/Makefile | 35 +- .../tools/build_doc_json_responses/README.md | 6 + .../builder/snippets.py | 46 +- .../tests/conftest.py | 12 +- .../tests/test_address.py | 1 - .../tests/test_batch.py | 1 - .../tests/test_billing.py | 13 +- .../tests/test_brand.py | 1 - .../tests/test_carrier_account.py | 1 - .../tests/test_carrier_metadata.py | 1 - .../tests/test_carrier_types.py | 1 - .../tests/test_customs_info.py | 1 - .../tests/test_customs_item.py | 1 - .../tests/test_end_shipper.py | 25 +- .../tests/test_event.py | 5 +- .../tests/test_form.py | 1 - .../tests/test_insurance.py | 1 - .../tests/test_options.py | 1 - .../tests/test_order.py | 1 - .../tests/test_pagination.py | 3 +- .../tests/test_parcel.py | 1 - .../tests/test_payload.py | 31 +- .../tests/test_rate.py | 1 - .../tests/test_referral_customer.py | 4 +- .../tests/test_refund.py | 1 - .../tests/test_report.py | 1 - .../tests/test_returns.py | 1 - .../tests/test_scan_form.py | 1 - .../tests/test_shipment.py | 1 - .../tests/test_shipping_insurance.py | 1 - .../tests/test_shipping_refund.py | 15 +- .../tests/test_tax_identifiers.py | 1 - .../tests/test_tracker.py | 1 - .../tests/test_user.py | 1 - .../tests/test_webhook.py | 12 +- 123 files changed, 5106 insertions(+), 3811 deletions(-) diff --git a/official/docs/responses/addresses/addresses-create-and-verify.json b/official/docs/responses/addresses/addresses-create-and-verify.json index 2b993b71..1af68c2e 100644 --- a/official/docs/responses/addresses/addresses-create-and-verify.json +++ b/official/docs/responses/addresses/addresses-create-and-verify.json @@ -1,9 +1,9 @@ { "address": { - "id": "adr_3d733da6b71311ee835b3cecef1b359e", + "id": "adr_0afc56d0ba4c11ee9036ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T21:39:35+00:00", - "updated_at": "2024-01-19T21:39:35+00:00", + "created_at": "2024-01-24T00:03:45+00:00", + "updated_at": "2024-01-24T00:03:45+00:00", "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", diff --git a/official/docs/responses/addresses/addresses-create.json b/official/docs/responses/addresses/addresses-create.json index 2e483286..72f7bb46 100644 --- a/official/docs/responses/addresses/addresses-create.json +++ b/official/docs/responses/addresses/addresses-create.json @@ -1,8 +1,8 @@ { - "id": "adr_3d3815d8b71311ee83453cecef1b359e", + "id": "adr_0a997f6aba4c11eeb63bac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:39:35+00:00", - "updated_at": "2024-01-19T21:39:35+00:00", + "created_at": "2024-01-24T00:03:45+00:00", + "updated_at": "2024-01-24T00:03:45+00:00", "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", diff --git a/official/docs/responses/addresses/addresses-list.json b/official/docs/responses/addresses/addresses-list.json index 92de84c7..3b8a7942 100644 --- a/official/docs/responses/addresses/addresses-list.json +++ b/official/docs/responses/addresses/addresses-list.json @@ -1,10 +1,10 @@ { "addresses": [ { - "id": "adr_3e80b02eb71311ee83bf3cecef1b359e", + "id": "adr_0c286dcbba4c11eea460ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:39:37+00:00", - "updated_at": "2024-01-19T21:39:37+00:00", + "created_at": "2024-01-24T00:03:47+00:00", + "updated_at": "2024-01-24T00:03:47+00:00", "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", diff --git a/official/docs/responses/addresses/addresses-retrieve.json b/official/docs/responses/addresses/addresses-retrieve.json index e178c0ba..bae17e38 100644 --- a/official/docs/responses/addresses/addresses-retrieve.json +++ b/official/docs/responses/addresses/addresses-retrieve.json @@ -1,8 +1,8 @@ { - "id": "adr_3e80b02eb71311ee83bf3cecef1b359e", + "id": "adr_0c286dcbba4c11eea460ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:39:37+00:00", - "updated_at": "2024-01-19T21:39:37+00:00", + "created_at": "2024-01-24T00:03:47+00:00", + "updated_at": "2024-01-24T00:03:47+00:00", "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", diff --git a/official/docs/responses/addresses/addresses-verify-failure.json b/official/docs/responses/addresses/addresses-verify-failure.json index e50f8458..271fcdb2 100644 --- a/official/docs/responses/addresses/addresses-verify-failure.json +++ b/official/docs/responses/addresses/addresses-verify-failure.json @@ -1,8 +1,8 @@ { - "id": "adr_3e55b5d3b71311ee83a83cecef1b359e", + "id": "adr_0bfc91b4ba4c11ee80c73cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:39:37+00:00", - "updated_at": "2024-01-19T21:39:37+00:00", + "created_at": "2024-01-24T00:03:47+00:00", + "updated_at": "2024-01-24T00:03:47+00:00", "name": null, "company": "EasyPost", "street1": "UNDELIVERABLE ST", diff --git a/official/docs/responses/addresses/addresses-verify-param.json b/official/docs/responses/addresses/addresses-verify-param.json index ef07e4c0..24669759 100644 --- a/official/docs/responses/addresses/addresses-verify-param.json +++ b/official/docs/responses/addresses/addresses-verify-param.json @@ -1,8 +1,8 @@ { - "id": "adr_3d9fe04cb71311ee86a0ac1f6bc539ae", + "id": "adr_0b28f550ba4c11eea409ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:39:36+00:00", - "updated_at": "2024-01-19T21:39:36+00:00", + "created_at": "2024-01-24T00:03:46+00:00", + "updated_at": "2024-01-24T00:03:46+00:00", "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", diff --git a/official/docs/responses/addresses/addresses-verify-strict-param.json b/official/docs/responses/addresses/addresses-verify-strict-param.json index ea16bdd0..713219c4 100644 --- a/official/docs/responses/addresses/addresses-verify-strict-param.json +++ b/official/docs/responses/addresses/addresses-verify-strict-param.json @@ -1,8 +1,8 @@ { - "id": "adr_3dcd27a7b71311ee837b3cecef1b359e", + "id": "adr_0b5772d2ba4c11ee9064ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T21:39:36+00:00", - "updated_at": "2024-01-19T21:39:36+00:00", + "created_at": "2024-01-24T00:03:46+00:00", + "updated_at": "2024-01-24T00:03:46+00:00", "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", diff --git a/official/docs/responses/addresses/addresses-verify.json b/official/docs/responses/addresses/addresses-verify.json index 6367e8fb..95fbb45d 100644 --- a/official/docs/responses/addresses/addresses-verify.json +++ b/official/docs/responses/addresses/addresses-verify.json @@ -1,9 +1,9 @@ { "address": { - "id": "adr_3e282aa2b71311ee83973cecef1b359e", + "id": "adr_0bcd3987ba4c11ee80bf3cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:39:37+00:00", - "updated_at": "2024-01-19T21:39:37+00:00", + "created_at": "2024-01-24T00:03:47+00:00", + "updated_at": "2024-01-24T00:03:47+00:00", "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", diff --git a/official/docs/responses/api-keys/api-keys-retrieve.json b/official/docs/responses/api-keys/api-keys-retrieve.json index 54e7e74f..8fb83ed3 100644 --- a/official/docs/responses/api-keys/api-keys-retrieve.json +++ b/official/docs/responses/api-keys/api-keys-retrieve.json @@ -1,71 +1,44 @@ { - "id": "user_54356a6b96c940d8913961a3c7b909f2", - "object": "User", - "parent_id": null, - "name": "New Name", - "phone_number": "5555555555", - "verified": true, - "created_at": "2017-03-01T03:01:34Z", - "default_carbon_offset": false, - "has_elevate_access": false, - "balance": "0.00000", - "price_per_shipment": "0.00000", - "recharge_amount": "100.00", - "secondary_recharge_amount": "100.00", - "recharge_threshold": "0.00", - "has_billing_method": false, - "cc_fee_rate": "0.03", - "default_insurance_amount": null, - "insurance_fee_rate": "0.01", - "insurance_fee_minimum": "1.00", - "email": "dev+easypost-python@easypost.com", - "children": [ + "id": "user_060ab38db3c04ffaa60f262e5781a9be", + "keys": [ { - "id": "user_584be78af2f141e988b6c60dda9dd8fd", - "object": "User", - "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", - "name": "Test User2", - "phone_number": "8005550100", - "verified": true, - "created_at": "2023-12-11T17:13:38Z", - "default_carbon_offset": false, - "has_elevate_access": false, - "children": [] - }, - { - "id": "user_437e724f37de412db6df8821968d8d3c", - "object": "User", - "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", - "name": "Test User2", - "phone_number": "8005550100", - "verified": true, - "created_at": "2023-12-11T17:13:43Z", - "default_carbon_offset": false, - "has_elevate_access": false, - "children": [] + "object": "ApiKey", + "active": true, + "key": "", + "mode": "test", + "created_at": "2022-10-14T17:23:58Z", + "id": "ak_eb495dfd453647749dc6471290b33685" }, { - "id": "user_2553102e90de43dea0b9fa7f8c8d7e33", - "object": "User", - "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", - "name": "Child Account Name22", - "phone_number": "8005550100", - "verified": true, - "created_at": "2024-01-04T19:56:21Z", - "default_carbon_offset": false, - "has_elevate_access": false, - "children": [] - }, + "object": "ApiKey", + "active": true, + "key": "", + "mode": "production", + "created_at": "2022-10-14T17:23:58Z", + "id": "ak_6f4eae3909464f3f807b3af2a687c85b" + } + ], + "children": [ { - "id": "user_31754439d4524fbb8867d138de537e12", - "object": "User", - "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", - "name": "Test User", - "phone_number": "8005550100", - "verified": true, - "created_at": "2024-01-19T21:42:21Z", - "default_carbon_offset": false, - "has_elevate_access": false, + "id": "user_0ae8cb7000a1438c8598fa5786fdae84", + "keys": [ + { + "object": "ApiKey", + "active": true, + "key": "", + "mode": "test", + "created_at": "2022-10-17T17:28:30Z", + "id": "ak_3b56830ab851496f946c368cb001c3f4" + }, + { + "object": "ApiKey", + "active": true, + "key": "", + "mode": "production", + "created_at": "2022-10-17T17:28:30Z", + "id": "ak_e5020ebb06b84733891c0e0e5ce25b27" + } + ], "children": [] } ] diff --git a/official/docs/responses/batches/batches-add-shipments.json b/official/docs/responses/batches/batches-add-shipments.json index 39d6231d..c863da52 100644 --- a/official/docs/responses/batches/batches-add-shipments.json +++ b/official/docs/responses/batches/batches-add-shipments.json @@ -1,20 +1,20 @@ { - "id": "batch_64a58d60294943d8ae88db0b5094a907", + "id": "batch_848345b6ef6c4297a489fd34af7e1514", "object": "Batch", "mode": "test", "state": "created", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T21:40:13Z", - "updated_at": "2024-01-19T21:40:13Z", + "created_at": "2024-01-24T00:04:53Z", + "updated_at": "2024-01-24T00:04:53Z", "scan_form": null, "shipments": [ { "batch_status": "postage_purchased", "batch_message": null, "reference": null, - "tracking_code": "9405500207552010707504", - "id": "shp_8f16c7d5967b4682ad8596a1475d023d" + "tracking_code": "9405500207552011812467", + "id": "shp_406a7ca4c34c47739093acf06ffbc4b6" } ], "status": { diff --git a/official/docs/responses/batches/batches-buy.json b/official/docs/responses/batches/batches-buy.json index da775735..5d24e100 100644 --- a/official/docs/responses/batches/batches-buy.json +++ b/official/docs/responses/batches/batches-buy.json @@ -1,12 +1,12 @@ { - "id": "batch_d6251841e1fc4e29979b04f074d03bf4", + "id": "batch_26bd321f6ba947be94a9928f7167a968", "object": "Batch", "mode": "test", "state": "created", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T21:39:40Z", - "updated_at": "2024-01-19T21:39:40Z", + "created_at": "2024-01-24T00:03:50Z", + "updated_at": "2024-01-24T00:03:50Z", "scan_form": null, "shipments": [ { @@ -14,7 +14,7 @@ "batch_message": null, "reference": null, "tracking_code": null, - "id": "shp_a90b4c2282e54465817f806f5ecf3943" + "id": "shp_52b29348cf76420c8b353ab3a022a4ba" } ], "status": { diff --git a/official/docs/responses/batches/batches-create.json b/official/docs/responses/batches/batches-create.json index 8b745748..1008c299 100644 --- a/official/docs/responses/batches/batches-create.json +++ b/official/docs/responses/batches/batches-create.json @@ -1,12 +1,12 @@ { - "id": "batch_ab8e9b4b2f10414085045a1e281e5dc9", + "id": "batch_94b0f73e5d3344158b588f1cac2d083c", "object": "Batch", "mode": "test", "state": "creating", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T21:39:38Z", - "updated_at": "2024-01-19T21:39:38Z", + "created_at": "2024-01-24T00:03:49Z", + "updated_at": "2024-01-24T00:03:49Z", "scan_form": null, "shipments": [], "status": { diff --git a/official/docs/responses/batches/batches-label.json b/official/docs/responses/batches/batches-label.json index 2b0b53d3..151c69c1 100644 --- a/official/docs/responses/batches/batches-label.json +++ b/official/docs/responses/batches/batches-label.json @@ -1,20 +1,20 @@ { - "id": "batch_df05f9391272462cbd5b0e53e0bcb7e0", + "id": "batch_5e5323be0f8444e4b9e100a76afbc921", "object": "Batch", "mode": "test", "state": "label_generating", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T22:04:08Z", - "updated_at": "2024-01-19T22:04:49Z", + "created_at": "2024-01-24T00:04:56Z", + "updated_at": "2024-01-24T00:05:36Z", "scan_form": null, "shipments": [ { "batch_status": "postage_purchased", "batch_message": null, "reference": null, - "tracking_code": "9405500207552010712409", - "id": "shp_140c001c845348caa3f62fe3c0fa15d0" + "tracking_code": "9405500207552011812511", + "id": "shp_b9419ff95a034151826c7cad52556628" } ], "status": { diff --git a/official/docs/responses/batches/batches-list.json b/official/docs/responses/batches/batches-list.json index 3dc90a81..318820d0 100644 --- a/official/docs/responses/batches/batches-list.json +++ b/official/docs/responses/batches/batches-list.json @@ -1,63 +1,29 @@ { "batches": [ { - "id": "batch_4fb2f60e22434ef8b2ed8cfcc379d73b", + "id": "batch_927adae9626b4c149d05e34a6d8261bd", "object": "Batch", "mode": "test", - "state": "creating", + "state": "created", "num_shipments": 1, "reference": null, - "created_at": "2022-10-14T17:34:06Z", - "updated_at": "2022-10-14T17:34:06Z", - "scan_form": { - "id": "sf_fc749ecbd16d46b3afce41f9b3602c69", - "object": "ScanForm", - "created_at": "2022-10-14T17:34:06Z", - "updated_at": "2022-10-14T17:34:06Z", - "tracking_codes": ["9405500109361143125654"], - "address": { - "id": "adr_664e99c54be611edb88dac1f6bc72124", - "object": "Address", - "created_at": "2022-10-14T17:34:04+00:00", - "updated_at": "2022-10-14T17:34:04+00:00", - "name": "EasyPost", - "company": null, - "street1": "417 Montgomery Street", - "street2": "5th Floor", - "city": "San Francisco", - "state": "CA", - "zip": "94104", - "country": "US", - "phone": "4153334445", - "email": "support@easypost.com", - "mode": "test", - "carrier_facility": null, - "residential": null, - "federal_tax_id": null, - "state_tax_id": null, - "verifications": {} - }, - "status": "created", - "message": null, - "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20221014/c438535effd84f4889b74c5f977a2201.pdf", - "form_file_type": null, - "batch_id": "batch_4fb2f60e22434ef8b2ed8cfcc379d73b", - "confirmation": null - }, + "created_at": "2024-01-23T23:54:59Z", + "updated_at": "2024-01-23T23:55:00Z", + "scan_form": null, "shipments": [ { - "batch_status": "postage_purchased", + "batch_status": "created", "batch_message": null, "reference": null, - "tracking_code": "9405500109361143125654", - "id": "shp_29fc0f711e4b4bd9ac08073c62235ed5" + "tracking_code": null, + "id": "shp_8e2cb3a6881d43f39a0bd0eb9391ecbd" } ], "status": { - "created": 0, + "created": 1, "queued_for_purchase": 0, "creation_failed": 0, - "postage_purchased": 1, + "postage_purchased": 0, "postage_purchase_failed": 0 }, "pickup": null, diff --git a/official/docs/responses/batches/batches-remove-shipments.json b/official/docs/responses/batches/batches-remove-shipments.json index 80f7e29d..a2248a48 100644 --- a/official/docs/responses/batches/batches-remove-shipments.json +++ b/official/docs/responses/batches/batches-remove-shipments.json @@ -1,12 +1,12 @@ { - "id": "batch_254386e6b4314b419bcb0486ca65fc80", + "id": "batch_f25fcb6de1254de1b3e0a3f770333292", "object": "Batch", "mode": "test", "state": "purchased", "num_shipments": 0, "reference": null, - "created_at": "2024-01-19T21:40:15Z", - "updated_at": "2024-01-19T21:40:15Z", + "created_at": "2024-01-24T00:04:55Z", + "updated_at": "2024-01-24T00:04:55Z", "scan_form": null, "shipments": [], "status": { diff --git a/official/docs/responses/batches/batches-retrieve.json b/official/docs/responses/batches/batches-retrieve.json index a8a7e03b..8bffef43 100644 --- a/official/docs/responses/batches/batches-retrieve.json +++ b/official/docs/responses/batches/batches-retrieve.json @@ -1,12 +1,12 @@ { - "id": "batch_4340577b57e24854a21b76acdc69d878", + "id": "batch_05e9063986b94870818a3cc6d20df714", "object": "Batch", "mode": "test", "state": "created", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T21:39:39Z", - "updated_at": "2024-01-19T21:39:39Z", + "created_at": "2024-01-24T00:03:49Z", + "updated_at": "2024-01-24T00:03:49Z", "scan_form": null, "shipments": [ { @@ -14,7 +14,7 @@ "batch_message": null, "reference": null, "tracking_code": null, - "id": "shp_8bee0a902ee34778aa75fb988e46fe1b" + "id": "shp_ce0a0cf1612b4e19b67bc27613ec7c8e" } ], "status": { diff --git a/official/docs/responses/batches/batches-scan-forms.json b/official/docs/responses/batches/batches-scan-forms.json index e05eb74f..a266cada 100644 --- a/official/docs/responses/batches/batches-scan-forms.json +++ b/official/docs/responses/batches/batches-scan-forms.json @@ -1,12 +1,12 @@ { - "id": "batch_6165570832d34965bfe4f0f224fef421", + "id": "batch_956120999a5d4ec6b3016476029b1ffa", "object": "Batch", "mode": "test", "state": "created", "num_shipments": 1, "reference": null, - "created_at": "2024-01-19T22:03:22Z", - "updated_at": "2024-01-19T22:03:23Z", + "created_at": "2024-01-24T00:04:10Z", + "updated_at": "2024-01-24T00:04:11Z", "scan_form": null, "shipments": [ { @@ -14,7 +14,7 @@ "batch_message": null, "reference": null, "tracking_code": null, - "id": "shp_790b9989bd7e478c81d57b9013431bbc" + "id": "shp_a8c6628dd39941a29093dabdea391766" } ], "status": { diff --git a/official/docs/responses/brand/brand-update.json b/official/docs/responses/brand/brand-update.json index e27b33a4..8f9cf3c5 100644 --- a/official/docs/responses/brand/brand-update.json +++ b/official/docs/responses/brand/brand-update.json @@ -1,5 +1,5 @@ { - "id": "brd_79967d34dc894866850bc8342c84dc41", + "id": "brd_aa3f5a1043ca46cf8e2e9b879c9a5895", "color": "#123456", "logo": "https://assets.easypost.com/assets/images/branding/easypost-primary-logo.7324aa54b64b34d6cd70ca5ba4d1842d.svg", "logo_href": "https://www.easypost.com", @@ -7,7 +7,7 @@ "ad": null, "ad_href": null, "object": "Brand", - "user_id": "user_54356a6b96c940d8913961a3c7b909f2", + "user_id": "user_060ab38db3c04ffaa60f262e5781a9be", "background_color": "#123456", "theme": "theme1" } diff --git a/official/docs/responses/carrier-accounts/carrier-accounts-create.json b/official/docs/responses/carrier-accounts/carrier-accounts-create.json index 5224ae6a..afa6a195 100644 --- a/official/docs/responses/carrier-accounts/carrier-accounts-create.json +++ b/official/docs/responses/carrier-accounts/carrier-accounts-create.json @@ -1,10 +1,10 @@ { - "id": "ca_65b36650ca424c4192f3042b7c5f5df6", + "id": "ca_f64a75cee8ed4c83a7625c1d00cf8f0b", "object": "CarrierAccount", "type": "DhlEcsAccount", "clone": false, - "created_at": "2024-01-19T21:40:38Z", - "updated_at": "2024-01-19T21:40:38Z", + "created_at": "2024-01-24T00:05:37Z", + "updated_at": "2024-01-24T00:05:37Z", "description": "CA Location DHL eCommerce Solutions Account", "reference": null, "billing_type": "carrier", diff --git a/official/docs/responses/carrier-accounts/carrier-accounts-list.json b/official/docs/responses/carrier-accounts/carrier-accounts-list.json index ed757ff8..bd377d1f 100644 --- a/official/docs/responses/carrier-accounts/carrier-accounts-list.json +++ b/official/docs/responses/carrier-accounts/carrier-accounts-list.json @@ -1,11 +1,11 @@ [ { - "id": "ca_b25657e9896e4d63ac8151ac346ac41e", + "id": "ca_9685a1198a75477885a3cdca37559bac", "object": "CarrierAccount", "type": "UspsAccount", "clone": false, - "created_at": "2017-03-01T03:01:34Z", - "updated_at": "2018-08-09T02:45:22Z", + "created_at": "2022-10-14T17:23:58Z", + "updated_at": "2022-10-14T17:34:05Z", "description": "USPS Account", "reference": null, "billing_type": "easypost", @@ -66,76 +66,5 @@ "shipper_id": "" }, "test_credentials": null - }, - { - "id": "ca_c7b4cfaf671b4984b84023d77561394a", - "object": "CarrierAccount", - "type": "DhlEcsAccount", - "clone": false, - "created_at": "2023-05-12T21:18:18Z", - "updated_at": "2023-05-12T21:18:18Z", - "description": "DHL eCommerce Solutions Account", - "reference": null, - "billing_type": "carrier", - "readable": "DHL eCommerce Solutions", - "logo": null, - "fields": { - "credentials": { - "client_id": { - "visibility": "visible", - "label": "DHL eCommerce Solutions client ID", - "value": "123456" - }, - "client_secret": { - "visibility": "password", - "label": "DHL eCommerce Solutions client secret", - "value": "********" - }, - "pickup_id": { - "visibility": "visible", - "label": "DHL eCommerce Solutions pickup ID", - "value": "123456" - }, - "distribution_center": { - "visibility": "visible", - "label": "DHL eCommerce Solutions distribution center", - "value": "USLAX1" - } - }, - "test_credentials": { - "client_id": { - "visibility": "visible", - "label": "Test DHL eCommerce Solutions client ID", - "value": "123456" - }, - "client_secret": { - "visibility": "password", - "label": "Test DHL eCommerce Solutions client secret", - "value": "********" - }, - "pickup_id": { - "visibility": "visible", - "label": "Test DHL eCommerce Solutions pickup ID", - "value": "123456" - }, - "distribution_center": { - "visibility": "visible", - "label": "Test DHL eCommerce Solutions distribution center", - "value": "USLAX1" - } - } - }, - "credentials": { - "client_id": "123456", - "client_secret": "********", - "pickup_id": "123456", - "distribution_center": "USLAX1" - }, - "test_credentials": { - "client_id": "123456", - "client_secret": "********", - "pickup_id": "123456", - "distribution_center": "USLAX1" - } } ] diff --git a/official/docs/responses/carrier-accounts/carrier-accounts-retrieve.json b/official/docs/responses/carrier-accounts/carrier-accounts-retrieve.json index 7c186ad6..6971ea95 100644 --- a/official/docs/responses/carrier-accounts/carrier-accounts-retrieve.json +++ b/official/docs/responses/carrier-accounts/carrier-accounts-retrieve.json @@ -1,10 +1,10 @@ { - "id": "ca_4bced7adc4364f35b177e9de0b953c6f", + "id": "ca_13e1617aec534a8bb7b5daee3d0e471c", "object": "CarrierAccount", "type": "DhlEcsAccount", "clone": false, - "created_at": "2024-01-19T21:40:39Z", - "updated_at": "2024-01-19T21:40:39Z", + "created_at": "2024-01-24T00:05:38Z", + "updated_at": "2024-01-24T00:05:38Z", "description": "CA Location DHL eCommerce Solutions Account", "reference": null, "billing_type": "carrier", diff --git a/official/docs/responses/carrier-accounts/carrier-accounts-update.json b/official/docs/responses/carrier-accounts/carrier-accounts-update.json index abe885aa..7f3cc0b6 100644 --- a/official/docs/responses/carrier-accounts/carrier-accounts-update.json +++ b/official/docs/responses/carrier-accounts/carrier-accounts-update.json @@ -1,10 +1,10 @@ { - "id": "ca_49661b5fd3e441b48514efaeb722c886", + "id": "ca_1f69b4afc44a480a8728e19381cb9b0f", "object": "CarrierAccount", "type": "DhlEcsAccount", "clone": false, - "created_at": "2024-01-19T21:40:40Z", - "updated_at": "2024-01-19T21:40:41Z", + "created_at": "2024-01-24T00:05:40Z", + "updated_at": "2024-01-24T00:05:40Z", "description": "My custom description", "reference": null, "billing_type": "carrier", diff --git a/official/docs/responses/carrier-metadata/carrier-metadata-retrieve.json b/official/docs/responses/carrier-metadata/carrier-metadata-retrieve.json index 56dcba8d..35cbf403 100644 --- a/official/docs/responses/carrier-metadata/carrier-metadata-retrieve.json +++ b/official/docs/responses/carrier-metadata/carrier-metadata-retrieve.json @@ -1,502 +1,257 @@ { "carriers": [ { - "human_readable": "Royal Mail", - "name": "royalmail", + "human_readable": "USPS", + "name": "usps", "predefined_packages": [ { - "carrier": "royalmail", + "carrier": "usps", "description": null, - "dimensions": [], + "dimensions": ["6in x 4.5in x 0.016in"], "human_readable": null, "max_weight": null, - "name": "LARGELETTER" + "name": "Card" }, { - "carrier": "royalmail", + "carrier": "usps", "description": null, - "dimensions": [], + "dimensions": ["11.5in x 6.125in x 0.25in"], "human_readable": null, "max_weight": null, - "name": "SMALLPARCEL" + "name": "Letter" }, { - "carrier": "royalmail", - "description": null, - "dimensions": [], - "human_readable": null, - "max_weight": null, - "name": "MEDIUMPARCEL" - }, - { - "carrier": "royalmail", - "description": null, - "dimensions": [], - "human_readable": null, - "max_weight": null, - "name": "LETTER" - }, - { - "carrier": "royalmail", - "description": null, - "dimensions": [], - "human_readable": null, - "max_weight": null, - "name": "PRINTEDPAPER" - } - ], - "service_levels": [ - { - "carrier": "royalmail", + "carrier": "usps", "description": null, - "dimensions": [], + "dimensions": ["11.5in x 6.125in x 0.75in"], "human_readable": null, "max_weight": null, - "name": "InternationalPriority" + "name": "Flat" }, { - "carrier": "royalmail", + "carrier": "usps", "description": null, - "dimensions": [], + "dimensions": ["12.5in x 9.5in"], "human_readable": null, "max_weight": null, - "name": "InternationalEconomy" + "name": "FlatRateEnvelope" }, { - "carrier": "royalmail", + "carrier": "usps", "description": null, - "dimensions": [], + "dimensions": ["15in x 9.5in"], "human_readable": null, "max_weight": null, - "name": "InternationalStandard" + "name": "FlatRateLegalEnvelope" }, { - "carrier": "royalmail", + "carrier": "usps", "description": null, - "dimensions": [], + "dimensions": ["12.5in x 9.5in"], "human_readable": null, "max_weight": null, - "name": "InternationalTrackedAndSigned" + "name": "FlatRatePaddedEnvelope" }, { - "carrier": "royalmail", + "carrier": "usps", "description": null, - "dimensions": [], + "dimensions": ["10in x 5in", "12.5in x 9.5in"], "human_readable": null, "max_weight": null, - "name": "InternationalTracked" + "name": "FlatRateWindowEnvelope" }, { - "carrier": "royalmail", + "carrier": "usps", "description": null, - "dimensions": [], + "dimensions": ["12.5in x 9.5in"], "human_readable": null, "max_weight": null, - "name": "InternationalSigned" + "name": "FlatRateCardboardEnvelope" }, { - "carrier": "royalmail", + "carrier": "usps", "description": null, - "dimensions": [], + "dimensions": ["10in x 6in"], "human_readable": null, "max_weight": null, - "name": "AccountMail" + "name": "SmallFlatRateEnvelope" }, { - "carrier": "royalmail", + "carrier": "usps", "description": null, - "dimensions": [], + "dimensions": ["Varies based on service level"], "human_readable": null, "max_weight": null, - "name": "RoyalMailUnsigned" + "name": "Parcel" }, { - "carrier": "royalmail", + "carrier": "usps", "description": null, - "dimensions": [], + "dimensions": ["Varies based on service level"], "human_readable": null, - "max_weight": null, - "name": "RoyalMail" + "max_weight": 320.0, + "name": "SoftPack" }, { - "carrier": "royalmail", + "carrier": "usps", "description": null, - "dimensions": [], + "dimensions": ["8.6875in x 5.4375in x 1.75in"], "human_readable": null, "max_weight": null, - "name": "SpecialDeliveryGuaranteed" + "name": "SmallFlatRateBox" }, { - "carrier": "royalmail", + "carrier": "usps", "description": null, - "dimensions": [], + "dimensions": ["11.25in x 8.75in x 6in", "14.125in x 12in x 3.5in"], "human_readable": null, "max_weight": null, - "name": "SpecialDeliveryGuaranteed1pm" + "name": "MediumFlatRateBox" }, { - "carrier": "royalmail", + "carrier": "usps", "description": null, - "dimensions": [], + "dimensions": ["12.25in x 12in x 6in"], "human_readable": null, "max_weight": null, - "name": "SpecialDeliveryGuaranteed9am" + "name": "LargeFlatRateBox" }, { - "carrier": "royalmail", + "carrier": "usps", "description": null, - "dimensions": [], + "dimensions": ["12.25in x 12.25in x 6in"], "human_readable": null, "max_weight": null, - "name": "StandardLetter" + "name": "LargeFlatRateBoxAPOFPO" }, { - "carrier": "royalmail", + "carrier": "usps", "description": null, "dimensions": [], "human_readable": null, "max_weight": null, - "name": "Tracked24" + "name": "FlatTubTrayBox" }, { - "carrier": "royalmail", + "carrier": "usps", "description": null, "dimensions": [], "human_readable": null, "max_weight": null, - "name": "Tracked24HighVolume" + "name": "EMMTrayBox" }, { - "carrier": "royalmail", + "carrier": "usps", "description": null, "dimensions": [], "human_readable": null, "max_weight": null, - "name": "Tracked24HighVolumeSignature" + "name": "FullTrayBox" }, { - "carrier": "royalmail", + "carrier": "usps", "description": null, "dimensions": [], "human_readable": null, "max_weight": null, - "name": "Tracked24LBT" + "name": "HalfTrayBox" }, { - "carrier": "royalmail", + "carrier": "usps", "description": null, "dimensions": [], "human_readable": null, "max_weight": null, - "name": "Tracked24SignatureLBT" - }, + "name": "PMODSack" + } + ], + "service_levels": [ { - "carrier": "royalmail", - "description": null, - "dimensions": [], + "carrier": "usps", + "description": "1-5 business days", + "dimensions": [ + "Cards, Letters and Flats only (no Parcels)", + "See Predefined Packages (Card, Letter, Flat) for details" + ], "human_readable": null, - "max_weight": null, - "name": "Tracked48LBT" + "max_weight": 13.0, + "name": "First" }, { - "carrier": "royalmail", - "description": null, - "dimensions": [], + "carrier": "usps", + "description": "1-3 business days", + "dimensions": ["Combined Length and Girth < 108in"], "human_readable": null, - "max_weight": null, - "name": "Tracked48SignatureLBT" + "max_weight": 1120.0, + "name": "Priority" }, { - "carrier": "royalmail", - "description": null, - "dimensions": [], + "carrier": "usps", + "description": "1-2 days", + "dimensions": ["Combined Length and Girth < 108in"], "human_readable": null, - "max_weight": null, - "name": "Tracked24Signature" + "max_weight": 1120.0, + "name": "Express" }, { - "carrier": "royalmail", - "description": null, - "dimensions": [], + "carrier": "usps", + "description": "2-5 days", + "dimensions": ["Combined Length and Girth < 130in"], "human_readable": null, - "max_weight": null, - "name": "Tracked48" + "max_weight": 70.0, + "name": "GroundAdvantage" }, { - "carrier": "royalmail", - "description": null, - "dimensions": [], + "carrier": "usps", + "description": "2-8 business days", + "dimensions": ["Combined Length and Girth < 108in"], "human_readable": null, - "max_weight": null, - "name": "Tracked48HighVolume" + "max_weight": 1120.0, + "name": "LibraryMail" }, { - "carrier": "royalmail", - "description": null, - "dimensions": [], + "carrier": "usps", + "description": "2-8 business days", + "dimensions": ["Combined Length and Girth < 108in"], "human_readable": null, - "max_weight": null, - "name": "Tracked48HighVolumeSignature" + "max_weight": 1120.0, + "name": "MediaMail" }, { - "carrier": "royalmail", + "carrier": "usps", "description": null, - "dimensions": [], + "dimensions": ["Must be rectangular, otherwise an additional charge may apply."], "human_readable": null, - "max_weight": null, - "name": "Tracked48Signature" + "max_weight": 15.994, + "name": "FirstClassMailInternational" }, { - "carrier": "royalmail", - "description": null, - "dimensions": [], + "carrier": "usps", + "description": "7-21 days", + "dimensions": [ + "Packages (Other Than Rolls): Combined Length and Girth < 108in", + "Rolls (Tubes): Length: min 4in; max 36 in. Length plus twice the diameter (combined): min 6.75 in; max 42in.", + "Some countries have specific prohibitions and restrictions" + ], "human_readable": null, - "max_weight": null, - "name": "TrackedReturns24" + "max_weight": 64.0, + "name": "FirstClassPackageInternationalService" }, { - "carrier": "royalmail", - "description": null, - "dimensions": [], + "carrier": "usps", + "description": "6-10 business days", + "dimensions": ["Combined Length and Girth < 108in"], "human_readable": null, - "max_weight": null, - "name": "TrackedReturns48" + "max_weight": 1120.0, + "name": "PriorityMailInternational" }, { - "carrier": "royalmail", - "description": null, - "dimensions": [], + "carrier": "usps", + "description": "3-5 business days", + "dimensions": ["Combined Length and Girth < 108in"], "human_readable": null, - "max_weight": null, - "name": "CrossBorderImportTracked48HighVolume" - } - ], - "shipment_options": [ - { - "carrier": "royalmail", - "deprecated": false, - "description": null, - "human_readable": "Carrier Insurance Amount", - "name": "carrier_insurance_amount", - "type": "float" - }, - { - "carrier": "royalmail", - "deprecated": false, - "description": null, - "human_readable": "Carrier Notification Email", - "name": "carrier_notification_email", - "type": "boolean" - }, - { - "carrier": "royalmail", - "deprecated": false, - "description": null, - "human_readable": "Carrier Notification Sms", - "name": "carrier_notification_sms", - "type": "boolean" - }, - { - "carrier": "royalmail", - "deprecated": true, - "description": null, - "human_readable": "Date Advance", - "name": "date_advance", - "type": "integer" - }, - { - "carrier": "royalmail", - "deprecated": true, - "description": null, - "human_readable": "Delivered Duty Paid", - "name": "delivered_duty_paid", - "type": "boolean" - }, - { - "carrier": "royalmail", - "deprecated": false, - "description": null, - "human_readable": "Delivery Confirmation", - "name": "delivery_confirmation", - "type": "string" - }, - { - "carrier": "royalmail", - "deprecated": false, - "description": null, - "human_readable": "Handling Instructions", - "name": "handling_instructions", - "type": "string" - }, - { - "carrier": "royalmail", - "deprecated": false, - "description": null, - "human_readable": "Import Federal Tax Id", - "name": "import_federal_tax_id", - "type": "string" - }, - { - "carrier": "royalmail", - "deprecated": false, - "description": null, - "human_readable": "Incoterm", - "name": "incoterm", - "type": "enum" - }, - { - "carrier": "royalmail", - "deprecated": false, - "description": null, - "human_readable": "Invoice Number", - "name": "invoice_number", - "type": "string" - }, - { - "carrier": "royalmail", - "deprecated": false, - "description": null, - "human_readable": "Label Date", - "name": "label_date", - "type": "datetime" - }, - { - "carrier": "royalmail", - "deprecated": false, - "description": null, - "human_readable": "Label Format", - "name": "label_format", - "type": "string" - }, - { - "carrier": "royalmail", - "deprecated": false, - "description": null, - "human_readable": "License Number", - "name": "license_number", - "type": "string" - }, - { - "carrier": "royalmail", - "deprecated": true, - "description": null, - "human_readable": "Print Custom 1", - "name": "print_custom_1", - "type": "string" - }, - { - "carrier": "royalmail", - "deprecated": true, - "description": null, - "human_readable": "Print Custom 2", - "name": "print_custom_2", - "type": "string" - }, - { - "carrier": "royalmail", - "deprecated": false, - "description": null, - "human_readable": "Saturday Delivery", - "name": "saturday_delivery", - "type": "boolean" - } - ], - "supported_features": [ - { - "carrier": "royalmail", - "description": null, - "name": "labels", - "supported": true - }, - { - "carrier": "royalmail", - "description": null, - "name": "orders", - "supported": false - }, - { - "carrier": "royalmail", - "description": null, - "name": "pickups", - "supported": false - }, - { - "carrier": "royalmail", - "description": null, - "name": "refunds", - "supported": true - }, - { - "carrier": "royalmail", - "description": null, - "name": "returns", - "supported": true - }, - { - "carrier": "royalmail", - "description": null, - "name": "scanforms", - "supported": true - }, - { - "carrier": "royalmail", - "description": null, - "name": "rating", - "supported": true - }, - { - "carrier": "royalmail", - "description": null, - "name": "tracking", - "supported": true - }, - { - "carrier": "royalmail", - "description": null, - "name": "bill_on_label_purchase", - "supported": false - }, - { - "carrier": "royalmail", - "description": null, - "name": "bill_on_delivery", - "supported": false - }, - { - "carrier": "royalmail", - "description": null, - "name": "bill_on_scan", - "supported": false - }, - { - "carrier": "royalmail", - "description": null, - "name": "bill_on_manifest", - "supported": true - }, - { - "carrier": "royalmail", - "description": null, - "name": "commercial_invoices", - "supported": false - }, - { - "carrier": "royalmail", - "description": null, - "name": "delivers_to_po_box", - "supported": true - }, - { - "carrier": "royalmail", - "description": null, - "name": "sort_codes", - "supported": true - }, - { - "carrier": "royalmail", - "description": null, - "name": "test_environment", - "supported": true + "max_weight": 1120.0, + "name": "ExpressMailInternational" } ] } diff --git a/official/docs/responses/child-users/child-users-create.json b/official/docs/responses/child-users/child-users-create.json index 054eff31..5ac6986f 100644 --- a/official/docs/responses/child-users/child-users-create.json +++ b/official/docs/responses/child-users/child-users-create.json @@ -1,11 +1,11 @@ { - "id": "user_31754439d4524fbb8867d138de537e12", + "id": "user_d2539e6862fe4f389f735c7c00aaa37a", "object": "User", - "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", + "parent_id": "user_060ab38db3c04ffaa60f262e5781a9be", "name": "Test User", "phone_number": "8005550100", "verified": true, - "created_at": "2024-01-19T21:42:21Z", + "created_at": "2024-01-24T00:07:48Z", "default_carbon_offset": false, "has_elevate_access": false, "children": [], @@ -14,17 +14,17 @@ "object": "ApiKey", "key": "", "mode": "test", - "created_at": "2024-01-19T21:42:21Z", + "created_at": "2024-01-24T00:07:48Z", "active": true, - "id": "ak_dffa08301f7d4a54895f7840d54d05e0" + "id": "ak_afdf54db97e24e4aa7354527c8aa3be0" }, { "object": "ApiKey", "key": "", "mode": "production", - "created_at": "2024-01-19T21:42:21Z", + "created_at": "2024-01-24T00:07:48Z", "active": true, - "id": "ak_d386ae3ceee04b0880002cd39dca2587" + "id": "ak_da39a3c4afd946e1b77a578ec211e816" } ] } diff --git a/official/docs/responses/child-users/child-users-list.json b/official/docs/responses/child-users/child-users-list.json index 10c84a8e..49284f7c 100644 --- a/official/docs/responses/child-users/child-users-list.json +++ b/official/docs/responses/child-users/child-users-list.json @@ -1,40 +1,13 @@ { "children": [ { - "id": "user_584be78af2f141e988b6c60dda9dd8fd", + "id": "user_0ae8cb7000a1438c8598fa5786fdae84", "object": "User", - "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", - "name": "Test User2", - "phone_number": "8005550100", - "verified": true, - "created_at": "2023-12-11T17:13:38Z" - }, - { - "id": "user_437e724f37de412db6df8821968d8d3c", - "object": "User", - "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", - "name": "Test User2", - "phone_number": "8005550100", - "verified": true, - "created_at": "2023-12-11T17:13:43Z" - }, - { - "id": "user_2553102e90de43dea0b9fa7f8c8d7e33", - "object": "User", - "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", - "name": "Child Account Name22", - "phone_number": "8005550100", - "verified": true, - "created_at": "2024-01-04T19:56:21Z" - }, - { - "id": "user_31754439d4524fbb8867d138de537e12", - "object": "User", - "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", + "parent_id": "user_060ab38db3c04ffaa60f262e5781a9be", "name": "Test User", "phone_number": "8005550100", "verified": true, - "created_at": "2024-01-19T21:42:21Z" + "created_at": "2022-10-17T17:28:30Z" } ], "has_more": false diff --git a/official/docs/responses/customs-infos/customs-infos-create.json b/official/docs/responses/customs-infos/customs-infos-create.json index 162daaf2..821c06a6 100644 --- a/official/docs/responses/customs-infos/customs-infos-create.json +++ b/official/docs/responses/customs-infos/customs-infos-create.json @@ -1,8 +1,8 @@ { - "id": "cstinfo_831ded88bcd742708daf7cd54cae8c1e", + "id": "cstinfo_55c25c9757b6456c9f222b1e7d8dfe94", "object": "CustomsInfo", - "created_at": "2024-01-19T21:40:43Z", - "updated_at": "2024-01-19T21:40:43Z", + "created_at": "2024-01-24T00:05:42Z", + "updated_at": "2024-01-24T00:05:42Z", "contents_explanation": "", "contents_type": "merchandise", "customs_certify": true, @@ -15,10 +15,10 @@ "declaration": null, "customs_items": [ { - "id": "cstitem_a2676810f53244c1a329c3a4e48c0a34", + "id": "cstitem_ef7c227016ec4967833e8049cdc6d684", "object": "CustomsItem", - "created_at": "2024-01-19T21:40:43Z", - "updated_at": "2024-01-19T21:40:43Z", + "created_at": "2024-01-24T00:05:42Z", + "updated_at": "2024-01-24T00:05:42Z", "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": "US", diff --git a/official/docs/responses/customs-infos/customs-infos-retrieve.json b/official/docs/responses/customs-infos/customs-infos-retrieve.json index 42a78a34..6080ef3a 100644 --- a/official/docs/responses/customs-infos/customs-infos-retrieve.json +++ b/official/docs/responses/customs-infos/customs-infos-retrieve.json @@ -1,8 +1,8 @@ { - "id": "cstinfo_5407d9771090494a8ef46d89d5994230", + "id": "cstinfo_8ebad928c87d40aea1d0695d835d93de", "object": "CustomsInfo", - "created_at": "2024-01-19T21:40:43Z", - "updated_at": "2024-01-19T21:40:43Z", + "created_at": "2024-01-24T00:05:43Z", + "updated_at": "2024-01-24T00:05:43Z", "contents_explanation": "", "contents_type": "merchandise", "customs_certify": true, @@ -15,10 +15,10 @@ "declaration": null, "customs_items": [ { - "id": "cstitem_a75fa158444145deaf5287b2ab3bf6d7", + "id": "cstitem_ffde56d2590d498198fba5f223cd3ba5", "object": "CustomsItem", - "created_at": "2024-01-19T21:40:43Z", - "updated_at": "2024-01-19T21:40:43Z", + "created_at": "2024-01-24T00:05:43Z", + "updated_at": "2024-01-24T00:05:43Z", "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": "US", diff --git a/official/docs/responses/customs-items/customs-items-create.json b/official/docs/responses/customs-items/customs-items-create.json index b73f9682..c6a1cc85 100644 --- a/official/docs/responses/customs-items/customs-items-create.json +++ b/official/docs/responses/customs-items/customs-items-create.json @@ -1,8 +1,8 @@ { - "id": "cstitem_dc3bfcb1a9b248d9b460d670fde2ca6f", + "id": "cstitem_71233110339145c8b1cd9107b9fff1af", "object": "CustomsItem", - "created_at": "2024-01-19T21:40:43Z", - "updated_at": "2024-01-19T21:40:43Z", + "created_at": "2024-01-24T00:05:43Z", + "updated_at": "2024-01-24T00:05:43Z", "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": "US", diff --git a/official/docs/responses/customs-items/customs-items-retrieve.json b/official/docs/responses/customs-items/customs-items-retrieve.json index e26f9039..42cede4e 100644 --- a/official/docs/responses/customs-items/customs-items-retrieve.json +++ b/official/docs/responses/customs-items/customs-items-retrieve.json @@ -1,8 +1,8 @@ { - "id": "cstitem_beb82d4ae2a745bbbc769caf1d234a34", + "id": "cstitem_35d99d275eb346dcb77fbd42b90cb76c", "object": "CustomsItem", - "created_at": "2024-01-19T21:40:44Z", - "updated_at": "2024-01-19T21:40:44Z", + "created_at": "2024-01-24T00:05:44Z", + "updated_at": "2024-01-24T00:05:44Z", "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": "US", diff --git a/official/docs/responses/endshipper/endshipper-buy.json b/official/docs/responses/endshipper/endshipper-buy.json index 572a13d9..a0f41d20 100644 --- a/official/docs/responses/endshipper/endshipper-buy.json +++ b/official/docs/responses/endshipper/endshipper-buy.json @@ -1,5 +1,5 @@ { - "created_at": "2024-01-19T21:40:47Z", + "created_at": "2024-01-24T00:05:47Z", "is_return": false, "messages": [], "mode": "test", @@ -12,16 +12,16 @@ }, "reference": null, "status": "unknown", - "tracking_code": "9434600207552010707589", - "updated_at": "2024-01-19T21:40:49Z", + "tracking_code": "9434600207552011812534", + "updated_at": "2024-01-24T00:05:48Z", "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": { - "id": "cstinfo_f5ae2b124dfa422bbce11d7dd7766749", + "id": "cstinfo_e46e1b49abf64d21af9701894ca1592e", "object": "CustomsInfo", - "created_at": "2024-01-19T21:40:47Z", - "updated_at": "2024-01-19T21:40:47Z", + "created_at": "2024-01-24T00:05:47Z", + "updated_at": "2024-01-24T00:05:47Z", "contents_explanation": "", "contents_type": "merchandise", "customs_certify": true, @@ -34,10 +34,10 @@ "declaration": null, "customs_items": [ { - "id": "cstitem_e38f63f10ba845b2affb9b83f6bd5fae", + "id": "cstitem_4ade6839412c44e68d323ab9b6c29275", "object": "CustomsItem", - "created_at": "2024-01-19T21:40:47Z", - "updated_at": "2024-01-19T21:40:47Z", + "created_at": "2024-01-24T00:05:47Z", + "updated_at": "2024-01-24T00:05:47Z", "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": "US", @@ -54,10 +54,10 @@ ] }, "from_address": { - "id": "adr_6857ed0cb71311ee92ba3cecef1b359e", + "id": "adr_5336fc74ba4c11ee8c01ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:40:47+00:00", - "updated_at": "2024-01-19T21:40:47+00:00", + "created_at": "2024-01-24T00:05:47+00:00", + "updated_at": "2024-01-24T00:05:47+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -78,10 +78,10 @@ "insurance": null, "order_id": null, "parcel": { - "id": "prcl_37698469493d42fc9414475e42e06cf4", + "id": "prcl_b807202b272042a6bceadbac1653bf9c", "object": "Parcel", - "created_at": "2024-01-19T21:40:47Z", - "updated_at": "2024-01-19T21:40:47Z", + "created_at": "2024-01-24T00:05:47Z", + "updated_at": "2024-01-24T00:05:47Z", "length": 20.2, "width": 10.9, "height": 5.0, @@ -91,17 +91,17 @@ }, "postage_label": { "object": "PostageLabel", - "id": "pl_18386a07b4bc4c27b181b0be7f8fa6b6", - "created_at": "2024-01-19T21:40:49Z", - "updated_at": "2024-01-19T21:40:49Z", + "id": "pl_d33cf192bd1947cca390e3842621ea8f", + "created_at": "2024-01-24T00:05:48Z", + "updated_at": "2024-01-24T00:05:48Z", "date_advance": 0, "integrated_form": "none", - "label_date": "2024-01-19T21:40:49Z", + "label_date": "2024-01-24T00:05:48Z", "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": "image/png", - "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8e1ee4970791240f99f95534289623efe.png", + "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240124/e887f23d5484034c05a7634f4c1617945e.png", "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, @@ -109,164 +109,164 @@ }, "rates": [ { - "id": "rate_5257dd59081340f9b832d5e6109d5784", + "id": "rate_eeb032afda0546898a29814903a3330f", "object": "Rate", - "created_at": "2024-01-19T21:40:48Z", - "updated_at": "2024-01-19T21:40:48Z", + "created_at": "2024-01-24T00:05:47Z", + "updated_at": "2024-01-24T00:05:47Z", "mode": "test", - "service": "Priority", + "service": "Express", "carrier": "USPS", - "rate": "7.99", + "rate": "49.60", "currency": "USD", - "retail_rate": "14.05", + "retail_rate": "57.40", "retail_currency": "USD", - "list_rate": "10.27", + "list_rate": "49.60", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 2, + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 2, - "shipment_id": "shp_dcf8c9e3a01d4e08b25b5f88f39b0b1a", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "est_delivery_days": null, + "shipment_id": "shp_a76316cb113f4779adddd86cae7c8008", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_e14159fbc6684d88bbba290cebd97bdb", + "id": "rate_4278234a11e4480daaf4f385ee56de74", "object": "Rate", - "created_at": "2024-01-19T21:40:48Z", - "updated_at": "2024-01-19T21:40:48Z", + "created_at": "2024-01-24T00:05:47Z", + "updated_at": "2024-01-24T00:05:47Z", "mode": "test", - "service": "GroundAdvantage", + "service": "Priority", "carrier": "USPS", - "rate": "6.79", + "rate": "7.33", "currency": "USD", - "retail_rate": "12.45", + "retail_rate": "15.20", "retail_currency": "USD", - "list_rate": "8.92", + "list_rate": "10.89", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, + "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, - "shipment_id": "shp_dcf8c9e3a01d4e08b25b5f88f39b0b1a", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "est_delivery_days": 2, + "shipment_id": "shp_a76316cb113f4779adddd86cae7c8008", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_00cd9ffabed94a20a0112ffb19bfbbe2", + "id": "rate_3682234a6c724f38ac06919651071676", "object": "Rate", - "created_at": "2024-01-19T21:40:48Z", - "updated_at": "2024-01-19T21:40:48Z", + "created_at": "2024-01-24T00:05:47Z", + "updated_at": "2024-01-24T00:05:47Z", "mode": "test", - "service": "First", + "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", "currency": "USD", - "retail_rate": "12.45", + "retail_rate": "13.15", "retail_currency": "USD", - "list_rate": "8.92", + "list_rate": "9.41", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_dcf8c9e3a01d4e08b25b5f88f39b0b1a", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_a76316cb113f4779adddd86cae7c8008", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_332d0a9355db4590bb0c596692ff48fa", + "id": "rate_c35c6e7b71b745b0a4b4545a93d011b7", "object": "Rate", - "created_at": "2024-01-19T21:40:48Z", - "updated_at": "2024-01-19T21:40:48Z", + "created_at": "2024-01-24T00:05:47Z", + "updated_at": "2024-01-24T00:05:47Z", "mode": "test", - "service": "ParcelSelect", + "service": "First", "carrier": "USPS", "rate": "6.79", "currency": "USD", - "retail_rate": "12.45", + "retail_rate": "13.15", "retail_currency": "USD", - "list_rate": "8.92", + "list_rate": "9.41", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_dcf8c9e3a01d4e08b25b5f88f39b0b1a", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_a76316cb113f4779adddd86cae7c8008", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_a16bc33d77bc434ab559383ea26c8016", + "id": "rate_4c638f260a6c4747981a3960db495d82", "object": "Rate", - "created_at": "2024-01-19T21:40:48Z", - "updated_at": "2024-01-19T21:40:48Z", + "created_at": "2024-01-24T00:05:47Z", + "updated_at": "2024-01-24T00:05:47Z", "mode": "test", - "service": "Express", + "service": "ParcelSelect", "carrier": "USPS", - "rate": "46.85", + "rate": "6.79", "currency": "USD", - "retail_rate": "54.20", + "retail_rate": "13.15", "retail_currency": "USD", - "list_rate": "46.85", + "list_rate": "9.41", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": null, - "shipment_id": "shp_dcf8c9e3a01d4e08b25b5f88f39b0b1a", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "est_delivery_days": 3, + "shipment_id": "shp_a76316cb113f4779adddd86cae7c8008", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" } ], "refund_status": null, "scan_form": null, "selected_rate": { - "id": "rate_e14159fbc6684d88bbba290cebd97bdb", + "id": "rate_3682234a6c724f38ac06919651071676", "object": "Rate", - "created_at": "2024-01-19T21:40:49Z", - "updated_at": "2024-01-19T21:40:49Z", + "created_at": "2024-01-24T00:05:48Z", + "updated_at": "2024-01-24T00:05:48Z", "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", "currency": "USD", - "retail_rate": "12.45", + "retail_rate": "13.15", "retail_currency": "USD", - "list_rate": "8.92", + "list_rate": "9.41", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_dcf8c9e3a01d4e08b25b5f88f39b0b1a", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_a76316cb113f4779adddd86cae7c8008", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, "tracker": { - "id": "trk_83f8ab2e8b7249898ca784087db0f055", + "id": "trk_6a77d0aa61ca487c83a84b750a068a52", "object": "Tracker", "mode": "test", - "tracking_code": "9434600207552010707589", + "tracking_code": "9434600207552011812534", "status": "unknown", "status_detail": "unknown", - "created_at": "2024-01-19T21:40:49Z", - "updated_at": "2024-01-19T21:40:49Z", + "created_at": "2024-01-24T00:05:48Z", + "updated_at": "2024-01-24T00:05:48Z", "signed_by": null, "weight": null, "est_delivery_date": null, - "shipment_id": "shp_dcf8c9e3a01d4e08b25b5f88f39b0b1a", + "shipment_id": "shp_a76316cb113f4779adddd86cae7c8008", "carrier": "USPS", "tracking_details": [], "fees": [], "carrier_detail": null, - "public_url": "https://track.easypost.com/djE6dHJrXzgzZjhhYjJlOGI3MjQ5ODk4Y2E3ODQwODdkYjBmMDU1" + "public_url": "https://track.easypost.com/djE6dHJrXzZhNzdkMGFhNjFjYTQ4N2M4M2E4NGI3NTBhMDY4YTUy" }, "to_address": { - "id": "adr_68550af9b71311ee92b93cecef1b359e", + "id": "adr_5334b436ba4c11eeb963ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:40:47+00:00", - "updated_at": "2024-01-19T21:40:49+00:00", + "created_at": "2024-01-24T00:05:47+00:00", + "updated_at": "2024-01-24T00:05:47+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", @@ -301,10 +301,10 @@ }, "usps_zone": 4, "return_address": { - "id": "adr_6857ed0cb71311ee92ba3cecef1b359e", + "id": "adr_5336fc74ba4c11ee8c01ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:40:47+00:00", - "updated_at": "2024-01-19T21:40:47+00:00", + "created_at": "2024-01-24T00:05:47+00:00", + "updated_at": "2024-01-24T00:05:47+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -323,10 +323,10 @@ "verifications": {} }, "buyer_address": { - "id": "adr_68550af9b71311ee92b93cecef1b359e", + "id": "adr_5334b436ba4c11eeb963ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:40:47+00:00", - "updated_at": "2024-01-19T21:40:49+00:00", + "created_at": "2024-01-24T00:05:47+00:00", + "updated_at": "2024-01-24T00:05:47+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", @@ -376,6 +376,6 @@ "refunded": false } ], - "id": "shp_dcf8c9e3a01d4e08b25b5f88f39b0b1a", + "id": "shp_a76316cb113f4779adddd86cae7c8008", "object": "Shipment" } diff --git a/official/docs/responses/endshipper/endshipper-create.json b/official/docs/responses/endshipper/endshipper-create.json index 3283116c..94749783 100644 --- a/official/docs/responses/endshipper/endshipper-create.json +++ b/official/docs/responses/endshipper/endshipper-create.json @@ -1,9 +1,9 @@ { - "id": "es_4c83da873476490ba46e9347783e21fe", + "id": "es_19a5071f0d224bd6a3eb372e408cdbee", "object": "EndShipper", "mode": "test", - "created_at": "2024-01-19T21:40:44+00:00", - "updated_at": "2024-01-19T21:40:44+00:00", + "created_at": "2024-01-24T00:05:44+00:00", + "updated_at": "2024-01-24T00:05:44+00:00", "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", diff --git a/official/docs/responses/endshipper/endshipper-list.json b/official/docs/responses/endshipper/endshipper-list.json index 25810b8d..2f721b66 100644 --- a/official/docs/responses/endshipper/endshipper-list.json +++ b/official/docs/responses/endshipper/endshipper-list.json @@ -1,21 +1,21 @@ { "end_shippers": [ { - "id": "es_4c9d0f5f99374536908eb4949f909e1e", + "id": "es_4e6fc3267bb14aab926fda9e5a764b4b", "object": "EndShipper", "mode": "test", - "created_at": "2022-10-05T19:50:55+00:00", - "updated_at": "2022-10-05T19:50:55+00:00", - "name": "JACK SPARROW", - "company": null, - "street1": "388 TOWNSEND ST APT 20", + "created_at": "2022-10-17T17:16:53+00:00", + "updated_at": "2022-10-17T17:16:53+00:00", + "name": "FOO BAR", + "company": "BAZ", + "street1": "164 TOWNSEND ST UNIT 1", "street2": null, "city": "SAN FRANCISCO", "state": "CA", - "zip": "94107-1670", + "zip": "94107-1990", "country": "US", - "phone": "5555555555", - "email": "TEST@EXAMPLE.COM" + "phone": "555 555-5555", + "email": "FOO@EXAMPLE.COM" } ], "has_more": true diff --git a/official/docs/responses/endshipper/endshipper-retrieve.json b/official/docs/responses/endshipper/endshipper-retrieve.json index f1ebb60c..7ff17706 100644 --- a/official/docs/responses/endshipper/endshipper-retrieve.json +++ b/official/docs/responses/endshipper/endshipper-retrieve.json @@ -1,9 +1,9 @@ { - "id": "es_731fce1430ab46daa9b237d1ddbe7e81", + "id": "es_4377f46538594bf7a99ee851e3f6902d", "object": "EndShipper", "mode": "test", - "created_at": "2024-01-19T21:40:45+00:00", - "updated_at": "2024-01-19T21:40:45+00:00", + "created_at": "2024-01-24T00:05:45+00:00", + "updated_at": "2024-01-24T00:05:45+00:00", "name": "FOO BAR", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", diff --git a/official/docs/responses/endshipper/endshipper-update.json b/official/docs/responses/endshipper/endshipper-update.json index aa5b69b0..691d6029 100644 --- a/official/docs/responses/endshipper/endshipper-update.json +++ b/official/docs/responses/endshipper/endshipper-update.json @@ -1,9 +1,9 @@ { - "id": "es_31c5fb3d5ac34efb898a113afd0bb2c6", + "id": "es_f5ecda57a5aa4c4d9fe5e831366a3913", "object": "EndShipper", "mode": "test", - "created_at": "2024-01-19T21:40:46+00:00", - "updated_at": "2024-01-19T21:40:47+00:00", + "created_at": "2024-01-24T00:05:46+00:00", + "updated_at": "2024-01-24T00:05:46+00:00", "name": "NEW NAME", "company": "BAZ", "street1": "164 TOWNSEND ST UNIT 1", diff --git a/official/docs/responses/events/events-list.json b/official/docs/responses/events/events-list.json index 4ea477ba..172db713 100644 --- a/official/docs/responses/events/events-list.json +++ b/official/docs/responses/events/events-list.json @@ -2,10 +2,10 @@ "events": [ { "description": "tracker.created", - "id": "evt_66b02f04b71311ee8835730b68571ca4", - "user_id": "user_54356a6b96c940d8913961a3c7b909f2", + "id": "evt_5397c3dcba4c11ee99e74d3b807cff5b", + "user_id": "user_060ab38db3c04ffaa60f262e5781a9be", "status": "pending", - "created_at": "2024-01-19T21:40:45.014Z", + "created_at": "2024-01-24T00:05:47.779Z", "mode": "test", "object": "Event" } diff --git a/official/docs/responses/events/events-retrieve.json b/official/docs/responses/events/events-retrieve.json index 142954a9..58fbb103 100644 --- a/official/docs/responses/events/events-retrieve.json +++ b/official/docs/responses/events/events-retrieve.json @@ -2,12 +2,12 @@ "description": "tracker.created", "mode": "test", "previous_attributes": {}, - "created_at": "2024-01-19T21:40:45.000Z", + "created_at": "2024-01-24T00:05:48.000Z", "pending_urls": [], "completed_urls": [], - "updated_at": "2024-01-19T21:40:45.000Z", - "id": "evt_66b02f04b71311ee8835730b68571ca4", - "user_id": "user_54356a6b96c940d8913961a3c7b909f2", + "updated_at": "2024-01-24T00:05:48.000Z", + "id": "evt_5397c3dcba4c11ee99e74d3b807cff5b", + "user_id": "user_060ab38db3c04ffaa60f262e5781a9be", "status": "pending", "object": "Event" } diff --git a/official/docs/responses/forms/forms-create.json b/official/docs/responses/forms/forms-create.json index 48b72c9d..5c351d64 100644 --- a/official/docs/responses/forms/forms-create.json +++ b/official/docs/responses/forms/forms-create.json @@ -1,5 +1,5 @@ { - "created_at": "2024-01-19T21:40:51Z", + "created_at": "2024-01-24T00:05:50Z", "is_return": false, "messages": [], "mode": "test", @@ -12,16 +12,16 @@ }, "reference": null, "status": "unknown", - "tracking_code": "9405500207552010707603", - "updated_at": "2024-01-19T21:40:52Z", + "tracking_code": "9405500207552011812542", + "updated_at": "2024-01-24T00:05:51Z", "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": { - "id": "cstinfo_38ecc3f3705e49c991c0dc6291dc784d", + "id": "cstinfo_22c094c28a5849c2831e345cfa8a4809", "object": "CustomsInfo", - "created_at": "2024-01-19T21:40:51Z", - "updated_at": "2024-01-19T21:40:51Z", + "created_at": "2024-01-24T00:05:50Z", + "updated_at": "2024-01-24T00:05:50Z", "contents_explanation": "", "contents_type": "merchandise", "customs_certify": true, @@ -34,10 +34,10 @@ "declaration": null, "customs_items": [ { - "id": "cstitem_0aae18e08ec34a51b6c4075698eba8ef", + "id": "cstitem_a1f6f1d173934f37a2ce669bb6657e3c", "object": "CustomsItem", - "created_at": "2024-01-19T21:40:51Z", - "updated_at": "2024-01-19T21:40:51Z", + "created_at": "2024-01-24T00:05:50Z", + "updated_at": "2024-01-24T00:05:50Z", "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": "US", @@ -54,10 +54,10 @@ ] }, "from_address": { - "id": "adr_6a6af012b71311ee93943cecef1b359e", + "id": "adr_550ea165ba4c11eeb9e7ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:40:51+00:00", - "updated_at": "2024-01-19T21:40:51+00:00", + "created_at": "2024-01-24T00:05:50+00:00", + "updated_at": "2024-01-24T00:05:50+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -78,10 +78,10 @@ "insurance": null, "order_id": null, "parcel": { - "id": "prcl_219d7ac310664dfa97e2982c4fac0238", + "id": "prcl_44286ed3097f46d1adbc382c934ce534", "object": "Parcel", - "created_at": "2024-01-19T21:40:51Z", - "updated_at": "2024-01-19T21:40:51Z", + "created_at": "2024-01-24T00:05:50Z", + "updated_at": "2024-01-24T00:05:50Z", "length": 20.2, "width": 10.9, "height": 5.0, @@ -91,17 +91,17 @@ }, "postage_label": { "object": "PostageLabel", - "id": "pl_3d83fe2e299342768fa5f28bedf21afd", - "created_at": "2024-01-19T21:40:51Z", - "updated_at": "2024-01-19T21:40:52Z", + "id": "pl_325a0a9ea29843a4918757c6bebb71b3", + "created_at": "2024-01-24T00:05:50Z", + "updated_at": "2024-01-24T00:05:51Z", "date_advance": 0, "integrated_form": "none", - "label_date": "2024-01-19T21:40:51Z", + "label_date": "2024-01-24T00:05:50Z", "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": "image/png", - "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e81fb54b2c23e84e9ea9b447fee1f9247d.png", + "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240124/e82c64213af7be49b1b2aba1ea0c4dcd5f.png", "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, @@ -109,153 +109,153 @@ }, "rates": [ { - "id": "rate_0278b6d89b0243d1841f570619840fe3", + "id": "rate_bdc3690cc6634a1fafde081f3b26c3d9", "object": "Rate", - "created_at": "2024-01-19T21:40:51Z", - "updated_at": "2024-01-19T21:40:51Z", + "created_at": "2024-01-24T00:05:50Z", + "updated_at": "2024-01-24T00:05:50Z", "mode": "test", - "service": "Express", + "service": "Priority", "carrier": "USPS", - "rate": "46.85", + "rate": "7.33", "currency": "USD", - "retail_rate": "54.20", + "retail_rate": "15.20", "retail_currency": "USD", - "list_rate": "46.85", + "list_rate": "10.89", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, + "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": null, - "shipment_id": "shp_5d6acc1b88f44743955ee35c7ca4e611", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "est_delivery_days": 2, + "shipment_id": "shp_5889c78f5e5547958e62f6993453f0d9", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_939f7dc9c1714ec7b89955cd7f10edd1", + "id": "rate_501c02949c3e44b0ab50eebde3068c8b", "object": "Rate", - "created_at": "2024-01-19T21:40:51Z", - "updated_at": "2024-01-19T21:40:51Z", + "created_at": "2024-01-24T00:05:50Z", + "updated_at": "2024-01-24T00:05:50Z", "mode": "test", - "service": "Priority", + "service": "GroundAdvantage", "carrier": "USPS", - "rate": "7.99", + "rate": "6.79", "currency": "USD", - "retail_rate": "14.05", + "retail_rate": "13.15", "retail_currency": "USD", - "list_rate": "10.27", + "list_rate": "9.41", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 2, + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 2, - "shipment_id": "shp_5d6acc1b88f44743955ee35c7ca4e611", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "est_delivery_days": 3, + "shipment_id": "shp_5889c78f5e5547958e62f6993453f0d9", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_ecf947499c164960a9f247cd1f889da4", + "id": "rate_9649550ada4944a2b3439289a428761e", "object": "Rate", - "created_at": "2024-01-19T21:40:51Z", - "updated_at": "2024-01-19T21:40:51Z", + "created_at": "2024-01-24T00:05:50Z", + "updated_at": "2024-01-24T00:05:50Z", "mode": "test", - "service": "GroundAdvantage", + "service": "First", "carrier": "USPS", "rate": "6.79", "currency": "USD", - "retail_rate": "12.45", + "retail_rate": "13.15", "retail_currency": "USD", - "list_rate": "8.92", + "list_rate": "9.41", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_5d6acc1b88f44743955ee35c7ca4e611", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_5889c78f5e5547958e62f6993453f0d9", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_06bf3189ade6419baa087a4d3c90c020", + "id": "rate_4379eb9028654c9d93cf5905d8619163", "object": "Rate", - "created_at": "2024-01-19T21:40:51Z", - "updated_at": "2024-01-19T21:40:51Z", + "created_at": "2024-01-24T00:05:50Z", + "updated_at": "2024-01-24T00:05:50Z", "mode": "test", - "service": "First", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": "USD", - "retail_rate": "12.45", + "retail_rate": "13.15", "retail_currency": "USD", - "list_rate": "8.92", + "list_rate": "9.41", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_5d6acc1b88f44743955ee35c7ca4e611", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_5889c78f5e5547958e62f6993453f0d9", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_a74f0eec9b934571a791053f4ab68612", + "id": "rate_03369f5e3a844ec2b88588f2d566eef0", "object": "Rate", - "created_at": "2024-01-19T21:40:51Z", - "updated_at": "2024-01-19T21:40:51Z", + "created_at": "2024-01-24T00:05:50Z", + "updated_at": "2024-01-24T00:05:50Z", "mode": "test", - "service": "ParcelSelect", + "service": "Express", "carrier": "USPS", - "rate": "6.79", + "rate": "49.60", "currency": "USD", - "retail_rate": "12.45", + "retail_rate": "57.40", "retail_currency": "USD", - "list_rate": "8.92", + "list_rate": "49.60", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, - "shipment_id": "shp_5d6acc1b88f44743955ee35c7ca4e611", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "est_delivery_days": null, + "shipment_id": "shp_5889c78f5e5547958e62f6993453f0d9", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" } ], "refund_status": null, "scan_form": null, "selected_rate": { - "id": "rate_939f7dc9c1714ec7b89955cd7f10edd1", + "id": "rate_bdc3690cc6634a1fafde081f3b26c3d9", "object": "Rate", - "created_at": "2024-01-19T21:40:51Z", - "updated_at": "2024-01-19T21:40:51Z", + "created_at": "2024-01-24T00:05:50Z", + "updated_at": "2024-01-24T00:05:50Z", "mode": "test", "service": "Priority", "carrier": "USPS", - "rate": "7.99", + "rate": "7.33", "currency": "USD", - "retail_rate": "14.05", + "retail_rate": "15.20", "retail_currency": "USD", - "list_rate": "10.27", + "list_rate": "10.89", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 2, - "shipment_id": "shp_5d6acc1b88f44743955ee35c7ca4e611", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_5889c78f5e5547958e62f6993453f0d9", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, "tracker": { - "id": "trk_0d39ddeae6034088b1fcd67766019d55", + "id": "trk_a6ead3f2a19d4e1abfd3d1ce4db88ad5", "object": "Tracker", "mode": "test", - "tracking_code": "9405500207552010707603", + "tracking_code": "9405500207552011812542", "status": "pre_transit", "status_detail": "status_update", - "created_at": "2024-01-19T21:40:52Z", - "updated_at": "2024-01-19T21:40:52Z", + "created_at": "2024-01-24T00:05:51Z", + "updated_at": "2024-01-24T00:05:51Z", "signed_by": null, "weight": null, - "est_delivery_date": "2024-01-19T21:40:52Z", - "shipment_id": "shp_5d6acc1b88f44743955ee35c7ca4e611", + "est_delivery_date": "2024-01-24T00:05:51Z", + "shipment_id": "shp_5889c78f5e5547958e62f6993453f0d9", "carrier": "USPS", "tracking_details": [ { @@ -264,7 +264,7 @@ "description": "", "status": "pre_transit", "status_detail": "status_update", - "datetime": "2023-12-19T21:40:52Z", + "datetime": "2023-12-24T00:05:51Z", "source": "USPS", "carrier_code": "", "tracking_location": { @@ -281,7 +281,7 @@ "description": "", "status": "pre_transit", "status_detail": "status_update", - "datetime": "2023-12-20T10:17:52Z", + "datetime": "2023-12-24T12:42:51Z", "source": "USPS", "carrier_code": "", "tracking_location": { @@ -314,13 +314,13 @@ "alternate_identifier": null, "initial_delivery_attempt": null }, - "public_url": "https://track.easypost.com/djE6dHJrXzBkMzlkZGVhZTYwMzQwODhiMWZjZDY3NzY2MDE5ZDU1" + "public_url": "https://track.easypost.com/djE6dHJrX2E2ZWFkM2YyYTE5ZDRlMWFiZmQzZDFjZTRkYjg4YWQ1" }, "to_address": { - "id": "adr_6a67a697b71311ee9536ac1f6bc53342", + "id": "adr_550c2974ba4c11ee96563cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:40:51+00:00", - "updated_at": "2024-01-19T21:40:51+00:00", + "created_at": "2024-01-24T00:05:50+00:00", + "updated_at": "2024-01-24T00:05:50+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", @@ -355,10 +355,10 @@ }, "usps_zone": 4, "return_address": { - "id": "adr_6a6af012b71311ee93943cecef1b359e", + "id": "adr_550ea165ba4c11eeb9e7ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:40:51+00:00", - "updated_at": "2024-01-19T21:40:51+00:00", + "created_at": "2024-01-24T00:05:50+00:00", + "updated_at": "2024-01-24T00:05:50+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -377,10 +377,10 @@ "verifications": {} }, "buyer_address": { - "id": "adr_6a67a697b71311ee9536ac1f6bc53342", + "id": "adr_550c2974ba4c11ee96563cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:40:51+00:00", - "updated_at": "2024-01-19T21:40:51+00:00", + "created_at": "2024-01-24T00:05:50+00:00", + "updated_at": "2024-01-24T00:05:50+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", @@ -416,12 +416,12 @@ "forms": [ { "object": "Form", - "id": "form_4294f2d334234c8a80738948c33832c3", - "created_at": "2024-01-19T21:40:53Z", - "updated_at": "2024-01-19T21:40:53Z", + "id": "form_395cb033b8ed4be6bcacead7782cf0d9", + "created_at": "2024-01-24T00:05:52Z", + "updated_at": "2024-01-24T00:05:52Z", "mode": "test", "form_type": "return_packing_slip", - "form_url": "https://easypost-files.s3-us-west-2.amazonaws.com/files/form/20240119/14aa86aa8235479fab4e14069ae0e4dd.pdf", + "form_url": "https://easypost-files.s3-us-west-2.amazonaws.com/files/form/20240124/a4177d0bc14e456cb91e81f48f90fb83.pdf", "submitted_electronically": null } ], @@ -436,11 +436,11 @@ { "object": "Fee", "type": "PostageFee", - "amount": "7.99000", + "amount": "7.33000", "charged": true, "refunded": false } ], - "id": "shp_5d6acc1b88f44743955ee35c7ca4e611", + "id": "shp_5889c78f5e5547958e62f6993453f0d9", "object": "Shipment" } diff --git a/official/docs/responses/insurance/insurance-create.json b/official/docs/responses/insurance/insurance-create.json index d26b84b5..15f90842 100644 --- a/official/docs/responses/insurance/insurance-create.json +++ b/official/docs/responses/insurance/insurance-create.json @@ -1,5 +1,5 @@ { - "id": "ins_0c65f26dcda8479c865bef2e4cb90af3", + "id": "ins_2500e29183a64136b84a1e44ff08905f", "object": "Insurance", "mode": "test", "reference": null, @@ -8,10 +8,10 @@ "provider": "easypost", "provider_id": null, "to_address": { - "id": "adr_6beb8718b71311eea58dac1f6bc539aa", + "id": "adr_568c1ebcba4c11ee96cd3cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:40:53+00:00", - "updated_at": "2024-01-19T21:40:53+00:00", + "created_at": "2024-01-24T00:05:52+00:00", + "updated_at": "2024-01-24T00:05:52+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", @@ -45,10 +45,10 @@ } }, "from_address": { - "id": "adr_6bf0bbe4b71311ee96f5ac1f6bc539ae", + "id": "adr_56912a8aba4c11ee96cf3cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:40:53+00:00", - "updated_at": "2024-01-19T21:40:53+00:00", + "created_at": "2024-01-24T00:05:52+00:00", + "updated_at": "2024-01-24T00:05:52+00:00", "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", @@ -83,14 +83,14 @@ }, "shipment_id": null, "tracker": { - "id": "trk_6479b5feac8244899897f8b474148608", + "id": "trk_0ecad8116b424f00b9acdb15f66867bf", "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", "status": "error", "status_detail": null, - "created_at": "2024-01-19T21:32:23Z", - "updated_at": "2024-01-19T21:32:23Z", + "created_at": "2024-01-23T23:57:03Z", + "updated_at": "2024-01-23T23:57:03Z", "signed_by": null, "weight": null, "est_delivery_date": null, @@ -103,7 +103,7 @@ "description": "", "status": "error", "status_detail": null, - "datetime": "2024-01-19T21:32:23Z", + "datetime": "2024-01-23T23:57:03Z", "source": "ProcessingError", "carrier_code": "", "tracking_location": { @@ -118,18 +118,18 @@ "carrier_detail": null, "finalized": true, "is_return": false, - "public_url": "https://track.easypost.com/djE6dHJrXzY0NzliNWZlYWM4MjQ0ODk5ODk3ZjhiNDc0MTQ4NjA4", + "public_url": "https://track.easypost.com/djE6dHJrXzBlY2FkODExNmI0MjRmMDBiOWFjZGIxNWY2Njg2N2Jm", "fees": [] }, "tracking_code": "9400110898825022579493", "fee": { "object": "Fee", "type": "InsuranceFee", - "amount": "1.00000", + "amount": "0.50000", "charged": true, "refunded": false }, "messages": [], - "created_at": "2024-01-19T21:40:53Z", - "updated_at": "2024-01-19T21:40:53Z" + "created_at": "2024-01-24T00:05:52Z", + "updated_at": "2024-01-24T00:05:52Z" } diff --git a/official/docs/responses/insurance/insurance-list.json b/official/docs/responses/insurance/insurance-list.json index 7750c599..d9b89a92 100644 --- a/official/docs/responses/insurance/insurance-list.json +++ b/official/docs/responses/insurance/insurance-list.json @@ -1,19 +1,19 @@ { "insurances": [ { - "id": "ins_0c65f26dcda8479c865bef2e4cb90af3", + "id": "ins_2500e29183a64136b84a1e44ff08905f", "object": "Insurance", "mode": "test", - "reference": "insuranceRef1", + "reference": null, "status": "pending", "amount": "100.00000", "provider": "easypost", "provider_id": null, "to_address": { - "id": "adr_6beb8718b71311eea58dac1f6bc539aa", + "id": "adr_568c1ebcba4c11ee96cd3cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:40:53+00:00", - "updated_at": "2024-01-19T21:40:53+00:00", + "created_at": "2024-01-24T00:05:52+00:00", + "updated_at": "2024-01-24T00:05:52+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", @@ -47,10 +47,10 @@ } }, "from_address": { - "id": "adr_6bf0bbe4b71311ee96f5ac1f6bc539ae", + "id": "adr_56912a8aba4c11ee96cf3cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:40:53+00:00", - "updated_at": "2024-01-19T21:40:53+00:00", + "created_at": "2024-01-24T00:05:52+00:00", + "updated_at": "2024-01-24T00:05:52+00:00", "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", @@ -85,14 +85,14 @@ }, "shipment_id": null, "tracker": { - "id": "trk_0d317281c8314376810372b729bd9a05", + "id": "trk_48fb9b6e8270488397cabd1ee6feccd6", "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", "status": "error", "status_detail": null, - "created_at": "2024-01-19T21:40:53Z", - "updated_at": "2024-01-19T21:40:53Z", + "created_at": "2024-01-24T00:05:52Z", + "updated_at": "2024-01-24T00:05:52Z", "signed_by": null, "weight": null, "est_delivery_date": null, @@ -105,7 +105,7 @@ "description": "", "status": "error", "status_detail": null, - "datetime": "2024-01-19T21:40:53Z", + "datetime": "2024-01-24T00:05:52Z", "source": "ProcessingError", "carrier_code": "", "tracking_location": { @@ -120,20 +120,20 @@ "carrier_detail": null, "finalized": true, "is_return": false, - "public_url": "https://track.easypost.com/djE6dHJrXzBkMzE3MjgxYzgzMTQzNzY4MTAzNzJiNzI5YmQ5YTA1", + "public_url": "https://track.easypost.com/djE6dHJrXzQ4ZmI5YjZlODI3MDQ4ODM5N2NhYmQxZWU2ZmVjY2Q2", "fees": [] }, "tracking_code": "9400110898825022579493", "fee": { "object": "Fee", "type": "InsuranceFee", - "amount": "1.00000", + "amount": "0.50000", "charged": true, "refunded": false }, "messages": [], - "created_at": "2024-01-19T21:40:53Z", - "updated_at": "2024-01-19T21:40:53Z" + "created_at": "2024-01-24T00:05:52Z", + "updated_at": "2024-01-24T00:05:52Z" } ], "has_more": true diff --git a/official/docs/responses/insurance/insurance-retrieve.json b/official/docs/responses/insurance/insurance-retrieve.json index 4ca2a5bf..da7783ae 100644 --- a/official/docs/responses/insurance/insurance-retrieve.json +++ b/official/docs/responses/insurance/insurance-retrieve.json @@ -1,5 +1,5 @@ { - "id": "ins_0c65f26dcda8479c865bef2e4cb90af3", + "id": "ins_2500e29183a64136b84a1e44ff08905f", "object": "Insurance", "mode": "test", "reference": null, @@ -8,10 +8,10 @@ "provider": "easypost", "provider_id": null, "to_address": { - "id": "adr_6beb8718b71311eea58dac1f6bc539aa", + "id": "adr_568c1ebcba4c11ee96cd3cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:40:53+00:00", - "updated_at": "2024-01-19T21:40:53+00:00", + "created_at": "2024-01-24T00:05:52+00:00", + "updated_at": "2024-01-24T00:05:52+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", @@ -45,10 +45,10 @@ } }, "from_address": { - "id": "adr_6bf0bbe4b71311ee96f5ac1f6bc539ae", + "id": "adr_56912a8aba4c11ee96cf3cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:40:53+00:00", - "updated_at": "2024-01-19T21:40:53+00:00", + "created_at": "2024-01-24T00:05:52+00:00", + "updated_at": "2024-01-24T00:05:52+00:00", "name": "EASYPOST", "company": null, "street1": "417 MONTGOMERY ST # 5", @@ -83,14 +83,14 @@ }, "shipment_id": null, "tracker": { - "id": "trk_0d317281c8314376810372b729bd9a05", + "id": "trk_48fb9b6e8270488397cabd1ee6feccd6", "object": "Tracker", "mode": "test", "tracking_code": "9400110898825022579493", "status": "error", "status_detail": null, - "created_at": "2024-01-19T21:40:53Z", - "updated_at": "2024-01-19T21:40:53Z", + "created_at": "2024-01-24T00:05:52Z", + "updated_at": "2024-01-24T00:05:52Z", "signed_by": null, "weight": null, "est_delivery_date": null, @@ -103,7 +103,7 @@ "description": "", "status": "error", "status_detail": null, - "datetime": "2024-01-19T21:40:53Z", + "datetime": "2024-01-24T00:05:52Z", "source": "ProcessingError", "carrier_code": "", "tracking_location": { @@ -118,18 +118,18 @@ "carrier_detail": null, "finalized": true, "is_return": false, - "public_url": "https://track.easypost.com/djE6dHJrXzBkMzE3MjgxYzgzMTQzNzY4MTAzNzJiNzI5YmQ5YTA1", + "public_url": "https://track.easypost.com/djE6dHJrXzQ4ZmI5YjZlODI3MDQ4ODM5N2NhYmQxZWU2ZmVjY2Q2", "fees": [] }, "tracking_code": "9400110898825022579493", "fee": { "object": "Fee", "type": "InsuranceFee", - "amount": "1.00000", + "amount": "0.50000", "charged": true, "refunded": false }, "messages": [], - "created_at": "2024-01-19T21:40:53Z", - "updated_at": "2024-01-19T21:40:53Z" + "created_at": "2024-01-24T00:05:52Z", + "updated_at": "2024-01-24T00:05:52Z" } diff --git a/official/docs/responses/options/options-create-with-options.json b/official/docs/responses/options/options-create-with-options.json index 04d07c17..02ac8d16 100644 --- a/official/docs/responses/options/options-create-with-options.json +++ b/official/docs/responses/options/options-create-with-options.json @@ -1,5 +1,5 @@ { - "created_at": "2024-01-19T21:40:55Z", + "created_at": "2024-01-24T00:05:54Z", "is_return": false, "messages": [], "mode": "test", @@ -19,15 +19,15 @@ "reference": null, "status": "unknown", "tracking_code": null, - "updated_at": "2024-01-19T21:40:56Z", + "updated_at": "2024-01-24T00:05:54Z", "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": { - "id": "cstinfo_7c83f1010fb34baf9918aa9e67cdebc0", + "id": "cstinfo_8a0e647447974eaf97d0d94fe660c888", "object": "CustomsInfo", - "created_at": "2024-01-19T21:40:55Z", - "updated_at": "2024-01-19T21:40:55Z", + "created_at": "2024-01-24T00:05:54Z", + "updated_at": "2024-01-24T00:05:54Z", "contents_explanation": "", "contents_type": "merchandise", "customs_certify": true, @@ -40,10 +40,10 @@ "declaration": null, "customs_items": [ { - "id": "cstitem_897e45137fe5445b8fd25b531fc37493", + "id": "cstitem_34121009b24446eca08712c10b95ffb7", "object": "CustomsItem", - "created_at": "2024-01-19T21:40:55Z", - "updated_at": "2024-01-19T21:40:55Z", + "created_at": "2024-01-24T00:05:54Z", + "updated_at": "2024-01-24T00:05:54Z", "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": "US", @@ -60,10 +60,10 @@ ] }, "from_address": { - "id": "adr_6ccfb677b71311ee974bac1f6bc539ae", + "id": "adr_57988df8ba4c11ee8d3bac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:40:55+00:00", - "updated_at": "2024-01-19T21:40:55+00:00", + "created_at": "2024-01-24T00:05:54+00:00", + "updated_at": "2024-01-24T00:05:54+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -84,10 +84,10 @@ "insurance": null, "order_id": null, "parcel": { - "id": "prcl_ae2d7d66d6c94f63b588d552a7abe104", + "id": "prcl_5e953fb53a5f4207b7d6ee32267d25cb", "object": "Parcel", - "created_at": "2024-01-19T21:40:55Z", - "updated_at": "2024-01-19T21:40:55Z", + "created_at": "2024-01-24T00:05:54Z", + "updated_at": "2024-01-24T00:05:54Z", "length": 20.2, "width": 10.9, "height": 5.0, @@ -98,114 +98,114 @@ "postage_label": null, "rates": [ { - "id": "rate_caad818c21154e50b502f50656955b9a", + "id": "rate_caa4e8d8f0ae4a06b7ea79451886c781", "object": "Rate", - "created_at": "2024-01-19T21:40:56Z", - "updated_at": "2024-01-19T21:40:56Z", + "created_at": "2024-01-24T00:05:54Z", + "updated_at": "2024-01-24T00:05:54Z", "mode": "test", "service": "Express", "carrier": "USPS", - "rate": "46.85", + "rate": "49.60", "currency": "USD", - "retail_rate": "54.20", + "retail_rate": "57.40", "retail_currency": "USD", - "list_rate": "46.85", + "list_rate": "49.60", "list_currency": "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": null, - "shipment_id": "shp_6602fa67597a43a3abdc4b044cef3fe0", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_ca70827221b04ad589f0d170ec933f52", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_77f385ab06f64e2caf8a0b8c29390eee", + "id": "rate_c5c1761ec40244e3bb06e16e4bf84e27", "object": "Rate", - "created_at": "2024-01-19T21:40:56Z", - "updated_at": "2024-01-19T21:40:56Z", + "created_at": "2024-01-24T00:05:54Z", + "updated_at": "2024-01-24T00:05:54Z", "mode": "test", "service": "Priority", "carrier": "USPS", - "rate": "7.99", + "rate": "7.33", "currency": "USD", - "retail_rate": "14.05", + "retail_rate": "15.20", "retail_currency": "USD", - "list_rate": "10.27", + "list_rate": "10.89", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 2, - "shipment_id": "shp_6602fa67597a43a3abdc4b044cef3fe0", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_ca70827221b04ad589f0d170ec933f52", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_47009bdbca044be1b9effe5ef8abb17f", + "id": "rate_4f361f673c364f28bd4c8aa806c9a226", "object": "Rate", - "created_at": "2024-01-19T21:40:56Z", - "updated_at": "2024-01-19T21:40:56Z", + "created_at": "2024-01-24T00:05:54Z", + "updated_at": "2024-01-24T00:05:54Z", "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", "currency": "USD", - "retail_rate": "12.45", + "retail_rate": "13.15", "retail_currency": "USD", - "list_rate": "8.92", + "list_rate": "9.41", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_6602fa67597a43a3abdc4b044cef3fe0", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_ca70827221b04ad589f0d170ec933f52", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_f7a4973a87f646fe9c3ff93cfdff1de4", + "id": "rate_c201b421c0304e73a4320c240d3c206b", "object": "Rate", - "created_at": "2024-01-19T21:40:56Z", - "updated_at": "2024-01-19T21:40:56Z", + "created_at": "2024-01-24T00:05:54Z", + "updated_at": "2024-01-24T00:05:54Z", "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": "USD", - "retail_rate": "12.45", + "retail_rate": "13.15", "retail_currency": "USD", - "list_rate": "8.92", + "list_rate": "9.41", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_6602fa67597a43a3abdc4b044cef3fe0", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_ca70827221b04ad589f0d170ec933f52", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_5e08b7a12bf040d690cd045d878beb67", + "id": "rate_c1a6b070dd9d45acb3f3a3eaf3a439bd", "object": "Rate", - "created_at": "2024-01-19T21:40:56Z", - "updated_at": "2024-01-19T21:40:56Z", + "created_at": "2024-01-24T00:05:54Z", + "updated_at": "2024-01-24T00:05:54Z", "mode": "test", "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": "USD", - "retail_rate": "12.45", + "retail_rate": "13.15", "retail_currency": "USD", - "list_rate": "8.92", + "list_rate": "9.41", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_6602fa67597a43a3abdc4b044cef3fe0", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_ca70827221b04ad589f0d170ec933f52", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" } ], "refund_status": null, @@ -213,10 +213,10 @@ "selected_rate": null, "tracker": null, "to_address": { - "id": "adr_6cccdebbb71311ee9631ac1f6bc53342", + "id": "adr_5795ce04ba4c11ee8d39ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:40:55+00:00", - "updated_at": "2024-01-19T21:40:55+00:00", + "created_at": "2024-01-24T00:05:54+00:00", + "updated_at": "2024-01-24T00:05:54+00:00", "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", @@ -236,10 +236,10 @@ }, "usps_zone": 4, "return_address": { - "id": "adr_6ccfb677b71311ee974bac1f6bc539ae", + "id": "adr_57988df8ba4c11ee8d3bac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:40:55+00:00", - "updated_at": "2024-01-19T21:40:55+00:00", + "created_at": "2024-01-24T00:05:54+00:00", + "updated_at": "2024-01-24T00:05:54+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -258,10 +258,10 @@ "verifications": {} }, "buyer_address": { - "id": "adr_6cccdebbb71311ee9631ac1f6bc53342", + "id": "adr_5795ce04ba4c11ee8d39ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:40:55+00:00", - "updated_at": "2024-01-19T21:40:55+00:00", + "created_at": "2024-01-24T00:05:54+00:00", + "updated_at": "2024-01-24T00:05:54+00:00", "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", @@ -281,6 +281,6 @@ }, "forms": [], "fees": [], - "id": "shp_6602fa67597a43a3abdc4b044cef3fe0", + "id": "shp_ca70827221b04ad589f0d170ec933f52", "object": "Shipment" } diff --git a/official/docs/responses/orders/orders-buy.json b/official/docs/responses/orders/orders-buy.json index 3ba91d4b..4d6fa1f7 100644 --- a/official/docs/responses/orders/orders-buy.json +++ b/official/docs/responses/orders/orders-buy.json @@ -9,14 +9,14 @@ } }, "messages": [], - "created_at": "2024-01-19T21:40:57Z", - "updated_at": "2024-01-19T21:40:58Z", + "created_at": "2024-01-24T00:05:56Z", + "updated_at": "2024-01-24T00:05:56Z", "customs_info": null, "from_address": { - "id": "adr_6e41e4a5b71311ee97ceac1f6bc539ae", + "id": "adr_58ec479fba4c11ee975e3cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:40:57+00:00", - "updated_at": "2024-01-19T21:40:57+00:00", + "created_at": "2024-01-24T00:05:56+00:00", + "updated_at": "2024-01-24T00:05:56+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -35,10 +35,10 @@ "verifications": {} }, "to_address": { - "id": "adr_6e3fba44b71311ee96afac1f6bc53342", + "id": "adr_58ea8f17ba4c11eea6f0ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T21:40:57+00:00", - "updated_at": "2024-01-19T21:40:59+00:00", + "created_at": "2024-01-24T00:05:56+00:00", + "updated_at": "2024-01-24T00:05:57+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", @@ -72,10 +72,10 @@ } }, "buyer_address": { - "id": "adr_6e3fba44b71311ee96afac1f6bc53342", + "id": "adr_58ea8f17ba4c11eea6f0ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T21:40:57+00:00", - "updated_at": "2024-01-19T21:40:59+00:00", + "created_at": "2024-01-24T00:05:56+00:00", + "updated_at": "2024-01-24T00:05:57+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", @@ -109,10 +109,10 @@ } }, "return_address": { - "id": "adr_6e41e4a5b71311ee97ceac1f6bc539ae", + "id": "adr_58ec479fba4c11ee975e3cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:40:57+00:00", - "updated_at": "2024-01-19T21:40:57+00:00", + "created_at": "2024-01-24T00:05:56+00:00", + "updated_at": "2024-01-24T00:05:56+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -132,7 +132,7 @@ }, "shipments": [ { - "created_at": "2024-01-19T21:40:57Z", + "created_at": "2024-01-24T00:05:56Z", "is_return": false, "messages": [], "mode": "test", @@ -145,17 +145,17 @@ }, "reference": null, "status": "unknown", - "tracking_code": "9400100207552010707617", - "updated_at": "2024-01-19T21:40:59Z", + "tracking_code": "9400100207552011812556", + "updated_at": "2024-01-24T00:05:58Z", "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": null, "from_address": { - "id": "adr_6e41e4a5b71311ee97ceac1f6bc539ae", + "id": "adr_58ec479fba4c11ee975e3cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:40:57+00:00", - "updated_at": "2024-01-19T21:40:57+00:00", + "created_at": "2024-01-24T00:05:56+00:00", + "updated_at": "2024-01-24T00:05:56+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -174,12 +174,12 @@ "verifications": {} }, "insurance": null, - "order_id": "order_c9ac9440c9b14226baf7e2de4e9b43b8", + "order_id": "order_12032df7a2c440c08adcf90653c22b9b", "parcel": { - "id": "prcl_fa3d9b3650e6497a96aaa24aae987560", + "id": "prcl_2e3d35cf1f4645a8bb23095b8cd4382e", "object": "Parcel", - "created_at": "2024-01-19T21:40:57Z", - "updated_at": "2024-01-19T21:40:57Z", + "created_at": "2024-01-24T00:05:56Z", + "updated_at": "2024-01-24T00:05:56Z", "length": null, "width": null, "height": null, @@ -189,17 +189,17 @@ }, "postage_label": { "object": "PostageLabel", - "id": "pl_0fc65726a88e422c8dd01e6b33a7d89d", - "created_at": "2024-01-19T21:40:59Z", - "updated_at": "2024-01-19T21:40:59Z", + "id": "pl_717a685a1bb7490f908559900668f9d7", + "created_at": "2024-01-24T00:05:57Z", + "updated_at": "2024-01-24T00:05:57Z", "date_advance": 0, "integrated_form": "none", - "label_date": "2024-01-19T21:40:59Z", + "label_date": "2024-01-24T00:05:57Z", "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": "image/png", - "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8e7c19abb9fdd42719607060930ad4eaf.png", + "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240124/e82f4c1546988644378a9a63fb5bb1507e.png", "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, @@ -207,164 +207,164 @@ }, "rates": [ { - "id": "rate_a0ccacd39a7d477f8bb62010398efd61", + "id": "rate_a15180650fa747c9b39df69fed0837cc", "object": "Rate", - "created_at": "2024-01-19T21:40:58Z", - "updated_at": "2024-01-19T21:40:58Z", + "created_at": "2024-01-24T00:05:56Z", + "updated_at": "2024-01-24T00:05:56Z", "mode": "test", - "service": "GroundAdvantage", + "service": "Express", "carrier": "USPS", - "rate": "4.81", + "rate": "33.10", "currency": "USD", - "retail_rate": "6.35", + "retail_rate": "37.90", "retail_currency": "USD", - "list_rate": "4.81", + "list_rate": "33.10", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, - "shipment_id": "shp_4247b1c0069e44ca9562013f148896da", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "est_delivery_days": null, + "shipment_id": "shp_3767a779a1b442d9bbf80a81c58499d8", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_5a9f414cda3946248ebbfa1d5df9f9e8", + "id": "rate_f80af12685ed43dd8449574aaa79d320", "object": "Rate", - "created_at": "2024-01-19T21:40:58Z", - "updated_at": "2024-01-19T21:40:58Z", + "created_at": "2024-01-24T00:05:56Z", + "updated_at": "2024-01-24T00:05:56Z", "mode": "test", - "service": "First", + "service": "Priority", "carrier": "USPS", - "rate": "4.81", + "rate": "6.88", "currency": "USD", - "retail_rate": "6.35", + "retail_rate": "9.80", "retail_currency": "USD", - "list_rate": "4.81", + "list_rate": "8.25", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, + "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, - "shipment_id": "shp_4247b1c0069e44ca9562013f148896da", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "est_delivery_days": 2, + "shipment_id": "shp_3767a779a1b442d9bbf80a81c58499d8", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_f46e6837bc104d58b1b36d247664204a", + "id": "rate_1a9a747ade654bae93f2b81003af08dc", "object": "Rate", - "created_at": "2024-01-19T21:40:58Z", - "updated_at": "2024-01-19T21:40:58Z", + "created_at": "2024-01-24T00:05:56Z", + "updated_at": "2024-01-24T00:05:56Z", "mode": "test", - "service": "ParcelSelect", + "service": "GroundAdvantage", "carrier": "USPS", - "rate": "4.81", + "rate": "5.07", "currency": "USD", - "retail_rate": "6.35", + "retail_rate": "6.70", "retail_currency": "USD", - "list_rate": "4.81", + "list_rate": "5.07", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_4247b1c0069e44ca9562013f148896da", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_3767a779a1b442d9bbf80a81c58499d8", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_878b7574c72845528abe04f2316a255c", + "id": "rate_e5a4f53119594475935dc6c89990e9f9", "object": "Rate", - "created_at": "2024-01-19T21:40:58Z", - "updated_at": "2024-01-19T21:40:58Z", + "created_at": "2024-01-24T00:05:56Z", + "updated_at": "2024-01-24T00:05:56Z", "mode": "test", - "service": "Express", + "service": "First", "carrier": "USPS", - "rate": "31.25", + "rate": "5.07", "currency": "USD", - "retail_rate": "35.80", + "retail_rate": "6.70", "retail_currency": "USD", - "list_rate": "31.25", + "list_rate": "5.07", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": null, - "shipment_id": "shp_4247b1c0069e44ca9562013f148896da", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "est_delivery_days": 3, + "shipment_id": "shp_3767a779a1b442d9bbf80a81c58499d8", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_a370ea5586c8487b995e0c5e0eea92ae", + "id": "rate_0a08acd20fe5497191b4346db709464b", "object": "Rate", - "created_at": "2024-01-19T21:40:58Z", - "updated_at": "2024-01-19T21:40:58Z", + "created_at": "2024-01-24T00:05:56Z", + "updated_at": "2024-01-24T00:05:56Z", "mode": "test", - "service": "Priority", + "service": "ParcelSelect", "carrier": "USPS", - "rate": "6.95", + "rate": "5.07", "currency": "USD", - "retail_rate": "10.20", + "retail_rate": "6.70", "retail_currency": "USD", - "list_rate": "8.24", + "list_rate": "5.07", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 2, + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 2, - "shipment_id": "shp_4247b1c0069e44ca9562013f148896da", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "est_delivery_days": 3, + "shipment_id": "shp_3767a779a1b442d9bbf80a81c58499d8", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" } ], "refund_status": null, "scan_form": null, "selected_rate": { - "id": "rate_5a9f414cda3946248ebbfa1d5df9f9e8", + "id": "rate_e5a4f53119594475935dc6c89990e9f9", "object": "Rate", - "created_at": "2024-01-19T21:40:59Z", - "updated_at": "2024-01-19T21:40:59Z", + "created_at": "2024-01-24T00:05:57Z", + "updated_at": "2024-01-24T00:05:57Z", "mode": "test", "service": "First", "carrier": "USPS", - "rate": "4.81", + "rate": "5.07", "currency": "USD", - "retail_rate": "6.35", + "retail_rate": "6.70", "retail_currency": "USD", - "list_rate": "4.81", + "list_rate": "5.07", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_4247b1c0069e44ca9562013f148896da", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_3767a779a1b442d9bbf80a81c58499d8", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, "tracker": { - "id": "trk_96c00f083f8b402cb0d735b68cf121bc", + "id": "trk_2165a610b2ca4c0da08583c70a0efa27", "object": "Tracker", "mode": "test", - "tracking_code": "9400100207552010707617", + "tracking_code": "9400100207552011812556", "status": "unknown", "status_detail": "unknown", - "created_at": "2024-01-19T21:41:00Z", - "updated_at": "2024-01-19T21:41:00Z", + "created_at": "2024-01-24T00:05:58Z", + "updated_at": "2024-01-24T00:05:58Z", "signed_by": null, "weight": null, "est_delivery_date": null, - "shipment_id": "shp_4247b1c0069e44ca9562013f148896da", + "shipment_id": "shp_3767a779a1b442d9bbf80a81c58499d8", "carrier": "USPS", "tracking_details": [], "fees": [], "carrier_detail": null, - "public_url": "https://track.easypost.com/djE6dHJrXzk2YzAwZjA4M2Y4YjQwMmNiMGQ3MzViNjhjZjEyMWJj" + "public_url": "https://track.easypost.com/djE6dHJrXzIxNjVhNjEwYjJjYTRjMGRhMDg1ODNjNzBhMGVmYTI3" }, "to_address": { - "id": "adr_6e3fba44b71311ee96afac1f6bc53342", + "id": "adr_58ea8f17ba4c11eea6f0ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T21:40:57+00:00", - "updated_at": "2024-01-19T21:40:59+00:00", + "created_at": "2024-01-24T00:05:56+00:00", + "updated_at": "2024-01-24T00:05:57+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", @@ -399,10 +399,10 @@ }, "usps_zone": 4, "return_address": { - "id": "adr_6e41e4a5b71311ee97ceac1f6bc539ae", + "id": "adr_58ec479fba4c11ee975e3cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:40:57+00:00", - "updated_at": "2024-01-19T21:40:57+00:00", + "created_at": "2024-01-24T00:05:56+00:00", + "updated_at": "2024-01-24T00:05:56+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -421,10 +421,10 @@ "verifications": {} }, "buyer_address": { - "id": "adr_6e3fba44b71311ee96afac1f6bc53342", + "id": "adr_58ea8f17ba4c11eea6f0ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T21:40:57+00:00", - "updated_at": "2024-01-19T21:40:59+00:00", + "created_at": "2024-01-24T00:05:56+00:00", + "updated_at": "2024-01-24T00:05:57+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", @@ -469,127 +469,127 @@ { "object": "Fee", "type": "PostageFee", - "amount": "4.81000", + "amount": "5.07000", "charged": true, "refunded": false } ], - "id": "shp_4247b1c0069e44ca9562013f148896da", + "id": "shp_3767a779a1b442d9bbf80a81c58499d8", "object": "Shipment" } ], "rates": [ { - "id": "rate_a0ccacd39a7d477f8bb62010398efd61", + "id": "rate_a15180650fa747c9b39df69fed0837cc", "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "GroundAdvantage", + "service": "Express", "carrier": "USPS", - "rate": "4.81", + "rate": "33.10", "currency": "USD", - "retail_rate": "6.35", + "retail_rate": "37.90", "retail_currency": "USD", - "list_rate": "4.81", + "list_rate": "33.10", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, - "shipment_id": "shp_4247b1c0069e44ca9562013f148896da", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "est_delivery_days": null, + "shipment_id": "shp_3767a779a1b442d9bbf80a81c58499d8", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_5a9f414cda3946248ebbfa1d5df9f9e8", + "id": "rate_f80af12685ed43dd8449574aaa79d320", "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "First", + "service": "Priority", "carrier": "USPS", - "rate": "4.81", + "rate": "6.88", "currency": "USD", - "retail_rate": "6.35", + "retail_rate": "9.80", "retail_currency": "USD", - "list_rate": "4.81", + "list_rate": "8.25", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, + "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, - "shipment_id": "shp_4247b1c0069e44ca9562013f148896da", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "est_delivery_days": 2, + "shipment_id": "shp_3767a779a1b442d9bbf80a81c58499d8", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_f46e6837bc104d58b1b36d247664204a", + "id": "rate_1a9a747ade654bae93f2b81003af08dc", "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "ParcelSelect", + "service": "GroundAdvantage", "carrier": "USPS", - "rate": "4.81", + "rate": "5.07", "currency": "USD", - "retail_rate": "6.35", + "retail_rate": "6.70", "retail_currency": "USD", - "list_rate": "4.81", + "list_rate": "5.07", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_4247b1c0069e44ca9562013f148896da", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_3767a779a1b442d9bbf80a81c58499d8", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_878b7574c72845528abe04f2316a255c", + "id": "rate_e5a4f53119594475935dc6c89990e9f9", "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "Express", + "service": "First", "carrier": "USPS", - "rate": "31.25", + "rate": "5.07", "currency": "USD", - "retail_rate": "35.80", + "retail_rate": "6.70", "retail_currency": "USD", - "list_rate": "31.25", + "list_rate": "5.07", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": null, - "shipment_id": "shp_4247b1c0069e44ca9562013f148896da", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "est_delivery_days": 3, + "shipment_id": "shp_3767a779a1b442d9bbf80a81c58499d8", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_a370ea5586c8487b995e0c5e0eea92ae", + "id": "rate_0a08acd20fe5497191b4346db709464b", "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "Priority", + "service": "ParcelSelect", "carrier": "USPS", - "rate": "6.95", + "rate": "5.07", "currency": "USD", - "retail_rate": "10.20", + "retail_rate": "6.70", "retail_currency": "USD", - "list_rate": "8.24", + "list_rate": "5.07", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 2, + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 2, - "shipment_id": "shp_4247b1c0069e44ca9562013f148896da", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "est_delivery_days": 3, + "shipment_id": "shp_3767a779a1b442d9bbf80a81c58499d8", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" } ], - "id": "order_c9ac9440c9b14226baf7e2de4e9b43b8", + "id": "order_12032df7a2c440c08adcf90653c22b9b", "object": "Order" } diff --git a/official/docs/responses/orders/orders-create.json b/official/docs/responses/orders/orders-create.json index 839baaf7..6e035579 100644 --- a/official/docs/responses/orders/orders-create.json +++ b/official/docs/responses/orders/orders-create.json @@ -9,14 +9,14 @@ } }, "messages": [], - "created_at": "2024-01-19T21:47:15Z", - "updated_at": "2024-01-19T21:47:16Z", + "created_at": "2024-01-24T00:05:55Z", + "updated_at": "2024-01-24T00:05:55Z", "customs_info": null, "from_address": { - "id": "adr_4f938043b71411eea2f2ac1f6bc53342", + "id": "adr_57ea4540ba4c11ee8d58ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:47:15+00:00", - "updated_at": "2024-01-19T21:47:15+00:00", + "created_at": "2024-01-24T00:05:55+00:00", + "updated_at": "2024-01-24T00:05:55+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -35,10 +35,10 @@ "verifications": {} }, "to_address": { - "id": "adr_4f91cfcfb71411eea2f1ac1f6bc53342", + "id": "adr_57e87debba4c11eebad4ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:47:15+00:00", - "updated_at": "2024-01-19T21:47:15+00:00", + "created_at": "2024-01-24T00:05:55+00:00", + "updated_at": "2024-01-24T00:05:55+00:00", "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", @@ -57,10 +57,10 @@ "verifications": {} }, "buyer_address": { - "id": "adr_4f91cfcfb71411eea2f1ac1f6bc53342", + "id": "adr_57e87debba4c11eebad4ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:47:15+00:00", - "updated_at": "2024-01-19T21:47:15+00:00", + "created_at": "2024-01-24T00:05:55+00:00", + "updated_at": "2024-01-24T00:05:55+00:00", "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", @@ -79,10 +79,10 @@ "verifications": {} }, "return_address": { - "id": "adr_4f938043b71411eea2f2ac1f6bc53342", + "id": "adr_57ea4540ba4c11ee8d58ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:47:15+00:00", - "updated_at": "2024-01-19T21:47:15+00:00", + "created_at": "2024-01-24T00:05:55+00:00", + "updated_at": "2024-01-24T00:05:55+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -102,46 +102,9 @@ }, "shipments": [ { - "created_at": "2024-01-19T21:47:15Z", + "created_at": "2024-01-24T00:05:55Z", "is_return": false, - "messages": [ - { - "carrier": "DhlEcs", - "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", - "message": "Unauthorized. Please check credentials and try again" - }, - { - "carrier": "DhlEcs", - "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", - "message": "Unauthorized. Please check credentials and try again" - }, - { - "carrier": "DhlEcs", - "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", - "message": "Unauthorized. Please check credentials and try again" - }, - { - "carrier": "DhlEcs", - "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", - "message": "Unauthorized. Please check credentials and try again" - }, - { - "carrier": "DhlEcs", - "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", - "message": "Unauthorized. Please check credentials and try again" - }, - { - "carrier": "DhlEcs", - "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", - "message": "Unauthorized. Please check credentials and try again" - } - ], + "messages": [], "mode": "test", "options": { "currency": "USD", @@ -153,16 +116,16 @@ "reference": null, "status": "unknown", "tracking_code": null, - "updated_at": "2024-01-19T21:47:15Z", + "updated_at": "2024-01-24T00:05:55Z", "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": null, "from_address": { - "id": "adr_4f938043b71411eea2f2ac1f6bc53342", + "id": "adr_57ea4540ba4c11ee8d58ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:47:15+00:00", - "updated_at": "2024-01-19T21:47:15+00:00", + "created_at": "2024-01-24T00:05:55+00:00", + "updated_at": "2024-01-24T00:05:55+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -181,12 +144,12 @@ "verifications": {} }, "insurance": null, - "order_id": "order_fd0d98639ea047f0a48d8ff737f317b2", + "order_id": "order_825e4008bd1448c5acf82bb90dc461ca", "parcel": { - "id": "prcl_c8daca0797224644b22bc238a250ff0e", + "id": "prcl_ca08509bfc8347748c8acb479ec7c0dd", "object": "Parcel", - "created_at": "2024-01-19T21:47:15Z", - "updated_at": "2024-01-19T21:47:15Z", + "created_at": "2024-01-24T00:05:55Z", + "updated_at": "2024-01-24T00:05:55Z", "length": null, "width": null, "height": null, @@ -197,114 +160,114 @@ "postage_label": null, "rates": [ { - "id": "rate_0dcd85915704404989569b945799b52f", + "id": "rate_ce70a3f843e74306a5271286a315c8d6", "object": "Rate", - "created_at": "2024-01-19T21:47:16Z", - "updated_at": "2024-01-19T21:47:16Z", + "created_at": "2024-01-24T00:05:55Z", + "updated_at": "2024-01-24T00:05:55Z", "mode": "test", - "service": "Priority", + "service": "Express", "carrier": "USPS", - "rate": "6.95", + "rate": "33.10", "currency": "USD", - "retail_rate": "10.20", + "retail_rate": "37.90", "retail_currency": "USD", - "list_rate": "8.24", + "list_rate": "33.10", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 2, + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 2, - "shipment_id": "shp_8b0c0f5ead074e8fb9cf3b840c22454d", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "est_delivery_days": null, + "shipment_id": "shp_f4ca387fab464f7dac233a355801b61c", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_7e59c26baccf40b7b23ccc045b248ebf", + "id": "rate_bd2b1a604fdf497b950763818474b99c", "object": "Rate", - "created_at": "2024-01-19T21:47:16Z", - "updated_at": "2024-01-19T21:47:16Z", + "created_at": "2024-01-24T00:05:55Z", + "updated_at": "2024-01-24T00:05:55Z", "mode": "test", - "service": "GroundAdvantage", + "service": "Priority", "carrier": "USPS", - "rate": "4.81", + "rate": "6.88", "currency": "USD", - "retail_rate": "6.35", + "retail_rate": "9.80", "retail_currency": "USD", - "list_rate": "4.81", + "list_rate": "8.25", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, + "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, - "shipment_id": "shp_8b0c0f5ead074e8fb9cf3b840c22454d", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "est_delivery_days": 2, + "shipment_id": "shp_f4ca387fab464f7dac233a355801b61c", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_b231b564a8234095b5b8aef24aa765e6", + "id": "rate_cceeab9b94c74cd98b2bea0a53f092bb", "object": "Rate", - "created_at": "2024-01-19T21:47:16Z", - "updated_at": "2024-01-19T21:47:16Z", + "created_at": "2024-01-24T00:05:55Z", + "updated_at": "2024-01-24T00:05:55Z", "mode": "test", - "service": "First", + "service": "GroundAdvantage", "carrier": "USPS", - "rate": "4.81", + "rate": "5.07", "currency": "USD", - "retail_rate": "6.35", + "retail_rate": "6.70", "retail_currency": "USD", - "list_rate": "4.81", + "list_rate": "5.07", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_8b0c0f5ead074e8fb9cf3b840c22454d", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_f4ca387fab464f7dac233a355801b61c", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_7591b10c8e6e46cb9faa1eb63e636679", + "id": "rate_98a7f1f78555474f9d12fcc38fc4b640", "object": "Rate", - "created_at": "2024-01-19T21:47:16Z", - "updated_at": "2024-01-19T21:47:16Z", + "created_at": "2024-01-24T00:05:55Z", + "updated_at": "2024-01-24T00:05:55Z", "mode": "test", - "service": "ParcelSelect", + "service": "First", "carrier": "USPS", - "rate": "4.81", + "rate": "5.07", "currency": "USD", - "retail_rate": "6.35", + "retail_rate": "6.70", "retail_currency": "USD", - "list_rate": "4.81", + "list_rate": "5.07", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_8b0c0f5ead074e8fb9cf3b840c22454d", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_f4ca387fab464f7dac233a355801b61c", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_5290a94545ac426c9a2107026b7844da", + "id": "rate_674286cd966845ae8a830c4b554c00a0", "object": "Rate", - "created_at": "2024-01-19T21:47:16Z", - "updated_at": "2024-01-19T21:47:16Z", + "created_at": "2024-01-24T00:05:55Z", + "updated_at": "2024-01-24T00:05:55Z", "mode": "test", - "service": "Express", + "service": "ParcelSelect", "carrier": "USPS", - "rate": "31.25", + "rate": "5.07", "currency": "USD", - "retail_rate": "35.80", + "retail_rate": "6.70", "retail_currency": "USD", - "list_rate": "31.25", + "list_rate": "5.07", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": null, - "shipment_id": "shp_8b0c0f5ead074e8fb9cf3b840c22454d", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "est_delivery_days": 3, + "shipment_id": "shp_f4ca387fab464f7dac233a355801b61c", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" } ], "refund_status": null, @@ -312,10 +275,10 @@ "selected_rate": null, "tracker": null, "to_address": { - "id": "adr_4f91cfcfb71411eea2f1ac1f6bc53342", + "id": "adr_57e87debba4c11eebad4ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:47:15+00:00", - "updated_at": "2024-01-19T21:47:15+00:00", + "created_at": "2024-01-24T00:05:55+00:00", + "updated_at": "2024-01-24T00:05:55+00:00", "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", @@ -335,10 +298,10 @@ }, "usps_zone": 4, "return_address": { - "id": "adr_4f938043b71411eea2f2ac1f6bc53342", + "id": "adr_57ea4540ba4c11ee8d58ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:47:15+00:00", - "updated_at": "2024-01-19T21:47:15+00:00", + "created_at": "2024-01-24T00:05:55+00:00", + "updated_at": "2024-01-24T00:05:55+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -357,10 +320,10 @@ "verifications": {} }, "buyer_address": { - "id": "adr_4f91cfcfb71411eea2f1ac1f6bc53342", + "id": "adr_57e87debba4c11eebad4ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:47:15+00:00", - "updated_at": "2024-01-19T21:47:15+00:00", + "created_at": "2024-01-24T00:05:55+00:00", + "updated_at": "2024-01-24T00:05:55+00:00", "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", @@ -380,122 +343,122 @@ }, "forms": [], "fees": [], - "id": "shp_8b0c0f5ead074e8fb9cf3b840c22454d", + "id": "shp_f4ca387fab464f7dac233a355801b61c", "object": "Shipment" } ], "rates": [ { - "id": "rate_0dcd85915704404989569b945799b52f", + "id": "rate_ce70a3f843e74306a5271286a315c8d6", "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "Priority", + "service": "Express", "carrier": "USPS", - "rate": "6.95", + "rate": "33.10", "currency": "USD", - "retail_rate": "10.20", + "retail_rate": "37.90", "retail_currency": "USD", - "list_rate": "8.24", + "list_rate": "33.10", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 2, + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 2, - "shipment_id": "shp_8b0c0f5ead074e8fb9cf3b840c22454d", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "est_delivery_days": null, + "shipment_id": "shp_f4ca387fab464f7dac233a355801b61c", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_7e59c26baccf40b7b23ccc045b248ebf", + "id": "rate_bd2b1a604fdf497b950763818474b99c", "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "GroundAdvantage", + "service": "Priority", "carrier": "USPS", - "rate": "4.81", + "rate": "6.88", "currency": "USD", - "retail_rate": "6.35", + "retail_rate": "9.80", "retail_currency": "USD", - "list_rate": "4.81", + "list_rate": "8.25", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, + "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, - "shipment_id": "shp_8b0c0f5ead074e8fb9cf3b840c22454d", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "est_delivery_days": 2, + "shipment_id": "shp_f4ca387fab464f7dac233a355801b61c", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_b231b564a8234095b5b8aef24aa765e6", + "id": "rate_cceeab9b94c74cd98b2bea0a53f092bb", "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "First", + "service": "GroundAdvantage", "carrier": "USPS", - "rate": "4.81", + "rate": "5.07", "currency": "USD", - "retail_rate": "6.35", + "retail_rate": "6.70", "retail_currency": "USD", - "list_rate": "4.81", + "list_rate": "5.07", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_8b0c0f5ead074e8fb9cf3b840c22454d", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_f4ca387fab464f7dac233a355801b61c", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_7591b10c8e6e46cb9faa1eb63e636679", + "id": "rate_98a7f1f78555474f9d12fcc38fc4b640", "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "ParcelSelect", + "service": "First", "carrier": "USPS", - "rate": "4.81", + "rate": "5.07", "currency": "USD", - "retail_rate": "6.35", + "retail_rate": "6.70", "retail_currency": "USD", - "list_rate": "4.81", + "list_rate": "5.07", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_8b0c0f5ead074e8fb9cf3b840c22454d", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_f4ca387fab464f7dac233a355801b61c", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_5290a94545ac426c9a2107026b7844da", + "id": "rate_674286cd966845ae8a830c4b554c00a0", "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "Express", + "service": "ParcelSelect", "carrier": "USPS", - "rate": "31.25", + "rate": "5.07", "currency": "USD", - "retail_rate": "35.80", + "retail_rate": "6.70", "retail_currency": "USD", - "list_rate": "31.25", + "list_rate": "5.07", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": null, - "shipment_id": "shp_8b0c0f5ead074e8fb9cf3b840c22454d", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "est_delivery_days": 3, + "shipment_id": "shp_f4ca387fab464f7dac233a355801b61c", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" } ], - "id": "order_fd0d98639ea047f0a48d8ff737f317b2", + "id": "order_825e4008bd1448c5acf82bb90dc461ca", "object": "Order" } diff --git a/official/docs/responses/orders/orders-one-call-buy.json b/official/docs/responses/orders/orders-one-call-buy.json index e8d8f999..bebeda5d 100644 --- a/official/docs/responses/orders/orders-one-call-buy.json +++ b/official/docs/responses/orders/orders-one-call-buy.json @@ -9,14 +9,14 @@ "type": "SENDER" } }, - "created_at": "2024-01-19T21:41:00Z", - "updated_at": "2024-01-19T21:41:00Z", + "created_at": "2024-01-24T00:05:58Z", + "updated_at": "2024-01-24T00:05:58Z", "customs_info": null, "from_address": { - "id": "adr_6ffbd0f5b71311ee975cac1f6bc53342", + "id": "adr_5a0f5af8ba4c11eebb69ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:41:00+00:00", - "updated_at": "2024-01-19T21:41:00+00:00", + "created_at": "2024-01-24T00:05:58+00:00", + "updated_at": "2024-01-24T00:05:58+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -35,10 +35,10 @@ "verifications": {} }, "to_address": { - "id": "adr_6ffa7cc8b71311ee9870ac1f6bc539ae", + "id": "adr_5a0dc9a4ba4c11ee8df2ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:41:00+00:00", - "updated_at": "2024-01-19T21:41:00+00:00", + "created_at": "2024-01-24T00:05:58+00:00", + "updated_at": "2024-01-24T00:05:58+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", @@ -72,10 +72,10 @@ } }, "buyer_address": { - "id": "adr_6ffa7cc8b71311ee9870ac1f6bc539ae", + "id": "adr_5a0dc9a4ba4c11ee8df2ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:41:00+00:00", - "updated_at": "2024-01-19T21:41:00+00:00", + "created_at": "2024-01-24T00:05:58+00:00", + "updated_at": "2024-01-24T00:05:58+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", @@ -109,10 +109,10 @@ } }, "return_address": { - "id": "adr_6ffbd0f5b71311ee975cac1f6bc53342", + "id": "adr_5a0f5af8ba4c11eebb69ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:41:00+00:00", - "updated_at": "2024-01-19T21:41:00+00:00", + "created_at": "2024-01-24T00:05:58+00:00", + "updated_at": "2024-01-24T00:05:58+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -132,7 +132,7 @@ }, "shipments": [ { - "created_at": "2024-01-19T21:41:00Z", + "created_at": "2024-01-24T00:05:58Z", "is_return": false, "messages": [], "mode": "test", @@ -145,17 +145,17 @@ }, "reference": null, "status": "unknown", - "tracking_code": "9400100207552010707624", - "updated_at": "2024-01-19T21:41:01Z", + "tracking_code": "9400100207552011812563", + "updated_at": "2024-01-24T00:05:59Z", "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": null, "from_address": { - "id": "adr_6ffbd0f5b71311ee975cac1f6bc53342", + "id": "adr_5a0f5af8ba4c11eebb69ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:41:00+00:00", - "updated_at": "2024-01-19T21:41:00+00:00", + "created_at": "2024-01-24T00:05:58+00:00", + "updated_at": "2024-01-24T00:05:58+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -174,12 +174,12 @@ "verifications": {} }, "insurance": null, - "order_id": "order_19252a72d5e842a988e3a776cc3825df", + "order_id": "order_700c1e0203b24cf192d38ba62aacdb86", "parcel": { - "id": "prcl_d2fa368783e34a63984048f7e4195f97", + "id": "prcl_d12175ef61644588b383d5debb91bf96", "object": "Parcel", - "created_at": "2024-01-19T21:41:00Z", - "updated_at": "2024-01-19T21:41:00Z", + "created_at": "2024-01-24T00:05:58Z", + "updated_at": "2024-01-24T00:05:58Z", "length": null, "width": null, "height": null, @@ -189,17 +189,17 @@ }, "postage_label": { "object": "PostageLabel", - "id": "pl_8dea8cf6e5624d149b8ec5eede8fe324", - "created_at": "2024-01-19T21:41:01Z", - "updated_at": "2024-01-19T21:41:01Z", + "id": "pl_a9d0d35f3cc24095a458b14fef6cbd96", + "created_at": "2024-01-24T00:05:59Z", + "updated_at": "2024-01-24T00:05:59Z", "date_advance": 0, "integrated_form": "none", - "label_date": "2024-01-19T21:41:01Z", + "label_date": "2024-01-24T00:05:59Z", "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": "image/png", - "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e84cb1f227b69f47e098494d9950a28d37.png", + "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240124/e8050a603da7fe4bc5bc98247ca27a2dde.png", "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, @@ -207,164 +207,164 @@ }, "rates": [ { - "id": "rate_104fbc9045af4099a0b6d679aad9e96d", + "id": "rate_985c0d7c85f545ecb6367f377df13453", "object": "Rate", - "created_at": "2024-01-19T21:41:00Z", - "updated_at": "2024-01-19T21:41:00Z", + "created_at": "2024-01-24T00:05:58Z", + "updated_at": "2024-01-24T00:05:58Z", "mode": "test", - "service": "Express", + "service": "Priority", "carrier": "USPS", - "rate": "31.25", + "rate": "6.88", "currency": "USD", - "retail_rate": "35.80", + "retail_rate": "9.80", "retail_currency": "USD", - "list_rate": "31.25", + "list_rate": "8.25", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, + "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": null, - "shipment_id": "shp_52ca0171eee7472186bb4e287b79cd0c", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "est_delivery_days": 2, + "shipment_id": "shp_ca14f75e17154537a4cd8b80d31e0825", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_330b37e88e5241fba2f83133a2c74cc9", + "id": "rate_01c4b156f83247d9a8087b60ba19a4e0", "object": "Rate", - "created_at": "2024-01-19T21:41:00Z", - "updated_at": "2024-01-19T21:41:00Z", + "created_at": "2024-01-24T00:05:58Z", + "updated_at": "2024-01-24T00:05:58Z", "mode": "test", - "service": "Priority", + "service": "GroundAdvantage", "carrier": "USPS", - "rate": "6.95", + "rate": "5.07", "currency": "USD", - "retail_rate": "10.20", + "retail_rate": "6.70", "retail_currency": "USD", - "list_rate": "8.24", + "list_rate": "5.07", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 2, + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 2, - "shipment_id": "shp_52ca0171eee7472186bb4e287b79cd0c", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "est_delivery_days": 3, + "shipment_id": "shp_ca14f75e17154537a4cd8b80d31e0825", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_9ab5c8c508504dbb9b3750e1465a8ad4", + "id": "rate_b499467fd724497caf04475555082734", "object": "Rate", - "created_at": "2024-01-19T21:41:00Z", - "updated_at": "2024-01-19T21:41:00Z", + "created_at": "2024-01-24T00:05:58Z", + "updated_at": "2024-01-24T00:05:58Z", "mode": "test", - "service": "GroundAdvantage", + "service": "First", "carrier": "USPS", - "rate": "4.81", + "rate": "5.07", "currency": "USD", - "retail_rate": "6.35", + "retail_rate": "6.70", "retail_currency": "USD", - "list_rate": "4.81", + "list_rate": "5.07", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_52ca0171eee7472186bb4e287b79cd0c", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_ca14f75e17154537a4cd8b80d31e0825", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_ebd4a1a455e54eecb92f42250768eb59", + "id": "rate_b35f9780e45d463a9cf672f04fafa3c3", "object": "Rate", - "created_at": "2024-01-19T21:41:00Z", - "updated_at": "2024-01-19T21:41:00Z", + "created_at": "2024-01-24T00:05:58Z", + "updated_at": "2024-01-24T00:05:58Z", "mode": "test", - "service": "First", + "service": "ParcelSelect", "carrier": "USPS", - "rate": "4.81", + "rate": "5.07", "currency": "USD", - "retail_rate": "6.35", + "retail_rate": "6.70", "retail_currency": "USD", - "list_rate": "4.81", + "list_rate": "5.07", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_52ca0171eee7472186bb4e287b79cd0c", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_ca14f75e17154537a4cd8b80d31e0825", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_dad332e765dc47b3a4fc03d4f072c964", + "id": "rate_b1bac17f8cc6444f8d192ed09965f667", "object": "Rate", - "created_at": "2024-01-19T21:41:00Z", - "updated_at": "2024-01-19T21:41:00Z", + "created_at": "2024-01-24T00:05:58Z", + "updated_at": "2024-01-24T00:05:58Z", "mode": "test", - "service": "ParcelSelect", + "service": "Express", "carrier": "USPS", - "rate": "4.81", + "rate": "33.10", "currency": "USD", - "retail_rate": "6.35", + "retail_rate": "37.90", "retail_currency": "USD", - "list_rate": "4.81", + "list_rate": "33.10", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, - "shipment_id": "shp_52ca0171eee7472186bb4e287b79cd0c", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "est_delivery_days": null, + "shipment_id": "shp_ca14f75e17154537a4cd8b80d31e0825", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" } ], "refund_status": null, "scan_form": null, "selected_rate": { - "id": "rate_ebd4a1a455e54eecb92f42250768eb59", + "id": "rate_b499467fd724497caf04475555082734", "object": "Rate", - "created_at": "2024-01-19T21:41:01Z", - "updated_at": "2024-01-19T21:41:01Z", + "created_at": "2024-01-24T00:05:59Z", + "updated_at": "2024-01-24T00:05:59Z", "mode": "test", "service": "First", "carrier": "USPS", - "rate": "4.81", + "rate": "5.07", "currency": "USD", - "retail_rate": "6.35", + "retail_rate": "6.70", "retail_currency": "USD", - "list_rate": "4.81", + "list_rate": "5.07", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_52ca0171eee7472186bb4e287b79cd0c", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_ca14f75e17154537a4cd8b80d31e0825", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, "tracker": { - "id": "trk_1283fa3ec9374b4f939ca13020bd4b83", + "id": "trk_02a7da80556f4742b9d39a854f135661", "object": "Tracker", "mode": "test", - "tracking_code": "9400100207552010707624", + "tracking_code": "9400100207552011812563", "status": "unknown", "status_detail": "unknown", - "created_at": "2024-01-19T21:41:01Z", - "updated_at": "2024-01-19T21:41:01Z", + "created_at": "2024-01-24T00:05:59Z", + "updated_at": "2024-01-24T00:05:59Z", "signed_by": null, "weight": null, "est_delivery_date": null, - "shipment_id": "shp_52ca0171eee7472186bb4e287b79cd0c", + "shipment_id": "shp_ca14f75e17154537a4cd8b80d31e0825", "carrier": "USPS", "tracking_details": [], "fees": [], "carrier_detail": null, - "public_url": "https://track.easypost.com/djE6dHJrXzEyODNmYTNlYzkzNzRiNGY5MzljYTEzMDIwYmQ0Yjgz" + "public_url": "https://track.easypost.com/djE6dHJrXzAyYTdkYTgwNTU2ZjQ3NDJiOWQzOWE4NTRmMTM1NjYx" }, "to_address": { - "id": "adr_6ffa7cc8b71311ee9870ac1f6bc539ae", + "id": "adr_5a0dc9a4ba4c11ee8df2ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:41:00+00:00", - "updated_at": "2024-01-19T21:41:00+00:00", + "created_at": "2024-01-24T00:05:58+00:00", + "updated_at": "2024-01-24T00:05:58+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", @@ -399,10 +399,10 @@ }, "usps_zone": 4, "return_address": { - "id": "adr_6ffbd0f5b71311ee975cac1f6bc53342", + "id": "adr_5a0f5af8ba4c11eebb69ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:41:00+00:00", - "updated_at": "2024-01-19T21:41:00+00:00", + "created_at": "2024-01-24T00:05:58+00:00", + "updated_at": "2024-01-24T00:05:58+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -421,10 +421,10 @@ "verifications": {} }, "buyer_address": { - "id": "adr_6ffa7cc8b71311ee9870ac1f6bc539ae", + "id": "adr_5a0dc9a4ba4c11ee8df2ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:41:00+00:00", - "updated_at": "2024-01-19T21:41:00+00:00", + "created_at": "2024-01-24T00:05:58+00:00", + "updated_at": "2024-01-24T00:05:58+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", @@ -469,127 +469,127 @@ { "object": "Fee", "type": "PostageFee", - "amount": "4.81000", + "amount": "5.07000", "charged": true, "refunded": false } ], - "id": "shp_52ca0171eee7472186bb4e287b79cd0c", + "id": "shp_ca14f75e17154537a4cd8b80d31e0825", "object": "Shipment" } ], "rates": [ { - "id": "rate_104fbc9045af4099a0b6d679aad9e96d", + "id": "rate_985c0d7c85f545ecb6367f377df13453", "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "Express", + "service": "Priority", "carrier": "USPS", - "rate": "31.25", + "rate": "6.88", "currency": "USD", - "retail_rate": "35.80", + "retail_rate": "9.80", "retail_currency": "USD", - "list_rate": "31.25", + "list_rate": "8.25", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, + "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": null, - "shipment_id": "shp_52ca0171eee7472186bb4e287b79cd0c", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "est_delivery_days": 2, + "shipment_id": "shp_ca14f75e17154537a4cd8b80d31e0825", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_330b37e88e5241fba2f83133a2c74cc9", + "id": "rate_01c4b156f83247d9a8087b60ba19a4e0", "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "Priority", + "service": "GroundAdvantage", "carrier": "USPS", - "rate": "6.95", + "rate": "5.07", "currency": "USD", - "retail_rate": "10.20", + "retail_rate": "6.70", "retail_currency": "USD", - "list_rate": "8.24", + "list_rate": "5.07", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 2, + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 2, - "shipment_id": "shp_52ca0171eee7472186bb4e287b79cd0c", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "est_delivery_days": 3, + "shipment_id": "shp_ca14f75e17154537a4cd8b80d31e0825", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_9ab5c8c508504dbb9b3750e1465a8ad4", + "id": "rate_b499467fd724497caf04475555082734", "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "GroundAdvantage", + "service": "First", "carrier": "USPS", - "rate": "4.81", + "rate": "5.07", "currency": "USD", - "retail_rate": "6.35", + "retail_rate": "6.70", "retail_currency": "USD", - "list_rate": "4.81", + "list_rate": "5.07", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_52ca0171eee7472186bb4e287b79cd0c", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_ca14f75e17154537a4cd8b80d31e0825", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_ebd4a1a455e54eecb92f42250768eb59", + "id": "rate_b35f9780e45d463a9cf672f04fafa3c3", "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "First", + "service": "ParcelSelect", "carrier": "USPS", - "rate": "4.81", + "rate": "5.07", "currency": "USD", - "retail_rate": "6.35", + "retail_rate": "6.70", "retail_currency": "USD", - "list_rate": "4.81", + "list_rate": "5.07", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_52ca0171eee7472186bb4e287b79cd0c", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_ca14f75e17154537a4cd8b80d31e0825", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_dad332e765dc47b3a4fc03d4f072c964", + "id": "rate_b1bac17f8cc6444f8d192ed09965f667", "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", - "service": "ParcelSelect", + "service": "Express", "carrier": "USPS", - "rate": "4.81", + "rate": "33.10", "currency": "USD", - "retail_rate": "6.35", + "retail_rate": "37.90", "retail_currency": "USD", - "list_rate": "4.81", + "list_rate": "33.10", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, - "shipment_id": "shp_52ca0171eee7472186bb4e287b79cd0c", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "est_delivery_days": null, + "shipment_id": "shp_ca14f75e17154537a4cd8b80d31e0825", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" } ], - "id": "order_19252a72d5e842a988e3a776cc3825df", + "id": "order_700c1e0203b24cf192d38ba62aacdb86", "object": "Order" } diff --git a/official/docs/responses/orders/orders-retrieve.json b/official/docs/responses/orders/orders-retrieve.json index 50b491aa..3cef2f86 100644 --- a/official/docs/responses/orders/orders-retrieve.json +++ b/official/docs/responses/orders/orders-retrieve.json @@ -9,14 +9,14 @@ } }, "messages": [], - "created_at": "2024-01-19T21:40:56Z", - "updated_at": "2024-01-19T21:40:56Z", + "created_at": "2024-01-24T00:05:55Z", + "updated_at": "2024-01-24T00:05:55Z", "customs_info": null, "from_address": { - "id": "adr_6d758732b71311ee94bf3cecef1b359e", + "id": "adr_5836298bba4c11eebaecac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:40:56+00:00", - "updated_at": "2024-01-19T21:40:56+00:00", + "created_at": "2024-01-24T00:05:55+00:00", + "updated_at": "2024-01-24T00:05:55+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -35,10 +35,10 @@ "verifications": {} }, "to_address": { - "id": "adr_6d74014ab71311ee9785ac1f6bc539ae", + "id": "adr_583448c1ba4c11eebaebac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:40:56+00:00", - "updated_at": "2024-01-19T21:40:56+00:00", + "created_at": "2024-01-24T00:05:55+00:00", + "updated_at": "2024-01-24T00:05:55+00:00", "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", @@ -57,10 +57,10 @@ "verifications": {} }, "buyer_address": { - "id": "adr_6d74014ab71311ee9785ac1f6bc539ae", + "id": "adr_583448c1ba4c11eebaebac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:40:56+00:00", - "updated_at": "2024-01-19T21:40:56+00:00", + "created_at": "2024-01-24T00:05:55+00:00", + "updated_at": "2024-01-24T00:05:55+00:00", "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", @@ -79,10 +79,10 @@ "verifications": {} }, "return_address": { - "id": "adr_6d758732b71311ee94bf3cecef1b359e", + "id": "adr_5836298bba4c11eebaecac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:40:56+00:00", - "updated_at": "2024-01-19T21:40:56+00:00", + "created_at": "2024-01-24T00:05:55+00:00", + "updated_at": "2024-01-24T00:05:55+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -102,7 +102,7 @@ }, "shipments": [ { - "created_at": "2024-01-19T21:40:56Z", + "created_at": "2024-01-24T00:05:55Z", "is_return": false, "messages": [], "mode": "test", @@ -116,16 +116,16 @@ "reference": null, "status": "unknown", "tracking_code": null, - "updated_at": "2024-01-19T21:40:56Z", + "updated_at": "2024-01-24T00:05:55Z", "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": null, "from_address": { - "id": "adr_6d758732b71311ee94bf3cecef1b359e", + "id": "adr_5836298bba4c11eebaecac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:40:56+00:00", - "updated_at": "2024-01-19T21:40:56+00:00", + "created_at": "2024-01-24T00:05:55+00:00", + "updated_at": "2024-01-24T00:05:55+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -144,12 +144,12 @@ "verifications": {} }, "insurance": null, - "order_id": "order_fcf81fc26e43489899a6112bd0061467", + "order_id": "order_b567c8fffd5641608bda48f0bc58e1d6", "parcel": { - "id": "prcl_274f07bdf22e4013b41eee914f26e18e", + "id": "prcl_eb7de3870d864d408017e4e5a8633b1a", "object": "Parcel", - "created_at": "2024-01-19T21:40:56Z", - "updated_at": "2024-01-19T21:40:56Z", + "created_at": "2024-01-24T00:05:55Z", + "updated_at": "2024-01-24T00:05:55Z", "length": null, "width": null, "height": null, @@ -160,114 +160,114 @@ "postage_label": null, "rates": [ { - "id": "rate_210feb28a8c8473db2399ab959b97f2e", + "id": "rate_46c2da4561664d5fbc7ebfca38e472d6", "object": "Rate", - "created_at": "2024-01-19T21:40:56Z", - "updated_at": "2024-01-19T21:40:56Z", + "created_at": "2024-01-24T00:05:55Z", + "updated_at": "2024-01-24T00:05:55Z", "mode": "test", "service": "Express", "carrier": "USPS", - "rate": "31.25", + "rate": "33.10", "currency": "USD", - "retail_rate": "35.80", + "retail_rate": "37.90", "retail_currency": "USD", - "list_rate": "31.25", + "list_rate": "33.10", "list_currency": "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": null, - "shipment_id": "shp_138b2b99e6d74814a2db9ea63727b982", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_1df4e5ffe3ed4909b17b23d56f532c69", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_247a0fdc8cc1480fb6247339f80c3221", + "id": "rate_5f8a285fa1094e129d121e4dfe59c314", "object": "Rate", - "created_at": "2024-01-19T21:40:56Z", - "updated_at": "2024-01-19T21:40:56Z", + "created_at": "2024-01-24T00:05:55Z", + "updated_at": "2024-01-24T00:05:55Z", "mode": "test", "service": "Priority", "carrier": "USPS", - "rate": "6.95", + "rate": "6.88", "currency": "USD", - "retail_rate": "10.20", + "retail_rate": "9.80", "retail_currency": "USD", - "list_rate": "8.24", + "list_rate": "8.25", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 2, - "shipment_id": "shp_138b2b99e6d74814a2db9ea63727b982", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_1df4e5ffe3ed4909b17b23d56f532c69", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_df42cf300fa64b5eb3ff715c51bb2083", + "id": "rate_836fd4e6359e4e40bc27bc39eff5b432", "object": "Rate", - "created_at": "2024-01-19T21:40:56Z", - "updated_at": "2024-01-19T21:40:56Z", + "created_at": "2024-01-24T00:05:55Z", + "updated_at": "2024-01-24T00:05:55Z", "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", - "rate": "4.81", + "rate": "5.07", "currency": "USD", - "retail_rate": "6.35", + "retail_rate": "6.70", "retail_currency": "USD", - "list_rate": "4.81", + "list_rate": "5.07", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_138b2b99e6d74814a2db9ea63727b982", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_1df4e5ffe3ed4909b17b23d56f532c69", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_0fee866b3cb1468d9a2624bd83eb1ebb", + "id": "rate_d1fe066dc3c844c2984ac13308bf7b3e", "object": "Rate", - "created_at": "2024-01-19T21:40:56Z", - "updated_at": "2024-01-19T21:40:56Z", + "created_at": "2024-01-24T00:05:55Z", + "updated_at": "2024-01-24T00:05:55Z", "mode": "test", "service": "First", "carrier": "USPS", - "rate": "4.81", + "rate": "5.07", "currency": "USD", - "retail_rate": "6.35", + "retail_rate": "6.70", "retail_currency": "USD", - "list_rate": "4.81", + "list_rate": "5.07", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_138b2b99e6d74814a2db9ea63727b982", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_1df4e5ffe3ed4909b17b23d56f532c69", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_24fda70f7e1645cc8e18efb7107ba3a4", + "id": "rate_3b915871b5ff4cccaec973eedde9e4bb", "object": "Rate", - "created_at": "2024-01-19T21:40:56Z", - "updated_at": "2024-01-19T21:40:56Z", + "created_at": "2024-01-24T00:05:55Z", + "updated_at": "2024-01-24T00:05:55Z", "mode": "test", "service": "ParcelSelect", "carrier": "USPS", - "rate": "4.81", + "rate": "5.07", "currency": "USD", - "retail_rate": "6.35", + "retail_rate": "6.70", "retail_currency": "USD", - "list_rate": "4.81", + "list_rate": "5.07", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_138b2b99e6d74814a2db9ea63727b982", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_1df4e5ffe3ed4909b17b23d56f532c69", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" } ], "refund_status": null, @@ -275,10 +275,10 @@ "selected_rate": null, "tracker": null, "to_address": { - "id": "adr_6d74014ab71311ee9785ac1f6bc539ae", + "id": "adr_583448c1ba4c11eebaebac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:40:56+00:00", - "updated_at": "2024-01-19T21:40:56+00:00", + "created_at": "2024-01-24T00:05:55+00:00", + "updated_at": "2024-01-24T00:05:55+00:00", "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", @@ -298,10 +298,10 @@ }, "usps_zone": 4, "return_address": { - "id": "adr_6d758732b71311ee94bf3cecef1b359e", + "id": "adr_5836298bba4c11eebaecac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:40:56+00:00", - "updated_at": "2024-01-19T21:40:56+00:00", + "created_at": "2024-01-24T00:05:55+00:00", + "updated_at": "2024-01-24T00:05:55+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -320,10 +320,10 @@ "verifications": {} }, "buyer_address": { - "id": "adr_6d74014ab71311ee9785ac1f6bc539ae", + "id": "adr_583448c1ba4c11eebaebac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:40:56+00:00", - "updated_at": "2024-01-19T21:40:56+00:00", + "created_at": "2024-01-24T00:05:55+00:00", + "updated_at": "2024-01-24T00:05:55+00:00", "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", @@ -343,122 +343,122 @@ }, "forms": [], "fees": [], - "id": "shp_138b2b99e6d74814a2db9ea63727b982", + "id": "shp_1df4e5ffe3ed4909b17b23d56f532c69", "object": "Shipment" } ], "rates": [ { - "id": "rate_210feb28a8c8473db2399ab959b97f2e", + "id": "rate_46c2da4561664d5fbc7ebfca38e472d6", "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", "service": "Express", "carrier": "USPS", - "rate": "31.25", + "rate": "33.10", "currency": "USD", - "retail_rate": "35.80", + "retail_rate": "37.90", "retail_currency": "USD", - "list_rate": "31.25", + "list_rate": "33.10", "list_currency": "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": null, - "shipment_id": "shp_138b2b99e6d74814a2db9ea63727b982", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_1df4e5ffe3ed4909b17b23d56f532c69", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_247a0fdc8cc1480fb6247339f80c3221", + "id": "rate_5f8a285fa1094e129d121e4dfe59c314", "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", "service": "Priority", "carrier": "USPS", - "rate": "6.95", + "rate": "6.88", "currency": "USD", - "retail_rate": "10.20", + "retail_rate": "9.80", "retail_currency": "USD", - "list_rate": "8.24", + "list_rate": "8.25", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 2, - "shipment_id": "shp_138b2b99e6d74814a2db9ea63727b982", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_1df4e5ffe3ed4909b17b23d56f532c69", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_df42cf300fa64b5eb3ff715c51bb2083", + "id": "rate_836fd4e6359e4e40bc27bc39eff5b432", "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", - "rate": "4.81", + "rate": "5.07", "currency": "USD", - "retail_rate": "6.35", + "retail_rate": "6.70", "retail_currency": "USD", - "list_rate": "4.81", + "list_rate": "5.07", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_138b2b99e6d74814a2db9ea63727b982", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_1df4e5ffe3ed4909b17b23d56f532c69", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_0fee866b3cb1468d9a2624bd83eb1ebb", + "id": "rate_d1fe066dc3c844c2984ac13308bf7b3e", "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", "service": "First", "carrier": "USPS", - "rate": "4.81", + "rate": "5.07", "currency": "USD", - "retail_rate": "6.35", + "retail_rate": "6.70", "retail_currency": "USD", - "list_rate": "4.81", + "list_rate": "5.07", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_138b2b99e6d74814a2db9ea63727b982", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_1df4e5ffe3ed4909b17b23d56f532c69", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_24fda70f7e1645cc8e18efb7107ba3a4", + "id": "rate_3b915871b5ff4cccaec973eedde9e4bb", "object": "Rate", "created_at": null, "updated_at": null, "mode": "test", "service": "ParcelSelect", "carrier": "USPS", - "rate": "4.81", + "rate": "5.07", "currency": "USD", - "retail_rate": "6.35", + "retail_rate": "6.70", "retail_currency": "USD", - "list_rate": "4.81", + "list_rate": "5.07", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_138b2b99e6d74814a2db9ea63727b982", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_1df4e5ffe3ed4909b17b23d56f532c69", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" } ], - "id": "order_fcf81fc26e43489899a6112bd0061467", + "id": "order_b567c8fffd5641608bda48f0bc58e1d6", "object": "Order" } diff --git a/official/docs/responses/pagination/pagination-get-next-page.json b/official/docs/responses/pagination/pagination-get-next-page.json index d16b3fde..ff808877 100644 --- a/official/docs/responses/pagination/pagination-get-next-page.json +++ b/official/docs/responses/pagination/pagination-get-next-page.json @@ -1,7 +1,7 @@ { "shipments": [ { - "created_at": "2023-07-10T17:30:14Z", + "created_at": "2024-01-24T00:07:32Z", "is_return": false, "messages": [], "mode": "test", @@ -13,17 +13,17 @@ "date_advance": 0 }, "reference": null, - "status": "unknown", - "tracking_code": "9400100105440232838888", - "updated_at": "2023-07-10T17:30:16Z", + "status": "delivered", + "tracking_code": "9434600207552011812848", + "updated_at": "2024-01-24T00:12:41Z", "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": { - "id": "cstinfo_f85189b578ec4706ac387b76cec7ff01", + "id": "cstinfo_fd42061296ef450285b451ef66f9b9d5", "object": "CustomsInfo", - "created_at": "2022-10-17T17:17:38Z", - "updated_at": "2022-10-17T17:17:38Z", + "created_at": "2024-01-24T00:07:32Z", + "updated_at": "2024-01-24T00:07:32Z", "contents_explanation": "", "contents_type": "merchandise", "customs_certify": true, @@ -36,10 +36,10 @@ "declaration": null, "customs_items": [ { - "id": "cstitem_fa0aa9aa3a8f41639295c10aa7469480", + "id": "cstitem_f7de527850e34f018ef41e9f69be6758", "object": "CustomsItem", - "created_at": "2022-10-17T17:17:38Z", - "updated_at": "2022-10-17T17:17:38Z", + "created_at": "2024-01-24T00:07:32Z", + "updated_at": "2024-01-24T00:07:32Z", "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": "US", @@ -56,10 +56,10 @@ ] }, "from_address": { - "id": "adr_6e0ac14a1f4711eeacd5ac1f6bc539ae", + "id": "adr_91fa95f1ba4c11ee8c59ac1f6bc53342", "object": "Address", - "created_at": "2023-07-10T17:30:14+00:00", - "updated_at": "2023-07-10T17:30:14+00:00", + "created_at": "2024-01-24T00:07:32+00:00", + "updated_at": "2024-01-24T00:07:32+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -77,33 +77,33 @@ "state_tax_id": null, "verifications": {} }, - "insurance": null, - "order_id": "order_2666c9282ad54765b74b9be1c0cccf09", + "insurance": "249.99", + "order_id": null, "parcel": { - "id": "prcl_2498d756b1c740b484f5665e5fdd697f", + "id": "prcl_a5e317e47ac9442988d338cb2a0fde17", "object": "Parcel", - "created_at": "2023-07-10T17:30:14Z", - "updated_at": "2023-07-10T17:30:14Z", - "length": null, - "width": null, - "height": null, + "created_at": "2024-01-24T00:07:32Z", + "updated_at": "2024-01-24T00:07:32Z", + "length": 20.2, + "width": 10.9, + "height": 5.0, "predefined_package": null, - "weight": 10.2, + "weight": 65.9, "mode": "test" }, "postage_label": { "object": "PostageLabel", - "id": "pl_ce7b1a9249794cd697c87395d660d8f6", - "created_at": "2023-07-10T17:30:15Z", - "updated_at": "2023-07-10T17:30:16Z", + "id": "pl_51b80cc8523d4fc28c4ab710594e0913", + "created_at": "2024-01-24T00:07:33Z", + "updated_at": "2024-01-24T00:07:33Z", "date_advance": 0, "integrated_form": "none", - "label_date": "2023-07-10T17:30:15Z", + "label_date": "2024-01-24T00:07:33Z", "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": "image/png", - "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20230710/e657608f44b6ec482c86742b7b8ea5d74d.png", + "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240124/e81cecd85b82d749a19cf38dae0e30fc53.png", "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, @@ -111,176 +111,164 @@ }, "rates": [ { - "id": "rate_d669ba48a22b4f7f9a07939bf509de2a", + "id": "rate_6366c70cbea94c60b8d282ccf0f60ce0", "object": "Rate", - "created_at": "2023-07-10T17:30:15Z", - "updated_at": "2023-07-10T17:30:15Z", + "created_at": "2024-01-24T00:07:32Z", + "updated_at": "2024-01-24T00:07:32Z", "mode": "test", - "service": "Express", + "service": "GroundAdvantage", "carrier": "USPS", - "rate": "31.25", + "rate": "6.79", "currency": "USD", - "retail_rate": "35.80", + "retail_rate": "13.15", "retail_currency": "USD", - "list_rate": "31.25", + "list_rate": "9.41", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": null, - "shipment_id": "shp_06a2ad37dc1c425c88c593f3e9cf5ea4", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "est_delivery_days": 3, + "shipment_id": "shp_56b10c708daa4c25b5895c5354758aaf", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_ee0ba720bd6a4338b2945db6e450baba", + "id": "rate_7dd1fb53702d473bbb9eeaf53d7a72d7", "object": "Rate", - "created_at": "2023-07-10T17:30:15Z", - "updated_at": "2023-07-10T17:30:15Z", + "created_at": "2024-01-24T00:07:32Z", + "updated_at": "2024-01-24T00:07:32Z", "mode": "test", - "service": "Priority", + "service": "First", "carrier": "USPS", - "rate": "7.15", + "rate": "6.79", "currency": "USD", - "retail_rate": "10.20", + "retail_rate": "13.15", "retail_currency": "USD", - "list_rate": "8.24", + "list_rate": "9.41", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 2, + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 2, - "shipment_id": "shp_06a2ad37dc1c425c88c593f3e9cf5ea4", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "est_delivery_days": 3, + "shipment_id": "shp_56b10c708daa4c25b5895c5354758aaf", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_fd2144b885dd4725bfdf4ece351e9231", + "id": "rate_263930dcc1ef4331b9a16313f55c47d6", "object": "Rate", - "created_at": "2023-07-10T17:30:15Z", - "updated_at": "2023-07-10T17:30:15Z", + "created_at": "2024-01-24T00:07:32Z", + "updated_at": "2024-01-24T00:07:32Z", "mode": "test", - "service": "GroundAdvantage", + "service": "ParcelSelect", + "carrier": "USPS", + "rate": "6.79", + "currency": "USD", + "retail_rate": "13.15", + "retail_currency": "USD", + "list_rate": "9.41", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": 3, + "delivery_date": null, + "delivery_date_guaranteed": false, + "est_delivery_days": 3, + "shipment_id": "shp_56b10c708daa4c25b5895c5354758aaf", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" + }, + { + "id": "rate_bd7a2aa312224b43b15d56b2e818e946", + "object": "Rate", + "created_at": "2024-01-24T00:07:32Z", + "updated_at": "2024-01-24T00:07:32Z", + "mode": "test", + "service": "Express", "carrier": "USPS", - "rate": "4.81", + "rate": "49.60", "currency": "USD", - "retail_rate": "4.81", + "retail_rate": "57.40", "retail_currency": "USD", - "list_rate": "4.81", + "list_rate": "49.60", "list_currency": "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": null, - "shipment_id": "shp_06a2ad37dc1c425c88c593f3e9cf5ea4", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_56b10c708daa4c25b5895c5354758aaf", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_5dff1ed420df4a58833d9b47563565f6", + "id": "rate_6ec39e90cf6b4f2d97aab43d7c946559", "object": "Rate", - "created_at": "2023-07-10T17:30:15Z", - "updated_at": "2023-07-10T17:30:15Z", + "created_at": "2024-01-24T00:07:32Z", + "updated_at": "2024-01-24T00:07:32Z", "mode": "test", - "service": "First", + "service": "Priority", "carrier": "USPS", - "rate": "4.81", + "rate": "7.33", "currency": "USD", - "retail_rate": "4.81", + "retail_rate": "15.20", "retail_currency": "USD", - "list_rate": "4.81", + "list_rate": "10.89", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, + "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, - "shipment_id": "shp_06a2ad37dc1c425c88c593f3e9cf5ea4", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "est_delivery_days": 2, + "shipment_id": "shp_56b10c708daa4c25b5895c5354758aaf", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" } ], "refund_status": null, - "scan_form": { - "id": "sf_3684195c590740a88bc2c2cf5f25acb1", - "object": "ScanForm", - "created_at": "2022-10-17T17:17:39Z", - "updated_at": "2022-10-17T17:17:40Z", - "tracking_codes": ["9405500106068143632993"], - "address": { - "id": "adr_99962d534e3f11ed846dac1f6b0a0d1e", - "object": "Address", - "created_at": "2022-10-17T17:17:38+00:00", - "updated_at": "2022-10-17T17:17:38+00:00", - "name": "EasyPost", - "company": null, - "street1": "417 Montgomery Street", - "street2": "5th Floor", - "city": "San Francisco", - "state": "CA", - "zip": "94104", - "country": "US", - "phone": "4153334445", - "email": "support@easypost.com", - "mode": "test", - "carrier_facility": null, - "residential": null, - "federal_tax_id": null, - "state_tax_id": null, - "verifications": {} - }, - "status": "created", - "message": null, - "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20221017/58d6eef422424d02bd4105029666d614.pdf", - "form_file_type": null, - "batch_id": "batch_879633ae98a847409f0ca5b22c9872f4", - "confirmation": null - }, + "scan_form": null, "selected_rate": { - "id": "rate_5dff1ed420df4a58833d9b47563565f6", + "id": "rate_6366c70cbea94c60b8d282ccf0f60ce0", "object": "Rate", - "created_at": "2023-07-10T17:30:15Z", - "updated_at": "2023-07-10T17:30:15Z", + "created_at": "2024-01-24T00:07:33Z", + "updated_at": "2024-01-24T00:07:33Z", "mode": "test", - "service": "First", + "service": "GroundAdvantage", "carrier": "USPS", - "rate": "4.81", + "rate": "6.79", "currency": "USD", - "retail_rate": "4.81", + "retail_rate": "13.15", "retail_currency": "USD", - "list_rate": "4.81", + "list_rate": "9.41", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_06a2ad37dc1c425c88c593f3e9cf5ea4", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_56b10c708daa4c25b5895c5354758aaf", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, "tracker": { - "id": "trk_1c56526a89e04c4c80013fd763f91228", + "id": "trk_814a807c3fae4203a4d61293b2b0b3dc", "object": "Tracker", "mode": "test", - "tracking_code": "9400100105440232838888", - "status": "pre_transit", - "status_detail": "status_update", - "created_at": "2023-07-10T17:30:16Z", - "updated_at": "2023-07-10T17:30:16Z", - "signed_by": null, + "tracking_code": "9434600207552011812848", + "status": "delivered", + "status_detail": "arrived_at_destination", + "created_at": "2024-01-24T00:07:34Z", + "updated_at": "2024-01-24T00:10:34Z", + "signed_by": "John Tester", "weight": null, - "est_delivery_date": "2023-07-10T17:30:16Z", - "shipment_id": "shp_06a2ad37dc1c425c88c593f3e9cf5ea4", + "est_delivery_date": "2024-01-24T00:10:34Z", + "shipment_id": "shp_56b10c708daa4c25b5895c5354758aaf", "carrier": "USPS", "tracking_details": [ { "object": "TrackingDetail", "message": "Pre-Shipment Info Sent to USPS", - "description": null, + "description": "", "status": "pre_transit", "status_detail": "status_update", - "datetime": "2023-06-10T17:30:16Z", + "datetime": "2023-12-24T00:10:34Z", "source": "USPS", - "carrier_code": null, + "carrier_code": "", "tracking_location": { "object": "TrackingLocation", "city": null, @@ -292,12 +280,12 @@ { "object": "TrackingDetail", "message": "Shipping Label Created", - "description": null, + "description": "", "status": "pre_transit", "status_detail": "status_update", - "datetime": "2023-06-11T06:07:16Z", + "datetime": "2023-12-24T12:47:34Z", "source": "USPS", - "carrier_code": null, + "carrier_code": "", "tracking_location": { "object": "TrackingLocation", "city": "HOUSTON", @@ -305,6 +293,108 @@ "country": null, "zip": "77063" } + }, + { + "object": "TrackingDetail", + "message": "Arrived at USPS Origin Facility", + "description": "", + "status": "in_transit", + "status_detail": "arrived_at_facility", + "datetime": "2023-12-24T22:52:34Z", + "source": "USPS", + "carrier_code": "", + "tracking_location": { + "object": "TrackingLocation", + "city": "NORTH HOUSTON", + "state": "TX", + "country": null, + "zip": "77315" + } + }, + { + "object": "TrackingDetail", + "message": "Arrived at USPS Facility", + "description": "", + "status": "in_transit", + "status_detail": "arrived_at_facility", + "datetime": "2023-12-26T00:28:34Z", + "source": "USPS", + "carrier_code": "", + "tracking_location": { + "object": "TrackingLocation", + "city": "COLUMBIA", + "state": "SC", + "country": null, + "zip": "29201" + } + }, + { + "object": "TrackingDetail", + "message": "Arrived at Post Office", + "description": "", + "status": "in_transit", + "status_detail": "arrived_at_facility", + "datetime": "2023-12-26T03:19:34Z", + "source": "USPS", + "carrier_code": "", + "tracking_location": { + "object": "TrackingLocation", + "city": "CHARLESTON", + "state": "SC", + "country": null, + "zip": "29407" + } + }, + { + "object": "TrackingDetail", + "message": "Sorting Complete", + "description": "", + "status": "in_transit", + "status_detail": "status_update", + "datetime": "2023-12-26T08:59:34Z", + "source": "USPS", + "carrier_code": "", + "tracking_location": { + "object": "TrackingLocation", + "city": "CHARLESTON", + "state": "SC", + "country": null, + "zip": "29407" + } + }, + { + "object": "TrackingDetail", + "message": "Out for Delivery", + "description": "", + "status": "out_for_delivery", + "status_detail": "out_for_delivery", + "datetime": "2023-12-26T09:09:34Z", + "source": "USPS", + "carrier_code": "", + "tracking_location": { + "object": "TrackingLocation", + "city": "CHARLESTON", + "state": "SC", + "country": null, + "zip": "29407" + } + }, + { + "object": "TrackingDetail", + "message": "Delivered", + "description": "", + "status": "delivered", + "status_detail": "arrived_at_destination", + "datetime": "2023-12-26T14:01:34Z", + "source": "USPS", + "carrier_code": "", + "tracking_location": { + "object": "TrackingLocation", + "city": "CHARLESTON", + "state": "SC", + "country": null, + "zip": "29407" + } } ], "fees": [], @@ -317,24 +407,2277 @@ "origin_location": "HOUSTON TX, 77001", "origin_tracking_location": { "object": "TrackingLocation", - "city": "HOUSTON", + "city": "NORTH HOUSTON", "state": "TX", "country": null, - "zip": "77063" + "zip": "77315" }, "destination_location": "CHARLESTON SC, 29401", - "destination_tracking_location": null, + "destination_tracking_location": { + "object": "TrackingLocation", + "city": "CHARLESTON", + "state": "SC", + "country": null, + "zip": "29407" + }, + "guaranteed_delivery_date": null, + "alternate_identifier": null, + "initial_delivery_attempt": "2023-12-26T14:01:34Z" + }, + "public_url": "https://track.easypost.com/djE6dHJrXzgxNGE4MDdjM2ZhZTQyMDNhNGQ2MTI5M2IyYjBiM2Rj" + }, + "to_address": { + "id": "adr_91f7ca0fba4c11eeb731ac1f6bc539aa", + "object": "Address", + "created_at": "2024-01-24T00:07:32+00:00", + "updated_at": "2024-01-24T00:07:33+00:00", + "name": "DR. STEVE BRULE", + "company": null, + "street1": "179 N HARBOR DR", + "street2": null, + "city": "REDONDO BEACH", + "state": "CA", + "zip": "90277-2506", + "country": "US", + "phone": "8573875756", + "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", + "carrier_facility": null, + "residential": false, + "federal_tax_id": null, + "state_tax_id": null, + "verifications": { + "zip4": { + "success": true, + "errors": [], + "details": null + }, + "delivery": { + "success": true, + "errors": [], + "details": { + "latitude": 33.8436, + "longitude": -118.39177, + "time_zone": "America/Los_Angeles" + } + } + } + }, + "usps_zone": 4, + "return_address": { + "id": "adr_91fa95f1ba4c11ee8c59ac1f6bc53342", + "object": "Address", + "created_at": "2024-01-24T00:07:32+00:00", + "updated_at": "2024-01-24T00:07:32+00:00", + "name": "EasyPost", + "company": null, + "street1": "417 Montgomery Street", + "street2": "5th Floor", + "city": "San Francisco", + "state": "CA", + "zip": "94104", + "country": "US", + "phone": "4153334445", + "email": "support@easypost.com", + "mode": "test", + "carrier_facility": null, + "residential": null, + "federal_tax_id": null, + "state_tax_id": null, + "verifications": {} + }, + "buyer_address": { + "id": "adr_91f7ca0fba4c11eeb731ac1f6bc539aa", + "object": "Address", + "created_at": "2024-01-24T00:07:32+00:00", + "updated_at": "2024-01-24T00:07:33+00:00", + "name": "DR. STEVE BRULE", + "company": null, + "street1": "179 N HARBOR DR", + "street2": null, + "city": "REDONDO BEACH", + "state": "CA", + "zip": "90277-2506", + "country": "US", + "phone": "8573875756", + "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", + "carrier_facility": null, + "residential": false, + "federal_tax_id": null, + "state_tax_id": null, + "verifications": { + "zip4": { + "success": true, + "errors": [], + "details": null + }, + "delivery": { + "success": true, + "errors": [], + "details": { + "latitude": 33.8436, + "longitude": -118.39177, + "time_zone": "America/Los_Angeles" + } + } + } + }, + "forms": [], + "fees": [ + { + "object": "Fee", + "type": "LabelFee", + "amount": "0.00000", + "charged": true, + "refunded": false + }, + { + "object": "Fee", + "type": "PostageFee", + "amount": "6.79000", + "charged": true, + "refunded": false + }, + { + "object": "Fee", + "type": "InsuranceFee", + "amount": "1.24995", + "charged": true, + "refunded": false + } + ], + "id": "shp_56b10c708daa4c25b5895c5354758aaf", + "object": "Shipment" + }, + { + "created_at": "2024-01-24T00:07:28Z", + "is_return": false, + "messages": [], + "mode": "test", + "options": { + "currency": "USD", + "payment": { + "type": "SENDER" + }, + "date_advance": 0 + }, + "reference": null, + "status": "delivered", + "tracking_code": "9405500207552011812825", + "updated_at": "2024-01-24T00:12:32Z", + "batch_id": "batch_83009a1272fa48ffb1a3d29074a16960", + "batch_status": "postage_purchased", + "batch_message": null, + "customs_info": { + "id": "cstinfo_916710a3039140c5a6e7f2f812ef83d7", + "object": "CustomsInfo", + "created_at": "2024-01-24T00:07:28Z", + "updated_at": "2024-01-24T00:07:28Z", + "contents_explanation": "", + "contents_type": "merchandise", + "customs_certify": true, + "customs_signer": "Steve Brule", + "eel_pfc": "NOEEI 30.37(a)", + "non_delivery_option": "return", + "restriction_comments": null, + "restriction_type": "none", + "mode": "test", + "declaration": null, + "customs_items": [ + { + "id": "cstitem_eead7973a2d644189ebd7c8f11f9647a", + "object": "CustomsItem", + "created_at": "2024-01-24T00:07:28Z", + "updated_at": "2024-01-24T00:07:28Z", + "description": "T-shirt", + "hs_tariff_number": "123456", + "origin_country": "US", + "quantity": 1, + "value": "10.0", + "weight": 5.0, + "code": "123", + "mode": "test", + "manufacturer": null, + "currency": null, + "eccn": null, + "printed_commodity_identifier": null + } + ] + }, + "from_address": { + "id": "adr_8f5e7e74ba4c11ee8bd0ac1f6bc53342", + "object": "Address", + "created_at": "2024-01-24T00:07:28+00:00", + "updated_at": "2024-01-24T00:07:28+00:00", + "name": "EasyPost", + "company": null, + "street1": "417 Montgomery Street", + "street2": "5th Floor", + "city": "San Francisco", + "state": "CA", + "zip": "94104", + "country": "US", + "phone": "4153334445", + "email": "support@easypost.com", + "mode": "test", + "carrier_facility": null, + "residential": null, + "federal_tax_id": null, + "state_tax_id": null, + "verifications": {} + }, + "insurance": null, + "order_id": null, + "parcel": { + "id": "prcl_bba0f7cc48d64a299938fef3a3e0b9a0", + "object": "Parcel", + "created_at": "2024-01-24T00:07:28Z", + "updated_at": "2024-01-24T00:07:28Z", + "length": 20.2, + "width": 10.9, + "height": 5.0, + "predefined_package": null, + "weight": 65.9, + "mode": "test" + }, + "postage_label": { + "object": "PostageLabel", + "id": "pl_9562571fa39b4e49892a8c60f12be255", + "created_at": "2024-01-24T00:07:28Z", + "updated_at": "2024-01-24T00:07:28Z", + "date_advance": 0, + "integrated_form": "none", + "label_date": "2024-01-24T00:07:28Z", + "label_resolution": 300, + "label_size": "4x6", + "label_type": "default", + "label_file_type": "image/png", + "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240124/e8a95864fe9ec34eeabf5fc2ad415fda5d.png", + "label_pdf_url": null, + "label_zpl_url": null, + "label_epl2_url": null, + "label_file": null + }, + "rates": [ + { + "id": "rate_15a03f25e00d49a098da8d40c8e1719e", + "object": "Rate", + "created_at": "2024-01-24T00:07:28Z", + "updated_at": "2024-01-24T00:07:28Z", + "mode": "test", + "service": "Express", + "carrier": "USPS", + "rate": "49.60", + "currency": "USD", + "retail_rate": "57.40", + "retail_currency": "USD", + "list_rate": "49.60", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": null, + "delivery_date": null, + "delivery_date_guaranteed": false, + "est_delivery_days": null, + "shipment_id": "shp_8631f00640ba4d62b9131da3852a26e4", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" + }, + { + "id": "rate_edd7e3cedd9d4aa9bd21eb23a740af7d", + "object": "Rate", + "created_at": "2024-01-24T00:07:28Z", + "updated_at": "2024-01-24T00:07:28Z", + "mode": "test", + "service": "Priority", + "carrier": "USPS", + "rate": "7.33", + "currency": "USD", + "retail_rate": "15.20", + "retail_currency": "USD", + "list_rate": "10.89", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": 2, + "delivery_date": null, + "delivery_date_guaranteed": false, + "est_delivery_days": 2, + "shipment_id": "shp_8631f00640ba4d62b9131da3852a26e4", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" + }, + { + "id": "rate_bc0979e7fa314d2b935d8fee9312c766", + "object": "Rate", + "created_at": "2024-01-24T00:07:28Z", + "updated_at": "2024-01-24T00:07:28Z", + "mode": "test", + "service": "GroundAdvantage", + "carrier": "USPS", + "rate": "6.79", + "currency": "USD", + "retail_rate": "13.15", + "retail_currency": "USD", + "list_rate": "9.41", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": 3, + "delivery_date": null, + "delivery_date_guaranteed": false, + "est_delivery_days": 3, + "shipment_id": "shp_8631f00640ba4d62b9131da3852a26e4", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" + }, + { + "id": "rate_418622e2edeb4015b8bbd72fbe2d3ff6", + "object": "Rate", + "created_at": "2024-01-24T00:07:28Z", + "updated_at": "2024-01-24T00:07:28Z", + "mode": "test", + "service": "First", + "carrier": "USPS", + "rate": "6.79", + "currency": "USD", + "retail_rate": "13.15", + "retail_currency": "USD", + "list_rate": "9.41", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": 3, + "delivery_date": null, + "delivery_date_guaranteed": false, + "est_delivery_days": 3, + "shipment_id": "shp_8631f00640ba4d62b9131da3852a26e4", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" + }, + { + "id": "rate_699f9b847989489891a0db1489c6c0f2", + "object": "Rate", + "created_at": "2024-01-24T00:07:28Z", + "updated_at": "2024-01-24T00:07:28Z", + "mode": "test", + "service": "ParcelSelect", + "carrier": "USPS", + "rate": "6.79", + "currency": "USD", + "retail_rate": "13.15", + "retail_currency": "USD", + "list_rate": "9.41", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": 3, + "delivery_date": null, + "delivery_date_guaranteed": false, + "est_delivery_days": 3, + "shipment_id": "shp_8631f00640ba4d62b9131da3852a26e4", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" + } + ], + "refund_status": null, + "scan_form": { + "id": "sf_589e52186e9249669c7806912a6ab766", + "object": "ScanForm", + "created_at": "2024-01-24T00:07:29Z", + "updated_at": "2024-01-24T00:07:29Z", + "tracking_codes": ["9405500207552011812825"], + "address": { + "id": "adr_8f5e7e74ba4c11ee8bd0ac1f6bc53342", + "object": "Address", + "created_at": "2024-01-24T00:07:28+00:00", + "updated_at": "2024-01-24T00:07:28+00:00", + "name": "EasyPost", + "company": null, + "street1": "417 Montgomery Street", + "street2": "5th Floor", + "city": "San Francisco", + "state": "CA", + "zip": "94104", + "country": "US", + "phone": "4153334445", + "email": "support@easypost.com", + "mode": "test", + "carrier_facility": null, + "residential": null, + "federal_tax_id": null, + "state_tax_id": null, + "verifications": {} + }, + "status": "created", + "message": null, + "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240124/e82a4cb71096604dc7bd773b1285d7e9db.pdf", + "form_file_type": null, + "batch_id": "batch_83009a1272fa48ffb1a3d29074a16960", + "confirmation": null + }, + "selected_rate": { + "id": "rate_edd7e3cedd9d4aa9bd21eb23a740af7d", + "object": "Rate", + "created_at": "2024-01-24T00:07:28Z", + "updated_at": "2024-01-24T00:07:28Z", + "mode": "test", + "service": "Priority", + "carrier": "USPS", + "rate": "7.33", + "currency": "USD", + "retail_rate": "15.20", + "retail_currency": "USD", + "list_rate": "10.89", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": 2, + "delivery_date": null, + "delivery_date_guaranteed": false, + "est_delivery_days": 2, + "shipment_id": "shp_8631f00640ba4d62b9131da3852a26e4", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" + }, + "tracker": { + "id": "trk_c64aa4ee22804cceab41586397c4b833", + "object": "Tracker", + "mode": "test", + "tracking_code": "9405500207552011812825", + "status": "delivered", + "status_detail": "arrived_at_destination", + "created_at": "2024-01-24T00:07:28Z", + "updated_at": "2024-01-24T00:10:29Z", + "signed_by": "John Tester", + "weight": null, + "est_delivery_date": "2024-01-24T00:10:29Z", + "shipment_id": "shp_8631f00640ba4d62b9131da3852a26e4", + "carrier": "USPS", + "tracking_details": [ + { + "object": "TrackingDetail", + "message": "Pre-Shipment Info Sent to USPS", + "description": "", + "status": "pre_transit", + "status_detail": "status_update", + "datetime": "2023-12-24T00:10:29Z", + "source": "USPS", + "carrier_code": "", + "tracking_location": { + "object": "TrackingLocation", + "city": null, + "state": null, + "country": null, + "zip": null + } + }, + { + "object": "TrackingDetail", + "message": "Shipping Label Created", + "description": "", + "status": "pre_transit", + "status_detail": "status_update", + "datetime": "2023-12-24T12:47:29Z", + "source": "USPS", + "carrier_code": "", + "tracking_location": { + "object": "TrackingLocation", + "city": "HOUSTON", + "state": "TX", + "country": null, + "zip": "77063" + } + }, + { + "object": "TrackingDetail", + "message": "Arrived at USPS Origin Facility", + "description": "", + "status": "in_transit", + "status_detail": "arrived_at_facility", + "datetime": "2023-12-24T22:52:29Z", + "source": "USPS", + "carrier_code": "", + "tracking_location": { + "object": "TrackingLocation", + "city": "NORTH HOUSTON", + "state": "TX", + "country": null, + "zip": "77315" + } + }, + { + "object": "TrackingDetail", + "message": "Arrived at USPS Facility", + "description": "", + "status": "in_transit", + "status_detail": "arrived_at_facility", + "datetime": "2023-12-26T00:28:29Z", + "source": "USPS", + "carrier_code": "", + "tracking_location": { + "object": "TrackingLocation", + "city": "COLUMBIA", + "state": "SC", + "country": null, + "zip": "29201" + } + }, + { + "object": "TrackingDetail", + "message": "Arrived at Post Office", + "description": "", + "status": "in_transit", + "status_detail": "arrived_at_facility", + "datetime": "2023-12-26T03:19:29Z", + "source": "USPS", + "carrier_code": "", + "tracking_location": { + "object": "TrackingLocation", + "city": "CHARLESTON", + "state": "SC", + "country": null, + "zip": "29407" + } + }, + { + "object": "TrackingDetail", + "message": "Sorting Complete", + "description": "", + "status": "in_transit", + "status_detail": "status_update", + "datetime": "2023-12-26T08:59:29Z", + "source": "USPS", + "carrier_code": "", + "tracking_location": { + "object": "TrackingLocation", + "city": "CHARLESTON", + "state": "SC", + "country": null, + "zip": "29407" + } + }, + { + "object": "TrackingDetail", + "message": "Out for Delivery", + "description": "", + "status": "out_for_delivery", + "status_detail": "out_for_delivery", + "datetime": "2023-12-26T09:09:29Z", + "source": "USPS", + "carrier_code": "", + "tracking_location": { + "object": "TrackingLocation", + "city": "CHARLESTON", + "state": "SC", + "country": null, + "zip": "29407" + } + }, + { + "object": "TrackingDetail", + "message": "Delivered", + "description": "", + "status": "delivered", + "status_detail": "arrived_at_destination", + "datetime": "2023-12-26T14:01:29Z", + "source": "USPS", + "carrier_code": "", + "tracking_location": { + "object": "TrackingLocation", + "city": "CHARLESTON", + "state": "SC", + "country": null, + "zip": "29407" + } + } + ], + "fees": [], + "carrier_detail": { + "object": "CarrierDetail", + "service": "First-Class Package Service", + "container_type": null, + "est_delivery_date_local": null, + "est_delivery_time_local": null, + "origin_location": "HOUSTON TX, 77001", + "origin_tracking_location": { + "object": "TrackingLocation", + "city": "NORTH HOUSTON", + "state": "TX", + "country": null, + "zip": "77315" + }, + "destination_location": "CHARLESTON SC, 29401", + "destination_tracking_location": { + "object": "TrackingLocation", + "city": "CHARLESTON", + "state": "SC", + "country": null, + "zip": "29407" + }, + "guaranteed_delivery_date": null, + "alternate_identifier": null, + "initial_delivery_attempt": "2023-12-26T14:01:29Z" + }, + "public_url": "https://track.easypost.com/djE6dHJrX2M2NGFhNGVlMjI4MDRjY2VhYjQxNTg2Mzk3YzRiODMz" + }, + "to_address": { + "id": "adr_8f5bb1f5ba4c11eeb6a1ac1f6bc539aa", + "object": "Address", + "created_at": "2024-01-24T00:07:28+00:00", + "updated_at": "2024-01-24T00:07:28+00:00", + "name": "DR. STEVE BRULE", + "company": null, + "street1": "179 N HARBOR DR", + "street2": null, + "city": "REDONDO BEACH", + "state": "CA", + "zip": "90277-2506", + "country": "US", + "phone": "8573875756", + "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", + "carrier_facility": null, + "residential": false, + "federal_tax_id": null, + "state_tax_id": null, + "verifications": { + "zip4": { + "success": true, + "errors": [], + "details": null + }, + "delivery": { + "success": true, + "errors": [], + "details": { + "latitude": 33.8436, + "longitude": -118.39177, + "time_zone": "America/Los_Angeles" + } + } + } + }, + "usps_zone": 4, + "return_address": { + "id": "adr_8f5e7e74ba4c11ee8bd0ac1f6bc53342", + "object": "Address", + "created_at": "2024-01-24T00:07:28+00:00", + "updated_at": "2024-01-24T00:07:28+00:00", + "name": "EasyPost", + "company": null, + "street1": "417 Montgomery Street", + "street2": "5th Floor", + "city": "San Francisco", + "state": "CA", + "zip": "94104", + "country": "US", + "phone": "4153334445", + "email": "support@easypost.com", + "mode": "test", + "carrier_facility": null, + "residential": null, + "federal_tax_id": null, + "state_tax_id": null, + "verifications": {} + }, + "buyer_address": { + "id": "adr_8f5bb1f5ba4c11eeb6a1ac1f6bc539aa", + "object": "Address", + "created_at": "2024-01-24T00:07:28+00:00", + "updated_at": "2024-01-24T00:07:28+00:00", + "name": "DR. STEVE BRULE", + "company": null, + "street1": "179 N HARBOR DR", + "street2": null, + "city": "REDONDO BEACH", + "state": "CA", + "zip": "90277-2506", + "country": "US", + "phone": "8573875756", + "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", + "carrier_facility": null, + "residential": false, + "federal_tax_id": null, + "state_tax_id": null, + "verifications": { + "zip4": { + "success": true, + "errors": [], + "details": null + }, + "delivery": { + "success": true, + "errors": [], + "details": { + "latitude": 33.8436, + "longitude": -118.39177, + "time_zone": "America/Los_Angeles" + } + } + } + }, + "forms": [], + "fees": [ + { + "object": "Fee", + "type": "LabelFee", + "amount": "0.00000", + "charged": true, + "refunded": false + }, + { + "object": "Fee", + "type": "PostageFee", + "amount": "7.33000", + "charged": true, + "refunded": false + } + ], + "id": "shp_8631f00640ba4d62b9131da3852a26e4", + "object": "Shipment" + }, + { + "created_at": "2024-01-24T00:07:26Z", + "is_return": false, + "messages": [], + "mode": "test", + "options": { + "currency": "USD", + "payment": { + "type": "SENDER" + }, + "date_advance": 0 + }, + "reference": null, + "status": "delivered", + "tracking_code": "9405500207552011812801", + "updated_at": "2024-01-24T00:12:47Z", + "batch_id": "batch_78507c9db0574b02813cf08bd52357b5", + "batch_status": "postage_purchased", + "batch_message": null, + "customs_info": { + "id": "cstinfo_69ebc90449834b8eb70fa2e37fa35616", + "object": "CustomsInfo", + "created_at": "2024-01-24T00:07:25Z", + "updated_at": "2024-01-24T00:07:25Z", + "contents_explanation": "", + "contents_type": "merchandise", + "customs_certify": true, + "customs_signer": "Steve Brule", + "eel_pfc": "NOEEI 30.37(a)", + "non_delivery_option": "return", + "restriction_comments": null, + "restriction_type": "none", + "mode": "test", + "declaration": null, + "customs_items": [ + { + "id": "cstitem_bde92ba44c8a4287ac0fc973f210924d", + "object": "CustomsItem", + "created_at": "2024-01-24T00:07:25Z", + "updated_at": "2024-01-24T00:07:25Z", + "description": "T-shirt", + "hs_tariff_number": "123456", + "origin_country": "US", + "quantity": 1, + "value": "10.0", + "weight": 5.0, + "code": "123", + "mode": "test", + "manufacturer": null, + "currency": null, + "eccn": null, + "printed_commodity_identifier": null + } + ] + }, + "from_address": { + "id": "adr_8e182c46ba4c11ee8b51ac1f6bc53342", + "object": "Address", + "created_at": "2024-01-24T00:07:25+00:00", + "updated_at": "2024-01-24T00:07:25+00:00", + "name": "EasyPost", + "company": null, + "street1": "417 Montgomery Street", + "street2": "5th Floor", + "city": "San Francisco", + "state": "CA", + "zip": "94104", + "country": "US", + "phone": "4153334445", + "email": "support@easypost.com", + "mode": "test", + "carrier_facility": null, + "residential": null, + "federal_tax_id": null, + "state_tax_id": null, + "verifications": {} + }, + "insurance": null, + "order_id": null, + "parcel": { + "id": "prcl_8947f119938944beab9e38a20bf28065", + "object": "Parcel", + "created_at": "2024-01-24T00:07:25Z", + "updated_at": "2024-01-24T00:07:25Z", + "length": 20.2, + "width": 10.9, + "height": 5.0, + "predefined_package": null, + "weight": 65.9, + "mode": "test" + }, + "postage_label": { + "object": "PostageLabel", + "id": "pl_a659d7cf76ca4355afc44434e33f05d3", + "created_at": "2024-01-24T00:07:26Z", + "updated_at": "2024-01-24T00:07:26Z", + "date_advance": 0, + "integrated_form": "none", + "label_date": "2024-01-24T00:07:26Z", + "label_resolution": 300, + "label_size": "4x6", + "label_type": "default", + "label_file_type": "image/png", + "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240124/e8cad15c8172b44e2e980a0516615cfba9.png", + "label_pdf_url": null, + "label_zpl_url": null, + "label_epl2_url": null, + "label_file": null + }, + "rates": [ + { + "id": "rate_c714eae3a1fc48a1bd85e49c3f96c005", + "object": "Rate", + "created_at": "2024-01-24T00:07:26Z", + "updated_at": "2024-01-24T00:07:26Z", + "mode": "test", + "service": "Express", + "carrier": "USPS", + "rate": "49.60", + "currency": "USD", + "retail_rate": "57.40", + "retail_currency": "USD", + "list_rate": "49.60", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": null, + "delivery_date": null, + "delivery_date_guaranteed": false, + "est_delivery_days": null, + "shipment_id": "shp_208d189a9f1f4295887b82aaa7b109e9", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" + }, + { + "id": "rate_0b93175feadd47039abe963dde90444b", + "object": "Rate", + "created_at": "2024-01-24T00:07:26Z", + "updated_at": "2024-01-24T00:07:26Z", + "mode": "test", + "service": "Priority", + "carrier": "USPS", + "rate": "7.33", + "currency": "USD", + "retail_rate": "15.20", + "retail_currency": "USD", + "list_rate": "10.89", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": 2, + "delivery_date": null, + "delivery_date_guaranteed": false, + "est_delivery_days": 2, + "shipment_id": "shp_208d189a9f1f4295887b82aaa7b109e9", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" + }, + { + "id": "rate_1e8880da5f074d6ca2dfcf7bc0c1e5e6", + "object": "Rate", + "created_at": "2024-01-24T00:07:26Z", + "updated_at": "2024-01-24T00:07:26Z", + "mode": "test", + "service": "GroundAdvantage", + "carrier": "USPS", + "rate": "6.79", + "currency": "USD", + "retail_rate": "13.15", + "retail_currency": "USD", + "list_rate": "9.41", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": 3, + "delivery_date": null, + "delivery_date_guaranteed": false, + "est_delivery_days": 3, + "shipment_id": "shp_208d189a9f1f4295887b82aaa7b109e9", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" + }, + { + "id": "rate_4d551632239948f0abd18400a5c65452", + "object": "Rate", + "created_at": "2024-01-24T00:07:26Z", + "updated_at": "2024-01-24T00:07:26Z", + "mode": "test", + "service": "First", + "carrier": "USPS", + "rate": "6.79", + "currency": "USD", + "retail_rate": "13.15", + "retail_currency": "USD", + "list_rate": "9.41", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": 3, + "delivery_date": null, + "delivery_date_guaranteed": false, + "est_delivery_days": 3, + "shipment_id": "shp_208d189a9f1f4295887b82aaa7b109e9", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" + }, + { + "id": "rate_d0d1de3a02ad419fa6079eb2dfb48e27", + "object": "Rate", + "created_at": "2024-01-24T00:07:26Z", + "updated_at": "2024-01-24T00:07:26Z", + "mode": "test", + "service": "ParcelSelect", + "carrier": "USPS", + "rate": "6.79", + "currency": "USD", + "retail_rate": "13.15", + "retail_currency": "USD", + "list_rate": "9.41", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": 3, + "delivery_date": null, + "delivery_date_guaranteed": false, + "est_delivery_days": 3, + "shipment_id": "shp_208d189a9f1f4295887b82aaa7b109e9", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" + } + ], + "refund_status": null, + "scan_form": { + "id": "sf_e79db685aecd4c7286471ff06a27a121", + "object": "ScanForm", + "created_at": "2024-01-24T00:07:27Z", + "updated_at": "2024-01-24T00:07:27Z", + "tracking_codes": ["9405500207552011812801"], + "address": { + "id": "adr_8e182c46ba4c11ee8b51ac1f6bc53342", + "object": "Address", + "created_at": "2024-01-24T00:07:25+00:00", + "updated_at": "2024-01-24T00:07:25+00:00", + "name": "EasyPost", + "company": null, + "street1": "417 Montgomery Street", + "street2": "5th Floor", + "city": "San Francisco", + "state": "CA", + "zip": "94104", + "country": "US", + "phone": "4153334445", + "email": "support@easypost.com", + "mode": "test", + "carrier_facility": null, + "residential": null, + "federal_tax_id": null, + "state_tax_id": null, + "verifications": {} + }, + "status": "created", + "message": null, + "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240124/e872ec72373078434880f49a17e5788dcc.pdf", + "form_file_type": null, + "batch_id": "batch_78507c9db0574b02813cf08bd52357b5", + "confirmation": null + }, + "selected_rate": { + "id": "rate_0b93175feadd47039abe963dde90444b", + "object": "Rate", + "created_at": "2024-01-24T00:07:26Z", + "updated_at": "2024-01-24T00:07:26Z", + "mode": "test", + "service": "Priority", + "carrier": "USPS", + "rate": "7.33", + "currency": "USD", + "retail_rate": "15.20", + "retail_currency": "USD", + "list_rate": "10.89", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": 2, + "delivery_date": null, + "delivery_date_guaranteed": false, + "est_delivery_days": 2, + "shipment_id": "shp_208d189a9f1f4295887b82aaa7b109e9", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" + }, + "tracker": { + "id": "trk_93626d9d84f949588508785ad04af706", + "object": "Tracker", + "mode": "test", + "tracking_code": "9405500207552011812801", + "status": "delivered", + "status_detail": "arrived_at_destination", + "created_at": "2024-01-24T00:07:27Z", + "updated_at": "2024-01-24T00:10:27Z", + "signed_by": "John Tester", + "weight": null, + "est_delivery_date": "2024-01-24T00:10:27Z", + "shipment_id": "shp_208d189a9f1f4295887b82aaa7b109e9", + "carrier": "USPS", + "tracking_details": [ + { + "object": "TrackingDetail", + "message": "Pre-Shipment Info Sent to USPS", + "description": "", + "status": "pre_transit", + "status_detail": "status_update", + "datetime": "2023-12-24T00:10:27Z", + "source": "USPS", + "carrier_code": "", + "tracking_location": { + "object": "TrackingLocation", + "city": null, + "state": null, + "country": null, + "zip": null + } + }, + { + "object": "TrackingDetail", + "message": "Shipping Label Created", + "description": "", + "status": "pre_transit", + "status_detail": "status_update", + "datetime": "2023-12-24T12:47:27Z", + "source": "USPS", + "carrier_code": "", + "tracking_location": { + "object": "TrackingLocation", + "city": "HOUSTON", + "state": "TX", + "country": null, + "zip": "77063" + } + }, + { + "object": "TrackingDetail", + "message": "Arrived at USPS Origin Facility", + "description": "", + "status": "in_transit", + "status_detail": "arrived_at_facility", + "datetime": "2023-12-24T22:52:27Z", + "source": "USPS", + "carrier_code": "", + "tracking_location": { + "object": "TrackingLocation", + "city": "NORTH HOUSTON", + "state": "TX", + "country": null, + "zip": "77315" + } + }, + { + "object": "TrackingDetail", + "message": "Arrived at USPS Facility", + "description": "", + "status": "in_transit", + "status_detail": "arrived_at_facility", + "datetime": "2023-12-26T00:28:27Z", + "source": "USPS", + "carrier_code": "", + "tracking_location": { + "object": "TrackingLocation", + "city": "COLUMBIA", + "state": "SC", + "country": null, + "zip": "29201" + } + }, + { + "object": "TrackingDetail", + "message": "Arrived at Post Office", + "description": "", + "status": "in_transit", + "status_detail": "arrived_at_facility", + "datetime": "2023-12-26T03:19:27Z", + "source": "USPS", + "carrier_code": "", + "tracking_location": { + "object": "TrackingLocation", + "city": "CHARLESTON", + "state": "SC", + "country": null, + "zip": "29407" + } + }, + { + "object": "TrackingDetail", + "message": "Sorting Complete", + "description": "", + "status": "in_transit", + "status_detail": "status_update", + "datetime": "2023-12-26T08:59:27Z", + "source": "USPS", + "carrier_code": "", + "tracking_location": { + "object": "TrackingLocation", + "city": "CHARLESTON", + "state": "SC", + "country": null, + "zip": "29407" + } + }, + { + "object": "TrackingDetail", + "message": "Out for Delivery", + "description": "", + "status": "out_for_delivery", + "status_detail": "out_for_delivery", + "datetime": "2023-12-26T09:09:27Z", + "source": "USPS", + "carrier_code": "", + "tracking_location": { + "object": "TrackingLocation", + "city": "CHARLESTON", + "state": "SC", + "country": null, + "zip": "29407" + } + }, + { + "object": "TrackingDetail", + "message": "Delivered", + "description": "", + "status": "delivered", + "status_detail": "arrived_at_destination", + "datetime": "2023-12-26T14:01:27Z", + "source": "USPS", + "carrier_code": "", + "tracking_location": { + "object": "TrackingLocation", + "city": "CHARLESTON", + "state": "SC", + "country": null, + "zip": "29407" + } + } + ], + "fees": [], + "carrier_detail": { + "object": "CarrierDetail", + "service": "First-Class Package Service", + "container_type": null, + "est_delivery_date_local": null, + "est_delivery_time_local": null, + "origin_location": "HOUSTON TX, 77001", + "origin_tracking_location": { + "object": "TrackingLocation", + "city": "NORTH HOUSTON", + "state": "TX", + "country": null, + "zip": "77315" + }, + "destination_location": "CHARLESTON SC, 29401", + "destination_tracking_location": { + "object": "TrackingLocation", + "city": "CHARLESTON", + "state": "SC", + "country": null, + "zip": "29407" + }, + "guaranteed_delivery_date": null, + "alternate_identifier": null, + "initial_delivery_attempt": "2023-12-26T14:01:27Z" + }, + "public_url": "https://track.easypost.com/djE6dHJrXzkzNjI2ZDlkODRmOTQ5NTg4NTA4Nzg1YWQwNGFmNzA2" + }, + "to_address": { + "id": "adr_8e15a60dba4c11ee8b50ac1f6bc53342", + "object": "Address", + "created_at": "2024-01-24T00:07:25+00:00", + "updated_at": "2024-01-24T00:07:26+00:00", + "name": "DR. STEVE BRULE", + "company": null, + "street1": "179 N HARBOR DR", + "street2": null, + "city": "REDONDO BEACH", + "state": "CA", + "zip": "90277-2506", + "country": "US", + "phone": "8573875756", + "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", + "carrier_facility": null, + "residential": false, + "federal_tax_id": null, + "state_tax_id": null, + "verifications": { + "zip4": { + "success": true, + "errors": [], + "details": null + }, + "delivery": { + "success": true, + "errors": [], + "details": { + "latitude": 33.8436, + "longitude": -118.39177, + "time_zone": "America/Los_Angeles" + } + } + } + }, + "usps_zone": 4, + "return_address": { + "id": "adr_8e182c46ba4c11ee8b51ac1f6bc53342", + "object": "Address", + "created_at": "2024-01-24T00:07:25+00:00", + "updated_at": "2024-01-24T00:07:25+00:00", + "name": "EasyPost", + "company": null, + "street1": "417 Montgomery Street", + "street2": "5th Floor", + "city": "San Francisco", + "state": "CA", + "zip": "94104", + "country": "US", + "phone": "4153334445", + "email": "support@easypost.com", + "mode": "test", + "carrier_facility": null, + "residential": null, + "federal_tax_id": null, + "state_tax_id": null, + "verifications": {} + }, + "buyer_address": { + "id": "adr_8e15a60dba4c11ee8b50ac1f6bc53342", + "object": "Address", + "created_at": "2024-01-24T00:07:25+00:00", + "updated_at": "2024-01-24T00:07:26+00:00", + "name": "DR. STEVE BRULE", + "company": null, + "street1": "179 N HARBOR DR", + "street2": null, + "city": "REDONDO BEACH", + "state": "CA", + "zip": "90277-2506", + "country": "US", + "phone": "8573875756", + "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", + "carrier_facility": null, + "residential": false, + "federal_tax_id": null, + "state_tax_id": null, + "verifications": { + "zip4": { + "success": true, + "errors": [], + "details": null + }, + "delivery": { + "success": true, + "errors": [], + "details": { + "latitude": 33.8436, + "longitude": -118.39177, + "time_zone": "America/Los_Angeles" + } + } + } + }, + "forms": [], + "fees": [ + { + "object": "Fee", + "type": "LabelFee", + "amount": "0.00000", + "charged": true, + "refunded": false + }, + { + "object": "Fee", + "type": "PostageFee", + "amount": "7.33000", + "charged": true, + "refunded": false + } + ], + "id": "shp_208d189a9f1f4295887b82aaa7b109e9", + "object": "Shipment" + }, + { + "created_at": "2024-01-24T00:07:21Z", + "is_return": false, + "messages": [], + "mode": "test", + "options": { + "currency": "USD", + "payment": { + "type": "SENDER" + }, + "date_advance": 0 + }, + "reference": null, + "status": "delivered", + "tracking_code": "9405500207552011812764", + "updated_at": "2024-01-24T00:12:37Z", + "batch_id": null, + "batch_status": null, + "batch_message": null, + "customs_info": { + "id": "cstinfo_a44c00ad084a4e49b36a578c7ad12b3c", + "object": "CustomsInfo", + "created_at": "2024-01-24T00:07:21Z", + "updated_at": "2024-01-24T00:07:21Z", + "contents_explanation": "", + "contents_type": "merchandise", + "customs_certify": true, + "customs_signer": "Steve Brule", + "eel_pfc": "NOEEI 30.37(a)", + "non_delivery_option": "return", + "restriction_comments": null, + "restriction_type": "none", + "mode": "test", + "declaration": null, + "customs_items": [ + { + "id": "cstitem_b649f3eb9b274f258949128a27f09216", + "object": "CustomsItem", + "created_at": "2024-01-24T00:07:21Z", + "updated_at": "2024-01-24T00:07:21Z", + "description": "T-shirt", + "hs_tariff_number": "123456", + "origin_country": "US", + "quantity": 1, + "value": "10.0", + "weight": 5.0, + "code": "123", + "mode": "test", + "manufacturer": null, + "currency": null, + "eccn": null, + "printed_commodity_identifier": null + } + ] + }, + "from_address": { + "id": "adr_8b3ce1a8ba4c11ee9cceac1f6bc539ae", + "object": "Address", + "created_at": "2024-01-24T00:07:21+00:00", + "updated_at": "2024-01-24T00:07:21+00:00", + "name": "EasyPost", + "company": null, + "street1": "417 Montgomery Street", + "street2": "5th Floor", + "city": "San Francisco", + "state": "CA", + "zip": "94104", + "country": "US", + "phone": "4153334445", + "email": "support@easypost.com", + "mode": "test", + "carrier_facility": null, + "residential": null, + "federal_tax_id": null, + "state_tax_id": null, + "verifications": {} + }, + "insurance": null, + "order_id": null, + "parcel": { + "id": "prcl_87da9db943434645bf7ea1610147ac67", + "object": "Parcel", + "created_at": "2024-01-24T00:07:21Z", + "updated_at": "2024-01-24T00:07:21Z", + "length": 20.2, + "width": 10.9, + "height": 5.0, + "predefined_package": null, + "weight": 65.9, + "mode": "test" + }, + "postage_label": { + "object": "PostageLabel", + "id": "pl_34135cc591ac4f1a808376739352bc39", + "created_at": "2024-01-24T00:07:21Z", + "updated_at": "2024-01-24T00:07:22Z", + "date_advance": 0, + "integrated_form": "none", + "label_date": "2024-01-24T00:07:21Z", + "label_resolution": 300, + "label_size": "4x6", + "label_type": "default", + "label_file_type": "image/png", + "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240124/e889e96a35fb8f4ae5adfbf0be34ed5540.png", + "label_pdf_url": null, + "label_zpl_url": null, + "label_epl2_url": null, + "label_file": null + }, + "rates": [ + { + "id": "rate_0c0663b91d934929996da5f9f28b746a", + "object": "Rate", + "created_at": "2024-01-24T00:07:21Z", + "updated_at": "2024-01-24T00:07:21Z", + "mode": "test", + "service": "Priority", + "carrier": "USPS", + "rate": "7.33", + "currency": "USD", + "retail_rate": "15.20", + "retail_currency": "USD", + "list_rate": "10.89", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": 2, + "delivery_date": null, + "delivery_date_guaranteed": false, + "est_delivery_days": 2, + "shipment_id": "shp_c3b0a61f204b4593a1ed98a3026dc4dc", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" + }, + { + "id": "rate_4ba349e49b554887af64f77dbb11a7ed", + "object": "Rate", + "created_at": "2024-01-24T00:07:21Z", + "updated_at": "2024-01-24T00:07:21Z", + "mode": "test", + "service": "GroundAdvantage", + "carrier": "USPS", + "rate": "6.79", + "currency": "USD", + "retail_rate": "13.15", + "retail_currency": "USD", + "list_rate": "9.41", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": 3, + "delivery_date": null, + "delivery_date_guaranteed": false, + "est_delivery_days": 3, + "shipment_id": "shp_c3b0a61f204b4593a1ed98a3026dc4dc", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" + }, + { + "id": "rate_0836612f559b43c0b6a10953d9ba6cf1", + "object": "Rate", + "created_at": "2024-01-24T00:07:21Z", + "updated_at": "2024-01-24T00:07:21Z", + "mode": "test", + "service": "First", + "carrier": "USPS", + "rate": "6.79", + "currency": "USD", + "retail_rate": "13.15", + "retail_currency": "USD", + "list_rate": "9.41", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": 3, + "delivery_date": null, + "delivery_date_guaranteed": false, + "est_delivery_days": 3, + "shipment_id": "shp_c3b0a61f204b4593a1ed98a3026dc4dc", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" + }, + { + "id": "rate_8491f22e06134c738c6f596f40c73f55", + "object": "Rate", + "created_at": "2024-01-24T00:07:21Z", + "updated_at": "2024-01-24T00:07:21Z", + "mode": "test", + "service": "ParcelSelect", + "carrier": "USPS", + "rate": "6.79", + "currency": "USD", + "retail_rate": "13.15", + "retail_currency": "USD", + "list_rate": "9.41", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": 3, + "delivery_date": null, + "delivery_date_guaranteed": false, + "est_delivery_days": 3, + "shipment_id": "shp_c3b0a61f204b4593a1ed98a3026dc4dc", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" + }, + { + "id": "rate_378eb83c9ae54608990f4e048377f2c2", + "object": "Rate", + "created_at": "2024-01-24T00:07:21Z", + "updated_at": "2024-01-24T00:07:21Z", + "mode": "test", + "service": "Express", + "carrier": "USPS", + "rate": "49.60", + "currency": "USD", + "retail_rate": "57.40", + "retail_currency": "USD", + "list_rate": "49.60", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": null, + "delivery_date": null, + "delivery_date_guaranteed": false, + "est_delivery_days": null, + "shipment_id": "shp_c3b0a61f204b4593a1ed98a3026dc4dc", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" + } + ], + "refund_status": "submitted", + "scan_form": null, + "selected_rate": { + "id": "rate_0c0663b91d934929996da5f9f28b746a", + "object": "Rate", + "created_at": "2024-01-24T00:07:21Z", + "updated_at": "2024-01-24T00:07:21Z", + "mode": "test", + "service": "Priority", + "carrier": "USPS", + "rate": "7.33", + "currency": "USD", + "retail_rate": "15.20", + "retail_currency": "USD", + "list_rate": "10.89", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": 2, + "delivery_date": null, + "delivery_date_guaranteed": false, + "est_delivery_days": 2, + "shipment_id": "shp_c3b0a61f204b4593a1ed98a3026dc4dc", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" + }, + "tracker": { + "id": "trk_81d0206395de4e288057266dd3870591", + "object": "Tracker", + "mode": "test", + "tracking_code": "9405500207552011812764", + "status": "delivered", + "status_detail": "arrived_at_destination", + "created_at": "2024-01-24T00:07:22Z", + "updated_at": "2024-01-24T00:10:22Z", + "signed_by": "John Tester", + "weight": null, + "est_delivery_date": "2024-01-24T00:10:22Z", + "shipment_id": "shp_c3b0a61f204b4593a1ed98a3026dc4dc", + "carrier": "USPS", + "tracking_details": [ + { + "object": "TrackingDetail", + "message": "Pre-Shipment Info Sent to USPS", + "description": "", + "status": "pre_transit", + "status_detail": "status_update", + "datetime": "2023-12-24T00:10:22Z", + "source": "USPS", + "carrier_code": "", + "tracking_location": { + "object": "TrackingLocation", + "city": null, + "state": null, + "country": null, + "zip": null + } + }, + { + "object": "TrackingDetail", + "message": "Shipping Label Created", + "description": "", + "status": "pre_transit", + "status_detail": "status_update", + "datetime": "2023-12-24T12:47:22Z", + "source": "USPS", + "carrier_code": "", + "tracking_location": { + "object": "TrackingLocation", + "city": "HOUSTON", + "state": "TX", + "country": null, + "zip": "77063" + } + }, + { + "object": "TrackingDetail", + "message": "Arrived at USPS Origin Facility", + "description": "", + "status": "in_transit", + "status_detail": "arrived_at_facility", + "datetime": "2023-12-24T22:52:22Z", + "source": "USPS", + "carrier_code": "", + "tracking_location": { + "object": "TrackingLocation", + "city": "NORTH HOUSTON", + "state": "TX", + "country": null, + "zip": "77315" + } + }, + { + "object": "TrackingDetail", + "message": "Arrived at USPS Facility", + "description": "", + "status": "in_transit", + "status_detail": "arrived_at_facility", + "datetime": "2023-12-26T00:28:22Z", + "source": "USPS", + "carrier_code": "", + "tracking_location": { + "object": "TrackingLocation", + "city": "COLUMBIA", + "state": "SC", + "country": null, + "zip": "29201" + } + }, + { + "object": "TrackingDetail", + "message": "Arrived at Post Office", + "description": "", + "status": "in_transit", + "status_detail": "arrived_at_facility", + "datetime": "2023-12-26T03:19:22Z", + "source": "USPS", + "carrier_code": "", + "tracking_location": { + "object": "TrackingLocation", + "city": "CHARLESTON", + "state": "SC", + "country": null, + "zip": "29407" + } + }, + { + "object": "TrackingDetail", + "message": "Sorting Complete", + "description": "", + "status": "in_transit", + "status_detail": "status_update", + "datetime": "2023-12-26T08:59:22Z", + "source": "USPS", + "carrier_code": "", + "tracking_location": { + "object": "TrackingLocation", + "city": "CHARLESTON", + "state": "SC", + "country": null, + "zip": "29407" + } + }, + { + "object": "TrackingDetail", + "message": "Out for Delivery", + "description": "", + "status": "out_for_delivery", + "status_detail": "out_for_delivery", + "datetime": "2023-12-26T09:09:22Z", + "source": "USPS", + "carrier_code": "", + "tracking_location": { + "object": "TrackingLocation", + "city": "CHARLESTON", + "state": "SC", + "country": null, + "zip": "29407" + } + }, + { + "object": "TrackingDetail", + "message": "Delivered", + "description": "", + "status": "delivered", + "status_detail": "arrived_at_destination", + "datetime": "2023-12-26T14:01:22Z", + "source": "USPS", + "carrier_code": "", + "tracking_location": { + "object": "TrackingLocation", + "city": "CHARLESTON", + "state": "SC", + "country": null, + "zip": "29407" + } + } + ], + "fees": [], + "carrier_detail": { + "object": "CarrierDetail", + "service": "First-Class Package Service", + "container_type": null, + "est_delivery_date_local": null, + "est_delivery_time_local": null, + "origin_location": "HOUSTON TX, 77001", + "origin_tracking_location": { + "object": "TrackingLocation", + "city": "NORTH HOUSTON", + "state": "TX", + "country": null, + "zip": "77315" + }, + "destination_location": "CHARLESTON SC, 29401", + "destination_tracking_location": { + "object": "TrackingLocation", + "city": "CHARLESTON", + "state": "SC", + "country": null, + "zip": "29407" + }, + "guaranteed_delivery_date": null, + "alternate_identifier": null, + "initial_delivery_attempt": "2023-12-26T14:01:22Z" + }, + "public_url": "https://track.easypost.com/djE6dHJrXzgxZDAyMDYzOTVkZTRlMjg4MDU3MjY2ZGQzODcwNTkx" + }, + "to_address": { + "id": "adr_8b3a39beba4c11eeb55cac1f6bc539aa", + "object": "Address", + "created_at": "2024-01-24T00:07:21+00:00", + "updated_at": "2024-01-24T00:07:21+00:00", + "name": "DR. STEVE BRULE", + "company": null, + "street1": "179 N HARBOR DR", + "street2": null, + "city": "REDONDO BEACH", + "state": "CA", + "zip": "90277-2506", + "country": "US", + "phone": "8573875756", + "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", + "carrier_facility": null, + "residential": false, + "federal_tax_id": null, + "state_tax_id": null, + "verifications": { + "zip4": { + "success": true, + "errors": [], + "details": null + }, + "delivery": { + "success": true, + "errors": [], + "details": { + "latitude": 33.8436, + "longitude": -118.39177, + "time_zone": "America/Los_Angeles" + } + } + } + }, + "usps_zone": 4, + "return_address": { + "id": "adr_8b3ce1a8ba4c11ee9cceac1f6bc539ae", + "object": "Address", + "created_at": "2024-01-24T00:07:21+00:00", + "updated_at": "2024-01-24T00:07:21+00:00", + "name": "EasyPost", + "company": null, + "street1": "417 Montgomery Street", + "street2": "5th Floor", + "city": "San Francisco", + "state": "CA", + "zip": "94104", + "country": "US", + "phone": "4153334445", + "email": "support@easypost.com", + "mode": "test", + "carrier_facility": null, + "residential": null, + "federal_tax_id": null, + "state_tax_id": null, + "verifications": {} + }, + "buyer_address": { + "id": "adr_8b3a39beba4c11eeb55cac1f6bc539aa", + "object": "Address", + "created_at": "2024-01-24T00:07:21+00:00", + "updated_at": "2024-01-24T00:07:21+00:00", + "name": "DR. STEVE BRULE", + "company": null, + "street1": "179 N HARBOR DR", + "street2": null, + "city": "REDONDO BEACH", + "state": "CA", + "zip": "90277-2506", + "country": "US", + "phone": "8573875756", + "email": "DR_STEVE_BRULE@GMAIL.COM", + "mode": "test", + "carrier_facility": null, + "residential": false, + "federal_tax_id": null, + "state_tax_id": null, + "verifications": { + "zip4": { + "success": true, + "errors": [], + "details": null + }, + "delivery": { + "success": true, + "errors": [], + "details": { + "latitude": 33.8436, + "longitude": -118.39177, + "time_zone": "America/Los_Angeles" + } + } + } + }, + "forms": [], + "fees": [ + { + "object": "Fee", + "type": "LabelFee", + "amount": "0.00000", + "charged": true, + "refunded": false + }, + { + "object": "Fee", + "type": "PostageFee", + "amount": "7.33000", + "charged": true, + "refunded": false + } + ], + "id": "shp_c3b0a61f204b4593a1ed98a3026dc4dc", + "object": "Shipment" + }, + { + "created_at": "2024-01-24T00:06:31Z", + "is_return": false, + "messages": [], + "mode": "test", + "options": { + "currency": "USD", + "payment": { + "type": "SENDER" + }, + "date_advance": 0 + }, + "reference": null, + "status": "delivered", + "tracking_code": "9405500207552011812689", + "updated_at": "2024-01-24T00:11:52Z", + "batch_id": "batch_98bf92c4f230400d93a24fa4298cc025", + "batch_status": "postage_purchased", + "batch_message": null, + "customs_info": { + "id": "cstinfo_b9b6f403171a449a9700bb4ff5171578", + "object": "CustomsInfo", + "created_at": "2024-01-24T00:06:31Z", + "updated_at": "2024-01-24T00:06:31Z", + "contents_explanation": "", + "contents_type": "merchandise", + "customs_certify": true, + "customs_signer": "Steve Brule", + "eel_pfc": "NOEEI 30.37(a)", + "non_delivery_option": "return", + "restriction_comments": null, + "restriction_type": "none", + "mode": "test", + "declaration": null, + "customs_items": [ + { + "id": "cstitem_b67e595b6cea459a9b8e7aeafd4b0edd", + "object": "CustomsItem", + "created_at": "2024-01-24T00:06:31Z", + "updated_at": "2024-01-24T00:06:31Z", + "description": "T-shirt", + "hs_tariff_number": "123456", + "origin_country": "US", + "quantity": 1, + "value": "10.0", + "weight": 5.0, + "code": "123", + "mode": "test", + "manufacturer": null, + "currency": null, + "eccn": null, + "printed_commodity_identifier": null + } + ] + }, + "from_address": { + "id": "adr_6d94f4a7ba4c11eeacf7ac1f6bc539aa", + "object": "Address", + "created_at": "2024-01-24T00:06:31+00:00", + "updated_at": "2024-01-24T00:06:31+00:00", + "name": "EasyPost", + "company": null, + "street1": "417 Montgomery Street", + "street2": "5th Floor", + "city": "San Francisco", + "state": "CA", + "zip": "94104", + "country": "US", + "phone": "4153334445", + "email": "support@easypost.com", + "mode": "test", + "carrier_facility": null, + "residential": null, + "federal_tax_id": null, + "state_tax_id": null, + "verifications": {} + }, + "insurance": null, + "order_id": null, + "parcel": { + "id": "prcl_c5968ce204d445acbe344bc4d6dc34ce", + "object": "Parcel", + "created_at": "2024-01-24T00:06:31Z", + "updated_at": "2024-01-24T00:06:31Z", + "length": 20.2, + "width": 10.9, + "height": 5.0, + "predefined_package": null, + "weight": 65.9, + "mode": "test" + }, + "postage_label": { + "object": "PostageLabel", + "id": "pl_49ea349da25e40e7b870e8f8dac5fa6e", + "created_at": "2024-01-24T00:06:31Z", + "updated_at": "2024-01-24T00:06:32Z", + "date_advance": 0, + "integrated_form": "none", + "label_date": "2024-01-24T00:06:31Z", + "label_resolution": 300, + "label_size": "4x6", + "label_type": "default", + "label_file_type": "image/png", + "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240124/e8be1ac5443dae47fb8321d0a5e3494b81.png", + "label_pdf_url": null, + "label_zpl_url": null, + "label_epl2_url": null, + "label_file": null + }, + "rates": [ + { + "id": "rate_e5722f0f792e4866b366ed45364bd485", + "object": "Rate", + "created_at": "2024-01-24T00:06:31Z", + "updated_at": "2024-01-24T00:06:31Z", + "mode": "test", + "service": "Priority", + "carrier": "USPS", + "rate": "7.33", + "currency": "USD", + "retail_rate": "15.20", + "retail_currency": "USD", + "list_rate": "10.89", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": 2, + "delivery_date": null, + "delivery_date_guaranteed": false, + "est_delivery_days": 2, + "shipment_id": "shp_436a1adad9ac4a0d888b27f82b284dee", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" + }, + { + "id": "rate_cb7874a83d4745908619c1b51a1eeb0e", + "object": "Rate", + "created_at": "2024-01-24T00:06:31Z", + "updated_at": "2024-01-24T00:06:31Z", + "mode": "test", + "service": "GroundAdvantage", + "carrier": "USPS", + "rate": "6.79", + "currency": "USD", + "retail_rate": "13.15", + "retail_currency": "USD", + "list_rate": "9.41", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": 3, + "delivery_date": null, + "delivery_date_guaranteed": false, + "est_delivery_days": 3, + "shipment_id": "shp_436a1adad9ac4a0d888b27f82b284dee", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" + }, + { + "id": "rate_0de7dcafef7f40d0a1669140ab42d952", + "object": "Rate", + "created_at": "2024-01-24T00:06:31Z", + "updated_at": "2024-01-24T00:06:31Z", + "mode": "test", + "service": "First", + "carrier": "USPS", + "rate": "6.79", + "currency": "USD", + "retail_rate": "13.15", + "retail_currency": "USD", + "list_rate": "9.41", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": 3, + "delivery_date": null, + "delivery_date_guaranteed": false, + "est_delivery_days": 3, + "shipment_id": "shp_436a1adad9ac4a0d888b27f82b284dee", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" + }, + { + "id": "rate_314fe5c039f84dfeba7d8fe218d771f6", + "object": "Rate", + "created_at": "2024-01-24T00:06:31Z", + "updated_at": "2024-01-24T00:06:31Z", + "mode": "test", + "service": "ParcelSelect", + "carrier": "USPS", + "rate": "6.79", + "currency": "USD", + "retail_rate": "13.15", + "retail_currency": "USD", + "list_rate": "9.41", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": 3, + "delivery_date": null, + "delivery_date_guaranteed": false, + "est_delivery_days": 3, + "shipment_id": "shp_436a1adad9ac4a0d888b27f82b284dee", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" + }, + { + "id": "rate_bbee837039494bccb186b3f2eb9bc0e7", + "object": "Rate", + "created_at": "2024-01-24T00:06:31Z", + "updated_at": "2024-01-24T00:06:31Z", + "mode": "test", + "service": "Express", + "carrier": "USPS", + "rate": "49.60", + "currency": "USD", + "retail_rate": "57.40", + "retail_currency": "USD", + "list_rate": "49.60", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": null, + "delivery_date": null, + "delivery_date_guaranteed": false, + "est_delivery_days": null, + "shipment_id": "shp_436a1adad9ac4a0d888b27f82b284dee", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" + } + ], + "refund_status": null, + "scan_form": null, + "selected_rate": { + "id": "rate_e5722f0f792e4866b366ed45364bd485", + "object": "Rate", + "created_at": "2024-01-24T00:06:32Z", + "updated_at": "2024-01-24T00:06:32Z", + "mode": "test", + "service": "Priority", + "carrier": "USPS", + "rate": "7.33", + "currency": "USD", + "retail_rate": "15.20", + "retail_currency": "USD", + "list_rate": "10.89", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": 2, + "delivery_date": null, + "delivery_date_guaranteed": false, + "est_delivery_days": 2, + "shipment_id": "shp_436a1adad9ac4a0d888b27f82b284dee", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" + }, + "tracker": { + "id": "trk_10e194da76924301a4f3ce47056db085", + "object": "Tracker", + "mode": "test", + "tracking_code": "9405500207552011812689", + "status": "delivered", + "status_detail": "arrived_at_destination", + "created_at": "2024-01-24T00:06:32Z", + "updated_at": "2024-01-24T00:09:32Z", + "signed_by": "John Tester", + "weight": null, + "est_delivery_date": "2024-01-24T00:09:32Z", + "shipment_id": "shp_436a1adad9ac4a0d888b27f82b284dee", + "carrier": "USPS", + "tracking_details": [ + { + "object": "TrackingDetail", + "message": "Pre-Shipment Info Sent to USPS", + "description": "", + "status": "pre_transit", + "status_detail": "status_update", + "datetime": "2023-12-24T00:09:32Z", + "source": "USPS", + "carrier_code": "", + "tracking_location": { + "object": "TrackingLocation", + "city": null, + "state": null, + "country": null, + "zip": null + } + }, + { + "object": "TrackingDetail", + "message": "Shipping Label Created", + "description": "", + "status": "pre_transit", + "status_detail": "status_update", + "datetime": "2023-12-24T12:46:32Z", + "source": "USPS", + "carrier_code": "", + "tracking_location": { + "object": "TrackingLocation", + "city": "HOUSTON", + "state": "TX", + "country": null, + "zip": "77063" + } + }, + { + "object": "TrackingDetail", + "message": "Arrived at USPS Origin Facility", + "description": "", + "status": "in_transit", + "status_detail": "arrived_at_facility", + "datetime": "2023-12-24T22:51:32Z", + "source": "USPS", + "carrier_code": "", + "tracking_location": { + "object": "TrackingLocation", + "city": "NORTH HOUSTON", + "state": "TX", + "country": null, + "zip": "77315" + } + }, + { + "object": "TrackingDetail", + "message": "Arrived at USPS Facility", + "description": "", + "status": "in_transit", + "status_detail": "arrived_at_facility", + "datetime": "2023-12-26T00:27:32Z", + "source": "USPS", + "carrier_code": "", + "tracking_location": { + "object": "TrackingLocation", + "city": "COLUMBIA", + "state": "SC", + "country": null, + "zip": "29201" + } + }, + { + "object": "TrackingDetail", + "message": "Arrived at Post Office", + "description": "", + "status": "in_transit", + "status_detail": "arrived_at_facility", + "datetime": "2023-12-26T03:18:32Z", + "source": "USPS", + "carrier_code": "", + "tracking_location": { + "object": "TrackingLocation", + "city": "CHARLESTON", + "state": "SC", + "country": null, + "zip": "29407" + } + }, + { + "object": "TrackingDetail", + "message": "Sorting Complete", + "description": "", + "status": "in_transit", + "status_detail": "status_update", + "datetime": "2023-12-26T08:58:32Z", + "source": "USPS", + "carrier_code": "", + "tracking_location": { + "object": "TrackingLocation", + "city": "CHARLESTON", + "state": "SC", + "country": null, + "zip": "29407" + } + }, + { + "object": "TrackingDetail", + "message": "Out for Delivery", + "description": "", + "status": "out_for_delivery", + "status_detail": "out_for_delivery", + "datetime": "2023-12-26T09:08:32Z", + "source": "USPS", + "carrier_code": "", + "tracking_location": { + "object": "TrackingLocation", + "city": "CHARLESTON", + "state": "SC", + "country": null, + "zip": "29407" + } + }, + { + "object": "TrackingDetail", + "message": "Delivered", + "description": "", + "status": "delivered", + "status_detail": "arrived_at_destination", + "datetime": "2023-12-26T14:00:32Z", + "source": "USPS", + "carrier_code": "", + "tracking_location": { + "object": "TrackingLocation", + "city": "CHARLESTON", + "state": "SC", + "country": null, + "zip": "29407" + } + } + ], + "fees": [], + "carrier_detail": { + "object": "CarrierDetail", + "service": "First-Class Package Service", + "container_type": null, + "est_delivery_date_local": null, + "est_delivery_time_local": null, + "origin_location": "HOUSTON TX, 77001", + "origin_tracking_location": { + "object": "TrackingLocation", + "city": "NORTH HOUSTON", + "state": "TX", + "country": null, + "zip": "77315" + }, + "destination_location": "CHARLESTON SC, 29401", + "destination_tracking_location": { + "object": "TrackingLocation", + "city": "CHARLESTON", + "state": "SC", + "country": null, + "zip": "29407" + }, "guaranteed_delivery_date": null, "alternate_identifier": null, - "initial_delivery_attempt": null + "initial_delivery_attempt": "2023-12-26T14:00:32Z" }, - "public_url": "https://track.easypost.com/djE6dHJrXzFjNTY1MjZhODllMDRjNGM4MDAxM2ZkNzYzZjkxMjI4" + "public_url": "https://track.easypost.com/djE6dHJrXzEwZTE5NGRhNzY5MjQzMDFhNGYzY2U0NzA1NmRiMDg1" }, "to_address": { - "id": "adr_6e09528d1f4711ee9deaac1f6bc53342", + "id": "adr_6d931952ba4c11eeacf5ac1f6bc539aa", "object": "Address", - "created_at": "2023-07-10T17:30:14+00:00", - "updated_at": "2023-07-10T17:30:15+00:00", + "created_at": "2024-01-24T00:06:31+00:00", + "updated_at": "2024-01-24T00:06:31+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", @@ -369,10 +2712,10 @@ }, "usps_zone": 4, "return_address": { - "id": "adr_6e0ac14a1f4711eeacd5ac1f6bc539ae", + "id": "adr_6d94f4a7ba4c11eeacf7ac1f6bc539aa", "object": "Address", - "created_at": "2023-07-10T17:30:14+00:00", - "updated_at": "2023-07-10T17:30:14+00:00", + "created_at": "2024-01-24T00:06:31+00:00", + "updated_at": "2024-01-24T00:06:31+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -391,10 +2734,10 @@ "verifications": {} }, "buyer_address": { - "id": "adr_6e09528d1f4711ee9deaac1f6bc53342", + "id": "adr_6d931952ba4c11eeacf5ac1f6bc539aa", "object": "Address", - "created_at": "2023-07-10T17:30:14+00:00", - "updated_at": "2023-07-10T17:30:15+00:00", + "created_at": "2024-01-24T00:06:31+00:00", + "updated_at": "2024-01-24T00:06:31+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", @@ -439,14 +2782,14 @@ { "object": "Fee", "type": "PostageFee", - "amount": "4.81000", + "amount": "7.33000", "charged": true, "refunded": false } ], - "id": "shp_06a2ad37dc1c425c88c593f3e9cf5ea4", + "id": "shp_436a1adad9ac4a0d888b27f82b284dee", "object": "Shipment" } ], - "has_more": false + "has_more": true } diff --git a/official/docs/responses/parcels/parcels-create.json b/official/docs/responses/parcels/parcels-create.json index f5bda95f..ee5dd895 100644 --- a/official/docs/responses/parcels/parcels-create.json +++ b/official/docs/responses/parcels/parcels-create.json @@ -1,8 +1,8 @@ { - "id": "prcl_58f88a512a02497e8137327927906c04", + "id": "prcl_b35e1e715f30402b9eed234372505f7c", "object": "Parcel", - "created_at": "2024-01-19T21:41:01Z", - "updated_at": "2024-01-19T21:41:01Z", + "created_at": "2024-01-24T00:06:01Z", + "updated_at": "2024-01-24T00:06:01Z", "length": 20.2, "width": 10.9, "height": 5.0, diff --git a/official/docs/responses/parcels/parcels-retrieve.json b/official/docs/responses/parcels/parcels-retrieve.json index f8ca9a75..ab5e7916 100644 --- a/official/docs/responses/parcels/parcels-retrieve.json +++ b/official/docs/responses/parcels/parcels-retrieve.json @@ -1,8 +1,8 @@ { - "id": "prcl_723c9187b4894dc187a748ab429e9cf6", + "id": "prcl_85acf9cc4cb54eeabebda7e6f7a18e99", "object": "Parcel", - "created_at": "2024-01-19T21:41:02Z", - "updated_at": "2024-01-19T21:41:02Z", + "created_at": "2024-01-24T00:06:01Z", + "updated_at": "2024-01-24T00:06:01Z", "length": 20.2, "width": 10.9, "height": 5.0, diff --git a/official/docs/responses/pickups/pickups-buy.json b/official/docs/responses/pickups/pickups-buy.json index fbba54df..84f13663 100644 --- a/official/docs/responses/pickups/pickups-buy.json +++ b/official/docs/responses/pickups/pickups-buy.json @@ -1,22 +1,22 @@ { - "id": "pickup_db5cb87e14e94e159a444af91d8fcdc2", + "id": "pickup_9eaa3a663af34ffba5ed9a6849edc7fe", "object": "Pickup", - "created_at": "2024-01-19T21:41:10Z", - "updated_at": "2024-01-19T21:41:22Z", + "created_at": "2024-01-24T00:06:09Z", + "updated_at": "2024-01-24T00:06:31Z", "mode": "test", "status": "scheduled", "reference": "my-first-pickup", - "min_datetime": "2024-01-22T00:00:00Z", - "max_datetime": "2024-01-22T00:00:00Z", + "min_datetime": "2024-01-24T00:00:00Z", + "max_datetime": "2024-01-24T00:00:00Z", "is_account_address": false, "instructions": "Special pickup instructions", "messages": [], - "confirmation": "WTC64043474", + "confirmation": "WTC64065022", "address": { - "id": "adr_75f030e9b71311eea934ac1f6bc539aa", + "id": "adr_60557ddaba4c11eea8e7ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T21:41:10+00:00", - "updated_at": "2024-01-19T21:41:10+00:00", + "created_at": "2024-01-24T00:06:09+00:00", + "updated_at": "2024-01-24T00:06:09+00:00", "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", @@ -41,11 +41,11 @@ "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2024-01-19T21:41:11Z", - "updated_at": "2024-01-19T21:41:11Z", + "created_at": "2024-01-24T00:06:09Z", + "updated_at": "2024-01-24T00:06:09Z", "carrier": "USPS", - "pickup_id": "pickup_db5cb87e14e94e159a444af91d8fcdc2", - "id": "pickuprate_b74039cec56944a8a21d28dce270a31b", + "pickup_id": "pickup_9eaa3a663af34ffba5ed9a6849edc7fe", + "id": "pickuprate_4c3092b06e9342fc848b7ecd28a24f22", "object": "PickupRate" } ] diff --git a/official/docs/responses/pickups/pickups-cancel.json b/official/docs/responses/pickups/pickups-cancel.json index d19fb96a..ec65d64a 100644 --- a/official/docs/responses/pickups/pickups-cancel.json +++ b/official/docs/responses/pickups/pickups-cancel.json @@ -1,22 +1,22 @@ { - "id": "pickup_d5d09755c5144ed0b37d82bfb85e64a1", + "id": "pickup_de371d00d7c1446e9c73ae1f7742c708", "object": "Pickup", - "created_at": "2024-01-19T21:41:24Z", - "updated_at": "2024-01-19T21:41:47Z", + "created_at": "2024-01-24T00:06:32Z", + "updated_at": "2024-01-24T00:07:15Z", "mode": "test", "status": "canceled", "reference": "my-first-pickup", - "min_datetime": "2024-01-22T00:00:00Z", - "max_datetime": "2024-01-22T00:00:00Z", + "min_datetime": "2024-01-24T00:00:00Z", + "max_datetime": "2024-01-24T00:00:00Z", "is_account_address": false, "instructions": "Special pickup instructions", "messages": [], - "confirmation": "WTC64043432", + "confirmation": "WTC64065024", "address": { - "id": "adr_7e05555db71311eeac0dac1f6bc539aa", + "id": "adr_6e5b0cd4ba4c11ee81dcac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:41:24+00:00", - "updated_at": "2024-01-19T21:41:24+00:00", + "created_at": "2024-01-24T00:06:32+00:00", + "updated_at": "2024-01-24T00:06:32+00:00", "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", @@ -41,11 +41,11 @@ "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2024-01-19T21:41:24Z", - "updated_at": "2024-01-19T21:41:24Z", + "created_at": "2024-01-24T00:06:33Z", + "updated_at": "2024-01-24T00:06:33Z", "carrier": "USPS", - "pickup_id": "pickup_d5d09755c5144ed0b37d82bfb85e64a1", - "id": "pickuprate_0abf056bc3b7484eab8179368a2dbf02", + "pickup_id": "pickup_de371d00d7c1446e9c73ae1f7742c708", + "id": "pickuprate_4c260c126e114a09a4522c7d18b71636", "object": "PickupRate" } ] diff --git a/official/docs/responses/pickups/pickups-create.json b/official/docs/responses/pickups/pickups-create.json index ac7f2ba3..a5767845 100644 --- a/official/docs/responses/pickups/pickups-create.json +++ b/official/docs/responses/pickups/pickups-create.json @@ -1,22 +1,22 @@ { - "id": "pickup_2c46d329efad4c5cab02c9a03ff96a2b", + "id": "pickup_13e5d7e2a7824432a07975bc553944bc", "object": "Pickup", - "created_at": "2024-01-19T21:41:04Z", - "updated_at": "2024-01-19T21:41:04Z", + "created_at": "2024-01-24T00:06:03Z", + "updated_at": "2024-01-24T00:06:03Z", "mode": "test", "status": "unknown", "reference": "my-first-pickup", - "min_datetime": "2024-01-22T00:00:00Z", - "max_datetime": "2024-01-22T00:00:00Z", + "min_datetime": "2024-01-24T00:00:00Z", + "max_datetime": "2024-01-24T00:00:00Z", "is_account_address": false, "instructions": "Special pickup instructions", "messages": [], "confirmation": null, "address": { - "id": "adr_72442a6eb71311ee984aac1f6bc53342", + "id": "adr_5d1b8e3aba4c11ee98803cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:41:04+00:00", - "updated_at": "2024-01-19T21:41:04+00:00", + "created_at": "2024-01-24T00:06:03+00:00", + "updated_at": "2024-01-24T00:06:03+00:00", "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", @@ -41,11 +41,11 @@ "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2024-01-19T21:41:05Z", - "updated_at": "2024-01-19T21:41:05Z", + "created_at": "2024-01-24T00:06:04Z", + "updated_at": "2024-01-24T00:06:04Z", "carrier": "USPS", - "pickup_id": "pickup_2c46d329efad4c5cab02c9a03ff96a2b", - "id": "pickuprate_0633e96b11f24a2ebe689ce23b248412", + "pickup_id": "pickup_13e5d7e2a7824432a07975bc553944bc", + "id": "pickuprate_a6cd2647a898410aa5d33febde44e1b2", "object": "PickupRate" } ] diff --git a/official/docs/responses/pickups/pickups-list.json b/official/docs/responses/pickups/pickups-list.json index 418bd4ad..9da27d59 100644 --- a/official/docs/responses/pickups/pickups-list.json +++ b/official/docs/responses/pickups/pickups-list.json @@ -1,24 +1,24 @@ { "pickups": [ { - "id": "pickup_283f2915cc7b42c1889195ddb6519ef7", + "id": "pickup_de371d00d7c1446e9c73ae1f7742c708", "object": "Pickup", - "created_at": "2024-01-19T22:05:27Z", - "updated_at": "2024-01-19T22:05:30Z", + "created_at": "2024-01-24T00:06:32Z", + "updated_at": "2024-01-24T00:07:15Z", "mode": "test", "status": "canceled", "reference": "my-first-pickup", - "min_datetime": "2024-01-22T00:00:00Z", - "max_datetime": "2024-01-22T00:00:00Z", + "min_datetime": "2024-01-24T00:00:00Z", + "max_datetime": "2024-01-24T00:00:00Z", "is_account_address": false, "instructions": "Special pickup instructions", "messages": [], - "confirmation": "WTC64043622", + "confirmation": "WTC64065024", "address": { - "id": "adr_da725a65b71611ee878dac1f6bc539aa", + "id": "adr_6e5b0cd4ba4c11ee81dcac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T22:05:27+00:00", - "updated_at": "2024-01-19T22:05:27+00:00", + "created_at": "2024-01-24T00:06:32+00:00", + "updated_at": "2024-01-24T00:06:32+00:00", "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", @@ -43,11 +43,11 @@ "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2024-01-19T22:05:28Z", - "updated_at": "2024-01-19T22:05:28Z", + "created_at": "2024-01-24T00:06:33Z", + "updated_at": "2024-01-24T00:06:33Z", "carrier": "USPS", - "pickup_id": "pickup_283f2915cc7b42c1889195ddb6519ef7", - "id": "pickuprate_ca16cbcc4c4e4ad3b2be59e9f79505ca", + "pickup_id": "pickup_de371d00d7c1446e9c73ae1f7742c708", + "id": "pickuprate_4c260c126e114a09a4522c7d18b71636", "object": "PickupRate" } ] diff --git a/official/docs/responses/pickups/pickups-retrieve.json b/official/docs/responses/pickups/pickups-retrieve.json index 653a7df1..e3115079 100644 --- a/official/docs/responses/pickups/pickups-retrieve.json +++ b/official/docs/responses/pickups/pickups-retrieve.json @@ -1,22 +1,22 @@ { - "id": "pickup_f0a1d91dca5b4c42b6af1ae4b48730c4", + "id": "pickup_0ccd407d45a24451a8599824d1961989", "object": "Pickup", - "created_at": "2024-01-19T21:41:07Z", - "updated_at": "2024-01-19T21:41:07Z", + "created_at": "2024-01-24T00:06:06Z", + "updated_at": "2024-01-24T00:06:06Z", "mode": "test", "status": "unknown", "reference": "my-first-pickup", - "min_datetime": "2024-01-22T00:00:00Z", - "max_datetime": "2024-01-22T00:00:00Z", + "min_datetime": "2024-01-24T00:00:00Z", + "max_datetime": "2024-01-24T00:00:00Z", "is_account_address": false, "instructions": "Special pickup instructions", "messages": [], "confirmation": null, "address": { - "id": "adr_7406e78cb71311ee99cfac1f6bc539ae", + "id": "adr_5e864f12ba4c11ee8f38ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:41:07+00:00", - "updated_at": "2024-01-19T21:41:07+00:00", + "created_at": "2024-01-24T00:06:06+00:00", + "updated_at": "2024-01-24T00:06:06+00:00", "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", @@ -41,11 +41,11 @@ "service": "NextDay", "rate": "0.00", "currency": "USD", - "created_at": "2024-01-19T21:41:08Z", - "updated_at": "2024-01-19T21:41:08Z", + "created_at": "2024-01-24T00:06:06Z", + "updated_at": "2024-01-24T00:06:06Z", "carrier": "USPS", - "pickup_id": "pickup_f0a1d91dca5b4c42b6af1ae4b48730c4", - "id": "pickuprate_906a807395f749df9671bdc5d2f800b2", + "pickup_id": "pickup_0ccd407d45a24451a8599824d1961989", + "id": "pickuprate_c8c474e62dd94c34b2fd8770b848c96e", "object": "PickupRate" } ] diff --git a/official/docs/responses/rates/rates-regenerate.json b/official/docs/responses/rates/rates-regenerate.json index 785e028a..eb6dbb6c 100644 --- a/official/docs/responses/rates/rates-regenerate.json +++ b/official/docs/responses/rates/rates-regenerate.json @@ -1,114 +1,114 @@ { "rates": [ { - "id": "rate_57e05c91db824b22822b07b4587725b6", + "id": "rate_baa35256609648be87726a3e2dfebdac", "object": "Rate", - "created_at": "2024-01-19T21:41:50Z", - "updated_at": "2024-01-19T21:41:50Z", + "created_at": "2024-01-24T00:07:18Z", + "updated_at": "2024-01-24T00:07:18Z", "mode": "test", - "service": "Express", + "service": "Priority", "carrier": "USPS", - "rate": "46.85", + "rate": "7.33", "currency": "USD", - "retail_rate": "54.20", + "retail_rate": "15.20", "retail_currency": "USD", - "list_rate": "46.85", + "list_rate": "10.89", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, + "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": null, - "shipment_id": "shp_ba77a6f86ef7491583fee193dedb2d6f", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "est_delivery_days": 2, + "shipment_id": "shp_ad0d9c3e424b498698df7258db0d677e", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_9956a5e475cb4b8187e1ccea9d4d13ac", + "id": "rate_2bab14cc52364f2b9bc2ccf3ca7b3862", "object": "Rate", - "created_at": "2024-01-19T21:41:50Z", - "updated_at": "2024-01-19T21:41:50Z", + "created_at": "2024-01-24T00:07:18Z", + "updated_at": "2024-01-24T00:07:18Z", "mode": "test", - "service": "Priority", + "service": "GroundAdvantage", "carrier": "USPS", - "rate": "7.99", + "rate": "6.79", "currency": "USD", - "retail_rate": "14.05", + "retail_rate": "13.15", "retail_currency": "USD", - "list_rate": "10.27", + "list_rate": "9.41", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 2, + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 2, - "shipment_id": "shp_ba77a6f86ef7491583fee193dedb2d6f", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "est_delivery_days": 3, + "shipment_id": "shp_ad0d9c3e424b498698df7258db0d677e", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_d4ca50d77d484dc282c9a000ace540a9", + "id": "rate_e378828036014066810f573b11e3422c", "object": "Rate", - "created_at": "2024-01-19T21:41:50Z", - "updated_at": "2024-01-19T21:41:50Z", + "created_at": "2024-01-24T00:07:18Z", + "updated_at": "2024-01-24T00:07:18Z", "mode": "test", - "service": "GroundAdvantage", + "service": "First", "carrier": "USPS", "rate": "6.79", "currency": "USD", - "retail_rate": "12.45", + "retail_rate": "13.15", "retail_currency": "USD", - "list_rate": "8.92", + "list_rate": "9.41", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_ba77a6f86ef7491583fee193dedb2d6f", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_ad0d9c3e424b498698df7258db0d677e", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_fde79e357e8f4f80baf0f1f73dd88fc4", + "id": "rate_6989382e7baf477e90b024d4b2adb123", "object": "Rate", - "created_at": "2024-01-19T21:41:50Z", - "updated_at": "2024-01-19T21:41:50Z", + "created_at": "2024-01-24T00:07:18Z", + "updated_at": "2024-01-24T00:07:18Z", "mode": "test", - "service": "First", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": "USD", - "retail_rate": "12.45", + "retail_rate": "13.15", "retail_currency": "USD", - "list_rate": "8.92", + "list_rate": "9.41", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_ba77a6f86ef7491583fee193dedb2d6f", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_ad0d9c3e424b498698df7258db0d677e", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_538437c6d7424537bb6936d3bdec7339", + "id": "rate_d1795faa20de435089eac68b61ae37dc", "object": "Rate", - "created_at": "2024-01-19T21:41:50Z", - "updated_at": "2024-01-19T21:41:50Z", + "created_at": "2024-01-24T00:07:18Z", + "updated_at": "2024-01-24T00:07:18Z", "mode": "test", - "service": "ParcelSelect", + "service": "Express", "carrier": "USPS", - "rate": "6.79", + "rate": "49.60", "currency": "USD", - "retail_rate": "12.45", + "retail_rate": "57.40", "retail_currency": "USD", - "list_rate": "8.92", + "list_rate": "49.60", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, - "shipment_id": "shp_ba77a6f86ef7491583fee193dedb2d6f", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "est_delivery_days": null, + "shipment_id": "shp_ad0d9c3e424b498698df7258db0d677e", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" } ] } diff --git a/official/docs/responses/rates/rates-retrieve-stateless.json b/official/docs/responses/rates/rates-retrieve-stateless.json index b983230f..7b30b5a7 100644 --- a/official/docs/responses/rates/rates-retrieve-stateless.json +++ b/official/docs/responses/rates/rates-retrieve-stateless.json @@ -26,92 +26,92 @@ { "object": "Rate", "mode": "test", - "service": "GroundAdvantage", + "service": "Priority", "carrier": "USPS", - "rate": "6.79", + "rate": "7.33", "currency": "USD", - "retail_rate": "12.45", + "retail_rate": "15.20", "retail_currency": "USD", - "list_rate": "8.92", + "list_rate": "10.89", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, + "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "est_delivery_days": 2, + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { "object": "Rate", "mode": "test", - "service": "First", + "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", "currency": "USD", - "retail_rate": "12.45", + "retail_rate": "13.15", "retail_currency": "USD", - "list_rate": "8.92", + "list_rate": "9.41", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { "object": "Rate", "mode": "test", - "service": "ParcelSelect", + "service": "First", "carrier": "USPS", "rate": "6.79", "currency": "USD", - "retail_rate": "12.45", + "retail_rate": "13.15", "retail_currency": "USD", - "list_rate": "8.92", + "list_rate": "9.41", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { "object": "Rate", "mode": "test", - "service": "Express", + "service": "ParcelSelect", "carrier": "USPS", - "rate": "46.85", + "rate": "6.79", "currency": "USD", - "retail_rate": "54.20", + "retail_rate": "13.15", "retail_currency": "USD", - "list_rate": "46.85", + "list_rate": "9.41", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": null, - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "est_delivery_days": 3, + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { "object": "Rate", "mode": "test", - "service": "Priority", + "service": "Express", "carrier": "USPS", - "rate": "7.99", + "rate": "49.60", "currency": "USD", - "retail_rate": "14.05", + "retail_rate": "57.40", "retail_currency": "USD", - "list_rate": "10.27", + "list_rate": "49.60", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 2, + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 2, - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "est_delivery_days": null, + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" } ], "options": { @@ -128,42 +128,5 @@ "height": 5.0, "weight": 65.9 }, - "messages": [ - { - "carrier": "DhlEcs", - "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f", - "type": "rate_error", - "message": "Unauthorized. Please check credentials and try again" - }, - { - "carrier": "DhlEcs", - "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea", - "type": "rate_error", - "message": "Unauthorized. Please check credentials and try again" - }, - { - "carrier": "DhlEcs", - "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a", - "type": "rate_error", - "message": "Unauthorized. Please check credentials and try again" - }, - { - "carrier": "DhlEcs", - "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476", - "type": "rate_error", - "message": "Unauthorized. Please check credentials and try again" - }, - { - "carrier": "DhlEcs", - "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c", - "type": "rate_error", - "message": "Unauthorized. Please check credentials and try again" - }, - { - "carrier": "DhlEcs", - "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e", - "type": "rate_error", - "message": "Unauthorized. Please check credentials and try again" - } - ] + "messages": [] } diff --git a/official/docs/responses/rates/rates-retrieve.json b/official/docs/responses/rates/rates-retrieve.json index 1aac1df5..54444126 100644 --- a/official/docs/responses/rates/rates-retrieve.json +++ b/official/docs/responses/rates/rates-retrieve.json @@ -1,22 +1,22 @@ { - "id": "rate_c687bf16e5ca4546975a7592c4f98601", + "id": "rate_107597ab3fa04e2b8494bdd242b7c540", "object": "Rate", - "created_at": "2024-01-19T21:41:48Z", - "updated_at": "2024-01-19T21:41:48Z", + "created_at": "2024-01-24T00:07:16Z", + "updated_at": "2024-01-24T00:07:16Z", "mode": "test", - "service": "Express", + "service": "Priority", "carrier": "USPS", - "rate": "46.85", + "rate": "7.33", "currency": "USD", - "retail_rate": "54.20", + "retail_rate": "15.20", "retail_currency": "USD", - "list_rate": "46.85", + "list_rate": "10.89", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, + "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": null, - "shipment_id": "shp_1be229ae6e724ace9b3f7147bb186ff8", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "est_delivery_days": 2, + "shipment_id": "shp_bd366431126a46aabb617e52241a1048", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" } diff --git a/official/docs/responses/referral-customers/referral-customers-create.json b/official/docs/responses/referral-customers/referral-customers-create.json index 78bb6b6e..cd1db701 100644 --- a/official/docs/responses/referral-customers/referral-customers-create.json +++ b/official/docs/responses/referral-customers/referral-customers-create.json @@ -1,11 +1,11 @@ { - "id": "user_98f23364261c476ab4ff9e9826c39e27", + "id": "user_50d792728c504bd4a34642ecdfd915b2", "object": "User", "parent_id": null, "name": "test test", "phone_number": "8888888888", "verified": true, - "created_at": "2024-01-19T21:41:50Z", + "created_at": "2024-01-24T00:07:18Z", "default_carbon_offset": false, "has_elevate_access": false, "balance": "0.00000", @@ -18,24 +18,24 @@ "default_insurance_amount": "50.00", "insurance_fee_rate": "0.005", "insurance_fee_minimum": "0.25", - "email": "referral_customer_798ade56147e4ea0ab12872b7b08edf7@donotemail.easypost.com", + "email": "referral_customer_50f0324e81a94c4baa5bcc8644624e34@donotemail.easypost.com", "children": [], "api_keys": [ { "object": "ApiKey", "key": "", "mode": "test", - "created_at": "2024-01-19T21:41:51Z", + "created_at": "2024-01-24T00:07:19Z", "active": true, - "id": "ak_8f075522f4524af5998e9f1d96b56dc9" + "id": "ak_b5aad6a37ee9493fb3af53e2e7dbbbd8" }, { "object": "ApiKey", "key": "", "mode": "production", - "created_at": "2024-01-19T21:41:51Z", + "created_at": "2024-01-24T00:07:19Z", "active": true, - "id": "ak_e8cb2d17f4184e80a1145646b331ae10" + "id": "ak_af20f85584744cf79933aae294ba59ba" } ] } diff --git a/official/docs/responses/referral-customers/referral-customers-list.json b/official/docs/responses/referral-customers/referral-customers-list.json index 3d083134..2ff353c1 100644 --- a/official/docs/responses/referral-customers/referral-customers-list.json +++ b/official/docs/responses/referral-customers/referral-customers-list.json @@ -10,6 +10,7 @@ "verified": true, "created_at": "2022-04-26T15:50:28Z", "default_carbon_offset": false, + "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": "0.00000", "recharge_amount": null, diff --git a/official/docs/responses/refunds/refunds-create.json b/official/docs/responses/refunds/refunds-create.json index 810b1b75..a169d617 100644 --- a/official/docs/responses/refunds/refunds-create.json +++ b/official/docs/responses/refunds/refunds-create.json @@ -1,13 +1,13 @@ [ { - "id": "rfnd_bcb3fa1dfbfe4706bd524ee81fd249ab", + "id": "rfnd_f85f150c71c748649ec06d319a26e54c", "object": "Refund", - "created_at": "2024-01-19T21:41:55Z", - "updated_at": "2024-01-19T21:41:55Z", - "tracking_code": "9405500207552010707757", + "created_at": "2024-01-24T00:07:22Z", + "updated_at": "2024-01-24T00:07:22Z", + "tracking_code": "9405500207552011812764", "confirmation_number": null, "status": "submitted", "carrier": "USPS", - "shipment_id": "shp_31826ec4b32847c9943a27371cc43b28" + "shipment_id": "shp_c3b0a61f204b4593a1ed98a3026dc4dc" } ] diff --git a/official/docs/responses/refunds/refunds-list.json b/official/docs/responses/refunds/refunds-list.json index 0598649b..885800c7 100644 --- a/official/docs/responses/refunds/refunds-list.json +++ b/official/docs/responses/refunds/refunds-list.json @@ -1,15 +1,15 @@ { "refunds": [ { - "id": "rfnd_bcb3fa1dfbfe4706bd524ee81fd249ab", + "id": "rfnd_f85f150c71c748649ec06d319a26e54c", "object": "Refund", - "created_at": "2024-01-19T21:41:55Z", - "updated_at": "2024-01-19T21:41:55Z", - "tracking_code": "9405500207552010707757", + "created_at": "2024-01-24T00:07:22Z", + "updated_at": "2024-01-24T00:07:22Z", + "tracking_code": "9405500207552011812764", "confirmation_number": null, "status": "submitted", "carrier": "USPS", - "shipment_id": "shp_31826ec4b32847c9943a27371cc43b28" + "shipment_id": "shp_c3b0a61f204b4593a1ed98a3026dc4dc" } ], "has_more": true diff --git a/official/docs/responses/refunds/refunds-retrieve.json b/official/docs/responses/refunds/refunds-retrieve.json index 5b05d90c..4a107503 100644 --- a/official/docs/responses/refunds/refunds-retrieve.json +++ b/official/docs/responses/refunds/refunds-retrieve.json @@ -1,11 +1,11 @@ { - "id": "rfnd_bcb3fa1dfbfe4706bd524ee81fd249ab", + "id": "rfnd_f85f150c71c748649ec06d319a26e54c", "object": "Refund", - "created_at": "2024-01-19T21:41:55Z", - "updated_at": "2024-01-19T21:41:55Z", - "tracking_code": "9405500207552010707757", + "created_at": "2024-01-24T00:07:22Z", + "updated_at": "2024-01-24T00:07:22Z", + "tracking_code": "9405500207552011812764", "confirmation_number": null, "status": "submitted", "carrier": "USPS", - "shipment_id": "shp_31826ec4b32847c9943a27371cc43b28" + "shipment_id": "shp_c3b0a61f204b4593a1ed98a3026dc4dc" } diff --git a/official/docs/responses/reports/reports-create.json b/official/docs/responses/reports/reports-create.json index 1bec0d71..67b296ff 100644 --- a/official/docs/responses/reports/reports-create.json +++ b/official/docs/responses/reports/reports-create.json @@ -1,8 +1,8 @@ { - "id": "shprep_1a2add2499724affb3392a13f2ccb9f7", + "id": "shprep_4a6f6e7e1b8a4794b5395008c89625be", "object": "ShipmentReport", - "created_at": "2024-01-19T21:41:56Z", - "updated_at": "2024-01-19T21:41:56Z", + "created_at": "2024-01-24T00:07:24Z", + "updated_at": "2024-01-24T00:07:24Z", "start_date": "2022-10-01", "end_date": "2022-10-01", "mode": "test", diff --git a/official/docs/responses/reports/reports-list.json b/official/docs/responses/reports/reports-list.json index e007692a..e9b66d7d 100644 --- a/official/docs/responses/reports/reports-list.json +++ b/official/docs/responses/reports/reports-list.json @@ -1,10 +1,10 @@ { "reports": [ { - "id": "shprep_b849ea9c3a0d4f248255f0dca4f28040", + "id": "shprep_82ee56b0b96247528187f3f9b4fa1360", "object": "ShipmentReport", - "created_at": "2024-01-19T21:41:56Z", - "updated_at": "2024-01-19T21:41:57Z", + "created_at": "2024-01-24T00:07:24Z", + "updated_at": "2024-01-24T00:07:24Z", "start_date": "2022-10-01", "end_date": "2022-10-01", "mode": "test", diff --git a/official/docs/responses/reports/reports-retrieve.json b/official/docs/responses/reports/reports-retrieve.json index 394e0dcf..735b34ae 100644 --- a/official/docs/responses/reports/reports-retrieve.json +++ b/official/docs/responses/reports/reports-retrieve.json @@ -1,8 +1,8 @@ { - "id": "shprep_b849ea9c3a0d4f248255f0dca4f28040", + "id": "shprep_82ee56b0b96247528187f3f9b4fa1360", "object": "ShipmentReport", - "created_at": "2024-01-19T21:41:56Z", - "updated_at": "2024-01-19T21:41:56Z", + "created_at": "2024-01-24T00:07:24Z", + "updated_at": "2024-01-24T00:07:24Z", "start_date": "2022-10-01", "end_date": "2022-10-01", "mode": "test", diff --git a/official/docs/responses/returns/returns-create.json b/official/docs/responses/returns/returns-create.json index 7ca7a379..dc193330 100644 --- a/official/docs/responses/returns/returns-create.json +++ b/official/docs/responses/returns/returns-create.json @@ -1,5 +1,5 @@ { - "created_at": "2024-01-19T21:41:57Z", + "created_at": "2024-01-24T00:07:25Z", "is_return": true, "messages": [], "mode": "test", @@ -13,15 +13,15 @@ "reference": null, "status": "unknown", "tracking_code": null, - "updated_at": "2024-01-19T21:41:57Z", + "updated_at": "2024-01-24T00:07:25Z", "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": { - "id": "cstinfo_e10a9748677e40aaa2bcd72f16b7e305", + "id": "cstinfo_75b9d86bcced4df4a90d971d79467395", "object": "CustomsInfo", - "created_at": "2024-01-19T21:41:57Z", - "updated_at": "2024-01-19T21:41:57Z", + "created_at": "2024-01-24T00:07:25Z", + "updated_at": "2024-01-24T00:07:25Z", "contents_explanation": "", "contents_type": "merchandise", "customs_certify": true, @@ -34,10 +34,10 @@ "declaration": null, "customs_items": [ { - "id": "cstitem_3aa772839a134304b1eb2ae01a8a17f9", + "id": "cstitem_28713b4da6c442c59fc2643c27e68fbc", "object": "CustomsItem", - "created_at": "2024-01-19T21:41:57Z", - "updated_at": "2024-01-19T21:41:57Z", + "created_at": "2024-01-24T00:07:25Z", + "updated_at": "2024-01-24T00:07:25Z", "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": "US", @@ -54,10 +54,10 @@ ] }, "from_address": { - "id": "adr_91fe73f7b71311eeb2deac1f6bc539aa", + "id": "adr_8dcc8d20ba4c11eeb60eac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T21:41:57+00:00", - "updated_at": "2024-01-19T21:41:57+00:00", + "created_at": "2024-01-24T00:07:25+00:00", + "updated_at": "2024-01-24T00:07:25+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -78,10 +78,10 @@ "insurance": null, "order_id": null, "parcel": { - "id": "prcl_fc22ab275ab14dc88a49b502ad0b3908", + "id": "prcl_f5c724b686f5426e86572e0c6ae2eca3", "object": "Parcel", - "created_at": "2024-01-19T21:41:57Z", - "updated_at": "2024-01-19T21:41:57Z", + "created_at": "2024-01-24T00:07:25Z", + "updated_at": "2024-01-24T00:07:25Z", "length": 20.2, "width": 10.9, "height": 5.0, @@ -92,510 +92,114 @@ "postage_label": null, "rates": [ { - "id": "rate_5df3c128204346d48fa33e244add15bd", + "id": "rate_a5473958bf84407d98729d6a0ae57a50", "object": "Rate", - "created_at": "2024-01-19T21:41:57Z", - "updated_at": "2024-01-19T21:41:57Z", - "mode": "test", - "service": "DHLSmartMailParcelReturnGround", - "carrier": "DhlEcs", - "rate": "0.01", - "currency": "USD", - "retail_rate": null, - "retail_currency": null, - "list_rate": null, - "list_currency": null, - "billing_type": "carrier", - "delivery_days": null, - "delivery_date": null, - "delivery_date_guaranteed": null, - "est_delivery_days": null, - "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", - "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a" - }, - { - "id": "rate_d3e81642d3a34c55a226b5193dcb1180", - "object": "Rate", - "created_at": "2024-01-19T21:41:58Z", - "updated_at": "2024-01-19T21:41:58Z", - "mode": "test", - "service": "DHLSmartMailParcelReturnPlus", - "carrier": "DhlEcs", - "rate": "0.01", - "currency": "USD", - "retail_rate": null, - "retail_currency": null, - "list_rate": null, - "list_currency": null, - "billing_type": "carrier", - "delivery_days": null, - "delivery_date": null, - "delivery_date_guaranteed": null, - "est_delivery_days": null, - "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", - "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a" - }, - { - "id": "rate_65af060a811b4ae9a7eaf4defbd02628", - "object": "Rate", - "created_at": "2024-01-19T21:41:58Z", - "updated_at": "2024-01-19T21:41:58Z", - "mode": "test", - "service": "DHLSmartMailParcelReturnLight", - "carrier": "DhlEcs", - "rate": "0.01", - "currency": "USD", - "retail_rate": null, - "retail_currency": null, - "list_rate": null, - "list_currency": null, - "billing_type": "carrier", - "delivery_days": null, - "delivery_date": null, - "delivery_date_guaranteed": null, - "est_delivery_days": null, - "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", - "carrier_account_id": "ca_c7b4cfaf671b4984b84023d77561394a" - }, - { - "id": "rate_84ee3422fe46495ba7165910cdc6d8f1", - "object": "Rate", - "created_at": "2024-01-19T21:41:58Z", - "updated_at": "2024-01-19T21:41:58Z", - "mode": "test", - "service": "DHLSmartMailParcelReturnGround", - "carrier": "DhlEcs", - "rate": "0.01", - "currency": "USD", - "retail_rate": null, - "retail_currency": null, - "list_rate": null, - "list_currency": null, - "billing_type": "carrier", - "delivery_days": null, - "delivery_date": null, - "delivery_date_guaranteed": null, - "est_delivery_days": null, - "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", - "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476" - }, - { - "id": "rate_701a5283adef4f93bc34aff9e0a884b1", - "object": "Rate", - "created_at": "2024-01-19T21:41:58Z", - "updated_at": "2024-01-19T21:41:58Z", - "mode": "test", - "service": "DHLSmartMailParcelReturnPlus", - "carrier": "DhlEcs", - "rate": "0.01", - "currency": "USD", - "retail_rate": null, - "retail_currency": null, - "list_rate": null, - "list_currency": null, - "billing_type": "carrier", - "delivery_days": null, - "delivery_date": null, - "delivery_date_guaranteed": null, - "est_delivery_days": null, - "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", - "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476" - }, - { - "id": "rate_32baf56d59354437858314caf9926737", - "object": "Rate", - "created_at": "2024-01-19T21:41:58Z", - "updated_at": "2024-01-19T21:41:58Z", - "mode": "test", - "service": "DHLSmartMailParcelReturnLight", - "carrier": "DhlEcs", - "rate": "0.01", - "currency": "USD", - "retail_rate": null, - "retail_currency": null, - "list_rate": null, - "list_currency": null, - "billing_type": "carrier", - "delivery_days": null, - "delivery_date": null, - "delivery_date_guaranteed": null, - "est_delivery_days": null, - "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", - "carrier_account_id": "ca_c3cbbd21bc97400bbbaed6d030909476" - }, - { - "id": "rate_fe4e42565abe45588ce6a155f3bb0446", - "object": "Rate", - "created_at": "2024-01-19T21:41:58Z", - "updated_at": "2024-01-19T21:41:58Z", - "mode": "test", - "service": "DHLSmartMailParcelReturnGround", - "carrier": "DhlEcs", - "rate": "0.01", - "currency": "USD", - "retail_rate": null, - "retail_currency": null, - "list_rate": null, - "list_currency": null, - "billing_type": "carrier", - "delivery_days": null, - "delivery_date": null, - "delivery_date_guaranteed": null, - "est_delivery_days": null, - "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", - "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f" - }, - { - "id": "rate_03e67a382fba4e9780cf77b937d65103", - "object": "Rate", - "created_at": "2024-01-19T21:41:58Z", - "updated_at": "2024-01-19T21:41:58Z", - "mode": "test", - "service": "DHLSmartMailParcelReturnPlus", - "carrier": "DhlEcs", - "rate": "0.01", - "currency": "USD", - "retail_rate": null, - "retail_currency": null, - "list_rate": null, - "list_currency": null, - "billing_type": "carrier", - "delivery_days": null, - "delivery_date": null, - "delivery_date_guaranteed": null, - "est_delivery_days": null, - "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", - "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f" - }, - { - "id": "rate_65f2769a110a46b593d243166308c826", - "object": "Rate", - "created_at": "2024-01-19T21:41:58Z", - "updated_at": "2024-01-19T21:41:58Z", - "mode": "test", - "service": "DHLSmartMailParcelReturnLight", - "carrier": "DhlEcs", - "rate": "0.01", - "currency": "USD", - "retail_rate": null, - "retail_currency": null, - "list_rate": null, - "list_currency": null, - "billing_type": "carrier", - "delivery_days": null, - "delivery_date": null, - "delivery_date_guaranteed": null, - "est_delivery_days": null, - "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", - "carrier_account_id": "ca_0d64fd488c1444cf9bc16f858703e28f" - }, - { - "id": "rate_48e162777cbd4a228b04b966b993ad6c", - "object": "Rate", - "created_at": "2024-01-19T21:41:58Z", - "updated_at": "2024-01-19T21:41:58Z", - "mode": "test", - "service": "DHLSmartMailParcelReturnGround", - "carrier": "DhlEcs", - "rate": "0.01", - "currency": "USD", - "retail_rate": null, - "retail_currency": null, - "list_rate": null, - "list_currency": null, - "billing_type": "carrier", - "delivery_days": null, - "delivery_date": null, - "delivery_date_guaranteed": null, - "est_delivery_days": null, - "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", - "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e" - }, - { - "id": "rate_c683693f5e594a85a0956127de14f949", - "object": "Rate", - "created_at": "2024-01-19T21:41:58Z", - "updated_at": "2024-01-19T21:41:58Z", - "mode": "test", - "service": "DHLSmartMailParcelReturnPlus", - "carrier": "DhlEcs", - "rate": "0.01", - "currency": "USD", - "retail_rate": null, - "retail_currency": null, - "list_rate": null, - "list_currency": null, - "billing_type": "carrier", - "delivery_days": null, - "delivery_date": null, - "delivery_date_guaranteed": null, - "est_delivery_days": null, - "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", - "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e" - }, - { - "id": "rate_421496aaa91642e589ff2b8d20902302", - "object": "Rate", - "created_at": "2024-01-19T21:41:58Z", - "updated_at": "2024-01-19T21:41:58Z", - "mode": "test", - "service": "DHLSmartMailParcelReturnLight", - "carrier": "DhlEcs", - "rate": "0.01", - "currency": "USD", - "retail_rate": null, - "retail_currency": null, - "list_rate": null, - "list_currency": null, - "billing_type": "carrier", - "delivery_days": null, - "delivery_date": null, - "delivery_date_guaranteed": null, - "est_delivery_days": null, - "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", - "carrier_account_id": "ca_99007e1aeb66421faf82676f1199481e" - }, - { - "id": "rate_c8a3dc316ab744dba19feb306860132b", - "object": "Rate", - "created_at": "2024-01-19T21:41:58Z", - "updated_at": "2024-01-19T21:41:58Z", - "mode": "test", - "service": "DHLSmartMailParcelReturnGround", - "carrier": "DhlEcs", - "rate": "0.01", - "currency": "USD", - "retail_rate": null, - "retail_currency": null, - "list_rate": null, - "list_currency": null, - "billing_type": "carrier", - "delivery_days": null, - "delivery_date": null, - "delivery_date_guaranteed": null, - "est_delivery_days": null, - "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", - "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c" - }, - { - "id": "rate_d45828f275a540438136b9a5953e4d51", - "object": "Rate", - "created_at": "2024-01-19T21:41:58Z", - "updated_at": "2024-01-19T21:41:58Z", - "mode": "test", - "service": "DHLSmartMailParcelReturnPlus", - "carrier": "DhlEcs", - "rate": "0.01", - "currency": "USD", - "retail_rate": null, - "retail_currency": null, - "list_rate": null, - "list_currency": null, - "billing_type": "carrier", - "delivery_days": null, - "delivery_date": null, - "delivery_date_guaranteed": null, - "est_delivery_days": null, - "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", - "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c" - }, - { - "id": "rate_e2a7e4b0ea114adbaba0aeb4c370e3bd", - "object": "Rate", - "created_at": "2024-01-19T21:41:58Z", - "updated_at": "2024-01-19T21:41:58Z", - "mode": "test", - "service": "DHLSmartMailParcelReturnLight", - "carrier": "DhlEcs", - "rate": "0.01", - "currency": "USD", - "retail_rate": null, - "retail_currency": null, - "list_rate": null, - "list_currency": null, - "billing_type": "carrier", - "delivery_days": null, - "delivery_date": null, - "delivery_date_guaranteed": null, - "est_delivery_days": null, - "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", - "carrier_account_id": "ca_711d8c4f9be54801b984e5dc9f2b5a7c" - }, - { - "id": "rate_dea216f6c3d64d109cb0fa8f58c87c8a", - "object": "Rate", - "created_at": "2024-01-19T21:41:58Z", - "updated_at": "2024-01-19T21:41:58Z", - "mode": "test", - "service": "DHLSmartMailParcelReturnGround", - "carrier": "DhlEcs", - "rate": "0.01", - "currency": "USD", - "retail_rate": null, - "retail_currency": null, - "list_rate": null, - "list_currency": null, - "billing_type": "carrier", - "delivery_days": null, - "delivery_date": null, - "delivery_date_guaranteed": null, - "est_delivery_days": null, - "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", - "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea" - }, - { - "id": "rate_af513e3d12b24c33b420f93784b9f80e", - "object": "Rate", - "created_at": "2024-01-19T21:41:58Z", - "updated_at": "2024-01-19T21:41:58Z", - "mode": "test", - "service": "DHLSmartMailParcelReturnPlus", - "carrier": "DhlEcs", - "rate": "0.01", - "currency": "USD", - "retail_rate": null, - "retail_currency": null, - "list_rate": null, - "list_currency": null, - "billing_type": "carrier", - "delivery_days": null, - "delivery_date": null, - "delivery_date_guaranteed": null, - "est_delivery_days": null, - "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", - "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea" - }, - { - "id": "rate_e152337fde8c46b2a39c61772dd90da3", - "object": "Rate", - "created_at": "2024-01-19T21:41:58Z", - "updated_at": "2024-01-19T21:41:58Z", - "mode": "test", - "service": "DHLSmartMailParcelReturnLight", - "carrier": "DhlEcs", - "rate": "0.01", - "currency": "USD", - "retail_rate": null, - "retail_currency": null, - "list_rate": null, - "list_currency": null, - "billing_type": "carrier", - "delivery_days": null, - "delivery_date": null, - "delivery_date_guaranteed": null, - "est_delivery_days": null, - "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", - "carrier_account_id": "ca_b1a0a1bc45844159812e0224d53948ea" - }, - { - "id": "rate_697921bd11cb478f9a2642ad2b75cdc4", - "object": "Rate", - "created_at": "2024-01-19T21:41:58Z", - "updated_at": "2024-01-19T21:41:58Z", + "created_at": "2024-01-24T00:07:25Z", + "updated_at": "2024-01-24T00:07:25Z", "mode": "test", "service": "Express", "carrier": "USPS", - "rate": "46.85", + "rate": "49.60", "currency": "USD", - "retail_rate": "54.20", + "retail_rate": "57.40", "retail_currency": "USD", - "list_rate": "46.85", + "list_rate": "49.60", "list_currency": "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": null, - "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_d270335b7bf846b3b03b67df7c181d6f", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_fd925e2a3bf8413e9672b1da8befea1c", + "id": "rate_cf8d03f7b5054a52a6f7e87a8f38bf86", "object": "Rate", - "created_at": "2024-01-19T21:41:58Z", - "updated_at": "2024-01-19T21:41:58Z", + "created_at": "2024-01-24T00:07:25Z", + "updated_at": "2024-01-24T00:07:25Z", "mode": "test", "service": "Priority", "carrier": "USPS", - "rate": "7.99", + "rate": "7.33", "currency": "USD", - "retail_rate": "14.05", + "retail_rate": "15.20", "retail_currency": "USD", - "list_rate": "10.27", + "list_rate": "10.89", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 2, - "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_d270335b7bf846b3b03b67df7c181d6f", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_d9a4833b94fb4d269bcdd0723516faa4", + "id": "rate_51439cb11b9b4aa9b2de79bfc24fcae8", "object": "Rate", - "created_at": "2024-01-19T21:41:58Z", - "updated_at": "2024-01-19T21:41:58Z", + "created_at": "2024-01-24T00:07:25Z", + "updated_at": "2024-01-24T00:07:25Z", "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", "currency": "USD", - "retail_rate": "12.45", + "retail_rate": "13.15", "retail_currency": "USD", - "list_rate": "8.92", + "list_rate": "9.41", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_d270335b7bf846b3b03b67df7c181d6f", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_f39b6a2bd5734541b6695e54d12ad33f", + "id": "rate_45e9d6f024724c47822543032841289f", "object": "Rate", - "created_at": "2024-01-19T21:41:58Z", - "updated_at": "2024-01-19T21:41:58Z", + "created_at": "2024-01-24T00:07:25Z", + "updated_at": "2024-01-24T00:07:25Z", "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": "USD", - "retail_rate": "12.45", + "retail_rate": "13.15", "retail_currency": "USD", - "list_rate": "8.92", + "list_rate": "9.41", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_d270335b7bf846b3b03b67df7c181d6f", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_67f84592ad1145e58e8651b177e9c779", + "id": "rate_45ac4cce2b18400ea50e0f330f74b430", "object": "Rate", - "created_at": "2024-01-19T21:41:58Z", - "updated_at": "2024-01-19T21:41:58Z", + "created_at": "2024-01-24T00:07:25Z", + "updated_at": "2024-01-24T00:07:25Z", "mode": "test", "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": "USD", - "retail_rate": "12.45", + "retail_rate": "13.15", "retail_currency": "USD", - "list_rate": "8.92", + "list_rate": "9.41", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_d270335b7bf846b3b03b67df7c181d6f", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" } ], "refund_status": null, @@ -603,10 +207,10 @@ "selected_rate": null, "tracker": null, "to_address": { - "id": "adr_91fc400fb71311eea1533cecef1b359e", + "id": "adr_8dc57048ba4c11eea6e33cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:41:57+00:00", - "updated_at": "2024-01-19T21:41:57+00:00", + "created_at": "2024-01-24T00:07:25+00:00", + "updated_at": "2024-01-24T00:07:25+00:00", "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", @@ -626,10 +230,10 @@ }, "usps_zone": 4, "return_address": { - "id": "adr_91fe73f7b71311eeb2deac1f6bc539aa", + "id": "adr_8dcc8d20ba4c11eeb60eac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T21:41:57+00:00", - "updated_at": "2024-01-19T21:41:57+00:00", + "created_at": "2024-01-24T00:07:25+00:00", + "updated_at": "2024-01-24T00:07:25+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -648,10 +252,10 @@ "verifications": {} }, "buyer_address": { - "id": "adr_91fc400fb71311eea1533cecef1b359e", + "id": "adr_8dc57048ba4c11eea6e33cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:41:57+00:00", - "updated_at": "2024-01-19T21:41:57+00:00", + "created_at": "2024-01-24T00:07:25+00:00", + "updated_at": "2024-01-24T00:07:25+00:00", "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", @@ -671,6 +275,6 @@ }, "forms": [], "fees": [], - "id": "shp_b41a3ae8f7cd499aa1394df72ee7b11c", + "id": "shp_d270335b7bf846b3b03b67df7c181d6f", "object": "Shipment" } diff --git a/official/docs/responses/scan-form/scan-form-create.json b/official/docs/responses/scan-form/scan-form-create.json index 7e68bddb..3c353626 100644 --- a/official/docs/responses/scan-form/scan-form-create.json +++ b/official/docs/responses/scan-form/scan-form-create.json @@ -1,14 +1,14 @@ { - "id": "sf_528ce3f9e7514f3e913981b96b31f43f", + "id": "sf_e79db685aecd4c7286471ff06a27a121", "object": "ScanForm", - "created_at": "2024-01-19T21:41:59Z", - "updated_at": "2024-01-19T21:42:00Z", - "tracking_codes": ["9405500207552010707764"], + "created_at": "2024-01-24T00:07:27Z", + "updated_at": "2024-01-24T00:07:27Z", + "tracking_codes": ["9405500207552011812801"], "address": { - "id": "adr_9284d509b71311eea334ac1f6bc53342", + "id": "adr_8e182c46ba4c11ee8b51ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:41:58+00:00", - "updated_at": "2024-01-19T21:41:58+00:00", + "created_at": "2024-01-24T00:07:25+00:00", + "updated_at": "2024-01-24T00:07:25+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -28,8 +28,8 @@ }, "status": "created", "message": null, - "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e854ab77cf96b1465ebf32276ca4fc78d1.pdf", + "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240124/e872ec72373078434880f49a17e5788dcc.pdf", "form_file_type": null, - "batch_id": "batch_ebb3185b929f4500afa690677d49ff33", + "batch_id": "batch_78507c9db0574b02813cf08bd52357b5", "confirmation": null } diff --git a/official/docs/responses/scan-form/scan-form-list.json b/official/docs/responses/scan-form/scan-form-list.json index 0b897894..1173cd24 100644 --- a/official/docs/responses/scan-form/scan-form-list.json +++ b/official/docs/responses/scan-form/scan-form-list.json @@ -1,16 +1,16 @@ { "scan_forms": [ { - "id": "sf_7da5cfcbb18448a1b8557d6f46dcfd63", + "id": "sf_589e52186e9249669c7806912a6ab766", "object": "ScanForm", - "created_at": "2024-01-19T21:42:01Z", - "updated_at": "2024-01-19T21:42:02Z", - "tracking_codes": ["9405500207552010707771"], + "created_at": "2024-01-24T00:07:29Z", + "updated_at": "2024-01-24T00:07:29Z", + "tracking_codes": ["9405500207552011812825"], "address": { - "id": "adr_939e948eb71311eeb35fac1f6bc539aa", + "id": "adr_8f5e7e74ba4c11ee8bd0ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:42:00+00:00", - "updated_at": "2024-01-19T21:42:00+00:00", + "created_at": "2024-01-24T00:07:28+00:00", + "updated_at": "2024-01-24T00:07:28+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -30,9 +30,9 @@ }, "status": "created", "message": null, - "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e88e3aaa0500a342a6ba20d2fe6c3cd189.pdf", + "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240124/e82a4cb71096604dc7bd773b1285d7e9db.pdf", "form_file_type": null, - "batch_id": "batch_20ed0a5f5e4f4e5c8cf2b4f966ceb924", + "batch_id": "batch_83009a1272fa48ffb1a3d29074a16960", "confirmation": null } ], diff --git a/official/docs/responses/scan-form/scan-form-retrieve.json b/official/docs/responses/scan-form/scan-form-retrieve.json index bff5dd29..7e9e2347 100644 --- a/official/docs/responses/scan-form/scan-form-retrieve.json +++ b/official/docs/responses/scan-form/scan-form-retrieve.json @@ -1,14 +1,14 @@ { - "id": "sf_7da5cfcbb18448a1b8557d6f46dcfd63", + "id": "sf_589e52186e9249669c7806912a6ab766", "object": "ScanForm", - "created_at": "2024-01-19T21:42:01Z", - "updated_at": "2024-01-19T21:42:02Z", - "tracking_codes": ["9405500207552010707771"], + "created_at": "2024-01-24T00:07:29Z", + "updated_at": "2024-01-24T00:07:29Z", + "tracking_codes": ["9405500207552011812825"], "address": { - "id": "adr_939e948eb71311eeb35fac1f6bc539aa", + "id": "adr_8f5e7e74ba4c11ee8bd0ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:42:00+00:00", - "updated_at": "2024-01-19T21:42:00+00:00", + "created_at": "2024-01-24T00:07:28+00:00", + "updated_at": "2024-01-24T00:07:28+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -28,8 +28,8 @@ }, "status": "created", "message": null, - "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e88e3aaa0500a342a6ba20d2fe6c3cd189.pdf", + "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240124/e82a4cb71096604dc7bd773b1285d7e9db.pdf", "form_file_type": null, - "batch_id": "batch_20ed0a5f5e4f4e5c8cf2b4f966ceb924", + "batch_id": "batch_83009a1272fa48ffb1a3d29074a16960", "confirmation": null } diff --git a/official/docs/responses/shipments/shipments-buy.json b/official/docs/responses/shipments/shipments-buy.json index c081d4c9..886209b1 100644 --- a/official/docs/responses/shipments/shipments-buy.json +++ b/official/docs/responses/shipments/shipments-buy.json @@ -1,5 +1,5 @@ { - "created_at": "2024-01-19T21:42:06Z", + "created_at": "2024-01-24T00:07:32Z", "is_return": false, "messages": [], "mode": "test", @@ -12,16 +12,16 @@ }, "reference": null, "status": "unknown", - "tracking_code": "9434600207552010707787", - "updated_at": "2024-01-19T21:42:07Z", + "tracking_code": "9434600207552011812848", + "updated_at": "2024-01-24T00:07:33Z", "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": { - "id": "cstinfo_6a9c8f8d8644416e90257311e88134ea", + "id": "cstinfo_fd42061296ef450285b451ef66f9b9d5", "object": "CustomsInfo", - "created_at": "2024-01-19T21:42:06Z", - "updated_at": "2024-01-19T21:42:06Z", + "created_at": "2024-01-24T00:07:32Z", + "updated_at": "2024-01-24T00:07:32Z", "contents_explanation": "", "contents_type": "merchandise", "customs_certify": true, @@ -34,10 +34,10 @@ "declaration": null, "customs_items": [ { - "id": "cstitem_0bda13f0ee274bd2be030ea42a1ca15f", + "id": "cstitem_f7de527850e34f018ef41e9f69be6758", "object": "CustomsItem", - "created_at": "2024-01-19T21:42:06Z", - "updated_at": "2024-01-19T21:42:06Z", + "created_at": "2024-01-24T00:07:32Z", + "updated_at": "2024-01-24T00:07:32Z", "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": "US", @@ -54,10 +54,10 @@ ] }, "from_address": { - "id": "adr_96fda460b71311eea4b6ac1f6bc53342", + "id": "adr_91fa95f1ba4c11ee8c59ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:42:06+00:00", - "updated_at": "2024-01-19T21:42:06+00:00", + "created_at": "2024-01-24T00:07:32+00:00", + "updated_at": "2024-01-24T00:07:32+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -78,10 +78,10 @@ "insurance": "249.99", "order_id": null, "parcel": { - "id": "prcl_a1e7f4d767864957a19eb953a404bcb6", + "id": "prcl_a5e317e47ac9442988d338cb2a0fde17", "object": "Parcel", - "created_at": "2024-01-19T21:42:06Z", - "updated_at": "2024-01-19T21:42:06Z", + "created_at": "2024-01-24T00:07:32Z", + "updated_at": "2024-01-24T00:07:32Z", "length": 20.2, "width": 10.9, "height": 5.0, @@ -91,17 +91,17 @@ }, "postage_label": { "object": "PostageLabel", - "id": "pl_d2c812bc95d14f3e96a93051499ae90e", - "created_at": "2024-01-19T21:42:07Z", - "updated_at": "2024-01-19T21:42:07Z", + "id": "pl_51b80cc8523d4fc28c4ab710594e0913", + "created_at": "2024-01-24T00:07:33Z", + "updated_at": "2024-01-24T00:07:33Z", "date_advance": 0, "integrated_form": "none", - "label_date": "2024-01-19T21:42:07Z", + "label_date": "2024-01-24T00:07:33Z", "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": "image/png", - "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8d198c6ae2d2241c59205f9b21e7614f6.png", + "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240124/e81cecd85b82d749a19cf38dae0e30fc53.png", "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, @@ -109,164 +109,164 @@ }, "rates": [ { - "id": "rate_d8cf4f2661cf4ba98eb89b2c27dd4ea3", + "id": "rate_6366c70cbea94c60b8d282ccf0f60ce0", "object": "Rate", - "created_at": "2024-01-19T21:42:06Z", - "updated_at": "2024-01-19T21:42:06Z", + "created_at": "2024-01-24T00:07:32Z", + "updated_at": "2024-01-24T00:07:32Z", "mode": "test", - "service": "Express", + "service": "GroundAdvantage", "carrier": "USPS", - "rate": "46.85", + "rate": "6.79", "currency": "USD", - "retail_rate": "54.20", + "retail_rate": "13.15", "retail_currency": "USD", - "list_rate": "46.85", + "list_rate": "9.41", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": null, - "shipment_id": "shp_a1265a904613406189a1767d5474c0d8", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "est_delivery_days": 3, + "shipment_id": "shp_56b10c708daa4c25b5895c5354758aaf", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_c744918e951445308a1727502bd58aee", + "id": "rate_7dd1fb53702d473bbb9eeaf53d7a72d7", "object": "Rate", - "created_at": "2024-01-19T21:42:06Z", - "updated_at": "2024-01-19T21:42:06Z", + "created_at": "2024-01-24T00:07:32Z", + "updated_at": "2024-01-24T00:07:32Z", "mode": "test", - "service": "Priority", + "service": "First", "carrier": "USPS", - "rate": "7.99", + "rate": "6.79", "currency": "USD", - "retail_rate": "14.05", + "retail_rate": "13.15", "retail_currency": "USD", - "list_rate": "10.27", + "list_rate": "9.41", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 2, + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 2, - "shipment_id": "shp_a1265a904613406189a1767d5474c0d8", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "est_delivery_days": 3, + "shipment_id": "shp_56b10c708daa4c25b5895c5354758aaf", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_5c4a4598c6bc4651b729ff6c728c46d5", + "id": "rate_263930dcc1ef4331b9a16313f55c47d6", "object": "Rate", - "created_at": "2024-01-19T21:42:06Z", - "updated_at": "2024-01-19T21:42:06Z", + "created_at": "2024-01-24T00:07:32Z", + "updated_at": "2024-01-24T00:07:32Z", "mode": "test", - "service": "GroundAdvantage", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": "USD", - "retail_rate": "12.45", + "retail_rate": "13.15", "retail_currency": "USD", - "list_rate": "8.92", + "list_rate": "9.41", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_a1265a904613406189a1767d5474c0d8", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_56b10c708daa4c25b5895c5354758aaf", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_11985f5cf9ad497c8b3bccbbbb308179", + "id": "rate_bd7a2aa312224b43b15d56b2e818e946", "object": "Rate", - "created_at": "2024-01-19T21:42:06Z", - "updated_at": "2024-01-19T21:42:06Z", + "created_at": "2024-01-24T00:07:32Z", + "updated_at": "2024-01-24T00:07:32Z", "mode": "test", - "service": "First", + "service": "Express", "carrier": "USPS", - "rate": "6.79", + "rate": "49.60", "currency": "USD", - "retail_rate": "12.45", + "retail_rate": "57.40", "retail_currency": "USD", - "list_rate": "8.92", + "list_rate": "49.60", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, - "shipment_id": "shp_a1265a904613406189a1767d5474c0d8", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "est_delivery_days": null, + "shipment_id": "shp_56b10c708daa4c25b5895c5354758aaf", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_f60ea310cb7b4c68a6964dc1aa7c42c8", + "id": "rate_6ec39e90cf6b4f2d97aab43d7c946559", "object": "Rate", - "created_at": "2024-01-19T21:42:06Z", - "updated_at": "2024-01-19T21:42:06Z", + "created_at": "2024-01-24T00:07:32Z", + "updated_at": "2024-01-24T00:07:32Z", "mode": "test", - "service": "ParcelSelect", + "service": "Priority", "carrier": "USPS", - "rate": "6.79", + "rate": "7.33", "currency": "USD", - "retail_rate": "12.45", + "retail_rate": "15.20", "retail_currency": "USD", - "list_rate": "8.92", + "list_rate": "10.89", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, + "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, - "shipment_id": "shp_a1265a904613406189a1767d5474c0d8", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "est_delivery_days": 2, + "shipment_id": "shp_56b10c708daa4c25b5895c5354758aaf", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" } ], "refund_status": null, "scan_form": null, "selected_rate": { - "id": "rate_5c4a4598c6bc4651b729ff6c728c46d5", + "id": "rate_6366c70cbea94c60b8d282ccf0f60ce0", "object": "Rate", - "created_at": "2024-01-19T21:42:07Z", - "updated_at": "2024-01-19T21:42:07Z", + "created_at": "2024-01-24T00:07:33Z", + "updated_at": "2024-01-24T00:07:33Z", "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", "currency": "USD", - "retail_rate": "12.45", + "retail_rate": "13.15", "retail_currency": "USD", - "list_rate": "8.92", + "list_rate": "9.41", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_a1265a904613406189a1767d5474c0d8", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_56b10c708daa4c25b5895c5354758aaf", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, "tracker": { - "id": "trk_2f0d6a4d8ece4058afcf3e04e9473bcb", + "id": "trk_814a807c3fae4203a4d61293b2b0b3dc", "object": "Tracker", "mode": "test", - "tracking_code": "9434600207552010707787", + "tracking_code": "9434600207552011812848", "status": "unknown", "status_detail": "unknown", - "created_at": "2024-01-19T21:42:07Z", - "updated_at": "2024-01-19T21:42:07Z", + "created_at": "2024-01-24T00:07:34Z", + "updated_at": "2024-01-24T00:07:34Z", "signed_by": null, "weight": null, "est_delivery_date": null, - "shipment_id": "shp_a1265a904613406189a1767d5474c0d8", + "shipment_id": "shp_56b10c708daa4c25b5895c5354758aaf", "carrier": "USPS", "tracking_details": [], "fees": [], "carrier_detail": null, - "public_url": "https://track.easypost.com/djE6dHJrXzJmMGQ2YTRkOGVjZTQwNThhZmNmM2UwNGU5NDczYmNi" + "public_url": "https://track.easypost.com/djE6dHJrXzgxNGE4MDdjM2ZhZTQyMDNhNGQ2MTI5M2IyYjBiM2Rj" }, "to_address": { - "id": "adr_96f92c09b71311eea4b4ac1f6bc53342", + "id": "adr_91f7ca0fba4c11eeb731ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T21:42:06+00:00", - "updated_at": "2024-01-19T21:42:07+00:00", + "created_at": "2024-01-24T00:07:32+00:00", + "updated_at": "2024-01-24T00:07:33+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", @@ -301,10 +301,10 @@ }, "usps_zone": 4, "return_address": { - "id": "adr_96fda460b71311eea4b6ac1f6bc53342", + "id": "adr_91fa95f1ba4c11ee8c59ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:42:06+00:00", - "updated_at": "2024-01-19T21:42:06+00:00", + "created_at": "2024-01-24T00:07:32+00:00", + "updated_at": "2024-01-24T00:07:32+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -323,10 +323,10 @@ "verifications": {} }, "buyer_address": { - "id": "adr_96f92c09b71311eea4b4ac1f6bc53342", + "id": "adr_91f7ca0fba4c11eeb731ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T21:42:06+00:00", - "updated_at": "2024-01-19T21:42:07+00:00", + "created_at": "2024-01-24T00:07:32+00:00", + "updated_at": "2024-01-24T00:07:33+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", @@ -378,11 +378,11 @@ { "object": "Fee", "type": "InsuranceFee", - "amount": "2.49990", + "amount": "1.24995", "charged": true, "refunded": false } ], - "id": "shp_a1265a904613406189a1767d5474c0d8", + "id": "shp_56b10c708daa4c25b5895c5354758aaf", "object": "Shipment" } diff --git a/official/docs/responses/shipments/shipments-create.json b/official/docs/responses/shipments/shipments-create.json index 0a7d9257..1386a016 100644 --- a/official/docs/responses/shipments/shipments-create.json +++ b/official/docs/responses/shipments/shipments-create.json @@ -1,5 +1,5 @@ { - "created_at": "2024-01-19T21:42:03Z", + "created_at": "2024-01-24T00:07:30Z", "is_return": false, "messages": [], "mode": "test", @@ -13,15 +13,15 @@ "reference": null, "status": "unknown", "tracking_code": null, - "updated_at": "2024-01-19T21:42:03Z", + "updated_at": "2024-01-24T00:07:30Z", "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": { - "id": "cstinfo_11122b6cc41745de9ceeae6871c4a4e0", + "id": "cstinfo_657b430669ef456584bc4b82b3271084", "object": "CustomsInfo", - "created_at": "2024-01-19T21:42:03Z", - "updated_at": "2024-01-19T21:42:03Z", + "created_at": "2024-01-24T00:07:30Z", + "updated_at": "2024-01-24T00:07:30Z", "contents_explanation": "", "contents_type": "merchandise", "customs_certify": true, @@ -34,10 +34,10 @@ "declaration": null, "customs_items": [ { - "id": "cstitem_86244994467243c48ed055ecd767169c", + "id": "cstitem_046758e6b61847f99623c4d2290a26bd", "object": "CustomsItem", - "created_at": "2024-01-19T21:42:03Z", - "updated_at": "2024-01-19T21:42:03Z", + "created_at": "2024-01-24T00:07:30Z", + "updated_at": "2024-01-24T00:07:30Z", "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": "US", @@ -54,10 +54,10 @@ ] }, "from_address": { - "id": "adr_95381083b71311eea40dac1f6bc53342", + "id": "adr_90e0406bba4c11eea7d53cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:42:03+00:00", - "updated_at": "2024-01-19T21:42:03+00:00", + "created_at": "2024-01-24T00:07:30+00:00", + "updated_at": "2024-01-24T00:07:30+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -78,10 +78,10 @@ "insurance": null, "order_id": null, "parcel": { - "id": "prcl_56e1850524074d4c98d2ce839c82af4c", + "id": "prcl_4dde100b45af43acbe9c68244fa51851", "object": "Parcel", - "created_at": "2024-01-19T21:42:03Z", - "updated_at": "2024-01-19T21:42:03Z", + "created_at": "2024-01-24T00:07:30Z", + "updated_at": "2024-01-24T00:07:30Z", "length": 20.2, "width": 10.9, "height": 5.0, @@ -92,114 +92,114 @@ "postage_label": null, "rates": [ { - "id": "rate_0b606acebf8548ff9337aa026999df2a", + "id": "rate_3cbb8d9c4ea1477588a17b0ee3e0c5b4", "object": "Rate", - "created_at": "2024-01-19T21:42:03Z", - "updated_at": "2024-01-19T21:42:03Z", + "created_at": "2024-01-24T00:07:30Z", + "updated_at": "2024-01-24T00:07:30Z", "mode": "test", - "service": "Priority", + "service": "Express", "carrier": "USPS", - "rate": "7.99", + "rate": "49.60", "currency": "USD", - "retail_rate": "14.05", + "retail_rate": "57.40", "retail_currency": "USD", - "list_rate": "10.27", + "list_rate": "49.60", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 2, + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 2, - "shipment_id": "shp_36544f6aeef5499bbab96a44d8ddcc18", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "est_delivery_days": null, + "shipment_id": "shp_93170d48eb1a413aa5c0d8bf4384a350", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_c0c41a55e4b94e388ad9c1417dacea2e", + "id": "rate_c9e1a6c4be1e40a7af83b42d1115c550", "object": "Rate", - "created_at": "2024-01-19T21:42:03Z", - "updated_at": "2024-01-19T21:42:03Z", + "created_at": "2024-01-24T00:07:30Z", + "updated_at": "2024-01-24T00:07:30Z", "mode": "test", - "service": "GroundAdvantage", + "service": "Priority", "carrier": "USPS", - "rate": "6.79", + "rate": "7.33", "currency": "USD", - "retail_rate": "12.45", + "retail_rate": "15.20", "retail_currency": "USD", - "list_rate": "8.92", + "list_rate": "10.89", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, + "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, - "shipment_id": "shp_36544f6aeef5499bbab96a44d8ddcc18", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "est_delivery_days": 2, + "shipment_id": "shp_93170d48eb1a413aa5c0d8bf4384a350", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_982018ad485b4040a059a0745db589a8", + "id": "rate_a39910cfd937402fb77a9eaed223dcfe", "object": "Rate", - "created_at": "2024-01-19T21:42:03Z", - "updated_at": "2024-01-19T21:42:03Z", + "created_at": "2024-01-24T00:07:30Z", + "updated_at": "2024-01-24T00:07:30Z", "mode": "test", - "service": "First", + "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", "currency": "USD", - "retail_rate": "12.45", + "retail_rate": "13.15", "retail_currency": "USD", - "list_rate": "8.92", + "list_rate": "9.41", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_36544f6aeef5499bbab96a44d8ddcc18", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_93170d48eb1a413aa5c0d8bf4384a350", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_9396adbe660840caa7792b1caf8a6711", + "id": "rate_d0b494c33c3e42f893b619d730f24058", "object": "Rate", - "created_at": "2024-01-19T21:42:03Z", - "updated_at": "2024-01-19T21:42:03Z", + "created_at": "2024-01-24T00:07:30Z", + "updated_at": "2024-01-24T00:07:30Z", "mode": "test", - "service": "ParcelSelect", + "service": "First", "carrier": "USPS", "rate": "6.79", "currency": "USD", - "retail_rate": "12.45", + "retail_rate": "13.15", "retail_currency": "USD", - "list_rate": "8.92", + "list_rate": "9.41", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_36544f6aeef5499bbab96a44d8ddcc18", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_93170d48eb1a413aa5c0d8bf4384a350", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_d7ad9bf50ba04c57910451241ace59a9", + "id": "rate_dad1a54ef6f64dfc9def001cbbb2b142", "object": "Rate", - "created_at": "2024-01-19T21:42:03Z", - "updated_at": "2024-01-19T21:42:03Z", + "created_at": "2024-01-24T00:07:30Z", + "updated_at": "2024-01-24T00:07:30Z", "mode": "test", - "service": "Express", + "service": "ParcelSelect", "carrier": "USPS", - "rate": "46.85", + "rate": "6.79", "currency": "USD", - "retail_rate": "54.20", + "retail_rate": "13.15", "retail_currency": "USD", - "list_rate": "46.85", + "list_rate": "9.41", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": null, - "shipment_id": "shp_36544f6aeef5499bbab96a44d8ddcc18", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "est_delivery_days": 3, + "shipment_id": "shp_93170d48eb1a413aa5c0d8bf4384a350", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" } ], "refund_status": null, @@ -207,10 +207,10 @@ "selected_rate": null, "tracker": null, "to_address": { - "id": "adr_95365731b71311eea25c3cecef1b359e", + "id": "adr_90dd5fb4ba4c11ee9e88ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:42:03+00:00", - "updated_at": "2024-01-19T21:42:03+00:00", + "created_at": "2024-01-24T00:07:30+00:00", + "updated_at": "2024-01-24T00:07:30+00:00", "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", @@ -230,10 +230,10 @@ }, "usps_zone": 4, "return_address": { - "id": "adr_95381083b71311eea40dac1f6bc53342", + "id": "adr_90e0406bba4c11eea7d53cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:42:03+00:00", - "updated_at": "2024-01-19T21:42:03+00:00", + "created_at": "2024-01-24T00:07:30+00:00", + "updated_at": "2024-01-24T00:07:30+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -252,10 +252,10 @@ "verifications": {} }, "buyer_address": { - "id": "adr_95365731b71311eea25c3cecef1b359e", + "id": "adr_90dd5fb4ba4c11ee9e88ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:42:03+00:00", - "updated_at": "2024-01-19T21:42:03+00:00", + "created_at": "2024-01-24T00:07:30+00:00", + "updated_at": "2024-01-24T00:07:30+00:00", "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", @@ -275,6 +275,6 @@ }, "forms": [], "fees": [], - "id": "shp_36544f6aeef5499bbab96a44d8ddcc18", + "id": "shp_93170d48eb1a413aa5c0d8bf4384a350", "object": "Shipment" } diff --git a/official/docs/responses/shipments/shipments-label.json b/official/docs/responses/shipments/shipments-label.json index 39a2125c..612505c1 100644 --- a/official/docs/responses/shipments/shipments-label.json +++ b/official/docs/responses/shipments/shipments-label.json @@ -1,5 +1,5 @@ { - "created_at": "2024-01-19T21:42:09Z", + "created_at": "2024-01-24T00:07:35Z", "is_return": false, "messages": [], "mode": "test", @@ -12,16 +12,16 @@ }, "reference": null, "status": "unknown", - "tracking_code": "9434600207552010707817", - "updated_at": "2024-01-19T21:42:11Z", + "tracking_code": "9434600207552011812862", + "updated_at": "2024-01-24T00:07:36Z", "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": { - "id": "cstinfo_924e5a2d39ec4e20a10c1a9c0cf5ed03", + "id": "cstinfo_7020222e3699472186d9be5f7fe03965", "object": "CustomsInfo", - "created_at": "2024-01-19T21:42:09Z", - "updated_at": "2024-01-19T21:42:09Z", + "created_at": "2024-01-24T00:07:35Z", + "updated_at": "2024-01-24T00:07:35Z", "contents_explanation": "", "contents_type": "merchandise", "customs_certify": true, @@ -34,10 +34,10 @@ "declaration": null, "customs_items": [ { - "id": "cstitem_65b7e99f51b046258c2a02912014a961", + "id": "cstitem_b5d2e40ce0ce4a19aab950a848928989", "object": "CustomsItem", - "created_at": "2024-01-19T21:42:09Z", - "updated_at": "2024-01-19T21:42:09Z", + "created_at": "2024-01-24T00:07:35Z", + "updated_at": "2024-01-24T00:07:35Z", "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": "US", @@ -54,10 +54,10 @@ ] }, "from_address": { - "id": "adr_991b73c1b71311eea632ac1f6bc539ae", + "id": "adr_93ec5efaba4c11eeb7baac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T21:42:09+00:00", - "updated_at": "2024-01-19T21:42:09+00:00", + "created_at": "2024-01-24T00:07:35+00:00", + "updated_at": "2024-01-24T00:07:35+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -78,10 +78,10 @@ "insurance": null, "order_id": null, "parcel": { - "id": "prcl_49de61bb82754f769959c0b8ac8ecf6d", + "id": "prcl_4aa6de11e4fa44739b7e4a2b3e28ad9a", "object": "Parcel", - "created_at": "2024-01-19T21:42:09Z", - "updated_at": "2024-01-19T21:42:09Z", + "created_at": "2024-01-24T00:07:35Z", + "updated_at": "2024-01-24T00:07:35Z", "length": 20.2, "width": 10.9, "height": 5.0, @@ -91,171 +91,171 @@ }, "postage_label": { "object": "PostageLabel", - "id": "pl_db98b785798a4ed8a6694df8754b19e8", - "created_at": "2024-01-19T21:42:11Z", - "updated_at": "2024-01-19T21:42:13Z", + "id": "pl_e5d4aec4ee23458ebcb4d29c41ee75f4", + "created_at": "2024-01-24T00:07:36Z", + "updated_at": "2024-01-24T00:07:38Z", "date_advance": 0, "integrated_form": "none", - "label_date": "2024-01-19T21:42:11Z", + "label_date": "2024-01-24T00:07:36Z", "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": "image/png", - "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8f1d17ec0c7734896b81e822af9eaa6bb.png", + "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240124/e8118119c07a5e44a2aee0f6189f13f80a.png", "label_pdf_url": null, - "label_zpl_url": "https://easypost-files.s3-us-west-2.amazonaws.com/files/postage_label/20240119/d0f80b7d5b9d4c9c9beca9963d89896a.zpl", + "label_zpl_url": "https://easypost-files.s3-us-west-2.amazonaws.com/files/postage_label/20240124/af790a0077514f32b1d035d8b2795bb0.zpl", "label_epl2_url": null, "label_file": null }, "rates": [ { - "id": "rate_f0dd36cb952d47ccb62bccfce70bd175", + "id": "rate_2068707826484b3cb89fac312a15525d", "object": "Rate", - "created_at": "2024-01-19T21:42:10Z", - "updated_at": "2024-01-19T21:42:10Z", + "created_at": "2024-01-24T00:07:35Z", + "updated_at": "2024-01-24T00:07:35Z", "mode": "test", - "service": "Express", + "service": "GroundAdvantage", "carrier": "USPS", - "rate": "46.85", + "rate": "6.79", "currency": "USD", - "retail_rate": "54.20", + "retail_rate": "13.15", "retail_currency": "USD", - "list_rate": "46.85", + "list_rate": "9.41", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": null, - "shipment_id": "shp_cfb4323eb62f490b88dc6fedb8394554", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "est_delivery_days": 3, + "shipment_id": "shp_1d00461199d74698b40c1c1cc55654a7", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_1da2e438d64f42989aa24ac9fb9c5120", + "id": "rate_a1cd9d7eb69d43d084b58a01a3d433b1", "object": "Rate", - "created_at": "2024-01-19T21:42:10Z", - "updated_at": "2024-01-19T21:42:10Z", + "created_at": "2024-01-24T00:07:35Z", + "updated_at": "2024-01-24T00:07:35Z", "mode": "test", - "service": "Priority", + "service": "First", "carrier": "USPS", - "rate": "7.99", + "rate": "6.79", "currency": "USD", - "retail_rate": "14.05", + "retail_rate": "13.15", "retail_currency": "USD", - "list_rate": "10.27", + "list_rate": "9.41", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 2, + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 2, - "shipment_id": "shp_cfb4323eb62f490b88dc6fedb8394554", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "est_delivery_days": 3, + "shipment_id": "shp_1d00461199d74698b40c1c1cc55654a7", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_b2f811cfbef64a90916a3a673470236b", + "id": "rate_8276cb6c0c6e412a8dd4cf9b03de9eed", "object": "Rate", - "created_at": "2024-01-19T21:42:10Z", - "updated_at": "2024-01-19T21:42:10Z", + "created_at": "2024-01-24T00:07:35Z", + "updated_at": "2024-01-24T00:07:35Z", "mode": "test", - "service": "GroundAdvantage", + "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": "USD", - "retail_rate": "12.45", + "retail_rate": "13.15", "retail_currency": "USD", - "list_rate": "8.92", + "list_rate": "9.41", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_cfb4323eb62f490b88dc6fedb8394554", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_1d00461199d74698b40c1c1cc55654a7", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_431e683d4bb041799a7a7be66e0368c3", + "id": "rate_0f20dca65d464d56b6d86ad06f27f408", "object": "Rate", - "created_at": "2024-01-19T21:42:10Z", - "updated_at": "2024-01-19T21:42:10Z", + "created_at": "2024-01-24T00:07:35Z", + "updated_at": "2024-01-24T00:07:35Z", "mode": "test", - "service": "First", + "service": "Express", "carrier": "USPS", - "rate": "6.79", + "rate": "49.60", "currency": "USD", - "retail_rate": "12.45", + "retail_rate": "57.40", "retail_currency": "USD", - "list_rate": "8.92", + "list_rate": "49.60", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, - "shipment_id": "shp_cfb4323eb62f490b88dc6fedb8394554", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "est_delivery_days": null, + "shipment_id": "shp_1d00461199d74698b40c1c1cc55654a7", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_af463d53cc294363aed099dd4454a8c4", + "id": "rate_1cee068a0deb4f1283aeb9834c70bca1", "object": "Rate", - "created_at": "2024-01-19T21:42:10Z", - "updated_at": "2024-01-19T21:42:10Z", + "created_at": "2024-01-24T00:07:35Z", + "updated_at": "2024-01-24T00:07:35Z", "mode": "test", - "service": "ParcelSelect", + "service": "Priority", "carrier": "USPS", - "rate": "6.79", + "rate": "7.33", "currency": "USD", - "retail_rate": "12.45", + "retail_rate": "15.20", "retail_currency": "USD", - "list_rate": "8.92", + "list_rate": "10.89", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, + "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, - "shipment_id": "shp_cfb4323eb62f490b88dc6fedb8394554", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "est_delivery_days": 2, + "shipment_id": "shp_1d00461199d74698b40c1c1cc55654a7", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" } ], "refund_status": null, "scan_form": null, "selected_rate": { - "id": "rate_b2f811cfbef64a90916a3a673470236b", + "id": "rate_2068707826484b3cb89fac312a15525d", "object": "Rate", - "created_at": "2024-01-19T21:42:11Z", - "updated_at": "2024-01-19T21:42:11Z", + "created_at": "2024-01-24T00:07:36Z", + "updated_at": "2024-01-24T00:07:36Z", "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", "currency": "USD", - "retail_rate": "12.45", + "retail_rate": "13.15", "retail_currency": "USD", - "list_rate": "8.92", + "list_rate": "9.41", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_cfb4323eb62f490b88dc6fedb8394554", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_1d00461199d74698b40c1c1cc55654a7", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, "tracker": { - "id": "trk_cf7cbc52e6bd47be912299713e8809b3", + "id": "trk_f82598977d4147b6829b688ff79a5f83", "object": "Tracker", "mode": "test", - "tracking_code": "9434600207552010707817", + "tracking_code": "9434600207552011812862", "status": "pre_transit", "status_detail": "status_update", - "created_at": "2024-01-19T21:42:11Z", - "updated_at": "2024-01-19T21:42:11Z", + "created_at": "2024-01-24T00:07:37Z", + "updated_at": "2024-01-24T00:07:37Z", "signed_by": null, "weight": null, - "est_delivery_date": "2024-01-19T21:42:11Z", - "shipment_id": "shp_cfb4323eb62f490b88dc6fedb8394554", + "est_delivery_date": "2024-01-24T00:07:37Z", + "shipment_id": "shp_1d00461199d74698b40c1c1cc55654a7", "carrier": "USPS", "tracking_details": [ { @@ -264,7 +264,7 @@ "description": "", "status": "pre_transit", "status_detail": "status_update", - "datetime": "2023-12-19T21:42:11Z", + "datetime": "2023-12-24T00:07:37Z", "source": "USPS", "carrier_code": "", "tracking_location": { @@ -281,7 +281,7 @@ "description": "", "status": "pre_transit", "status_detail": "status_update", - "datetime": "2023-12-20T10:19:11Z", + "datetime": "2023-12-24T12:44:37Z", "source": "USPS", "carrier_code": "", "tracking_location": { @@ -314,13 +314,13 @@ "alternate_identifier": null, "initial_delivery_attempt": null }, - "public_url": "https://track.easypost.com/djE6dHJrX2NmN2NiYzUyZTZiZDQ3YmU5MTIyOTk3MTNlODgwOWIz" + "public_url": "https://track.easypost.com/djE6dHJrX2Y4MjU5ODk3N2Q0MTQ3YjY4MjliNjg4ZmY3OWE1Zjgz" }, "to_address": { - "id": "adr_9918f44fb71311eea552ac1f6bc53342", + "id": "adr_93e694b8ba4c11eea88d3cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:42:09+00:00", - "updated_at": "2024-01-19T21:42:10+00:00", + "created_at": "2024-01-24T00:07:35+00:00", + "updated_at": "2024-01-24T00:07:36+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", @@ -355,10 +355,10 @@ }, "usps_zone": 4, "return_address": { - "id": "adr_991b73c1b71311eea632ac1f6bc539ae", + "id": "adr_93ec5efaba4c11eeb7baac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T21:42:09+00:00", - "updated_at": "2024-01-19T21:42:09+00:00", + "created_at": "2024-01-24T00:07:35+00:00", + "updated_at": "2024-01-24T00:07:35+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -377,10 +377,10 @@ "verifications": {} }, "buyer_address": { - "id": "adr_9918f44fb71311eea552ac1f6bc53342", + "id": "adr_93e694b8ba4c11eea88d3cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:42:09+00:00", - "updated_at": "2024-01-19T21:42:10+00:00", + "created_at": "2024-01-24T00:07:35+00:00", + "updated_at": "2024-01-24T00:07:36+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", @@ -430,6 +430,6 @@ "refunded": false } ], - "id": "shp_cfb4323eb62f490b88dc6fedb8394554", + "id": "shp_1d00461199d74698b40c1c1cc55654a7", "object": "Shipment" } diff --git a/official/docs/responses/shipments/shipments-list.json b/official/docs/responses/shipments/shipments-list.json index 85da3033..8f857807 100644 --- a/official/docs/responses/shipments/shipments-list.json +++ b/official/docs/responses/shipments/shipments-list.json @@ -1,7 +1,7 @@ { "shipments": [ { - "created_at": "2024-01-19T21:42:00Z", + "created_at": "2024-01-24T00:07:28Z", "is_return": false, "messages": [], "mode": "test", @@ -14,16 +14,16 @@ }, "reference": null, "status": "unknown", - "tracking_code": "9405500207552010707771", - "updated_at": "2024-01-19T21:42:01Z", - "batch_id": "batch_20ed0a5f5e4f4e5c8cf2b4f966ceb924", + "tracking_code": "9405500207552011812825", + "updated_at": "2024-01-24T00:07:29Z", + "batch_id": "batch_83009a1272fa48ffb1a3d29074a16960", "batch_status": "postage_purchased", "batch_message": null, "customs_info": { - "id": "cstinfo_b8df8ab18426437884d0bdbcc8cd7a38", + "id": "cstinfo_916710a3039140c5a6e7f2f812ef83d7", "object": "CustomsInfo", - "created_at": "2024-01-19T21:42:00Z", - "updated_at": "2024-01-19T21:42:00Z", + "created_at": "2024-01-24T00:07:28Z", + "updated_at": "2024-01-24T00:07:28Z", "contents_explanation": "", "contents_type": "merchandise", "customs_certify": true, @@ -36,10 +36,10 @@ "declaration": null, "customs_items": [ { - "id": "cstitem_70b1522825c645659169b66fed6c5ff8", + "id": "cstitem_eead7973a2d644189ebd7c8f11f9647a", "object": "CustomsItem", - "created_at": "2024-01-19T21:42:00Z", - "updated_at": "2024-01-19T21:42:00Z", + "created_at": "2024-01-24T00:07:28Z", + "updated_at": "2024-01-24T00:07:28Z", "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": "US", @@ -56,10 +56,10 @@ ] }, "from_address": { - "id": "adr_939e948eb71311eeb35fac1f6bc539aa", + "id": "adr_8f5e7e74ba4c11ee8bd0ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:42:00+00:00", - "updated_at": "2024-01-19T21:42:00+00:00", + "created_at": "2024-01-24T00:07:28+00:00", + "updated_at": "2024-01-24T00:07:28+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -80,10 +80,10 @@ "insurance": null, "order_id": null, "parcel": { - "id": "prcl_3ae2306725f2419cb812702fab0e8879", + "id": "prcl_bba0f7cc48d64a299938fef3a3e0b9a0", "object": "Parcel", - "created_at": "2024-01-19T21:42:00Z", - "updated_at": "2024-01-19T21:42:00Z", + "created_at": "2024-01-24T00:07:28Z", + "updated_at": "2024-01-24T00:07:28Z", "length": 20.2, "width": 10.9, "height": 5.0, @@ -93,17 +93,17 @@ }, "postage_label": { "object": "PostageLabel", - "id": "pl_7123fce93f754da197413633321ea20f", - "created_at": "2024-01-19T21:42:01Z", - "updated_at": "2024-01-19T21:42:01Z", + "id": "pl_9562571fa39b4e49892a8c60f12be255", + "created_at": "2024-01-24T00:07:28Z", + "updated_at": "2024-01-24T00:07:28Z", "date_advance": 0, "integrated_form": "none", - "label_date": "2024-01-19T21:42:01Z", + "label_date": "2024-01-24T00:07:28Z", "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": "image/png", - "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8d34f289678574f3fa795bbf64a495e47.png", + "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240124/e8a95864fe9ec34eeabf5fc2ad415fda5d.png", "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, @@ -111,128 +111,128 @@ }, "rates": [ { - "id": "rate_e2a94cdc60d2464aa89a69d29cf12f7a", + "id": "rate_15a03f25e00d49a098da8d40c8e1719e", "object": "Rate", - "created_at": "2024-01-19T21:42:00Z", - "updated_at": "2024-01-19T21:42:00Z", + "created_at": "2024-01-24T00:07:28Z", + "updated_at": "2024-01-24T00:07:28Z", "mode": "test", "service": "Express", "carrier": "USPS", - "rate": "46.85", + "rate": "49.60", "currency": "USD", - "retail_rate": "54.20", + "retail_rate": "57.40", "retail_currency": "USD", - "list_rate": "46.85", + "list_rate": "49.60", "list_currency": "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": null, - "shipment_id": "shp_cf8e56cf20974b3da7c68ef7da9c1718", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_8631f00640ba4d62b9131da3852a26e4", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_e68bd3f50b7d499a99ce5936e5376154", + "id": "rate_edd7e3cedd9d4aa9bd21eb23a740af7d", "object": "Rate", - "created_at": "2024-01-19T21:42:00Z", - "updated_at": "2024-01-19T21:42:00Z", + "created_at": "2024-01-24T00:07:28Z", + "updated_at": "2024-01-24T00:07:28Z", "mode": "test", "service": "Priority", "carrier": "USPS", - "rate": "7.99", + "rate": "7.33", "currency": "USD", - "retail_rate": "14.05", + "retail_rate": "15.20", "retail_currency": "USD", - "list_rate": "10.27", + "list_rate": "10.89", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 2, - "shipment_id": "shp_cf8e56cf20974b3da7c68ef7da9c1718", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_8631f00640ba4d62b9131da3852a26e4", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_233e3d437e8c4c1a969f94b4c751d1f9", + "id": "rate_bc0979e7fa314d2b935d8fee9312c766", "object": "Rate", - "created_at": "2024-01-19T21:42:00Z", - "updated_at": "2024-01-19T21:42:00Z", + "created_at": "2024-01-24T00:07:28Z", + "updated_at": "2024-01-24T00:07:28Z", "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", "currency": "USD", - "retail_rate": "12.45", + "retail_rate": "13.15", "retail_currency": "USD", - "list_rate": "8.92", + "list_rate": "9.41", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_cf8e56cf20974b3da7c68ef7da9c1718", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_8631f00640ba4d62b9131da3852a26e4", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_05ca078c91cb4f90a7544b18ece7c135", + "id": "rate_418622e2edeb4015b8bbd72fbe2d3ff6", "object": "Rate", - "created_at": "2024-01-19T21:42:00Z", - "updated_at": "2024-01-19T21:42:00Z", + "created_at": "2024-01-24T00:07:28Z", + "updated_at": "2024-01-24T00:07:28Z", "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": "USD", - "retail_rate": "12.45", + "retail_rate": "13.15", "retail_currency": "USD", - "list_rate": "8.92", + "list_rate": "9.41", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_cf8e56cf20974b3da7c68ef7da9c1718", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_8631f00640ba4d62b9131da3852a26e4", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_afc77f652bbb4f94a8b679a1afdf9547", + "id": "rate_699f9b847989489891a0db1489c6c0f2", "object": "Rate", - "created_at": "2024-01-19T21:42:00Z", - "updated_at": "2024-01-19T21:42:00Z", + "created_at": "2024-01-24T00:07:28Z", + "updated_at": "2024-01-24T00:07:28Z", "mode": "test", "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": "USD", - "retail_rate": "12.45", + "retail_rate": "13.15", "retail_currency": "USD", - "list_rate": "8.92", + "list_rate": "9.41", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_cf8e56cf20974b3da7c68ef7da9c1718", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_8631f00640ba4d62b9131da3852a26e4", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" } ], "refund_status": null, "scan_form": { - "id": "sf_7da5cfcbb18448a1b8557d6f46dcfd63", + "id": "sf_589e52186e9249669c7806912a6ab766", "object": "ScanForm", - "created_at": "2024-01-19T21:42:01Z", - "updated_at": "2024-01-19T21:42:02Z", - "tracking_codes": ["9405500207552010707771"], + "created_at": "2024-01-24T00:07:29Z", + "updated_at": "2024-01-24T00:07:29Z", + "tracking_codes": ["9405500207552011812825"], "address": { - "id": "adr_939e948eb71311eeb35fac1f6bc539aa", + "id": "adr_8f5e7e74ba4c11ee8bd0ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:42:00+00:00", - "updated_at": "2024-01-19T21:42:00+00:00", + "created_at": "2024-01-24T00:07:28+00:00", + "updated_at": "2024-01-24T00:07:28+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -252,46 +252,46 @@ }, "status": "created", "message": null, - "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240119/e88e3aaa0500a342a6ba20d2fe6c3cd189.pdf", + "form_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/scan_form/20240124/e82a4cb71096604dc7bd773b1285d7e9db.pdf", "form_file_type": null, - "batch_id": "batch_20ed0a5f5e4f4e5c8cf2b4f966ceb924", + "batch_id": "batch_83009a1272fa48ffb1a3d29074a16960", "confirmation": null }, "selected_rate": { - "id": "rate_e68bd3f50b7d499a99ce5936e5376154", + "id": "rate_edd7e3cedd9d4aa9bd21eb23a740af7d", "object": "Rate", - "created_at": "2024-01-19T21:42:01Z", - "updated_at": "2024-01-19T21:42:01Z", + "created_at": "2024-01-24T00:07:28Z", + "updated_at": "2024-01-24T00:07:28Z", "mode": "test", "service": "Priority", "carrier": "USPS", - "rate": "7.99", + "rate": "7.33", "currency": "USD", - "retail_rate": "14.05", + "retail_rate": "15.20", "retail_currency": "USD", - "list_rate": "10.27", + "list_rate": "10.89", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 2, - "shipment_id": "shp_cf8e56cf20974b3da7c68ef7da9c1718", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_8631f00640ba4d62b9131da3852a26e4", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, "tracker": { - "id": "trk_73461d4218344b6198a1736e508a8cbf", + "id": "trk_c64aa4ee22804cceab41586397c4b833", "object": "Tracker", "mode": "test", - "tracking_code": "9405500207552010707771", + "tracking_code": "9405500207552011812825", "status": "pre_transit", "status_detail": "status_update", - "created_at": "2024-01-19T21:42:01Z", - "updated_at": "2024-01-19T21:42:01Z", + "created_at": "2024-01-24T00:07:28Z", + "updated_at": "2024-01-24T00:07:29Z", "signed_by": null, "weight": null, - "est_delivery_date": "2024-01-19T21:42:01Z", - "shipment_id": "shp_cf8e56cf20974b3da7c68ef7da9c1718", + "est_delivery_date": "2024-01-24T00:07:29Z", + "shipment_id": "shp_8631f00640ba4d62b9131da3852a26e4", "carrier": "USPS", "tracking_details": [ { @@ -300,7 +300,7 @@ "description": "", "status": "pre_transit", "status_detail": "status_update", - "datetime": "2023-12-19T21:42:01Z", + "datetime": "2023-12-24T00:07:29Z", "source": "USPS", "carrier_code": "", "tracking_location": { @@ -317,7 +317,7 @@ "description": "", "status": "pre_transit", "status_detail": "status_update", - "datetime": "2023-12-20T10:19:01Z", + "datetime": "2023-12-24T12:44:29Z", "source": "USPS", "carrier_code": "", "tracking_location": { @@ -350,13 +350,13 @@ "alternate_identifier": null, "initial_delivery_attempt": null }, - "public_url": "https://track.easypost.com/djE6dHJrXzczNDYxZDQyMTgzNDRiNjE5OGExNzM2ZTUwOGE4Y2Jm" + "public_url": "https://track.easypost.com/djE6dHJrX2M2NGFhNGVlMjI4MDRjY2VhYjQxNTg2Mzk3YzRiODMz" }, "to_address": { - "id": "adr_939be8d4b71311eea487ac1f6bc539ae", + "id": "adr_8f5bb1f5ba4c11eeb6a1ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T21:42:00+00:00", - "updated_at": "2024-01-19T21:42:00+00:00", + "created_at": "2024-01-24T00:07:28+00:00", + "updated_at": "2024-01-24T00:07:28+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", @@ -391,10 +391,10 @@ }, "usps_zone": 4, "return_address": { - "id": "adr_939e948eb71311eeb35fac1f6bc539aa", + "id": "adr_8f5e7e74ba4c11ee8bd0ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:42:00+00:00", - "updated_at": "2024-01-19T21:42:00+00:00", + "created_at": "2024-01-24T00:07:28+00:00", + "updated_at": "2024-01-24T00:07:28+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -413,10 +413,10 @@ "verifications": {} }, "buyer_address": { - "id": "adr_939be8d4b71311eea487ac1f6bc539ae", + "id": "adr_8f5bb1f5ba4c11eeb6a1ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T21:42:00+00:00", - "updated_at": "2024-01-19T21:42:00+00:00", + "created_at": "2024-01-24T00:07:28+00:00", + "updated_at": "2024-01-24T00:07:28+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", @@ -461,12 +461,12 @@ { "object": "Fee", "type": "PostageFee", - "amount": "7.99000", + "amount": "7.33000", "charged": true, "refunded": false } ], - "id": "shp_cf8e56cf20974b3da7c68ef7da9c1718", + "id": "shp_8631f00640ba4d62b9131da3852a26e4", "object": "Shipment" } ], diff --git a/official/docs/responses/shipments/shipments-one-call-buy.json b/official/docs/responses/shipments/shipments-one-call-buy.json index e215fdd2..ad2aac13 100644 --- a/official/docs/responses/shipments/shipments-one-call-buy.json +++ b/official/docs/responses/shipments/shipments-one-call-buy.json @@ -1,5 +1,5 @@ { - "created_at": "2024-01-19T21:42:08Z", + "created_at": "2024-01-24T00:07:34Z", "is_return": false, "messages": [], "mode": "test", @@ -12,16 +12,16 @@ }, "reference": null, "status": "unknown", - "tracking_code": "9405500207552010707795", - "updated_at": "2024-01-19T21:42:09Z", + "tracking_code": "9405500207552011812856", + "updated_at": "2024-01-24T00:07:35Z", "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": { - "id": "cstinfo_e5045977834449439af2bc256f3b29dd", + "id": "cstinfo_e6014c4dcdf5453791e90ce9a1e02415", "object": "CustomsInfo", - "created_at": "2024-01-19T21:42:08Z", - "updated_at": "2024-01-19T21:42:08Z", + "created_at": "2024-01-24T00:07:34Z", + "updated_at": "2024-01-24T00:07:34Z", "contents_explanation": "", "contents_type": "merchandise", "customs_certify": true, @@ -34,10 +34,10 @@ "declaration": null, "customs_items": [ { - "id": "cstitem_b506205ca9e4423b8197cee9805292af", + "id": "cstitem_a3eccb0d4eea40919cd8ce3fb946f294", "object": "CustomsItem", - "created_at": "2024-01-19T21:42:08Z", - "updated_at": "2024-01-19T21:42:08Z", + "created_at": "2024-01-24T00:07:34Z", + "updated_at": "2024-01-24T00:07:34Z", "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": "US", @@ -54,10 +54,10 @@ ] }, "from_address": { - "id": "adr_985c0698b71311eea3613cecef1b359e", + "id": "adr_931d01beba4c11eea85f3cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:42:08+00:00", - "updated_at": "2024-01-19T21:42:08+00:00", + "created_at": "2024-01-24T00:07:34+00:00", + "updated_at": "2024-01-24T00:07:34+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -78,10 +78,10 @@ "insurance": null, "order_id": null, "parcel": { - "id": "prcl_a78e336299be4f9d998d25b48819b7c6", + "id": "prcl_e41371b468254344b140e685e879d69b", "object": "Parcel", - "created_at": "2024-01-19T21:42:08Z", - "updated_at": "2024-01-19T21:42:08Z", + "created_at": "2024-01-24T00:07:34Z", + "updated_at": "2024-01-24T00:07:34Z", "length": 20.2, "width": 10.9, "height": 5.0, @@ -91,17 +91,17 @@ }, "postage_label": { "object": "PostageLabel", - "id": "pl_42d3205dae954aa5a47afeca04ef903e", - "created_at": "2024-01-19T21:42:08Z", - "updated_at": "2024-01-19T21:42:09Z", + "id": "pl_737e9444077f4b00b11dd489f1ff1b24", + "created_at": "2024-01-24T00:07:34Z", + "updated_at": "2024-01-24T00:07:35Z", "date_advance": 0, "integrated_form": "none", - "label_date": "2024-01-19T21:42:08Z", + "label_date": "2024-01-24T00:07:34Z", "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": "image/png", - "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e8dc5afd52a1744a20a12e40c596d2f190.png", + "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240124/e855deb38cef7e400083067c600a9848f2.png", "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, @@ -109,164 +109,164 @@ }, "rates": [ { - "id": "rate_924fc99778f945c58a4224fde3226faf", + "id": "rate_2c2df636028f414a9334c086be6d8a78", "object": "Rate", - "created_at": "2024-01-19T21:42:08Z", - "updated_at": "2024-01-19T21:42:08Z", + "created_at": "2024-01-24T00:07:34Z", + "updated_at": "2024-01-24T00:07:34Z", "mode": "test", "service": "Express", "carrier": "USPS", - "rate": "46.85", + "rate": "49.60", "currency": "USD", - "retail_rate": "54.20", + "retail_rate": "57.40", "retail_currency": "USD", - "list_rate": "46.85", + "list_rate": "49.60", "list_currency": "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": null, - "shipment_id": "shp_a1d84f486e0e44e5b7ebfb3c15f2c83e", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_032866f1a5174949bc938acc7f4a19fc", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_0510ffa721334e889df0b4fa8deb3080", + "id": "rate_55157308ac5e46ef88c45f726bcbc786", "object": "Rate", - "created_at": "2024-01-19T21:42:08Z", - "updated_at": "2024-01-19T21:42:08Z", + "created_at": "2024-01-24T00:07:34Z", + "updated_at": "2024-01-24T00:07:34Z", "mode": "test", "service": "Priority", "carrier": "USPS", - "rate": "7.99", + "rate": "7.33", "currency": "USD", - "retail_rate": "14.05", + "retail_rate": "15.20", "retail_currency": "USD", - "list_rate": "10.27", + "list_rate": "10.89", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 2, - "shipment_id": "shp_a1d84f486e0e44e5b7ebfb3c15f2c83e", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_032866f1a5174949bc938acc7f4a19fc", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_ae58202b37264ec8a9ce3350191ac3b0", + "id": "rate_9f6994d9e21940288ae27be89a958e92", "object": "Rate", - "created_at": "2024-01-19T21:42:08Z", - "updated_at": "2024-01-19T21:42:08Z", + "created_at": "2024-01-24T00:07:34Z", + "updated_at": "2024-01-24T00:07:34Z", "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", "currency": "USD", - "retail_rate": "12.45", + "retail_rate": "13.15", "retail_currency": "USD", - "list_rate": "8.92", + "list_rate": "9.41", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_a1d84f486e0e44e5b7ebfb3c15f2c83e", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_032866f1a5174949bc938acc7f4a19fc", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_f1a40a5d2a374c91997fe0578c5255e5", + "id": "rate_75c2218b6bd149ec9b9145380024c633", "object": "Rate", - "created_at": "2024-01-19T21:42:08Z", - "updated_at": "2024-01-19T21:42:08Z", + "created_at": "2024-01-24T00:07:34Z", + "updated_at": "2024-01-24T00:07:34Z", "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": "USD", - "retail_rate": "12.45", + "retail_rate": "13.15", "retail_currency": "USD", - "list_rate": "8.92", + "list_rate": "9.41", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_a1d84f486e0e44e5b7ebfb3c15f2c83e", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_032866f1a5174949bc938acc7f4a19fc", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_986a9d1153f6425cb459c252450c6c70", + "id": "rate_c8fd8ed2574c4c1aa5d751e344786157", "object": "Rate", - "created_at": "2024-01-19T21:42:08Z", - "updated_at": "2024-01-19T21:42:08Z", + "created_at": "2024-01-24T00:07:34Z", + "updated_at": "2024-01-24T00:07:34Z", "mode": "test", "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": "USD", - "retail_rate": "12.45", + "retail_rate": "13.15", "retail_currency": "USD", - "list_rate": "8.92", + "list_rate": "9.41", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_a1d84f486e0e44e5b7ebfb3c15f2c83e", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_032866f1a5174949bc938acc7f4a19fc", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" } ], "refund_status": null, "scan_form": null, "selected_rate": { - "id": "rate_0510ffa721334e889df0b4fa8deb3080", + "id": "rate_55157308ac5e46ef88c45f726bcbc786", "object": "Rate", - "created_at": "2024-01-19T21:42:08Z", - "updated_at": "2024-01-19T21:42:08Z", + "created_at": "2024-01-24T00:07:34Z", + "updated_at": "2024-01-24T00:07:34Z", "mode": "test", "service": "Priority", "carrier": "USPS", - "rate": "7.99", + "rate": "7.33", "currency": "USD", - "retail_rate": "14.05", + "retail_rate": "15.20", "retail_currency": "USD", - "list_rate": "10.27", + "list_rate": "10.89", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 2, - "shipment_id": "shp_a1d84f486e0e44e5b7ebfb3c15f2c83e", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_032866f1a5174949bc938acc7f4a19fc", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, "tracker": { - "id": "trk_324c76c1cc5b4ddd8aae2e4571ca35e8", + "id": "trk_4f377a2463fe4af8a42f0bd2ea17d6d3", "object": "Tracker", "mode": "test", - "tracking_code": "9405500207552010707795", + "tracking_code": "9405500207552011812856", "status": "unknown", "status_detail": "unknown", - "created_at": "2024-01-19T21:42:09Z", - "updated_at": "2024-01-19T21:42:09Z", + "created_at": "2024-01-24T00:07:35Z", + "updated_at": "2024-01-24T00:07:35Z", "signed_by": null, "weight": null, "est_delivery_date": null, - "shipment_id": "shp_a1d84f486e0e44e5b7ebfb3c15f2c83e", + "shipment_id": "shp_032866f1a5174949bc938acc7f4a19fc", "carrier": "USPS", "tracking_details": [], "fees": [], "carrier_detail": null, - "public_url": "https://track.easypost.com/djE6dHJrXzMyNGM3NmMxY2M1YjRkZGQ4YWFlMmU0NTcxY2EzNWU4" + "public_url": "https://track.easypost.com/djE6dHJrXzRmMzc3YTI0NjNmZTRhZjhhNDJmMGJkMmVhMTdkNmQz" }, "to_address": { - "id": "adr_9859cca6b71311eea5fbac1f6bc539ae", + "id": "adr_9319ec85ba4c11ee8ca2ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:42:08+00:00", - "updated_at": "2024-01-19T21:42:08+00:00", + "created_at": "2024-01-24T00:07:34+00:00", + "updated_at": "2024-01-24T00:07:34+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", @@ -301,10 +301,10 @@ }, "usps_zone": 4, "return_address": { - "id": "adr_985c0698b71311eea3613cecef1b359e", + "id": "adr_931d01beba4c11eea85f3cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:42:08+00:00", - "updated_at": "2024-01-19T21:42:08+00:00", + "created_at": "2024-01-24T00:07:34+00:00", + "updated_at": "2024-01-24T00:07:34+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -323,10 +323,10 @@ "verifications": {} }, "buyer_address": { - "id": "adr_9859cca6b71311eea5fbac1f6bc539ae", + "id": "adr_9319ec85ba4c11ee8ca2ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:42:08+00:00", - "updated_at": "2024-01-19T21:42:08+00:00", + "created_at": "2024-01-24T00:07:34+00:00", + "updated_at": "2024-01-24T00:07:34+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", @@ -371,11 +371,11 @@ { "object": "Fee", "type": "PostageFee", - "amount": "7.99000", + "amount": "7.33000", "charged": true, "refunded": false } ], - "id": "shp_a1d84f486e0e44e5b7ebfb3c15f2c83e", + "id": "shp_032866f1a5174949bc938acc7f4a19fc", "object": "Shipment" } diff --git a/official/docs/responses/shipments/shipments-retrieve.json b/official/docs/responses/shipments/shipments-retrieve.json index d7e1e24a..14a4f6ba 100644 --- a/official/docs/responses/shipments/shipments-retrieve.json +++ b/official/docs/responses/shipments/shipments-retrieve.json @@ -1,5 +1,5 @@ { - "created_at": "2024-01-19T21:42:04Z", + "created_at": "2024-01-24T00:07:31Z", "is_return": false, "messages": [], "mode": "test", @@ -13,15 +13,15 @@ "reference": null, "status": "unknown", "tracking_code": null, - "updated_at": "2024-01-19T21:42:04Z", + "updated_at": "2024-01-24T00:07:31Z", "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": { - "id": "cstinfo_41b7eeaa9b4f4e3c8b5b56cb4f20259e", + "id": "cstinfo_0096afa682bf443d91d2290bc95bb431", "object": "CustomsInfo", - "created_at": "2024-01-19T21:42:04Z", - "updated_at": "2024-01-19T21:42:04Z", + "created_at": "2024-01-24T00:07:31Z", + "updated_at": "2024-01-24T00:07:31Z", "contents_explanation": "", "contents_type": "merchandise", "customs_certify": true, @@ -34,10 +34,10 @@ "declaration": null, "customs_items": [ { - "id": "cstitem_f427d952cec54b1096206a16e10c886d", + "id": "cstitem_4cd92d282b9044e0a5fe4d430e221b04", "object": "CustomsItem", - "created_at": "2024-01-19T21:42:04Z", - "updated_at": "2024-01-19T21:42:04Z", + "created_at": "2024-01-24T00:07:31Z", + "updated_at": "2024-01-24T00:07:31Z", "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": "US", @@ -54,10 +54,10 @@ ] }, "from_address": { - "id": "adr_95e5d4c8b71311eea2923cecef1b359e", + "id": "adr_913347feba4c11eeb701ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T21:42:04+00:00", - "updated_at": "2024-01-19T21:42:04+00:00", + "created_at": "2024-01-24T00:07:31+00:00", + "updated_at": "2024-01-24T00:07:31+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -78,10 +78,10 @@ "insurance": null, "order_id": null, "parcel": { - "id": "prcl_fc31f68d7c4647578e58e806ca008009", + "id": "prcl_400658d40a1f40aa9871d002dfdfb68d", "object": "Parcel", - "created_at": "2024-01-19T21:42:04Z", - "updated_at": "2024-01-19T21:42:04Z", + "created_at": "2024-01-24T00:07:31Z", + "updated_at": "2024-01-24T00:07:31Z", "length": 20.2, "width": 10.9, "height": 5.0, @@ -92,114 +92,114 @@ "postage_label": null, "rates": [ { - "id": "rate_d723cc2fe4c54949a4b903afd2044083", + "id": "rate_3a88998080864f5dafd05f0e39655253", "object": "Rate", - "created_at": "2024-01-19T21:42:04Z", - "updated_at": "2024-01-19T21:42:04Z", + "created_at": "2024-01-24T00:07:31Z", + "updated_at": "2024-01-24T00:07:31Z", "mode": "test", - "service": "Priority", + "service": "Express", "carrier": "USPS", - "rate": "7.99", + "rate": "49.60", "currency": "USD", - "retail_rate": "14.05", + "retail_rate": "57.40", "retail_currency": "USD", - "list_rate": "10.27", + "list_rate": "49.60", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 2, + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 2, - "shipment_id": "shp_6f93e11081a943eea73a615b1f823b04", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "est_delivery_days": null, + "shipment_id": "shp_594234d296794803bfd0a6814a29d976", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_95e975f7818f4b98922055a3e0d4e79b", + "id": "rate_54f2ef16614541fda0eb4cac44155954", "object": "Rate", - "created_at": "2024-01-19T21:42:04Z", - "updated_at": "2024-01-19T21:42:04Z", + "created_at": "2024-01-24T00:07:31Z", + "updated_at": "2024-01-24T00:07:31Z", "mode": "test", - "service": "GroundAdvantage", + "service": "Priority", "carrier": "USPS", - "rate": "6.79", + "rate": "7.33", "currency": "USD", - "retail_rate": "12.45", + "retail_rate": "15.20", "retail_currency": "USD", - "list_rate": "8.92", + "list_rate": "10.89", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, + "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, - "shipment_id": "shp_6f93e11081a943eea73a615b1f823b04", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "est_delivery_days": 2, + "shipment_id": "shp_594234d296794803bfd0a6814a29d976", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_fe69ed3e44f144b49a593ba9dc86b162", + "id": "rate_591fb9d8f10d456ea105ea2e700c00ad", "object": "Rate", - "created_at": "2024-01-19T21:42:04Z", - "updated_at": "2024-01-19T21:42:04Z", + "created_at": "2024-01-24T00:07:31Z", + "updated_at": "2024-01-24T00:07:31Z", "mode": "test", - "service": "First", + "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", "currency": "USD", - "retail_rate": "12.45", + "retail_rate": "13.15", "retail_currency": "USD", - "list_rate": "8.92", + "list_rate": "9.41", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_6f93e11081a943eea73a615b1f823b04", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_594234d296794803bfd0a6814a29d976", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_f959108c87eb44c7a03d77f99ac88d2a", + "id": "rate_3bf9ed1c9fef437e957faeb8eb77d7f7", "object": "Rate", - "created_at": "2024-01-19T21:42:04Z", - "updated_at": "2024-01-19T21:42:04Z", + "created_at": "2024-01-24T00:07:31Z", + "updated_at": "2024-01-24T00:07:31Z", "mode": "test", - "service": "ParcelSelect", + "service": "First", "carrier": "USPS", "rate": "6.79", "currency": "USD", - "retail_rate": "12.45", + "retail_rate": "13.15", "retail_currency": "USD", - "list_rate": "8.92", + "list_rate": "9.41", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_6f93e11081a943eea73a615b1f823b04", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_594234d296794803bfd0a6814a29d976", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_0059b8bf151943bc8960585425e07c33", + "id": "rate_bf060d1d9e4a41c6bdbef4bee91643dd", "object": "Rate", - "created_at": "2024-01-19T21:42:04Z", - "updated_at": "2024-01-19T21:42:04Z", + "created_at": "2024-01-24T00:07:31Z", + "updated_at": "2024-01-24T00:07:31Z", "mode": "test", - "service": "Express", + "service": "ParcelSelect", "carrier": "USPS", - "rate": "46.85", + "rate": "6.79", "currency": "USD", - "retail_rate": "54.20", + "retail_rate": "13.15", "retail_currency": "USD", - "list_rate": "46.85", + "list_rate": "9.41", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": null, - "shipment_id": "shp_6f93e11081a943eea73a615b1f823b04", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "est_delivery_days": 3, + "shipment_id": "shp_594234d296794803bfd0a6814a29d976", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" } ], "refund_status": null, @@ -207,10 +207,10 @@ "selected_rate": null, "tracker": null, "to_address": { - "id": "adr_95e3b26bb71311eeb411ac1f6bc539aa", + "id": "adr_91305d88ba4c11eea7e63cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:42:04+00:00", - "updated_at": "2024-01-19T21:42:04+00:00", + "created_at": "2024-01-24T00:07:31+00:00", + "updated_at": "2024-01-24T00:07:31+00:00", "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", @@ -230,10 +230,10 @@ }, "usps_zone": 4, "return_address": { - "id": "adr_95e5d4c8b71311eea2923cecef1b359e", + "id": "adr_913347feba4c11eeb701ac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T21:42:04+00:00", - "updated_at": "2024-01-19T21:42:04+00:00", + "created_at": "2024-01-24T00:07:31+00:00", + "updated_at": "2024-01-24T00:07:31+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -252,10 +252,10 @@ "verifications": {} }, "buyer_address": { - "id": "adr_95e3b26bb71311eeb411ac1f6bc539aa", + "id": "adr_91305d88ba4c11eea7e63cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:42:04+00:00", - "updated_at": "2024-01-19T21:42:04+00:00", + "created_at": "2024-01-24T00:07:31+00:00", + "updated_at": "2024-01-24T00:07:31+00:00", "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", @@ -275,6 +275,6 @@ }, "forms": [], "fees": [], - "id": "shp_6f93e11081a943eea73a615b1f823b04", + "id": "shp_594234d296794803bfd0a6814a29d976", "object": "Shipment" } diff --git a/official/docs/responses/shipping-insurance/shipping-insurance-insure.json b/official/docs/responses/shipping-insurance/shipping-insurance-insure.json index 25abce1e..60051ef7 100644 --- a/official/docs/responses/shipping-insurance/shipping-insurance-insure.json +++ b/official/docs/responses/shipping-insurance/shipping-insurance-insure.json @@ -1,5 +1,5 @@ { - "created_at": "2024-01-19T21:42:15Z", + "created_at": "2024-01-24T00:07:39Z", "is_return": false, "messages": [], "mode": "test", @@ -12,16 +12,16 @@ }, "reference": null, "status": "unknown", - "tracking_code": "9405500207552010707832", - "updated_at": "2024-01-19T21:42:16Z", + "tracking_code": "9405500207552011812870", + "updated_at": "2024-01-24T00:07:40Z", "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": { - "id": "cstinfo_b61da81f3f754df591a18d03da8a92f1", + "id": "cstinfo_894bee92fc8a4590b1bedd7c25d420aa", "object": "CustomsInfo", - "created_at": "2024-01-19T21:42:15Z", - "updated_at": "2024-01-19T21:42:15Z", + "created_at": "2024-01-24T00:07:39Z", + "updated_at": "2024-01-24T00:07:39Z", "contents_explanation": "", "contents_type": "merchandise", "customs_certify": true, @@ -34,10 +34,10 @@ "declaration": null, "customs_items": [ { - "id": "cstitem_f1b7d8c06ec44590b739cae12a9a05ed", + "id": "cstitem_0e02f1ec747d40c390300494b5378f40", "object": "CustomsItem", - "created_at": "2024-01-19T21:42:15Z", - "updated_at": "2024-01-19T21:42:15Z", + "created_at": "2024-01-24T00:07:39Z", + "updated_at": "2024-01-24T00:07:39Z", "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": "US", @@ -54,10 +54,10 @@ ] }, "from_address": { - "id": "adr_9cababedb71311eeb632ac1f6bc539aa", + "id": "adr_95ff946cba4c11eea9293cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:42:15+00:00", - "updated_at": "2024-01-19T21:42:15+00:00", + "created_at": "2024-01-24T00:07:39+00:00", + "updated_at": "2024-01-24T00:07:39+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -78,10 +78,10 @@ "insurance": "100.00", "order_id": null, "parcel": { - "id": "prcl_99b14a8ae7a2443fbc6ba0955ca25c5d", + "id": "prcl_2594ceec6c574946b89134e60fe4bc13", "object": "Parcel", - "created_at": "2024-01-19T21:42:15Z", - "updated_at": "2024-01-19T21:42:15Z", + "created_at": "2024-01-24T00:07:39Z", + "updated_at": "2024-01-24T00:07:39Z", "length": 20.2, "width": 10.9, "height": 5.0, @@ -91,17 +91,17 @@ }, "postage_label": { "object": "PostageLabel", - "id": "pl_9372da71bf814abebcfc9d7adfda4a24", - "created_at": "2024-01-19T21:42:16Z", - "updated_at": "2024-01-19T21:42:16Z", + "id": "pl_ae919bc0b3234b27a5c076d3975bba6d", + "created_at": "2024-01-24T00:07:39Z", + "updated_at": "2024-01-24T00:07:40Z", "date_advance": 0, "integrated_form": "none", - "label_date": "2024-01-19T21:42:16Z", + "label_date": "2024-01-24T00:07:39Z", "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": "image/png", - "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240119/e848d6cdabca4f4478a94ec9db35060a45.png", + "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240124/e81a3e19aeea384a65afa1f447056de071.png", "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, @@ -109,153 +109,153 @@ }, "rates": [ { - "id": "rate_e6f5e02692d04c5aa98fd2c1504c6fa6", + "id": "rate_cfd85c8adde54ed8b8c6f579266254f7", "object": "Rate", - "created_at": "2024-01-19T21:42:15Z", - "updated_at": "2024-01-19T21:42:15Z", + "created_at": "2024-01-24T00:07:39Z", + "updated_at": "2024-01-24T00:07:39Z", "mode": "test", - "service": "Priority", + "service": "Express", "carrier": "USPS", - "rate": "7.99", + "rate": "49.60", "currency": "USD", - "retail_rate": "14.05", + "retail_rate": "57.40", "retail_currency": "USD", - "list_rate": "10.27", + "list_rate": "49.60", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 2, + "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 2, - "shipment_id": "shp_1b88cbe26946440d8d1afca25750e9ac", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "est_delivery_days": null, + "shipment_id": "shp_3a557aeedf24430194ce622a7d2e84d0", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_91cefc3a1bb14cde8bb802596874569a", + "id": "rate_00b65803675a45c490686889492ee95d", "object": "Rate", - "created_at": "2024-01-19T21:42:15Z", - "updated_at": "2024-01-19T21:42:15Z", + "created_at": "2024-01-24T00:07:39Z", + "updated_at": "2024-01-24T00:07:39Z", "mode": "test", - "service": "GroundAdvantage", + "service": "Priority", "carrier": "USPS", - "rate": "6.79", + "rate": "7.33", "currency": "USD", - "retail_rate": "12.45", + "retail_rate": "15.20", "retail_currency": "USD", - "list_rate": "8.92", + "list_rate": "10.89", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, + "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, - "shipment_id": "shp_1b88cbe26946440d8d1afca25750e9ac", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "est_delivery_days": 2, + "shipment_id": "shp_3a557aeedf24430194ce622a7d2e84d0", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_10b5dd00cb2d480cb9c002a247364804", + "id": "rate_8d0a7124e1f243d98b487a2e0590cc5f", "object": "Rate", - "created_at": "2024-01-19T21:42:15Z", - "updated_at": "2024-01-19T21:42:15Z", + "created_at": "2024-01-24T00:07:39Z", + "updated_at": "2024-01-24T00:07:39Z", "mode": "test", - "service": "First", + "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", "currency": "USD", - "retail_rate": "12.45", + "retail_rate": "13.15", "retail_currency": "USD", - "list_rate": "8.92", + "list_rate": "9.41", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_1b88cbe26946440d8d1afca25750e9ac", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_3a557aeedf24430194ce622a7d2e84d0", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_990668e782fd40a39592ea64a5fe9e17", + "id": "rate_ca4b5b54136445578a7e68fee3bde594", "object": "Rate", - "created_at": "2024-01-19T21:42:15Z", - "updated_at": "2024-01-19T21:42:15Z", + "created_at": "2024-01-24T00:07:39Z", + "updated_at": "2024-01-24T00:07:39Z", "mode": "test", - "service": "ParcelSelect", + "service": "First", "carrier": "USPS", "rate": "6.79", "currency": "USD", - "retail_rate": "12.45", + "retail_rate": "13.15", "retail_currency": "USD", - "list_rate": "8.92", + "list_rate": "9.41", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_1b88cbe26946440d8d1afca25750e9ac", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_3a557aeedf24430194ce622a7d2e84d0", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_93b8f4328b794587b6289577e4a1110c", + "id": "rate_7b08acaea4f94f4bacc1e53a9388a396", "object": "Rate", - "created_at": "2024-01-19T21:42:15Z", - "updated_at": "2024-01-19T21:42:15Z", + "created_at": "2024-01-24T00:07:39Z", + "updated_at": "2024-01-24T00:07:39Z", "mode": "test", - "service": "Express", + "service": "ParcelSelect", "carrier": "USPS", - "rate": "46.85", + "rate": "6.79", "currency": "USD", - "retail_rate": "54.20", + "retail_rate": "13.15", "retail_currency": "USD", - "list_rate": "46.85", + "list_rate": "9.41", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": null, - "shipment_id": "shp_1b88cbe26946440d8d1afca25750e9ac", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "est_delivery_days": 3, + "shipment_id": "shp_3a557aeedf24430194ce622a7d2e84d0", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" } ], "refund_status": null, "scan_form": null, "selected_rate": { - "id": "rate_e6f5e02692d04c5aa98fd2c1504c6fa6", + "id": "rate_00b65803675a45c490686889492ee95d", "object": "Rate", - "created_at": "2024-01-19T21:42:16Z", - "updated_at": "2024-01-19T21:42:16Z", + "created_at": "2024-01-24T00:07:39Z", + "updated_at": "2024-01-24T00:07:39Z", "mode": "test", "service": "Priority", "carrier": "USPS", - "rate": "7.99", + "rate": "7.33", "currency": "USD", - "retail_rate": "14.05", + "retail_rate": "15.20", "retail_currency": "USD", - "list_rate": "10.27", + "list_rate": "10.89", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 2, - "shipment_id": "shp_1b88cbe26946440d8d1afca25750e9ac", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_3a557aeedf24430194ce622a7d2e84d0", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, "tracker": { - "id": "trk_783fdb3f049b43c9a1092ed41513055e", + "id": "trk_0cc56e231b894ad3b639c168afff48a5", "object": "Tracker", "mode": "test", - "tracking_code": "9405500207552010707832", + "tracking_code": "9405500207552011812870", "status": "pre_transit", "status_detail": "status_update", - "created_at": "2024-01-19T21:42:16Z", - "updated_at": "2024-01-19T21:42:16Z", + "created_at": "2024-01-24T00:07:40Z", + "updated_at": "2024-01-24T00:07:40Z", "signed_by": null, "weight": null, - "est_delivery_date": "2024-01-19T21:42:16Z", - "shipment_id": "shp_1b88cbe26946440d8d1afca25750e9ac", + "est_delivery_date": "2024-01-24T00:07:40Z", + "shipment_id": "shp_3a557aeedf24430194ce622a7d2e84d0", "carrier": "USPS", "tracking_details": [ { @@ -264,7 +264,7 @@ "description": "", "status": "pre_transit", "status_detail": "status_update", - "datetime": "2023-12-19T21:42:16Z", + "datetime": "2023-12-24T00:07:40Z", "source": "USPS", "carrier_code": "", "tracking_location": { @@ -281,7 +281,7 @@ "description": "", "status": "pre_transit", "status_detail": "status_update", - "datetime": "2023-12-20T10:19:16Z", + "datetime": "2023-12-24T12:44:40Z", "source": "USPS", "carrier_code": "", "tracking_location": { @@ -314,13 +314,13 @@ "alternate_identifier": null, "initial_delivery_attempt": null }, - "public_url": "https://track.easypost.com/djE6dHJrXzc4M2ZkYjNmMDQ5YjQzYzlhMTA5MmVkNDE1MTMwNTVl" + "public_url": "https://track.easypost.com/djE6dHJrXzBjYzU2ZTIzMWI4OTRhZDNiNjM5YzE2OGFmZmY0OGE1" }, "to_address": { - "id": "adr_9ca97784b71311eea67fac1f6bc53342", + "id": "adr_95fd84d7ba4c11ee9fdbac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:42:15+00:00", - "updated_at": "2024-01-19T21:42:15+00:00", + "created_at": "2024-01-24T00:07:39+00:00", + "updated_at": "2024-01-24T00:07:39+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", @@ -355,10 +355,10 @@ }, "usps_zone": 4, "return_address": { - "id": "adr_9cababedb71311eeb632ac1f6bc539aa", + "id": "adr_95ff946cba4c11eea9293cecef1b359e", "object": "Address", - "created_at": "2024-01-19T21:42:15+00:00", - "updated_at": "2024-01-19T21:42:15+00:00", + "created_at": "2024-01-24T00:07:39+00:00", + "updated_at": "2024-01-24T00:07:39+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -377,10 +377,10 @@ "verifications": {} }, "buyer_address": { - "id": "adr_9ca97784b71311eea67fac1f6bc53342", + "id": "adr_95fd84d7ba4c11ee9fdbac1f6bc539ae", "object": "Address", - "created_at": "2024-01-19T21:42:15+00:00", - "updated_at": "2024-01-19T21:42:15+00:00", + "created_at": "2024-01-24T00:07:39+00:00", + "updated_at": "2024-01-24T00:07:39+00:00", "name": "DR. STEVE BRULE", "company": null, "street1": "179 N HARBOR DR", @@ -425,18 +425,18 @@ { "object": "Fee", "type": "PostageFee", - "amount": "7.99000", + "amount": "7.33000", "charged": true, "refunded": false }, { "object": "Fee", "type": "InsuranceFee", - "amount": "1.00000", + "amount": "0.50000", "charged": true, "refunded": false } ], - "id": "shp_1b88cbe26946440d8d1afca25750e9ac", + "id": "shp_3a557aeedf24430194ce622a7d2e84d0", "object": "Shipment" } diff --git a/official/docs/responses/shipping-refund/shipping-refund-refund.json b/official/docs/responses/shipping-refund/shipping-refund-refund.json index 34b04312..e72cb5d2 100644 --- a/official/docs/responses/shipping-refund/shipping-refund-refund.json +++ b/official/docs/responses/shipping-refund/shipping-refund-refund.json @@ -1,5 +1,5 @@ { - "created_at": "2022-08-15T18:52:32Z", + "created_at": "2024-01-24T00:36:23Z", "is_return": false, "messages": [], "mode": "test", @@ -12,27 +12,62 @@ }, "reference": null, "status": "unknown", - "tracking_code": "9400100109361133189649", - "updated_at": "2022-08-15T18:52:33Z", + "tracking_code": "9405500207552011818490", + "updated_at": "2024-01-24T00:36:24Z", "batch_id": null, "batch_status": null, "batch_message": null, - "customs_info": null, + "customs_info": { + "id": "cstinfo_eee83608742840b7aa1c20c38f069cb1", + "object": "CustomsInfo", + "created_at": "2024-01-24T00:36:23Z", + "updated_at": "2024-01-24T00:36:23Z", + "contents_explanation": "", + "contents_type": "merchandise", + "customs_certify": true, + "customs_signer": "Steve Brule", + "eel_pfc": "NOEEI 30.37(a)", + "non_delivery_option": "return", + "restriction_comments": null, + "restriction_type": "none", + "mode": "test", + "declaration": null, + "customs_items": [ + { + "id": "cstitem_f8398fb53c8e4efe9df5968ce2d2d449", + "object": "CustomsItem", + "created_at": "2024-01-24T00:36:23Z", + "updated_at": "2024-01-24T00:36:23Z", + "description": "T-shirt", + "hs_tariff_number": "123456", + "origin_country": "US", + "quantity": 1, + "value": "10.0", + "weight": 5.0, + "code": "123", + "mode": "test", + "manufacturer": null, + "currency": null, + "eccn": null, + "printed_commodity_identifier": null + } + ] + }, "from_address": { - "id": "adr_6b3a95e91ccb11ed8d52ac1f6bc7b362", + "id": "adr_997cf4e0ba5011eeac3bac1f6bc53342", "object": "Address", - "created_at": "2022-08-15T18:52:32+00:00", - "updated_at": "2022-08-15T18:52:32+00:00", - "name": "Elizabeth Swan", + "created_at": "2024-01-24T00:36:23+00:00", + "updated_at": "2024-01-24T00:36:23+00:00", + "name": "EasyPost", "company": null, - "street1": "179 N Harbor Dr", - "street2": null, - "city": "Redondo Beach", + "street1": "417 Montgomery Street", + "street2": "5th Floor", + "city": "San Francisco", "state": "CA", - "zip": "90277", + "zip": "94104", "country": "US", - "phone": "5555555555", - "email": "test@example.com", + "phone": "4153334445", + "email": "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": null, @@ -43,30 +78,30 @@ "insurance": null, "order_id": null, "parcel": { - "id": "prcl_5a5f599c461e4fb4b3a4203287d33b20", + "id": "prcl_a019a6b39a544a8590527d22522e4685", "object": "Parcel", - "created_at": "2022-08-15T18:52:32Z", - "updated_at": "2022-08-15T18:52:32Z", - "length": 10.0, - "width": 8.0, - "height": 4.0, + "created_at": "2024-01-24T00:36:23Z", + "updated_at": "2024-01-24T00:36:23Z", + "length": 20.2, + "width": 10.9, + "height": 5.0, "predefined_package": null, - "weight": 15.4, + "weight": 65.9, "mode": "test" }, "postage_label": { "object": "PostageLabel", - "id": "pl_ec258275b23b442188418453e9fb5676", - "created_at": "2022-08-15T18:52:32Z", - "updated_at": "2022-08-15T18:52:32Z", + "id": "pl_da441fc128ec4987b792a759df9c2f48", + "created_at": "2024-01-24T00:36:23Z", + "updated_at": "2024-01-24T00:36:24Z", "date_advance": 0, "integrated_form": "none", - "label_date": "2022-08-15T18:52:32Z", + "label_date": "2024-01-24T00:36:23Z", "label_resolution": 300, "label_size": "4x6", "label_type": "default", "label_file_type": "image/png", - "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20220815/58181e1d8470458091e20461157e59fb.png", + "label_url": "https://easypost-files.s3.us-west-2.amazonaws.com/files/postage_label/20240124/e822df92b132b44139ac11182aaa78181c.png", "label_pdf_url": null, "label_zpl_url": null, "label_epl2_url": null, @@ -74,120 +109,164 @@ }, "rates": [ { - "id": "rate_a644f6d8009042fe973945aedba3d145", + "id": "rate_70bf8e810a364331a5bf89b1fbee27dd", "object": "Rate", - "created_at": "2022-08-15T18:52:32Z", - "updated_at": "2022-08-15T18:52:32Z", + "created_at": "2024-01-24T00:36:23Z", + "updated_at": "2024-01-24T00:36:23Z", "mode": "test", - "service": "Express", + "service": "GroundAdvantage", "carrier": "USPS", - "rate": "29.50", + "rate": "6.79", "currency": "USD", - "retail_rate": "33.55", + "retail_rate": "13.15", "retail_currency": "USD", - "list_rate": "29.50", + "list_rate": "9.41", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": null, + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": null, - "shipment_id": "shp_9bdbc6ac0f3e4d9f87443f249d3c187b", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "est_delivery_days": 3, + "shipment_id": "shp_3d349554446b4d85a59a367bda4e16f1", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_d983c201994c4db2a79fdd8e2a627a88", + "id": "rate_5bd8322e638f48f7a0a9546773e80ea1", "object": "Rate", - "created_at": "2022-08-15T18:52:32Z", - "updated_at": "2022-08-15T18:52:32Z", + "created_at": "2024-01-24T00:36:23Z", + "updated_at": "2024-01-24T00:36:23Z", "mode": "test", - "service": "Priority", + "service": "First", "carrier": "USPS", - "rate": "7.90", + "rate": "6.79", "currency": "USD", - "retail_rate": "9.45", + "retail_rate": "13.15", "retail_currency": "USD", - "list_rate": "7.90", + "list_rate": "9.41", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 2, + "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 2, - "shipment_id": "shp_9bdbc6ac0f3e4d9f87443f249d3c187b", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "est_delivery_days": 3, + "shipment_id": "shp_3d349554446b4d85a59a367bda4e16f1", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_bda77e7e3393400a845ae5c3c18a34dd", + "id": "rate_ae9accce625e4dbea50caa5316a718f4", "object": "Rate", - "created_at": "2022-08-15T18:52:32Z", - "updated_at": "2022-08-15T18:52:32Z", + "created_at": "2024-01-24T00:36:23Z", + "updated_at": "2024-01-24T00:36:23Z", "mode": "test", - "service": "First", + "service": "ParcelSelect", "carrier": "USPS", - "rate": "5.57", + "rate": "6.79", "currency": "USD", - "retail_rate": "5.57", + "retail_rate": "13.15", "retail_currency": "USD", - "list_rate": "5.57", + "list_rate": "9.41", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_9bdbc6ac0f3e4d9f87443f249d3c187b", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_3d349554446b4d85a59a367bda4e16f1", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" + }, + { + "id": "rate_37f9982f38274b85a17ac4269eb40829", + "object": "Rate", + "created_at": "2024-01-24T00:36:23Z", + "updated_at": "2024-01-24T00:36:23Z", + "mode": "test", + "service": "Express", + "carrier": "USPS", + "rate": "49.60", + "currency": "USD", + "retail_rate": "57.40", + "retail_currency": "USD", + "list_rate": "49.60", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": null, + "delivery_date": null, + "delivery_date_guaranteed": false, + "est_delivery_days": null, + "shipment_id": "shp_3d349554446b4d85a59a367bda4e16f1", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" + }, + { + "id": "rate_a8cc5650c3dd49328709c7b3ad010908", + "object": "Rate", + "created_at": "2024-01-24T00:36:23Z", + "updated_at": "2024-01-24T00:36:23Z", + "mode": "test", + "service": "Priority", + "carrier": "USPS", + "rate": "7.33", + "currency": "USD", + "retail_rate": "15.20", + "retail_currency": "USD", + "list_rate": "10.89", + "list_currency": "USD", + "billing_type": "easypost", + "delivery_days": 2, + "delivery_date": null, + "delivery_date_guaranteed": false, + "est_delivery_days": 2, + "shipment_id": "shp_3d349554446b4d85a59a367bda4e16f1", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" } ], "refund_status": "submitted", "scan_form": null, "selected_rate": { - "id": "rate_bda77e7e3393400a845ae5c3c18a34dd", + "id": "rate_a8cc5650c3dd49328709c7b3ad010908", "object": "Rate", - "created_at": "2022-08-15T18:52:32Z", - "updated_at": "2022-08-15T18:52:32Z", + "created_at": "2024-01-24T00:36:23Z", + "updated_at": "2024-01-24T00:36:23Z", "mode": "test", - "service": "First", + "service": "Priority", "carrier": "USPS", - "rate": "5.57", + "rate": "7.33", "currency": "USD", - "retail_rate": "5.57", + "retail_rate": "15.20", "retail_currency": "USD", - "list_rate": "5.57", + "list_rate": "10.89", "list_currency": "USD", "billing_type": "easypost", - "delivery_days": 3, + "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, - "est_delivery_days": 3, - "shipment_id": "shp_9bdbc6ac0f3e4d9f87443f249d3c187b", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "est_delivery_days": 2, + "shipment_id": "shp_3d349554446b4d85a59a367bda4e16f1", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, "tracker": { - "id": "trk_8aa496f0b9e24b14a0e83f4d795b72ea", + "id": "trk_7adde026444941eb83df3c483eeaae24", "object": "Tracker", "mode": "test", - "tracking_code": "9400100109361133189649", + "tracking_code": "9405500207552011818490", "status": "pre_transit", "status_detail": "status_update", - "created_at": "2022-08-15T18:52:33Z", - "updated_at": "2022-08-15T18:52:33Z", + "created_at": "2024-01-24T00:36:24Z", + "updated_at": "2024-01-24T00:36:24Z", "signed_by": null, "weight": null, - "est_delivery_date": "2022-08-15T18:52:33Z", - "shipment_id": "shp_9bdbc6ac0f3e4d9f87443f249d3c187b", + "est_delivery_date": "2024-01-24T00:36:24Z", + "shipment_id": "shp_3d349554446b4d85a59a367bda4e16f1", "carrier": "USPS", "tracking_details": [ { "object": "TrackingDetail", "message": "Pre-Shipment Info Sent to USPS", - "description": null, + "description": "", "status": "pre_transit", "status_detail": "status_update", - "datetime": "2022-07-15T18:52:33Z", + "datetime": "2023-12-24T00:36:24Z", "source": "USPS", - "carrier_code": null, + "carrier_code": "", "tracking_location": { "object": "TrackingLocation", "city": null, @@ -199,12 +278,12 @@ { "object": "TrackingDetail", "message": "Shipping Label Created", - "description": null, + "description": "", "status": "pre_transit", "status_detail": "status_update", - "datetime": "2022-07-16T07:29:33Z", + "datetime": "2023-12-24T13:13:24Z", "source": "USPS", - "carrier_code": null, + "carrier_code": "", "tracking_location": { "object": "TrackingLocation", "city": "HOUSTON", @@ -235,26 +314,26 @@ "alternate_identifier": null, "initial_delivery_attempt": null }, - "public_url": "https://track.easypost.com/djE6dHJrXzhhYTQ5NmYwYjllMjRiMTRhMGU4M2Y0ZDc5NWI3MmVh" + "public_url": "https://track.easypost.com/djE6dHJrXzdhZGRlMDI2NDQ0OTQxZWI4M2RmM2M0ODNlZWFhZTI0" }, "to_address": { - "id": "adr_6b38cc6b1ccb11ed89d1ac1f6b0a0d1e", + "id": "adr_997b2527ba5011eeac3aac1f6bc53342", "object": "Address", - "created_at": "2022-08-15T18:52:32+00:00", - "updated_at": "2022-08-15T18:52:32+00:00", - "name": "JACK SPARROW", + "created_at": "2024-01-24T00:36:23+00:00", + "updated_at": "2024-01-24T00:36:23+00:00", + "name": "DR. STEVE BRULE", "company": null, - "street1": "388 TOWNSEND ST APT 20", + "street1": "179 N HARBOR DR", "street2": null, - "city": "SAN FRANCISCO", + "city": "REDONDO BEACH", "state": "CA", - "zip": "94107-1670", + "zip": "90277-2506", "country": "US", - "phone": "5555555555", - "email": "TEST@EXAMPLE.COM", + "phone": "8573875756", + "email": "DR_STEVE_BRULE@GMAIL.COM", "mode": "test", "carrier_facility": null, - "residential": true, + "residential": false, "federal_tax_id": null, "state_tax_id": null, "verifications": { @@ -267,8 +346,8 @@ "success": true, "errors": [], "details": { - "latitude": 37.77551, - "longitude": -122.39697, + "latitude": 33.8436, + "longitude": -118.39177, "time_zone": "America/Los_Angeles" } } @@ -276,20 +355,20 @@ }, "usps_zone": 4, "return_address": { - "id": "adr_6b3a95e91ccb11ed8d52ac1f6bc7b362", + "id": "adr_997cf4e0ba5011eeac3bac1f6bc53342", "object": "Address", - "created_at": "2022-08-15T18:52:32+00:00", - "updated_at": "2022-08-15T18:52:32+00:00", - "name": "Elizabeth Swan", + "created_at": "2024-01-24T00:36:23+00:00", + "updated_at": "2024-01-24T00:36:23+00:00", + "name": "EasyPost", "company": null, - "street1": "179 N Harbor Dr", - "street2": null, - "city": "Redondo Beach", + "street1": "417 Montgomery Street", + "street2": "5th Floor", + "city": "San Francisco", "state": "CA", - "zip": "90277", + "zip": "94104", "country": "US", - "phone": "5555555555", - "email": "test@example.com", + "phone": "4153334445", + "email": "support@easypost.com", "mode": "test", "carrier_facility": null, "residential": null, @@ -298,23 +377,23 @@ "verifications": {} }, "buyer_address": { - "id": "adr_6b38cc6b1ccb11ed89d1ac1f6b0a0d1e", + "id": "adr_997b2527ba5011eeac3aac1f6bc53342", "object": "Address", - "created_at": "2022-08-15T18:52:32+00:00", - "updated_at": "2022-08-15T18:52:32+00:00", - "name": "JACK SPARROW", + "created_at": "2024-01-24T00:36:23+00:00", + "updated_at": "2024-01-24T00:36:23+00:00", + "name": "DR. STEVE BRULE", "company": null, - "street1": "388 TOWNSEND ST APT 20", + "street1": "179 N HARBOR DR", "street2": null, - "city": "SAN FRANCISCO", + "city": "REDONDO BEACH", "state": "CA", - "zip": "94107-1670", + "zip": "90277-2506", "country": "US", - "phone": "5555555555", - "email": "TEST@EXAMPLE.COM", + "phone": "8573875756", + "email": "DR_STEVE_BRULE@GMAIL.COM", "mode": "test", "carrier_facility": null, - "residential": true, + "residential": false, "federal_tax_id": null, "state_tax_id": null, "verifications": { @@ -327,8 +406,8 @@ "success": true, "errors": [], "details": { - "latitude": 37.77551, - "longitude": -122.39697, + "latitude": 33.8436, + "longitude": -118.39177, "time_zone": "America/Los_Angeles" } } @@ -346,11 +425,11 @@ { "object": "Fee", "type": "PostageFee", - "amount": "5.57000", + "amount": "7.33000", "charged": true, "refunded": false } ], - "id": "shp_9bdbc6ac0f3e4d9f87443f249d3c187b", + "id": "shp_3d349554446b4d85a59a367bda4e16f1", "object": "Shipment" } diff --git a/official/docs/responses/smartrate/smartrate-retrieve-estimated-delivery-date.json b/official/docs/responses/smartrate/smartrate-retrieve-estimated-delivery-date.json index 54278b95..a7ff7a41 100644 --- a/official/docs/responses/smartrate/smartrate-retrieve-estimated-delivery-date.json +++ b/official/docs/responses/smartrate/smartrate-retrieve-estimated-delivery-date.json @@ -3,37 +3,37 @@ { "easypost_time_in_transit_data": { "days_in_transit": { - "percentile_50": 2, - "percentile_75": 2, - "percentile_85": 3, - "percentile_90": 3, - "percentile_95": 4, - "percentile_97": 4, - "percentile_99": 8 + "percentile_50": 3, + "percentile_75": 3, + "percentile_85": 6, + "percentile_90": 6, + "percentile_95": 6, + "percentile_97": 6, + "percentile_99": 9 }, - "easypost_estimated_delivery_date": "2024-01-23", - "planned_ship_date": "2024-01-22" + "easypost_estimated_delivery_date": "2024-01-26", + "planned_ship_date": "2024-01-24" }, "rate": { "carrier": "USPS", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e", - "created_at": "2024-01-19T23:23:50Z", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac", + "created_at": "2024-01-24T00:07:45Z", "currency": "USD", "delivery_date": null, "delivery_date_guaranteed": false, - "delivery_days": null, - "est_delivery_days": null, - "id": "rate_1f090c0672ff4dbfb70019177223c181", + "delivery_days": 3, + "est_delivery_days": 3, + "id": "rate_36a64db214ab4fafaeaaad6855ebf422", "list_currency": "USD", - "list_rate": 46.85, + "list_rate": 9.41, "mode": "test", "object": "Rate", - "rate": 46.85, + "rate": 6.79, "retail_currency": "USD", - "retail_rate": 54.2, - "service": "Express", - "shipment_id": "shp_2b515adbb0d744658aa6c97331dad642", - "updated_at": "2024-01-19T23:23:50Z" + "retail_rate": 13.15, + "service": "GroundAdvantage", + "shipment_id": "shp_e3ce96ba8b6745608fe1c419d76b8fb5", + "updated_at": "2024-01-24T00:07:45Z" } }, { @@ -41,35 +41,35 @@ "days_in_transit": { "percentile_50": 3, "percentile_75": 3, - "percentile_85": 4, - "percentile_90": 4, - "percentile_95": 5, - "percentile_97": 7, - "percentile_99": 8 + "percentile_85": 6, + "percentile_90": 6, + "percentile_95": 6, + "percentile_97": 6, + "percentile_99": 9 }, - "easypost_estimated_delivery_date": "2024-01-25", - "planned_ship_date": "2024-01-22" + "easypost_estimated_delivery_date": "2024-01-26", + "planned_ship_date": "2024-01-24" }, "rate": { "carrier": "USPS", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e", - "created_at": "2024-01-19T23:23:50Z", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac", + "created_at": "2024-01-24T00:07:45Z", "currency": "USD", "delivery_date": null, "delivery_date_guaranteed": false, - "delivery_days": 2, - "est_delivery_days": 2, - "id": "rate_14b668ccb15c4b68b4525a2bab59311b", + "delivery_days": 3, + "est_delivery_days": 3, + "id": "rate_90170bc6328b46cda598d683828d6ac6", "list_currency": "USD", - "list_rate": 10.27, + "list_rate": 9.41, "mode": "test", "object": "Rate", - "rate": 7.99, + "rate": 6.79, "retail_currency": "USD", - "retail_rate": 14.05, - "service": "Priority", - "shipment_id": "shp_2b515adbb0d744658aa6c97331dad642", - "updated_at": "2024-01-19T23:23:50Z" + "retail_rate": 13.15, + "service": "First", + "shipment_id": "shp_e3ce96ba8b6745608fe1c419d76b8fb5", + "updated_at": "2024-01-24T00:07:45Z" } }, { @@ -77,107 +77,107 @@ "days_in_transit": { "percentile_50": 3, "percentile_75": 3, - "percentile_85": 4, - "percentile_90": 4, - "percentile_95": 5, - "percentile_97": 7, + "percentile_85": 6, + "percentile_90": 6, + "percentile_95": 6, + "percentile_97": 6, "percentile_99": 9 }, - "easypost_estimated_delivery_date": "2024-01-25", - "planned_ship_date": "2024-01-22" + "easypost_estimated_delivery_date": "2024-01-26", + "planned_ship_date": "2024-01-24" }, "rate": { "carrier": "USPS", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e", - "created_at": "2024-01-19T23:23:50Z", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac", + "created_at": "2024-01-24T00:07:45Z", "currency": "USD", "delivery_date": null, "delivery_date_guaranteed": false, "delivery_days": 3, "est_delivery_days": 3, - "id": "rate_efafacc6ee134f809f89021d23cae583", + "id": "rate_ca519ed1f83d4a8ebc5c17a1dbe96553", "list_currency": "USD", - "list_rate": 8.92, + "list_rate": 9.41, "mode": "test", "object": "Rate", "rate": 6.79, "retail_currency": "USD", - "retail_rate": 12.45, - "service": "GroundAdvantage", - "shipment_id": "shp_2b515adbb0d744658aa6c97331dad642", - "updated_at": "2024-01-19T23:23:50Z" + "retail_rate": 13.15, + "service": "ParcelSelect", + "shipment_id": "shp_e3ce96ba8b6745608fe1c419d76b8fb5", + "updated_at": "2024-01-24T00:07:45Z" } }, { "easypost_time_in_transit_data": { "days_in_transit": { - "percentile_50": 3, - "percentile_75": 3, - "percentile_85": 4, - "percentile_90": 4, - "percentile_95": 5, - "percentile_97": 7, - "percentile_99": 9 + "percentile_50": 1, + "percentile_75": 2, + "percentile_85": 2, + "percentile_90": 3, + "percentile_95": 3, + "percentile_97": 6, + "percentile_99": 7 }, "easypost_estimated_delivery_date": "2024-01-25", - "planned_ship_date": "2024-01-22" + "planned_ship_date": "2024-01-24" }, "rate": { "carrier": "USPS", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e", - "created_at": "2024-01-19T23:23:50Z", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac", + "created_at": "2024-01-24T00:07:45Z", "currency": "USD", "delivery_date": null, "delivery_date_guaranteed": false, - "delivery_days": 3, - "est_delivery_days": 3, - "id": "rate_3b396719d2da4000ad4a4dafcc69a1e1", + "delivery_days": null, + "est_delivery_days": null, + "id": "rate_30c5c922506445a88b51212c52ac2db3", "list_currency": "USD", - "list_rate": 8.92, + "list_rate": 49.6, "mode": "test", "object": "Rate", - "rate": 6.79, + "rate": 49.6, "retail_currency": "USD", - "retail_rate": 12.45, - "service": "First", - "shipment_id": "shp_2b515adbb0d744658aa6c97331dad642", - "updated_at": "2024-01-19T23:23:50Z" + "retail_rate": 57.4, + "service": "Express", + "shipment_id": "shp_e3ce96ba8b6745608fe1c419d76b8fb5", + "updated_at": "2024-01-24T00:07:45Z" } }, { "easypost_time_in_transit_data": { "days_in_transit": { - "percentile_50": 3, + "percentile_50": 2, "percentile_75": 3, - "percentile_85": 4, - "percentile_90": 4, - "percentile_95": 5, - "percentile_97": 7, - "percentile_99": 9 + "percentile_85": 3, + "percentile_90": 6, + "percentile_95": 6, + "percentile_97": 6, + "percentile_99": 8 }, - "easypost_estimated_delivery_date": "2024-01-25", - "planned_ship_date": "2024-01-22" + "easypost_estimated_delivery_date": "2024-01-26", + "planned_ship_date": "2024-01-24" }, "rate": { "carrier": "USPS", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e", - "created_at": "2024-01-19T23:23:50Z", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac", + "created_at": "2024-01-24T00:07:45Z", "currency": "USD", "delivery_date": null, "delivery_date_guaranteed": false, - "delivery_days": 3, - "est_delivery_days": 3, - "id": "rate_17ae23855cc345c9be436e0c5021bfae", + "delivery_days": 2, + "est_delivery_days": 2, + "id": "rate_4d9a5348efb44acbb25d162e1a692cb0", "list_currency": "USD", - "list_rate": 8.92, + "list_rate": 10.89, "mode": "test", "object": "Rate", - "rate": 6.79, + "rate": 7.33, "retail_currency": "USD", - "retail_rate": 12.45, - "service": "ParcelSelect", - "shipment_id": "shp_2b515adbb0d744658aa6c97331dad642", - "updated_at": "2024-01-19T23:23:50Z" + "retail_rate": 15.2, + "service": "Priority", + "shipment_id": "shp_e3ce96ba8b6745608fe1c419d76b8fb5", + "updated_at": "2024-01-24T00:07:45Z" } } ] diff --git a/official/docs/responses/smartrate/smartrate-retrieve-time-in-transit-statistics.json b/official/docs/responses/smartrate/smartrate-retrieve-time-in-transit-statistics.json index f6a10051..6202d42b 100644 --- a/official/docs/responses/smartrate/smartrate-retrieve-time-in-transit-statistics.json +++ b/official/docs/responses/smartrate/smartrate-retrieve-time-in-transit-statistics.json @@ -1,280 +1,154 @@ { - "created_at": "2024-01-19T21:44:14Z", - "is_return": false, - "messages": [], - "mode": "test", - "options": { - "currency": "USD", - "payment": { - "type": "SENDER" - }, - "date_advance": 0 - }, - "reference": null, - "status": "unknown", - "tracking_code": null, - "updated_at": "2024-01-19T21:44:15Z", - "batch_id": null, - "batch_status": null, - "batch_message": null, - "customs_info": { - "id": "cstinfo_cad3f6e9b7d54616bf8205c8da0d1f25", - "object": "CustomsInfo", - "created_at": "2024-01-19T21:44:14Z", - "updated_at": "2024-01-19T21:44:14Z", - "contents_explanation": "", - "contents_type": "merchandise", - "customs_certify": true, - "customs_signer": "Steve Brule", - "eel_pfc": "NOEEI 30.37(a)", - "non_delivery_option": "return", - "restriction_comments": null, - "restriction_type": "none", - "mode": "test", - "declaration": null, - "customs_items": [ - { - "id": "cstitem_ce2cfac8d2054954ac8c7043b7bc5c22", - "object": "CustomsItem", - "created_at": "2024-01-19T21:44:14Z", - "updated_at": "2024-01-19T21:44:14Z", - "description": "T-shirt", - "hs_tariff_number": "123456", - "origin_country": "US", - "quantity": 1, - "value": "10.0", - "weight": 5.0, - "code": "123", - "mode": "test", - "manufacturer": null, - "currency": null, - "eccn": null, - "printed_commodity_identifier": null - } - ] - }, - "from_address": { - "id": "adr_e3845ddbb71311eebde23cecef1b359e", - "object": "Address", - "created_at": "2024-01-19T21:44:14+00:00", - "updated_at": "2024-01-19T21:44:14+00:00", - "name": "EasyPost", - "company": null, - "street1": "417 Montgomery Street", - "street2": "5th Floor", - "city": "San Francisco", - "state": "CA", - "zip": "94104", - "country": "US", - "phone": "4153334445", - "email": "support@easypost.com", - "mode": "test", - "carrier_facility": null, - "residential": null, - "federal_tax_id": null, - "state_tax_id": null, - "verifications": {} - }, - "insurance": null, - "order_id": null, - "parcel": { - "id": "prcl_e6b7cecdd712449bad1b9a7b34c15ee0", - "object": "Parcel", - "created_at": "2024-01-19T21:44:14Z", - "updated_at": "2024-01-19T21:44:14Z", - "length": 20.2, - "width": 10.9, - "height": 5.0, - "predefined_package": null, - "weight": 65.9, - "mode": "test" - }, - "postage_label": null, - "rates": [ + "result": [ { - "id": "rate_14748b15f69142cda74df5b0bc823a71", - "object": "Rate", - "created_at": "2024-01-19T21:44:15Z", - "updated_at": "2024-01-19T21:44:15Z", - "mode": "test", - "service": "Express", "carrier": "USPS", - "rate": "46.85", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac", + "created_at": "2024-01-24T00:07:44Z", "currency": "USD", - "retail_rate": "54.20", - "retail_currency": "USD", - "list_rate": "46.85", - "list_currency": "USD", - "billing_type": "easypost", - "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": false, + "delivery_days": null, "est_delivery_days": null, - "shipment_id": "shp_a36c0703a3da481fb95b47c5ff98f2a2", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "id": "rate_29120e36c58a4232b14547e53b0131c6", + "list_currency": "USD", + "list_rate": 49.6, + "mode": "test", + "object": "Rate", + "rate": 49.6, + "retail_currency": "USD", + "retail_rate": 57.4, + "service": "Express", + "shipment_id": "shp_91721066728d473999b736a0d3f88ce8", + "time_in_transit": { + "percentile_50": 1, + "percentile_75": 2, + "percentile_85": 2, + "percentile_90": 3, + "percentile_95": 3, + "percentile_97": 4, + "percentile_99": 6 + }, + "updated_at": "2024-01-24T00:07:44Z" }, { - "id": "rate_7c33326621f0469e942383cd5c4891ea", - "object": "Rate", - "created_at": "2024-01-19T21:44:15Z", - "updated_at": "2024-01-19T21:44:15Z", - "mode": "test", - "service": "Priority", "carrier": "USPS", - "rate": "7.99", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac", + "created_at": "2024-01-24T00:07:44Z", "currency": "USD", - "retail_rate": "14.05", - "retail_currency": "USD", - "list_rate": "10.27", - "list_currency": "USD", - "billing_type": "easypost", - "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, + "delivery_days": 2, "est_delivery_days": 2, - "shipment_id": "shp_a36c0703a3da481fb95b47c5ff98f2a2", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "id": "rate_ea6e4920d07142f694e8d81a89fe3cd1", + "list_currency": "USD", + "list_rate": 10.89, + "mode": "test", + "object": "Rate", + "rate": 7.33, + "retail_currency": "USD", + "retail_rate": 15.2, + "service": "Priority", + "shipment_id": "shp_91721066728d473999b736a0d3f88ce8", + "time_in_transit": { + "percentile_50": 1, + "percentile_75": 2, + "percentile_85": 2, + "percentile_90": 2, + "percentile_95": 3, + "percentile_97": 3, + "percentile_99": 3 + }, + "updated_at": "2024-01-24T00:07:44Z" }, { - "id": "rate_f0710cb2d3674b3e840f27a9139cf42a", - "object": "Rate", - "created_at": "2024-01-19T21:44:15Z", - "updated_at": "2024-01-19T21:44:15Z", - "mode": "test", - "service": "GroundAdvantage", "carrier": "USPS", - "rate": "6.79", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac", + "created_at": "2024-01-24T00:07:44Z", "currency": "USD", - "retail_rate": "12.45", - "retail_currency": "USD", - "list_rate": "8.92", - "list_currency": "USD", - "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "delivery_days": 3, "est_delivery_days": 3, - "shipment_id": "shp_a36c0703a3da481fb95b47c5ff98f2a2", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "id": "rate_26cb7b0f451e407db3adddb432a38b19", + "list_currency": "USD", + "list_rate": 9.41, + "mode": "test", + "object": "Rate", + "rate": 6.79, + "retail_currency": "USD", + "retail_rate": 13.15, + "service": "GroundAdvantage", + "shipment_id": "shp_91721066728d473999b736a0d3f88ce8", + "time_in_transit": { + "percentile_50": 1, + "percentile_75": 2, + "percentile_85": 2, + "percentile_90": 2, + "percentile_95": 3, + "percentile_97": 3, + "percentile_99": 4 + }, + "updated_at": "2024-01-24T00:07:44Z" }, { - "id": "rate_1977bc6e1d6f43eda30e8833e54f338c", - "object": "Rate", - "created_at": "2024-01-19T21:44:15Z", - "updated_at": "2024-01-19T21:44:15Z", - "mode": "test", - "service": "First", "carrier": "USPS", - "rate": "6.79", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac", + "created_at": "2024-01-24T00:07:44Z", "currency": "USD", - "retail_rate": "12.45", - "retail_currency": "USD", - "list_rate": "8.92", - "list_currency": "USD", - "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "delivery_days": 3, "est_delivery_days": 3, - "shipment_id": "shp_a36c0703a3da481fb95b47c5ff98f2a2", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "id": "rate_3e9facc8738d41ecb3ff17b9c75d6669", + "list_currency": "USD", + "list_rate": 9.41, + "mode": "test", + "object": "Rate", + "rate": 6.79, + "retail_currency": "USD", + "retail_rate": 13.15, + "service": "First", + "shipment_id": "shp_91721066728d473999b736a0d3f88ce8", + "time_in_transit": { + "percentile_50": 1, + "percentile_75": 2, + "percentile_85": 2, + "percentile_90": 2, + "percentile_95": 3, + "percentile_97": 3, + "percentile_99": 4 + }, + "updated_at": "2024-01-24T00:07:44Z" }, { - "id": "rate_162cd1c878304bc4921d2ec0e802e92f", - "object": "Rate", - "created_at": "2024-01-19T21:44:15Z", - "updated_at": "2024-01-19T21:44:15Z", - "mode": "test", - "service": "ParcelSelect", "carrier": "USPS", - "rate": "6.79", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac", + "created_at": "2024-01-24T00:07:44Z", "currency": "USD", - "retail_rate": "12.45", - "retail_currency": "USD", - "list_rate": "8.92", - "list_currency": "USD", - "billing_type": "easypost", - "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, + "delivery_days": 3, "est_delivery_days": 3, - "shipment_id": "shp_a36c0703a3da481fb95b47c5ff98f2a2", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "id": "rate_c40cd28b908141649d8b66c4189266e0", + "list_currency": "USD", + "list_rate": 9.41, + "mode": "test", + "object": "Rate", + "rate": 6.79, + "retail_currency": "USD", + "retail_rate": 13.15, + "service": "ParcelSelect", + "shipment_id": "shp_91721066728d473999b736a0d3f88ce8", + "time_in_transit": { + "percentile_50": 1, + "percentile_75": 2, + "percentile_85": 2, + "percentile_90": 2, + "percentile_95": 3, + "percentile_97": 3, + "percentile_99": 4 + }, + "updated_at": "2024-01-24T00:07:44Z" } - ], - "refund_status": null, - "scan_form": null, - "selected_rate": null, - "tracker": null, - "to_address": { - "id": "adr_e38164c3b71311ee8f65ac1f6bc539aa", - "object": "Address", - "created_at": "2024-01-19T21:44:14+00:00", - "updated_at": "2024-01-19T21:44:14+00:00", - "name": "Dr. Steve Brule", - "company": null, - "street1": "179 N Harbor Dr", - "street2": null, - "city": "Redondo Beach", - "state": "CA", - "zip": "90277", - "country": "US", - "phone": "8573875756", - "email": "dr_steve_brule@gmail.com", - "mode": "test", - "carrier_facility": null, - "residential": null, - "federal_tax_id": null, - "state_tax_id": null, - "verifications": {} - }, - "usps_zone": 4, - "return_address": { - "id": "adr_e3845ddbb71311eebde23cecef1b359e", - "object": "Address", - "created_at": "2024-01-19T21:44:14+00:00", - "updated_at": "2024-01-19T21:44:14+00:00", - "name": "EasyPost", - "company": null, - "street1": "417 Montgomery Street", - "street2": "5th Floor", - "city": "San Francisco", - "state": "CA", - "zip": "94104", - "country": "US", - "phone": "4153334445", - "email": "support@easypost.com", - "mode": "test", - "carrier_facility": null, - "residential": null, - "federal_tax_id": null, - "state_tax_id": null, - "verifications": {} - }, - "buyer_address": { - "id": "adr_e38164c3b71311ee8f65ac1f6bc539aa", - "object": "Address", - "created_at": "2024-01-19T21:44:14+00:00", - "updated_at": "2024-01-19T21:44:14+00:00", - "name": "Dr. Steve Brule", - "company": null, - "street1": "179 N Harbor Dr", - "street2": null, - "city": "Redondo Beach", - "state": "CA", - "zip": "90277", - "country": "US", - "phone": "8573875756", - "email": "dr_steve_brule@gmail.com", - "mode": "test", - "carrier_facility": null, - "residential": null, - "federal_tax_id": null, - "state_tax_id": null, - "verifications": {} - }, - "forms": [], - "fees": [], - "id": "shp_a36c0703a3da481fb95b47c5ff98f2a2", - "object": "Shipment" + ] } diff --git a/official/docs/responses/tax-identifiers/tax-identifiers-create.json b/official/docs/responses/tax-identifiers/tax-identifiers-create.json index e3a0cb73..ca49d9fd 100644 --- a/official/docs/responses/tax-identifiers/tax-identifiers-create.json +++ b/official/docs/responses/tax-identifiers/tax-identifiers-create.json @@ -1,5 +1,5 @@ { - "created_at": "2024-01-19T21:42:18Z", + "created_at": "2024-01-24T00:07:46Z", "is_return": false, "messages": [], "mode": "test", @@ -13,15 +13,15 @@ "reference": null, "status": "unknown", "tracking_code": null, - "updated_at": "2024-01-19T21:42:19Z", + "updated_at": "2024-01-24T00:07:46Z", "batch_id": null, "batch_status": null, "batch_message": null, "customs_info": { - "id": "cstinfo_e881f6245aa54859b67c03ca56373651", + "id": "cstinfo_cdfe0dff7d68443c8f7e0d1a9a6cfa00", "object": "CustomsInfo", - "created_at": "2024-01-19T21:42:18Z", - "updated_at": "2024-01-19T21:42:18Z", + "created_at": "2024-01-24T00:07:46Z", + "updated_at": "2024-01-24T00:07:46Z", "contents_explanation": "", "contents_type": "merchandise", "customs_certify": true, @@ -34,10 +34,10 @@ "declaration": null, "customs_items": [ { - "id": "cstitem_220f93143e264fc48e892eb41499549d", + "id": "cstitem_e887fa152fd249fabbac8ae2541f3892", "object": "CustomsItem", - "created_at": "2024-01-19T21:42:18Z", - "updated_at": "2024-01-19T21:42:18Z", + "created_at": "2024-01-24T00:07:46Z", + "updated_at": "2024-01-24T00:07:46Z", "description": "T-shirt", "hs_tariff_number": "123456", "origin_country": "US", @@ -54,10 +54,10 @@ ] }, "from_address": { - "id": "adr_9e87f14eb71311eea54c3cecef1b359e", + "id": "adr_9a351a75ba4c11eeb96cac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T21:42:18+00:00", - "updated_at": "2024-01-19T21:42:18+00:00", + "created_at": "2024-01-24T00:07:46+00:00", + "updated_at": "2024-01-24T00:07:46+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -78,10 +78,10 @@ "insurance": null, "order_id": null, "parcel": { - "id": "prcl_784330816f2e4bb7ade33f7a29074d1f", + "id": "prcl_e6f683f83bc84032b535e645639374a9", "object": "Parcel", - "created_at": "2024-01-19T21:42:18Z", - "updated_at": "2024-01-19T21:42:18Z", + "created_at": "2024-01-24T00:07:46Z", + "updated_at": "2024-01-24T00:07:46Z", "length": 20.2, "width": 10.9, "height": 5.0, @@ -92,114 +92,114 @@ "postage_label": null, "rates": [ { - "id": "rate_82d44fedcfd9447c8c62f1ac63079847", + "id": "rate_4d0284c73a224c11b033185dd273b315", "object": "Rate", - "created_at": "2024-01-19T21:42:19Z", - "updated_at": "2024-01-19T21:42:19Z", + "created_at": "2024-01-24T00:07:46Z", + "updated_at": "2024-01-24T00:07:46Z", "mode": "test", "service": "Express", "carrier": "USPS", - "rate": "46.85", + "rate": "49.60", "currency": "USD", - "retail_rate": "54.20", + "retail_rate": "57.40", "retail_currency": "USD", - "list_rate": "46.85", + "list_rate": "49.60", "list_currency": "USD", "billing_type": "easypost", "delivery_days": null, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": null, - "shipment_id": "shp_947844265e374fd0a2a697650fe580cb", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_0ed780bf1e164297b60f240d96b278ac", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_16f1599e241d4e9099560c70edaaa361", + "id": "rate_23d42865d5474d649842391f6ae23ea9", "object": "Rate", - "created_at": "2024-01-19T21:42:19Z", - "updated_at": "2024-01-19T21:42:19Z", + "created_at": "2024-01-24T00:07:46Z", + "updated_at": "2024-01-24T00:07:46Z", "mode": "test", "service": "Priority", "carrier": "USPS", - "rate": "7.99", + "rate": "7.33", "currency": "USD", - "retail_rate": "14.05", + "retail_rate": "15.20", "retail_currency": "USD", - "list_rate": "10.27", + "list_rate": "10.89", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 2, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 2, - "shipment_id": "shp_947844265e374fd0a2a697650fe580cb", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_0ed780bf1e164297b60f240d96b278ac", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_872cf4e362e445538ea7315a6623e988", + "id": "rate_c7d8199fc61b46d59bdaf0efe4f783c8", "object": "Rate", - "created_at": "2024-01-19T21:42:19Z", - "updated_at": "2024-01-19T21:42:19Z", + "created_at": "2024-01-24T00:07:46Z", + "updated_at": "2024-01-24T00:07:46Z", "mode": "test", "service": "GroundAdvantage", "carrier": "USPS", "rate": "6.79", "currency": "USD", - "retail_rate": "12.45", + "retail_rate": "13.15", "retail_currency": "USD", - "list_rate": "8.92", + "list_rate": "9.41", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_947844265e374fd0a2a697650fe580cb", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_0ed780bf1e164297b60f240d96b278ac", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_61fbdb2d829b48f9aa284c6e86043876", + "id": "rate_e2603204bd9548dea5320f9b11e5aa8d", "object": "Rate", - "created_at": "2024-01-19T21:42:19Z", - "updated_at": "2024-01-19T21:42:19Z", + "created_at": "2024-01-24T00:07:46Z", + "updated_at": "2024-01-24T00:07:46Z", "mode": "test", "service": "First", "carrier": "USPS", "rate": "6.79", "currency": "USD", - "retail_rate": "12.45", + "retail_rate": "13.15", "retail_currency": "USD", - "list_rate": "8.92", + "list_rate": "9.41", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_947844265e374fd0a2a697650fe580cb", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_0ed780bf1e164297b60f240d96b278ac", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" }, { - "id": "rate_b42c62046bb546cd8ed55c87e377d66d", + "id": "rate_aa8e719214f446959c00492c1f996681", "object": "Rate", - "created_at": "2024-01-19T21:42:19Z", - "updated_at": "2024-01-19T21:42:19Z", + "created_at": "2024-01-24T00:07:46Z", + "updated_at": "2024-01-24T00:07:46Z", "mode": "test", "service": "ParcelSelect", "carrier": "USPS", "rate": "6.79", "currency": "USD", - "retail_rate": "12.45", + "retail_rate": "13.15", "retail_currency": "USD", - "list_rate": "8.92", + "list_rate": "9.41", "list_currency": "USD", "billing_type": "easypost", "delivery_days": 3, "delivery_date": null, "delivery_date_guaranteed": false, "est_delivery_days": 3, - "shipment_id": "shp_947844265e374fd0a2a697650fe580cb", - "carrier_account_id": "ca_b25657e9896e4d63ac8151ac346ac41e" + "shipment_id": "shp_0ed780bf1e164297b60f240d96b278ac", + "carrier_account_id": "ca_9685a1198a75477885a3cdca37559bac" } ], "refund_status": null, @@ -207,10 +207,10 @@ "selected_rate": null, "tracker": null, "to_address": { - "id": "adr_9e85522cb71311eea813ac1f6bc539ae", + "id": "adr_9a32378eba4c11ee8e86ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:42:18+00:00", - "updated_at": "2024-01-19T21:42:18+00:00", + "created_at": "2024-01-24T00:07:46+00:00", + "updated_at": "2024-01-24T00:07:46+00:00", "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", @@ -230,10 +230,10 @@ }, "usps_zone": 4, "return_address": { - "id": "adr_9e87f14eb71311eea54c3cecef1b359e", + "id": "adr_9a351a75ba4c11eeb96cac1f6bc539aa", "object": "Address", - "created_at": "2024-01-19T21:42:18+00:00", - "updated_at": "2024-01-19T21:42:18+00:00", + "created_at": "2024-01-24T00:07:46+00:00", + "updated_at": "2024-01-24T00:07:46+00:00", "name": "EasyPost", "company": null, "street1": "417 Montgomery Street", @@ -252,10 +252,10 @@ "verifications": {} }, "buyer_address": { - "id": "adr_9e85522cb71311eea813ac1f6bc539ae", + "id": "adr_9a32378eba4c11ee8e86ac1f6bc53342", "object": "Address", - "created_at": "2024-01-19T21:42:18+00:00", - "updated_at": "2024-01-19T21:42:18+00:00", + "created_at": "2024-01-24T00:07:46+00:00", + "updated_at": "2024-01-24T00:07:46+00:00", "name": "Dr. Steve Brule", "company": null, "street1": "179 N Harbor Dr", @@ -275,7 +275,7 @@ }, "forms": [], "fees": [], - "id": "shp_947844265e374fd0a2a697650fe580cb", + "id": "shp_0ed780bf1e164297b60f240d96b278ac", "object": "Shipment", "tax_identifiers": [ { diff --git a/official/docs/responses/trackers/trackers-create.json b/official/docs/responses/trackers/trackers-create.json index 12ca30ec..9348928c 100644 --- a/official/docs/responses/trackers/trackers-create.json +++ b/official/docs/responses/trackers/trackers-create.json @@ -1,15 +1,15 @@ { - "id": "trk_acfcc5058c5445bda6c3c331125d52c9", + "id": "trk_a45db88bb5194557879246abd110606c", "object": "Tracker", "mode": "test", "tracking_code": "EZ1000000001", "status": "pre_transit", "status_detail": "status_update", - "created_at": "2023-11-30T20:36:36Z", - "updated_at": "2023-12-01T05:14:45Z", + "created_at": "2024-01-23T23:58:57Z", + "updated_at": "2024-01-23T23:58:57Z", "signed_by": null, "weight": null, - "est_delivery_date": "2023-12-01T05:14:45Z", + "est_delivery_date": "2024-01-23T23:58:57Z", "shipment_id": null, "carrier": "USPS", "tracking_details": [ @@ -19,7 +19,7 @@ "description": "", "status": "pre_transit", "status_detail": "status_update", - "datetime": "2023-11-01T05:14:45Z", + "datetime": "2023-12-23T23:58:57Z", "source": "USPS", "carrier_code": "", "tracking_location": { @@ -36,7 +36,7 @@ "description": "", "status": "pre_transit", "status_detail": "status_update", - "datetime": "2023-11-01T17:51:45Z", + "datetime": "2023-12-24T12:35:57Z", "source": "USPS", "carrier_code": "", "tracking_location": { @@ -70,5 +70,5 @@ }, "finalized": true, "is_return": false, - "public_url": "https://track.easypost.com/djE6dHJrX2FjZmNjNTA1OGM1NDQ1YmRhNmMzYzMzMTEyNWQ1MmM5" + "public_url": "https://track.easypost.com/djE6dHJrX2E0NWRiODhiYjUxOTQ1NTc4NzkyNDZhYmQxMTA2MDZj" } diff --git a/official/docs/responses/trackers/trackers-list.json b/official/docs/responses/trackers/trackers-list.json index 621239b3..a2893efb 100644 --- a/official/docs/responses/trackers/trackers-list.json +++ b/official/docs/responses/trackers/trackers-list.json @@ -1,18 +1,18 @@ { "trackers": [ { - "id": "trk_783fdb3f049b43c9a1092ed41513055e", + "id": "trk_3898303eff624097a516ab324bb133f3", "object": "Tracker", "mode": "test", - "tracking_code": "9405500207552010707832", + "tracking_code": "9405500207552011812894", "status": "pre_transit", "status_detail": "status_update", - "created_at": "2024-01-19T21:42:16Z", - "updated_at": "2024-01-19T21:42:16Z", + "created_at": "2024-01-24T00:07:43Z", + "updated_at": "2024-01-24T00:07:43Z", "signed_by": null, "weight": null, - "est_delivery_date": "2024-01-19T21:42:16Z", - "shipment_id": "shp_1b88cbe26946440d8d1afca25750e9ac", + "est_delivery_date": "2024-01-24T00:07:43Z", + "shipment_id": "shp_82d5637d74404d1595eacdc7e5ca9273", "carrier": "USPS", "tracking_details": [ { @@ -21,7 +21,7 @@ "description": "", "status": "pre_transit", "status_detail": "status_update", - "datetime": "2023-12-19T21:42:16Z", + "datetime": "2023-12-24T00:07:43Z", "source": "USPS", "carrier_code": "", "tracking_location": { @@ -38,7 +38,7 @@ "description": "", "status": "pre_transit", "status_detail": "status_update", - "datetime": "2023-12-20T10:19:16Z", + "datetime": "2023-12-24T12:44:43Z", "source": "USPS", "carrier_code": "", "tracking_location": { @@ -71,7 +71,7 @@ "alternate_identifier": null, "initial_delivery_attempt": null }, - "public_url": "https://track.easypost.com/djE6dHJrXzc4M2ZkYjNmMDQ5YjQzYzlhMTA5MmVkNDE1MTMwNTVl" + "public_url": "https://track.easypost.com/djE6dHJrXzM4OTgzMDNlZmY2MjQwOTdhNTE2YWIzMjRiYjEzM2Yz" } ], "has_more": true diff --git a/official/docs/responses/trackers/trackers-retrieve.json b/official/docs/responses/trackers/trackers-retrieve.json index 3fc4dfb8..473b8cd8 100644 --- a/official/docs/responses/trackers/trackers-retrieve.json +++ b/official/docs/responses/trackers/trackers-retrieve.json @@ -1,16 +1,16 @@ { - "id": "trk_783fdb3f049b43c9a1092ed41513055e", + "id": "trk_3898303eff624097a516ab324bb133f3", "object": "Tracker", "mode": "test", - "tracking_code": "9405500207552010707832", + "tracking_code": "9405500207552011812894", "status": "pre_transit", "status_detail": "status_update", - "created_at": "2024-01-19T21:42:16Z", - "updated_at": "2024-01-19T21:42:16Z", + "created_at": "2024-01-24T00:07:43Z", + "updated_at": "2024-01-24T00:07:43Z", "signed_by": null, "weight": null, - "est_delivery_date": "2024-01-19T21:42:16Z", - "shipment_id": "shp_1b88cbe26946440d8d1afca25750e9ac", + "est_delivery_date": "2024-01-24T00:07:43Z", + "shipment_id": "shp_82d5637d74404d1595eacdc7e5ca9273", "carrier": "USPS", "tracking_details": [ { @@ -19,7 +19,7 @@ "description": "", "status": "pre_transit", "status_detail": "status_update", - "datetime": "2023-12-19T21:42:16Z", + "datetime": "2023-12-24T00:07:43Z", "source": "USPS", "carrier_code": "", "tracking_location": { @@ -36,7 +36,7 @@ "description": "", "status": "pre_transit", "status_detail": "status_update", - "datetime": "2023-12-20T10:19:16Z", + "datetime": "2023-12-24T12:44:43Z", "source": "USPS", "carrier_code": "", "tracking_location": { @@ -69,5 +69,5 @@ "alternate_identifier": null, "initial_delivery_attempt": null }, - "public_url": "https://track.easypost.com/djE6dHJrXzc4M2ZkYjNmMDQ5YjQzYzlhMTA5MmVkNDE1MTMwNTVl" + "public_url": "https://track.easypost.com/djE6dHJrXzM4OTgzMDNlZmY2MjQwOTdhNTE2YWIzMjRiYjEzM2Yz" } diff --git a/official/docs/responses/users/users-retrieve.json b/official/docs/responses/users/users-retrieve.json index 54e7e74f..b1b4fcbc 100644 --- a/official/docs/responses/users/users-retrieve.json +++ b/official/docs/responses/users/users-retrieve.json @@ -1,69 +1,33 @@ { - "id": "user_54356a6b96c940d8913961a3c7b909f2", + "id": "user_060ab38db3c04ffaa60f262e5781a9be", "object": "User", "parent_id": null, - "name": "New Name", + "name": "EasyPost Docs", "phone_number": "5555555555", "verified": true, - "created_at": "2017-03-01T03:01:34Z", + "created_at": "2022-10-14T17:23:58Z", "default_carbon_offset": false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": "0.00000", - "recharge_amount": "100.00", - "secondary_recharge_amount": "100.00", - "recharge_threshold": "0.00", - "has_billing_method": false, - "cc_fee_rate": "0.03", + "recharge_amount": null, + "secondary_recharge_amount": null, + "recharge_threshold": null, + "has_billing_method": null, + "cc_fee_rate": "0.0375", "default_insurance_amount": null, - "insurance_fee_rate": "0.01", - "insurance_fee_minimum": "1.00", - "email": "dev+easypost-python@easypost.com", + "insurance_fee_rate": "0.005", + "insurance_fee_minimum": "0.50", + "email": "dev+easypost-docs@easypost.com", "children": [ { - "id": "user_584be78af2f141e988b6c60dda9dd8fd", + "id": "user_0ae8cb7000a1438c8598fa5786fdae84", "object": "User", - "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", - "name": "Test User2", - "phone_number": "8005550100", - "verified": true, - "created_at": "2023-12-11T17:13:38Z", - "default_carbon_offset": false, - "has_elevate_access": false, - "children": [] - }, - { - "id": "user_437e724f37de412db6df8821968d8d3c", - "object": "User", - "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", - "name": "Test User2", - "phone_number": "8005550100", - "verified": true, - "created_at": "2023-12-11T17:13:43Z", - "default_carbon_offset": false, - "has_elevate_access": false, - "children": [] - }, - { - "id": "user_2553102e90de43dea0b9fa7f8c8d7e33", - "object": "User", - "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", - "name": "Child Account Name22", - "phone_number": "8005550100", - "verified": true, - "created_at": "2024-01-04T19:56:21Z", - "default_carbon_offset": false, - "has_elevate_access": false, - "children": [] - }, - { - "id": "user_31754439d4524fbb8867d138de537e12", - "object": "User", - "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", + "parent_id": "user_060ab38db3c04ffaa60f262e5781a9be", "name": "Test User", "phone_number": "8005550100", "verified": true, - "created_at": "2024-01-19T21:42:21Z", + "created_at": "2022-10-17T17:28:30Z", "default_carbon_offset": false, "has_elevate_access": false, "children": [] diff --git a/official/docs/responses/users/users-update.json b/official/docs/responses/users/users-update.json index 54e7e74f..b1b4fcbc 100644 --- a/official/docs/responses/users/users-update.json +++ b/official/docs/responses/users/users-update.json @@ -1,69 +1,33 @@ { - "id": "user_54356a6b96c940d8913961a3c7b909f2", + "id": "user_060ab38db3c04ffaa60f262e5781a9be", "object": "User", "parent_id": null, - "name": "New Name", + "name": "EasyPost Docs", "phone_number": "5555555555", "verified": true, - "created_at": "2017-03-01T03:01:34Z", + "created_at": "2022-10-14T17:23:58Z", "default_carbon_offset": false, "has_elevate_access": false, "balance": "0.00000", "price_per_shipment": "0.00000", - "recharge_amount": "100.00", - "secondary_recharge_amount": "100.00", - "recharge_threshold": "0.00", - "has_billing_method": false, - "cc_fee_rate": "0.03", + "recharge_amount": null, + "secondary_recharge_amount": null, + "recharge_threshold": null, + "has_billing_method": null, + "cc_fee_rate": "0.0375", "default_insurance_amount": null, - "insurance_fee_rate": "0.01", - "insurance_fee_minimum": "1.00", - "email": "dev+easypost-python@easypost.com", + "insurance_fee_rate": "0.005", + "insurance_fee_minimum": "0.50", + "email": "dev+easypost-docs@easypost.com", "children": [ { - "id": "user_584be78af2f141e988b6c60dda9dd8fd", + "id": "user_0ae8cb7000a1438c8598fa5786fdae84", "object": "User", - "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", - "name": "Test User2", - "phone_number": "8005550100", - "verified": true, - "created_at": "2023-12-11T17:13:38Z", - "default_carbon_offset": false, - "has_elevate_access": false, - "children": [] - }, - { - "id": "user_437e724f37de412db6df8821968d8d3c", - "object": "User", - "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", - "name": "Test User2", - "phone_number": "8005550100", - "verified": true, - "created_at": "2023-12-11T17:13:43Z", - "default_carbon_offset": false, - "has_elevate_access": false, - "children": [] - }, - { - "id": "user_2553102e90de43dea0b9fa7f8c8d7e33", - "object": "User", - "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", - "name": "Child Account Name22", - "phone_number": "8005550100", - "verified": true, - "created_at": "2024-01-04T19:56:21Z", - "default_carbon_offset": false, - "has_elevate_access": false, - "children": [] - }, - { - "id": "user_31754439d4524fbb8867d138de537e12", - "object": "User", - "parent_id": "user_54356a6b96c940d8913961a3c7b909f2", + "parent_id": "user_060ab38db3c04ffaa60f262e5781a9be", "name": "Test User", "phone_number": "8005550100", "verified": true, - "created_at": "2024-01-19T21:42:21Z", + "created_at": "2022-10-17T17:28:30Z", "default_carbon_offset": false, "has_elevate_access": false, "children": [] diff --git a/official/docs/responses/webhooks/webhooks-create.json b/official/docs/responses/webhooks/webhooks-create.json index 03caab1d..56b9db58 100644 --- a/official/docs/responses/webhooks/webhooks-create.json +++ b/official/docs/responses/webhooks/webhooks-create.json @@ -1,8 +1,8 @@ { - "id": "hook_a258052cb71311eeab0e11baa1d48065", + "id": "hook_9dd6e2fcba4c11ee92767be0e8b3db48", "object": "Webhook", "mode": "test", "url": "http://example.com", - "created_at": "2024-01-19T21:42:25Z", + "created_at": "2024-01-24T00:07:52Z", "disabled_at": null } diff --git a/official/docs/responses/webhooks/webhooks-list.json b/official/docs/responses/webhooks/webhooks-list.json index 31bbee15..fdd5187a 100644 --- a/official/docs/responses/webhooks/webhooks-list.json +++ b/official/docs/responses/webhooks/webhooks-list.json @@ -1,11 +1,11 @@ { "webhooks": [ { - "id": "hook_a3f025eab71311ee809a6118297c1e69", + "id": "hook_9f1fa072ba4c11ee9b29733b326f964d", "object": "Webhook", "mode": "test", "url": "http://example.com", - "created_at": "2024-01-19T21:42:28Z", + "created_at": "2024-01-24T00:07:54Z", "disabled_at": null } ] diff --git a/official/docs/responses/webhooks/webhooks-retrieve.json b/official/docs/responses/webhooks/webhooks-retrieve.json index daffc166..238587a0 100644 --- a/official/docs/responses/webhooks/webhooks-retrieve.json +++ b/official/docs/responses/webhooks/webhooks-retrieve.json @@ -1,8 +1,8 @@ { - "id": "hook_a317b64cb71311eebfd9774bcdd1148b", + "id": "hook_9e64905cba4c11eeaac53dd08b571ecc", "object": "Webhook", "mode": "test", "url": "http://example.com", - "created_at": "2024-01-19T21:42:26Z", + "created_at": "2024-01-24T00:07:53Z", "disabled_at": null } diff --git a/official/docs/responses/webhooks/webhooks-update.json b/official/docs/responses/webhooks/webhooks-update.json index 8b1a8718..88100860 100644 --- a/official/docs/responses/webhooks/webhooks-update.json +++ b/official/docs/responses/webhooks/webhooks-update.json @@ -1,8 +1,8 @@ { - "id": "hook_a4b29896b71311eeb89d5393417d9862", + "id": "hook_9ff05f5aba4c11ee882b0fe795304884", "object": "Webhook", "mode": "test", "url": "http://example.com", - "created_at": "2024-01-19T21:42:29Z", + "created_at": "2024-01-24T00:07:56Z", "disabled_at": null } diff --git a/official/tools/build_doc_json_responses/Makefile b/official/tools/build_doc_json_responses/Makefile index 92ce6031..5d67fd96 100644 --- a/official/tools/build_doc_json_responses/Makefile +++ b/official/tools/build_doc_json_responses/Makefile @@ -1,14 +1,15 @@ PYTHON_BINARY := python3 VIRTUAL_ENV := venv VIRTUAL_BIN := $(VIRTUAL_ENV)/bin -PROJECT_NAME := easypost_responses +SOURCE_CODE_DIR := builder +RESPONSES_DIR := responses TEST_DIR := tests ## help - Display help about make targets for this Makefile help: @cat Makefile | grep '^## ' --color=never | cut -c4- | sed -e "`printf 's/ - /\t- /;'`" | column -s "`printf '\t'`" -t -## build - Builds the project in preparation for release +## build - Build the Python package needed to run the project build: $(VIRTUAL_BIN)/python setup.py sdist bdist_wheel @@ -19,17 +20,19 @@ clean: ## black - Runs the Black Python formatter against the project black: - $(VIRTUAL_BIN)/black $(PROJECT_NAME)/ $(TEST_DIR)/ + $(VIRTUAL_BIN)/black $(SOURCE_CODE_DIR)/ $(TEST_DIR)/ ## black-check - Checks if the project is formatted correctly against the Black rules black-check: - $(VIRTUAL_BIN)/black $(PROJECT_NAME)/ $(TEST_DIR)/ --check + $(VIRTUAL_BIN)/black $(SOURCE_CODE_DIR)/ $(TEST_DIR)/ --check -## format - Runs all formatting tools against the project -format: black isort +## flake8 - Runs the Flake8 linter against the project +flake8: + $(VIRTUAL_BIN)/flake8 $(SOURCE_CODE_DIR)/ $(TEST_DIR)/ -## format-check - Checks if the project is formatted correctly against all formatting rules -format-check: black-check isort-check lint mypy +## generate - Generate the JSON response bodies +generate: + $(VIRTUAL_BIN)/pytest ## install - Install the project locally install: @@ -40,18 +43,16 @@ install: ## isort - Sorts imports throughout the project isort: - $(VIRTUAL_BIN)/isort $(PROJECT_NAME)/ $(TEST_DIR)/ + $(VIRTUAL_BIN)/isort $(SOURCE_CODE_DIR)/ $(TEST_DIR)/ ## isort-check - Checks that imports throughout the project are sorted correctly isort-check: - $(VIRTUAL_BIN)/isort $(PROJECT_NAME)/ $(TEST_DIR)/ --check-only + $(VIRTUAL_BIN)/isort $(SOURCE_CODE_DIR)/ $(TEST_DIR)/ --check-only -## lint - Lint the project -lint: - $(VIRTUAL_BIN)/flake8 $(PROJECT_NAME)/ $(TEST_DIR)/ +## lint - Runs all linting and formatting tools against the project +lint: black-check isort-check flake8 -## generate - Generate the JSON response bodies -generate: - $(VIRTUAL_BIN)/pytest +## lint-fix - Automatically fixes linting and formatting issues +lint-fix: black isort -.PHONY: help build clean black black-check format format-check install isort isort-check lint generate +.PHONY: help build clean black black-check flake8 generate install isort isort-check lint lint-fix diff --git a/official/tools/build_doc_json_responses/README.md b/official/tools/build_doc_json_responses/README.md index d0c69ac6..04ec7f33 100644 --- a/official/tools/build_doc_json_responses/README.md +++ b/official/tools/build_doc_json_responses/README.md @@ -32,6 +32,12 @@ Generate response snippets are stored in the `responses` directory. Copy this en **NOTE**: The `responses` directory structure is exactly as expected by the docs website and other downstream projects -- do not alter it. +## Linting + +The `make lint` and `make lint-fix` commands in the Makefile will lint the Python code in this tool, but not the response snippets. + +After copying the response snippets to `official/docs/responses`, you can lint them with the `make format-node` command in the root Makefile, which will lint and format all JSON files, including the response snippets, in the `official/docs` directory. + ## Troubleshooting ### A bunch of "F"s diff --git a/official/tools/build_doc_json_responses/builder/snippets.py b/official/tools/build_doc_json_responses/builder/snippets.py index 87c33aaf..e062c692 100644 --- a/official/tools/build_doc_json_responses/builder/snippets.py +++ b/official/tools/build_doc_json_responses/builder/snippets.py @@ -18,6 +18,7 @@ "brand", "carbon-offset", "carrier-accounts", + "carrier-metadata", "carrier-types", "child-users", "customs-infos", @@ -37,6 +38,7 @@ "scan-form", "shipments", "shipping-insurance", + "shipping-refund", "smartrate", "tax-identifiers", "trackers", @@ -45,18 +47,14 @@ } -def build_response_snippet( - interaction_index: Optional[int] = 0, objects_to_persist: Optional[int] = None -): +def build_response_snippet(interaction_index: Optional[int] = 0, objects_to_persist: Optional[int] = None): """Builds the response snippet from a recorded VCR interaction.""" create_dir("responses") test_name = os.environ.get("PYTEST_CURRENT_TEST").split(":")[-1].split(" ")[0] cassette_filename = f"{test_name}.yaml" - cassette_content = extract_response_from_cassette( - cassette_filename, interaction_index - ) + cassette_content = extract_response_from_cassette(cassette_filename, interaction_index) response_snippet_folder, bare_snippet_name = save_response_snippet( cassette_filename, cassette_content, objects_to_persist @@ -74,9 +72,7 @@ def create_dir(dir_name: str): os.mkdir(dir_name) -def extract_response_from_cassette( - cassette_filename: str, interaction_index: Optional[int] = 0 -) -> Any: +def extract_response_from_cassette(cassette_filename: str, interaction_index: Optional[int] = 0) -> Any: """Opens a single cassette file and extracts the response content.""" cassette_file = os.path.join("tests", "cassettes", cassette_filename) if not os.path.exists(cassette_file): @@ -87,9 +83,7 @@ def extract_response_from_cassette( cassette_data = yaml.safe_load(cassette) for key, _ in cassette_data.items(): if key == "interactions": - response_content = cassette_data[key][interaction_index][ - "response" - ]["body"]["string"] + response_content = cassette_data[key][interaction_index]["response"]["body"]["string"] response = response_content if response_content else "{}" except yaml.YAMLError: raise @@ -100,17 +94,13 @@ def extract_response_from_cassette( def _setup_saving_response_snippet(response_snippet_filename: str): """Reusable helper to setup the logic to save a standalone response snippet.""" - bare_snippet_name = response_snippet_filename.replace("test_", "").replace( - ".yaml", ".json" - ) + bare_snippet_name = response_snippet_filename.replace("test_", "").replace(".yaml", ".json") split_resource_name = bare_snippet_name.split("_") first_resource_name = split_resource_name[0] second_resource_name = split_resource_name[1] first_and_second_resource_name = f"{first_resource_name}-{second_resource_name}" resource_name = ( - first_resource_name - if first_and_second_resource_name not in ALL_RESOURCES - else first_and_second_resource_name + first_resource_name if first_and_second_resource_name not in ALL_RESOURCES else first_and_second_resource_name ) # Setup the names like the website wants it @@ -128,13 +118,9 @@ def save_response_snippet( objects_to_persist: Optional[int] = None, ) -> Tuple[str, str]: """Saves the response content of a cassette to a standalone snippet file.""" - response_snippet_folder, bare_snippet_name = _setup_saving_response_snippet( - response_snippet_filename - ) + response_snippet_folder, bare_snippet_name = _setup_saving_response_snippet(response_snippet_filename) - with open( - os.path.join("responses", response_snippet_folder, bare_snippet_name), "w" - ) as response_snippet_file: + with open(os.path.join("responses", response_snippet_folder, bare_snippet_name), "w") as response_snippet_file: if objects_to_persist: json.dump( json.loads(response_snippet_content)[:objects_to_persist], @@ -142,9 +128,7 @@ def save_response_snippet( indent=2, ) else: - json.dump( - json.loads(response_snippet_content), response_snippet_file, indent=2 - ) + json.dump(json.loads(response_snippet_content), response_snippet_file, indent=2) response_snippet_file.write("\n") @@ -155,15 +139,11 @@ def save_raw_json(response_snippet_filename: str, response_dict: Dict[str, Any]) """Saves a raw response dictionary to a standalone snippet file (used for hard-coded responses that cannot easily be plugged into a test suite (eg: Billing functions). """ - response_snippet_folder, bare_snippet_name = _setup_saving_response_snippet( - response_snippet_filename - ) + response_snippet_folder, bare_snippet_name = _setup_saving_response_snippet(response_snippet_filename) bare_snippet_name = f"{bare_snippet_name}.json" - with open( - os.path.join("responses", response_snippet_folder, bare_snippet_name), "w" - ) as response_snippet_file: + with open(os.path.join("responses", response_snippet_folder, bare_snippet_name), "w") as response_snippet_file: json.dump(response_dict, response_snippet_file, indent=2) response_snippet_file.write("\n") diff --git a/official/tools/build_doc_json_responses/tests/conftest.py b/official/tools/build_doc_json_responses/tests/conftest.py index aaa1245f..2feb318c 100644 --- a/official/tools/build_doc_json_responses/tests/conftest.py +++ b/official/tools/build_doc_json_responses/tests/conftest.py @@ -12,6 +12,7 @@ import pytest from dotenv import load_dotenv + load_dotenv() EASYPOST_TEST_API_KEY = os.getenv("EASYPOST_TEST_API_KEY") @@ -99,11 +100,7 @@ def scrub_data(data: Any, scrubber: Tuple[str, Any]) -> Any: def read_fixture_data(): """Reads fixture data from the fixtures JSON file.""" - with open( - os.path.join( - "..", "..", "fixtures", "example-snippet-fixtures.json" - ) - ) as data: + with open(os.path.join("..", "..", "fixtures", "example-snippet-fixtures.json")) as data: fixtures = json.load(data) return fixtures @@ -147,11 +144,13 @@ def next_weekday(): # Return tomorrow return tomorrow.strftime("%Y-%m-%d") + @pytest.fixture def synchronous_sleep_seconds(): """Use this fixture for sleeping between API calls where synchronous flows happen.""" return 20 + @pytest.fixture def page_size(): """We keep the page_size of retrieving `all` records small so cassettes stay small.""" @@ -234,8 +233,7 @@ def parcel_create(): @pytest.fixture def pickup_create(next_weekday): - """This fixture will require you to add a `shipment` key with a Shipment object from a test. - """ + """This fixture will require you to add a `shipment` key with a Shipment object from a test.""" pickup_date = next_weekday pickup_data = read_fixture_data()["pickup"]["create"] diff --git a/official/tools/build_doc_json_responses/tests/test_address.py b/official/tools/build_doc_json_responses/tests/test_address.py index 187cf7b5..f197ac19 100644 --- a/official/tools/build_doc_json_responses/tests/test_address.py +++ b/official/tools/build_doc_json_responses/tests/test_address.py @@ -1,4 +1,3 @@ -import easypost import pytest from builder.snippets import build_response_snippet diff --git a/official/tools/build_doc_json_responses/tests/test_batch.py b/official/tools/build_doc_json_responses/tests/test_batch.py index f59d1d05..eaaa5aec 100644 --- a/official/tools/build_doc_json_responses/tests/test_batch.py +++ b/official/tools/build_doc_json_responses/tests/test_batch.py @@ -2,7 +2,6 @@ import os import time -import easypost import pytest from builder.snippets import build_response_snippet diff --git a/official/tools/build_doc_json_responses/tests/test_billing.py b/official/tools/build_doc_json_responses/tests/test_billing.py index 68035975..708f85c9 100644 --- a/official/tools/build_doc_json_responses/tests/test_billing.py +++ b/official/tools/build_doc_json_responses/tests/test_billing.py @@ -1,26 +1,23 @@ import os -from unittest.mock import patch - -import pytest from builder.snippets import save_raw_json -def test_billing_fund(prod_client): +def test_billing_fund(): response_dict = {} test_name = os.environ.get("PYTEST_CURRENT_TEST").split(":")[-1].split(" ")[0] save_raw_json(test_name, response_dict) -def test_billing_delete(prod_client): +def test_billing_delete(): response_dict = {} test_name = os.environ.get("PYTEST_CURRENT_TEST").split(":")[-1].split(" ")[0] save_raw_json(test_name, response_dict) -def test_billing_list(prod_client): +def test_billing_list(): response_dict = { "id": "cust_...", "object": "PaymentMethods", @@ -50,14 +47,14 @@ def test_billing_list(prod_client): save_raw_json(test_name, response_dict) -def test_billing_create_referral_token(prod_client): +def test_billing_create_referral_token(): response_dict = {"public_key": "pk_..."} test_name = os.environ.get("PYTEST_CURRENT_TEST").split(":")[-1].split(" ")[0] save_raw_json(test_name, response_dict) -def test_billing_create_ep_credit_card(prod_client): +def test_billing_create_ep_credit_card(): response_dict = { "id": "card_...", "object": "CreditCard", diff --git a/official/tools/build_doc_json_responses/tests/test_brand.py b/official/tools/build_doc_json_responses/tests/test_brand.py index d4bf7b2a..8b99f22c 100644 --- a/official/tools/build_doc_json_responses/tests/test_brand.py +++ b/official/tools/build_doc_json_responses/tests/test_brand.py @@ -1,4 +1,3 @@ - import pytest from builder.snippets import build_response_snippet diff --git a/official/tools/build_doc_json_responses/tests/test_carrier_account.py b/official/tools/build_doc_json_responses/tests/test_carrier_account.py index 2006b2c0..1b1fc7be 100644 --- a/official/tools/build_doc_json_responses/tests/test_carrier_account.py +++ b/official/tools/build_doc_json_responses/tests/test_carrier_account.py @@ -1,4 +1,3 @@ -import easypost import pytest from builder.snippets import build_response_snippet diff --git a/official/tools/build_doc_json_responses/tests/test_carrier_metadata.py b/official/tools/build_doc_json_responses/tests/test_carrier_metadata.py index 99924719..76e83fb2 100644 --- a/official/tools/build_doc_json_responses/tests/test_carrier_metadata.py +++ b/official/tools/build_doc_json_responses/tests/test_carrier_metadata.py @@ -1,4 +1,3 @@ -import easypost import pytest from builder.snippets import build_response_snippet diff --git a/official/tools/build_doc_json_responses/tests/test_carrier_types.py b/official/tools/build_doc_json_responses/tests/test_carrier_types.py index 411e9962..fd4bb9cb 100644 --- a/official/tools/build_doc_json_responses/tests/test_carrier_types.py +++ b/official/tools/build_doc_json_responses/tests/test_carrier_types.py @@ -1,4 +1,3 @@ -import easypost import pytest from builder.snippets import build_response_snippet diff --git a/official/tools/build_doc_json_responses/tests/test_customs_info.py b/official/tools/build_doc_json_responses/tests/test_customs_info.py index 818624b5..f6c27268 100644 --- a/official/tools/build_doc_json_responses/tests/test_customs_info.py +++ b/official/tools/build_doc_json_responses/tests/test_customs_info.py @@ -1,4 +1,3 @@ -import easypost import pytest from builder.snippets import build_response_snippet diff --git a/official/tools/build_doc_json_responses/tests/test_customs_item.py b/official/tools/build_doc_json_responses/tests/test_customs_item.py index 2d4e423c..f966b1a3 100644 --- a/official/tools/build_doc_json_responses/tests/test_customs_item.py +++ b/official/tools/build_doc_json_responses/tests/test_customs_item.py @@ -1,4 +1,3 @@ -import easypost import pytest from builder.snippets import build_response_snippet diff --git a/official/tools/build_doc_json_responses/tests/test_end_shipper.py b/official/tools/build_doc_json_responses/tests/test_end_shipper.py index edbaa2a2..d9c7f085 100644 --- a/official/tools/build_doc_json_responses/tests/test_end_shipper.py +++ b/official/tools/build_doc_json_responses/tests/test_end_shipper.py @@ -1,4 +1,3 @@ -import easypost import pytest from builder.snippets import build_response_snippet @@ -30,17 +29,19 @@ def test_endshipper_list(test_client, page_size): def test_endshipper_update(test_client, end_shipper_create): endshipper = test_client.end_shipper.create(**end_shipper_create) - test_client.end_shipper.update(id=endshipper.id, - name="NEW NAME", - company="BAZ", - street1="164 TOWNSEND STREET UNIT 1", - street2="UNIT 1", - city="SAN FRANCISCO", - state="CA", - zip="94107", - country="US", - phone="555-555-5555", - email="FOO@EXAMPLE.COM") + test_client.end_shipper.update( + id=endshipper.id, + name="NEW NAME", + company="BAZ", + street1="164 TOWNSEND STREET UNIT 1", + street2="UNIT 1", + city="SAN FRANCISCO", + state="CA", + zip="94107", + country="US", + phone="555-555-5555", + email="FOO@EXAMPLE.COM", + ) build_response_snippet(interaction_index=1) diff --git a/official/tools/build_doc_json_responses/tests/test_event.py b/official/tools/build_doc_json_responses/tests/test_event.py index 042c1146..b8474f04 100644 --- a/official/tools/build_doc_json_responses/tests/test_event.py +++ b/official/tools/build_doc_json_responses/tests/test_event.py @@ -1,8 +1,5 @@ import pytest -from builder.snippets import ( - build_response_snippet, - save_raw_json, -) +from builder.snippets import build_response_snippet @pytest.mark.vcr() diff --git a/official/tools/build_doc_json_responses/tests/test_form.py b/official/tools/build_doc_json_responses/tests/test_form.py index b36e0656..523ed526 100644 --- a/official/tools/build_doc_json_responses/tests/test_form.py +++ b/official/tools/build_doc_json_responses/tests/test_form.py @@ -1,4 +1,3 @@ - import pytest from builder.snippets import build_response_snippet diff --git a/official/tools/build_doc_json_responses/tests/test_insurance.py b/official/tools/build_doc_json_responses/tests/test_insurance.py index 30e04463..34c92e7a 100644 --- a/official/tools/build_doc_json_responses/tests/test_insurance.py +++ b/official/tools/build_doc_json_responses/tests/test_insurance.py @@ -1,4 +1,3 @@ - import pytest from builder.snippets import build_response_snippet diff --git a/official/tools/build_doc_json_responses/tests/test_options.py b/official/tools/build_doc_json_responses/tests/test_options.py index 1562a658..6d480197 100644 --- a/official/tools/build_doc_json_responses/tests/test_options.py +++ b/official/tools/build_doc_json_responses/tests/test_options.py @@ -1,4 +1,3 @@ - import pytest from builder.snippets import build_response_snippet diff --git a/official/tools/build_doc_json_responses/tests/test_order.py b/official/tools/build_doc_json_responses/tests/test_order.py index eebadee8..7d8c76ac 100644 --- a/official/tools/build_doc_json_responses/tests/test_order.py +++ b/official/tools/build_doc_json_responses/tests/test_order.py @@ -1,4 +1,3 @@ - import pytest from builder.snippets import build_response_snippet diff --git a/official/tools/build_doc_json_responses/tests/test_pagination.py b/official/tools/build_doc_json_responses/tests/test_pagination.py index 046dd556..f811ef65 100644 --- a/official/tools/build_doc_json_responses/tests/test_pagination.py +++ b/official/tools/build_doc_json_responses/tests/test_pagination.py @@ -1,4 +1,3 @@ -import easypost import pytest from builder.snippets import build_response_snippet @@ -11,4 +10,4 @@ def test_pagination_get_next_page(test_client): test_client.shipment.get_next_page(shipments, page_size=5) - build_response_snippet(interaction_index=2) + build_response_snippet(interaction_index=1) diff --git a/official/tools/build_doc_json_responses/tests/test_parcel.py b/official/tools/build_doc_json_responses/tests/test_parcel.py index 0b1a613d..906edc50 100644 --- a/official/tools/build_doc_json_responses/tests/test_parcel.py +++ b/official/tools/build_doc_json_responses/tests/test_parcel.py @@ -1,4 +1,3 @@ - import pytest from builder.snippets import build_response_snippet diff --git a/official/tools/build_doc_json_responses/tests/test_payload.py b/official/tools/build_doc_json_responses/tests/test_payload.py index d66e216b..2c9829d2 100644 --- a/official/tools/build_doc_json_responses/tests/test_payload.py +++ b/official/tools/build_doc_json_responses/tests/test_payload.py @@ -1,9 +1,6 @@ import os -from builder.snippets import ( - build_response_snippet, - save_raw_json, -) +from builder.snippets import save_raw_json def test_payloads_retrieve(test_client): @@ -16,9 +13,9 @@ def test_payloads_retrieve(test_client): "request_headers": { "Accept": "application/json", "Content-Type": "application/json", - "User-Agent": "Go-http-client/1.1" + "User-Agent": "Go-http-client/1.1", }, - "request_body": "{\"key\":\"value\"}", + "request_body": '{"key":"value"}', "response_code": 200, "response_headers": { "Content-Type": "application/json; charset=utf-8", @@ -28,9 +25,9 @@ def test_payloads_retrieve(test_client): "X-Frame-Options": "SAMEORIGIN", "X-Request-Id": "a1b2c3d4e5f6g7h8i9j0", "X-Runtime": "0.001000", - "X-Xss-Protection": "1; mode=block" + "X-Xss-Protection": "1; mode=block", }, - "total_time": 34 + "total_time": 34, } test_name = os.environ.get("PYTEST_CURRENT_TEST").split(":")[-1].split(" ")[0] @@ -49,9 +46,9 @@ def test_payloads_list(test_client): "request_headers": { "Accept": "application/json", "Content-Type": "application/json", - "User-Agent": "Go-http-client/1.1" + "User-Agent": "Go-http-client/1.1", }, - "request_body": "{\"key\":\"value\"}", + "request_body": '{"key":"value"}', "response_code": 200, "response_headers": { "Content-Type": "application/json; charset=utf-8", @@ -61,9 +58,9 @@ def test_payloads_list(test_client): "X-Frame-Options": "SAMEORIGIN", "X-Request-Id": "a1b2c3d4e5f6g7h8i9j0", "X-Runtime": "0.001000", - "X-Xss-Protection": "1; mode=block" + "X-Xss-Protection": "1; mode=block", }, - "total_time": 34 + "total_time": 34, }, { "id": "payload_734d47163d0711ecb29421da38a2f414", @@ -74,9 +71,9 @@ def test_payloads_list(test_client): "request_headers": { "Accept": "application/json", "Content-Type": "application/json", - "User-Agent": "Go-http-client/1.1" + "User-Agent": "Go-http-client/1.1", }, - "request_body": "{\"key\":\"value\"}", + "request_body": '{"key":"value"}', "response_code": 404, "response_headers": { "Content-Type": "application/json; charset=utf-8", @@ -86,10 +83,10 @@ def test_payloads_list(test_client): "X-Frame-Options": "SAMEORIGIN", "X-Request-Id": "a1b2c3d4e5f6g7h8i9j0", "X-Runtime": "0.001000", - "X-Xss-Protection": "1; mode=block" + "X-Xss-Protection": "1; mode=block", }, - "total_time": 122 - } + "total_time": 122, + }, ] } test_name = os.environ.get("PYTEST_CURRENT_TEST").split(":")[-1].split(" ")[0] diff --git a/official/tools/build_doc_json_responses/tests/test_rate.py b/official/tools/build_doc_json_responses/tests/test_rate.py index 438a777f..a3cf87f0 100644 --- a/official/tools/build_doc_json_responses/tests/test_rate.py +++ b/official/tools/build_doc_json_responses/tests/test_rate.py @@ -1,4 +1,3 @@ - import pytest from builder.snippets import build_response_snippet diff --git a/official/tools/build_doc_json_responses/tests/test_referral_customer.py b/official/tools/build_doc_json_responses/tests/test_referral_customer.py index 65cfdd48..0a1c8969 100644 --- a/official/tools/build_doc_json_responses/tests/test_referral_customer.py +++ b/official/tools/build_doc_json_responses/tests/test_referral_customer.py @@ -1,5 +1,4 @@ import os -from unittest.mock import patch import pytest from builder.snippets import ( @@ -7,6 +6,7 @@ save_raw_json, ) + REFERRAL_USER_PROD_API_KEY = os.getenv("REFERRAL_USER_PROD_API_KEY", "123") @@ -33,7 +33,7 @@ def test_referral_customers_add_payment_method_with_bank_account(partner_user_pr "object": "BankAccount", "bank_name": "WELLS FARGO", "last4": "1234", - "country": "US" + "country": "US", } test_name = os.environ.get("PYTEST_CURRENT_TEST").split(":")[-1].split(" ")[0] diff --git a/official/tools/build_doc_json_responses/tests/test_refund.py b/official/tools/build_doc_json_responses/tests/test_refund.py index 038e89e3..3125494e 100644 --- a/official/tools/build_doc_json_responses/tests/test_refund.py +++ b/official/tools/build_doc_json_responses/tests/test_refund.py @@ -1,4 +1,3 @@ - import pytest from builder.snippets import build_response_snippet diff --git a/official/tools/build_doc_json_responses/tests/test_report.py b/official/tools/build_doc_json_responses/tests/test_report.py index d6269f7c..ad118abf 100644 --- a/official/tools/build_doc_json_responses/tests/test_report.py +++ b/official/tools/build_doc_json_responses/tests/test_report.py @@ -1,4 +1,3 @@ - import pytest from builder.snippets import build_response_snippet diff --git a/official/tools/build_doc_json_responses/tests/test_returns.py b/official/tools/build_doc_json_responses/tests/test_returns.py index 53ca4d70..c37c4277 100644 --- a/official/tools/build_doc_json_responses/tests/test_returns.py +++ b/official/tools/build_doc_json_responses/tests/test_returns.py @@ -1,4 +1,3 @@ - import pytest from builder.snippets import build_response_snippet diff --git a/official/tools/build_doc_json_responses/tests/test_scan_form.py b/official/tools/build_doc_json_responses/tests/test_scan_form.py index 98a7f8d4..d24bfd8a 100644 --- a/official/tools/build_doc_json_responses/tests/test_scan_form.py +++ b/official/tools/build_doc_json_responses/tests/test_scan_form.py @@ -1,4 +1,3 @@ - import pytest from builder.snippets import build_response_snippet diff --git a/official/tools/build_doc_json_responses/tests/test_shipment.py b/official/tools/build_doc_json_responses/tests/test_shipment.py index c1a69856..e845abdd 100644 --- a/official/tools/build_doc_json_responses/tests/test_shipment.py +++ b/official/tools/build_doc_json_responses/tests/test_shipment.py @@ -1,4 +1,3 @@ - import pytest from builder.snippets import build_response_snippet diff --git a/official/tools/build_doc_json_responses/tests/test_shipping_insurance.py b/official/tools/build_doc_json_responses/tests/test_shipping_insurance.py index e82101d1..1a898c77 100644 --- a/official/tools/build_doc_json_responses/tests/test_shipping_insurance.py +++ b/official/tools/build_doc_json_responses/tests/test_shipping_insurance.py @@ -1,4 +1,3 @@ - import pytest from builder.snippets import build_response_snippet diff --git a/official/tools/build_doc_json_responses/tests/test_shipping_refund.py b/official/tools/build_doc_json_responses/tests/test_shipping_refund.py index a2b54587..0bce4577 100644 --- a/official/tools/build_doc_json_responses/tests/test_shipping_refund.py +++ b/official/tools/build_doc_json_responses/tests/test_shipping_refund.py @@ -1,22 +1,9 @@ -import easypost import pytest from builder.snippets import build_response_snippet @pytest.mark.vcr() -def test_shipping_refund_shipments_refund_refund(test_client, shipment_one_call_buy): - """Refunding a test shipment must happen within seconds of the shipment being created as test shipments naturally - follow a flow of created -> delivered to cycle through tracking events in test mode - as such anything older - than a few seconds in test mode may not be refundable. - """ - shipment = test_client.shipment.create(**shipment_one_call_buy) - test_client.shipment.refund(id=shipment.id) - - build_response_snippet(interaction_index=1) - - -@pytest.mark.vcr() -def test_shipping_refund_shipping_refund_refund(test_client, shipment_one_call_buy): +def test_shipping_refund_refund(test_client, shipment_one_call_buy): """Refunding a test shipment must happen within seconds of the shipment being created as test shipments naturally follow a flow of created -> delivered to cycle through tracking events in test mode - as such anything older than a few seconds in test mode may not be refundable. diff --git a/official/tools/build_doc_json_responses/tests/test_tax_identifiers.py b/official/tools/build_doc_json_responses/tests/test_tax_identifiers.py index d27ef840..1ac075d4 100644 --- a/official/tools/build_doc_json_responses/tests/test_tax_identifiers.py +++ b/official/tools/build_doc_json_responses/tests/test_tax_identifiers.py @@ -1,4 +1,3 @@ - import pytest from builder.snippets import build_response_snippet diff --git a/official/tools/build_doc_json_responses/tests/test_tracker.py b/official/tools/build_doc_json_responses/tests/test_tracker.py index 4b44a392..435a21d6 100644 --- a/official/tools/build_doc_json_responses/tests/test_tracker.py +++ b/official/tools/build_doc_json_responses/tests/test_tracker.py @@ -1,4 +1,3 @@ - import pytest from builder.snippets import build_response_snippet diff --git a/official/tools/build_doc_json_responses/tests/test_user.py b/official/tools/build_doc_json_responses/tests/test_user.py index 675309f9..2d8ec969 100644 --- a/official/tools/build_doc_json_responses/tests/test_user.py +++ b/official/tools/build_doc_json_responses/tests/test_user.py @@ -1,4 +1,3 @@ - import pytest from builder.snippets import build_response_snippet diff --git a/official/tools/build_doc_json_responses/tests/test_webhook.py b/official/tools/build_doc_json_responses/tests/test_webhook.py index 81000293..4bafb82c 100644 --- a/official/tools/build_doc_json_responses/tests/test_webhook.py +++ b/official/tools/build_doc_json_responses/tests/test_webhook.py @@ -7,7 +7,8 @@ def test_webhooks_create(test_client, webhook_create): webhook = test_client.webhook.create(**webhook_create) test_client.webhook.delete( - id=webhook.id) # we are deleting the webhook here so we don't keep sending events to a dead webhook. + id=webhook.id + ) # we are deleting the webhook here so we don't keep sending events to a dead webhook. build_response_snippet() @@ -18,7 +19,8 @@ def test_webhooks_retrieve(test_client, webhook_create): test_client.webhook.retrieve(id=webhook.id) test_client.webhook.delete( - id=webhook.id) # we are deleting the webhook here so we don't keep sending events to a dead webhook. + id=webhook.id + ) # we are deleting the webhook here so we don't keep sending events to a dead webhook. build_response_snippet(interaction_index=1) @@ -29,7 +31,8 @@ def test_webhooks_list(test_client, webhook_create, page_size): test_client.webhook.all(page_size=page_size) test_client.webhook.delete( - id=webhook.id) # we are deleting the webhook here so we don't keep sending events to a dead webhook. + id=webhook.id + ) # we are deleting the webhook here so we don't keep sending events to a dead webhook. build_response_snippet(interaction_index=1) @@ -40,7 +43,8 @@ def test_webhooks_update(test_client, webhook_create): test_client.webhook.update(id=webhook.id) test_client.webhook.delete( - id=webhook.id) # we are deleting the webhook here so we don't keep sending events to a dead webhook. + id=webhook.id + ) # we are deleting the webhook here so we don't keep sending events to a dead webhook. build_response_snippet(interaction_index=1) From 35a56db5fc81ea218fc196be50dee58d2e2cc2a0 Mon Sep 17 00:00:00 2001 From: nwithan8 Date: Wed, 24 Jan 2024 13:55:52 -0700 Subject: [PATCH 6/8] - Update invalid (error-triggering) address structure for JSON snippets --- .../addresses-create-and-verify.json | 45 +++---------- .../responses/addresses/addresses-create.json | 6 +- .../responses/addresses/addresses-list.json | 6 +- .../addresses/addresses-retrieve.json | 6 +- .../addresses/addresses-verify-failure.json | 67 +++---------------- .../addresses/addresses-verify-param.json | 46 ++++++------- .../addresses-verify-strict-param.json | 57 +++------------- .../responses/addresses/addresses-verify.json | 6 +- .../fixtures/example-snippet-fixtures.json | 16 ++--- .../tools/build_doc_json_responses/README.md | 4 +- .../builder/snippets.py | 2 +- .../tests/conftest.py | 9 +-- .../tests/test_address.py | 40 +++++++---- 13 files changed, 103 insertions(+), 207 deletions(-) diff --git a/official/docs/responses/addresses/addresses-create-and-verify.json b/official/docs/responses/addresses/addresses-create-and-verify.json index 1af68c2e..161a90c5 100644 --- a/official/docs/responses/addresses/addresses-create-and-verify.json +++ b/official/docs/responses/addresses/addresses-create-and-verify.json @@ -1,39 +1,14 @@ { - "address": { - "id": "adr_0afc56d0ba4c11ee9036ac1f6bc539aa", - "object": "Address", - "created_at": "2024-01-24T00:03:45+00:00", - "updated_at": "2024-01-24T00:03:45+00:00", - "name": null, - "company": "EASYPOST", - "street1": "417 MONTGOMERY ST FL 5", - "street2": "", - "city": "SAN FRANCISCO", - "state": "CA", - "zip": "94104-1129", - "country": "US", - "phone": "4151234567", - "email": null, - "mode": "test", - "carrier_facility": null, - "residential": false, - "federal_tax_id": null, - "state_tax_id": null, - "verifications": { - "zip4": { - "success": true, - "errors": [], - "details": null - }, - "delivery": { - "success": true, - "errors": [], - "details": { - "latitude": 37.79342, - "longitude": -122.40288, - "time_zone": "America/Los_Angeles" - } + "error": { + "code": "ADDRESS.VERIFY.FAILURE", + "message": "Unable to verify address.", + "errors": [ + { + "code": "E.ADDRESS.NOT_FOUND", + "field": "address", + "message": "Address not found", + "suggestion": null } - } + ] } } diff --git a/official/docs/responses/addresses/addresses-create.json b/official/docs/responses/addresses/addresses-create.json index 72f7bb46..215aadea 100644 --- a/official/docs/responses/addresses/addresses-create.json +++ b/official/docs/responses/addresses/addresses-create.json @@ -1,8 +1,8 @@ { - "id": "adr_0a997f6aba4c11eeb63bac1f6bc539ae", + "id": "adr_3a2086e3bafa11eeb8d4ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-24T00:03:45+00:00", - "updated_at": "2024-01-24T00:03:45+00:00", + "created_at": "2024-01-24T20:50:37+00:00", + "updated_at": "2024-01-24T20:50:37+00:00", "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", diff --git a/official/docs/responses/addresses/addresses-list.json b/official/docs/responses/addresses/addresses-list.json index 3b8a7942..2d07e5a5 100644 --- a/official/docs/responses/addresses/addresses-list.json +++ b/official/docs/responses/addresses/addresses-list.json @@ -1,10 +1,10 @@ { "addresses": [ { - "id": "adr_0c286dcbba4c11eea460ac1f6bc53342", + "id": "adr_3b7de31bbafa11eeb947ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-24T00:03:47+00:00", - "updated_at": "2024-01-24T00:03:47+00:00", + "created_at": "2024-01-24T20:50:39+00:00", + "updated_at": "2024-01-24T20:50:39+00:00", "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", diff --git a/official/docs/responses/addresses/addresses-retrieve.json b/official/docs/responses/addresses/addresses-retrieve.json index bae17e38..a3ddfd81 100644 --- a/official/docs/responses/addresses/addresses-retrieve.json +++ b/official/docs/responses/addresses/addresses-retrieve.json @@ -1,8 +1,8 @@ { - "id": "adr_0c286dcbba4c11eea460ac1f6bc53342", + "id": "adr_3b7de31bbafa11eeb947ac1f6bc539ae", "object": "Address", - "created_at": "2024-01-24T00:03:47+00:00", - "updated_at": "2024-01-24T00:03:47+00:00", + "created_at": "2024-01-24T20:50:39+00:00", + "updated_at": "2024-01-24T20:50:39+00:00", "name": null, "company": "EasyPost", "street1": "417 MONTGOMERY ST", diff --git a/official/docs/responses/addresses/addresses-verify-failure.json b/official/docs/responses/addresses/addresses-verify-failure.json index 271fcdb2..161a90c5 100644 --- a/official/docs/responses/addresses/addresses-verify-failure.json +++ b/official/docs/responses/addresses/addresses-verify-failure.json @@ -1,59 +1,14 @@ { - "id": "adr_0bfc91b4ba4c11ee80c73cecef1b359e", - "object": "Address", - "created_at": "2024-01-24T00:03:47+00:00", - "updated_at": "2024-01-24T00:03:47+00:00", - "name": null, - "company": "EasyPost", - "street1": "UNDELIVERABLE ST", - "street2": null, - "city": "SAN FRANCISCO", - "state": "CA", - "zip": "94104", - "country": "US", - "phone": "4151234567", - "email": null, - "mode": "test", - "carrier_facility": null, - "residential": null, - "federal_tax_id": null, - "state_tax_id": null, - "verifications": { - "zip4": { - "success": false, - "errors": [ - { - "code": "E.ADDRESS.NOT_FOUND", - "field": "address", - "message": "Address not found", - "suggestion": null - }, - { - "code": "E.HOUSE_NUMBER.MISSING", - "field": "street1", - "message": "House number is missing", - "suggestion": null - } - ], - "details": null - }, - "delivery": { - "success": false, - "errors": [ - { - "code": "E.ADDRESS.NOT_FOUND", - "field": "address", - "message": "Address not found", - "suggestion": null - }, - { - "code": "E.HOUSE_NUMBER.MISSING", - "field": "street1", - "message": "House number is missing", - "suggestion": null - } - ], - "details": {} - } + "error": { + "code": "ADDRESS.VERIFY.FAILURE", + "message": "Unable to verify address.", + "errors": [ + { + "code": "E.ADDRESS.NOT_FOUND", + "field": "address", + "message": "Address not found", + "suggestion": null + } + ] } } diff --git a/official/docs/responses/addresses/addresses-verify-param.json b/official/docs/responses/addresses/addresses-verify-param.json index 24669759..353c2105 100644 --- a/official/docs/responses/addresses/addresses-verify-param.json +++ b/official/docs/responses/addresses/addresses-verify-param.json @@ -1,51 +1,47 @@ { - "id": "adr_0b28f550ba4c11eea409ac1f6bc53342", + "id": "adr_3a98ffc7bafa11eeb8fcac1f6bc539ae", "object": "Address", - "created_at": "2024-01-24T00:03:46+00:00", - "updated_at": "2024-01-24T00:03:46+00:00", + "created_at": "2024-01-24T20:50:38+00:00", + "updated_at": "2024-01-24T20:50:38+00:00", "name": null, - "company": "EASYPOST", - "street1": "417 MONTGOMERY ST FL 5", - "street2": "", - "city": "SAN FRANCISCO", - "state": "CA", - "zip": "94104-1129", + "company": "EasyPost", + "street1": "000 unknown street", + "street2": null, + "city": "Not A City", + "state": "ZZ", + "zip": "00001", "country": "US", - "phone": "4151234567", - "email": null, + "phone": "5555555555", + "email": "test@example.com", "mode": "test", "carrier_facility": null, - "residential": false, + "residential": null, "federal_tax_id": null, "state_tax_id": null, "verifications": { "zip4": { - "success": true, + "success": false, "errors": [ { - "code": "E.SECONDARY_INFORMATION.INVALID", - "field": "street2", - "message": "Invalid secondary information(Apt/Suite#)", + "code": "E.ADDRESS.NOT_FOUND", + "field": "address", + "message": "Address not found", "suggestion": null } ], "details": null }, "delivery": { - "success": true, + "success": false, "errors": [ { - "code": "E.SECONDARY_INFORMATION.INVALID", - "field": "street2", - "message": "Invalid secondary information(Apt/Suite#)", + "code": "E.ADDRESS.NOT_FOUND", + "field": "address", + "message": "Address not found", "suggestion": null } ], - "details": { - "latitude": 37.79342, - "longitude": -122.40288, - "time_zone": "America/Los_Angeles" - } + "details": {} } } } diff --git a/official/docs/responses/addresses/addresses-verify-strict-param.json b/official/docs/responses/addresses/addresses-verify-strict-param.json index 713219c4..161a90c5 100644 --- a/official/docs/responses/addresses/addresses-verify-strict-param.json +++ b/official/docs/responses/addresses/addresses-verify-strict-param.json @@ -1,51 +1,14 @@ { - "id": "adr_0b5772d2ba4c11ee9064ac1f6bc539aa", - "object": "Address", - "created_at": "2024-01-24T00:03:46+00:00", - "updated_at": "2024-01-24T00:03:46+00:00", - "name": null, - "company": "EASYPOST", - "street1": "417 MONTGOMERY ST FL 5", - "street2": "", - "city": "SAN FRANCISCO", - "state": "CA", - "zip": "94104-1129", - "country": "US", - "phone": "4151234567", - "email": null, - "mode": "test", - "carrier_facility": null, - "residential": false, - "federal_tax_id": null, - "state_tax_id": null, - "verifications": { - "zip4": { - "success": true, - "errors": [ - { - "code": "E.SECONDARY_INFORMATION.INVALID", - "field": "street2", - "message": "Invalid secondary information(Apt/Suite#)", - "suggestion": null - } - ], - "details": null - }, - "delivery": { - "success": true, - "errors": [ - { - "code": "E.SECONDARY_INFORMATION.INVALID", - "field": "street2", - "message": "Invalid secondary information(Apt/Suite#)", - "suggestion": null - } - ], - "details": { - "latitude": 37.79342, - "longitude": -122.40288, - "time_zone": "America/Los_Angeles" + "error": { + "code": "ADDRESS.VERIFY.FAILURE", + "message": "Unable to verify address.", + "errors": [ + { + "code": "E.ADDRESS.NOT_FOUND", + "field": "address", + "message": "Address not found", + "suggestion": null } - } + ] } } diff --git a/official/docs/responses/addresses/addresses-verify.json b/official/docs/responses/addresses/addresses-verify.json index 95fbb45d..b7bab2ea 100644 --- a/official/docs/responses/addresses/addresses-verify.json +++ b/official/docs/responses/addresses/addresses-verify.json @@ -1,9 +1,9 @@ { "address": { - "id": "adr_0bcd3987ba4c11ee80bf3cecef1b359e", + "id": "adr_3b15ed39bafa11ee83ed3cecef1b359e", "object": "Address", - "created_at": "2024-01-24T00:03:47+00:00", - "updated_at": "2024-01-24T00:03:47+00:00", + "created_at": "2024-01-24T20:50:39+00:00", + "updated_at": "2024-01-24T20:50:39+00:00", "name": null, "company": "EASYPOST", "street1": "417 MONTGOMERY ST FL 5", diff --git a/official/fixtures/example-snippet-fixtures.json b/official/fixtures/example-snippet-fixtures.json index a37f9f83..05e5dd68 100644 --- a/official/fixtures/example-snippet-fixtures.json +++ b/official/fixtures/example-snippet-fixtures.json @@ -10,15 +10,15 @@ "company": "EasyPost", "phone": "415-123-4567" }, - "create_and_verify": { - "street1": "417 Montgomery Street", - "street2": "FL 5", - "city": "San Francisco", - "state": "CA", - "zip": "94104", - "country": "US", + "incorrect": { "company": "EasyPost", - "phone": "415-123-4567" + "street1": "000 unknown street", + "city": "Not A City", + "state": "ZZ", + "zip": "00001", + "country": "US", + "email": "test@example.com", + "phone": "5555555555" } }, "carrier_account": { diff --git a/official/tools/build_doc_json_responses/README.md b/official/tools/build_doc_json_responses/README.md index 04ec7f33..9acd31f2 100644 --- a/official/tools/build_doc_json_responses/README.md +++ b/official/tools/build_doc_json_responses/README.md @@ -16,7 +16,7 @@ make install First, if you are regenerating response snippets, you will first need to delete the related cassette file(s) in `tests/cassettes`. If a cassette file already exists for a given snippet, it will not be overwritten and the generated response snippet will not be updated. -Next, you will need to run the `make generate` command twice - it will fail the first time through. The first time will record the cassette, the second time it will save the snippet files. This is necessary because `vcrpy` doesn't save a cassette until the test function closes, though we call the standalone function inside the test function to capture the test name. +Next, you will need to run the `make generate` command twice - it will fail the first time through; this is expected. ```bash # Run the following to save HTTP recordings @@ -28,7 +28,7 @@ EASYPOST_TEST_API_KEY=putrealkeyhere EASYPOST_PROD_API_KEY=putrealkeyhere PARTNE **NOTE**: Some static data used by this tool, such as the USPS carrier account ID, is associated with the EasyPost Docs Tooling User. You must use that user's API keys to generate these snippets. -Generate response snippets are stored in the `responses` directory. Copy this entire directory to `official/docs/responses` once complete. +Generated response snippets are stored in the `responses` directory. Copy this entire directory to `official/docs/responses` once complete. **NOTE**: The `responses` directory structure is exactly as expected by the docs website and other downstream projects -- do not alter it. diff --git a/official/tools/build_doc_json_responses/builder/snippets.py b/official/tools/build_doc_json_responses/builder/snippets.py index e062c692..f8675ede 100644 --- a/official/tools/build_doc_json_responses/builder/snippets.py +++ b/official/tools/build_doc_json_responses/builder/snippets.py @@ -76,7 +76,7 @@ def extract_response_from_cassette(cassette_filename: str, interaction_index: Op """Opens a single cassette file and extracts the response content.""" cassette_file = os.path.join("tests", "cassettes", cassette_filename) if not os.path.exists(cassette_file): - raise FileNotFoundError(f"{cassette_filename} not found in time, run the tests again.") + raise FileNotFoundError(f"{cassette_filename} not found, run the tests again.") with open(cassette_file, "r") as cassette: try: diff --git a/official/tools/build_doc_json_responses/tests/conftest.py b/official/tools/build_doc_json_responses/tests/conftest.py index 2feb318c..e9be8041 100644 --- a/official/tools/build_doc_json_responses/tests/conftest.py +++ b/official/tools/build_doc_json_responses/tests/conftest.py @@ -182,13 +182,8 @@ def address_create(): @pytest.fixture -def address_create_and_verify(): - return read_fixture_data()["address"]["create_and_verify"] - - -@pytest.fixture -def address_create_strictly_verified(): - return read_fixture_data()["address"]["create_strictly_verified"] +def address_incorrect(): + return read_fixture_data()["address"]["incorrect"] @pytest.fixture diff --git a/official/tools/build_doc_json_responses/tests/test_address.py b/official/tools/build_doc_json_responses/tests/test_address.py index f197ac19..05beb4f0 100644 --- a/official/tools/build_doc_json_responses/tests/test_address.py +++ b/official/tools/build_doc_json_responses/tests/test_address.py @@ -10,24 +10,33 @@ def test_addresses_create(test_client, address_create): @pytest.mark.vcr() -def test_addresses_create_and_verify(test_client, address_create_and_verify): - test_client.address.create_and_verify(**address_create_and_verify) +def test_addresses_create_and_verify(test_client, address_incorrect): + try: + test_client.address.create_and_verify(**address_incorrect) + except: + # This will fail because the address is incorrect; this is expected. + pass build_response_snippet() @pytest.mark.vcr() -def test_addresses_verify_param(test_client, address_create): - address_create["verify"] = True - test_client.address.create(**address_create) +def test_addresses_verify_param(test_client, address_incorrect): + address_incorrect["verify"] = True + test_client.address.create(**address_incorrect) build_response_snippet() @pytest.mark.vcr() -def test_addresses_verify_strict_param(test_client, address_create): - address_create["verify_strict"] = True - test_client.address.create(**address_create) +def test_addresses_verify_strict_param(test_client, address_incorrect): + address_incorrect["verify_strict"] = True + + try: + test_client.address.create(**address_incorrect) + except: + # This will fail because the address is incorrect; this is expected. + pass build_response_snippet() @@ -42,14 +51,17 @@ def test_addresses_verify(test_client, address_create): @pytest.mark.vcr() -def test_addresses_verify_failure(test_client, address_create): +def test_addresses_verify_failure(test_client, address_incorrect): """Verify and already created address.""" - address_create["street1"] = "UNDELIVERABLE ST" - address_create["street2"] = None - address_create["verify"] = True - test_client.address.create(**address_create) + address = test_client.address.create(**address_incorrect) - build_response_snippet() + try: + test_client.address.verify(id=address.id) + except: + # This will fail because the address is incorrect; this is expected. + pass + + build_response_snippet(interaction_index=1) @pytest.mark.vcr() From acc2a7173dfa9dec81107bedf51b4a33c687fc98 Mon Sep 17 00:00:00 2001 From: nwithan8 Date: Thu, 25 Jan 2024 12:08:46 -0700 Subject: [PATCH 7/8] - Use query parameters instead of payload for GET requests --- official/docs/curl/current/endshipper/list.sh | 3 +-- official/docs/curl/current/endshipper/retrieve.sh | 3 +-- official/docs/curl/current/shipments/label.sh | 8 ++------ .../curl/create-referral-token.sh | 4 ++-- 4 files changed, 6 insertions(+), 12 deletions(-) diff --git a/official/docs/curl/current/endshipper/list.sh b/official/docs/curl/current/endshipper/list.sh index 65369f1a..bbd83f17 100644 --- a/official/docs/curl/current/endshipper/list.sh +++ b/official/docs/curl/current/endshipper/list.sh @@ -1,3 +1,2 @@ curl -X GET https://api.easypost.com/v2/end_shippers?page_size=5 \ - -u "$EASYPOST_API_KEY": \ - -H 'Content-Type: application/json' + -u "$EASYPOST_API_KEY": diff --git a/official/docs/curl/current/endshipper/retrieve.sh b/official/docs/curl/current/endshipper/retrieve.sh index 6b32ecc5..dcdae4ed 100644 --- a/official/docs/curl/current/endshipper/retrieve.sh +++ b/official/docs/curl/current/endshipper/retrieve.sh @@ -1,3 +1,2 @@ curl -X GET https://api.easypost.com/v2/end_shippers/es_... \ - -u "$EASYPOST_API_KEY": \ - -H 'Content-Type: application/json' + -u "$EASYPOST_API_KEY": diff --git a/official/docs/curl/current/shipments/label.sh b/official/docs/curl/current/shipments/label.sh index 8993ca4e..9a751efa 100644 --- a/official/docs/curl/current/shipments/label.sh +++ b/official/docs/curl/current/shipments/label.sh @@ -1,6 +1,2 @@ -curl -X GET https://api.easypost.com/v2/shipments/shp_.../label \ - -u "$EASYPOST_API_KEY": \ - -H 'Content-Type: application/json' \ - -d '{ - "file_format": "ZPL" - }' +curl -X GET https://api.easypost.com/v2/shipments/shp_.../label?file_format=ZPL \ + -u "$EASYPOST_API_KEY": diff --git a/official/guides/partner-white-label-guide/curl/create-referral-token.sh b/official/guides/partner-white-label-guide/curl/create-referral-token.sh index 3230937a..9ed377c5 100644 --- a/official/guides/partner-white-label-guide/curl/create-referral-token.sh +++ b/official/guides/partner-white-label-guide/curl/create-referral-token.sh @@ -1,2 +1,2 @@ -curl -X GET "https://api.easypost.com/v2/partners/stripe_public_key" \ - -u ":" +curl -X GET https://api.easypost.com/v2/partners/stripe_public_key \ + -u "$PARTNER_API_KEY:" From 28b29bb8979d3f8fe014b54a32fa377f2f68478e Mon Sep 17 00:00:00 2001 From: nwithan8 Date: Thu, 25 Jan 2024 12:47:29 -0700 Subject: [PATCH 8/8] - Fix incorrect address examples --- .../csharp/current/addresses/create-and-verify.cs | 13 ++++++------- .../csharp/current/addresses/verify-failure.cs | 13 ++++++------- .../docs/csharp/current/addresses/verify-param.cs | 13 ++++++------- .../current/addresses/verify-strict-param.cs | 13 ++++++------- .../curl/current/addresses/create-and-verify.sh | 13 ++++++------- .../docs/curl/current/addresses/verify-failure.sh | 12 ++++++------ .../docs/curl/current/addresses/verify-param.sh | 13 ++++++------- .../curl/current/addresses/verify-strict-param.sh | 13 ++++++------- .../golang/current/addresses/create-and-verify.go | 13 ++++++------- .../golang/current/addresses/verify-failure.go | 12 ++++++------ .../docs/golang/current/addresses/verify-param.go | 13 ++++++------- .../current/addresses/verify-strict-param.go | 13 ++++++------- .../java/current/addresses/create-and-verify.java | 13 ++++++------- .../java/current/addresses/verify-failure.java | 12 ++++++------ .../docs/java/current/addresses/verify-param.java | 13 ++++++------- .../current/addresses/verify-strict-param.java | 12 ++++++------ .../node/current/addresses/create-and-verify.js | 13 ++++++------- .../docs/node/current/addresses/verify-failure.js | 12 ++++++------ .../docs/node/current/addresses/verify-param.js | 13 ++++++------- .../node/current/addresses/verify-strict-param.js | 13 ++++++------- .../php/current/addresses/create-and-verify.php | 13 ++++++------- .../docs/php/current/addresses/verify-failure.php | 12 ++++++------ .../docs/php/current/addresses/verify-param.php | 13 ++++++------- .../php/current/addresses/verify-strict-param.php | 15 +++++++-------- .../python/current/addresses/create-and-verify.py | 13 ++++++------- .../python/current/addresses/verify-failure.py | 12 ++++++------ .../docs/python/current/addresses/verify-param.py | 13 ++++++------- .../current/addresses/verify-strict-param.py | 13 ++++++------- .../ruby/current/addresses/create-and-verify.rb | 13 ++++++------- .../docs/ruby/current/addresses/verify-failure.rb | 12 ++++++------ .../docs/ruby/current/addresses/verify-param.rb | 13 ++++++------- .../ruby/current/addresses/verify-strict-param.rb | 13 ++++++------- 32 files changed, 193 insertions(+), 217 deletions(-) diff --git a/official/docs/csharp/current/addresses/create-and-verify.cs b/official/docs/csharp/current/addresses/create-and-verify.cs index 815d1812..e40673f1 100644 --- a/official/docs/csharp/current/addresses/create-and-verify.cs +++ b/official/docs/csharp/current/addresses/create-and-verify.cs @@ -18,14 +18,13 @@ public static async Task Main() Parameters.Address.Create parameters = new() { - Street1 = "417 Montgomery Street", - Street2 = "FL 5", - City = "San Francisco", - State = "CA", - Zip = "94104", + Street1 = "000 unknown street", + City = "Not A City", + State = "ZZ", + Zip = "00001", Country = "US", - Company = "EasyPost", - Phone = "415-123-4567", + Email = "test@example.com", + Phone = "5555555555", }; Address address = await client.Address.CreateAndVerify(parameters); diff --git a/official/docs/csharp/current/addresses/verify-failure.cs b/official/docs/csharp/current/addresses/verify-failure.cs index a67db3b4..cd89bc70 100644 --- a/official/docs/csharp/current/addresses/verify-failure.cs +++ b/official/docs/csharp/current/addresses/verify-failure.cs @@ -18,14 +18,13 @@ public static async Task Main() Parameters.Address.Create parameters = new() { - Street1 = "UNDELIVERABLE ST", - Street2 = "FLOOR 5", - City = "SAN FRANCISCO", - State = "CA", - Zip = "94104", + Street1 = "000 unknown street", + City = "Not A City", + State = "ZZ", + Zip = "00001", Country = "US", - Company = "EasyPost", - Phone = "415-123-4567", + Email = "test@example.com", + Phone = "5555555555", }; Address address = await client.Address.Create(parameters); diff --git a/official/docs/csharp/current/addresses/verify-param.cs b/official/docs/csharp/current/addresses/verify-param.cs index 09d63218..ec746af2 100644 --- a/official/docs/csharp/current/addresses/verify-param.cs +++ b/official/docs/csharp/current/addresses/verify-param.cs @@ -18,14 +18,13 @@ public static async Task Main() Parameters.Address.Create parameters = new() { - Street1 = "417 MONTGOMERY ST", - Street2 = "FLOOR 5", - City = "SAN FRANCISCO", - State = "CA", - Zip = "94104", + Street1 = "000 unknown street", + City = "Not A City", + State = "ZZ", + Zip = "00001", Country = "US", - Company = "EasyPost", - Phone = "415-123-4567", + Email = "test@example.com", + Phone = "5555555555", Verify = true }; diff --git a/official/docs/csharp/current/addresses/verify-strict-param.cs b/official/docs/csharp/current/addresses/verify-strict-param.cs index c5719b9d..cddbfb6c 100644 --- a/official/docs/csharp/current/addresses/verify-strict-param.cs +++ b/official/docs/csharp/current/addresses/verify-strict-param.cs @@ -18,14 +18,13 @@ public static async Task Main() Parameters.Address.Create parameters = new() { - Street1 = "417 MONTGOMERY ST", - Street2 = "FLOOR 5", - City = "SAN FRANCISCO", - State = "CA", - Zip = "94104", + Street1 = "000 unknown street", + City = "Not A City", + State = "ZZ", + Zip = "00001", Country = "US", - Company = "EasyPost", - Phone = "415-123-4567", + Email = "test@example.com", + Phone = "5555555555", VerifyStrict = true }; diff --git a/official/docs/curl/current/addresses/create-and-verify.sh b/official/docs/curl/current/addresses/create-and-verify.sh index 8fe1da37..c3dad4a6 100644 --- a/official/docs/curl/current/addresses/create-and-verify.sh +++ b/official/docs/curl/current/addresses/create-and-verify.sh @@ -3,13 +3,12 @@ curl -X POST https://api.easypost.com/v2/addresses/create_and_verify \ -H 'Content-Type: application/json' \ -d '{ "address": { - "street1": "417 Montgomery Street", - "street2": "FL 5", - "city": "San Francisco", - "state": "CA", - "zip": "94104", + "street1": "000 unknown street", + "city": "Not A City", + "state": "ZZ", + "zip": "00001", "country": "US", - "company": "EasyPost", - "phone": "415-123-4567" + "email": "test@example.com", + "phone": "5555555555" } }' diff --git a/official/docs/curl/current/addresses/verify-failure.sh b/official/docs/curl/current/addresses/verify-failure.sh index 89aa3a7b..410eb54a 100644 --- a/official/docs/curl/current/addresses/verify-failure.sh +++ b/official/docs/curl/current/addresses/verify-failure.sh @@ -3,12 +3,12 @@ curl -X POST https://api.easypost.com/v2/addresses \ -H 'Content-Type: application/json' \ -d '{ "address": { - "street1": "UNDELIVERABLE ST", - "city": "SAN FRANCISCO", - "state": "CA", - "zip": "94104", + "street1": "000 unknown street", + "city": "Not A City", + "state": "ZZ", + "zip": "00001", "country": "US", - "company": "EasyPost", - "phone": "415-123-4567" + "email": "test@example.com", + "phone": "5555555555" } }' diff --git a/official/docs/curl/current/addresses/verify-param.sh b/official/docs/curl/current/addresses/verify-param.sh index a3ab5f4c..79ffecbb 100644 --- a/official/docs/curl/current/addresses/verify-param.sh +++ b/official/docs/curl/current/addresses/verify-param.sh @@ -3,14 +3,13 @@ curl -X POST https://api.easypost.com/v2/addresses \ -H 'Content-Type: application/json' \ -d '{ "address": { - "street1": "417 MONTGOMERY ST", - "street2": "FLOOR 5", - "city": "SAN FRANCISCO", - "state": "CA", - "zip": "94104", + "street1": "000 unknown street", + "city": "Not A City", + "state": "ZZ", + "zip": "00001", "country": "US", - "company": "EasyPost", - "phone": "415-123-4567" + "email": "test@example.com", + "phone": "5555555555" }, "verify": true }' diff --git a/official/docs/curl/current/addresses/verify-strict-param.sh b/official/docs/curl/current/addresses/verify-strict-param.sh index 430e4824..66b49c31 100644 --- a/official/docs/curl/current/addresses/verify-strict-param.sh +++ b/official/docs/curl/current/addresses/verify-strict-param.sh @@ -3,14 +3,13 @@ curl -X POST https://api.easypost.com/v2/addresses \ -H 'Content-Type: application/json' \ -d '{ "address": { - "street1": "417 MONTGOMERY ST", - "street2": "FLOOR 5", - "city": "SAN FRANCISCO", - "state": "CA", - "zip": "94104", + "street1": "000 unknown street", + "city": "Not A City", + "state": "ZZ", + "zip": "00001", "country": "US", - "company": "EasyPost", - "phone": "415-123-4567" + "email": "test@example.com", + "phone": "5555555555" }, "verify_strict": true }' diff --git a/official/docs/golang/current/addresses/create-and-verify.go b/official/docs/golang/current/addresses/create-and-verify.go index 6096f71d..0d10cf46 100644 --- a/official/docs/golang/current/addresses/create-and-verify.go +++ b/official/docs/golang/current/addresses/create-and-verify.go @@ -13,14 +13,13 @@ func main() { address, _ := client.CreateAndVerifyAddress( &easypost.Address{ - Street1: "417 Montgomery Street", - Street2: "FL 5", - City: "San Francisco", - State: "CA", - Zip: "94104", + Street1: "000 unknown street", + City: "Not A City", + State: "ZZ", + Zip: "00001", Country: "US", - Company: "EasyPost", - Phone: "415-123-4567", + Email: "test@example.com", + Phone: "5555555555", }, &easypost.CreateAddressOptions{}, ) diff --git a/official/docs/golang/current/addresses/verify-failure.go b/official/docs/golang/current/addresses/verify-failure.go index e6ce7281..ab384204 100644 --- a/official/docs/golang/current/addresses/verify-failure.go +++ b/official/docs/golang/current/addresses/verify-failure.go @@ -13,13 +13,13 @@ func main() { address, _ := client.CreateAddress( &easypost.Address{ - Street1: "UNDELIVERABLE ST", - City: "SAN FRANCISCO", - State: "CA", - Zip: "94104", + Street1: "000 unknown street", + City: "Not A City", + State: "ZZ", + Zip: "00001", Country: "US", - Company: "EasyPost", - Phone: "415-123-4567", + Email: "test@example.com", + Phone: "5555555555", }, &easypost.CreateAddressOptions{}, ) diff --git a/official/docs/golang/current/addresses/verify-param.go b/official/docs/golang/current/addresses/verify-param.go index 6e3c5f78..cf668467 100644 --- a/official/docs/golang/current/addresses/verify-param.go +++ b/official/docs/golang/current/addresses/verify-param.go @@ -13,14 +13,13 @@ func main() { address, _ := client.CreateAddress( &easypost.Address{ - Street1: "417 Montgomery Street", - Street2: "FLOOR 5", - City: "SAN FRANCISCO", - State: "CA", - Zip: "94104", + Street1: "000 unknown street", + City: "Not A City", + State: "ZZ", + Zip: "00001", Country: "US", - Company: "EasyPost", - Phone: "415-123-4567", + Email: "test@example.com", + Phone: "5555555555", }, &easypost.CreateAddressOptions{ Verify: []string{"true"}, diff --git a/official/docs/golang/current/addresses/verify-strict-param.go b/official/docs/golang/current/addresses/verify-strict-param.go index ac50f4d1..6f9a2d2d 100644 --- a/official/docs/golang/current/addresses/verify-strict-param.go +++ b/official/docs/golang/current/addresses/verify-strict-param.go @@ -13,14 +13,13 @@ func main() { address, _ := client.CreateAddress( &easypost.Address{ - Street1: "417 MONTGOMERY ST", - Street2: "FLOOR 5", - City: "SAN FRANCISCO", - State: "CA", - Zip: "94104", + Street1: "000 unknown street", + City: "Not A City", + State: "ZZ", + Zip: "00001", Country: "US", - Company: "EasyPost", - Phone: "415-123-4567", + Email: "test@example.com", + Phone: "5555555555", }, &easypost.CreateAddressOptions{ VerifyStrict: []string{"true"}, diff --git a/official/docs/java/current/addresses/create-and-verify.java b/official/docs/java/current/addresses/create-and-verify.java index 791f0882..99cdedc1 100644 --- a/official/docs/java/current/addresses/create-and-verify.java +++ b/official/docs/java/current/addresses/create-and-verify.java @@ -12,14 +12,13 @@ public static void main(String[] args) throws EasyPostException { HashMap params = new HashMap(); - params.put("street1", "417 Montgomery Street"); - params.put("street2", "FL 5"); - params.put("city", "San Francisco"); - params.put("state", "CA"); - params.put("zip", "94104"); + params.put("street1", "000 unknown street"); + params.put("city", "Not A City"); + params.put("state", "ZZ"); + params.put("zip", "00001"); params.put("country", "US"); - params.put("company", "EasyPost"); - params.put("phone", "415-123-4567"); + params.put("email", "test@example.com"); + params.put("phone", "5555555555"); Address address = client.address.createAndVerify(params); diff --git a/official/docs/java/current/addresses/verify-failure.java b/official/docs/java/current/addresses/verify-failure.java index 544300e2..a52f2596 100644 --- a/official/docs/java/current/addresses/verify-failure.java +++ b/official/docs/java/current/addresses/verify-failure.java @@ -12,13 +12,13 @@ public static void main(String[] args) throws EasyPostException { HashMap params = new HashMap(); - params.put("street1", "UNDELIVERABLE ST"); - params.put("city", "SAN FRANCISCO"); - params.put("state", "CA"); - params.put("zip", "94104"); + params.put("street1", "000 unknown street"); + params.put("city", "Not A City"); + params.put("state", "ZZ"); + params.put("zip", "00001"); params.put("country", "US"); - params.put("company", "EasyPost"); - params.put("phone", "415-123-4567"); + params.put("email", "test@example.com"); + params.put("phone", "5555555555"); Address address = client.address.create(params); diff --git a/official/docs/java/current/addresses/verify-param.java b/official/docs/java/current/addresses/verify-param.java index e6959688..e8986e95 100644 --- a/official/docs/java/current/addresses/verify-param.java +++ b/official/docs/java/current/addresses/verify-param.java @@ -12,14 +12,13 @@ public static void main(String[] args) throws EasyPostException { HashMap params = new HashMap(); - params.put("street1", "417 Montgomery Street"); - params.put("street2", "5"); - params.put("city", "SF"); - params.put("state", "CA"); - params.put("zip", "94104"); + params.put("street1", "000 unknown street"); + params.put("city", "Not A City"); + params.put("state", "ZZ"); + params.put("zip", "00001"); params.put("country", "US"); - params.put("company", "EasyPost"); - params.put("phone", "415-123-4567"); + params.put("email", "test@example.com"); + params.put("phone", "5555555555"); params.put("verify", true); Address address = client.address.create(params); diff --git a/official/docs/java/current/addresses/verify-strict-param.java b/official/docs/java/current/addresses/verify-strict-param.java index ffa914ab..702e5013 100644 --- a/official/docs/java/current/addresses/verify-strict-param.java +++ b/official/docs/java/current/addresses/verify-strict-param.java @@ -12,13 +12,13 @@ public static void main(String[] args) throws EasyPostException { HashMap params = new HashMap(); - params.put("street1", "417 Montgomery Street"); - params.put("city", "SF"); - params.put("state", "CA"); - params.put("zip", "94104"); + params.put("street1", "000 unknown street"); + params.put("city", "Not A City"); + params.put("state", "ZZ"); + params.put("zip", "00001"); params.put("country", "US"); - params.put("company", "EasyPost"); - params.put("phone", "415-123-4567"); + params.put("email", "test@example.com"); + params.put("phone", "5555555555"); params.put("verify_strict", true); Address address = client.address.create(params); diff --git a/official/docs/node/current/addresses/create-and-verify.js b/official/docs/node/current/addresses/create-and-verify.js index 6b611fd3..e5bb51f3 100644 --- a/official/docs/node/current/addresses/create-and-verify.js +++ b/official/docs/node/current/addresses/create-and-verify.js @@ -4,14 +4,13 @@ const client = new EasyPostClient(process.env.EASYPOST_API_KEY); (async () => { const address = await client.Address.createAndVerify({ - street1: '417 montgomery street', - street2: 'FL 5', - city: 'San Francisco', - state: 'CA', - zip: '94104', + street1: '000 unknown street', + city: 'Not A City', + state: 'ZZ', + zip: '00001', country: 'US', - company: 'EasyPost', - phone: '415-123-4567', + email: 'test@example.com', + phone: '5555555555', }); console.log(address); diff --git a/official/docs/node/current/addresses/verify-failure.js b/official/docs/node/current/addresses/verify-failure.js index 322989d2..79c3e696 100644 --- a/official/docs/node/current/addresses/verify-failure.js +++ b/official/docs/node/current/addresses/verify-failure.js @@ -4,13 +4,13 @@ const client = new EasyPostClient(process.env.EASYPOST_API_KEY); (async () => { const address = await client.Address.create({ - street1: 'UNDELIVERABLE ST', - city: 'SAN FRANCISCO', - state: 'CA', - zip: '94104', + street1: '000 unknown street', + city: 'Not A City', + state: 'ZZ', + zip: '00001', country: 'US', - company: 'EasyPost', - phone: '415-123-4567', + email: 'test@example.com', + phone: '5555555555', }); console.log(address); diff --git a/official/docs/node/current/addresses/verify-param.js b/official/docs/node/current/addresses/verify-param.js index 4457f8dd..1314c8bf 100644 --- a/official/docs/node/current/addresses/verify-param.js +++ b/official/docs/node/current/addresses/verify-param.js @@ -5,14 +5,13 @@ const client = new EasyPostClient(process.env.EASYPOST_API_KEY); (async () => { const address = await client.Address.create({ verify: true, - street1: '417 Montgomery Street', - street2: '5', - city: 'SF', - state: 'CA', - zip: '94104', + street1: '000 unknown street', + city: 'Not A City', + state: 'ZZ', + zip: '00001', country: 'US', - company: 'EasyPost', - phone: '415-123-4567', + email: 'test@example.com', + phone: '5555555555', }); console.log(address); diff --git a/official/docs/node/current/addresses/verify-strict-param.js b/official/docs/node/current/addresses/verify-strict-param.js index 43cbbf45..cd700458 100644 --- a/official/docs/node/current/addresses/verify-strict-param.js +++ b/official/docs/node/current/addresses/verify-strict-param.js @@ -5,14 +5,13 @@ const client = new EasyPostClient(process.env.EASYPOST_API_KEY); (async () => { const address = await client.Address.create({ verify_strict: true, - street1: '417 MONTGOMERY ST', - street2: 'FLOOR 5', - city: 'SAN FRANCISCO', - state: 'CA', - zip: '94104', + street1: '000 unknown street', + city: 'Not A City', + state: 'ZZ', + zip: '00001', country: 'US', - company: 'EasyPost', - phone: '415-123-4567', + email: 'test@example.com', + phone: '5555555555', }); console.log(address); diff --git a/official/docs/php/current/addresses/create-and-verify.php b/official/docs/php/current/addresses/create-and-verify.php index 90b44a5d..fc121402 100644 --- a/official/docs/php/current/addresses/create-and-verify.php +++ b/official/docs/php/current/addresses/create-and-verify.php @@ -3,14 +3,13 @@ $client = new \EasyPost\EasyPostClient(getenv('EASYPOST_API_KEY')); $address = $client->address->createAndVerify([ - 'street1' => '417 Montgomery Street', - 'street2' => 'FL 5', - 'city' => 'San Francisco', - 'state' => 'CA', - 'zip' => '94104', + 'street1' => '000 unknown street', + 'city' => 'Not a City', + 'state' => 'ZZ', + 'zip' => '00001', 'country' => 'US', - 'company' => 'EasyPost', - 'phone' => '415-123-4567' + 'email' => 'test@example.com', + 'phone' => '5555555555', ]); echo $address; diff --git a/official/docs/php/current/addresses/verify-failure.php b/official/docs/php/current/addresses/verify-failure.php index f2d301b9..cf755da7 100644 --- a/official/docs/php/current/addresses/verify-failure.php +++ b/official/docs/php/current/addresses/verify-failure.php @@ -3,13 +3,13 @@ $client = new \EasyPost\EasyPostClient(getenv('EASYPOST_API_KEY')); $address = $client->address->create([ - 'street1' => 'UNDELIVERABLE ST', - 'city' => 'San Francisco', - 'state' => 'CA', - 'zip' => '94104', + 'street1' => '000 unknown street', + 'city' => 'Not a City', + 'state' => 'ZZ', + 'zip' => '00001', 'country' => 'US', - 'company' => 'EasyPost', - 'phone' => '415-123-4567' + 'email' => 'test@example.com', + 'phone' => '5555555555', ]); echo $address; diff --git a/official/docs/php/current/addresses/verify-param.php b/official/docs/php/current/addresses/verify-param.php index f83e2871..3784888c 100644 --- a/official/docs/php/current/addresses/verify-param.php +++ b/official/docs/php/current/addresses/verify-param.php @@ -4,14 +4,13 @@ $address = $client->address->create([ 'verify' => true, - 'street1' => '417 Montgomery Streat', - 'street2' => '5', - 'city' => 'SF', - 'state' => 'CA', - 'zip' => '94104', + 'street1' => '000 unknown street', + 'city' => 'Not a City', + 'state' => 'ZZ', + 'zip' => '00001', 'country' => 'US', - 'company' => 'EasyPost', - 'phone' => '415-123-4567' + 'email' => 'test@example.com', + 'phone' => '5555555555', ]); echo $address; diff --git a/official/docs/php/current/addresses/verify-strict-param.php b/official/docs/php/current/addresses/verify-strict-param.php index 1ce06425..5882daa7 100644 --- a/official/docs/php/current/addresses/verify-strict-param.php +++ b/official/docs/php/current/addresses/verify-strict-param.php @@ -4,14 +4,13 @@ $address = $client->address->create([ 'verify_strict' => true, - 'street1' => '417 MONTGOMERY ST', - 'street2' => 'FL 5', - 'city' => 'San Francisco', - 'state' => 'CA', - 'zip' => '94104', - 'country' => 'US', - 'company' => 'EasyPost', - 'phone' => '415-123-4567' + 'street1' => '000 unknown street', + 'city' => 'Not a City', + 'state' => 'ZZ', + 'zip' => '00001', + 'country' => 'US', + 'email' => 'test@example.com', + 'phone' => '5555555555', ]); echo $address; diff --git a/official/docs/python/current/addresses/create-and-verify.py b/official/docs/python/current/addresses/create-and-verify.py index ce435994..0c9c92ba 100644 --- a/official/docs/python/current/addresses/create-and-verify.py +++ b/official/docs/python/current/addresses/create-and-verify.py @@ -4,14 +4,13 @@ client = easypost.EasyPostClient(os.getenv("EASYPOST_API_KEY")) address = client.address.create_and_verify( - street1="417 Montgomery Street", - street2="FL 5", - city="San Francisco", - state="CA", - zip="94104", + street1="000 unknown street", + city="Not A City", + state="ZZ", + zip="00001", country="US", - company="EasyPost", - phone="415-123-4567", + email="test@example.com", + phone="5555555555", ) print(address) diff --git a/official/docs/python/current/addresses/verify-failure.py b/official/docs/python/current/addresses/verify-failure.py index 70c46003..3f0ca2db 100644 --- a/official/docs/python/current/addresses/verify-failure.py +++ b/official/docs/python/current/addresses/verify-failure.py @@ -4,13 +4,13 @@ client = easypost.EasyPostClient(os.getenv("EASYPOST_API_KEY")) address = client.address.create( - street1="UNDELIVERABLE ST", - city="SAN FRANCISCO", - state="CA", - zip="94104", + street1="000 unknown street", + city="Not A City", + state="ZZ", + zip="00001", country="US", - company="EasyPost", - phone="415-123-4567", + email="test@example.com", + phone="5555555555", ) print(address) diff --git a/official/docs/python/current/addresses/verify-param.py b/official/docs/python/current/addresses/verify-param.py index cd23d607..71d32862 100644 --- a/official/docs/python/current/addresses/verify-param.py +++ b/official/docs/python/current/addresses/verify-param.py @@ -5,14 +5,13 @@ address = client.address.create( verify=True, - street1="417 Montgomery Streat", - street2="5", - city="SF", - state="CA", - zip="94104", + street1="000 unknown street", + city="Not A City", + state="ZZ", + zip="00001", country="US", - company="EasyPost", - phone="415-123-4567", + email="test@example.com", + phone="5555555555", ) print(address) diff --git a/official/docs/python/current/addresses/verify-strict-param.py b/official/docs/python/current/addresses/verify-strict-param.py index 49922dbb..f73885c3 100644 --- a/official/docs/python/current/addresses/verify-strict-param.py +++ b/official/docs/python/current/addresses/verify-strict-param.py @@ -5,14 +5,13 @@ address = client.address.create( verify_strict=True, - street1="417 MONTGOMERY ST", - street2="FLOOR 5", - city="San Francisco", - state="CA", - zip="94104", + street1="000 unknown street", + city="Not A City", + state="ZZ", + zip="00001", country="US", - company="EasyPost", - phone="415-123-4567", + email="test@example.com", + phone="5555555555", ) print(address) diff --git a/official/docs/ruby/current/addresses/create-and-verify.rb b/official/docs/ruby/current/addresses/create-and-verify.rb index 9199bc9b..df0808ae 100644 --- a/official/docs/ruby/current/addresses/create-and-verify.rb +++ b/official/docs/ruby/current/addresses/create-and-verify.rb @@ -3,14 +3,13 @@ client = EasyPost::Client.new(api_key: ENV['EASYPOST_API_KEY']) address = client.address.create_and_verify( - street1: '417 Montgomery Street', - street2: 'FL 5', - city: 'San Francisco', - state: 'CA', - zip: '94104', + street1: '000 unknown street', + city: 'Not A City', + state: 'ZZ', + zip: '00001', country: 'US', - company: 'EasyPost', - phone: '415-123-4567', + email: 'test@example.com', + phone: '5555555555', ) puts address diff --git a/official/docs/ruby/current/addresses/verify-failure.rb b/official/docs/ruby/current/addresses/verify-failure.rb index 526f058d..3b714a26 100644 --- a/official/docs/ruby/current/addresses/verify-failure.rb +++ b/official/docs/ruby/current/addresses/verify-failure.rb @@ -3,13 +3,13 @@ client = EasyPost::Client.new(api_key: ENV['EASYPOST_API_KEY']) address = client.address.create( - street1: 'UNDELIVERABLE ST', - city: 'SAN FRANCISCO', - state: 'CA', - zip: '94104', + street1: '000 unknown street', + city: 'Not A City', + state: 'ZZ', + zip: '00001', country: 'US', - company: 'EasyPost', - phone: '415-123-4567', + email: 'test@example.com', + phone: '5555555555', ) puts address diff --git a/official/docs/ruby/current/addresses/verify-param.rb b/official/docs/ruby/current/addresses/verify-param.rb index f72a07f9..8524b5ce 100644 --- a/official/docs/ruby/current/addresses/verify-param.rb +++ b/official/docs/ruby/current/addresses/verify-param.rb @@ -4,14 +4,13 @@ address = client.address.create( verify: true, - street1: '417 Montgomery Street', - street2: '5', - city: 'SF', - state: 'CA', - zip: '94104', + street1: '000 unknown street', + city: 'Not A City', + state: 'ZZ', + zip: '00001', country: 'US', - company: 'EasyPost', - phone: '415-123-4567', + email: 'test@example.com', + phone: '5555555555', ) puts address diff --git a/official/docs/ruby/current/addresses/verify-strict-param.rb b/official/docs/ruby/current/addresses/verify-strict-param.rb index 48cb7535..17d2d76a 100644 --- a/official/docs/ruby/current/addresses/verify-strict-param.rb +++ b/official/docs/ruby/current/addresses/verify-strict-param.rb @@ -4,14 +4,13 @@ address = client.address.create( verify_strict: true, - street1: '417 MONTGOMERY ST', - street2: 'FLOOR 5', - city: 'SAN FRANCISCO', - state: 'CA', - zip: '94104', + street1: '000 unknown street', + city: 'Not A City', + state: 'ZZ', + zip: '00001', country: 'US', - company: 'EasyPost', - phone: '415-123-4567', + email: 'test@example.com', + phone: '5555555555', ) puts address